From f28f5542168edc60ae52b38e63450609980f5315 Mon Sep 17 00:00:00 2001 From: Jean-Christophe Fillion-Robin Date: Thu, 5 Aug 2010 21:03:25 -0400 Subject: [PATCH 01/18] ENH: Generator - Added CMakeLists.txt allowing to compile PythonQtGenerator in a cross-platform fashion Note it's possible to run the generator from either the build directory or the install directory. Indeed, the dependent files (typesystem_*.xml, build_*.xml, qtscript_masterinclude.h and parser/rpp/pp-qt-configuration) have the appropriate install rules and are also copied to the build directory. --- generator/CMakeLists.txt | 186 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 186 insertions(+) create mode 100644 generator/CMakeLists.txt diff --git a/generator/CMakeLists.txt b/generator/CMakeLists.txt new file mode 100644 index 00000000..de203d36 --- /dev/null +++ b/generator/CMakeLists.txt @@ -0,0 +1,186 @@ +cmake_minimum_required(VERSION 2.8) + +#----------------------------------------------------------------------------- +# See http://cmake.org/cmake/help/cmake-2-8-docs.html#section_Policies for details +# + +SET(project_policies + CMP0001 # NEW: CMAKE_BACKWARDS_COMPATIBILITY should no longer be used. + CMP0002 # NEW: Logical target names must be globally unique. + CMP0003 # NEW: Libraries linked via full path no longer produce linker search paths. + CMP0004 # NEW: Libraries linked may NOT have leading or trailing whitespace. + CMP0005 # NEW: Preprocessor definition values are now escaped automatically. + CMP0006 # NEW: Installing MACOSX_BUNDLE targets requires a BUNDLE DESTINATION. + CMP0007 # NEW: List command no longer ignores empty elements. + CMP0008 # NEW: Libraries linked by full-path must have a valid library file name. + CMP0009 # NEW: FILE GLOB_RECURSE calls should not follow symlinks by default. + CMP0010 # NEW: Bad variable reference syntax is an error. + CMP0011 # NEW: Included scripts do automatic cmake_policy PUSH and POP. + CMP0012 # NEW: if() recognizes numbers and boolean constants. + CMP0013 # NEW: Duplicate binary directories are not allowed. + CMP0014 # NEW: Input directories must have CMakeLists.txt + ) +FOREACH(policy ${project_policies}) + IF(POLICY ${policy}) + CMAKE_POLICY(SET ${policy} NEW) + ENDIF() +ENDFOREACH() + +#----------------------------------------------------------------------------- +project(PythonQtGenerator) +#----------------------------------------------------------------------------- + +#----------------------------------------------------------------------------- +# Setup Qt + +set(minimum_required_qt_version "4.6.2") + +find_package(Qt4) + +if(QT4_FOUND) + + set(found_qt_version ${QT_VERSION_MAJOR}.${QT_VERSION_MINOR}.${QT_VERSION_PATCH}) + + if(${found_qt_version} VERSION_LESS ${minimum_required_qt_version}) + message(FATAL_ERROR "error: PythonQt requires Qt >= ${minimum_required_qt_version} -- you cannot use Qt ${found_qt_version}.") + endif() + + set(QT_USE_QTXML ON) + + include(${QT_USE_FILE}) +else() + message(FATAL_ERROR "error: Qt4 was not found on your system. You probably need to set the QT_QMAKE_EXECUTABLE variable") +endif() + +#----------------------------------------------------------------------------- +# Sources + +set(sources + parser/ast.cpp + parser/binder.cpp + parser/class_compiler.cpp + parser/codemodel.cpp + parser/codemodel_finder.cpp + parser/compiler_utils.cpp + parser/control.cpp + parser/declarator_compiler.cpp + parser/default_visitor.cpp + parser/dumptree.cpp + parser/lexer.cpp + parser/list.cpp + parser/name_compiler.cpp + parser/parser.cpp + parser/smallobject.cpp + parser/tokens.cpp + parser/type_compiler.cpp + parser/visitor.cpp + + abstractmetabuilder.cpp + abstractmetalang.cpp + asttoxml.cpp + customtypes.cpp + fileout.cpp + generator.cpp + generatorset.cpp + generatorsetqtscript.cpp + main.cpp + metajava.cpp + metaqtscriptbuilder.cpp + metaqtscript.cpp + prigenerator.cpp + reporthandler.cpp + setupgenerator.cpp + shellgenerator.cpp + shellheadergenerator.cpp + shellimplgenerator.cpp + typeparser.cpp + typesystem.cpp + ) + +#----------------------------------------------------------------------------- +# List headers. This list is used for the install command. + +set(headers + ) + +#----------------------------------------------------------------------------- +# Headers that should run through moc + +set(moc_sources + fileout.h + generator.h + generatorset.h + generatorsetqtscript.h + prigenerator.h + setupgenerator.h + shellgenerator.h + shellheadergenerator.h + shellimplgenerator.h + ) + +#----------------------------------------------------------------------------- +# UI files + +set(ui_sources ) + +#----------------------------------------------------------------------------- +# Resources + +set(qrc_sources + generator.qrc + ) + +#----------------------------------------------------------------------------- +# Do wrapping +qt4_wrap_cpp(gen_moc_sources ${moc_sources}) +qt4_wrap_ui(gen_ui_sources ${ui_sources}) +qt4_add_resources(gen_qrc_sources ${qrc_sources}) + +#----------------------------------------------------------------------------- +# Copy file expected by the generator and specify install rules + +file(GLOB files_to_copy RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} "build_*.txt" "typesystem_*.xml") +list(APPEND files_to_copy qtscript_masterinclude.h parser/rpp/pp-qt-configuration) +foreach(file ${files_to_copy}) + configure_file( + ${file} + ${CMAKE_CURRENT_BINARY_DIR}/${file} + COPYONLY + ) + get_filename_component(destination_dir ${file} PATH) + install(FILES ${file} DESTINATION bin/${destination_dir}) +endforeach() + +#----------------------------------------------------------------------------- +# Build the library + +SOURCE_GROUP("Resources" FILES + ${qrc_sources} + ${ui_sources} + ${files_to_copy} + ) + +include_directories( + ${CMAKE_CURRENT_SOURCE_DIR} + ${CMAKE_CURRENT_SOURCE_DIR}/parser + ${CMAKE_CURRENT_SOURCE_DIR}/parser/rpp + ) + +add_definitions(-DRXX_ALLOCATOR_INIT_0) + +add_executable(${PROJECT_NAME} + ${sources} + ${gen_moc_sources} + ${gen_ui_sources} + ${gen_qrc_sources} +) + +target_link_libraries(${PROJECT_NAME} ${QT_LIBRARIES}) + +#----------------------------------------------------------------------------- +# Install library (on windows, put the dll in 'bin' and the archive in 'lib') + +install(TARGETS ${PROJECT_NAME} + RUNTIME DESTINATION bin + LIBRARY DESTINATION lib + ARCHIVE DESTINATION lib) From 98142461ad3f4cad46d75c092b42c5e6da0286d9 Mon Sep 17 00:00:00 2001 From: Jean-Christophe Fillion-Robin Date: Tue, 10 Jul 2012 11:23:31 -0400 Subject: [PATCH 02/18] Simplify CMakeLists removing unneeded "cmake_policy" statements --- CMakeLists.txt | 26 -------------------------- generator/CMakeLists.txt | 26 -------------------------- 2 files changed, 52 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 83f4eeea..83bf8bc9 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,31 +1,5 @@ cmake_minimum_required(VERSION 2.8) -#----------------------------------------------------------------------------- -# See http://cmake.org/cmake/help/cmake-2-8-docs.html#section_Policies for details -# - -SET(project_policies - CMP0001 # NEW: CMAKE_BACKWARDS_COMPATIBILITY should no longer be used. - CMP0002 # NEW: Logical target names must be globally unique. - CMP0003 # NEW: Libraries linked via full path no longer produce linker search paths. - CMP0004 # NEW: Libraries linked may NOT have leading or trailing whitespace. - CMP0005 # NEW: Preprocessor definition values are now escaped automatically. - CMP0006 # NEW: Installing MACOSX_BUNDLE targets requires a BUNDLE DESTINATION. - CMP0007 # NEW: List command no longer ignores empty elements. - CMP0008 # NEW: Libraries linked by full-path must have a valid library file name. - CMP0009 # NEW: FILE GLOB_RECURSE calls should not follow symlinks by default. - CMP0010 # NEW: Bad variable reference syntax is an error. - CMP0011 # NEW: Included scripts do automatic cmake_policy PUSH and POP. - CMP0012 # NEW: if() recognizes numbers and boolean constants. - CMP0013 # NEW: Duplicate binary directories are not allowed. - CMP0014 # NEW: Input directories must have CMakeLists.txt - ) -FOREACH(policy ${project_policies}) - IF(POLICY ${policy}) - CMAKE_POLICY(SET ${policy} NEW) - ENDIF() -ENDFOREACH() - #----------------------------------------------------------------------------- project(PythonQt) #----------------------------------------------------------------------------- diff --git a/generator/CMakeLists.txt b/generator/CMakeLists.txt index de203d36..4f495bc4 100644 --- a/generator/CMakeLists.txt +++ b/generator/CMakeLists.txt @@ -1,31 +1,5 @@ cmake_minimum_required(VERSION 2.8) -#----------------------------------------------------------------------------- -# See http://cmake.org/cmake/help/cmake-2-8-docs.html#section_Policies for details -# - -SET(project_policies - CMP0001 # NEW: CMAKE_BACKWARDS_COMPATIBILITY should no longer be used. - CMP0002 # NEW: Logical target names must be globally unique. - CMP0003 # NEW: Libraries linked via full path no longer produce linker search paths. - CMP0004 # NEW: Libraries linked may NOT have leading or trailing whitespace. - CMP0005 # NEW: Preprocessor definition values are now escaped automatically. - CMP0006 # NEW: Installing MACOSX_BUNDLE targets requires a BUNDLE DESTINATION. - CMP0007 # NEW: List command no longer ignores empty elements. - CMP0008 # NEW: Libraries linked by full-path must have a valid library file name. - CMP0009 # NEW: FILE GLOB_RECURSE calls should not follow symlinks by default. - CMP0010 # NEW: Bad variable reference syntax is an error. - CMP0011 # NEW: Included scripts do automatic cmake_policy PUSH and POP. - CMP0012 # NEW: if() recognizes numbers and boolean constants. - CMP0013 # NEW: Duplicate binary directories are not allowed. - CMP0014 # NEW: Input directories must have CMakeLists.txt - ) -FOREACH(policy ${project_policies}) - IF(POLICY ${policy}) - CMAKE_POLICY(SET ${policy} NEW) - ENDIF() -ENDFOREACH() - #----------------------------------------------------------------------------- project(PythonQtGenerator) #----------------------------------------------------------------------------- From dbd8dbd788fc5f3118475a279fdfddc2d9364915 Mon Sep 17 00:00:00 2001 From: Jean-Christophe Fillion-Robin Date: Mon, 9 Jul 2012 16:00:51 -0400 Subject: [PATCH 03/18] Add method allowing to know if a python error occurred. Conflicts: src/PythonQt.cpp src/PythonQt.h --- src/PythonQt.cpp | 7 +++++++ src/PythonQt.h | 5 +++++ 2 files changed, 12 insertions(+) diff --git a/src/PythonQt.cpp b/src/PythonQt.cpp index e8b72b91..7bb87d3a 100644 --- a/src/PythonQt.cpp +++ b/src/PythonQt.cpp @@ -1115,6 +1115,7 @@ PythonQtPrivate::PythonQtPrivate() _wrappedCB = NULL; _currentClassInfoForClassWrapperCreation = NULL; _profilingCB = NULL; + _ErrorOccured = false; } void PythonQtPrivate::setupSharedLibrarySuffixes() @@ -1233,9 +1234,15 @@ bool PythonQt::handleError() PyErr_Clear(); flag = true; } + PythonQt::priv()->_ErrorOccured = flag; return flag; } +bool PythonQt::errorOccured()const +{ + return PythonQt::priv()->_ErrorOccured; +} + void PythonQt::addSysPath(const QString& path) { PythonQtObjectPtr sys; diff --git a/src/PythonQt.h b/src/PythonQt.h index 0224f0ec..4134fb64 100644 --- a/src/PythonQt.h +++ b/src/PythonQt.h @@ -481,6 +481,9 @@ class PYTHONQT_EXPORT PythonQt : public QObject { //! newly loaded wrappers can add methods even when the object was wrapped by PythonQt before the wrapper was loaded void clearNotFoundCachedMembers(); + //! return \a True if \a handleError() has been called and an error occured. + bool errorOccured()const; + //! set a callback that is called when a QObject with parent == NULL is wrapped by pythonqt void setQObjectWrappedCallback(PythonQtQObjectWrappedCB* cb); //! set a callback that is called when a QObject with parent == NULL is no longer wrapped by pythonqt @@ -708,6 +711,8 @@ class PYTHONQT_EXPORT PythonQtPrivate : public QObject { int _initFlags; int _PythonQtObjectPtr_metaId; + bool _ErrorOccured; + friend class PythonQt; }; From acd9d3ab14d97dda3f155fae06a937b0e89d53c4 Mon Sep 17 00:00:00 2001 From: Jean-Christophe Fillion-Robin Date: Tue, 10 Jul 2012 18:22:20 -0400 Subject: [PATCH 04/18] Support compilation of wrappers associated with either Qt 4.6.x, 4.7.x or 4.8.x --- CMakeLists.txt | 29 +- generated_cpp_47/PythonQt_QtBindings.cpp | 63 + generated_cpp_47/PythonQt_QtBindings.h | 10 + .../com_trolltech_qt_core.pri | 10 + .../com_trolltech_qt_core0.cpp | 7441 +++++++ .../com_trolltech_qt_core0.h | 1462 ++ .../com_trolltech_qt_core1.cpp | 5477 +++++ .../com_trolltech_qt_core1.h | 1300 ++ .../com_trolltech_qt_core2.cpp | 714 + .../com_trolltech_qt_core2.h | 257 + .../com_trolltech_qt_core_init.cpp | 107 + .../com_trolltech_qt_core_builtin.pri | 6 + .../com_trolltech_qt_core_builtin0.cpp | 3670 ++++ .../com_trolltech_qt_core_builtin0.h | 1193 ++ .../com_trolltech_qt_core_builtin_init.cpp | 23 + .../com_trolltech_qt_gui.pri | 26 + .../com_trolltech_qt_gui0.cpp | 16879 +++++++++++++++ .../com_trolltech_qt_gui0.h | 2159 ++ .../com_trolltech_qt_gui1.cpp | 15475 ++++++++++++++ .../com_trolltech_qt_gui1.h | 2007 ++ .../com_trolltech_qt_gui10.cpp | 14700 ++++++++++++++ .../com_trolltech_qt_gui10.h | 2140 ++ .../com_trolltech_qt_gui2.cpp | 13203 ++++++++++++ .../com_trolltech_qt_gui2.h | 2029 ++ .../com_trolltech_qt_gui3.cpp | 10526 ++++++++++ .../com_trolltech_qt_gui3.h | 1833 ++ .../com_trolltech_qt_gui4.cpp | 13880 +++++++++++++ .../com_trolltech_qt_gui4.h | 2053 ++ .../com_trolltech_qt_gui5.cpp | 12800 ++++++++++++ .../com_trolltech_qt_gui5.h | 2273 +++ .../com_trolltech_qt_gui6.cpp | 16944 ++++++++++++++++ .../com_trolltech_qt_gui6.h | 2081 ++ .../com_trolltech_qt_gui7.cpp | 5209 +++++ .../com_trolltech_qt_gui7.h | 1505 ++ .../com_trolltech_qt_gui8.cpp | 7900 +++++++ .../com_trolltech_qt_gui8.h | 1723 ++ .../com_trolltech_qt_gui9.cpp | 9362 +++++++++ .../com_trolltech_qt_gui9.h | 1732 ++ .../com_trolltech_qt_gui_init.cpp | 686 + .../com_trolltech_qt_gui_builtin.pri | 6 + .../com_trolltech_qt_gui_builtin0.cpp | 3695 ++++ .../com_trolltech_qt_gui_builtin0.h | 1063 + .../com_trolltech_qt_gui_builtin_init.cpp | 25 + .../com_trolltech_qt_network.pri | 6 + .../com_trolltech_qt_network0.cpp | 7211 +++++++ .../com_trolltech_qt_network0.h | 1424 ++ .../com_trolltech_qt_network_init.cpp | 37 + .../com_trolltech_qt_opengl.pri | 6 + .../com_trolltech_qt_opengl0.cpp | 2785 +++ .../com_trolltech_qt_opengl0.h | 593 + .../com_trolltech_qt_opengl_init.cpp | 17 + .../com_trolltech_qt_sql.pri | 6 + .../com_trolltech_qt_sql0.cpp | 5698 ++++++ .../com_trolltech_qt_sql0.h | 835 + .../com_trolltech_qt_sql_init.cpp | 21 + .../com_trolltech_qt_svg.pri | 6 + .../com_trolltech_qt_svg0.cpp | 1210 ++ .../com_trolltech_qt_svg0.h | 207 + .../com_trolltech_qt_svg_init.cpp | 11 + .../com_trolltech_qt_uitools.pri | 6 + .../com_trolltech_qt_uitools0.cpp | 332 + .../com_trolltech_qt_uitools0.h | 71 + .../com_trolltech_qt_uitools_init.cpp | 8 + .../com_trolltech_qt_webkit.pri | 6 + .../com_trolltech_qt_webkit0.cpp | 5113 +++++ .../com_trolltech_qt_webkit0.h | 1119 + .../com_trolltech_qt_webkit_init.cpp | 29 + .../com_trolltech_qt_xml.pri | 8 + .../com_trolltech_qt_xml0.cpp | 4444 ++++ .../com_trolltech_qt_xml0.h | 962 + .../com_trolltech_qt_xml1.cpp | 836 + .../com_trolltech_qt_xml1.h | 272 + .../com_trolltech_qt_xml_init.cpp | 51 + .../com_trolltech_qt_xmlpatterns.pri | 6 + .../com_trolltech_qt_xmlpatterns0.cpp | 2492 +++ .../com_trolltech_qt_xmlpatterns0.h | 591 + .../com_trolltech_qt_xmlpatterns_init.cpp | 25 + 77 files changed, 222111 insertions(+), 9 deletions(-) create mode 100644 generated_cpp_47/PythonQt_QtBindings.cpp create mode 100644 generated_cpp_47/PythonQt_QtBindings.h create mode 100644 generated_cpp_47/com_trolltech_qt_core/com_trolltech_qt_core.pri create mode 100644 generated_cpp_47/com_trolltech_qt_core/com_trolltech_qt_core0.cpp create mode 100644 generated_cpp_47/com_trolltech_qt_core/com_trolltech_qt_core0.h create mode 100644 generated_cpp_47/com_trolltech_qt_core/com_trolltech_qt_core1.cpp create mode 100644 generated_cpp_47/com_trolltech_qt_core/com_trolltech_qt_core1.h create mode 100644 generated_cpp_47/com_trolltech_qt_core/com_trolltech_qt_core2.cpp create mode 100644 generated_cpp_47/com_trolltech_qt_core/com_trolltech_qt_core2.h create mode 100644 generated_cpp_47/com_trolltech_qt_core/com_trolltech_qt_core_init.cpp create mode 100644 generated_cpp_47/com_trolltech_qt_core_builtin/com_trolltech_qt_core_builtin.pri create mode 100644 generated_cpp_47/com_trolltech_qt_core_builtin/com_trolltech_qt_core_builtin0.cpp create mode 100644 generated_cpp_47/com_trolltech_qt_core_builtin/com_trolltech_qt_core_builtin0.h create mode 100644 generated_cpp_47/com_trolltech_qt_core_builtin/com_trolltech_qt_core_builtin_init.cpp create mode 100644 generated_cpp_47/com_trolltech_qt_gui/com_trolltech_qt_gui.pri create mode 100644 generated_cpp_47/com_trolltech_qt_gui/com_trolltech_qt_gui0.cpp create mode 100644 generated_cpp_47/com_trolltech_qt_gui/com_trolltech_qt_gui0.h create mode 100644 generated_cpp_47/com_trolltech_qt_gui/com_trolltech_qt_gui1.cpp create mode 100644 generated_cpp_47/com_trolltech_qt_gui/com_trolltech_qt_gui1.h create mode 100644 generated_cpp_47/com_trolltech_qt_gui/com_trolltech_qt_gui10.cpp create mode 100644 generated_cpp_47/com_trolltech_qt_gui/com_trolltech_qt_gui10.h create mode 100644 generated_cpp_47/com_trolltech_qt_gui/com_trolltech_qt_gui2.cpp create mode 100644 generated_cpp_47/com_trolltech_qt_gui/com_trolltech_qt_gui2.h create mode 100644 generated_cpp_47/com_trolltech_qt_gui/com_trolltech_qt_gui3.cpp create mode 100644 generated_cpp_47/com_trolltech_qt_gui/com_trolltech_qt_gui3.h create mode 100644 generated_cpp_47/com_trolltech_qt_gui/com_trolltech_qt_gui4.cpp create mode 100644 generated_cpp_47/com_trolltech_qt_gui/com_trolltech_qt_gui4.h create mode 100644 generated_cpp_47/com_trolltech_qt_gui/com_trolltech_qt_gui5.cpp create mode 100644 generated_cpp_47/com_trolltech_qt_gui/com_trolltech_qt_gui5.h create mode 100644 generated_cpp_47/com_trolltech_qt_gui/com_trolltech_qt_gui6.cpp create mode 100644 generated_cpp_47/com_trolltech_qt_gui/com_trolltech_qt_gui6.h create mode 100644 generated_cpp_47/com_trolltech_qt_gui/com_trolltech_qt_gui7.cpp create mode 100644 generated_cpp_47/com_trolltech_qt_gui/com_trolltech_qt_gui7.h create mode 100644 generated_cpp_47/com_trolltech_qt_gui/com_trolltech_qt_gui8.cpp create mode 100644 generated_cpp_47/com_trolltech_qt_gui/com_trolltech_qt_gui8.h create mode 100644 generated_cpp_47/com_trolltech_qt_gui/com_trolltech_qt_gui9.cpp create mode 100644 generated_cpp_47/com_trolltech_qt_gui/com_trolltech_qt_gui9.h create mode 100644 generated_cpp_47/com_trolltech_qt_gui/com_trolltech_qt_gui_init.cpp create mode 100644 generated_cpp_47/com_trolltech_qt_gui_builtin/com_trolltech_qt_gui_builtin.pri create mode 100644 generated_cpp_47/com_trolltech_qt_gui_builtin/com_trolltech_qt_gui_builtin0.cpp create mode 100644 generated_cpp_47/com_trolltech_qt_gui_builtin/com_trolltech_qt_gui_builtin0.h create mode 100644 generated_cpp_47/com_trolltech_qt_gui_builtin/com_trolltech_qt_gui_builtin_init.cpp create mode 100644 generated_cpp_47/com_trolltech_qt_network/com_trolltech_qt_network.pri create mode 100644 generated_cpp_47/com_trolltech_qt_network/com_trolltech_qt_network0.cpp create mode 100644 generated_cpp_47/com_trolltech_qt_network/com_trolltech_qt_network0.h create mode 100644 generated_cpp_47/com_trolltech_qt_network/com_trolltech_qt_network_init.cpp create mode 100644 generated_cpp_47/com_trolltech_qt_opengl/com_trolltech_qt_opengl.pri create mode 100644 generated_cpp_47/com_trolltech_qt_opengl/com_trolltech_qt_opengl0.cpp create mode 100644 generated_cpp_47/com_trolltech_qt_opengl/com_trolltech_qt_opengl0.h create mode 100644 generated_cpp_47/com_trolltech_qt_opengl/com_trolltech_qt_opengl_init.cpp create mode 100644 generated_cpp_47/com_trolltech_qt_sql/com_trolltech_qt_sql.pri create mode 100644 generated_cpp_47/com_trolltech_qt_sql/com_trolltech_qt_sql0.cpp create mode 100644 generated_cpp_47/com_trolltech_qt_sql/com_trolltech_qt_sql0.h create mode 100644 generated_cpp_47/com_trolltech_qt_sql/com_trolltech_qt_sql_init.cpp create mode 100644 generated_cpp_47/com_trolltech_qt_svg/com_trolltech_qt_svg.pri create mode 100644 generated_cpp_47/com_trolltech_qt_svg/com_trolltech_qt_svg0.cpp create mode 100644 generated_cpp_47/com_trolltech_qt_svg/com_trolltech_qt_svg0.h create mode 100644 generated_cpp_47/com_trolltech_qt_svg/com_trolltech_qt_svg_init.cpp create mode 100644 generated_cpp_47/com_trolltech_qt_uitools/com_trolltech_qt_uitools.pri create mode 100644 generated_cpp_47/com_trolltech_qt_uitools/com_trolltech_qt_uitools0.cpp create mode 100644 generated_cpp_47/com_trolltech_qt_uitools/com_trolltech_qt_uitools0.h create mode 100644 generated_cpp_47/com_trolltech_qt_uitools/com_trolltech_qt_uitools_init.cpp create mode 100644 generated_cpp_47/com_trolltech_qt_webkit/com_trolltech_qt_webkit.pri create mode 100644 generated_cpp_47/com_trolltech_qt_webkit/com_trolltech_qt_webkit0.cpp create mode 100644 generated_cpp_47/com_trolltech_qt_webkit/com_trolltech_qt_webkit0.h create mode 100644 generated_cpp_47/com_trolltech_qt_webkit/com_trolltech_qt_webkit_init.cpp create mode 100644 generated_cpp_47/com_trolltech_qt_xml/com_trolltech_qt_xml.pri create mode 100644 generated_cpp_47/com_trolltech_qt_xml/com_trolltech_qt_xml0.cpp create mode 100644 generated_cpp_47/com_trolltech_qt_xml/com_trolltech_qt_xml0.h create mode 100644 generated_cpp_47/com_trolltech_qt_xml/com_trolltech_qt_xml1.cpp create mode 100644 generated_cpp_47/com_trolltech_qt_xml/com_trolltech_qt_xml1.h create mode 100644 generated_cpp_47/com_trolltech_qt_xml/com_trolltech_qt_xml_init.cpp create mode 100644 generated_cpp_47/com_trolltech_qt_xmlpatterns/com_trolltech_qt_xmlpatterns.pri create mode 100644 generated_cpp_47/com_trolltech_qt_xmlpatterns/com_trolltech_qt_xmlpatterns0.cpp create mode 100644 generated_cpp_47/com_trolltech_qt_xmlpatterns/com_trolltech_qt_xmlpatterns0.h create mode 100644 generated_cpp_47/com_trolltech_qt_xmlpatterns/com_trolltech_qt_xmlpatterns_init.cpp diff --git a/CMakeLists.txt b/CMakeLists.txt index 83bf8bc9..27eb0553 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -54,6 +54,17 @@ else() message(FATAL_ERROR "error: Qt4 was not found on your system. You probably need to set the QT_QMAKE_EXECUTABLE variable") endif() +#----------------------------------------------------------------------------- +# The variable "generated_cpp_suffix" allows to conditionnally compile the generated wrappers +# associated with the Qt version being used. +set(generated_cpp_suffix "_${QT_VERSION_MAJOR}${QT_VERSION_MINOR}") +if("${generated_cpp_suffix}" STREQUAL "_48") + set(generated_cpp_suffix "") +endif() +if("${generated_cpp_suffix}" STREQUAL "_46") + set(generated_cpp_suffix "_47") # Also use 4.7 wrappers for 4.6.x version +endif() + #----------------------------------------------------------------------------- # Sources @@ -76,12 +87,12 @@ set(sources src/PythonQtStdOut.cpp src/gui/PythonQtScriptingConsole.cpp - generated_cpp/PythonQt_QtBindings.cpp + generated_cpp${generated_cpp_suffix}/PythonQt_QtBindings.cpp - generated_cpp/com_trolltech_qt_core_builtin/com_trolltech_qt_core_builtin0.cpp - generated_cpp/com_trolltech_qt_core_builtin/com_trolltech_qt_core_builtin_init.cpp - generated_cpp/com_trolltech_qt_gui_builtin/com_trolltech_qt_gui_builtin0.cpp - generated_cpp/com_trolltech_qt_gui_builtin/com_trolltech_qt_gui_builtin_init.cpp + generated_cpp${generated_cpp_suffix}/com_trolltech_qt_core_builtin/com_trolltech_qt_core_builtin0.cpp + generated_cpp${generated_cpp_suffix}/com_trolltech_qt_core_builtin/com_trolltech_qt_core_builtin_init.cpp + generated_cpp${generated_cpp_suffix}/com_trolltech_qt_gui_builtin/com_trolltech_qt_gui_builtin0.cpp + generated_cpp${generated_cpp_suffix}/com_trolltech_qt_gui_builtin/com_trolltech_qt_gui_builtin_init.cpp ) #----------------------------------------------------------------------------- @@ -110,7 +121,7 @@ set(headers src/PythonQtSystem.h src/PythonQtVariants.h src/PythonQtPythonInclude.h - generated_cpp/PythonQt_QtBindings.h + generated_cpp${generated_cpp_suffix}/PythonQt_QtBindings.h ) #----------------------------------------------------------------------------- @@ -122,8 +133,8 @@ set(moc_sources src/PythonQtStdDecorators.h src/gui/PythonQtScriptingConsole.h - generated_cpp/com_trolltech_qt_core_builtin/com_trolltech_qt_core_builtin0.h - generated_cpp/com_trolltech_qt_gui_builtin/com_trolltech_qt_gui_builtin0.h + generated_cpp${generated_cpp_suffix}/com_trolltech_qt_core_builtin/com_trolltech_qt_core_builtin0.h + generated_cpp${generated_cpp_suffix}/com_trolltech_qt_gui_builtin/com_trolltech_qt_gui_builtin0.h ) #----------------------------------------------------------------------------- @@ -134,7 +145,7 @@ foreach(qtlib core gui network opengl sql svg uitools webkit xml xmlpatterns) ADD_DEFINITIONS(-DPYTHONQT_WRAP_Qt${qtlib}) - set(file_prefix generated_cpp/com_trolltech_qt_${qtlib}/com_trolltech_qt_${qtlib}) + set(file_prefix generated_cpp${generated_cpp_suffix}/com_trolltech_qt_${qtlib}/com_trolltech_qt_${qtlib}) foreach(index RANGE 0 10) diff --git a/generated_cpp_47/PythonQt_QtBindings.cpp b/generated_cpp_47/PythonQt_QtBindings.cpp new file mode 100644 index 00000000..04064243 --- /dev/null +++ b/generated_cpp_47/PythonQt_QtBindings.cpp @@ -0,0 +1,63 @@ + +#include "PythonQt_QtBindings.h" + +#include "PythonQt.h" + +void PythonQt_init_QtGui(PyObject*); +void PythonQt_init_QtSvg(PyObject*); +void PythonQt_init_QtSql(PyObject*); +void PythonQt_init_QtNetwork(PyObject*); +void PythonQt_init_QtCore(PyObject*); +void PythonQt_init_QtWebKit(PyObject*); +void PythonQt_init_QtOpenGL(PyObject*); +void PythonQt_init_QtXml(PyObject*); +void PythonQt_init_QtXmlPatterns(PyObject*); +void PythonQt_init_QtUiTools(PyObject*); +void PythonQt_init_QtPhonon(PyObject*); + +PYTHONQT_EXPORT void PythonQt_init_QtBindings() + { + #ifdef PYTHONQT_WRAP_Qtcore + PythonQt_init_QtCore(0); + #endif + + #ifdef PYTHONQT_WRAP_Qtgui + PythonQt_init_QtGui(0); + #endif + + #ifdef PYTHONQT_WRAP_Qtnetwork + PythonQt_init_QtNetwork(0); + #endif + + #ifdef PYTHONQT_WRAP_Qtopengl + PythonQt_init_QtOpenGL(0); + #endif + + #ifdef PYTHONQT_WRAP_Qtsql + PythonQt_init_QtSql(0); + #endif + + #ifdef PYTHONQT_WRAP_Qtsvg + PythonQt_init_QtSvg(0); + #endif + + #ifdef PYTHONQT_WRAP_Qtuitools + PythonQt_init_QtUiTools(0); + #endif + + #ifdef PYTHONQT_WRAP_Qtwebkit + PythonQt_init_QtWebKit(0); + #endif + + #ifdef PYTHONQT_WRAP_Qtxml + PythonQt_init_QtXml(0); + #endif + + #ifdef PYTHONQT_WRAP_Qtxmlpatterns + PythonQt_init_QtXmlPatterns(0); + #endif + + #ifdef PYTHONQT_WRAP_Qtphonon + PythonQt_init_QtPhonon(0); + #endif + }; diff --git a/generated_cpp_47/PythonQt_QtBindings.h b/generated_cpp_47/PythonQt_QtBindings.h new file mode 100644 index 00000000..03e96aed --- /dev/null +++ b/generated_cpp_47/PythonQt_QtBindings.h @@ -0,0 +1,10 @@ +#ifndef _PYTHONQT_QTBINDINGS_H +#define _PYTHONQT_QTBINDINGS_H + +#include "PythonQtSystem.h" + +/// Initialize Qt bindings enabled at configuration time +PYTHONQT_EXPORT void PythonQt_init_QtBindings(); + +#endif + diff --git a/generated_cpp_47/com_trolltech_qt_core/com_trolltech_qt_core.pri b/generated_cpp_47/com_trolltech_qt_core/com_trolltech_qt_core.pri new file mode 100644 index 00000000..d9003d9f --- /dev/null +++ b/generated_cpp_47/com_trolltech_qt_core/com_trolltech_qt_core.pri @@ -0,0 +1,10 @@ +HEADERS += \ + $$PWD/com_trolltech_qt_core0.h \ + $$PWD/com_trolltech_qt_core1.h \ + $$PWD/com_trolltech_qt_core2.h \ + +SOURCES += \ + $$PWD/com_trolltech_qt_core0.cpp \ + $$PWD/com_trolltech_qt_core1.cpp \ + $$PWD/com_trolltech_qt_core2.cpp \ + $$PWD/com_trolltech_qt_core_init.cpp diff --git a/generated_cpp_47/com_trolltech_qt_core/com_trolltech_qt_core0.cpp b/generated_cpp_47/com_trolltech_qt_core/com_trolltech_qt_core0.cpp new file mode 100644 index 00000000..23a7662c --- /dev/null +++ b/generated_cpp_47/com_trolltech_qt_core/com_trolltech_qt_core0.cpp @@ -0,0 +1,7441 @@ +#include "com_trolltech_qt_core0.h" +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include + +void PythonQtShell_QAbstractAnimation::childEvent(QChildEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "childEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QChildEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QAbstractAnimation::childEvent(arg__1); +} +void PythonQtShell_QAbstractAnimation::customEvent(QEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "customEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QAbstractAnimation::customEvent(arg__1); +} +int PythonQtShell_QAbstractAnimation::duration() const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "duration"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + int returnValue; + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("duration", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return int(); +} +bool PythonQtShell_QAbstractAnimation::event(QEvent* event) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "event"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue; + void* args[2] = {NULL, (void*)&event}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QAbstractAnimation::event(event); +} +bool PythonQtShell_QAbstractAnimation::eventFilter(QObject* arg__1, QEvent* arg__2) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "eventFilter"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue; + void* args[3] = {NULL, (void*)&arg__1, (void*)&arg__2}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QAbstractAnimation::eventFilter(arg__1, arg__2); +} +void PythonQtShell_QAbstractAnimation::timerEvent(QTimerEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "timerEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QTimerEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QAbstractAnimation::timerEvent(arg__1); +} +void PythonQtShell_QAbstractAnimation::updateCurrentTime(int currentTime) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "updateCurrentTime"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)¤tTime}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + +} +void PythonQtShell_QAbstractAnimation::updateDirection(QAbstractAnimation::Direction direction) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "updateDirection"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QAbstractAnimation::Direction"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&direction}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QAbstractAnimation::updateDirection(direction); +} +void PythonQtShell_QAbstractAnimation::updateState(QAbstractAnimation::State newState, QAbstractAnimation::State oldState) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "updateState"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QAbstractAnimation::State" , "QAbstractAnimation::State"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + void* args[3] = {NULL, (void*)&newState, (void*)&oldState}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QAbstractAnimation::updateState(newState, oldState); +} +QAbstractAnimation* PythonQtWrapper_QAbstractAnimation::new_QAbstractAnimation(QObject* parent) +{ +return new PythonQtShell_QAbstractAnimation(parent); } + +int PythonQtWrapper_QAbstractAnimation::currentLoop(QAbstractAnimation* theWrappedObject) const +{ + return ( theWrappedObject->currentLoop()); +} + +int PythonQtWrapper_QAbstractAnimation::currentLoopTime(QAbstractAnimation* theWrappedObject) const +{ + return ( theWrappedObject->currentLoopTime()); +} + +int PythonQtWrapper_QAbstractAnimation::currentTime(QAbstractAnimation* theWrappedObject) const +{ + return ( theWrappedObject->currentTime()); +} + +QAbstractAnimation::Direction PythonQtWrapper_QAbstractAnimation::direction(QAbstractAnimation* theWrappedObject) const +{ + return ( theWrappedObject->direction()); +} + +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()); +} + +int PythonQtWrapper_QAbstractAnimation::loopCount(QAbstractAnimation* theWrappedObject) const +{ + return ( theWrappedObject->loopCount()); +} + +void PythonQtWrapper_QAbstractAnimation::setDirection(QAbstractAnimation* theWrappedObject, QAbstractAnimation::Direction direction) +{ + ( theWrappedObject->setDirection(direction)); +} + +void PythonQtWrapper_QAbstractAnimation::setLoopCount(QAbstractAnimation* theWrappedObject, int loopCount) +{ + ( theWrappedObject->setLoopCount(loopCount)); +} + +QAbstractAnimation::State PythonQtWrapper_QAbstractAnimation::state(QAbstractAnimation* theWrappedObject) const +{ + return ( theWrappedObject->state()); +} + +int PythonQtWrapper_QAbstractAnimation::totalDuration(QAbstractAnimation* theWrappedObject) const +{ + return ( theWrappedObject->totalDuration()); +} + +void PythonQtWrapper_QAbstractAnimation::updateDirection(QAbstractAnimation* theWrappedObject, QAbstractAnimation::Direction direction) +{ + ( ((PythonQtPublicPromoter_QAbstractAnimation*)theWrappedObject)->promoted_updateDirection(direction)); +} + +void PythonQtWrapper_QAbstractAnimation::updateState(QAbstractAnimation* theWrappedObject, QAbstractAnimation::State newState, QAbstractAnimation::State oldState) +{ + ( ((PythonQtPublicPromoter_QAbstractAnimation*)theWrappedObject)->promoted_updateState(newState, oldState)); +} + + + +QModelIndex PythonQtShell_QAbstractItemModel::buddy(const QModelIndex& index) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "buddy"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QModelIndex" , "const QModelIndex&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + QModelIndex returnValue; + void* args[2] = {NULL, (void*)&index}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("buddy", methodInfo, result); + } else { + returnValue = *((QModelIndex*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QAbstractItemModel::buddy(index); +} +bool PythonQtShell_QAbstractItemModel::canFetchMore(const QModelIndex& parent) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "canFetchMore"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "const QModelIndex&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue; + void* args[2] = {NULL, (void*)&parent}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("canFetchMore", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QAbstractItemModel::canFetchMore(parent); +} +void PythonQtShell_QAbstractItemModel::childEvent(QChildEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "childEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QChildEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QAbstractItemModel::childEvent(arg__1); +} +int PythonQtShell_QAbstractItemModel::columnCount(const QModelIndex& parent) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "columnCount"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"int" , "const QModelIndex&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + int returnValue; + void* args[2] = {NULL, (void*)&parent}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("columnCount", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return int(); +} +void PythonQtShell_QAbstractItemModel::customEvent(QEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "customEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QAbstractItemModel::customEvent(arg__1); +} +QVariant PythonQtShell_QAbstractItemModel::data(const QModelIndex& index, int role) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "data"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QVariant" , "const QModelIndex&" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + QVariant returnValue; + void* args[3] = {NULL, (void*)&index, (void*)&role}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("data", methodInfo, result); + } else { + returnValue = *((QVariant*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QVariant(); +} +bool PythonQtShell_QAbstractItemModel::dropMimeData(const QMimeData* data, Qt::DropAction action, int row, int column, const QModelIndex& parent) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dropMimeData"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "const QMimeData*" , "Qt::DropAction" , "int" , "int" , "const QModelIndex&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(6, argumentList); + bool returnValue; + void* args[6] = {NULL, (void*)&data, (void*)&action, (void*)&row, (void*)&column, (void*)&parent}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("dropMimeData", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QAbstractItemModel::dropMimeData(data, action, row, column, parent); +} +bool PythonQtShell_QAbstractItemModel::event(QEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "event"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue; + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QAbstractItemModel::event(arg__1); +} +bool PythonQtShell_QAbstractItemModel::eventFilter(QObject* arg__1, QEvent* arg__2) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "eventFilter"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue; + void* args[3] = {NULL, (void*)&arg__1, (void*)&arg__2}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QAbstractItemModel::eventFilter(arg__1, arg__2); +} +void PythonQtShell_QAbstractItemModel::fetchMore(const QModelIndex& parent) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "fetchMore"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "const QModelIndex&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&parent}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QAbstractItemModel::fetchMore(parent); +} +Qt::ItemFlags PythonQtShell_QAbstractItemModel::flags(const QModelIndex& index) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "flags"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"Qt::ItemFlags" , "const QModelIndex&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + Qt::ItemFlags returnValue; + void* args[2] = {NULL, (void*)&index}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("flags", methodInfo, result); + } else { + returnValue = *((Qt::ItemFlags*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QAbstractItemModel::flags(index); +} +bool PythonQtShell_QAbstractItemModel::hasChildren(const QModelIndex& parent) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "hasChildren"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "const QModelIndex&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue; + void* args[2] = {NULL, (void*)&parent}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("hasChildren", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QAbstractItemModel::hasChildren(parent); +} +QVariant PythonQtShell_QAbstractItemModel::headerData(int section, Qt::Orientation orientation, int role) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "headerData"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QVariant" , "int" , "Qt::Orientation" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + QVariant returnValue; + void* args[4] = {NULL, (void*)§ion, (void*)&orientation, (void*)&role}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("headerData", methodInfo, result); + } else { + returnValue = *((QVariant*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QAbstractItemModel::headerData(section, orientation, role); +} +QModelIndex PythonQtShell_QAbstractItemModel::index(int row, int column, const QModelIndex& parent) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "index"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QModelIndex" , "int" , "int" , "const QModelIndex&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + QModelIndex returnValue; + void* args[4] = {NULL, (void*)&row, (void*)&column, (void*)&parent}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("index", methodInfo, result); + } else { + returnValue = *((QModelIndex*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QModelIndex(); +} +bool PythonQtShell_QAbstractItemModel::insertColumns(int column, int count, const QModelIndex& parent) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "insertColumns"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "int" , "int" , "const QModelIndex&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + bool returnValue; + void* args[4] = {NULL, (void*)&column, (void*)&count, (void*)&parent}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("insertColumns", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QAbstractItemModel::insertColumns(column, count, parent); +} +bool PythonQtShell_QAbstractItemModel::insertRows(int row, int count, const QModelIndex& parent) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "insertRows"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "int" , "int" , "const QModelIndex&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + bool returnValue; + void* args[4] = {NULL, (void*)&row, (void*)&count, (void*)&parent}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("insertRows", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QAbstractItemModel::insertRows(row, count, parent); +} +QMap PythonQtShell_QAbstractItemModel::itemData(const QModelIndex& index) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "itemData"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QMap" , "const QModelIndex&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + QMap returnValue; + void* args[2] = {NULL, (void*)&index}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("itemData", methodInfo, result); + } else { + returnValue = *((QMap*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QAbstractItemModel::itemData(index); +} +QList PythonQtShell_QAbstractItemModel::match(const QModelIndex& start, int role, const QVariant& value, int hits, Qt::MatchFlags flags) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "match"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QList" , "const QModelIndex&" , "int" , "const QVariant&" , "int" , "Qt::MatchFlags"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(6, argumentList); + QList returnValue; + void* args[6] = {NULL, (void*)&start, (void*)&role, (void*)&value, (void*)&hits, (void*)&flags}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("match", methodInfo, result); + } else { + returnValue = *((QList*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QAbstractItemModel::match(start, role, value, hits, flags); +} +QMimeData* PythonQtShell_QAbstractItemModel::mimeData(const QList& indexes) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mimeData"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QMimeData*" , "const QList&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + QMimeData* returnValue; + void* args[2] = {NULL, (void*)&indexes}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("mimeData", methodInfo, result); + } else { + returnValue = *((QMimeData**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QAbstractItemModel::mimeData(indexes); +} +QStringList PythonQtShell_QAbstractItemModel::mimeTypes() const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mimeTypes"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QStringList"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QStringList returnValue; + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("mimeTypes", methodInfo, result); + } else { + returnValue = *((QStringList*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QAbstractItemModel::mimeTypes(); +} +QModelIndex PythonQtShell_QAbstractItemModel::parent(const QModelIndex& child) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "parent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QModelIndex" , "const QModelIndex&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + QModelIndex returnValue; + void* args[2] = {NULL, (void*)&child}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("parent", methodInfo, result); + } else { + returnValue = *((QModelIndex*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QModelIndex(); +} +bool PythonQtShell_QAbstractItemModel::removeColumns(int column, int count, const QModelIndex& parent) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "removeColumns"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "int" , "int" , "const QModelIndex&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + bool returnValue; + void* args[4] = {NULL, (void*)&column, (void*)&count, (void*)&parent}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("removeColumns", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QAbstractItemModel::removeColumns(column, count, parent); +} +bool PythonQtShell_QAbstractItemModel::removeRows(int row, int count, const QModelIndex& parent) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "removeRows"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "int" , "int" , "const QModelIndex&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + bool returnValue; + void* args[4] = {NULL, (void*)&row, (void*)&count, (void*)&parent}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("removeRows", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QAbstractItemModel::removeRows(row, count, parent); +} +void PythonQtShell_QAbstractItemModel::revert() +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "revert"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={""}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QAbstractItemModel::revert(); +} +int PythonQtShell_QAbstractItemModel::rowCount(const QModelIndex& parent) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "rowCount"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"int" , "const QModelIndex&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + int returnValue; + void* args[2] = {NULL, (void*)&parent}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("rowCount", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return int(); +} +bool PythonQtShell_QAbstractItemModel::setData(const QModelIndex& index, const QVariant& value, int role) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "setData"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "const QModelIndex&" , "const QVariant&" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + bool returnValue; + void* args[4] = {NULL, (void*)&index, (void*)&value, (void*)&role}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("setData", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QAbstractItemModel::setData(index, value, role); +} +bool PythonQtShell_QAbstractItemModel::setHeaderData(int section, Qt::Orientation orientation, const QVariant& value, int role) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "setHeaderData"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "int" , "Qt::Orientation" , "const QVariant&" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(5, argumentList); + bool returnValue; + void* args[5] = {NULL, (void*)§ion, (void*)&orientation, (void*)&value, (void*)&role}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("setHeaderData", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QAbstractItemModel::setHeaderData(section, orientation, value, role); +} +bool PythonQtShell_QAbstractItemModel::setItemData(const QModelIndex& index, const QMap& roles) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "setItemData"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "const QModelIndex&" , "const QMap&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue; + void* args[3] = {NULL, (void*)&index, (void*)&roles}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("setItemData", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QAbstractItemModel::setItemData(index, roles); +} +void PythonQtShell_QAbstractItemModel::sort(int column, Qt::SortOrder order) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "sort"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "int" , "Qt::SortOrder"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + void* args[3] = {NULL, (void*)&column, (void*)&order}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QAbstractItemModel::sort(column, order); +} +QSize PythonQtShell_QAbstractItemModel::span(const QModelIndex& index) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "span"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QSize" , "const QModelIndex&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + QSize returnValue; + void* args[2] = {NULL, (void*)&index}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("span", methodInfo, result); + } else { + returnValue = *((QSize*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QAbstractItemModel::span(index); +} +bool PythonQtShell_QAbstractItemModel::submit() +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "submit"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + bool returnValue; + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("submit", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QAbstractItemModel::submit(); +} +Qt::DropActions PythonQtShell_QAbstractItemModel::supportedDropActions() const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "supportedDropActions"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"Qt::DropActions"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + Qt::DropActions returnValue; + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("supportedDropActions", methodInfo, result); + } else { + returnValue = *((Qt::DropActions*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QAbstractItemModel::supportedDropActions(); +} +void PythonQtShell_QAbstractItemModel::timerEvent(QTimerEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "timerEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QTimerEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QAbstractItemModel::timerEvent(arg__1); +} +QAbstractItemModel* PythonQtWrapper_QAbstractItemModel::new_QAbstractItemModel(QObject* parent) +{ +return new PythonQtShell_QAbstractItemModel(parent); } + +QModelIndex PythonQtWrapper_QAbstractItemModel::buddy(QAbstractItemModel* theWrappedObject, const QModelIndex& index) const +{ + return ( ((PythonQtPublicPromoter_QAbstractItemModel*)theWrappedObject)->promoted_buddy(index)); +} + +bool PythonQtWrapper_QAbstractItemModel::canFetchMore(QAbstractItemModel* theWrappedObject, const QModelIndex& parent) const +{ + return ( ((PythonQtPublicPromoter_QAbstractItemModel*)theWrappedObject)->promoted_canFetchMore(parent)); +} + +bool PythonQtWrapper_QAbstractItemModel::dropMimeData(QAbstractItemModel* theWrappedObject, const QMimeData* data, Qt::DropAction action, int row, int column, const QModelIndex& parent) +{ + return ( ((PythonQtPublicPromoter_QAbstractItemModel*)theWrappedObject)->promoted_dropMimeData(data, action, row, column, parent)); +} + +void PythonQtWrapper_QAbstractItemModel::fetchMore(QAbstractItemModel* theWrappedObject, const QModelIndex& parent) +{ + ( ((PythonQtPublicPromoter_QAbstractItemModel*)theWrappedObject)->promoted_fetchMore(parent)); +} + +Qt::ItemFlags PythonQtWrapper_QAbstractItemModel::flags(QAbstractItemModel* theWrappedObject, const QModelIndex& index) const +{ + return ( ((PythonQtPublicPromoter_QAbstractItemModel*)theWrappedObject)->promoted_flags(index)); +} + +bool PythonQtWrapper_QAbstractItemModel::hasChildren(QAbstractItemModel* theWrappedObject, const QModelIndex& parent) const +{ + return ( ((PythonQtPublicPromoter_QAbstractItemModel*)theWrappedObject)->promoted_hasChildren(parent)); +} + +bool PythonQtWrapper_QAbstractItemModel::hasIndex(QAbstractItemModel* theWrappedObject, int row, int column, const QModelIndex& parent) const +{ + return ( theWrappedObject->hasIndex(row, column, parent)); +} + +QVariant PythonQtWrapper_QAbstractItemModel::headerData(QAbstractItemModel* theWrappedObject, int section, Qt::Orientation orientation, int role) const +{ + return ( ((PythonQtPublicPromoter_QAbstractItemModel*)theWrappedObject)->promoted_headerData(section, orientation, role)); +} + +bool PythonQtWrapper_QAbstractItemModel::insertColumn(QAbstractItemModel* theWrappedObject, int column, const QModelIndex& parent) +{ + return ( theWrappedObject->insertColumn(column, parent)); +} + +bool PythonQtWrapper_QAbstractItemModel::insertColumns(QAbstractItemModel* theWrappedObject, int column, int count, const QModelIndex& parent) +{ + return ( ((PythonQtPublicPromoter_QAbstractItemModel*)theWrappedObject)->promoted_insertColumns(column, count, parent)); +} + +bool PythonQtWrapper_QAbstractItemModel::insertRow(QAbstractItemModel* theWrappedObject, int row, const QModelIndex& parent) +{ + return ( theWrappedObject->insertRow(row, parent)); +} + +bool PythonQtWrapper_QAbstractItemModel::insertRows(QAbstractItemModel* theWrappedObject, int row, int count, const QModelIndex& parent) +{ + return ( ((PythonQtPublicPromoter_QAbstractItemModel*)theWrappedObject)->promoted_insertRows(row, count, parent)); +} + +QMap PythonQtWrapper_QAbstractItemModel::itemData(QAbstractItemModel* theWrappedObject, const QModelIndex& index) const +{ + return ( ((PythonQtPublicPromoter_QAbstractItemModel*)theWrappedObject)->promoted_itemData(index)); +} + +QList PythonQtWrapper_QAbstractItemModel::match(QAbstractItemModel* theWrappedObject, const QModelIndex& start, int role, const QVariant& value, int hits, Qt::MatchFlags flags) const +{ + return ( ((PythonQtPublicPromoter_QAbstractItemModel*)theWrappedObject)->promoted_match(start, role, value, hits, flags)); +} + +QMimeData* PythonQtWrapper_QAbstractItemModel::mimeData(QAbstractItemModel* theWrappedObject, const QList& indexes) const +{ + return ( ((PythonQtPublicPromoter_QAbstractItemModel*)theWrappedObject)->promoted_mimeData(indexes)); +} + +QStringList PythonQtWrapper_QAbstractItemModel::mimeTypes(QAbstractItemModel* theWrappedObject) const +{ + return ( ((PythonQtPublicPromoter_QAbstractItemModel*)theWrappedObject)->promoted_mimeTypes()); +} + +QObject* PythonQtWrapper_QAbstractItemModel::parent(QAbstractItemModel* theWrappedObject) const +{ + return ( theWrappedObject->parent()); +} + +bool PythonQtWrapper_QAbstractItemModel::removeColumn(QAbstractItemModel* theWrappedObject, int column, const QModelIndex& parent) +{ + return ( theWrappedObject->removeColumn(column, parent)); +} + +bool PythonQtWrapper_QAbstractItemModel::removeColumns(QAbstractItemModel* theWrappedObject, int column, int count, const QModelIndex& parent) +{ + return ( ((PythonQtPublicPromoter_QAbstractItemModel*)theWrappedObject)->promoted_removeColumns(column, count, parent)); +} + +bool PythonQtWrapper_QAbstractItemModel::removeRow(QAbstractItemModel* theWrappedObject, int row, const QModelIndex& parent) +{ + return ( theWrappedObject->removeRow(row, parent)); +} + +bool PythonQtWrapper_QAbstractItemModel::removeRows(QAbstractItemModel* theWrappedObject, int row, int count, const QModelIndex& parent) +{ + return ( ((PythonQtPublicPromoter_QAbstractItemModel*)theWrappedObject)->promoted_removeRows(row, count, parent)); +} + +const QHash* PythonQtWrapper_QAbstractItemModel::roleNames(QAbstractItemModel* theWrappedObject) const +{ + return &( theWrappedObject->roleNames()); +} + +bool PythonQtWrapper_QAbstractItemModel::setData(QAbstractItemModel* theWrappedObject, const QModelIndex& index, const QVariant& value, int role) +{ + return ( ((PythonQtPublicPromoter_QAbstractItemModel*)theWrappedObject)->promoted_setData(index, value, role)); +} + +bool PythonQtWrapper_QAbstractItemModel::setHeaderData(QAbstractItemModel* theWrappedObject, int section, Qt::Orientation orientation, const QVariant& value, int role) +{ + return ( ((PythonQtPublicPromoter_QAbstractItemModel*)theWrappedObject)->promoted_setHeaderData(section, orientation, value, role)); +} + +bool PythonQtWrapper_QAbstractItemModel::setItemData(QAbstractItemModel* theWrappedObject, const QModelIndex& index, const QMap& roles) +{ + return ( ((PythonQtPublicPromoter_QAbstractItemModel*)theWrappedObject)->promoted_setItemData(index, roles)); +} + +void PythonQtWrapper_QAbstractItemModel::setSupportedDragActions(QAbstractItemModel* theWrappedObject, Qt::DropActions arg__1) +{ + ( theWrappedObject->setSupportedDragActions(arg__1)); +} + +QModelIndex PythonQtWrapper_QAbstractItemModel::sibling(QAbstractItemModel* theWrappedObject, int row, int column, const QModelIndex& idx) const +{ + return ( theWrappedObject->sibling(row, column, idx)); +} + +void PythonQtWrapper_QAbstractItemModel::sort(QAbstractItemModel* theWrappedObject, int column, Qt::SortOrder order) +{ + ( ((PythonQtPublicPromoter_QAbstractItemModel*)theWrappedObject)->promoted_sort(column, order)); +} + +QSize PythonQtWrapper_QAbstractItemModel::span(QAbstractItemModel* theWrappedObject, const QModelIndex& index) const +{ + return ( ((PythonQtPublicPromoter_QAbstractItemModel*)theWrappedObject)->promoted_span(index)); +} + +Qt::DropActions PythonQtWrapper_QAbstractItemModel::supportedDragActions(QAbstractItemModel* theWrappedObject) const +{ + return ( theWrappedObject->supportedDragActions()); +} + +Qt::DropActions PythonQtWrapper_QAbstractItemModel::supportedDropActions(QAbstractItemModel* theWrappedObject) const +{ + return ( ((PythonQtPublicPromoter_QAbstractItemModel*)theWrappedObject)->promoted_supportedDropActions()); +} + + + +QModelIndex PythonQtShell_QAbstractListModel::buddy(const QModelIndex& index) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "buddy"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QModelIndex" , "const QModelIndex&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + QModelIndex returnValue; + void* args[2] = {NULL, (void*)&index}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("buddy", methodInfo, result); + } else { + returnValue = *((QModelIndex*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QAbstractListModel::buddy(index); +} +bool PythonQtShell_QAbstractListModel::canFetchMore(const QModelIndex& parent) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "canFetchMore"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "const QModelIndex&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue; + void* args[2] = {NULL, (void*)&parent}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("canFetchMore", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QAbstractListModel::canFetchMore(parent); +} +void PythonQtShell_QAbstractListModel::childEvent(QChildEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "childEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QChildEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QAbstractListModel::childEvent(arg__1); +} +void PythonQtShell_QAbstractListModel::customEvent(QEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "customEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QAbstractListModel::customEvent(arg__1); +} +QVariant PythonQtShell_QAbstractListModel::data(const QModelIndex& index, int role) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "data"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QVariant" , "const QModelIndex&" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + QVariant returnValue; + void* args[3] = {NULL, (void*)&index, (void*)&role}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("data", methodInfo, result); + } else { + returnValue = *((QVariant*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QVariant(); +} +bool PythonQtShell_QAbstractListModel::dropMimeData(const QMimeData* data, Qt::DropAction action, int row, int column, const QModelIndex& parent) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dropMimeData"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "const QMimeData*" , "Qt::DropAction" , "int" , "int" , "const QModelIndex&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(6, argumentList); + bool returnValue; + void* args[6] = {NULL, (void*)&data, (void*)&action, (void*)&row, (void*)&column, (void*)&parent}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("dropMimeData", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QAbstractListModel::dropMimeData(data, action, row, column, parent); +} +bool PythonQtShell_QAbstractListModel::event(QEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "event"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue; + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QAbstractListModel::event(arg__1); +} +bool PythonQtShell_QAbstractListModel::eventFilter(QObject* arg__1, QEvent* arg__2) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "eventFilter"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue; + void* args[3] = {NULL, (void*)&arg__1, (void*)&arg__2}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QAbstractListModel::eventFilter(arg__1, arg__2); +} +void PythonQtShell_QAbstractListModel::fetchMore(const QModelIndex& parent) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "fetchMore"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "const QModelIndex&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&parent}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QAbstractListModel::fetchMore(parent); +} +Qt::ItemFlags PythonQtShell_QAbstractListModel::flags(const QModelIndex& index) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "flags"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"Qt::ItemFlags" , "const QModelIndex&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + Qt::ItemFlags returnValue; + void* args[2] = {NULL, (void*)&index}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("flags", methodInfo, result); + } else { + returnValue = *((Qt::ItemFlags*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QAbstractListModel::flags(index); +} +QVariant PythonQtShell_QAbstractListModel::headerData(int section, Qt::Orientation orientation, int role) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "headerData"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QVariant" , "int" , "Qt::Orientation" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + QVariant returnValue; + void* args[4] = {NULL, (void*)§ion, (void*)&orientation, (void*)&role}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("headerData", methodInfo, result); + } else { + returnValue = *((QVariant*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QAbstractListModel::headerData(section, orientation, role); +} +QModelIndex PythonQtShell_QAbstractListModel::index(int row, int column, const QModelIndex& parent) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "index"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QModelIndex" , "int" , "int" , "const QModelIndex&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + QModelIndex returnValue; + void* args[4] = {NULL, (void*)&row, (void*)&column, (void*)&parent}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("index", methodInfo, result); + } else { + returnValue = *((QModelIndex*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QAbstractListModel::index(row, column, parent); +} +bool PythonQtShell_QAbstractListModel::insertColumns(int column, int count, const QModelIndex& parent) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "insertColumns"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "int" , "int" , "const QModelIndex&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + bool returnValue; + void* args[4] = {NULL, (void*)&column, (void*)&count, (void*)&parent}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("insertColumns", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QAbstractListModel::insertColumns(column, count, parent); +} +bool PythonQtShell_QAbstractListModel::insertRows(int row, int count, const QModelIndex& parent) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "insertRows"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "int" , "int" , "const QModelIndex&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + bool returnValue; + void* args[4] = {NULL, (void*)&row, (void*)&count, (void*)&parent}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("insertRows", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QAbstractListModel::insertRows(row, count, parent); +} +QMap PythonQtShell_QAbstractListModel::itemData(const QModelIndex& index) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "itemData"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QMap" , "const QModelIndex&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + QMap returnValue; + void* args[2] = {NULL, (void*)&index}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("itemData", methodInfo, result); + } else { + returnValue = *((QMap*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QAbstractListModel::itemData(index); +} +QList PythonQtShell_QAbstractListModel::match(const QModelIndex& start, int role, const QVariant& value, int hits, Qt::MatchFlags flags) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "match"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QList" , "const QModelIndex&" , "int" , "const QVariant&" , "int" , "Qt::MatchFlags"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(6, argumentList); + QList returnValue; + void* args[6] = {NULL, (void*)&start, (void*)&role, (void*)&value, (void*)&hits, (void*)&flags}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("match", methodInfo, result); + } else { + returnValue = *((QList*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QAbstractListModel::match(start, role, value, hits, flags); +} +QMimeData* PythonQtShell_QAbstractListModel::mimeData(const QList& indexes) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mimeData"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QMimeData*" , "const QList&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + QMimeData* returnValue; + void* args[2] = {NULL, (void*)&indexes}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("mimeData", methodInfo, result); + } else { + returnValue = *((QMimeData**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QAbstractListModel::mimeData(indexes); +} +QStringList PythonQtShell_QAbstractListModel::mimeTypes() const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mimeTypes"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QStringList"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QStringList returnValue; + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("mimeTypes", methodInfo, result); + } else { + returnValue = *((QStringList*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QAbstractListModel::mimeTypes(); +} +bool PythonQtShell_QAbstractListModel::removeColumns(int column, int count, const QModelIndex& parent) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "removeColumns"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "int" , "int" , "const QModelIndex&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + bool returnValue; + void* args[4] = {NULL, (void*)&column, (void*)&count, (void*)&parent}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("removeColumns", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QAbstractListModel::removeColumns(column, count, parent); +} +bool PythonQtShell_QAbstractListModel::removeRows(int row, int count, const QModelIndex& parent) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "removeRows"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "int" , "int" , "const QModelIndex&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + bool returnValue; + void* args[4] = {NULL, (void*)&row, (void*)&count, (void*)&parent}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("removeRows", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QAbstractListModel::removeRows(row, count, parent); +} +void PythonQtShell_QAbstractListModel::revert() +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "revert"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={""}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QAbstractListModel::revert(); +} +int PythonQtShell_QAbstractListModel::rowCount(const QModelIndex& parent) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "rowCount"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"int" , "const QModelIndex&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + int returnValue; + void* args[2] = {NULL, (void*)&parent}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("rowCount", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return int(); +} +bool PythonQtShell_QAbstractListModel::setData(const QModelIndex& index, const QVariant& value, int role) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "setData"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "const QModelIndex&" , "const QVariant&" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + bool returnValue; + void* args[4] = {NULL, (void*)&index, (void*)&value, (void*)&role}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("setData", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QAbstractListModel::setData(index, value, role); +} +bool PythonQtShell_QAbstractListModel::setHeaderData(int section, Qt::Orientation orientation, const QVariant& value, int role) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "setHeaderData"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "int" , "Qt::Orientation" , "const QVariant&" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(5, argumentList); + bool returnValue; + void* args[5] = {NULL, (void*)§ion, (void*)&orientation, (void*)&value, (void*)&role}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("setHeaderData", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QAbstractListModel::setHeaderData(section, orientation, value, role); +} +bool PythonQtShell_QAbstractListModel::setItemData(const QModelIndex& index, const QMap& roles) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "setItemData"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "const QModelIndex&" , "const QMap&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue; + void* args[3] = {NULL, (void*)&index, (void*)&roles}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("setItemData", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QAbstractListModel::setItemData(index, roles); +} +void PythonQtShell_QAbstractListModel::sort(int column, Qt::SortOrder order) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "sort"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "int" , "Qt::SortOrder"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + void* args[3] = {NULL, (void*)&column, (void*)&order}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QAbstractListModel::sort(column, order); +} +QSize PythonQtShell_QAbstractListModel::span(const QModelIndex& index) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "span"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QSize" , "const QModelIndex&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + QSize returnValue; + void* args[2] = {NULL, (void*)&index}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("span", methodInfo, result); + } else { + returnValue = *((QSize*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QAbstractListModel::span(index); +} +bool PythonQtShell_QAbstractListModel::submit() +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "submit"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + bool returnValue; + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("submit", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QAbstractListModel::submit(); +} +Qt::DropActions PythonQtShell_QAbstractListModel::supportedDropActions() const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "supportedDropActions"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"Qt::DropActions"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + Qt::DropActions returnValue; + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("supportedDropActions", methodInfo, result); + } else { + returnValue = *((Qt::DropActions*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QAbstractListModel::supportedDropActions(); +} +void PythonQtShell_QAbstractListModel::timerEvent(QTimerEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "timerEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QTimerEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QAbstractListModel::timerEvent(arg__1); +} +QAbstractListModel* PythonQtWrapper_QAbstractListModel::new_QAbstractListModel(QObject* parent) +{ +return new PythonQtShell_QAbstractListModel(parent); } + +bool PythonQtWrapper_QAbstractListModel::dropMimeData(QAbstractListModel* theWrappedObject, const QMimeData* data, Qt::DropAction action, int row, int column, const QModelIndex& parent) +{ + return ( ((PythonQtPublicPromoter_QAbstractListModel*)theWrappedObject)->promoted_dropMimeData(data, action, row, column, parent)); +} + +QModelIndex PythonQtWrapper_QAbstractListModel::index(QAbstractListModel* theWrappedObject, int row, int column, const QModelIndex& parent) const +{ + return ( ((PythonQtPublicPromoter_QAbstractListModel*)theWrappedObject)->promoted_index(row, column, parent)); +} + + + +void PythonQtShell_QAbstractState::childEvent(QChildEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "childEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QChildEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QAbstractState::childEvent(arg__1); +} +void PythonQtShell_QAbstractState::customEvent(QEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "customEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QAbstractState::customEvent(arg__1); +} +bool PythonQtShell_QAbstractState::event(QEvent* e) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "event"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue; + void* args[2] = {NULL, (void*)&e}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QAbstractState::event(e); +} +bool PythonQtShell_QAbstractState::eventFilter(QObject* arg__1, QEvent* arg__2) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "eventFilter"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue; + void* args[3] = {NULL, (void*)&arg__1, (void*)&arg__2}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QAbstractState::eventFilter(arg__1, arg__2); +} +void PythonQtShell_QAbstractState::onEntry(QEvent* event) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "onEntry"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&event}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + +} +void PythonQtShell_QAbstractState::onExit(QEvent* event) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "onExit"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&event}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + +} +void PythonQtShell_QAbstractState::timerEvent(QTimerEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "timerEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QTimerEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QAbstractState::timerEvent(arg__1); +} +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()); +} + +QState* PythonQtWrapper_QAbstractState::parentState(QAbstractState* theWrappedObject) const +{ + return ( theWrappedObject->parentState()); +} + + + +void PythonQtShell_QAbstractTransition::childEvent(QChildEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "childEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QChildEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QAbstractTransition::childEvent(arg__1); +} +void PythonQtShell_QAbstractTransition::customEvent(QEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "customEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QAbstractTransition::customEvent(arg__1); +} +bool PythonQtShell_QAbstractTransition::event(QEvent* e) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "event"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue; + void* args[2] = {NULL, (void*)&e}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QAbstractTransition::event(e); +} +bool PythonQtShell_QAbstractTransition::eventFilter(QObject* arg__1, QEvent* arg__2) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "eventFilter"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue; + void* args[3] = {NULL, (void*)&arg__1, (void*)&arg__2}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QAbstractTransition::eventFilter(arg__1, arg__2); +} +bool PythonQtShell_QAbstractTransition::eventTest(QEvent* event) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "eventTest"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue; + void* args[2] = {NULL, (void*)&event}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("eventTest", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return bool(); +} +void PythonQtShell_QAbstractTransition::onTransition(QEvent* event) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "onTransition"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&event}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + +} +void PythonQtShell_QAbstractTransition::timerEvent(QTimerEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "timerEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QTimerEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QAbstractTransition::timerEvent(arg__1); +} +QAbstractTransition* PythonQtWrapper_QAbstractTransition::new_QAbstractTransition(QState* sourceState) +{ +return new PythonQtShell_QAbstractTransition(sourceState); } + +void PythonQtWrapper_QAbstractTransition::addAnimation(QAbstractTransition* theWrappedObject, QAbstractAnimation* animation) +{ + ( theWrappedObject->addAnimation(animation)); +} + +QList PythonQtWrapper_QAbstractTransition::animations(QAbstractTransition* theWrappedObject) const +{ + return ( theWrappedObject->animations()); +} + +bool PythonQtWrapper_QAbstractTransition::event(QAbstractTransition* theWrappedObject, QEvent* e) +{ + return ( ((PythonQtPublicPromoter_QAbstractTransition*)theWrappedObject)->promoted_event(e)); +} + +QStateMachine* PythonQtWrapper_QAbstractTransition::machine(QAbstractTransition* theWrappedObject) const +{ + return ( theWrappedObject->machine()); +} + +void PythonQtWrapper_QAbstractTransition::removeAnimation(QAbstractTransition* theWrappedObject, QAbstractAnimation* animation) +{ + ( theWrappedObject->removeAnimation(animation)); +} + +void PythonQtWrapper_QAbstractTransition::setTargetState(QAbstractTransition* theWrappedObject, QAbstractState* target) +{ + ( theWrappedObject->setTargetState(target)); +} + +void PythonQtWrapper_QAbstractTransition::setTargetStates(QAbstractTransition* theWrappedObject, const QList& targets) +{ + ( theWrappedObject->setTargetStates(targets)); +} + +QState* PythonQtWrapper_QAbstractTransition::sourceState(QAbstractTransition* theWrappedObject) const +{ + return ( theWrappedObject->sourceState()); +} + +QAbstractState* PythonQtWrapper_QAbstractTransition::targetState(QAbstractTransition* theWrappedObject) const +{ + return ( theWrappedObject->targetState()); +} + +QList PythonQtWrapper_QAbstractTransition::targetStates(QAbstractTransition* theWrappedObject) const +{ + return ( theWrappedObject->targetStates()); +} + + + +void PythonQtShell_QAnimationGroup::childEvent(QChildEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "childEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QChildEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QAnimationGroup::childEvent(arg__1); +} +void PythonQtShell_QAnimationGroup::customEvent(QEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "customEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QAnimationGroup::customEvent(arg__1); +} +int PythonQtShell_QAnimationGroup::duration() const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "duration"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + int returnValue; + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("duration", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return int(); +} +bool PythonQtShell_QAnimationGroup::event(QEvent* event) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "event"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue; + void* args[2] = {NULL, (void*)&event}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QAnimationGroup::event(event); +} +bool PythonQtShell_QAnimationGroup::eventFilter(QObject* arg__1, QEvent* arg__2) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "eventFilter"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue; + void* args[3] = {NULL, (void*)&arg__1, (void*)&arg__2}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QAnimationGroup::eventFilter(arg__1, arg__2); +} +void PythonQtShell_QAnimationGroup::timerEvent(QTimerEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "timerEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QTimerEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QAnimationGroup::timerEvent(arg__1); +} +void PythonQtShell_QAnimationGroup::updateCurrentTime(int currentTime) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "updateCurrentTime"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)¤tTime}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + +} +void PythonQtShell_QAnimationGroup::updateDirection(QAbstractAnimation::Direction direction) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "updateDirection"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QAbstractAnimation::Direction"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&direction}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QAnimationGroup::updateDirection(direction); +} +void PythonQtShell_QAnimationGroup::updateState(QAbstractAnimation::State newState, QAbstractAnimation::State oldState) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "updateState"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QAbstractAnimation::State" , "QAbstractAnimation::State"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + void* args[3] = {NULL, (void*)&newState, (void*)&oldState}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QAnimationGroup::updateState(newState, oldState); +} +QAnimationGroup* PythonQtWrapper_QAnimationGroup::new_QAnimationGroup(QObject* parent) +{ +return new PythonQtShell_QAnimationGroup(parent); } + +void PythonQtWrapper_QAnimationGroup::addAnimation(QAnimationGroup* theWrappedObject, QAbstractAnimation* animation) +{ + ( theWrappedObject->addAnimation(animation)); +} + +QAbstractAnimation* PythonQtWrapper_QAnimationGroup::animationAt(QAnimationGroup* theWrappedObject, int index) const +{ + return ( theWrappedObject->animationAt(index)); +} + +int PythonQtWrapper_QAnimationGroup::animationCount(QAnimationGroup* theWrappedObject) const +{ + return ( theWrappedObject->animationCount()); +} + +void PythonQtWrapper_QAnimationGroup::clear(QAnimationGroup* theWrappedObject) +{ + ( theWrappedObject->clear()); +} + +bool PythonQtWrapper_QAnimationGroup::event(QAnimationGroup* theWrappedObject, QEvent* event) +{ + return ( ((PythonQtPublicPromoter_QAnimationGroup*)theWrappedObject)->promoted_event(event)); +} + +int PythonQtWrapper_QAnimationGroup::indexOfAnimation(QAnimationGroup* theWrappedObject, QAbstractAnimation* animation) const +{ + return ( theWrappedObject->indexOfAnimation(animation)); +} + +void PythonQtWrapper_QAnimationGroup::insertAnimation(QAnimationGroup* theWrappedObject, int index, QAbstractAnimation* animation) +{ + ( theWrappedObject->insertAnimation(index, animation)); +} + +void PythonQtWrapper_QAnimationGroup::removeAnimation(QAnimationGroup* theWrappedObject, QAbstractAnimation* animation) +{ + ( theWrappedObject->removeAnimation(animation)); +} + +QAbstractAnimation* PythonQtWrapper_QAnimationGroup::takeAnimation(QAnimationGroup* theWrappedObject, int index) +{ + return ( theWrappedObject->takeAnimation(index)); +} + + + +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::stop(QBasicTimer* theWrappedObject) +{ + ( theWrappedObject->stop()); +} + +int PythonQtWrapper_QBasicTimer::timerId(QBasicTimer* theWrappedObject) const +{ + return ( theWrappedObject->timerId()); +} + + + +bool PythonQtShell_QBuffer::atEnd() const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "atEnd"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + bool returnValue; + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("atEnd", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QBuffer::atEnd(); +} +qint64 PythonQtShell_QBuffer::bytesAvailable() const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "bytesAvailable"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"qint64"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + qint64 returnValue; + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("bytesAvailable", methodInfo, result); + } else { + returnValue = *((qint64*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QBuffer::bytesAvailable(); +} +qint64 PythonQtShell_QBuffer::bytesToWrite() const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "bytesToWrite"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"qint64"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + qint64 returnValue; + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("bytesToWrite", methodInfo, result); + } else { + returnValue = *((qint64*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QBuffer::bytesToWrite(); +} +bool PythonQtShell_QBuffer::canReadLine() const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "canReadLine"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + bool returnValue; + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("canReadLine", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QBuffer::canReadLine(); +} +void PythonQtShell_QBuffer::childEvent(QChildEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "childEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QChildEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QBuffer::childEvent(arg__1); +} +void PythonQtShell_QBuffer::close() +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "close"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={""}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QBuffer::close(); +} +void PythonQtShell_QBuffer::customEvent(QEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "customEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QBuffer::customEvent(arg__1); +} +bool PythonQtShell_QBuffer::event(QEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "event"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue; + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QBuffer::event(arg__1); +} +bool PythonQtShell_QBuffer::eventFilter(QObject* arg__1, QEvent* arg__2) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "eventFilter"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue; + void* args[3] = {NULL, (void*)&arg__1, (void*)&arg__2}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QBuffer::eventFilter(arg__1, arg__2); +} +bool PythonQtShell_QBuffer::isSequential() const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "isSequential"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + bool returnValue; + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("isSequential", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QBuffer::isSequential(); +} +bool PythonQtShell_QBuffer::open(QIODevice::OpenMode openMode) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "open"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "QIODevice::OpenMode"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue; + void* args[2] = {NULL, (void*)&openMode}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("open", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QBuffer::open(openMode); +} +qint64 PythonQtShell_QBuffer::pos() const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "pos"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"qint64"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + qint64 returnValue; + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("pos", methodInfo, result); + } else { + returnValue = *((qint64*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QBuffer::pos(); +} +qint64 PythonQtShell_QBuffer::readData(char* data, qint64 maxlen) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "readData"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"qint64" , "char*" , "qint64"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + qint64 returnValue; + void* args[3] = {NULL, (void*)&data, (void*)&maxlen}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("readData", methodInfo, result); + } else { + returnValue = *((qint64*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QBuffer::readData(data, maxlen); +} +qint64 PythonQtShell_QBuffer::readLineData(char* data, qint64 maxlen) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "readLineData"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"qint64" , "char*" , "qint64"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + qint64 returnValue; + void* args[3] = {NULL, (void*)&data, (void*)&maxlen}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("readLineData", methodInfo, result); + } else { + returnValue = *((qint64*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QBuffer::readLineData(data, maxlen); +} +bool PythonQtShell_QBuffer::reset() +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "reset"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + bool returnValue; + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("reset", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QBuffer::reset(); +} +bool PythonQtShell_QBuffer::seek(qint64 off) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "seek"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "qint64"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue; + void* args[2] = {NULL, (void*)&off}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("seek", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QBuffer::seek(off); +} +qint64 PythonQtShell_QBuffer::size() const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "size"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"qint64"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + qint64 returnValue; + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("size", methodInfo, result); + } else { + returnValue = *((qint64*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QBuffer::size(); +} +void PythonQtShell_QBuffer::timerEvent(QTimerEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "timerEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QTimerEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QBuffer::timerEvent(arg__1); +} +bool PythonQtShell_QBuffer::waitForBytesWritten(int msecs) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "waitForBytesWritten"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue; + void* args[2] = {NULL, (void*)&msecs}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("waitForBytesWritten", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QBuffer::waitForBytesWritten(msecs); +} +bool PythonQtShell_QBuffer::waitForReadyRead(int msecs) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "waitForReadyRead"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue; + void* args[2] = {NULL, (void*)&msecs}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("waitForReadyRead", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QBuffer::waitForReadyRead(msecs); +} +qint64 PythonQtShell_QBuffer::writeData(const char* data, qint64 len) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "writeData"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"qint64" , "const char*" , "qint64"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + qint64 returnValue; + void* args[3] = {NULL, (void*)&data, (void*)&len}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("writeData", methodInfo, result); + } else { + returnValue = *((qint64*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QBuffer::writeData(data, len); +} +QBuffer* PythonQtWrapper_QBuffer::new_QBuffer(QByteArray* buf, QObject* parent) +{ +return new PythonQtShell_QBuffer(buf, parent); } + +QBuffer* PythonQtWrapper_QBuffer::new_QBuffer(QObject* parent) +{ +return new PythonQtShell_QBuffer(parent); } + +bool PythonQtWrapper_QBuffer::atEnd(QBuffer* theWrappedObject) const +{ + return ( ((PythonQtPublicPromoter_QBuffer*)theWrappedObject)->promoted_atEnd()); +} + +bool PythonQtWrapper_QBuffer::canReadLine(QBuffer* theWrappedObject) const +{ + return ( ((PythonQtPublicPromoter_QBuffer*)theWrappedObject)->promoted_canReadLine()); +} + +void PythonQtWrapper_QBuffer::close(QBuffer* theWrappedObject) +{ + ( ((PythonQtPublicPromoter_QBuffer*)theWrappedObject)->promoted_close()); +} + +bool PythonQtWrapper_QBuffer::open(QBuffer* theWrappedObject, QIODevice::OpenMode openMode) +{ + return ( ((PythonQtPublicPromoter_QBuffer*)theWrappedObject)->promoted_open(openMode)); +} + +qint64 PythonQtWrapper_QBuffer::pos(QBuffer* theWrappedObject) const +{ + return ( ((PythonQtPublicPromoter_QBuffer*)theWrappedObject)->promoted_pos()); +} + +qint64 PythonQtWrapper_QBuffer::readData(QBuffer* theWrappedObject, char* data, qint64 maxlen) +{ + return ( ((PythonQtPublicPromoter_QBuffer*)theWrappedObject)->promoted_readData(data, maxlen)); +} + +bool PythonQtWrapper_QBuffer::seek(QBuffer* theWrappedObject, qint64 off) +{ + return ( ((PythonQtPublicPromoter_QBuffer*)theWrappedObject)->promoted_seek(off)); +} + +void PythonQtWrapper_QBuffer::setBuffer(QBuffer* theWrappedObject, QByteArray* a) +{ + ( theWrappedObject->setBuffer(a)); +} + +void PythonQtWrapper_QBuffer::setData(QBuffer* theWrappedObject, const QByteArray& data) +{ + ( theWrappedObject->setData(data)); +} + +qint64 PythonQtWrapper_QBuffer::size(QBuffer* theWrappedObject) const +{ + return ( ((PythonQtPublicPromoter_QBuffer*)theWrappedObject)->promoted_size()); +} + +qint64 PythonQtWrapper_QBuffer::writeData(QBuffer* theWrappedObject, const char* data, qint64 len) +{ + return ( ((PythonQtPublicPromoter_QBuffer*)theWrappedObject)->promoted_writeData(data, len)); +} + + + +QByteArrayMatcher* PythonQtWrapper_QByteArrayMatcher::new_QByteArrayMatcher() +{ +return new QByteArrayMatcher(); } + +QByteArrayMatcher* PythonQtWrapper_QByteArrayMatcher::new_QByteArrayMatcher(const QByteArray& pattern) +{ +return new QByteArrayMatcher(pattern); } + +QByteArrayMatcher* PythonQtWrapper_QByteArrayMatcher::new_QByteArrayMatcher(const QByteArrayMatcher& other) +{ +return new QByteArrayMatcher(other); } + +QByteArrayMatcher* PythonQtWrapper_QByteArrayMatcher::new_QByteArrayMatcher(const char* pattern, int length) +{ +return new QByteArrayMatcher(pattern, length); } + +int PythonQtWrapper_QByteArrayMatcher::indexIn(QByteArrayMatcher* theWrappedObject, const QByteArray& ba, int from) const +{ + return ( theWrappedObject->indexIn(ba, from)); +} + +int PythonQtWrapper_QByteArrayMatcher::indexIn(QByteArrayMatcher* theWrappedObject, const char* str, int len, int from) const +{ + return ( theWrappedObject->indexIn(str, len, from)); +} + +QByteArray PythonQtWrapper_QByteArrayMatcher::pattern(QByteArrayMatcher* theWrappedObject) const +{ + return ( theWrappedObject->pattern()); +} + +void PythonQtWrapper_QByteArrayMatcher::setPattern(QByteArrayMatcher* theWrappedObject, const QByteArray& pattern) +{ + ( theWrappedObject->setPattern(pattern)); +} + + + +QChildEvent* PythonQtWrapper_QChildEvent::new_QChildEvent(QEvent::Type type, QObject* child) +{ +return new PythonQtShell_QChildEvent(type, child); } + +bool PythonQtWrapper_QChildEvent::added(QChildEvent* theWrappedObject) const +{ + return ( theWrappedObject->added()); +} + +QObject* PythonQtWrapper_QChildEvent::child(QChildEvent* theWrappedObject) const +{ + return ( theWrappedObject->child()); +} + +bool PythonQtWrapper_QChildEvent::polished(QChildEvent* theWrappedObject) const +{ + return ( theWrappedObject->polished()); +} + +bool PythonQtWrapper_QChildEvent::removed(QChildEvent* theWrappedObject) const +{ + return ( theWrappedObject->removed()); +} + + + +void PythonQtShell_QCoreApplication::childEvent(QChildEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "childEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QChildEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QCoreApplication::childEvent(arg__1); +} +void PythonQtShell_QCoreApplication::customEvent(QEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "customEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QCoreApplication::customEvent(arg__1); +} +bool PythonQtShell_QCoreApplication::event(QEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "event"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue; + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QCoreApplication::event(arg__1); +} +bool PythonQtShell_QCoreApplication::eventFilter(QObject* arg__1, QEvent* arg__2) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "eventFilter"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue; + void* args[3] = {NULL, (void*)&arg__1, (void*)&arg__2}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QCoreApplication::eventFilter(arg__1, arg__2); +} +bool PythonQtShell_QCoreApplication::notify(QObject* arg__1, QEvent* arg__2) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "notify"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue; + void* args[3] = {NULL, (void*)&arg__1, (void*)&arg__2}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("notify", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QCoreApplication::notify(arg__1, arg__2); +} +void PythonQtShell_QCoreApplication::timerEvent(QTimerEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "timerEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QTimerEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QCoreApplication::timerEvent(arg__1); +} +void PythonQtWrapper_QCoreApplication::static_QCoreApplication_addLibraryPath(const QString& arg__1) +{ + (QCoreApplication::addLibraryPath(arg__1)); +} + +QString PythonQtWrapper_QCoreApplication::static_QCoreApplication_applicationDirPath() +{ + return (QCoreApplication::applicationDirPath()); +} + +QString PythonQtWrapper_QCoreApplication::static_QCoreApplication_applicationFilePath() +{ + return (QCoreApplication::applicationFilePath()); +} + +QString PythonQtWrapper_QCoreApplication::static_QCoreApplication_applicationName() +{ + return (QCoreApplication::applicationName()); +} + +qint64 PythonQtWrapper_QCoreApplication::static_QCoreApplication_applicationPid() +{ + return (QCoreApplication::applicationPid()); +} + +QString PythonQtWrapper_QCoreApplication::static_QCoreApplication_applicationVersion() +{ + return (QCoreApplication::applicationVersion()); +} + +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)); +} + +int PythonQtWrapper_QCoreApplication::static_QCoreApplication_exec() +{ + return (QCoreApplication::exec()); +} + +void PythonQtWrapper_QCoreApplication::static_QCoreApplication_exit(int retcode) +{ + (QCoreApplication::exit(retcode)); +} + +void PythonQtWrapper_QCoreApplication::static_QCoreApplication_flush() +{ + (QCoreApplication::flush()); +} + +bool PythonQtWrapper_QCoreApplication::static_QCoreApplication_hasPendingEvents() +{ + return (QCoreApplication::hasPendingEvents()); +} + +void PythonQtWrapper_QCoreApplication::static_QCoreApplication_installTranslator(QTranslator* messageFile) +{ + (QCoreApplication::installTranslator(messageFile)); +} + +QCoreApplication* PythonQtWrapper_QCoreApplication::static_QCoreApplication_instance() +{ + return (QCoreApplication::instance()); +} + +QStringList PythonQtWrapper_QCoreApplication::static_QCoreApplication_libraryPaths() +{ + return (QCoreApplication::libraryPaths()); +} + +bool PythonQtWrapper_QCoreApplication::notify(QCoreApplication* theWrappedObject, QObject* arg__1, QEvent* arg__2) +{ + return ( ((PythonQtPublicPromoter_QCoreApplication*)theWrappedObject)->promoted_notify(arg__1, arg__2)); +} + +QString PythonQtWrapper_QCoreApplication::static_QCoreApplication_organizationDomain() +{ + return (QCoreApplication::organizationDomain()); +} + +QString PythonQtWrapper_QCoreApplication::static_QCoreApplication_organizationName() +{ + return (QCoreApplication::organizationName()); +} + +void PythonQtWrapper_QCoreApplication::static_QCoreApplication_postEvent(QObject* receiver, QEvent* event) +{ + (QCoreApplication::postEvent(receiver, event)); +} + +void PythonQtWrapper_QCoreApplication::static_QCoreApplication_postEvent(QObject* receiver, QEvent* event, int priority) +{ + (QCoreApplication::postEvent(receiver, event, priority)); +} + +void PythonQtWrapper_QCoreApplication::static_QCoreApplication_processEvents(QEventLoop::ProcessEventsFlags flags) +{ + (QCoreApplication::processEvents(flags)); +} + +void PythonQtWrapper_QCoreApplication::static_QCoreApplication_processEvents(QEventLoop::ProcessEventsFlags flags, int maxtime) +{ + (QCoreApplication::processEvents(flags, maxtime)); +} + +void PythonQtWrapper_QCoreApplication::static_QCoreApplication_removeLibraryPath(const QString& arg__1) +{ + (QCoreApplication::removeLibraryPath(arg__1)); +} + +void PythonQtWrapper_QCoreApplication::static_QCoreApplication_removePostedEvents(QObject* receiver) +{ + (QCoreApplication::removePostedEvents(receiver)); +} + +void PythonQtWrapper_QCoreApplication::static_QCoreApplication_removePostedEvents(QObject* receiver, int eventType) +{ + (QCoreApplication::removePostedEvents(receiver, eventType)); +} + +void PythonQtWrapper_QCoreApplication::static_QCoreApplication_removeTranslator(QTranslator* messageFile) +{ + (QCoreApplication::removeTranslator(messageFile)); +} + +bool PythonQtWrapper_QCoreApplication::static_QCoreApplication_sendEvent(QObject* receiver, QEvent* event) +{ + return (QCoreApplication::sendEvent(receiver, event)); +} + +void PythonQtWrapper_QCoreApplication::static_QCoreApplication_sendPostedEvents() +{ + (QCoreApplication::sendPostedEvents()); +} + +void PythonQtWrapper_QCoreApplication::static_QCoreApplication_sendPostedEvents(QObject* receiver, int event_type) +{ + (QCoreApplication::sendPostedEvents(receiver, event_type)); +} + +void PythonQtWrapper_QCoreApplication::static_QCoreApplication_setApplicationName(const QString& application) +{ + (QCoreApplication::setApplicationName(application)); +} + +void PythonQtWrapper_QCoreApplication::static_QCoreApplication_setApplicationVersion(const QString& version) +{ + (QCoreApplication::setApplicationVersion(version)); +} + +void PythonQtWrapper_QCoreApplication::static_QCoreApplication_setAttribute(Qt::ApplicationAttribute attribute, bool on) +{ + (QCoreApplication::setAttribute(attribute, on)); +} + +void PythonQtWrapper_QCoreApplication::static_QCoreApplication_setLibraryPaths(const QStringList& arg__1) +{ + (QCoreApplication::setLibraryPaths(arg__1)); +} + +void PythonQtWrapper_QCoreApplication::static_QCoreApplication_setOrganizationDomain(const QString& orgDomain) +{ + (QCoreApplication::setOrganizationDomain(orgDomain)); +} + +void PythonQtWrapper_QCoreApplication::static_QCoreApplication_setOrganizationName(const QString& orgName) +{ + (QCoreApplication::setOrganizationName(orgName)); +} + +bool PythonQtWrapper_QCoreApplication::static_QCoreApplication_startingUp() +{ + return (QCoreApplication::startingUp()); +} + +bool PythonQtWrapper_QCoreApplication::static_QCoreApplication_testAttribute(Qt::ApplicationAttribute attribute) +{ + return (QCoreApplication::testAttribute(attribute)); +} + +QString PythonQtWrapper_QCoreApplication::static_QCoreApplication_translate(const char* context, const char* key, const char* disambiguation, QCoreApplication::Encoding encoding) +{ + return (QCoreApplication::translate(context, key, disambiguation, encoding)); +} + +QString PythonQtWrapper_QCoreApplication::static_QCoreApplication_translate(const char* context, const char* key, const char* disambiguation, QCoreApplication::Encoding encoding, int n) +{ + return (QCoreApplication::translate(context, key, disambiguation, encoding, n)); +} + + + +QCryptographicHash* PythonQtWrapper_QCryptographicHash::new_QCryptographicHash(QCryptographicHash::Algorithm method) +{ +return new QCryptographicHash(method); } + +void PythonQtWrapper_QCryptographicHash::addData(QCryptographicHash* theWrappedObject, const QByteArray& data) +{ + ( theWrappedObject->addData(data)); +} + +QByteArray PythonQtWrapper_QCryptographicHash::static_QCryptographicHash_hash(const QByteArray& data, QCryptographicHash::Algorithm method) +{ + return (QCryptographicHash::hash(data, method)); +} + +void PythonQtWrapper_QCryptographicHash::reset(QCryptographicHash* theWrappedObject) +{ + ( theWrappedObject->reset()); +} + +QByteArray PythonQtWrapper_QCryptographicHash::result(QCryptographicHash* theWrappedObject) const +{ + return ( theWrappedObject->result()); +} + + + +QDataStream* PythonQtWrapper_QDataStream::new_QDataStream() +{ +return new PythonQtShell_QDataStream(); } + +QDataStream* PythonQtWrapper_QDataStream::new_QDataStream(QByteArray* arg__1, QIODevice::OpenMode flags) +{ +return new PythonQtShell_QDataStream(arg__1, flags); } + +QDataStream* PythonQtWrapper_QDataStream::new_QDataStream(QIODevice* arg__1) +{ +return new PythonQtShell_QDataStream(arg__1); } + +QDataStream* PythonQtWrapper_QDataStream::new_QDataStream(const QByteArray& arg__1) +{ +return new PythonQtShell_QDataStream(arg__1); } + +bool PythonQtWrapper_QDataStream::atEnd(QDataStream* theWrappedObject) const +{ + return ( theWrappedObject->atEnd()); +} + +QIODevice* PythonQtWrapper_QDataStream::device(QDataStream* theWrappedObject) const +{ + return ( theWrappedObject->device()); +} + +QDataStream::FloatingPointPrecision PythonQtWrapper_QDataStream::floatingPointPrecision(QDataStream* theWrappedObject) const +{ + return ( theWrappedObject->floatingPointPrecision()); +} + +QDataStream* PythonQtWrapper_QDataStream::writeBoolean(QDataStream* theWrappedObject, bool i) +{ + return &( (*theWrappedObject) <>i); +} + +QDataStream* PythonQtWrapper_QDataStream::readDouble(QDataStream* theWrappedObject, double& f) +{ + return &( (*theWrappedObject) >>f); +} + +QDataStream* PythonQtWrapper_QDataStream::readFloat(QDataStream* theWrappedObject, float& f) +{ + return &( (*theWrappedObject) >>f); +} + +QDataStream* PythonQtWrapper_QDataStream::readInt(QDataStream* theWrappedObject, int& i) +{ + return &( (*theWrappedObject) >>i); +} + +QDataStream* PythonQtWrapper_QDataStream::readLongLong(QDataStream* theWrappedObject, qint64& i) +{ + return &( (*theWrappedObject) >>i); +} + +QDataStream* PythonQtWrapper_QDataStream::readShort(QDataStream* theWrappedObject, short& i) +{ + return &( (*theWrappedObject) >>i); +} + +QDataStream* PythonQtWrapper_QDataStream::readUShort(QDataStream* theWrappedObject, unsigned short& i) +{ + return &( (*theWrappedObject) >>i); +} + +void PythonQtWrapper_QDataStream::resetStatus(QDataStream* theWrappedObject) +{ + ( theWrappedObject->resetStatus()); +} + +void PythonQtWrapper_QDataStream::setDevice(QDataStream* theWrappedObject, QIODevice* arg__1) +{ + ( theWrappedObject->setDevice(arg__1)); +} + +void PythonQtWrapper_QDataStream::setFloatingPointPrecision(QDataStream* theWrappedObject, QDataStream::FloatingPointPrecision precision) +{ + ( theWrappedObject->setFloatingPointPrecision(precision)); +} + +void PythonQtWrapper_QDataStream::setStatus(QDataStream* theWrappedObject, QDataStream::Status status) +{ + ( theWrappedObject->setStatus(status)); +} + +void PythonQtWrapper_QDataStream::setVersion(QDataStream* theWrappedObject, int arg__1) +{ + ( theWrappedObject->setVersion(arg__1)); +} + +int PythonQtWrapper_QDataStream::skipRawData(QDataStream* theWrappedObject, int len) +{ + return ( theWrappedObject->skipRawData(len)); +} + +QDataStream::Status PythonQtWrapper_QDataStream::status(QDataStream* theWrappedObject) const +{ + return ( theWrappedObject->status()); +} + +void PythonQtWrapper_QDataStream::unsetDevice(QDataStream* theWrappedObject) +{ + ( theWrappedObject->unsetDevice()); +} + +int PythonQtWrapper_QDataStream::version(QDataStream* theWrappedObject) const +{ + return ( theWrappedObject->version()); +} + + + +QDir* PythonQtWrapper_QDir::new_QDir(const QDir& arg__1) +{ +return new QDir(arg__1); } + +QDir* PythonQtWrapper_QDir::new_QDir(const QString& path) +{ +return new QDir(path); } + +QDir* PythonQtWrapper_QDir::new_QDir(const QString& path, const QString& nameFilter, QDir::SortFlags sort, QDir::Filters filter) +{ +return new QDir(path, nameFilter, sort, filter); } + +QString PythonQtWrapper_QDir::absoluteFilePath(QDir* theWrappedObject, const QString& fileName) const +{ + return ( theWrappedObject->absoluteFilePath(fileName)); +} + +QString PythonQtWrapper_QDir::absolutePath(QDir* theWrappedObject) const +{ + return ( theWrappedObject->absolutePath()); +} + +void PythonQtWrapper_QDir::static_QDir_addSearchPath(const QString& prefix, const QString& path) +{ + (QDir::addSearchPath(prefix, path)); +} + +QString PythonQtWrapper_QDir::canonicalPath(QDir* theWrappedObject) const +{ + return ( theWrappedObject->canonicalPath()); +} + +bool PythonQtWrapper_QDir::cd(QDir* theWrappedObject, const QString& dirName) +{ + return ( theWrappedObject->cd(dirName)); +} + +bool PythonQtWrapper_QDir::cdUp(QDir* theWrappedObject) +{ + return ( theWrappedObject->cdUp()); +} + +QString PythonQtWrapper_QDir::static_QDir_cleanPath(const QString& path) +{ + return (QDir::cleanPath(path)); +} + +QString PythonQtWrapper_QDir::static_QDir_convertSeparators(const QString& pathName) +{ + return (QDir::convertSeparators(pathName)); +} + +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()); +} + +QString PythonQtWrapper_QDir::dirName(QDir* theWrappedObject) const +{ + return ( theWrappedObject->dirName()); +} + +QList PythonQtWrapper_QDir::static_QDir_drives() +{ + return (QDir::drives()); +} + +QList PythonQtWrapper_QDir::entryInfoList(QDir* theWrappedObject, QDir::Filters filters, QDir::SortFlags sort) const +{ + return ( theWrappedObject->entryInfoList(filters, sort)); +} + +QList PythonQtWrapper_QDir::entryInfoList(QDir* theWrappedObject, const QStringList& nameFilters, QDir::Filters filters, QDir::SortFlags sort) const +{ + return ( theWrappedObject->entryInfoList(nameFilters, filters, sort)); +} + +QStringList PythonQtWrapper_QDir::entryList(QDir* theWrappedObject, QDir::Filters filters, QDir::SortFlags sort) const +{ + return ( theWrappedObject->entryList(filters, sort)); +} + +QStringList PythonQtWrapper_QDir::entryList(QDir* theWrappedObject, const QStringList& nameFilters, QDir::Filters filters, QDir::SortFlags sort) const +{ + return ( theWrappedObject->entryList(nameFilters, filters, sort)); +} + +bool PythonQtWrapper_QDir::exists(QDir* theWrappedObject) const +{ + return ( theWrappedObject->exists()); +} + +bool PythonQtWrapper_QDir::exists(QDir* theWrappedObject, const QString& name) const +{ + return ( theWrappedObject->exists(name)); +} + +QString PythonQtWrapper_QDir::filePath(QDir* theWrappedObject, const QString& fileName) const +{ + return ( theWrappedObject->filePath(fileName)); +} + +QDir::Filters PythonQtWrapper_QDir::filter(QDir* theWrappedObject) const +{ + return ( theWrappedObject->filter()); +} + +QString PythonQtWrapper_QDir::static_QDir_fromNativeSeparators(const QString& pathName) +{ + return (QDir::fromNativeSeparators(pathName)); +} + +QDir PythonQtWrapper_QDir::static_QDir_home() +{ + return (QDir::home()); +} + +QString PythonQtWrapper_QDir::static_QDir_homePath() +{ + return (QDir::homePath()); +} + +bool PythonQtWrapper_QDir::isAbsolute(QDir* theWrappedObject) const +{ + return ( theWrappedObject->isAbsolute()); +} + +bool PythonQtWrapper_QDir::static_QDir_isAbsolutePath(const QString& path) +{ + return (QDir::isAbsolutePath(path)); +} + +bool PythonQtWrapper_QDir::isReadable(QDir* theWrappedObject) const +{ + return ( theWrappedObject->isReadable()); +} + +bool PythonQtWrapper_QDir::isRelative(QDir* theWrappedObject) const +{ + return ( theWrappedObject->isRelative()); +} + +bool PythonQtWrapper_QDir::static_QDir_isRelativePath(const QString& path) +{ + return (QDir::isRelativePath(path)); +} + +bool PythonQtWrapper_QDir::isRoot(QDir* theWrappedObject) const +{ + return ( theWrappedObject->isRoot()); +} + +bool PythonQtWrapper_QDir::makeAbsolute(QDir* theWrappedObject) +{ + return ( theWrappedObject->makeAbsolute()); +} + +bool PythonQtWrapper_QDir::static_QDir_match(const QString& filter, const QString& fileName) +{ + return (QDir::match(filter, fileName)); +} + +bool PythonQtWrapper_QDir::static_QDir_match(const QStringList& filters, const QString& fileName) +{ + return (QDir::match(filters, fileName)); +} + +bool PythonQtWrapper_QDir::mkdir(QDir* theWrappedObject, const QString& dirName) const +{ + return ( theWrappedObject->mkdir(dirName)); +} + +bool PythonQtWrapper_QDir::mkpath(QDir* theWrappedObject, const QString& dirPath) const +{ + return ( theWrappedObject->mkpath(dirPath)); +} + +QStringList PythonQtWrapper_QDir::nameFilters(QDir* theWrappedObject) const +{ + return ( theWrappedObject->nameFilters()); +} + +QStringList PythonQtWrapper_QDir::static_QDir_nameFiltersFromString(const QString& nameFilter) +{ + return (QDir::nameFiltersFromString(nameFilter)); +} + +bool PythonQtWrapper_QDir::__ne__(QDir* theWrappedObject, const QDir& dir) const +{ + return ( (*theWrappedObject)!= dir); +} + +bool PythonQtWrapper_QDir::__eq__(QDir* theWrappedObject, const QDir& dir) const +{ + return ( (*theWrappedObject)== dir); +} + +QString PythonQtWrapper_QDir::operator_subscript(QDir* theWrappedObject, int arg__1) const +{ + return ( (*theWrappedObject)[arg__1]); +} + +QString PythonQtWrapper_QDir::path(QDir* theWrappedObject) const +{ + return ( theWrappedObject->path()); +} + +void PythonQtWrapper_QDir::refresh(QDir* theWrappedObject) const +{ + ( theWrappedObject->refresh()); +} + +QString PythonQtWrapper_QDir::relativeFilePath(QDir* theWrappedObject, const QString& fileName) const +{ + return ( theWrappedObject->relativeFilePath(fileName)); +} + +bool PythonQtWrapper_QDir::remove(QDir* theWrappedObject, const QString& fileName) +{ + return ( theWrappedObject->remove(fileName)); +} + +bool PythonQtWrapper_QDir::rename(QDir* theWrappedObject, const QString& oldName, const QString& newName) +{ + return ( theWrappedObject->rename(oldName, newName)); +} + +bool PythonQtWrapper_QDir::rmdir(QDir* theWrappedObject, const QString& dirName) const +{ + return ( theWrappedObject->rmdir(dirName)); +} + +bool PythonQtWrapper_QDir::rmpath(QDir* theWrappedObject, const QString& dirPath) const +{ + return ( theWrappedObject->rmpath(dirPath)); +} + +QDir PythonQtWrapper_QDir::static_QDir_root() +{ + return (QDir::root()); +} + +QString PythonQtWrapper_QDir::static_QDir_rootPath() +{ + return (QDir::rootPath()); +} + +QStringList PythonQtWrapper_QDir::static_QDir_searchPaths(const QString& prefix) +{ + return (QDir::searchPaths(prefix)); +} + +QChar PythonQtWrapper_QDir::static_QDir_separator() +{ + return (QDir::separator()); +} + +bool PythonQtWrapper_QDir::static_QDir_setCurrent(const QString& path) +{ + return (QDir::setCurrent(path)); +} + +void PythonQtWrapper_QDir::setFilter(QDir* theWrappedObject, QDir::Filters filter) +{ + ( theWrappedObject->setFilter(filter)); +} + +void PythonQtWrapper_QDir::setNameFilters(QDir* theWrappedObject, const QStringList& nameFilters) +{ + ( theWrappedObject->setNameFilters(nameFilters)); +} + +void PythonQtWrapper_QDir::setPath(QDir* theWrappedObject, const QString& path) +{ + ( theWrappedObject->setPath(path)); +} + +void PythonQtWrapper_QDir::static_QDir_setSearchPaths(const QString& prefix, const QStringList& searchPaths) +{ + (QDir::setSearchPaths(prefix, searchPaths)); +} + +void PythonQtWrapper_QDir::setSorting(QDir* theWrappedObject, QDir::SortFlags sort) +{ + ( theWrappedObject->setSorting(sort)); +} + +QDir::SortFlags PythonQtWrapper_QDir::sorting(QDir* theWrappedObject) const +{ + return ( theWrappedObject->sorting()); +} + +QDir PythonQtWrapper_QDir::static_QDir_temp() +{ + return (QDir::temp()); +} + +QString PythonQtWrapper_QDir::static_QDir_tempPath() +{ + return (QDir::tempPath()); +} + +QString PythonQtWrapper_QDir::static_QDir_toNativeSeparators(const QString& pathName) +{ + return (QDir::toNativeSeparators(pathName)); +} + +QString PythonQtWrapper_QDir::py_toString(QDir* obj) { + QString result; + QDebug d(&result); + d << *obj; + return result; +} + + + +QDirIterator* PythonQtWrapper_QDirIterator::new_QDirIterator(const QDir& dir, QDirIterator::IteratorFlags flags) +{ +return new PythonQtShell_QDirIterator(dir, flags); } + +QDirIterator* PythonQtWrapper_QDirIterator::new_QDirIterator(const QString& path, QDir::Filters filter, QDirIterator::IteratorFlags flags) +{ +return new PythonQtShell_QDirIterator(path, filter, flags); } + +QDirIterator* PythonQtWrapper_QDirIterator::new_QDirIterator(const QString& path, QDirIterator::IteratorFlags flags) +{ +return new PythonQtShell_QDirIterator(path, flags); } + +QDirIterator* PythonQtWrapper_QDirIterator::new_QDirIterator(const QString& path, const QStringList& nameFilters, QDir::Filters filters, QDirIterator::IteratorFlags flags) +{ +return new PythonQtShell_QDirIterator(path, nameFilters, filters, flags); } + +QFileInfo PythonQtWrapper_QDirIterator::fileInfo(QDirIterator* theWrappedObject) const +{ + return ( theWrappedObject->fileInfo()); +} + +QString PythonQtWrapper_QDirIterator::fileName(QDirIterator* theWrappedObject) const +{ + return ( theWrappedObject->fileName()); +} + +QString PythonQtWrapper_QDirIterator::filePath(QDirIterator* theWrappedObject) const +{ + return ( theWrappedObject->filePath()); +} + +bool PythonQtWrapper_QDirIterator::hasNext(QDirIterator* theWrappedObject) const +{ + return ( theWrappedObject->hasNext()); +} + +QString PythonQtWrapper_QDirIterator::next(QDirIterator* theWrappedObject) +{ + return ( theWrappedObject->next()); +} + +QString PythonQtWrapper_QDirIterator::path(QDirIterator* theWrappedObject) const +{ + return ( theWrappedObject->path()); +} + + + +QDynamicPropertyChangeEvent* PythonQtWrapper_QDynamicPropertyChangeEvent::new_QDynamicPropertyChangeEvent(const QByteArray& name) +{ +return new QDynamicPropertyChangeEvent(name); } + +QByteArray PythonQtWrapper_QDynamicPropertyChangeEvent::propertyName(QDynamicPropertyChangeEvent* theWrappedObject) const +{ + return ( theWrappedObject->propertyName()); +} + + + +QEasingCurve* PythonQtWrapper_QEasingCurve::new_QEasingCurve(QEasingCurve::Type type) +{ +return new QEasingCurve(type); } + +QEasingCurve* PythonQtWrapper_QEasingCurve::new_QEasingCurve(const QEasingCurve& other) +{ +return new QEasingCurve(other); } + +qreal PythonQtWrapper_QEasingCurve::amplitude(QEasingCurve* theWrappedObject) const +{ + return ( theWrappedObject->amplitude()); +} + +bool PythonQtWrapper_QEasingCurve::__ne__(QEasingCurve* theWrappedObject, const QEasingCurve& other) const +{ + return ( (*theWrappedObject)!= other); +} + +QEasingCurve* PythonQtWrapper_QEasingCurve::operator_assign(QEasingCurve* theWrappedObject, const QEasingCurve& other) +{ + return &( (*theWrappedObject)= other); +} + +bool PythonQtWrapper_QEasingCurve::__eq__(QEasingCurve* theWrappedObject, const QEasingCurve& other) const +{ + return ( (*theWrappedObject)== other); +} + +qreal PythonQtWrapper_QEasingCurve::overshoot(QEasingCurve* theWrappedObject) const +{ + return ( theWrappedObject->overshoot()); +} + +qreal PythonQtWrapper_QEasingCurve::period(QEasingCurve* theWrappedObject) const +{ + return ( theWrappedObject->period()); +} + +void PythonQtWrapper_QEasingCurve::setAmplitude(QEasingCurve* theWrappedObject, qreal amplitude) +{ + ( theWrappedObject->setAmplitude(amplitude)); +} + +void PythonQtWrapper_QEasingCurve::setOvershoot(QEasingCurve* theWrappedObject, qreal overshoot) +{ + ( theWrappedObject->setOvershoot(overshoot)); +} + +void PythonQtWrapper_QEasingCurve::setPeriod(QEasingCurve* theWrappedObject, qreal period) +{ + ( theWrappedObject->setPeriod(period)); +} + +void PythonQtWrapper_QEasingCurve::setType(QEasingCurve* theWrappedObject, QEasingCurve::Type type) +{ + ( theWrappedObject->setType(type)); +} + +QEasingCurve::Type PythonQtWrapper_QEasingCurve::type(QEasingCurve* theWrappedObject) const +{ + return ( theWrappedObject->type()); +} + +qreal PythonQtWrapper_QEasingCurve::valueForProgress(QEasingCurve* theWrappedObject, qreal progress) const +{ + return ( theWrappedObject->valueForProgress(progress)); +} + +QString PythonQtWrapper_QEasingCurve::py_toString(QEasingCurve* obj) { + QString result; + QDebug d(&result); + d << *obj; + return result; +} + + + +QEvent* PythonQtWrapper_QEvent::new_QEvent(QEvent::Type type) +{ +return new PythonQtShell_QEvent(type); } + +void PythonQtWrapper_QEvent::accept(QEvent* theWrappedObject) +{ + ( theWrappedObject->accept()); +} + +void PythonQtWrapper_QEvent::ignore(QEvent* theWrappedObject) +{ + ( theWrappedObject->ignore()); +} + +bool PythonQtWrapper_QEvent::isAccepted(QEvent* theWrappedObject) const +{ + return ( theWrappedObject->isAccepted()); +} + +int PythonQtWrapper_QEvent::static_QEvent_registerEventType(int hint) +{ + return (QEvent::registerEventType(hint)); +} + +void PythonQtWrapper_QEvent::setAccepted(QEvent* theWrappedObject, bool accepted) +{ + ( theWrappedObject->setAccepted(accepted)); +} + +bool PythonQtWrapper_QEvent::spontaneous(QEvent* theWrappedObject) const +{ + return ( theWrappedObject->spontaneous()); +} + +QEvent::Type PythonQtWrapper_QEvent::type(QEvent* theWrappedObject) const +{ + return ( theWrappedObject->type()); +} + +QString PythonQtWrapper_QEvent::py_toString(QEvent* obj) { + QString result; + QDebug d(&result); + d << obj; + return result; +} + + + +void PythonQtShell_QEventLoop::childEvent(QChildEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "childEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QChildEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QEventLoop::childEvent(arg__1); +} +void PythonQtShell_QEventLoop::customEvent(QEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "customEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QEventLoop::customEvent(arg__1); +} +bool PythonQtShell_QEventLoop::event(QEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "event"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue; + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QEventLoop::event(arg__1); +} +bool PythonQtShell_QEventLoop::eventFilter(QObject* arg__1, QEvent* arg__2) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "eventFilter"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue; + void* args[3] = {NULL, (void*)&arg__1, (void*)&arg__2}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QEventLoop::eventFilter(arg__1, arg__2); +} +void PythonQtShell_QEventLoop::timerEvent(QTimerEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "timerEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QTimerEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QEventLoop::timerEvent(arg__1); +} +QEventLoop* PythonQtWrapper_QEventLoop::new_QEventLoop(QObject* parent) +{ +return new PythonQtShell_QEventLoop(parent); } + +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()); +} + + + +void PythonQtShell_QEventTransition::childEvent(QChildEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "childEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QChildEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QEventTransition::childEvent(arg__1); +} +void PythonQtShell_QEventTransition::customEvent(QEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "customEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QEventTransition::customEvent(arg__1); +} +bool PythonQtShell_QEventTransition::event(QEvent* e) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "event"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue; + void* args[2] = {NULL, (void*)&e}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QEventTransition::event(e); +} +bool PythonQtShell_QEventTransition::eventFilter(QObject* arg__1, QEvent* arg__2) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "eventFilter"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue; + void* args[3] = {NULL, (void*)&arg__1, (void*)&arg__2}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QEventTransition::eventFilter(arg__1, arg__2); +} +bool PythonQtShell_QEventTransition::eventTest(QEvent* event) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "eventTest"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue; + void* args[2] = {NULL, (void*)&event}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("eventTest", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QEventTransition::eventTest(event); +} +void PythonQtShell_QEventTransition::onTransition(QEvent* event) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "onTransition"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&event}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QEventTransition::onTransition(event); +} +void PythonQtShell_QEventTransition::timerEvent(QTimerEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "timerEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QTimerEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QEventTransition::timerEvent(arg__1); +} +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_QEventTransition::event(QEventTransition* theWrappedObject, QEvent* e) +{ + return ( ((PythonQtPublicPromoter_QEventTransition*)theWrappedObject)->promoted_event(e)); +} + +QObject* PythonQtWrapper_QEventTransition::eventSource(QEventTransition* theWrappedObject) const +{ + return ( theWrappedObject->eventSource()); +} + +bool PythonQtWrapper_QEventTransition::eventTest(QEventTransition* theWrappedObject, QEvent* event) +{ + return ( ((PythonQtPublicPromoter_QEventTransition*)theWrappedObject)->promoted_eventTest(event)); +} + +QEvent::Type PythonQtWrapper_QEventTransition::eventType(QEventTransition* theWrappedObject) const +{ + return ( theWrappedObject->eventType()); +} + +void PythonQtWrapper_QEventTransition::onTransition(QEventTransition* theWrappedObject, QEvent* event) +{ + ( ((PythonQtPublicPromoter_QEventTransition*)theWrappedObject)->promoted_onTransition(event)); +} + +void PythonQtWrapper_QEventTransition::setEventSource(QEventTransition* theWrappedObject, QObject* object) +{ + ( theWrappedObject->setEventSource(object)); +} + +void PythonQtWrapper_QEventTransition::setEventType(QEventTransition* theWrappedObject, QEvent::Type type) +{ + ( theWrappedObject->setEventType(type)); +} + + + +QStringList PythonQtShell_QFactoryInterface::keys() const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "keys"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QStringList"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QStringList returnValue; + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("keys", methodInfo, result); + } else { + returnValue = *((QStringList*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QStringList(); +} +QFactoryInterface* PythonQtWrapper_QFactoryInterface::new_QFactoryInterface() +{ +return new PythonQtShell_QFactoryInterface(); } + + + +bool PythonQtShell_QFile::atEnd() const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "atEnd"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + bool returnValue; + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("atEnd", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QFile::atEnd(); +} +qint64 PythonQtShell_QFile::bytesAvailable() const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "bytesAvailable"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"qint64"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + qint64 returnValue; + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("bytesAvailable", methodInfo, result); + } else { + returnValue = *((qint64*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QFile::bytesAvailable(); +} +qint64 PythonQtShell_QFile::bytesToWrite() const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "bytesToWrite"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"qint64"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + qint64 returnValue; + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("bytesToWrite", methodInfo, result); + } else { + returnValue = *((qint64*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QFile::bytesToWrite(); +} +bool PythonQtShell_QFile::canReadLine() const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "canReadLine"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + bool returnValue; + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("canReadLine", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QFile::canReadLine(); +} +void PythonQtShell_QFile::childEvent(QChildEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "childEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QChildEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QFile::childEvent(arg__1); +} +void PythonQtShell_QFile::close() +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "close"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={""}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QFile::close(); +} +void PythonQtShell_QFile::customEvent(QEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "customEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QFile::customEvent(arg__1); +} +bool PythonQtShell_QFile::event(QEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "event"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue; + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QFile::event(arg__1); +} +bool PythonQtShell_QFile::eventFilter(QObject* arg__1, QEvent* arg__2) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "eventFilter"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue; + void* args[3] = {NULL, (void*)&arg__1, (void*)&arg__2}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QFile::eventFilter(arg__1, arg__2); +} +QAbstractFileEngine* PythonQtShell_QFile::fileEngine() const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "fileEngine"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QAbstractFileEngine*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QAbstractFileEngine* returnValue; + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("fileEngine", methodInfo, result); + } else { + returnValue = *((QAbstractFileEngine**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QFile::fileEngine(); +} +bool PythonQtShell_QFile::isSequential() const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "isSequential"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + bool returnValue; + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("isSequential", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QFile::isSequential(); +} +bool PythonQtShell_QFile::open(QIODevice::OpenMode flags) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "open"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "QIODevice::OpenMode"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue; + void* args[2] = {NULL, (void*)&flags}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("open", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QFile::open(flags); +} +qint64 PythonQtShell_QFile::pos() const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "pos"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"qint64"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + qint64 returnValue; + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("pos", methodInfo, result); + } else { + returnValue = *((qint64*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QFile::pos(); +} +qint64 PythonQtShell_QFile::readData(char* data, qint64 maxlen) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "readData"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"qint64" , "char*" , "qint64"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + qint64 returnValue; + void* args[3] = {NULL, (void*)&data, (void*)&maxlen}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("readData", methodInfo, result); + } else { + returnValue = *((qint64*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QFile::readData(data, maxlen); +} +qint64 PythonQtShell_QFile::readLineData(char* data, qint64 maxlen) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "readLineData"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"qint64" , "char*" , "qint64"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + qint64 returnValue; + void* args[3] = {NULL, (void*)&data, (void*)&maxlen}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("readLineData", methodInfo, result); + } else { + returnValue = *((qint64*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QFile::readLineData(data, maxlen); +} +bool PythonQtShell_QFile::reset() +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "reset"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + bool returnValue; + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("reset", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QFile::reset(); +} +bool PythonQtShell_QFile::seek(qint64 offset) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "seek"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "qint64"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue; + void* args[2] = {NULL, (void*)&offset}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("seek", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QFile::seek(offset); +} +qint64 PythonQtShell_QFile::size() const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "size"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"qint64"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + qint64 returnValue; + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("size", methodInfo, result); + } else { + returnValue = *((qint64*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QFile::size(); +} +void PythonQtShell_QFile::timerEvent(QTimerEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "timerEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QTimerEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QFile::timerEvent(arg__1); +} +bool PythonQtShell_QFile::waitForBytesWritten(int msecs) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "waitForBytesWritten"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue; + void* args[2] = {NULL, (void*)&msecs}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("waitForBytesWritten", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QFile::waitForBytesWritten(msecs); +} +bool PythonQtShell_QFile::waitForReadyRead(int msecs) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "waitForReadyRead"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue; + void* args[2] = {NULL, (void*)&msecs}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("waitForReadyRead", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QFile::waitForReadyRead(msecs); +} +qint64 PythonQtShell_QFile::writeData(const char* data, qint64 len) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "writeData"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"qint64" , "const char*" , "qint64"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + qint64 returnValue; + void* args[3] = {NULL, (void*)&data, (void*)&len}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("writeData", methodInfo, result); + } else { + returnValue = *((qint64*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QFile::writeData(data, len); +} +QFile* PythonQtWrapper_QFile::new_QFile() +{ +return new PythonQtShell_QFile(); } + +QFile* PythonQtWrapper_QFile::new_QFile(QObject* parent) +{ +return new PythonQtShell_QFile(parent); } + +QFile* PythonQtWrapper_QFile::new_QFile(const QString& name) +{ +return new PythonQtShell_QFile(name); } + +QFile* PythonQtWrapper_QFile::new_QFile(const QString& name, QObject* parent) +{ +return new PythonQtShell_QFile(name, parent); } + +bool PythonQtWrapper_QFile::atEnd(QFile* theWrappedObject) const +{ + return ( ((PythonQtPublicPromoter_QFile*)theWrappedObject)->promoted_atEnd()); +} + +void PythonQtWrapper_QFile::close(QFile* theWrappedObject) +{ + ( ((PythonQtPublicPromoter_QFile*)theWrappedObject)->promoted_close()); +} + +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)); +} + +QFile::FileError PythonQtWrapper_QFile::error(QFile* theWrappedObject) const +{ + return ( theWrappedObject->error()); +} + +bool PythonQtWrapper_QFile::exists(QFile* theWrappedObject) const +{ + return ( theWrappedObject->exists()); +} + +bool PythonQtWrapper_QFile::static_QFile_exists(const QString& fileName) +{ + return (QFile::exists(fileName)); +} + +QAbstractFileEngine* PythonQtWrapper_QFile::fileEngine(QFile* theWrappedObject) const +{ + return ( ((PythonQtPublicPromoter_QFile*)theWrappedObject)->promoted_fileEngine()); +} + +QString PythonQtWrapper_QFile::fileName(QFile* theWrappedObject) const +{ + return ( theWrappedObject->fileName()); +} + +bool PythonQtWrapper_QFile::flush(QFile* theWrappedObject) +{ + return ( theWrappedObject->flush()); +} + +int PythonQtWrapper_QFile::handle(QFile* theWrappedObject) const +{ + return ( theWrappedObject->handle()); +} + +bool PythonQtWrapper_QFile::isSequential(QFile* theWrappedObject) const +{ + return ( ((PythonQtPublicPromoter_QFile*)theWrappedObject)->promoted_isSequential()); +} + +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::open(QFile* theWrappedObject, QIODevice::OpenMode flags) +{ + return ( ((PythonQtPublicPromoter_QFile*)theWrappedObject)->promoted_open(flags)); +} + +QFile::Permissions PythonQtWrapper_QFile::permissions(QFile* theWrappedObject) const +{ + return ( theWrappedObject->permissions()); +} + +QFile::Permissions PythonQtWrapper_QFile::static_QFile_permissions(const QString& filename) +{ + return (QFile::permissions(filename)); +} + +qint64 PythonQtWrapper_QFile::pos(QFile* theWrappedObject) const +{ + return ( ((PythonQtPublicPromoter_QFile*)theWrappedObject)->promoted_pos()); +} + +qint64 PythonQtWrapper_QFile::readData(QFile* theWrappedObject, char* data, qint64 maxlen) +{ + return ( ((PythonQtPublicPromoter_QFile*)theWrappedObject)->promoted_readData(data, maxlen)); +} + +qint64 PythonQtWrapper_QFile::readLineData(QFile* theWrappedObject, char* data, qint64 maxlen) +{ + return ( ((PythonQtPublicPromoter_QFile*)theWrappedObject)->promoted_readLineData(data, maxlen)); +} + +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)); +} + +bool PythonQtWrapper_QFile::resize(QFile* theWrappedObject, qint64 sz) +{ + return ( theWrappedObject->resize(sz)); +} + +bool PythonQtWrapper_QFile::seek(QFile* theWrappedObject, qint64 offset) +{ + return ( ((PythonQtPublicPromoter_QFile*)theWrappedObject)->promoted_seek(offset)); +} + +void PythonQtWrapper_QFile::setFileName(QFile* theWrappedObject, const QString& name) +{ + ( theWrappedObject->setFileName(name)); +} + +bool PythonQtWrapper_QFile::setPermissions(QFile* theWrappedObject, QFile::Permissions permissionSpec) +{ + return ( theWrappedObject->setPermissions(permissionSpec)); +} + +bool PythonQtWrapper_QFile::static_QFile_setPermissions(const QString& filename, QFile::Permissions permissionSpec) +{ + return (QFile::setPermissions(filename, permissionSpec)); +} + +qint64 PythonQtWrapper_QFile::size(QFile* theWrappedObject) const +{ + return ( ((PythonQtPublicPromoter_QFile*)theWrappedObject)->promoted_size()); +} + +QString PythonQtWrapper_QFile::symLinkTarget(QFile* theWrappedObject) const +{ + return ( theWrappedObject->symLinkTarget()); +} + +QString PythonQtWrapper_QFile::static_QFile_symLinkTarget(const QString& fileName) +{ + return (QFile::symLinkTarget(fileName)); +} + +void PythonQtWrapper_QFile::unsetError(QFile* theWrappedObject) +{ + ( theWrappedObject->unsetError()); +} + +qint64 PythonQtWrapper_QFile::writeData(QFile* theWrappedObject, const char* data, qint64 len) +{ + return ( ((PythonQtPublicPromoter_QFile*)theWrappedObject)->promoted_writeData(data, len)); +} + + + +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()); +} + +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()); +} + +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::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::isSymLink(QFileInfo* theWrappedObject) const +{ + return ( theWrappedObject->isSymLink()); +} + +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()); +} + +bool PythonQtWrapper_QFileInfo::__ne__(QFileInfo* theWrappedObject, const QFileInfo& fileinfo) +{ + return ( (*theWrappedObject)!= fileinfo); +} + +bool PythonQtWrapper_QFileInfo::__eq__(QFileInfo* theWrappedObject, const QFileInfo& fileinfo) +{ + return ( (*theWrappedObject)== fileinfo); +} + +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()); +} + +QString PythonQtWrapper_QFileInfo::symLinkTarget(QFileInfo* theWrappedObject) const +{ + return ( theWrappedObject->symLinkTarget()); +} + + + +void PythonQtShell_QFileSystemWatcher::childEvent(QChildEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "childEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QChildEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QFileSystemWatcher::childEvent(arg__1); +} +void PythonQtShell_QFileSystemWatcher::customEvent(QEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "customEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QFileSystemWatcher::customEvent(arg__1); +} +bool PythonQtShell_QFileSystemWatcher::event(QEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "event"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue; + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QFileSystemWatcher::event(arg__1); +} +bool PythonQtShell_QFileSystemWatcher::eventFilter(QObject* arg__1, QEvent* arg__2) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "eventFilter"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue; + void* args[3] = {NULL, (void*)&arg__1, (void*)&arg__2}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QFileSystemWatcher::eventFilter(arg__1, arg__2); +} +void PythonQtShell_QFileSystemWatcher::timerEvent(QTimerEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "timerEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QTimerEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QFileSystemWatcher::timerEvent(arg__1); +} +QFileSystemWatcher* PythonQtWrapper_QFileSystemWatcher::new_QFileSystemWatcher(QObject* parent) +{ +return new PythonQtShell_QFileSystemWatcher(parent); } + +QFileSystemWatcher* PythonQtWrapper_QFileSystemWatcher::new_QFileSystemWatcher(const QStringList& paths, QObject* parent) +{ +return new PythonQtShell_QFileSystemWatcher(paths, parent); } + +void PythonQtWrapper_QFileSystemWatcher::addPath(QFileSystemWatcher* theWrappedObject, const QString& file) +{ + ( theWrappedObject->addPath(file)); +} + +void PythonQtWrapper_QFileSystemWatcher::addPaths(QFileSystemWatcher* theWrappedObject, const QStringList& files) +{ + ( theWrappedObject->addPaths(files)); +} + +QStringList PythonQtWrapper_QFileSystemWatcher::directories(QFileSystemWatcher* theWrappedObject) const +{ + return ( theWrappedObject->directories()); +} + +QStringList PythonQtWrapper_QFileSystemWatcher::files(QFileSystemWatcher* theWrappedObject) const +{ + return ( theWrappedObject->files()); +} + +void PythonQtWrapper_QFileSystemWatcher::removePath(QFileSystemWatcher* theWrappedObject, const QString& file) +{ + ( theWrappedObject->removePath(file)); +} + +void PythonQtWrapper_QFileSystemWatcher::removePaths(QFileSystemWatcher* theWrappedObject, const QStringList& files) +{ + ( theWrappedObject->removePaths(files)); +} + + + +void PythonQtShell_QFinalState::childEvent(QChildEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "childEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QChildEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QFinalState::childEvent(arg__1); +} +void PythonQtShell_QFinalState::customEvent(QEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "customEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QFinalState::customEvent(arg__1); +} +bool PythonQtShell_QFinalState::event(QEvent* e) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "event"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue; + void* args[2] = {NULL, (void*)&e}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QFinalState::event(e); +} +bool PythonQtShell_QFinalState::eventFilter(QObject* arg__1, QEvent* arg__2) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "eventFilter"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue; + void* args[3] = {NULL, (void*)&arg__1, (void*)&arg__2}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QFinalState::eventFilter(arg__1, arg__2); +} +void PythonQtShell_QFinalState::onEntry(QEvent* event) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "onEntry"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&event}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QFinalState::onEntry(event); +} +void PythonQtShell_QFinalState::onExit(QEvent* event) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "onExit"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&event}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QFinalState::onExit(event); +} +void PythonQtShell_QFinalState::timerEvent(QTimerEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "timerEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QTimerEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QFinalState::timerEvent(arg__1); +} +QFinalState* PythonQtWrapper_QFinalState::new_QFinalState(QState* parent) +{ +return new PythonQtShell_QFinalState(parent); } + +bool PythonQtWrapper_QFinalState::event(QFinalState* theWrappedObject, QEvent* e) +{ + return ( ((PythonQtPublicPromoter_QFinalState*)theWrappedObject)->promoted_event(e)); +} + +void PythonQtWrapper_QFinalState::onEntry(QFinalState* theWrappedObject, QEvent* event) +{ + ( ((PythonQtPublicPromoter_QFinalState*)theWrappedObject)->promoted_onEntry(event)); +} + +void PythonQtWrapper_QFinalState::onExit(QFinalState* theWrappedObject, QEvent* event) +{ + ( ((PythonQtPublicPromoter_QFinalState*)theWrappedObject)->promoted_onExit(event)); +} + + + +void PythonQtShell_QHistoryState::childEvent(QChildEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "childEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QChildEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QHistoryState::childEvent(arg__1); +} +void PythonQtShell_QHistoryState::customEvent(QEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "customEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QHistoryState::customEvent(arg__1); +} +bool PythonQtShell_QHistoryState::event(QEvent* e) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "event"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue; + void* args[2] = {NULL, (void*)&e}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QHistoryState::event(e); +} +bool PythonQtShell_QHistoryState::eventFilter(QObject* arg__1, QEvent* arg__2) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "eventFilter"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue; + void* args[3] = {NULL, (void*)&arg__1, (void*)&arg__2}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QHistoryState::eventFilter(arg__1, arg__2); +} +void PythonQtShell_QHistoryState::onEntry(QEvent* event) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "onEntry"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&event}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QHistoryState::onEntry(event); +} +void PythonQtShell_QHistoryState::onExit(QEvent* event) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "onExit"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&event}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QHistoryState::onExit(event); +} +void PythonQtShell_QHistoryState::timerEvent(QTimerEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "timerEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QTimerEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QHistoryState::timerEvent(arg__1); +} +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); } + +QAbstractState* PythonQtWrapper_QHistoryState::defaultState(QHistoryState* theWrappedObject) const +{ + return ( theWrappedObject->defaultState()); +} + +bool PythonQtWrapper_QHistoryState::event(QHistoryState* theWrappedObject, QEvent* e) +{ + return ( ((PythonQtPublicPromoter_QHistoryState*)theWrappedObject)->promoted_event(e)); +} + +QHistoryState::HistoryType PythonQtWrapper_QHistoryState::historyType(QHistoryState* theWrappedObject) const +{ + return ( theWrappedObject->historyType()); +} + +void PythonQtWrapper_QHistoryState::onEntry(QHistoryState* theWrappedObject, QEvent* event) +{ + ( ((PythonQtPublicPromoter_QHistoryState*)theWrappedObject)->promoted_onEntry(event)); +} + +void PythonQtWrapper_QHistoryState::onExit(QHistoryState* theWrappedObject, QEvent* event) +{ + ( ((PythonQtPublicPromoter_QHistoryState*)theWrappedObject)->promoted_onExit(event)); +} + +void PythonQtWrapper_QHistoryState::setDefaultState(QHistoryState* theWrappedObject, QAbstractState* state) +{ + ( theWrappedObject->setDefaultState(state)); +} + +void PythonQtWrapper_QHistoryState::setHistoryType(QHistoryState* theWrappedObject, QHistoryState::HistoryType type) +{ + ( theWrappedObject->setHistoryType(type)); +} + + + +bool PythonQtShell_QIODevice::atEnd() const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "atEnd"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + bool returnValue; + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("atEnd", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QIODevice::atEnd(); +} +qint64 PythonQtShell_QIODevice::bytesAvailable() const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "bytesAvailable"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"qint64"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + qint64 returnValue; + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("bytesAvailable", methodInfo, result); + } else { + returnValue = *((qint64*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QIODevice::bytesAvailable(); +} +qint64 PythonQtShell_QIODevice::bytesToWrite() const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "bytesToWrite"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"qint64"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + qint64 returnValue; + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("bytesToWrite", methodInfo, result); + } else { + returnValue = *((qint64*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QIODevice::bytesToWrite(); +} +bool PythonQtShell_QIODevice::canReadLine() const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "canReadLine"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + bool returnValue; + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("canReadLine", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QIODevice::canReadLine(); +} +void PythonQtShell_QIODevice::childEvent(QChildEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "childEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QChildEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QIODevice::childEvent(arg__1); +} +void PythonQtShell_QIODevice::close() +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "close"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={""}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QIODevice::close(); +} +void PythonQtShell_QIODevice::customEvent(QEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "customEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QIODevice::customEvent(arg__1); +} +bool PythonQtShell_QIODevice::event(QEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "event"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue; + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QIODevice::event(arg__1); +} +bool PythonQtShell_QIODevice::eventFilter(QObject* arg__1, QEvent* arg__2) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "eventFilter"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue; + void* args[3] = {NULL, (void*)&arg__1, (void*)&arg__2}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QIODevice::eventFilter(arg__1, arg__2); +} +bool PythonQtShell_QIODevice::isSequential() const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "isSequential"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + bool returnValue; + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("isSequential", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QIODevice::isSequential(); +} +bool PythonQtShell_QIODevice::open(QIODevice::OpenMode mode) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "open"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "QIODevice::OpenMode"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue; + void* args[2] = {NULL, (void*)&mode}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("open", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QIODevice::open(mode); +} +qint64 PythonQtShell_QIODevice::pos() const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "pos"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"qint64"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + qint64 returnValue; + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("pos", methodInfo, result); + } else { + returnValue = *((qint64*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QIODevice::pos(); +} +qint64 PythonQtShell_QIODevice::readData(char* data, qint64 maxlen) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "readData"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"qint64" , "char*" , "qint64"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + qint64 returnValue; + void* args[3] = {NULL, (void*)&data, (void*)&maxlen}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("readData", methodInfo, result); + } else { + returnValue = *((qint64*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return qint64(); +} +qint64 PythonQtShell_QIODevice::readLineData(char* data, qint64 maxlen) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "readLineData"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"qint64" , "char*" , "qint64"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + qint64 returnValue; + void* args[3] = {NULL, (void*)&data, (void*)&maxlen}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("readLineData", methodInfo, result); + } else { + returnValue = *((qint64*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QIODevice::readLineData(data, maxlen); +} +bool PythonQtShell_QIODevice::reset() +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "reset"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + bool returnValue; + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("reset", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QIODevice::reset(); +} +bool PythonQtShell_QIODevice::seek(qint64 pos) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "seek"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "qint64"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue; + void* args[2] = {NULL, (void*)&pos}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("seek", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QIODevice::seek(pos); +} +qint64 PythonQtShell_QIODevice::size() const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "size"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"qint64"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + qint64 returnValue; + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("size", methodInfo, result); + } else { + returnValue = *((qint64*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QIODevice::size(); +} +void PythonQtShell_QIODevice::timerEvent(QTimerEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "timerEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QTimerEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QIODevice::timerEvent(arg__1); +} +bool PythonQtShell_QIODevice::waitForBytesWritten(int msecs) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "waitForBytesWritten"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue; + void* args[2] = {NULL, (void*)&msecs}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("waitForBytesWritten", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QIODevice::waitForBytesWritten(msecs); +} +bool PythonQtShell_QIODevice::waitForReadyRead(int msecs) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "waitForReadyRead"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue; + void* args[2] = {NULL, (void*)&msecs}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("waitForReadyRead", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QIODevice::waitForReadyRead(msecs); +} +qint64 PythonQtShell_QIODevice::writeData(const char* data, qint64 len) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "writeData"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"qint64" , "const char*" , "qint64"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + qint64 returnValue; + void* args[3] = {NULL, (void*)&data, (void*)&len}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("writeData", methodInfo, result); + } else { + returnValue = *((qint64*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return qint64(); +} +QIODevice* PythonQtWrapper_QIODevice::new_QIODevice() +{ +return new PythonQtShell_QIODevice(); } + +QIODevice* PythonQtWrapper_QIODevice::new_QIODevice(QObject* parent) +{ +return new PythonQtShell_QIODevice(parent); } + +bool PythonQtWrapper_QIODevice::atEnd(QIODevice* theWrappedObject) const +{ + return ( ((PythonQtPublicPromoter_QIODevice*)theWrappedObject)->promoted_atEnd()); +} + +qint64 PythonQtWrapper_QIODevice::bytesAvailable(QIODevice* theWrappedObject) const +{ + return ( ((PythonQtPublicPromoter_QIODevice*)theWrappedObject)->promoted_bytesAvailable()); +} + +qint64 PythonQtWrapper_QIODevice::bytesToWrite(QIODevice* theWrappedObject) const +{ + return ( ((PythonQtPublicPromoter_QIODevice*)theWrappedObject)->promoted_bytesToWrite()); +} + +bool PythonQtWrapper_QIODevice::canReadLine(QIODevice* theWrappedObject) const +{ + return ( ((PythonQtPublicPromoter_QIODevice*)theWrappedObject)->promoted_canReadLine()); +} + +void PythonQtWrapper_QIODevice::close(QIODevice* theWrappedObject) +{ + ( ((PythonQtPublicPromoter_QIODevice*)theWrappedObject)->promoted_close()); +} + +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 ( ((PythonQtPublicPromoter_QIODevice*)theWrappedObject)->promoted_isSequential()); +} + +bool PythonQtWrapper_QIODevice::isTextModeEnabled(QIODevice* theWrappedObject) const +{ + return ( theWrappedObject->isTextModeEnabled()); +} + +bool PythonQtWrapper_QIODevice::isWritable(QIODevice* theWrappedObject) const +{ + return ( theWrappedObject->isWritable()); +} + +bool PythonQtWrapper_QIODevice::open(QIODevice* theWrappedObject, QIODevice::OpenMode mode) +{ + return ( ((PythonQtPublicPromoter_QIODevice*)theWrappedObject)->promoted_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 ( ((PythonQtPublicPromoter_QIODevice*)theWrappedObject)->promoted_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()); +} + +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 ( ((PythonQtPublicPromoter_QIODevice*)theWrappedObject)->promoted_reset()); +} + +bool PythonQtWrapper_QIODevice::seek(QIODevice* theWrappedObject, qint64 pos) +{ + return ( ((PythonQtPublicPromoter_QIODevice*)theWrappedObject)->promoted_seek(pos)); +} + +void PythonQtWrapper_QIODevice::setTextModeEnabled(QIODevice* theWrappedObject, bool enabled) +{ + ( theWrappedObject->setTextModeEnabled(enabled)); +} + +qint64 PythonQtWrapper_QIODevice::size(QIODevice* theWrappedObject) const +{ + return ( ((PythonQtPublicPromoter_QIODevice*)theWrappedObject)->promoted_size()); +} + +void PythonQtWrapper_QIODevice::ungetChar(QIODevice* theWrappedObject, char c) +{ + ( theWrappedObject->ungetChar(c)); +} + +bool PythonQtWrapper_QIODevice::waitForBytesWritten(QIODevice* theWrappedObject, int msecs) +{ + return ( ((PythonQtPublicPromoter_QIODevice*)theWrappedObject)->promoted_waitForBytesWritten(msecs)); +} + +bool PythonQtWrapper_QIODevice::waitForReadyRead(QIODevice* theWrappedObject, int msecs) +{ + return ( ((PythonQtPublicPromoter_QIODevice*)theWrappedObject)->promoted_waitForReadyRead(msecs)); +} + +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)); +} + + + +QDate PythonQtWrapper_QLibraryInfo::static_QLibraryInfo_buildDate() +{ + return (QLibraryInfo::buildDate()); +} + +QString PythonQtWrapper_QLibraryInfo::static_QLibraryInfo_buildKey() +{ + return (QLibraryInfo::buildKey()); +} + +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)); +} + + + +void PythonQtShell_QMimeData::childEvent(QChildEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "childEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QChildEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QMimeData::childEvent(arg__1); +} +void PythonQtShell_QMimeData::customEvent(QEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "customEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QMimeData::customEvent(arg__1); +} +bool PythonQtShell_QMimeData::event(QEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "event"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue; + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QMimeData::event(arg__1); +} +bool PythonQtShell_QMimeData::eventFilter(QObject* arg__1, QEvent* arg__2) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "eventFilter"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue; + void* args[3] = {NULL, (void*)&arg__1, (void*)&arg__2}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QMimeData::eventFilter(arg__1, arg__2); +} +QStringList PythonQtShell_QMimeData::formats() const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "formats"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QStringList"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QStringList returnValue; + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("formats", methodInfo, result); + } else { + returnValue = *((QStringList*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QMimeData::formats(); +} +bool PythonQtShell_QMimeData::hasFormat(const QString& mimetype) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "hasFormat"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "const QString&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue; + void* args[2] = {NULL, (void*)&mimetype}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("hasFormat", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QMimeData::hasFormat(mimetype); +} +QVariant PythonQtShell_QMimeData::retrieveData(const QString& mimetype, QVariant::Type preferredType) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "retrieveData"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QVariant" , "const QString&" , "QVariant::Type"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + QVariant returnValue; + void* args[3] = {NULL, (void*)&mimetype, (void*)&preferredType}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("retrieveData", methodInfo, result); + } else { + returnValue = *((QVariant*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QMimeData::retrieveData(mimetype, preferredType); +} +void PythonQtShell_QMimeData::timerEvent(QTimerEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "timerEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QTimerEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QMimeData::timerEvent(arg__1); +} +QMimeData* PythonQtWrapper_QMimeData::new_QMimeData() +{ +return new PythonQtShell_QMimeData(); } + +void PythonQtWrapper_QMimeData::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 ( ((PythonQtPublicPromoter_QMimeData*)theWrappedObject)->promoted_formats()); +} + +bool PythonQtWrapper_QMimeData::hasColor(QMimeData* theWrappedObject) const +{ + return ( theWrappedObject->hasColor()); +} + +bool PythonQtWrapper_QMimeData::hasFormat(QMimeData* theWrappedObject, const QString& mimetype) const +{ + return ( ((PythonQtPublicPromoter_QMimeData*)theWrappedObject)->promoted_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()); +} + + + +QModelIndex* PythonQtWrapper_QModelIndex::new_QModelIndex() +{ +return new QModelIndex(); } + +QModelIndex* PythonQtWrapper_QModelIndex::new_QModelIndex(const QModelIndex& other) +{ +return new QModelIndex(other); } + +QModelIndex PythonQtWrapper_QModelIndex::child(QModelIndex* theWrappedObject, int row, int column) const +{ + return ( theWrappedObject->child(row, column)); +} + +int PythonQtWrapper_QModelIndex::column(QModelIndex* theWrappedObject) const +{ + return ( theWrappedObject->column()); +} + +QVariant PythonQtWrapper_QModelIndex::data(QModelIndex* theWrappedObject, int role) const +{ + return ( theWrappedObject->data(role)); +} + +Qt::ItemFlags PythonQtWrapper_QModelIndex::flags(QModelIndex* theWrappedObject) const +{ + return ( theWrappedObject->flags()); +} + +qint64 PythonQtWrapper_QModelIndex::internalId(QModelIndex* theWrappedObject) const +{ + return ( theWrappedObject->internalId()); +} + +void* PythonQtWrapper_QModelIndex::internalPointer(QModelIndex* theWrappedObject) const +{ + return ( theWrappedObject->internalPointer()); +} + +bool PythonQtWrapper_QModelIndex::isValid(QModelIndex* theWrappedObject) const +{ + return ( theWrappedObject->isValid()); +} + +const QAbstractItemModel* PythonQtWrapper_QModelIndex::model(QModelIndex* theWrappedObject) const +{ + return ( theWrappedObject->model()); +} + +bool PythonQtWrapper_QModelIndex::__ne__(QModelIndex* theWrappedObject, const QModelIndex& other) const +{ + return ( (*theWrappedObject)!= other); +} + +bool PythonQtWrapper_QModelIndex::__lt__(QModelIndex* theWrappedObject, const QModelIndex& other) const +{ + return ( (*theWrappedObject)< other); +} + +bool PythonQtWrapper_QModelIndex::__eq__(QModelIndex* theWrappedObject, const QModelIndex& other) const +{ + return ( (*theWrappedObject)== other); +} + +QModelIndex PythonQtWrapper_QModelIndex::parent(QModelIndex* theWrappedObject) const +{ + return ( theWrappedObject->parent()); +} + +int PythonQtWrapper_QModelIndex::row(QModelIndex* theWrappedObject) const +{ + return ( theWrappedObject->row()); +} + +QModelIndex PythonQtWrapper_QModelIndex::sibling(QModelIndex* theWrappedObject, int row, int column) const +{ + return ( theWrappedObject->sibling(row, column)); +} + +QString PythonQtWrapper_QModelIndex::py_toString(QModelIndex* obj) { + QString result; + QDebug d(&result); + d << *obj; + return result; +} + + diff --git a/generated_cpp_47/com_trolltech_qt_core/com_trolltech_qt_core0.h b/generated_cpp_47/com_trolltech_qt_core/com_trolltech_qt_core0.h new file mode 100644 index 00000000..dea9487d --- /dev/null +++ b/generated_cpp_47/com_trolltech_qt_core/com_trolltech_qt_core0.h @@ -0,0 +1,1462 @@ +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#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 = 0):QAbstractAnimation(parent),_wrapper(NULL) {}; + +virtual void childEvent(QChildEvent* arg__1); +virtual void customEvent(QEvent* arg__1); +virtual int duration() const; +virtual bool event(QEvent* event); +virtual bool eventFilter(QObject* arg__1, QEvent* arg__2); +virtual void timerEvent(QTimerEvent* arg__1); +virtual void updateCurrentTime(int currentTime); +virtual void updateDirection(QAbstractAnimation::Direction direction); +virtual void updateState(QAbstractAnimation::State newState, QAbstractAnimation::State oldState); + + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtPublicPromoter_QAbstractAnimation : public QAbstractAnimation +{ public: +inline bool promoted_event(QEvent* event) { return QAbstractAnimation::event(event); } +inline void promoted_updateDirection(QAbstractAnimation::Direction direction) { QAbstractAnimation::updateDirection(direction); } +inline void promoted_updateState(QAbstractAnimation::State newState, QAbstractAnimation::State oldState) { QAbstractAnimation::updateState(newState, oldState); } +}; + +class PythonQtWrapper_QAbstractAnimation : public QObject +{ Q_OBJECT +public: +Q_ENUMS(DeletionPolicy ) +enum DeletionPolicy{ + KeepWhenStopped = QAbstractAnimation::KeepWhenStopped, DeleteWhenStopped = QAbstractAnimation::DeleteWhenStopped}; +public slots: +QAbstractAnimation* new_QAbstractAnimation(QObject* parent = 0); +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; + bool event(QAbstractAnimation* theWrappedObject, QEvent* event); + QAnimationGroup* group(QAbstractAnimation* theWrappedObject) const; + int loopCount(QAbstractAnimation* theWrappedObject) const; + void setDirection(QAbstractAnimation* theWrappedObject, QAbstractAnimation::Direction direction); + void setLoopCount(QAbstractAnimation* theWrappedObject, int loopCount); + QAbstractAnimation::State state(QAbstractAnimation* theWrappedObject) const; + int totalDuration(QAbstractAnimation* theWrappedObject) const; + void updateDirection(QAbstractAnimation* theWrappedObject, QAbstractAnimation::Direction direction); + void updateState(QAbstractAnimation* theWrappedObject, QAbstractAnimation::State newState, QAbstractAnimation::State oldState); +}; + + + + + +class PythonQtShell_QAbstractItemModel : public QAbstractItemModel +{ +public: + PythonQtShell_QAbstractItemModel(QObject* parent = 0):QAbstractItemModel(parent),_wrapper(NULL) {}; + +virtual QModelIndex buddy(const QModelIndex& index) const; +virtual bool canFetchMore(const QModelIndex& parent) const; +virtual void childEvent(QChildEvent* arg__1); +virtual int columnCount(const QModelIndex& parent = QModelIndex()) const; +virtual void customEvent(QEvent* arg__1); +virtual QVariant data(const QModelIndex& index, int role = Qt::DisplayRole) const; +virtual bool dropMimeData(const QMimeData* data, Qt::DropAction action, int row, int column, const QModelIndex& parent); +virtual bool event(QEvent* arg__1); +virtual bool eventFilter(QObject* arg__1, QEvent* arg__2); +virtual void fetchMore(const QModelIndex& parent); +virtual Qt::ItemFlags flags(const QModelIndex& index) const; +virtual bool hasChildren(const QModelIndex& parent = QModelIndex()) const; +virtual QVariant headerData(int section, Qt::Orientation orientation, int role = Qt::DisplayRole) const; +virtual QModelIndex index(int row, int column, const QModelIndex& parent = QModelIndex()) const; +virtual bool insertColumns(int column, int count, const QModelIndex& parent = QModelIndex()); +virtual bool insertRows(int row, int count, const QModelIndex& parent = QModelIndex()); +virtual QMap itemData(const QModelIndex& index) const; +virtual QList match(const QModelIndex& start, int role, const QVariant& value, int hits = 1, Qt::MatchFlags flags = Qt::MatchFlags(Qt::MatchStartsWith|Qt::MatchWrap)) const; +virtual QMimeData* mimeData(const QList& indexes) const; +virtual QStringList mimeTypes() const; +virtual QModelIndex parent(const QModelIndex& child) const; +virtual bool removeColumns(int column, int count, const QModelIndex& parent = QModelIndex()); +virtual bool removeRows(int row, int count, const QModelIndex& parent = QModelIndex()); +virtual void revert(); +virtual int rowCount(const QModelIndex& parent = QModelIndex()) const; +virtual bool setData(const QModelIndex& index, const QVariant& value, int role = Qt::EditRole); +virtual bool setHeaderData(int section, Qt::Orientation orientation, const QVariant& value, int role = Qt::EditRole); +virtual bool setItemData(const QModelIndex& index, const QMap& roles); +virtual void sort(int column, Qt::SortOrder order = Qt::AscendingOrder); +virtual QSize span(const QModelIndex& index) const; +virtual bool submit(); +virtual Qt::DropActions supportedDropActions() const; +virtual void timerEvent(QTimerEvent* arg__1); + + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtPublicPromoter_QAbstractItemModel : public QAbstractItemModel +{ public: +inline QModelIndex promoted_buddy(const QModelIndex& index) const { return QAbstractItemModel::buddy(index); } +inline bool promoted_canFetchMore(const QModelIndex& parent) const { return QAbstractItemModel::canFetchMore(parent); } +inline bool promoted_dropMimeData(const QMimeData* data, Qt::DropAction action, int row, int column, const QModelIndex& parent) { return QAbstractItemModel::dropMimeData(data, action, row, column, parent); } +inline void promoted_fetchMore(const QModelIndex& parent) { QAbstractItemModel::fetchMore(parent); } +inline Qt::ItemFlags promoted_flags(const QModelIndex& index) const { return QAbstractItemModel::flags(index); } +inline bool promoted_hasChildren(const QModelIndex& parent = QModelIndex()) const { return QAbstractItemModel::hasChildren(parent); } +inline QVariant promoted_headerData(int section, Qt::Orientation orientation, int role = Qt::DisplayRole) const { return QAbstractItemModel::headerData(section, orientation, role); } +inline bool promoted_insertColumns(int column, int count, const QModelIndex& parent = QModelIndex()) { return QAbstractItemModel::insertColumns(column, count, parent); } +inline bool promoted_insertRows(int row, int count, const QModelIndex& parent = QModelIndex()) { return QAbstractItemModel::insertRows(row, count, parent); } +inline QMap promoted_itemData(const QModelIndex& index) const { return QAbstractItemModel::itemData(index); } +inline QList promoted_match(const QModelIndex& start, int role, const QVariant& value, int hits = 1, Qt::MatchFlags flags = Qt::MatchFlags(Qt::MatchStartsWith|Qt::MatchWrap)) const { return QAbstractItemModel::match(start, role, value, hits, flags); } +inline QMimeData* promoted_mimeData(const QList& indexes) const { return QAbstractItemModel::mimeData(indexes); } +inline QStringList promoted_mimeTypes() const { return QAbstractItemModel::mimeTypes(); } +inline bool promoted_removeColumns(int column, int count, const QModelIndex& parent = QModelIndex()) { return QAbstractItemModel::removeColumns(column, count, parent); } +inline bool promoted_removeRows(int row, int count, const QModelIndex& parent = QModelIndex()) { return QAbstractItemModel::removeRows(row, count, parent); } +inline void promoted_revert() { QAbstractItemModel::revert(); } +inline bool promoted_setData(const QModelIndex& index, const QVariant& value, int role = Qt::EditRole) { return QAbstractItemModel::setData(index, value, role); } +inline bool promoted_setHeaderData(int section, Qt::Orientation orientation, const QVariant& value, int role = Qt::EditRole) { return QAbstractItemModel::setHeaderData(section, orientation, value, role); } +inline bool promoted_setItemData(const QModelIndex& index, const QMap& roles) { return QAbstractItemModel::setItemData(index, roles); } +inline void promoted_sort(int column, Qt::SortOrder order = Qt::AscendingOrder) { QAbstractItemModel::sort(column, order); } +inline QSize promoted_span(const QModelIndex& index) const { return QAbstractItemModel::span(index); } +inline bool promoted_submit() { return QAbstractItemModel::submit(); } +inline Qt::DropActions promoted_supportedDropActions() const { return QAbstractItemModel::supportedDropActions(); } +}; + +class PythonQtWrapper_QAbstractItemModel : public QObject +{ Q_OBJECT +public: +public slots: +QAbstractItemModel* new_QAbstractItemModel(QObject* parent = 0); +void delete_QAbstractItemModel(QAbstractItemModel* obj) { delete obj; } + QModelIndex buddy(QAbstractItemModel* theWrappedObject, const QModelIndex& index) const; + bool canFetchMore(QAbstractItemModel* theWrappedObject, const QModelIndex& parent) const; + bool dropMimeData(QAbstractItemModel* theWrappedObject, const QMimeData* data, Qt::DropAction action, int row, int column, const QModelIndex& parent); + void fetchMore(QAbstractItemModel* theWrappedObject, const QModelIndex& parent); + Qt::ItemFlags flags(QAbstractItemModel* theWrappedObject, const QModelIndex& index) const; + bool hasChildren(QAbstractItemModel* theWrappedObject, const QModelIndex& parent = QModelIndex()) const; + bool hasIndex(QAbstractItemModel* theWrappedObject, int row, int column, const QModelIndex& parent = QModelIndex()) const; + QVariant headerData(QAbstractItemModel* theWrappedObject, int section, Qt::Orientation orientation, int role = Qt::DisplayRole) const; + bool insertColumn(QAbstractItemModel* theWrappedObject, int column, const QModelIndex& parent = QModelIndex()); + bool insertColumns(QAbstractItemModel* theWrappedObject, int column, int count, const QModelIndex& parent = QModelIndex()); + bool insertRow(QAbstractItemModel* theWrappedObject, int row, const QModelIndex& parent = QModelIndex()); + bool insertRows(QAbstractItemModel* theWrappedObject, int row, int count, const QModelIndex& parent = QModelIndex()); + QMap itemData(QAbstractItemModel* theWrappedObject, const QModelIndex& index) const; + QList match(QAbstractItemModel* theWrappedObject, const QModelIndex& start, int role, const QVariant& value, int hits = 1, Qt::MatchFlags flags = Qt::MatchFlags(Qt::MatchStartsWith|Qt::MatchWrap)) const; + QMimeData* mimeData(QAbstractItemModel* theWrappedObject, const QList& indexes) const; + QStringList mimeTypes(QAbstractItemModel* theWrappedObject) const; + QObject* parent(QAbstractItemModel* theWrappedObject) const; + bool removeColumn(QAbstractItemModel* theWrappedObject, int column, const QModelIndex& parent = QModelIndex()); + bool removeColumns(QAbstractItemModel* theWrappedObject, int column, int count, const QModelIndex& parent = QModelIndex()); + bool removeRow(QAbstractItemModel* theWrappedObject, int row, const QModelIndex& parent = QModelIndex()); + bool removeRows(QAbstractItemModel* theWrappedObject, int row, int count, const QModelIndex& parent = QModelIndex()); + const QHash* roleNames(QAbstractItemModel* theWrappedObject) const; + bool setData(QAbstractItemModel* theWrappedObject, const QModelIndex& index, const QVariant& value, int role = Qt::EditRole); + bool setHeaderData(QAbstractItemModel* theWrappedObject, int section, Qt::Orientation orientation, const QVariant& value, int role = Qt::EditRole); + bool setItemData(QAbstractItemModel* theWrappedObject, const QModelIndex& index, const QMap& roles); + void setSupportedDragActions(QAbstractItemModel* theWrappedObject, Qt::DropActions arg__1); + QModelIndex sibling(QAbstractItemModel* theWrappedObject, int row, int column, const QModelIndex& idx) const; + void sort(QAbstractItemModel* theWrappedObject, int column, Qt::SortOrder order = Qt::AscendingOrder); + QSize span(QAbstractItemModel* theWrappedObject, const QModelIndex& index) const; + Qt::DropActions supportedDragActions(QAbstractItemModel* theWrappedObject) const; + Qt::DropActions supportedDropActions(QAbstractItemModel* theWrappedObject) const; +}; + + + + + +class PythonQtShell_QAbstractListModel : public QAbstractListModel +{ +public: + PythonQtShell_QAbstractListModel(QObject* parent = 0):QAbstractListModel(parent),_wrapper(NULL) {}; + +virtual QModelIndex buddy(const QModelIndex& index) const; +virtual bool canFetchMore(const QModelIndex& parent) const; +virtual void childEvent(QChildEvent* arg__1); +virtual void customEvent(QEvent* arg__1); +virtual QVariant data(const QModelIndex& index, int role) const; +virtual bool dropMimeData(const QMimeData* data, Qt::DropAction action, int row, int column, const QModelIndex& parent); +virtual bool event(QEvent* arg__1); +virtual bool eventFilter(QObject* arg__1, QEvent* arg__2); +virtual void fetchMore(const QModelIndex& parent); +virtual Qt::ItemFlags flags(const QModelIndex& index) const; +virtual QVariant headerData(int section, Qt::Orientation orientation, int role) const; +virtual QModelIndex index(int row, int column = 0, const QModelIndex& parent = QModelIndex()) const; +virtual bool insertColumns(int column, int count, const QModelIndex& parent); +virtual bool insertRows(int row, int count, const QModelIndex& parent); +virtual QMap itemData(const QModelIndex& index) const; +virtual QList match(const QModelIndex& start, int role, const QVariant& value, int hits, Qt::MatchFlags flags) const; +virtual QMimeData* mimeData(const QList& indexes) const; +virtual QStringList mimeTypes() const; +virtual bool removeColumns(int column, int count, const QModelIndex& parent); +virtual bool removeRows(int row, int count, const QModelIndex& parent); +virtual void revert(); +virtual int rowCount(const QModelIndex& parent) const; +virtual bool setData(const QModelIndex& index, const QVariant& value, int role); +virtual bool setHeaderData(int section, Qt::Orientation orientation, const QVariant& value, int role); +virtual bool setItemData(const QModelIndex& index, const QMap& roles); +virtual void sort(int column, Qt::SortOrder order); +virtual QSize span(const QModelIndex& index) const; +virtual bool submit(); +virtual Qt::DropActions supportedDropActions() const; +virtual void timerEvent(QTimerEvent* arg__1); + + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtPublicPromoter_QAbstractListModel : public QAbstractListModel +{ public: +inline bool promoted_dropMimeData(const QMimeData* data, Qt::DropAction action, int row, int column, const QModelIndex& parent) { return QAbstractListModel::dropMimeData(data, action, row, column, parent); } +inline QModelIndex promoted_index(int row, int column = 0, const QModelIndex& parent = QModelIndex()) const { return QAbstractListModel::index(row, column, parent); } +}; + +class PythonQtWrapper_QAbstractListModel : public QObject +{ Q_OBJECT +public: +public slots: +QAbstractListModel* new_QAbstractListModel(QObject* parent = 0); +void delete_QAbstractListModel(QAbstractListModel* obj) { delete obj; } + bool dropMimeData(QAbstractListModel* theWrappedObject, const QMimeData* data, Qt::DropAction action, int row, int column, const QModelIndex& parent); + QModelIndex index(QAbstractListModel* theWrappedObject, int row, int column = 0, const QModelIndex& parent = QModelIndex()) const; +}; + + + + + +class PythonQtShell_QAbstractState : public QAbstractState +{ +public: + PythonQtShell_QAbstractState(QState* parent = 0):QAbstractState(parent),_wrapper(NULL) {}; + +virtual void childEvent(QChildEvent* arg__1); +virtual void customEvent(QEvent* arg__1); +virtual bool event(QEvent* e); +virtual bool eventFilter(QObject* arg__1, QEvent* arg__2); +virtual void onEntry(QEvent* event); +virtual void onExit(QEvent* event); +virtual void timerEvent(QTimerEvent* arg__1); + + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtPublicPromoter_QAbstractState : public QAbstractState +{ public: +inline bool promoted_event(QEvent* e) { return QAbstractState::event(e); } +}; + +class PythonQtWrapper_QAbstractState : public QObject +{ Q_OBJECT +public: +public slots: +void delete_QAbstractState(QAbstractState* obj) { delete obj; } + bool event(QAbstractState* theWrappedObject, QEvent* e); + QStateMachine* machine(QAbstractState* theWrappedObject) const; + QState* parentState(QAbstractState* theWrappedObject) const; +}; + + + + + +class PythonQtShell_QAbstractTransition : public QAbstractTransition +{ +public: + PythonQtShell_QAbstractTransition(QState* sourceState = 0):QAbstractTransition(sourceState),_wrapper(NULL) {}; + +virtual void childEvent(QChildEvent* arg__1); +virtual void customEvent(QEvent* arg__1); +virtual bool event(QEvent* e); +virtual bool eventFilter(QObject* arg__1, QEvent* arg__2); +virtual bool eventTest(QEvent* event); +virtual void onTransition(QEvent* event); +virtual void timerEvent(QTimerEvent* arg__1); + + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtPublicPromoter_QAbstractTransition : public QAbstractTransition +{ public: +inline bool promoted_event(QEvent* e) { return QAbstractTransition::event(e); } +}; + +class PythonQtWrapper_QAbstractTransition : public QObject +{ Q_OBJECT +public: +public slots: +QAbstractTransition* new_QAbstractTransition(QState* sourceState = 0); +void delete_QAbstractTransition(QAbstractTransition* obj) { delete obj; } + void addAnimation(QAbstractTransition* theWrappedObject, QAbstractAnimation* animation); + QList animations(QAbstractTransition* theWrappedObject) const; + bool event(QAbstractTransition* theWrappedObject, QEvent* e); + QStateMachine* machine(QAbstractTransition* theWrappedObject) const; + void removeAnimation(QAbstractTransition* theWrappedObject, QAbstractAnimation* animation); + void setTargetState(QAbstractTransition* theWrappedObject, QAbstractState* target); + void setTargetStates(QAbstractTransition* theWrappedObject, const QList& targets); + QState* sourceState(QAbstractTransition* theWrappedObject) const; + QAbstractState* targetState(QAbstractTransition* theWrappedObject) const; + QList targetStates(QAbstractTransition* theWrappedObject) const; +}; + + + + + +class PythonQtShell_QAnimationGroup : public QAnimationGroup +{ +public: + PythonQtShell_QAnimationGroup(QObject* parent = 0):QAnimationGroup(parent),_wrapper(NULL) {}; + +virtual void childEvent(QChildEvent* arg__1); +virtual void customEvent(QEvent* arg__1); +virtual int duration() const; +virtual bool event(QEvent* event); +virtual bool eventFilter(QObject* arg__1, QEvent* arg__2); +virtual void timerEvent(QTimerEvent* arg__1); +virtual void updateCurrentTime(int currentTime); +virtual void updateDirection(QAbstractAnimation::Direction direction); +virtual void updateState(QAbstractAnimation::State newState, QAbstractAnimation::State oldState); + + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtPublicPromoter_QAnimationGroup : public QAnimationGroup +{ public: +inline bool promoted_event(QEvent* event) { return QAnimationGroup::event(event); } +}; + +class PythonQtWrapper_QAnimationGroup : public QObject +{ Q_OBJECT +public: +public slots: +QAnimationGroup* new_QAnimationGroup(QObject* parent = 0); +void delete_QAnimationGroup(QAnimationGroup* obj) { delete obj; } + void addAnimation(QAnimationGroup* theWrappedObject, QAbstractAnimation* animation); + QAbstractAnimation* animationAt(QAnimationGroup* theWrappedObject, int index) const; + int animationCount(QAnimationGroup* theWrappedObject) const; + void clear(QAnimationGroup* theWrappedObject); + bool event(QAnimationGroup* theWrappedObject, QEvent* event); + int indexOfAnimation(QAnimationGroup* theWrappedObject, QAbstractAnimation* animation) const; + void insertAnimation(QAnimationGroup* theWrappedObject, int index, QAbstractAnimation* animation); + void removeAnimation(QAnimationGroup* theWrappedObject, QAbstractAnimation* animation); + QAbstractAnimation* takeAnimation(QAnimationGroup* theWrappedObject, int index); +}; + + + + + +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 stop(QBasicTimer* theWrappedObject); + int timerId(QBasicTimer* theWrappedObject) const; +}; + + + + + +class PythonQtShell_QBuffer : public QBuffer +{ +public: + PythonQtShell_QBuffer(QByteArray* buf, QObject* parent = 0):QBuffer(buf, parent),_wrapper(NULL) {}; + PythonQtShell_QBuffer(QObject* parent = 0):QBuffer(parent),_wrapper(NULL) {}; + +virtual bool atEnd() const; +virtual qint64 bytesAvailable() const; +virtual qint64 bytesToWrite() const; +virtual bool canReadLine() const; +virtual void childEvent(QChildEvent* arg__1); +virtual void close(); +virtual void customEvent(QEvent* arg__1); +virtual bool event(QEvent* arg__1); +virtual bool eventFilter(QObject* arg__1, QEvent* arg__2); +virtual bool isSequential() const; +virtual bool open(QIODevice::OpenMode openMode); +virtual qint64 pos() const; +virtual qint64 readData(char* data, qint64 maxlen); +virtual qint64 readLineData(char* data, qint64 maxlen); +virtual bool reset(); +virtual bool seek(qint64 off); +virtual qint64 size() const; +virtual void timerEvent(QTimerEvent* arg__1); +virtual bool waitForBytesWritten(int msecs); +virtual bool waitForReadyRead(int msecs); +virtual qint64 writeData(const char* data, qint64 len); + + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtPublicPromoter_QBuffer : public QBuffer +{ public: +inline bool promoted_atEnd() const { return QBuffer::atEnd(); } +inline bool promoted_canReadLine() const { return QBuffer::canReadLine(); } +inline void promoted_close() { QBuffer::close(); } +inline bool promoted_open(QIODevice::OpenMode openMode) { return QBuffer::open(openMode); } +inline qint64 promoted_pos() const { return QBuffer::pos(); } +inline qint64 promoted_readData(char* data, qint64 maxlen) { return QBuffer::readData(data, maxlen); } +inline bool promoted_seek(qint64 off) { return QBuffer::seek(off); } +inline qint64 promoted_size() const { return QBuffer::size(); } +inline qint64 promoted_writeData(const char* data, qint64 len) { return QBuffer::writeData(data, len); } +}; + +class PythonQtWrapper_QBuffer : public QObject +{ Q_OBJECT +public: +public slots: +QBuffer* new_QBuffer(QByteArray* buf, QObject* parent = 0); +QBuffer* new_QBuffer(QObject* parent = 0); +void delete_QBuffer(QBuffer* obj) { delete obj; } + bool atEnd(QBuffer* theWrappedObject) const; + bool canReadLine(QBuffer* theWrappedObject) const; + void close(QBuffer* theWrappedObject); + bool open(QBuffer* theWrappedObject, QIODevice::OpenMode openMode); + qint64 pos(QBuffer* theWrappedObject) const; + qint64 readData(QBuffer* theWrappedObject, char* data, qint64 maxlen); + bool seek(QBuffer* theWrappedObject, qint64 off); + void setBuffer(QBuffer* theWrappedObject, QByteArray* a); + void setData(QBuffer* theWrappedObject, const QByteArray& data); + qint64 size(QBuffer* theWrappedObject) const; + qint64 writeData(QBuffer* theWrappedObject, const char* data, qint64 len); +}; + + + + + +class PythonQtWrapper_QByteArrayMatcher : public QObject +{ Q_OBJECT +public: +public slots: +QByteArrayMatcher* new_QByteArrayMatcher(); +QByteArrayMatcher* new_QByteArrayMatcher(const QByteArray& pattern); +QByteArrayMatcher* new_QByteArrayMatcher(const QByteArrayMatcher& other); +QByteArrayMatcher* new_QByteArrayMatcher(const char* pattern, int length); +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; + void setPattern(QByteArrayMatcher* theWrappedObject, const QByteArray& pattern); +}; + + + + + +class PythonQtShell_QChildEvent : public QChildEvent +{ +public: + PythonQtShell_QChildEvent(QEvent::Type type, QObject* child):QChildEvent(type, child),_wrapper(NULL) {}; + + + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtWrapper_QChildEvent : public QObject +{ Q_OBJECT +public: +public slots: +QChildEvent* new_QChildEvent(QEvent::Type type, QObject* child); +void delete_QChildEvent(QChildEvent* obj) { delete obj; } + bool added(QChildEvent* theWrappedObject) const; + QObject* child(QChildEvent* theWrappedObject) const; + bool polished(QChildEvent* theWrappedObject) const; + bool removed(QChildEvent* theWrappedObject) const; +}; + + + + + +class PythonQtShell_QCoreApplication : public QCoreApplication +{ +public: + +virtual void childEvent(QChildEvent* arg__1); +virtual void customEvent(QEvent* arg__1); +virtual bool event(QEvent* arg__1); +virtual bool eventFilter(QObject* arg__1, QEvent* arg__2); +virtual bool notify(QObject* arg__1, QEvent* arg__2); +virtual void timerEvent(QTimerEvent* arg__1); + + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtPublicPromoter_QCoreApplication : public QCoreApplication +{ public: +inline bool promoted_event(QEvent* arg__1) { return QCoreApplication::event(arg__1); } +inline bool promoted_notify(QObject* arg__1, QEvent* arg__2) { return QCoreApplication::notify(arg__1, arg__2); } +}; + +class PythonQtWrapper_QCoreApplication : public QObject +{ Q_OBJECT +public: +Q_ENUMS(Encoding ) +enum Encoding{ + CodecForTr = QCoreApplication::CodecForTr, UnicodeUTF8 = QCoreApplication::UnicodeUTF8, DefaultCodec = QCoreApplication::DefaultCodec}; +public slots: +void delete_QCoreApplication(QCoreApplication* obj) { delete obj; } + void static_QCoreApplication_addLibraryPath(const QString& arg__1); + QString static_QCoreApplication_applicationDirPath(); + QString static_QCoreApplication_applicationFilePath(); + QString static_QCoreApplication_applicationName(); + qint64 static_QCoreApplication_applicationPid(); + QString static_QCoreApplication_applicationVersion(); + bool static_QCoreApplication_closingDown(); + bool event(QCoreApplication* theWrappedObject, QEvent* arg__1); + int static_QCoreApplication_exec(); + void static_QCoreApplication_exit(int retcode = 0); + void static_QCoreApplication_flush(); + bool static_QCoreApplication_hasPendingEvents(); + void static_QCoreApplication_installTranslator(QTranslator* messageFile); + QCoreApplication* static_QCoreApplication_instance(); + QStringList static_QCoreApplication_libraryPaths(); + bool notify(QCoreApplication* theWrappedObject, QObject* arg__1, QEvent* arg__2); + QString static_QCoreApplication_organizationDomain(); + QString static_QCoreApplication_organizationName(); + void static_QCoreApplication_postEvent(QObject* receiver, QEvent* event); + void static_QCoreApplication_postEvent(QObject* receiver, QEvent* event, int priority); + void static_QCoreApplication_processEvents(QEventLoop::ProcessEventsFlags flags = QEventLoop::AllEvents); + void static_QCoreApplication_processEvents(QEventLoop::ProcessEventsFlags flags, int maxtime); + void static_QCoreApplication_removeLibraryPath(const QString& arg__1); + void static_QCoreApplication_removePostedEvents(QObject* receiver); + void static_QCoreApplication_removePostedEvents(QObject* receiver, int eventType); + void static_QCoreApplication_removeTranslator(QTranslator* messageFile); + bool static_QCoreApplication_sendEvent(QObject* receiver, QEvent* event); + void static_QCoreApplication_sendPostedEvents(); + void static_QCoreApplication_sendPostedEvents(QObject* receiver, int event_type); + void static_QCoreApplication_setApplicationName(const QString& application); + void static_QCoreApplication_setApplicationVersion(const QString& version); + void static_QCoreApplication_setAttribute(Qt::ApplicationAttribute attribute, bool on = true); + void static_QCoreApplication_setLibraryPaths(const QStringList& arg__1); + void static_QCoreApplication_setOrganizationDomain(const QString& orgDomain); + void static_QCoreApplication_setOrganizationName(const QString& orgName); + bool static_QCoreApplication_startingUp(); + bool static_QCoreApplication_testAttribute(Qt::ApplicationAttribute attribute); + QString static_QCoreApplication_translate(const char* context, const char* key, const char* disambiguation = 0, QCoreApplication::Encoding encoding = QCoreApplication::CodecForTr); + QString static_QCoreApplication_translate(const char* context, const char* key, const char* disambiguation, QCoreApplication::Encoding encoding, int n); +}; + + + + + +class PythonQtWrapper_QCryptographicHash : public QObject +{ Q_OBJECT +public: +Q_ENUMS(Algorithm ) +enum Algorithm{ + Md4 = QCryptographicHash::Md4, Md5 = QCryptographicHash::Md5, Sha1 = QCryptographicHash::Sha1}; +public slots: +QCryptographicHash* new_QCryptographicHash(QCryptographicHash::Algorithm method); +void delete_QCryptographicHash(QCryptographicHash* obj) { delete obj; } + void addData(QCryptographicHash* theWrappedObject, const QByteArray& data); + QByteArray static_QCryptographicHash_hash(const QByteArray& data, QCryptographicHash::Algorithm method); + void reset(QCryptographicHash* theWrappedObject); + QByteArray result(QCryptographicHash* theWrappedObject) const; +}; + + + + + +class PythonQtShell_QDataStream : public QDataStream +{ +public: + PythonQtShell_QDataStream():QDataStream(),_wrapper(NULL) {}; + PythonQtShell_QDataStream(QByteArray* arg__1, QIODevice::OpenMode flags):QDataStream(arg__1, flags),_wrapper(NULL) {}; + PythonQtShell_QDataStream(QIODevice* arg__1):QDataStream(arg__1),_wrapper(NULL) {}; + PythonQtShell_QDataStream(const QByteArray& arg__1):QDataStream(arg__1),_wrapper(NULL) {}; + + + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtWrapper_QDataStream : public QObject +{ Q_OBJECT +public: +Q_ENUMS(FloatingPointPrecision Version Status ) +enum FloatingPointPrecision{ + SinglePrecision = QDataStream::SinglePrecision, DoublePrecision = QDataStream::DoublePrecision}; +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}; +enum Status{ + Ok = QDataStream::Ok, ReadPastEnd = QDataStream::ReadPastEnd, ReadCorruptData = QDataStream::ReadCorruptData}; +public slots: +QDataStream* new_QDataStream(); +QDataStream* new_QDataStream(QByteArray* arg__1, QIODevice::OpenMode flags); +QDataStream* new_QDataStream(QIODevice* arg__1); +QDataStream* new_QDataStream(const QByteArray& arg__1); +void delete_QDataStream(QDataStream* obj) { delete obj; } + bool atEnd(QDataStream* theWrappedObject) const; + QIODevice* device(QDataStream* theWrappedObject) const; + QDataStream::FloatingPointPrecision floatingPointPrecision(QDataStream* theWrappedObject) const; + QDataStream* writeBoolean(QDataStream* theWrappedObject, bool i); + QDataStream* writeDouble(QDataStream* theWrappedObject, double f); + QDataStream* writeFloat(QDataStream* theWrappedObject, float f); + QDataStream* writeInt(QDataStream* theWrappedObject, int i); + QDataStream* writeLongLong(QDataStream* theWrappedObject, qint64 i); + QDataStream* writeShort(QDataStream* theWrappedObject, short i); + QDataStream* readBoolean(QDataStream* theWrappedObject, bool& i); + QDataStream* readDouble(QDataStream* theWrappedObject, double& f); + QDataStream* readFloat(QDataStream* theWrappedObject, float& f); + QDataStream* readInt(QDataStream* theWrappedObject, int& i); + QDataStream* readLongLong(QDataStream* theWrappedObject, qint64& i); + QDataStream* readShort(QDataStream* theWrappedObject, short& i); + QDataStream* readUShort(QDataStream* theWrappedObject, unsigned short& i); + void resetStatus(QDataStream* theWrappedObject); + void setDevice(QDataStream* theWrappedObject, QIODevice* arg__1); + void setFloatingPointPrecision(QDataStream* theWrappedObject, QDataStream::FloatingPointPrecision precision); + void setStatus(QDataStream* theWrappedObject, QDataStream::Status status); + void setVersion(QDataStream* theWrappedObject, int arg__1); + int skipRawData(QDataStream* theWrappedObject, int len); + QDataStream::Status status(QDataStream* theWrappedObject) const; + void unsetDevice(QDataStream* theWrappedObject); + int version(QDataStream* theWrappedObject) const; +}; + + + + + +class PythonQtWrapper_QDir : public QObject +{ Q_OBJECT +public: +Q_ENUMS(Filter SortFlag ) +Q_FLAGS(Filters SortFlags ) +enum Filter{ + Dirs = QDir::Dirs, Files = QDir::Files, Drives = QDir::Drives, NoSymLinks = QDir::NoSymLinks, AllEntries = QDir::AllEntries, TypeMask = QDir::TypeMask, Readable = QDir::Readable, Writable = QDir::Writable, Executable = QDir::Executable, PermissionMask = QDir::PermissionMask, Modified = QDir::Modified, Hidden = QDir::Hidden, System = QDir::System, AccessMask = QDir::AccessMask, AllDirs = QDir::AllDirs, CaseSensitive = QDir::CaseSensitive, NoDotAndDotDot = QDir::NoDotAndDotDot, NoFilter = QDir::NoFilter}; +enum SortFlag{ + Name = QDir::Name, Time = QDir::Time, Size = QDir::Size, Unsorted = QDir::Unsorted, SortByMask = QDir::SortByMask, DirsFirst = QDir::DirsFirst, Reversed = QDir::Reversed, IgnoreCase = QDir::IgnoreCase, DirsLast = QDir::DirsLast, LocaleAware = QDir::LocaleAware, Type = QDir::Type, NoSort = QDir::NoSort}; +Q_DECLARE_FLAGS(Filters, Filter) +Q_DECLARE_FLAGS(SortFlags, SortFlag) +public slots: +QDir* new_QDir(const QDir& arg__1); +QDir* new_QDir(const QString& path = QString()); +QDir* new_QDir(const QString& path, const QString& nameFilter, QDir::SortFlags sort = QDir::SortFlags(Name | IgnoreCase), QDir::Filters filter = QDir::AllEntries); +void delete_QDir(QDir* obj) { delete obj; } + QString 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); + QString static_QDir_convertSeparators(const QString& pathName); + 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 isReadable(QDir* theWrappedObject) const; + bool isRelative(QDir* theWrappedObject) const; + bool static_QDir_isRelativePath(const QString& path); + bool isRoot(QDir* theWrappedObject) const; + 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 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; + QDir static_QDir_temp(); + QString static_QDir_tempPath(); + QString static_QDir_toNativeSeparators(const QString& pathName); + QString py_toString(QDir*); +}; + + + + + +class PythonQtShell_QDirIterator : public QDirIterator +{ +public: + PythonQtShell_QDirIterator(const QDir& dir, QDirIterator::IteratorFlags flags = QDirIterator::NoIteratorFlags):QDirIterator(dir, flags),_wrapper(NULL) {}; + PythonQtShell_QDirIterator(const QString& path, QDir::Filters filter, QDirIterator::IteratorFlags flags = QDirIterator::NoIteratorFlags):QDirIterator(path, filter, flags),_wrapper(NULL) {}; + PythonQtShell_QDirIterator(const QString& path, QDirIterator::IteratorFlags flags = QDirIterator::NoIteratorFlags):QDirIterator(path, flags),_wrapper(NULL) {}; + PythonQtShell_QDirIterator(const QString& path, const QStringList& nameFilters, QDir::Filters filters = QDir::NoFilter, QDirIterator::IteratorFlags flags = QDirIterator::NoIteratorFlags):QDirIterator(path, nameFilters, filters, flags),_wrapper(NULL) {}; + + + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtWrapper_QDirIterator : public QObject +{ Q_OBJECT +public: +Q_ENUMS(IteratorFlag ) +Q_FLAGS(IteratorFlags ) +enum IteratorFlag{ + NoIteratorFlags = QDirIterator::NoIteratorFlags, FollowSymlinks = QDirIterator::FollowSymlinks, Subdirectories = QDirIterator::Subdirectories}; +Q_DECLARE_FLAGS(IteratorFlags, IteratorFlag) +public slots: +QDirIterator* new_QDirIterator(const QDir& dir, QDirIterator::IteratorFlags flags = QDirIterator::NoIteratorFlags); +QDirIterator* new_QDirIterator(const QString& path, QDir::Filters filter, QDirIterator::IteratorFlags flags = QDirIterator::NoIteratorFlags); +QDirIterator* new_QDirIterator(const QString& path, QDirIterator::IteratorFlags flags = QDirIterator::NoIteratorFlags); +QDirIterator* new_QDirIterator(const QString& path, const QStringList& nameFilters, QDir::Filters filters = QDir::NoFilter, QDirIterator::IteratorFlags flags = QDirIterator::NoIteratorFlags); +void delete_QDirIterator(QDirIterator* obj) { delete obj; } + QFileInfo fileInfo(QDirIterator* theWrappedObject) const; + QString fileName(QDirIterator* theWrappedObject) const; + QString filePath(QDirIterator* theWrappedObject) const; + bool hasNext(QDirIterator* theWrappedObject) const; + QString next(QDirIterator* theWrappedObject); + QString path(QDirIterator* theWrappedObject) const; +}; + + + + + +class PythonQtWrapper_QDynamicPropertyChangeEvent : public QObject +{ Q_OBJECT +public: +public slots: +QDynamicPropertyChangeEvent* new_QDynamicPropertyChangeEvent(const QByteArray& name); +void delete_QDynamicPropertyChangeEvent(QDynamicPropertyChangeEvent* obj) { delete obj; } + QByteArray propertyName(QDynamicPropertyChangeEvent* theWrappedObject) const; +}; + + + + + +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, 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; } + qreal amplitude(QEasingCurve* theWrappedObject) const; + bool __ne__(QEasingCurve* theWrappedObject, const QEasingCurve& other) const; + QEasingCurve* operator_assign(QEasingCurve* theWrappedObject, const QEasingCurve& other); + bool __eq__(QEasingCurve* theWrappedObject, const QEasingCurve& other) const; + 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); + QEasingCurve::Type type(QEasingCurve* theWrappedObject) const; + qreal valueForProgress(QEasingCurve* theWrappedObject, qreal progress) const; + QString py_toString(QEasingCurve*); +}; + + + + + +class PythonQtShell_QEvent : public QEvent +{ +public: + PythonQtShell_QEvent(QEvent::Type type):QEvent(type),_wrapper(NULL) {}; + + + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtWrapper_QEvent : public QObject +{ Q_OBJECT +public: +Q_ENUMS(Type ) +enum Type{ + None = QEvent::None, Timer = QEvent::Timer, MouseButtonPress = QEvent::MouseButtonPress, MouseButtonRelease = QEvent::MouseButtonRelease, MouseButtonDblClick = QEvent::MouseButtonDblClick, MouseMove = QEvent::MouseMove, KeyPress = QEvent::KeyPress, KeyRelease = QEvent::KeyRelease, FocusIn = QEvent::FocusIn, FocusOut = QEvent::FocusOut, Enter = QEvent::Enter, Leave = QEvent::Leave, Paint = QEvent::Paint, Move = QEvent::Move, Resize = QEvent::Resize, Create = QEvent::Create, Destroy = QEvent::Destroy, Show = QEvent::Show, Hide = QEvent::Hide, Close = QEvent::Close, Quit = QEvent::Quit, ParentChange = QEvent::ParentChange, ParentAboutToChange = QEvent::ParentAboutToChange, ThreadChange = QEvent::ThreadChange, WindowActivate = QEvent::WindowActivate, WindowDeactivate = QEvent::WindowDeactivate, ShowToParent = QEvent::ShowToParent, HideToParent = QEvent::HideToParent, Wheel = QEvent::Wheel, WindowTitleChange = QEvent::WindowTitleChange, WindowIconChange = QEvent::WindowIconChange, ApplicationWindowIconChange = QEvent::ApplicationWindowIconChange, ApplicationFontChange = QEvent::ApplicationFontChange, ApplicationLayoutDirectionChange = QEvent::ApplicationLayoutDirectionChange, ApplicationPaletteChange = QEvent::ApplicationPaletteChange, PaletteChange = QEvent::PaletteChange, Clipboard = QEvent::Clipboard, Speech = QEvent::Speech, MetaCall = QEvent::MetaCall, SockAct = QEvent::SockAct, WinEventAct = QEvent::WinEventAct, DeferredDelete = QEvent::DeferredDelete, DragEnter = QEvent::DragEnter, DragMove = QEvent::DragMove, DragLeave = QEvent::DragLeave, Drop = QEvent::Drop, DragResponse = QEvent::DragResponse, ChildAdded = QEvent::ChildAdded, ChildPolished = QEvent::ChildPolished, ChildRemoved = QEvent::ChildRemoved, ShowWindowRequest = QEvent::ShowWindowRequest, PolishRequest = QEvent::PolishRequest, Polish = QEvent::Polish, LayoutRequest = QEvent::LayoutRequest, UpdateRequest = QEvent::UpdateRequest, UpdateLater = QEvent::UpdateLater, EmbeddingControl = QEvent::EmbeddingControl, ActivateControl = QEvent::ActivateControl, DeactivateControl = QEvent::DeactivateControl, ContextMenu = QEvent::ContextMenu, InputMethod = QEvent::InputMethod, AccessibilityPrepare = QEvent::AccessibilityPrepare, TabletMove = QEvent::TabletMove, LocaleChange = QEvent::LocaleChange, LanguageChange = QEvent::LanguageChange, LayoutDirectionChange = QEvent::LayoutDirectionChange, Style = QEvent::Style, TabletPress = QEvent::TabletPress, TabletRelease = QEvent::TabletRelease, OkRequest = QEvent::OkRequest, HelpRequest = QEvent::HelpRequest, IconDrag = QEvent::IconDrag, FontChange = QEvent::FontChange, EnabledChange = QEvent::EnabledChange, ActivationChange = QEvent::ActivationChange, StyleChange = QEvent::StyleChange, IconTextChange = QEvent::IconTextChange, ModifiedChange = QEvent::ModifiedChange, MouseTrackingChange = QEvent::MouseTrackingChange, WindowBlocked = QEvent::WindowBlocked, WindowUnblocked = QEvent::WindowUnblocked, WindowStateChange = QEvent::WindowStateChange, ToolTip = QEvent::ToolTip, WhatsThis = QEvent::WhatsThis, StatusTip = QEvent::StatusTip, ActionChanged = QEvent::ActionChanged, ActionAdded = QEvent::ActionAdded, ActionRemoved = QEvent::ActionRemoved, FileOpen = QEvent::FileOpen, Shortcut = QEvent::Shortcut, ShortcutOverride = QEvent::ShortcutOverride, WhatsThisClicked = QEvent::WhatsThisClicked, ToolBarChange = QEvent::ToolBarChange, ApplicationActivate = QEvent::ApplicationActivate, ApplicationActivated = QEvent::ApplicationActivated, ApplicationDeactivate = QEvent::ApplicationDeactivate, ApplicationDeactivated = QEvent::ApplicationDeactivated, QueryWhatsThis = QEvent::QueryWhatsThis, EnterWhatsThisMode = QEvent::EnterWhatsThisMode, LeaveWhatsThisMode = QEvent::LeaveWhatsThisMode, ZOrderChange = QEvent::ZOrderChange, HoverEnter = QEvent::HoverEnter, HoverLeave = QEvent::HoverLeave, HoverMove = QEvent::HoverMove, AccessibilityHelp = QEvent::AccessibilityHelp, AccessibilityDescription = QEvent::AccessibilityDescription, AcceptDropsChange = QEvent::AcceptDropsChange, MenubarUpdated = QEvent::MenubarUpdated, ZeroTimerEvent = QEvent::ZeroTimerEvent, GraphicsSceneMouseMove = QEvent::GraphicsSceneMouseMove, GraphicsSceneMousePress = QEvent::GraphicsSceneMousePress, GraphicsSceneMouseRelease = QEvent::GraphicsSceneMouseRelease, GraphicsSceneMouseDoubleClick = QEvent::GraphicsSceneMouseDoubleClick, GraphicsSceneContextMenu = QEvent::GraphicsSceneContextMenu, GraphicsSceneHoverEnter = QEvent::GraphicsSceneHoverEnter, GraphicsSceneHoverMove = QEvent::GraphicsSceneHoverMove, GraphicsSceneHoverLeave = QEvent::GraphicsSceneHoverLeave, GraphicsSceneHelp = QEvent::GraphicsSceneHelp, GraphicsSceneDragEnter = QEvent::GraphicsSceneDragEnter, GraphicsSceneDragMove = QEvent::GraphicsSceneDragMove, GraphicsSceneDragLeave = QEvent::GraphicsSceneDragLeave, GraphicsSceneDrop = QEvent::GraphicsSceneDrop, GraphicsSceneWheel = QEvent::GraphicsSceneWheel, KeyboardLayoutChange = QEvent::KeyboardLayoutChange, DynamicPropertyChange = QEvent::DynamicPropertyChange, TabletEnterProximity = QEvent::TabletEnterProximity, TabletLeaveProximity = QEvent::TabletLeaveProximity, NonClientAreaMouseMove = QEvent::NonClientAreaMouseMove, NonClientAreaMouseButtonPress = QEvent::NonClientAreaMouseButtonPress, NonClientAreaMouseButtonRelease = QEvent::NonClientAreaMouseButtonRelease, NonClientAreaMouseButtonDblClick = QEvent::NonClientAreaMouseButtonDblClick, MacSizeChange = QEvent::MacSizeChange, ContentsRectChange = QEvent::ContentsRectChange, MacGLWindowChange = QEvent::MacGLWindowChange, FutureCallOut = QEvent::FutureCallOut, GraphicsSceneResize = QEvent::GraphicsSceneResize, GraphicsSceneMove = QEvent::GraphicsSceneMove, CursorChange = QEvent::CursorChange, ToolTipChange = QEvent::ToolTipChange, NetworkReplyUpdated = QEvent::NetworkReplyUpdated, GrabMouse = QEvent::GrabMouse, UngrabMouse = QEvent::UngrabMouse, GrabKeyboard = QEvent::GrabKeyboard, UngrabKeyboard = QEvent::UngrabKeyboard, /*CocoaRequestModal = QEvent::CocoaRequestModal,*/ MacGLClearDrawable = QEvent::MacGLClearDrawable, StateMachineSignal = QEvent::StateMachineSignal, StateMachineWrapped = QEvent::StateMachineWrapped, TouchBegin = QEvent::TouchBegin, TouchUpdate = QEvent::TouchUpdate, TouchEnd = QEvent::TouchEnd, NativeGesture = QEvent::NativeGesture, RequestSoftwareInputPanel = QEvent::RequestSoftwareInputPanel, CloseSoftwareInputPanel = QEvent::CloseSoftwareInputPanel, UpdateSoftKeys = QEvent::UpdateSoftKeys, WinIdChange = QEvent::WinIdChange, Gesture = QEvent::Gesture, GestureOverride = QEvent::GestureOverride, User = QEvent::User, MaxUser = QEvent::MaxUser}; +public slots: +QEvent* new_QEvent(QEvent::Type type); +void delete_QEvent(QEvent* obj) { delete obj; } + void accept(QEvent* theWrappedObject); + void ignore(QEvent* theWrappedObject); + bool isAccepted(QEvent* theWrappedObject) const; + int static_QEvent_registerEventType(int hint = -1); + void setAccepted(QEvent* theWrappedObject, bool accepted); + bool spontaneous(QEvent* theWrappedObject) const; + QEvent::Type type(QEvent* theWrappedObject) const; + QString py_toString(QEvent*); +}; + + + + + +class PythonQtShell_QEventLoop : public QEventLoop +{ +public: + PythonQtShell_QEventLoop(QObject* parent = 0):QEventLoop(parent),_wrapper(NULL) {}; + +virtual void childEvent(QChildEvent* arg__1); +virtual void customEvent(QEvent* arg__1); +virtual bool event(QEvent* arg__1); +virtual bool eventFilter(QObject* arg__1, QEvent* arg__2); +virtual void timerEvent(QTimerEvent* arg__1); + + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtWrapper_QEventLoop : public QObject +{ Q_OBJECT +public: +Q_ENUMS(ProcessEventsFlag ) +Q_FLAGS(ProcessEventsFlags ) +enum ProcessEventsFlag{ + AllEvents = QEventLoop::AllEvents, ExcludeUserInputEvents = QEventLoop::ExcludeUserInputEvents, ExcludeSocketNotifiers = QEventLoop::ExcludeSocketNotifiers, WaitForMoreEvents = QEventLoop::WaitForMoreEvents, X11ExcludeTimers = QEventLoop::X11ExcludeTimers, DeferredDeletion = QEventLoop::DeferredDeletion, EventLoopExec = QEventLoop::EventLoopExec, DialogExec = QEventLoop::DialogExec}; +Q_DECLARE_FLAGS(ProcessEventsFlags, ProcessEventsFlag) +public slots: +QEventLoop* new_QEventLoop(QObject* parent = 0); +void delete_QEventLoop(QEventLoop* obj) { delete obj; } + int exec(QEventLoop* theWrappedObject, QEventLoop::ProcessEventsFlags flags = QEventLoop::AllEvents); + void exit(QEventLoop* theWrappedObject, int returnCode = 0); + bool isRunning(QEventLoop* theWrappedObject) const; + bool processEvents(QEventLoop* theWrappedObject, QEventLoop::ProcessEventsFlags flags = QEventLoop::AllEvents); + void processEvents(QEventLoop* theWrappedObject, QEventLoop::ProcessEventsFlags flags, int maximumTime); + void wakeUp(QEventLoop* theWrappedObject); +}; + + + + + +class PythonQtShell_QEventTransition : public QEventTransition +{ +public: + PythonQtShell_QEventTransition(QObject* object, QEvent::Type type, QState* sourceState = 0):QEventTransition(object, type, sourceState),_wrapper(NULL) {}; + PythonQtShell_QEventTransition(QState* sourceState = 0):QEventTransition(sourceState),_wrapper(NULL) {}; + +virtual void childEvent(QChildEvent* arg__1); +virtual void customEvent(QEvent* arg__1); +virtual bool event(QEvent* e); +virtual bool eventFilter(QObject* arg__1, QEvent* arg__2); +virtual bool eventTest(QEvent* event); +virtual void onTransition(QEvent* event); +virtual void timerEvent(QTimerEvent* arg__1); + + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtPublicPromoter_QEventTransition : public QEventTransition +{ public: +inline bool promoted_event(QEvent* e) { return QEventTransition::event(e); } +inline bool promoted_eventTest(QEvent* event) { return QEventTransition::eventTest(event); } +inline void promoted_onTransition(QEvent* event) { QEventTransition::onTransition(event); } +}; + +class PythonQtWrapper_QEventTransition : public QObject +{ Q_OBJECT +public: +public slots: +QEventTransition* new_QEventTransition(QObject* object, QEvent::Type type, QState* sourceState = 0); +QEventTransition* new_QEventTransition(QState* sourceState = 0); +void delete_QEventTransition(QEventTransition* obj) { delete obj; } + bool event(QEventTransition* theWrappedObject, QEvent* e); + QObject* eventSource(QEventTransition* theWrappedObject) const; + bool eventTest(QEventTransition* theWrappedObject, QEvent* event); + QEvent::Type eventType(QEventTransition* theWrappedObject) const; + void onTransition(QEventTransition* theWrappedObject, QEvent* event); + void setEventSource(QEventTransition* theWrappedObject, QObject* object); + void setEventType(QEventTransition* theWrappedObject, QEvent::Type type); +}; + + + + + +class PythonQtShell_QFactoryInterface : public QFactoryInterface +{ +public: + PythonQtShell_QFactoryInterface():QFactoryInterface(),_wrapper(NULL) {}; + +virtual QStringList keys() const; + + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtWrapper_QFactoryInterface : public QObject +{ Q_OBJECT +public: +public slots: +QFactoryInterface* new_QFactoryInterface(); +void delete_QFactoryInterface(QFactoryInterface* obj) { delete obj; } +}; + + + + + +class PythonQtShell_QFile : public QFile +{ +public: + PythonQtShell_QFile():QFile(),_wrapper(NULL) {}; + PythonQtShell_QFile(QObject* parent):QFile(parent),_wrapper(NULL) {}; + PythonQtShell_QFile(const QString& name):QFile(name),_wrapper(NULL) {}; + PythonQtShell_QFile(const QString& name, QObject* parent):QFile(name, parent),_wrapper(NULL) {}; + +virtual bool atEnd() const; +virtual qint64 bytesAvailable() const; +virtual qint64 bytesToWrite() const; +virtual bool canReadLine() const; +virtual void childEvent(QChildEvent* arg__1); +virtual void close(); +virtual void customEvent(QEvent* arg__1); +virtual bool event(QEvent* arg__1); +virtual bool eventFilter(QObject* arg__1, QEvent* arg__2); +virtual QAbstractFileEngine* fileEngine() const; +virtual bool isSequential() const; +virtual bool open(QIODevice::OpenMode flags); +virtual qint64 pos() const; +virtual qint64 readData(char* data, qint64 maxlen); +virtual qint64 readLineData(char* data, qint64 maxlen); +virtual bool reset(); +virtual bool seek(qint64 offset); +virtual qint64 size() const; +virtual void timerEvent(QTimerEvent* arg__1); +virtual bool waitForBytesWritten(int msecs); +virtual bool waitForReadyRead(int msecs); +virtual qint64 writeData(const char* data, qint64 len); + + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtPublicPromoter_QFile : public QFile +{ public: +inline bool promoted_atEnd() const { return QFile::atEnd(); } +inline void promoted_close() { QFile::close(); } +inline QAbstractFileEngine* promoted_fileEngine() const { return QFile::fileEngine(); } +inline bool promoted_isSequential() const { return QFile::isSequential(); } +inline bool promoted_open(QIODevice::OpenMode flags) { return QFile::open(flags); } +inline qint64 promoted_pos() const { return QFile::pos(); } +inline qint64 promoted_readData(char* data, qint64 maxlen) { return QFile::readData(data, maxlen); } +inline qint64 promoted_readLineData(char* data, qint64 maxlen) { return QFile::readLineData(data, maxlen); } +inline bool promoted_seek(qint64 offset) { return QFile::seek(offset); } +inline qint64 promoted_size() const { return QFile::size(); } +inline qint64 promoted_writeData(const char* data, qint64 len) { return QFile::writeData(data, len); } +}; + +class PythonQtWrapper_QFile : public QObject +{ Q_OBJECT +public: +Q_ENUMS(FileError MemoryMapFlags Permission ) +Q_FLAGS(Permissions ) +enum FileError{ + NoError = QFile::NoError, ReadError = QFile::ReadError, WriteError = QFile::WriteError, FatalError = QFile::FatalError, ResourceError = QFile::ResourceError, OpenError = QFile::OpenError, AbortError = QFile::AbortError, TimeOutError = QFile::TimeOutError, UnspecifiedError = QFile::UnspecifiedError, RemoveError = QFile::RemoveError, RenameError = QFile::RenameError, PositionError = QFile::PositionError, ResizeError = QFile::ResizeError, PermissionsError = QFile::PermissionsError, CopyError = QFile::CopyError}; +enum MemoryMapFlags{ + NoOptions = QFile::NoOptions}; +enum Permission{ + ReadOwner = QFile::ReadOwner, WriteOwner = QFile::WriteOwner, ExeOwner = QFile::ExeOwner, ReadUser = QFile::ReadUser, WriteUser = QFile::WriteUser, ExeUser = QFile::ExeUser, ReadGroup = QFile::ReadGroup, WriteGroup = QFile::WriteGroup, ExeGroup = QFile::ExeGroup, ReadOther = QFile::ReadOther, WriteOther = QFile::WriteOther, ExeOther = QFile::ExeOther}; +Q_DECLARE_FLAGS(Permissions, Permission) +public slots: +QFile* new_QFile(); +QFile* new_QFile(QObject* parent); +QFile* new_QFile(const QString& name); +QFile* new_QFile(const QString& name, QObject* parent); +void delete_QFile(QFile* obj) { delete obj; } + bool atEnd(QFile* theWrappedObject) const; + void close(QFile* theWrappedObject); + 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); + QFile::FileError error(QFile* theWrappedObject) const; + bool exists(QFile* theWrappedObject) const; + bool static_QFile_exists(const QString& fileName); + QAbstractFileEngine* fileEngine(QFile* theWrappedObject) const; + QString fileName(QFile* theWrappedObject) const; + bool flush(QFile* theWrappedObject); + int handle(QFile* theWrappedObject) const; + bool isSequential(QFile* theWrappedObject) const; + bool link(QFile* theWrappedObject, const QString& newName); + bool static_QFile_link(const QString& oldname, const QString& newName); + bool open(QFile* theWrappedObject, QIODevice::OpenMode flags); + QFile::Permissions permissions(QFile* theWrappedObject) const; + QFile::Permissions static_QFile_permissions(const QString& filename); + qint64 pos(QFile* theWrappedObject) const; + qint64 readData(QFile* theWrappedObject, char* data, qint64 maxlen); + qint64 readLineData(QFile* theWrappedObject, char* data, qint64 maxlen); + 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 resize(QFile* theWrappedObject, qint64 sz); + bool seek(QFile* theWrappedObject, qint64 offset); + void setFileName(QFile* theWrappedObject, const QString& name); + bool setPermissions(QFile* theWrappedObject, QFile::Permissions permissionSpec); + bool static_QFile_setPermissions(const QString& filename, QFile::Permissions permissionSpec); + qint64 size(QFile* theWrappedObject) const; + QString symLinkTarget(QFile* theWrappedObject) const; + QString static_QFile_symLinkTarget(const QString& fileName); + void unsetError(QFile* theWrappedObject); + qint64 writeData(QFile* theWrappedObject, const char* data, qint64 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; + 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; + 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 isReadable(QFileInfo* theWrappedObject) const; + bool isRelative(QFileInfo* theWrappedObject) const; + bool isRoot(QFileInfo* theWrappedObject) const; + bool isSymLink(QFileInfo* theWrappedObject) const; + bool isWritable(QFileInfo* theWrappedObject) const; + QDateTime lastModified(QFileInfo* theWrappedObject) const; + QDateTime lastRead(QFileInfo* theWrappedObject) const; + bool makeAbsolute(QFileInfo* theWrappedObject); + bool __ne__(QFileInfo* theWrappedObject, const QFileInfo& fileinfo); + bool __eq__(QFileInfo* theWrappedObject, const QFileInfo& fileinfo); + 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; + QString symLinkTarget(QFileInfo* theWrappedObject) const; +}; + + + + + +class PythonQtShell_QFileSystemWatcher : public QFileSystemWatcher +{ +public: + PythonQtShell_QFileSystemWatcher(QObject* parent = 0):QFileSystemWatcher(parent),_wrapper(NULL) {}; + PythonQtShell_QFileSystemWatcher(const QStringList& paths, QObject* parent = 0):QFileSystemWatcher(paths, parent),_wrapper(NULL) {}; + +virtual void childEvent(QChildEvent* arg__1); +virtual void customEvent(QEvent* arg__1); +virtual bool event(QEvent* arg__1); +virtual bool eventFilter(QObject* arg__1, QEvent* arg__2); +virtual void timerEvent(QTimerEvent* arg__1); + + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtWrapper_QFileSystemWatcher : public QObject +{ Q_OBJECT +public: +public slots: +QFileSystemWatcher* new_QFileSystemWatcher(QObject* parent = 0); +QFileSystemWatcher* new_QFileSystemWatcher(const QStringList& paths, QObject* parent = 0); +void delete_QFileSystemWatcher(QFileSystemWatcher* obj) { delete obj; } + void addPath(QFileSystemWatcher* theWrappedObject, const QString& file); + void addPaths(QFileSystemWatcher* theWrappedObject, const QStringList& files); + QStringList directories(QFileSystemWatcher* theWrappedObject) const; + QStringList files(QFileSystemWatcher* theWrappedObject) const; + void removePath(QFileSystemWatcher* theWrappedObject, const QString& file); + void removePaths(QFileSystemWatcher* theWrappedObject, const QStringList& files); +}; + + + + + +class PythonQtShell_QFinalState : public QFinalState +{ +public: + PythonQtShell_QFinalState(QState* parent = 0):QFinalState(parent),_wrapper(NULL) {}; + +virtual void childEvent(QChildEvent* arg__1); +virtual void customEvent(QEvent* arg__1); +virtual bool event(QEvent* e); +virtual bool eventFilter(QObject* arg__1, QEvent* arg__2); +virtual void onEntry(QEvent* event); +virtual void onExit(QEvent* event); +virtual void timerEvent(QTimerEvent* arg__1); + + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtPublicPromoter_QFinalState : public QFinalState +{ public: +inline bool promoted_event(QEvent* e) { return QFinalState::event(e); } +inline void promoted_onEntry(QEvent* event) { QFinalState::onEntry(event); } +inline void promoted_onExit(QEvent* event) { QFinalState::onExit(event); } +}; + +class PythonQtWrapper_QFinalState : public QObject +{ Q_OBJECT +public: +public slots: +QFinalState* new_QFinalState(QState* parent = 0); +void delete_QFinalState(QFinalState* obj) { delete obj; } + bool event(QFinalState* theWrappedObject, QEvent* e); + void onEntry(QFinalState* theWrappedObject, QEvent* event); + void onExit(QFinalState* theWrappedObject, QEvent* event); +}; + + + + + +class PythonQtShell_QHistoryState : public QHistoryState +{ +public: + PythonQtShell_QHistoryState(QHistoryState::HistoryType type, QState* parent = 0):QHistoryState(type, parent),_wrapper(NULL) {}; + PythonQtShell_QHistoryState(QState* parent = 0):QHistoryState(parent),_wrapper(NULL) {}; + +virtual void childEvent(QChildEvent* arg__1); +virtual void customEvent(QEvent* arg__1); +virtual bool event(QEvent* e); +virtual bool eventFilter(QObject* arg__1, QEvent* arg__2); +virtual void onEntry(QEvent* event); +virtual void onExit(QEvent* event); +virtual void timerEvent(QTimerEvent* arg__1); + + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtPublicPromoter_QHistoryState : public QHistoryState +{ public: +inline bool promoted_event(QEvent* e) { return QHistoryState::event(e); } +inline void promoted_onEntry(QEvent* event) { QHistoryState::onEntry(event); } +inline void promoted_onExit(QEvent* event) { QHistoryState::onExit(event); } +}; + +class PythonQtWrapper_QHistoryState : public QObject +{ Q_OBJECT +public: +public slots: +QHistoryState* new_QHistoryState(QHistoryState::HistoryType type, QState* parent = 0); +QHistoryState* new_QHistoryState(QState* parent = 0); +void delete_QHistoryState(QHistoryState* obj) { delete obj; } + QAbstractState* defaultState(QHistoryState* theWrappedObject) const; + bool event(QHistoryState* theWrappedObject, QEvent* e); + QHistoryState::HistoryType historyType(QHistoryState* theWrappedObject) const; + void onEntry(QHistoryState* theWrappedObject, QEvent* event); + void onExit(QHistoryState* theWrappedObject, QEvent* event); + void setDefaultState(QHistoryState* theWrappedObject, QAbstractState* state); + 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) {}; + +virtual bool atEnd() const; +virtual qint64 bytesAvailable() const; +virtual qint64 bytesToWrite() const; +virtual bool canReadLine() const; +virtual void childEvent(QChildEvent* arg__1); +virtual void close(); +virtual void customEvent(QEvent* arg__1); +virtual bool event(QEvent* arg__1); +virtual bool eventFilter(QObject* arg__1, QEvent* arg__2); +virtual bool isSequential() const; +virtual bool open(QIODevice::OpenMode mode); +virtual qint64 pos() const; +virtual qint64 readData(char* data, qint64 maxlen); +virtual qint64 readLineData(char* data, qint64 maxlen); +virtual bool reset(); +virtual bool seek(qint64 pos); +virtual qint64 size() const; +virtual void timerEvent(QTimerEvent* arg__1); +virtual bool waitForBytesWritten(int msecs); +virtual bool waitForReadyRead(int msecs); +virtual qint64 writeData(const char* data, qint64 len); + + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtPublicPromoter_QIODevice : public QIODevice +{ public: +inline bool promoted_atEnd() const { return QIODevice::atEnd(); } +inline qint64 promoted_bytesAvailable() const { return QIODevice::bytesAvailable(); } +inline qint64 promoted_bytesToWrite() const { return QIODevice::bytesToWrite(); } +inline bool promoted_canReadLine() const { return QIODevice::canReadLine(); } +inline void promoted_close() { QIODevice::close(); } +inline bool promoted_isSequential() const { return QIODevice::isSequential(); } +inline bool promoted_open(QIODevice::OpenMode mode) { return QIODevice::open(mode); } +inline qint64 promoted_pos() const { return QIODevice::pos(); } +inline qint64 promoted_readLineData(char* data, qint64 maxlen) { return QIODevice::readLineData(data, maxlen); } +inline bool promoted_reset() { return QIODevice::reset(); } +inline bool promoted_seek(qint64 pos) { return QIODevice::seek(pos); } +inline qint64 promoted_size() const { return QIODevice::size(); } +inline bool promoted_waitForBytesWritten(int msecs) { return QIODevice::waitForBytesWritten(msecs); } +inline bool promoted_waitForReadyRead(int msecs) { return QIODevice::waitForReadyRead(msecs); } +}; + +class PythonQtWrapper_QIODevice : public QObject +{ Q_OBJECT +public: +Q_ENUMS(OpenModeFlag ) +Q_FLAGS(OpenMode ) +enum OpenModeFlag{ + NotOpen = QIODevice::NotOpen, ReadOnly = QIODevice::ReadOnly, WriteOnly = QIODevice::WriteOnly, ReadWrite = QIODevice::ReadWrite, Append = QIODevice::Append, Truncate = QIODevice::Truncate, Text = QIODevice::Text, Unbuffered = QIODevice::Unbuffered}; +Q_DECLARE_FLAGS(OpenMode, OpenModeFlag) +public slots: +QIODevice* new_QIODevice(); +QIODevice* new_QIODevice(QObject* parent); +void delete_QIODevice(QIODevice* obj) { delete obj; } + bool atEnd(QIODevice* theWrappedObject) const; + qint64 bytesAvailable(QIODevice* theWrappedObject) const; + qint64 bytesToWrite(QIODevice* theWrappedObject) const; + bool canReadLine(QIODevice* theWrappedObject) const; + void close(QIODevice* theWrappedObject); + 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 isTextModeEnabled(QIODevice* theWrappedObject) const; + bool isWritable(QIODevice* theWrappedObject) const; + bool open(QIODevice* theWrappedObject, QIODevice::OpenMode mode); + QIODevice::OpenMode openMode(QIODevice* theWrappedObject) const; + QByteArray peek(QIODevice* theWrappedObject, qint64 maxlen); + qint64 pos(QIODevice* theWrappedObject) const; + bool putChar(QIODevice* theWrappedObject, char c); + QByteArray read(QIODevice* theWrappedObject, qint64 maxlen); + QByteArray readAll(QIODevice* theWrappedObject); + QByteArray readLine(QIODevice* theWrappedObject, qint64 maxlen = 0); + qint64 readLineData(QIODevice* theWrappedObject, char* data, qint64 maxlen); + bool reset(QIODevice* theWrappedObject); + bool seek(QIODevice* theWrappedObject, qint64 pos); + void setTextModeEnabled(QIODevice* theWrappedObject, bool enabled); + qint64 size(QIODevice* theWrappedObject) const; + void ungetChar(QIODevice* theWrappedObject, char c); + bool waitForBytesWritten(QIODevice* theWrappedObject, int msecs); + bool waitForReadyRead(QIODevice* theWrappedObject, int msecs); + qint64 write(QIODevice* theWrappedObject, const QByteArray& data); + qint64 write(QIODevice* theWrappedObject, const char* data); +}; + + + + + +class PythonQtWrapper_QLibraryInfo : public QObject +{ Q_OBJECT +public: +Q_ENUMS(LibraryLocation ) +enum LibraryLocation{ + PrefixPath = QLibraryInfo::PrefixPath, DocumentationPath = QLibraryInfo::DocumentationPath, HeadersPath = QLibraryInfo::HeadersPath, LibrariesPath = QLibraryInfo::LibrariesPath, BinariesPath = QLibraryInfo::BinariesPath, PluginsPath = QLibraryInfo::PluginsPath, DataPath = QLibraryInfo::DataPath, TranslationsPath = QLibraryInfo::TranslationsPath, SettingsPath = QLibraryInfo::SettingsPath, DemosPath = QLibraryInfo::DemosPath, ExamplesPath = QLibraryInfo::ExamplesPath}; +public slots: +void delete_QLibraryInfo(QLibraryInfo* obj) { delete obj; } + QDate static_QLibraryInfo_buildDate(); + QString static_QLibraryInfo_buildKey(); + QString static_QLibraryInfo_licensedProducts(); + QString static_QLibraryInfo_licensee(); + QString static_QLibraryInfo_location(QLibraryInfo::LibraryLocation arg__1); +}; + + + + + +class PythonQtShell_QMimeData : public QMimeData +{ +public: + PythonQtShell_QMimeData():QMimeData(),_wrapper(NULL) {}; + +virtual void childEvent(QChildEvent* arg__1); +virtual void customEvent(QEvent* arg__1); +virtual bool event(QEvent* arg__1); +virtual bool eventFilter(QObject* arg__1, QEvent* arg__2); +virtual QStringList formats() const; +virtual bool hasFormat(const QString& mimetype) const; +virtual QVariant retrieveData(const QString& mimetype, QVariant::Type preferredType) const; +virtual void timerEvent(QTimerEvent* arg__1); + + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtPublicPromoter_QMimeData : public QMimeData +{ public: +inline QStringList promoted_formats() const { return QMimeData::formats(); } +inline bool promoted_hasFormat(const QString& mimetype) const { return QMimeData::hasFormat(mimetype); } +inline QVariant promoted_retrieveData(const QString& mimetype, QVariant::Type preferredType) const { return QMimeData::retrieveData(mimetype, preferredType); } +}; + +class PythonQtWrapper_QMimeData : public QObject +{ Q_OBJECT +public: +public slots: +QMimeData* new_QMimeData(); +void delete_QMimeData(QMimeData* obj) { delete obj; } + void clear(QMimeData* theWrappedObject); + QVariant colorData(QMimeData* theWrappedObject) const; + QByteArray data(QMimeData* theWrappedObject, const QString& mimetype) const; + QStringList formats(QMimeData* theWrappedObject) const; + bool hasColor(QMimeData* theWrappedObject) const; + bool hasFormat(QMimeData* theWrappedObject, const QString& mimetype) const; + 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; + 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_QModelIndex : public QObject +{ Q_OBJECT +public: +public slots: +QModelIndex* new_QModelIndex(); +QModelIndex* new_QModelIndex(const QModelIndex& other); +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; + qint64 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; + QString py_toString(QModelIndex*); +}; + + diff --git a/generated_cpp_47/com_trolltech_qt_core/com_trolltech_qt_core1.cpp b/generated_cpp_47/com_trolltech_qt_core/com_trolltech_qt_core1.cpp new file mode 100644 index 00000000..88098555 --- /dev/null +++ b/generated_cpp_47/com_trolltech_qt_core/com_trolltech_qt_core1.cpp @@ -0,0 +1,5477 @@ +#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 +#include +#include +#include +#include +#include + +QMutex* PythonQtWrapper_QMutex::new_QMutex(QMutex::RecursionMode mode) +{ +return new QMutex(mode); } + +void PythonQtWrapper_QMutex::lock(QMutex* theWrappedObject) +{ + ( theWrappedObject->lock()); +} + +bool PythonQtWrapper_QMutex::tryLock(QMutex* theWrappedObject) +{ + return ( theWrappedObject->tryLock()); +} + +bool PythonQtWrapper_QMutex::tryLock(QMutex* theWrappedObject, int timeout) +{ + return ( theWrappedObject->tryLock(timeout)); +} + +void PythonQtWrapper_QMutex::unlock(QMutex* theWrappedObject) +{ + ( theWrappedObject->unlock()); +} + + + +void PythonQtShell_QObject::childEvent(QChildEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "childEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QChildEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QObject::childEvent(arg__1); +} +void PythonQtShell_QObject::customEvent(QEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "customEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QObject::customEvent(arg__1); +} +bool PythonQtShell_QObject::event(QEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "event"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue; + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QObject::event(arg__1); +} +bool PythonQtShell_QObject::eventFilter(QObject* arg__1, QEvent* arg__2) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "eventFilter"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue; + void* args[3] = {NULL, (void*)&arg__1, (void*)&arg__2}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QObject::eventFilter(arg__1, arg__2); +} +void PythonQtShell_QObject::timerEvent(QTimerEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "timerEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QTimerEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QObject::timerEvent(arg__1); +} +QObject* PythonQtWrapper_QObject::new_QObject(QObject* parent) +{ +return new PythonQtShell_QObject(parent); } + +bool PythonQtWrapper_QObject::blockSignals(QObject* theWrappedObject, bool b) +{ + return ( theWrappedObject->blockSignals(b)); +} + +void PythonQtWrapper_QObject::childEvent(QObject* theWrappedObject, QChildEvent* arg__1) +{ + ( ((PythonQtPublicPromoter_QObject*)theWrappedObject)->promoted_childEvent(arg__1)); +} + +const QList* PythonQtWrapper_QObject::children(QObject* theWrappedObject) const +{ + return &( theWrappedObject->children()); +} + +void PythonQtWrapper_QObject::customEvent(QObject* theWrappedObject, QEvent* arg__1) +{ + ( ((PythonQtPublicPromoter_QObject*)theWrappedObject)->promoted_customEvent(arg__1)); +} + +void PythonQtWrapper_QObject::dumpObjectInfo(QObject* theWrappedObject) +{ + ( theWrappedObject->dumpObjectInfo()); +} + +void PythonQtWrapper_QObject::dumpObjectTree(QObject* theWrappedObject) +{ + ( theWrappedObject->dumpObjectTree()); +} + +QList PythonQtWrapper_QObject::dynamicPropertyNames(QObject* theWrappedObject) const +{ + return ( theWrappedObject->dynamicPropertyNames()); +} + +bool PythonQtWrapper_QObject::event(QObject* theWrappedObject, QEvent* arg__1) +{ + return ( ((PythonQtPublicPromoter_QObject*)theWrappedObject)->promoted_event(arg__1)); +} + +bool PythonQtWrapper_QObject::eventFilter(QObject* theWrappedObject, QObject* arg__1, QEvent* arg__2) +{ + return ( ((PythonQtPublicPromoter_QObject*)theWrappedObject)->promoted_eventFilter(arg__1, arg__2)); +} + +void PythonQtWrapper_QObject::installEventFilter(QObject* theWrappedObject, QObject* arg__1) +{ + ( theWrappedObject->installEventFilter(arg__1)); +} + +bool PythonQtWrapper_QObject::isWidgetType(QObject* theWrappedObject) const +{ + return ( theWrappedObject->isWidgetType()); +} + +void PythonQtWrapper_QObject::killTimer(QObject* theWrappedObject, int id) +{ + ( theWrappedObject->killTimer(id)); +} + +void PythonQtWrapper_QObject::moveToThread(QObject* theWrappedObject, QThread* thread) +{ + ( theWrappedObject->moveToThread(thread)); +} + +QString PythonQtWrapper_QObject::objectName(QObject* theWrappedObject) const +{ + return ( theWrappedObject->objectName()); +} + +QObject* PythonQtWrapper_QObject::parent(QObject* theWrappedObject) const +{ + return ( theWrappedObject->parent()); +} + +QVariant PythonQtWrapper_QObject::property(QObject* theWrappedObject, const char* name) const +{ + return ( theWrappedObject->property(name)); +} + +void PythonQtWrapper_QObject::removeEventFilter(QObject* theWrappedObject, QObject* arg__1) +{ + ( theWrappedObject->removeEventFilter(arg__1)); +} + +void PythonQtWrapper_QObject::setObjectName(QObject* theWrappedObject, const QString& name) +{ + ( theWrappedObject->setObjectName(name)); +} + +void PythonQtWrapper_QObject::setParent(QObject* theWrappedObject, QObject* arg__1) +{ + ( theWrappedObject->setParent(arg__1)); +} + +bool PythonQtWrapper_QObject::setProperty(QObject* theWrappedObject, const char* name, const QVariant& value) +{ + return ( theWrappedObject->setProperty(name, value)); +} + +bool PythonQtWrapper_QObject::signalsBlocked(QObject* theWrappedObject) const +{ + return ( theWrappedObject->signalsBlocked()); +} + +int PythonQtWrapper_QObject::startTimer(QObject* theWrappedObject, int interval) +{ + return ( theWrappedObject->startTimer(interval)); +} + +QThread* PythonQtWrapper_QObject::thread(QObject* theWrappedObject) const +{ + return ( theWrappedObject->thread()); +} + +void PythonQtWrapper_QObject::timerEvent(QObject* theWrappedObject, QTimerEvent* arg__1) +{ + ( ((PythonQtPublicPromoter_QObject*)theWrappedObject)->promoted_timerEvent(arg__1)); +} + + + +void PythonQtShell_QParallelAnimationGroup::childEvent(QChildEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "childEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QChildEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QParallelAnimationGroup::childEvent(arg__1); +} +void PythonQtShell_QParallelAnimationGroup::customEvent(QEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "customEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QParallelAnimationGroup::customEvent(arg__1); +} +int PythonQtShell_QParallelAnimationGroup::duration() const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "duration"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + int returnValue; + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("duration", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QParallelAnimationGroup::duration(); +} +bool PythonQtShell_QParallelAnimationGroup::event(QEvent* event) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "event"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue; + void* args[2] = {NULL, (void*)&event}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QParallelAnimationGroup::event(event); +} +bool PythonQtShell_QParallelAnimationGroup::eventFilter(QObject* arg__1, QEvent* arg__2) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "eventFilter"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue; + void* args[3] = {NULL, (void*)&arg__1, (void*)&arg__2}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QParallelAnimationGroup::eventFilter(arg__1, arg__2); +} +void PythonQtShell_QParallelAnimationGroup::timerEvent(QTimerEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "timerEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QTimerEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QParallelAnimationGroup::timerEvent(arg__1); +} +void PythonQtShell_QParallelAnimationGroup::updateCurrentTime(int currentTime) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "updateCurrentTime"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)¤tTime}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QParallelAnimationGroup::updateCurrentTime(currentTime); +} +void PythonQtShell_QParallelAnimationGroup::updateDirection(QAbstractAnimation::Direction direction) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "updateDirection"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QAbstractAnimation::Direction"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&direction}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QParallelAnimationGroup::updateDirection(direction); +} +void PythonQtShell_QParallelAnimationGroup::updateState(QAbstractAnimation::State newState, QAbstractAnimation::State oldState) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "updateState"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QAbstractAnimation::State" , "QAbstractAnimation::State"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + void* args[3] = {NULL, (void*)&newState, (void*)&oldState}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QParallelAnimationGroup::updateState(newState, oldState); +} +QParallelAnimationGroup* PythonQtWrapper_QParallelAnimationGroup::new_QParallelAnimationGroup(QObject* parent) +{ +return new PythonQtShell_QParallelAnimationGroup(parent); } + +int PythonQtWrapper_QParallelAnimationGroup::duration(QParallelAnimationGroup* theWrappedObject) const +{ + return ( ((PythonQtPublicPromoter_QParallelAnimationGroup*)theWrappedObject)->promoted_duration()); +} + +bool PythonQtWrapper_QParallelAnimationGroup::event(QParallelAnimationGroup* theWrappedObject, QEvent* event) +{ + return ( ((PythonQtPublicPromoter_QParallelAnimationGroup*)theWrappedObject)->promoted_event(event)); +} + +void PythonQtWrapper_QParallelAnimationGroup::updateCurrentTime(QParallelAnimationGroup* theWrappedObject, int currentTime) +{ + ( ((PythonQtPublicPromoter_QParallelAnimationGroup*)theWrappedObject)->promoted_updateCurrentTime(currentTime)); +} + +void PythonQtWrapper_QParallelAnimationGroup::updateDirection(QParallelAnimationGroup* theWrappedObject, QAbstractAnimation::Direction direction) +{ + ( ((PythonQtPublicPromoter_QParallelAnimationGroup*)theWrappedObject)->promoted_updateDirection(direction)); +} + +void PythonQtWrapper_QParallelAnimationGroup::updateState(QParallelAnimationGroup* theWrappedObject, QAbstractAnimation::State newState, QAbstractAnimation::State oldState) +{ + ( ((PythonQtPublicPromoter_QParallelAnimationGroup*)theWrappedObject)->promoted_updateState(newState, oldState)); +} + + + +void PythonQtShell_QPauseAnimation::childEvent(QChildEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "childEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QChildEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QPauseAnimation::childEvent(arg__1); +} +void PythonQtShell_QPauseAnimation::customEvent(QEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "customEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QPauseAnimation::customEvent(arg__1); +} +int PythonQtShell_QPauseAnimation::duration() const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "duration"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + int returnValue; + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("duration", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QPauseAnimation::duration(); +} +bool PythonQtShell_QPauseAnimation::event(QEvent* e) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "event"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue; + void* args[2] = {NULL, (void*)&e}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QPauseAnimation::event(e); +} +bool PythonQtShell_QPauseAnimation::eventFilter(QObject* arg__1, QEvent* arg__2) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "eventFilter"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue; + void* args[3] = {NULL, (void*)&arg__1, (void*)&arg__2}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QPauseAnimation::eventFilter(arg__1, arg__2); +} +void PythonQtShell_QPauseAnimation::timerEvent(QTimerEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "timerEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QTimerEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QPauseAnimation::timerEvent(arg__1); +} +void PythonQtShell_QPauseAnimation::updateCurrentTime(int arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "updateCurrentTime"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QPauseAnimation::updateCurrentTime(arg__1); +} +void PythonQtShell_QPauseAnimation::updateDirection(QAbstractAnimation::Direction direction) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "updateDirection"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QAbstractAnimation::Direction"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&direction}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QPauseAnimation::updateDirection(direction); +} +void PythonQtShell_QPauseAnimation::updateState(QAbstractAnimation::State newState, QAbstractAnimation::State oldState) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "updateState"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QAbstractAnimation::State" , "QAbstractAnimation::State"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + void* args[3] = {NULL, (void*)&newState, (void*)&oldState}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QPauseAnimation::updateState(newState, oldState); +} +QPauseAnimation* PythonQtWrapper_QPauseAnimation::new_QPauseAnimation(QObject* parent) +{ +return new PythonQtShell_QPauseAnimation(parent); } + +QPauseAnimation* PythonQtWrapper_QPauseAnimation::new_QPauseAnimation(int msecs, QObject* parent) +{ +return new PythonQtShell_QPauseAnimation(msecs, parent); } + +int PythonQtWrapper_QPauseAnimation::duration(QPauseAnimation* theWrappedObject) const +{ + return ( ((PythonQtPublicPromoter_QPauseAnimation*)theWrappedObject)->promoted_duration()); +} + +bool PythonQtWrapper_QPauseAnimation::event(QPauseAnimation* theWrappedObject, QEvent* e) +{ + return ( ((PythonQtPublicPromoter_QPauseAnimation*)theWrappedObject)->promoted_event(e)); +} + +void PythonQtWrapper_QPauseAnimation::setDuration(QPauseAnimation* theWrappedObject, int msecs) +{ + ( theWrappedObject->setDuration(msecs)); +} + +void PythonQtWrapper_QPauseAnimation::updateCurrentTime(QPauseAnimation* theWrappedObject, int arg__1) +{ + ( ((PythonQtPublicPromoter_QPauseAnimation*)theWrappedObject)->promoted_updateCurrentTime(arg__1)); +} + + + +bool PythonQtShell_QProcess::atEnd() const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "atEnd"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + bool returnValue; + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("atEnd", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QProcess::atEnd(); +} +qint64 PythonQtShell_QProcess::bytesAvailable() const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "bytesAvailable"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"qint64"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + qint64 returnValue; + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("bytesAvailable", methodInfo, result); + } else { + returnValue = *((qint64*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QProcess::bytesAvailable(); +} +qint64 PythonQtShell_QProcess::bytesToWrite() const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "bytesToWrite"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"qint64"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + qint64 returnValue; + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("bytesToWrite", methodInfo, result); + } else { + returnValue = *((qint64*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QProcess::bytesToWrite(); +} +bool PythonQtShell_QProcess::canReadLine() const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "canReadLine"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + bool returnValue; + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("canReadLine", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QProcess::canReadLine(); +} +void PythonQtShell_QProcess::childEvent(QChildEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "childEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QChildEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QProcess::childEvent(arg__1); +} +void PythonQtShell_QProcess::close() +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "close"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={""}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QProcess::close(); +} +void PythonQtShell_QProcess::customEvent(QEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "customEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QProcess::customEvent(arg__1); +} +bool PythonQtShell_QProcess::event(QEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "event"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue; + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QProcess::event(arg__1); +} +bool PythonQtShell_QProcess::eventFilter(QObject* arg__1, QEvent* arg__2) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "eventFilter"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue; + void* args[3] = {NULL, (void*)&arg__1, (void*)&arg__2}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QProcess::eventFilter(arg__1, arg__2); +} +bool PythonQtShell_QProcess::isSequential() const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "isSequential"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + bool returnValue; + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("isSequential", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QProcess::isSequential(); +} +bool PythonQtShell_QProcess::open(QIODevice::OpenMode mode) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "open"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "QIODevice::OpenMode"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue; + void* args[2] = {NULL, (void*)&mode}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("open", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QProcess::open(mode); +} +qint64 PythonQtShell_QProcess::pos() const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "pos"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"qint64"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + qint64 returnValue; + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("pos", methodInfo, result); + } else { + returnValue = *((qint64*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QProcess::pos(); +} +qint64 PythonQtShell_QProcess::readData(char* data, qint64 maxlen) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "readData"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"qint64" , "char*" , "qint64"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + qint64 returnValue; + void* args[3] = {NULL, (void*)&data, (void*)&maxlen}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("readData", methodInfo, result); + } else { + returnValue = *((qint64*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QProcess::readData(data, maxlen); +} +qint64 PythonQtShell_QProcess::readLineData(char* data, qint64 maxlen) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "readLineData"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"qint64" , "char*" , "qint64"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + qint64 returnValue; + void* args[3] = {NULL, (void*)&data, (void*)&maxlen}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("readLineData", methodInfo, result); + } else { + returnValue = *((qint64*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QProcess::readLineData(data, maxlen); +} +bool PythonQtShell_QProcess::reset() +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "reset"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + bool returnValue; + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("reset", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QProcess::reset(); +} +bool PythonQtShell_QProcess::seek(qint64 pos) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "seek"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "qint64"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue; + void* args[2] = {NULL, (void*)&pos}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("seek", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QProcess::seek(pos); +} +void PythonQtShell_QProcess::setupChildProcess() +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "setupChildProcess"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={""}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QProcess::setupChildProcess(); +} +qint64 PythonQtShell_QProcess::size() const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "size"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"qint64"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + qint64 returnValue; + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("size", methodInfo, result); + } else { + returnValue = *((qint64*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QProcess::size(); +} +void PythonQtShell_QProcess::timerEvent(QTimerEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "timerEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QTimerEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QProcess::timerEvent(arg__1); +} +bool PythonQtShell_QProcess::waitForBytesWritten(int msecs) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "waitForBytesWritten"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue; + void* args[2] = {NULL, (void*)&msecs}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("waitForBytesWritten", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QProcess::waitForBytesWritten(msecs); +} +bool PythonQtShell_QProcess::waitForReadyRead(int msecs) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "waitForReadyRead"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue; + void* args[2] = {NULL, (void*)&msecs}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("waitForReadyRead", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QProcess::waitForReadyRead(msecs); +} +qint64 PythonQtShell_QProcess::writeData(const char* data, qint64 len) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "writeData"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"qint64" , "const char*" , "qint64"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + qint64 returnValue; + void* args[3] = {NULL, (void*)&data, (void*)&len}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("writeData", methodInfo, result); + } else { + returnValue = *((qint64*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QProcess::writeData(data, len); +} +QProcess* PythonQtWrapper_QProcess::new_QProcess(QObject* parent) +{ +return new PythonQtShell_QProcess(parent); } + +bool PythonQtWrapper_QProcess::atEnd(QProcess* theWrappedObject) const +{ + return ( ((PythonQtPublicPromoter_QProcess*)theWrappedObject)->promoted_atEnd()); +} + +qint64 PythonQtWrapper_QProcess::bytesAvailable(QProcess* theWrappedObject) const +{ + return ( ((PythonQtPublicPromoter_QProcess*)theWrappedObject)->promoted_bytesAvailable()); +} + +qint64 PythonQtWrapper_QProcess::bytesToWrite(QProcess* theWrappedObject) const +{ + return ( ((PythonQtPublicPromoter_QProcess*)theWrappedObject)->promoted_bytesToWrite()); +} + +bool PythonQtWrapper_QProcess::canReadLine(QProcess* theWrappedObject) const +{ + return ( ((PythonQtPublicPromoter_QProcess*)theWrappedObject)->promoted_canReadLine()); +} + +void PythonQtWrapper_QProcess::close(QProcess* theWrappedObject) +{ + ( ((PythonQtPublicPromoter_QProcess*)theWrappedObject)->promoted_close()); +} + +void PythonQtWrapper_QProcess::closeReadChannel(QProcess* theWrappedObject, QProcess::ProcessChannel channel) +{ + ( theWrappedObject->closeReadChannel(channel)); +} + +void PythonQtWrapper_QProcess::closeWriteChannel(QProcess* theWrappedObject) +{ + ( theWrappedObject->closeWriteChannel()); +} + +QStringList PythonQtWrapper_QProcess::environment(QProcess* theWrappedObject) const +{ + return ( theWrappedObject->environment()); +} + +QProcess::ProcessError PythonQtWrapper_QProcess::error(QProcess* theWrappedObject) const +{ + return ( theWrappedObject->error()); +} + +int PythonQtWrapper_QProcess::static_QProcess_execute(const QString& program) +{ + return (QProcess::execute(program)); +} + +int PythonQtWrapper_QProcess::static_QProcess_execute(const QString& program, const QStringList& arguments) +{ + return (QProcess::execute(program, arguments)); +} + +int PythonQtWrapper_QProcess::exitCode(QProcess* theWrappedObject) const +{ + return ( theWrappedObject->exitCode()); +} + +QProcess::ExitStatus PythonQtWrapper_QProcess::exitStatus(QProcess* theWrappedObject) const +{ + return ( theWrappedObject->exitStatus()); +} + +bool PythonQtWrapper_QProcess::isSequential(QProcess* theWrappedObject) const +{ + return ( ((PythonQtPublicPromoter_QProcess*)theWrappedObject)->promoted_isSequential()); +} + +QProcess::ProcessChannelMode PythonQtWrapper_QProcess::processChannelMode(QProcess* theWrappedObject) const +{ + return ( theWrappedObject->processChannelMode()); +} + +QProcessEnvironment PythonQtWrapper_QProcess::processEnvironment(QProcess* theWrappedObject) const +{ + return ( theWrappedObject->processEnvironment()); +} + +QByteArray PythonQtWrapper_QProcess::readAllStandardError(QProcess* theWrappedObject) +{ + return ( theWrappedObject->readAllStandardError()); +} + +QByteArray PythonQtWrapper_QProcess::readAllStandardOutput(QProcess* theWrappedObject) +{ + return ( theWrappedObject->readAllStandardOutput()); +} + +QProcess::ProcessChannel PythonQtWrapper_QProcess::readChannel(QProcess* theWrappedObject) const +{ + return ( theWrappedObject->readChannel()); +} + +qint64 PythonQtWrapper_QProcess::readData(QProcess* theWrappedObject, char* data, qint64 maxlen) +{ + return ( ((PythonQtPublicPromoter_QProcess*)theWrappedObject)->promoted_readData(data, maxlen)); +} + +void PythonQtWrapper_QProcess::setEnvironment(QProcess* theWrappedObject, const QStringList& environment) +{ + ( theWrappedObject->setEnvironment(environment)); +} + +void PythonQtWrapper_QProcess::setProcessChannelMode(QProcess* theWrappedObject, QProcess::ProcessChannelMode mode) +{ + ( theWrappedObject->setProcessChannelMode(mode)); +} + +void PythonQtWrapper_QProcess::setProcessEnvironment(QProcess* theWrappedObject, const QProcessEnvironment& environment) +{ + ( theWrappedObject->setProcessEnvironment(environment)); +} + +void PythonQtWrapper_QProcess::setReadChannel(QProcess* theWrappedObject, QProcess::ProcessChannel channel) +{ + ( theWrappedObject->setReadChannel(channel)); +} + +void PythonQtWrapper_QProcess::setStandardErrorFile(QProcess* theWrappedObject, const QString& fileName, QIODevice::OpenMode mode) +{ + ( theWrappedObject->setStandardErrorFile(fileName, mode)); +} + +void PythonQtWrapper_QProcess::setStandardInputFile(QProcess* theWrappedObject, const QString& fileName) +{ + ( theWrappedObject->setStandardInputFile(fileName)); +} + +void PythonQtWrapper_QProcess::setStandardOutputFile(QProcess* theWrappedObject, const QString& fileName, QIODevice::OpenMode mode) +{ + ( theWrappedObject->setStandardOutputFile(fileName, mode)); +} + +void PythonQtWrapper_QProcess::setStandardOutputProcess(QProcess* theWrappedObject, QProcess* destination) +{ + ( theWrappedObject->setStandardOutputProcess(destination)); +} + +void PythonQtWrapper_QProcess::setWorkingDirectory(QProcess* theWrappedObject, const QString& dir) +{ + ( theWrappedObject->setWorkingDirectory(dir)); +} + +void PythonQtWrapper_QProcess::setupChildProcess(QProcess* theWrappedObject) +{ + ( ((PythonQtPublicPromoter_QProcess*)theWrappedObject)->promoted_setupChildProcess()); +} + +void PythonQtWrapper_QProcess::start(QProcess* theWrappedObject, const QString& program, QIODevice::OpenMode mode) +{ + ( theWrappedObject->start(program, mode)); +} + +void PythonQtWrapper_QProcess::start(QProcess* theWrappedObject, const QString& program, const QStringList& arguments, QIODevice::OpenMode mode) +{ + ( theWrappedObject->start(program, arguments, mode)); +} + +bool PythonQtWrapper_QProcess::static_QProcess_startDetached(const QString& program) +{ + return (QProcess::startDetached(program)); +} + +bool PythonQtWrapper_QProcess::static_QProcess_startDetached(const QString& program, const QStringList& arguments) +{ + return (QProcess::startDetached(program, arguments)); +} + +bool PythonQtWrapper_QProcess::static_QProcess_startDetached(const QString& program, const QStringList& arguments, const QString& workingDirectory, qint64* pid) +{ + return (QProcess::startDetached(program, arguments, workingDirectory, pid)); +} + +QProcess::ProcessState PythonQtWrapper_QProcess::state(QProcess* theWrappedObject) const +{ + return ( theWrappedObject->state()); +} + +QStringList PythonQtWrapper_QProcess::static_QProcess_systemEnvironment() +{ + return (QProcess::systemEnvironment()); +} + +bool PythonQtWrapper_QProcess::waitForBytesWritten(QProcess* theWrappedObject, int msecs) +{ + return ( ((PythonQtPublicPromoter_QProcess*)theWrappedObject)->promoted_waitForBytesWritten(msecs)); +} + +bool PythonQtWrapper_QProcess::waitForFinished(QProcess* theWrappedObject, int msecs) +{ + return ( theWrappedObject->waitForFinished(msecs)); +} + +bool PythonQtWrapper_QProcess::waitForReadyRead(QProcess* theWrappedObject, int msecs) +{ + return ( ((PythonQtPublicPromoter_QProcess*)theWrappedObject)->promoted_waitForReadyRead(msecs)); +} + +bool PythonQtWrapper_QProcess::waitForStarted(QProcess* theWrappedObject, int msecs) +{ + return ( theWrappedObject->waitForStarted(msecs)); +} + +QString PythonQtWrapper_QProcess::workingDirectory(QProcess* theWrappedObject) const +{ + return ( theWrappedObject->workingDirectory()); +} + +qint64 PythonQtWrapper_QProcess::writeData(QProcess* theWrappedObject, const char* data, qint64 len) +{ + return ( ((PythonQtPublicPromoter_QProcess*)theWrappedObject)->promoted_writeData(data, len)); +} + + + +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 QString& name, const QString& value) +{ + ( theWrappedObject->insert(name, value)); +} + +bool PythonQtWrapper_QProcessEnvironment::isEmpty(QProcessEnvironment* theWrappedObject) const +{ + return ( theWrappedObject->isEmpty()); +} + +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)); +} + +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)); +} + + + +void PythonQtShell_QPropertyAnimation::childEvent(QChildEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "childEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QChildEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QPropertyAnimation::childEvent(arg__1); +} +void PythonQtShell_QPropertyAnimation::customEvent(QEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "customEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QPropertyAnimation::customEvent(arg__1); +} +int PythonQtShell_QPropertyAnimation::duration() const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "duration"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + int returnValue; + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("duration", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QPropertyAnimation::duration(); +} +bool PythonQtShell_QPropertyAnimation::event(QEvent* event) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "event"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue; + void* args[2] = {NULL, (void*)&event}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QPropertyAnimation::event(event); +} +bool PythonQtShell_QPropertyAnimation::eventFilter(QObject* arg__1, QEvent* arg__2) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "eventFilter"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue; + void* args[3] = {NULL, (void*)&arg__1, (void*)&arg__2}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QPropertyAnimation::eventFilter(arg__1, arg__2); +} +QVariant PythonQtShell_QPropertyAnimation::interpolated(const QVariant& from, const QVariant& to, qreal progress) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "interpolated"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(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*)&from, (void*)&to, (void*)&progress}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (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; + } +} + return QPropertyAnimation::interpolated(from, to, progress); +} +void PythonQtShell_QPropertyAnimation::timerEvent(QTimerEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "timerEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QTimerEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QPropertyAnimation::timerEvent(arg__1); +} +void PythonQtShell_QPropertyAnimation::updateCurrentTime(int arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "updateCurrentTime"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QPropertyAnimation::updateCurrentTime(arg__1); +} +void PythonQtShell_QPropertyAnimation::updateCurrentValue(const QVariant& value) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "updateCurrentValue"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "const QVariant&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&value}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QPropertyAnimation::updateCurrentValue(value); +} +void PythonQtShell_QPropertyAnimation::updateDirection(QAbstractAnimation::Direction direction) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "updateDirection"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QAbstractAnimation::Direction"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&direction}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QPropertyAnimation::updateDirection(direction); +} +void PythonQtShell_QPropertyAnimation::updateState(QAbstractAnimation::State newState, QAbstractAnimation::State oldState) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "updateState"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QAbstractAnimation::State" , "QAbstractAnimation::State"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + void* args[3] = {NULL, (void*)&newState, (void*)&oldState}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QPropertyAnimation::updateState(newState, oldState); +} +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); } + +bool PythonQtWrapper_QPropertyAnimation::event(QPropertyAnimation* theWrappedObject, QEvent* event) +{ + return ( ((PythonQtPublicPromoter_QPropertyAnimation*)theWrappedObject)->promoted_event(event)); +} + +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()); +} + +void PythonQtWrapper_QPropertyAnimation::updateCurrentValue(QPropertyAnimation* theWrappedObject, const QVariant& value) +{ + ( ((PythonQtPublicPromoter_QPropertyAnimation*)theWrappedObject)->promoted_updateCurrentValue(value)); +} + +void PythonQtWrapper_QPropertyAnimation::updateState(QPropertyAnimation* theWrappedObject, QAbstractAnimation::State newState, QAbstractAnimation::State oldState) +{ + ( ((PythonQtPublicPromoter_QPropertyAnimation*)theWrappedObject)->promoted_updateState(newState, oldState)); +} + + + +QReadWriteLock* PythonQtWrapper_QReadWriteLock::new_QReadWriteLock() +{ +return new QReadWriteLock(); } + +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()); +} + + + +void PythonQtShell_QRunnable::run() +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "run"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={""}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + +} +QRunnable* PythonQtWrapper_QRunnable::new_QRunnable() +{ +return new PythonQtShell_QRunnable(); } + +bool PythonQtWrapper_QRunnable::autoDelete(QRunnable* theWrappedObject) const +{ + return ( theWrappedObject->autoDelete()); +} + +void PythonQtWrapper_QRunnable::setAutoDelete(QRunnable* theWrappedObject, bool _autoDelete) +{ + ( theWrappedObject->setAutoDelete(_autoDelete)); +} + + + +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)); +} + + + +void PythonQtShell_QSequentialAnimationGroup::childEvent(QChildEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "childEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QChildEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QSequentialAnimationGroup::childEvent(arg__1); +} +void PythonQtShell_QSequentialAnimationGroup::customEvent(QEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "customEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QSequentialAnimationGroup::customEvent(arg__1); +} +int PythonQtShell_QSequentialAnimationGroup::duration() const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "duration"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + int returnValue; + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("duration", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QSequentialAnimationGroup::duration(); +} +bool PythonQtShell_QSequentialAnimationGroup::event(QEvent* event) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "event"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue; + void* args[2] = {NULL, (void*)&event}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QSequentialAnimationGroup::event(event); +} +bool PythonQtShell_QSequentialAnimationGroup::eventFilter(QObject* arg__1, QEvent* arg__2) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "eventFilter"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue; + void* args[3] = {NULL, (void*)&arg__1, (void*)&arg__2}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QSequentialAnimationGroup::eventFilter(arg__1, arg__2); +} +void PythonQtShell_QSequentialAnimationGroup::timerEvent(QTimerEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "timerEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QTimerEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QSequentialAnimationGroup::timerEvent(arg__1); +} +void PythonQtShell_QSequentialAnimationGroup::updateCurrentTime(int arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "updateCurrentTime"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QSequentialAnimationGroup::updateCurrentTime(arg__1); +} +void PythonQtShell_QSequentialAnimationGroup::updateDirection(QAbstractAnimation::Direction direction) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "updateDirection"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QAbstractAnimation::Direction"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&direction}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QSequentialAnimationGroup::updateDirection(direction); +} +void PythonQtShell_QSequentialAnimationGroup::updateState(QAbstractAnimation::State newState, QAbstractAnimation::State oldState) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "updateState"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QAbstractAnimation::State" , "QAbstractAnimation::State"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + void* args[3] = {NULL, (void*)&newState, (void*)&oldState}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QSequentialAnimationGroup::updateState(newState, oldState); +} +QSequentialAnimationGroup* PythonQtWrapper_QSequentialAnimationGroup::new_QSequentialAnimationGroup(QObject* parent) +{ +return new PythonQtShell_QSequentialAnimationGroup(parent); } + +QPauseAnimation* PythonQtWrapper_QSequentialAnimationGroup::addPause(QSequentialAnimationGroup* theWrappedObject, int msecs) +{ + return ( theWrappedObject->addPause(msecs)); +} + +QAbstractAnimation* PythonQtWrapper_QSequentialAnimationGroup::currentAnimation(QSequentialAnimationGroup* theWrappedObject) const +{ + return ( theWrappedObject->currentAnimation()); +} + +int PythonQtWrapper_QSequentialAnimationGroup::duration(QSequentialAnimationGroup* theWrappedObject) const +{ + return ( ((PythonQtPublicPromoter_QSequentialAnimationGroup*)theWrappedObject)->promoted_duration()); +} + +bool PythonQtWrapper_QSequentialAnimationGroup::event(QSequentialAnimationGroup* theWrappedObject, QEvent* event) +{ + return ( ((PythonQtPublicPromoter_QSequentialAnimationGroup*)theWrappedObject)->promoted_event(event)); +} + +QPauseAnimation* PythonQtWrapper_QSequentialAnimationGroup::insertPause(QSequentialAnimationGroup* theWrappedObject, int index, int msecs) +{ + return ( theWrappedObject->insertPause(index, msecs)); +} + +void PythonQtWrapper_QSequentialAnimationGroup::updateCurrentTime(QSequentialAnimationGroup* theWrappedObject, int arg__1) +{ + ( ((PythonQtPublicPromoter_QSequentialAnimationGroup*)theWrappedObject)->promoted_updateCurrentTime(arg__1)); +} + +void PythonQtWrapper_QSequentialAnimationGroup::updateDirection(QSequentialAnimationGroup* theWrappedObject, QAbstractAnimation::Direction direction) +{ + ( ((PythonQtPublicPromoter_QSequentialAnimationGroup*)theWrappedObject)->promoted_updateDirection(direction)); +} + +void PythonQtWrapper_QSequentialAnimationGroup::updateState(QSequentialAnimationGroup* theWrappedObject, QAbstractAnimation::State newState, QAbstractAnimation::State oldState) +{ + ( ((PythonQtPublicPromoter_QSequentialAnimationGroup*)theWrappedObject)->promoted_updateState(newState, oldState)); +} + + + +void PythonQtShell_QSettings::childEvent(QChildEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "childEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QChildEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QSettings::childEvent(arg__1); +} +void PythonQtShell_QSettings::customEvent(QEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "customEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QSettings::customEvent(arg__1); +} +bool PythonQtShell_QSettings::event(QEvent* event) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "event"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue; + void* args[2] = {NULL, (void*)&event}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QSettings::event(event); +} +bool PythonQtShell_QSettings::eventFilter(QObject* arg__1, QEvent* arg__2) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "eventFilter"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue; + void* args[3] = {NULL, (void*)&arg__1, (void*)&arg__2}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QSettings::eventFilter(arg__1, arg__2); +} +void PythonQtShell_QSettings::timerEvent(QTimerEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "timerEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QTimerEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QSettings::timerEvent(arg__1); +} +QSettings* PythonQtWrapper_QSettings::new_QSettings(QObject* parent) +{ +return new PythonQtShell_QSettings(parent); } + +QSettings* PythonQtWrapper_QSettings::new_QSettings(QSettings::Format format, QSettings::Scope scope, const QString& organization, const QString& application, QObject* parent) +{ +return new PythonQtShell_QSettings(format, scope, organization, application, parent); } + +QSettings* PythonQtWrapper_QSettings::new_QSettings(QSettings::Scope scope, const QString& organization, const QString& application, QObject* parent) +{ +return new PythonQtShell_QSettings(scope, organization, application, parent); } + +QSettings* PythonQtWrapper_QSettings::new_QSettings(const QString& fileName, QSettings::Format format, QObject* parent) +{ +return new PythonQtShell_QSettings(fileName, format, parent); } + +QSettings* PythonQtWrapper_QSettings::new_QSettings(const QString& organization, const QString& application, QObject* parent) +{ +return new PythonQtShell_QSettings(organization, application, parent); } + +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::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::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)); +} + + + +void PythonQtShell_QSignalMapper::childEvent(QChildEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "childEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QChildEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QSignalMapper::childEvent(arg__1); +} +void PythonQtShell_QSignalMapper::customEvent(QEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "customEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QSignalMapper::customEvent(arg__1); +} +bool PythonQtShell_QSignalMapper::event(QEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "event"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue; + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QSignalMapper::event(arg__1); +} +bool PythonQtShell_QSignalMapper::eventFilter(QObject* arg__1, QEvent* arg__2) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "eventFilter"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue; + void* args[3] = {NULL, (void*)&arg__1, (void*)&arg__2}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QSignalMapper::eventFilter(arg__1, arg__2); +} +void PythonQtShell_QSignalMapper::timerEvent(QTimerEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "timerEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QTimerEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QSignalMapper::timerEvent(arg__1); +} +QSignalMapper* PythonQtWrapper_QSignalMapper::new_QSignalMapper(QObject* parent) +{ +return new PythonQtShell_QSignalMapper(parent); } + +QObject* PythonQtWrapper_QSignalMapper::mapping(QSignalMapper* theWrappedObject, QObject* object) const +{ + return ( theWrappedObject->mapping(object)); +} + +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, const QString& text) +{ + ( theWrappedObject->setMapping(sender, text)); +} + +void PythonQtWrapper_QSignalMapper::setMapping(QSignalMapper* theWrappedObject, QObject* sender, int id) +{ + ( theWrappedObject->setMapping(sender, id)); +} + + + +void PythonQtShell_QSignalTransition::childEvent(QChildEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "childEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QChildEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QSignalTransition::childEvent(arg__1); +} +void PythonQtShell_QSignalTransition::customEvent(QEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "customEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QSignalTransition::customEvent(arg__1); +} +bool PythonQtShell_QSignalTransition::event(QEvent* e) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "event"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue; + void* args[2] = {NULL, (void*)&e}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QSignalTransition::event(e); +} +bool PythonQtShell_QSignalTransition::eventFilter(QObject* arg__1, QEvent* arg__2) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "eventFilter"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue; + void* args[3] = {NULL, (void*)&arg__1, (void*)&arg__2}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QSignalTransition::eventFilter(arg__1, arg__2); +} +bool PythonQtShell_QSignalTransition::eventTest(QEvent* event) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "eventTest"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue; + void* args[2] = {NULL, (void*)&event}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("eventTest", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QSignalTransition::eventTest(event); +} +void PythonQtShell_QSignalTransition::onTransition(QEvent* event) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "onTransition"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&event}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QSignalTransition::onTransition(event); +} +void PythonQtShell_QSignalTransition::timerEvent(QTimerEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "timerEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QTimerEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QSignalTransition::timerEvent(arg__1); +} +QSignalTransition* PythonQtWrapper_QSignalTransition::new_QSignalTransition(QObject* sender, const char* signal, QState* sourceState) +{ +return new PythonQtShell_QSignalTransition(sender, signal, sourceState); } + +QSignalTransition* PythonQtWrapper_QSignalTransition::new_QSignalTransition(QState* sourceState) +{ +return new PythonQtShell_QSignalTransition(sourceState); } + +bool PythonQtWrapper_QSignalTransition::event(QSignalTransition* theWrappedObject, QEvent* e) +{ + return ( ((PythonQtPublicPromoter_QSignalTransition*)theWrappedObject)->promoted_event(e)); +} + +bool PythonQtWrapper_QSignalTransition::eventTest(QSignalTransition* theWrappedObject, QEvent* event) +{ + return ( ((PythonQtPublicPromoter_QSignalTransition*)theWrappedObject)->promoted_eventTest(event)); +} + +void PythonQtWrapper_QSignalTransition::onTransition(QSignalTransition* theWrappedObject, QEvent* event) +{ + ( ((PythonQtPublicPromoter_QSignalTransition*)theWrappedObject)->promoted_onTransition(event)); +} + +QObject* PythonQtWrapper_QSignalTransition::senderObject(QSignalTransition* theWrappedObject) const +{ + return ( theWrappedObject->senderObject()); +} + +void PythonQtWrapper_QSignalTransition::setSenderObject(QSignalTransition* theWrappedObject, 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()); +} + + + +void PythonQtShell_QSocketNotifier::childEvent(QChildEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "childEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QChildEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QSocketNotifier::childEvent(arg__1); +} +void PythonQtShell_QSocketNotifier::customEvent(QEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "customEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QSocketNotifier::customEvent(arg__1); +} +bool PythonQtShell_QSocketNotifier::event(QEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "event"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue; + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QSocketNotifier::event(arg__1); +} +bool PythonQtShell_QSocketNotifier::eventFilter(QObject* arg__1, QEvent* arg__2) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "eventFilter"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue; + void* args[3] = {NULL, (void*)&arg__1, (void*)&arg__2}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QSocketNotifier::eventFilter(arg__1, arg__2); +} +void PythonQtShell_QSocketNotifier::timerEvent(QTimerEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "timerEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QTimerEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QSocketNotifier::timerEvent(arg__1); +} +QSocketNotifier* PythonQtWrapper_QSocketNotifier::new_QSocketNotifier(int socket, QSocketNotifier::Type arg__2, QObject* parent) +{ +return new PythonQtShell_QSocketNotifier(socket, arg__2, parent); } + +bool PythonQtWrapper_QSocketNotifier::event(QSocketNotifier* theWrappedObject, QEvent* arg__1) +{ + return ( ((PythonQtPublicPromoter_QSocketNotifier*)theWrappedObject)->promoted_event(arg__1)); +} + +bool PythonQtWrapper_QSocketNotifier::isEnabled(QSocketNotifier* theWrappedObject) const +{ + return ( theWrappedObject->isEnabled()); +} + +int PythonQtWrapper_QSocketNotifier::socket(QSocketNotifier* theWrappedObject) const +{ + return ( theWrappedObject->socket()); +} + +QSocketNotifier::Type PythonQtWrapper_QSocketNotifier::type(QSocketNotifier* theWrappedObject) const +{ + return ( theWrappedObject->type()); +} + + + +void PythonQtShell_QState::childEvent(QChildEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "childEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QChildEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QState::childEvent(arg__1); +} +void PythonQtShell_QState::customEvent(QEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "customEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QState::customEvent(arg__1); +} +bool PythonQtShell_QState::event(QEvent* e) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "event"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue; + void* args[2] = {NULL, (void*)&e}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QState::event(e); +} +bool PythonQtShell_QState::eventFilter(QObject* arg__1, QEvent* arg__2) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "eventFilter"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue; + void* args[3] = {NULL, (void*)&arg__1, (void*)&arg__2}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QState::eventFilter(arg__1, arg__2); +} +void PythonQtShell_QState::onEntry(QEvent* event) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "onEntry"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&event}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QState::onEntry(event); +} +void PythonQtShell_QState::onExit(QEvent* event) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "onExit"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&event}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QState::onExit(event); +} +void PythonQtShell_QState::timerEvent(QTimerEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "timerEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QTimerEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QState::timerEvent(arg__1); +} +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); } + +QAbstractTransition* PythonQtWrapper_QState::addTransition(QState* theWrappedObject, QAbstractState* target) +{ + return ( theWrappedObject->addTransition(target)); +} + +void PythonQtWrapper_QState::addTransition(QState* theWrappedObject, QAbstractTransition* transition) +{ + ( theWrappedObject->addTransition(transition)); +} + +QSignalTransition* PythonQtWrapper_QState::addTransition(QState* theWrappedObject, QObject* sender, const char* signal, QAbstractState* target) +{ + return ( theWrappedObject->addTransition(sender, signal, target)); +} + +void PythonQtWrapper_QState::assignProperty(QState* theWrappedObject, QObject* object, const char* name, const QVariant& value) +{ + ( theWrappedObject->assignProperty(object, name, value)); +} + +QState::ChildMode PythonQtWrapper_QState::childMode(QState* theWrappedObject) const +{ + return ( theWrappedObject->childMode()); +} + +QAbstractState* PythonQtWrapper_QState::errorState(QState* theWrappedObject) const +{ + return ( theWrappedObject->errorState()); +} + +bool PythonQtWrapper_QState::event(QState* theWrappedObject, QEvent* e) +{ + return ( ((PythonQtPublicPromoter_QState*)theWrappedObject)->promoted_event(e)); +} + +QAbstractState* PythonQtWrapper_QState::initialState(QState* theWrappedObject) const +{ + return ( theWrappedObject->initialState()); +} + +void PythonQtWrapper_QState::onEntry(QState* theWrappedObject, QEvent* event) +{ + ( ((PythonQtPublicPromoter_QState*)theWrappedObject)->promoted_onEntry(event)); +} + +void PythonQtWrapper_QState::onExit(QState* theWrappedObject, QEvent* event) +{ + ( ((PythonQtPublicPromoter_QState*)theWrappedObject)->promoted_onExit(event)); +} + +void PythonQtWrapper_QState::removeTransition(QState* theWrappedObject, QAbstractTransition* 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)); +} + + + +void PythonQtShell_QStateMachine::beginMicrostep(QEvent* event) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "beginMicrostep"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&event}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QStateMachine::beginMicrostep(event); +} +void PythonQtShell_QStateMachine::beginSelectTransitions(QEvent* event) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "beginSelectTransitions"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&event}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QStateMachine::beginSelectTransitions(event); +} +void PythonQtShell_QStateMachine::childEvent(QChildEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "childEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QChildEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QStateMachine::childEvent(arg__1); +} +void PythonQtShell_QStateMachine::customEvent(QEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "customEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QStateMachine::customEvent(arg__1); +} +void PythonQtShell_QStateMachine::endMicrostep(QEvent* event) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "endMicrostep"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&event}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QStateMachine::endMicrostep(event); +} +void PythonQtShell_QStateMachine::endSelectTransitions(QEvent* event) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "endSelectTransitions"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&event}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QStateMachine::endSelectTransitions(event); +} +bool PythonQtShell_QStateMachine::event(QEvent* e) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "event"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue; + void* args[2] = {NULL, (void*)&e}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QStateMachine::event(e); +} +bool PythonQtShell_QStateMachine::eventFilter(QObject* watched, QEvent* event) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "eventFilter"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue; + void* args[3] = {NULL, (void*)&watched, (void*)&event}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QStateMachine::eventFilter(watched, event); +} +void PythonQtShell_QStateMachine::onEntry(QEvent* event) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "onEntry"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&event}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QStateMachine::onEntry(event); +} +void PythonQtShell_QStateMachine::onExit(QEvent* event) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "onExit"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&event}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QStateMachine::onExit(event); +} +void PythonQtShell_QStateMachine::timerEvent(QTimerEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "timerEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QTimerEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QStateMachine::timerEvent(arg__1); +} +QStateMachine* PythonQtWrapper_QStateMachine::new_QStateMachine(QObject* parent) +{ +return new PythonQtShell_QStateMachine(parent); } + +void PythonQtWrapper_QStateMachine::addDefaultAnimation(QStateMachine* theWrappedObject, QAbstractAnimation* animation) +{ + ( theWrappedObject->addDefaultAnimation(animation)); +} + +void PythonQtWrapper_QStateMachine::addState(QStateMachine* theWrappedObject, QAbstractState* state) +{ + ( theWrappedObject->addState(state)); +} + +void PythonQtWrapper_QStateMachine::beginMicrostep(QStateMachine* theWrappedObject, QEvent* event) +{ + ( ((PythonQtPublicPromoter_QStateMachine*)theWrappedObject)->promoted_beginMicrostep(event)); +} + +void PythonQtWrapper_QStateMachine::beginSelectTransitions(QStateMachine* theWrappedObject, QEvent* event) +{ + ( ((PythonQtPublicPromoter_QStateMachine*)theWrappedObject)->promoted_beginSelectTransitions(event)); +} + +bool PythonQtWrapper_QStateMachine::cancelDelayedEvent(QStateMachine* theWrappedObject, int id) +{ + return ( theWrappedObject->cancelDelayedEvent(id)); +} + +void PythonQtWrapper_QStateMachine::clearError(QStateMachine* theWrappedObject) +{ + ( theWrappedObject->clearError()); +} + +QSet PythonQtWrapper_QStateMachine::configuration(QStateMachine* theWrappedObject) const +{ + return ( theWrappedObject->configuration()); +} + +QList PythonQtWrapper_QStateMachine::defaultAnimations(QStateMachine* theWrappedObject) const +{ + return ( theWrappedObject->defaultAnimations()); +} + +void PythonQtWrapper_QStateMachine::endMicrostep(QStateMachine* theWrappedObject, QEvent* event) +{ + ( ((PythonQtPublicPromoter_QStateMachine*)theWrappedObject)->promoted_endMicrostep(event)); +} + +void PythonQtWrapper_QStateMachine::endSelectTransitions(QStateMachine* theWrappedObject, QEvent* event) +{ + ( ((PythonQtPublicPromoter_QStateMachine*)theWrappedObject)->promoted_endSelectTransitions(event)); +} + +QStateMachine::Error PythonQtWrapper_QStateMachine::error(QStateMachine* theWrappedObject) const +{ + return ( theWrappedObject->error()); +} + +QString PythonQtWrapper_QStateMachine::errorString(QStateMachine* theWrappedObject) const +{ + return ( theWrappedObject->errorString()); +} + +bool PythonQtWrapper_QStateMachine::event(QStateMachine* theWrappedObject, QEvent* e) +{ + return ( ((PythonQtPublicPromoter_QStateMachine*)theWrappedObject)->promoted_event(e)); +} + +bool PythonQtWrapper_QStateMachine::eventFilter(QStateMachine* theWrappedObject, QObject* watched, QEvent* event) +{ + return ( ((PythonQtPublicPromoter_QStateMachine*)theWrappedObject)->promoted_eventFilter(watched, event)); +} + +QStateMachine::RestorePolicy PythonQtWrapper_QStateMachine::globalRestorePolicy(QStateMachine* theWrappedObject) const +{ + return ( theWrappedObject->globalRestorePolicy()); +} + +bool PythonQtWrapper_QStateMachine::isAnimated(QStateMachine* theWrappedObject) const +{ + return ( theWrappedObject->isAnimated()); +} + +bool PythonQtWrapper_QStateMachine::isRunning(QStateMachine* theWrappedObject) const +{ + return ( theWrappedObject->isRunning()); +} + +void PythonQtWrapper_QStateMachine::onEntry(QStateMachine* theWrappedObject, QEvent* event) +{ + ( ((PythonQtPublicPromoter_QStateMachine*)theWrappedObject)->promoted_onEntry(event)); +} + +void PythonQtWrapper_QStateMachine::onExit(QStateMachine* theWrappedObject, QEvent* event) +{ + ( ((PythonQtPublicPromoter_QStateMachine*)theWrappedObject)->promoted_onExit(event)); +} + +int PythonQtWrapper_QStateMachine::postDelayedEvent(QStateMachine* theWrappedObject, QEvent* event, int delay) +{ + return ( theWrappedObject->postDelayedEvent(event, delay)); +} + +void PythonQtWrapper_QStateMachine::postEvent(QStateMachine* theWrappedObject, QEvent* event, QStateMachine::EventPriority priority) +{ + ( theWrappedObject->postEvent(event, priority)); +} + +void PythonQtWrapper_QStateMachine::removeDefaultAnimation(QStateMachine* theWrappedObject, QAbstractAnimation* animation) +{ + ( theWrappedObject->removeDefaultAnimation(animation)); +} + +void PythonQtWrapper_QStateMachine::removeState(QStateMachine* theWrappedObject, QAbstractState* state) +{ + ( theWrappedObject->removeState(state)); +} + +void PythonQtWrapper_QStateMachine::setAnimated(QStateMachine* theWrappedObject, bool enabled) +{ + ( theWrappedObject->setAnimated(enabled)); +} + +void PythonQtWrapper_QStateMachine::setGlobalRestorePolicy(QStateMachine* theWrappedObject, QStateMachine::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()); +} + +int PythonQtWrapper_QStateMachine_SignalEvent::signalIndex(QStateMachine::SignalEvent* theWrappedObject) const +{ + return ( theWrappedObject->signalIndex()); +} + + + +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 +{ + return ( theWrappedObject->event()); +} + +QObject* PythonQtWrapper_QStateMachine_WrappedEvent::object(QStateMachine::WrappedEvent* theWrappedObject) const +{ + return ( theWrappedObject->object()); +} + + + +QStringMatcher* PythonQtWrapper_QStringMatcher::new_QStringMatcher() +{ +return new QStringMatcher(); } + +QStringMatcher* PythonQtWrapper_QStringMatcher::new_QStringMatcher(const QString& pattern, Qt::CaseSensitivity cs) +{ +return new QStringMatcher(pattern, cs); } + +QStringMatcher* PythonQtWrapper_QStringMatcher::new_QStringMatcher(const QStringMatcher& other) +{ +return new QStringMatcher(other); } + +Qt::CaseSensitivity PythonQtWrapper_QStringMatcher::caseSensitivity(QStringMatcher* theWrappedObject) const +{ + return ( theWrappedObject->caseSensitivity()); +} + +int PythonQtWrapper_QStringMatcher::indexIn(QStringMatcher* theWrappedObject, const QString& str, int from) const +{ + return ( theWrappedObject->indexIn(str, from)); +} + +QString PythonQtWrapper_QStringMatcher::pattern(QStringMatcher* theWrappedObject) const +{ + return ( theWrappedObject->pattern()); +} + +void PythonQtWrapper_QStringMatcher::setCaseSensitivity(QStringMatcher* theWrappedObject, Qt::CaseSensitivity cs) +{ + ( theWrappedObject->setCaseSensitivity(cs)); +} + +void PythonQtWrapper_QStringMatcher::setPattern(QStringMatcher* theWrappedObject, const QString& pattern) +{ + ( theWrappedObject->setPattern(pattern)); +} + + + +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()); +} + +QSystemSemaphore::SystemSemaphoreError PythonQtWrapper_QSystemSemaphore::error(QSystemSemaphore* theWrappedObject) const +{ + return ( theWrappedObject->error()); +} + +QString PythonQtWrapper_QSystemSemaphore::errorString(QSystemSemaphore* theWrappedObject) const +{ + return ( theWrappedObject->errorString()); +} + +QString PythonQtWrapper_QSystemSemaphore::key(QSystemSemaphore* theWrappedObject) const +{ + return ( theWrappedObject->key()); +} + +bool PythonQtWrapper_QSystemSemaphore::release(QSystemSemaphore* theWrappedObject, int n) +{ + return ( theWrappedObject->release(n)); +} + +void PythonQtWrapper_QSystemSemaphore::setKey(QSystemSemaphore* theWrappedObject, const QString& key, int initialValue, QSystemSemaphore::AccessMode mode) +{ + ( theWrappedObject->setKey(key, initialValue, mode)); +} + + + +bool PythonQtShell_QTemporaryFile::atEnd() const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "atEnd"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + bool returnValue; + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("atEnd", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QTemporaryFile::atEnd(); +} +qint64 PythonQtShell_QTemporaryFile::bytesAvailable() const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "bytesAvailable"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"qint64"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + qint64 returnValue; + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("bytesAvailable", methodInfo, result); + } else { + returnValue = *((qint64*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QTemporaryFile::bytesAvailable(); +} +qint64 PythonQtShell_QTemporaryFile::bytesToWrite() const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "bytesToWrite"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"qint64"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + qint64 returnValue; + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("bytesToWrite", methodInfo, result); + } else { + returnValue = *((qint64*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QTemporaryFile::bytesToWrite(); +} +bool PythonQtShell_QTemporaryFile::canReadLine() const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "canReadLine"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + bool returnValue; + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("canReadLine", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QTemporaryFile::canReadLine(); +} +void PythonQtShell_QTemporaryFile::childEvent(QChildEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "childEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QChildEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QTemporaryFile::childEvent(arg__1); +} +void PythonQtShell_QTemporaryFile::close() +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "close"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={""}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QTemporaryFile::close(); +} +void PythonQtShell_QTemporaryFile::customEvent(QEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "customEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QTemporaryFile::customEvent(arg__1); +} +bool PythonQtShell_QTemporaryFile::event(QEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "event"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue; + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QTemporaryFile::event(arg__1); +} +bool PythonQtShell_QTemporaryFile::eventFilter(QObject* arg__1, QEvent* arg__2) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "eventFilter"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue; + void* args[3] = {NULL, (void*)&arg__1, (void*)&arg__2}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QTemporaryFile::eventFilter(arg__1, arg__2); +} +QAbstractFileEngine* PythonQtShell_QTemporaryFile::fileEngine() const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "fileEngine"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QAbstractFileEngine*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QAbstractFileEngine* returnValue; + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("fileEngine", methodInfo, result); + } else { + returnValue = *((QAbstractFileEngine**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QTemporaryFile::fileEngine(); +} +bool PythonQtShell_QTemporaryFile::isSequential() const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "isSequential"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + bool returnValue; + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("isSequential", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QTemporaryFile::isSequential(); +} +bool PythonQtShell_QTemporaryFile::open(QIODevice::OpenMode flags) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "open"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "QIODevice::OpenMode"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue; + void* args[2] = {NULL, (void*)&flags}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("open", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QTemporaryFile::open(flags); +} +qint64 PythonQtShell_QTemporaryFile::pos() const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "pos"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"qint64"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + qint64 returnValue; + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("pos", methodInfo, result); + } else { + returnValue = *((qint64*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QTemporaryFile::pos(); +} +qint64 PythonQtShell_QTemporaryFile::readData(char* data, qint64 maxlen) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "readData"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"qint64" , "char*" , "qint64"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + qint64 returnValue; + void* args[3] = {NULL, (void*)&data, (void*)&maxlen}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("readData", methodInfo, result); + } else { + returnValue = *((qint64*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QTemporaryFile::readData(data, maxlen); +} +qint64 PythonQtShell_QTemporaryFile::readLineData(char* data, qint64 maxlen) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "readLineData"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"qint64" , "char*" , "qint64"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + qint64 returnValue; + void* args[3] = {NULL, (void*)&data, (void*)&maxlen}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("readLineData", methodInfo, result); + } else { + returnValue = *((qint64*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QTemporaryFile::readLineData(data, maxlen); +} +bool PythonQtShell_QTemporaryFile::reset() +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "reset"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + bool returnValue; + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("reset", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QTemporaryFile::reset(); +} +bool PythonQtShell_QTemporaryFile::seek(qint64 offset) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "seek"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "qint64"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue; + void* args[2] = {NULL, (void*)&offset}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("seek", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QTemporaryFile::seek(offset); +} +qint64 PythonQtShell_QTemporaryFile::size() const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "size"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"qint64"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + qint64 returnValue; + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("size", methodInfo, result); + } else { + returnValue = *((qint64*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QTemporaryFile::size(); +} +void PythonQtShell_QTemporaryFile::timerEvent(QTimerEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "timerEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QTimerEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QTemporaryFile::timerEvent(arg__1); +} +bool PythonQtShell_QTemporaryFile::waitForBytesWritten(int msecs) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "waitForBytesWritten"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue; + void* args[2] = {NULL, (void*)&msecs}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("waitForBytesWritten", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QTemporaryFile::waitForBytesWritten(msecs); +} +bool PythonQtShell_QTemporaryFile::waitForReadyRead(int msecs) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "waitForReadyRead"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue; + void* args[2] = {NULL, (void*)&msecs}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("waitForReadyRead", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QTemporaryFile::waitForReadyRead(msecs); +} +qint64 PythonQtShell_QTemporaryFile::writeData(const char* data, qint64 len) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "writeData"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"qint64" , "const char*" , "qint64"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + qint64 returnValue; + void* args[3] = {NULL, (void*)&data, (void*)&len}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("writeData", methodInfo, result); + } else { + returnValue = *((qint64*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QTemporaryFile::writeData(data, len); +} +QTemporaryFile* PythonQtWrapper_QTemporaryFile::new_QTemporaryFile() +{ +return new PythonQtShell_QTemporaryFile(); } + +QTemporaryFile* PythonQtWrapper_QTemporaryFile::new_QTemporaryFile(QObject* parent) +{ +return new PythonQtShell_QTemporaryFile(parent); } + +QTemporaryFile* PythonQtWrapper_QTemporaryFile::new_QTemporaryFile(const QString& templateName) +{ +return new PythonQtShell_QTemporaryFile(templateName); } + +QTemporaryFile* PythonQtWrapper_QTemporaryFile::new_QTemporaryFile(const QString& templateName, QObject* parent) +{ +return new PythonQtShell_QTemporaryFile(templateName, parent); } + +bool PythonQtWrapper_QTemporaryFile::autoRemove(QTemporaryFile* theWrappedObject) const +{ + return ( theWrappedObject->autoRemove()); +} + +QTemporaryFile* PythonQtWrapper_QTemporaryFile::static_QTemporaryFile_createLocalFile(QFile& file) +{ + return (QTemporaryFile::createLocalFile(file)); +} + +QTemporaryFile* PythonQtWrapper_QTemporaryFile::static_QTemporaryFile_createLocalFile(const QString& fileName) +{ + return (QTemporaryFile::createLocalFile(fileName)); +} + +QAbstractFileEngine* PythonQtWrapper_QTemporaryFile::fileEngine(QTemporaryFile* theWrappedObject) const +{ + return ( ((PythonQtPublicPromoter_QTemporaryFile*)theWrappedObject)->promoted_fileEngine()); +} + +QString PythonQtWrapper_QTemporaryFile::fileName(QTemporaryFile* theWrappedObject) const +{ + return ( theWrappedObject->fileName()); +} + +QString PythonQtWrapper_QTemporaryFile::fileTemplate(QTemporaryFile* theWrappedObject) const +{ + return ( theWrappedObject->fileTemplate()); +} + +bool PythonQtWrapper_QTemporaryFile::open(QTemporaryFile* theWrappedObject) +{ + return ( theWrappedObject->open()); +} + +bool PythonQtWrapper_QTemporaryFile::open(QTemporaryFile* theWrappedObject, QIODevice::OpenMode flags) +{ + return ( ((PythonQtPublicPromoter_QTemporaryFile*)theWrappedObject)->promoted_open(flags)); +} + +void PythonQtWrapper_QTemporaryFile::setAutoRemove(QTemporaryFile* theWrappedObject, bool b) +{ + ( theWrappedObject->setAutoRemove(b)); +} + +void PythonQtWrapper_QTemporaryFile::setFileTemplate(QTemporaryFile* theWrappedObject, const QString& name) +{ + ( theWrappedObject->setFileTemplate(name)); +} + + + +QTextBoundaryFinder* PythonQtWrapper_QTextBoundaryFinder::new_QTextBoundaryFinder() +{ +return new QTextBoundaryFinder(); } + +QTextBoundaryFinder* PythonQtWrapper_QTextBoundaryFinder::new_QTextBoundaryFinder(QTextBoundaryFinder::BoundaryType type, const QString& string) +{ +return new QTextBoundaryFinder(type, string); } + +QTextBoundaryFinder* PythonQtWrapper_QTextBoundaryFinder::new_QTextBoundaryFinder(const QTextBoundaryFinder& other) +{ +return new QTextBoundaryFinder(other); } + +QTextBoundaryFinder::BoundaryReasons PythonQtWrapper_QTextBoundaryFinder::boundaryReasons(QTextBoundaryFinder* theWrappedObject) const +{ + return ( theWrappedObject->boundaryReasons()); +} + +bool PythonQtWrapper_QTextBoundaryFinder::isAtBoundary(QTextBoundaryFinder* theWrappedObject) const +{ + return ( theWrappedObject->isAtBoundary()); +} + +bool PythonQtWrapper_QTextBoundaryFinder::isValid(QTextBoundaryFinder* theWrappedObject) const +{ + return ( theWrappedObject->isValid()); +} + +int PythonQtWrapper_QTextBoundaryFinder::position(QTextBoundaryFinder* theWrappedObject) const +{ + return ( theWrappedObject->position()); +} + +void PythonQtWrapper_QTextBoundaryFinder::setPosition(QTextBoundaryFinder* theWrappedObject, int position) +{ + ( theWrappedObject->setPosition(position)); +} + +QString PythonQtWrapper_QTextBoundaryFinder::string(QTextBoundaryFinder* theWrappedObject) const +{ + return ( theWrappedObject->string()); +} + +void PythonQtWrapper_QTextBoundaryFinder::toEnd(QTextBoundaryFinder* theWrappedObject) +{ + ( theWrappedObject->toEnd()); +} + +int PythonQtWrapper_QTextBoundaryFinder::toNextBoundary(QTextBoundaryFinder* theWrappedObject) +{ + return ( theWrappedObject->toNextBoundary()); +} + +int PythonQtWrapper_QTextBoundaryFinder::toPreviousBoundary(QTextBoundaryFinder* theWrappedObject) +{ + return ( theWrappedObject->toPreviousBoundary()); +} + +void PythonQtWrapper_QTextBoundaryFinder::toStart(QTextBoundaryFinder* theWrappedObject) +{ + ( theWrappedObject->toStart()); +} + +QTextBoundaryFinder::BoundaryType PythonQtWrapper_QTextBoundaryFinder::type(QTextBoundaryFinder* theWrappedObject) const +{ + return ( theWrappedObject->type()); +} + + + +QList PythonQtShell_QTextCodec::aliases() const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "aliases"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QList"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QList returnValue; + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("aliases", methodInfo, result); + } else { + returnValue = *((QList*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QTextCodec::aliases(); +} +QByteArray PythonQtShell_QTextCodec::convertFromUnicode(const QChar* in, int length, QTextCodec::ConverterState* state) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "convertFromUnicode"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QByteArray" , "const QChar*" , "int" , "QTextCodec::ConverterState*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + QByteArray returnValue; + void* args[4] = {NULL, (void*)&in, (void*)&length, (void*)&state}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("convertFromUnicode", methodInfo, result); + } else { + returnValue = *((QByteArray*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QByteArray(); +} +QString PythonQtShell_QTextCodec::convertToUnicode(const char* in, int length, QTextCodec::ConverterState* state) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "convertToUnicode"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QString" , "const char*" , "int" , "QTextCodec::ConverterState*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + QString returnValue; + void* args[4] = {NULL, (void*)&in, (void*)&length, (void*)&state}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("convertToUnicode", methodInfo, result); + } else { + returnValue = *((QString*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QString(); +} +int PythonQtShell_QTextCodec::mibEnum() const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mibEnum"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + int returnValue; + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("mibEnum", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return int(); +} +QByteArray PythonQtShell_QTextCodec::name() const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "name"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QByteArray"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QByteArray returnValue; + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("name", methodInfo, result); + } else { + returnValue = *((QByteArray*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QByteArray(); +} +QList PythonQtWrapper_QTextCodec::aliases(QTextCodec* theWrappedObject) const +{ + return ( ((PythonQtPublicPromoter_QTextCodec*)theWrappedObject)->promoted_aliases()); +} + +QList PythonQtWrapper_QTextCodec::static_QTextCodec_availableCodecs() +{ + return (QTextCodec::availableCodecs()); +} + +QList PythonQtWrapper_QTextCodec::static_QTextCodec_availableMibs() +{ + return (QTextCodec::availableMibs()); +} + +bool PythonQtWrapper_QTextCodec::canEncode(QTextCodec* theWrappedObject, QChar arg__1) const +{ + return ( theWrappedObject->canEncode(arg__1)); +} + +bool PythonQtWrapper_QTextCodec::canEncode(QTextCodec* theWrappedObject, const QString& arg__1) const +{ + return ( theWrappedObject->canEncode(arg__1)); +} + +QTextCodec* PythonQtWrapper_QTextCodec::static_QTextCodec_codecForCStrings() +{ + return (QTextCodec::codecForCStrings()); +} + +QTextCodec* PythonQtWrapper_QTextCodec::static_QTextCodec_codecForHtml(const QByteArray& ba) +{ + return (QTextCodec::codecForHtml(ba)); +} + +QTextCodec* PythonQtWrapper_QTextCodec::static_QTextCodec_codecForHtml(const QByteArray& ba, QTextCodec* defaultCodec) +{ + return (QTextCodec::codecForHtml(ba, defaultCodec)); +} + +QTextCodec* PythonQtWrapper_QTextCodec::static_QTextCodec_codecForLocale() +{ + return (QTextCodec::codecForLocale()); +} + +QTextCodec* PythonQtWrapper_QTextCodec::static_QTextCodec_codecForMib(int mib) +{ + return (QTextCodec::codecForMib(mib)); +} + +QTextCodec* PythonQtWrapper_QTextCodec::static_QTextCodec_codecForName(const QByteArray& name) +{ + return (QTextCodec::codecForName(name)); +} + +QTextCodec* PythonQtWrapper_QTextCodec::static_QTextCodec_codecForName(const char* name) +{ + return (QTextCodec::codecForName(name)); +} + +QTextCodec* PythonQtWrapper_QTextCodec::static_QTextCodec_codecForUtfText(const QByteArray& ba) +{ + return (QTextCodec::codecForUtfText(ba)); +} + +QTextCodec* PythonQtWrapper_QTextCodec::static_QTextCodec_codecForUtfText(const QByteArray& ba, QTextCodec* defaultCodec) +{ + return (QTextCodec::codecForUtfText(ba, defaultCodec)); +} + +QByteArray PythonQtWrapper_QTextCodec::fromUnicode(QTextCodec* theWrappedObject, const QString& uc) const +{ + return ( theWrappedObject->fromUnicode(uc)); +} + +QTextDecoder* PythonQtWrapper_QTextCodec::makeDecoder(QTextCodec* theWrappedObject) const +{ + return ( theWrappedObject->makeDecoder()); +} + +QTextEncoder* PythonQtWrapper_QTextCodec::makeEncoder(QTextCodec* theWrappedObject) const +{ + return ( theWrappedObject->makeEncoder()); +} + +void PythonQtWrapper_QTextCodec::static_QTextCodec_setCodecForCStrings(QTextCodec* c) +{ + (QTextCodec::setCodecForCStrings(c)); +} + +void PythonQtWrapper_QTextCodec::static_QTextCodec_setCodecForLocale(QTextCodec* c) +{ + (QTextCodec::setCodecForLocale(c)); +} + +void PythonQtWrapper_QTextCodec::static_QTextCodec_setCodecForTr(QTextCodec* c) +{ + (QTextCodec::setCodecForTr(c)); +} + +QString PythonQtWrapper_QTextCodec::toUnicode(QTextCodec* theWrappedObject, const QByteArray& arg__1) const +{ + return ( theWrappedObject->toUnicode(arg__1)); +} + + + +QTextDecoder* PythonQtWrapper_QTextDecoder::new_QTextDecoder(const QTextCodec* codec) +{ +return new QTextDecoder(codec); } + +bool PythonQtWrapper_QTextDecoder::hasFailure(QTextDecoder* theWrappedObject) const +{ + return ( theWrappedObject->hasFailure()); +} + +QString PythonQtWrapper_QTextDecoder::toUnicode(QTextDecoder* theWrappedObject, const QByteArray& ba) +{ + return ( theWrappedObject->toUnicode(ba)); +} + + + +QTextEncoder* PythonQtWrapper_QTextEncoder::new_QTextEncoder(const QTextCodec* codec) +{ +return new QTextEncoder(codec); } + +QByteArray PythonQtWrapper_QTextEncoder::fromUnicode(QTextEncoder* theWrappedObject, const QString& str) +{ + return ( theWrappedObject->fromUnicode(str)); +} + +bool PythonQtWrapper_QTextEncoder::hasFailure(QTextEncoder* theWrappedObject) const +{ + return ( theWrappedObject->hasFailure()); +} + + + +QTextStream* PythonQtWrapper_QTextStream::new_QTextStream() +{ +return new PythonQtShell_QTextStream(); } + +QTextStream* PythonQtWrapper_QTextStream::new_QTextStream(QIODevice* device) +{ +return new PythonQtShell_QTextStream(device); } + +QTextStream* PythonQtWrapper_QTextStream::new_QTextStream(const QByteArray& array, QIODevice::OpenMode openMode) +{ +return new PythonQtShell_QTextStream(array, openMode); } + +bool PythonQtWrapper_QTextStream::atEnd(QTextStream* theWrappedObject) const +{ + return ( theWrappedObject->atEnd()); +} + +bool PythonQtWrapper_QTextStream::autoDetectUnicode(QTextStream* theWrappedObject) const +{ + return ( theWrappedObject->autoDetectUnicode()); +} + +QTextCodec* PythonQtWrapper_QTextStream::codec(QTextStream* theWrappedObject) const +{ + return ( theWrappedObject->codec()); +} + +QIODevice* PythonQtWrapper_QTextStream::device(QTextStream* theWrappedObject) const +{ + return ( theWrappedObject->device()); +} + +QTextStream::FieldAlignment PythonQtWrapper_QTextStream::fieldAlignment(QTextStream* theWrappedObject) const +{ + return ( theWrappedObject->fieldAlignment()); +} + +int PythonQtWrapper_QTextStream::fieldWidth(QTextStream* theWrappedObject) const +{ + return ( theWrappedObject->fieldWidth()); +} + +void PythonQtWrapper_QTextStream::flush(QTextStream* theWrappedObject) +{ + ( theWrappedObject->flush()); +} + +bool PythonQtWrapper_QTextStream::generateByteOrderMark(QTextStream* theWrappedObject) const +{ + return ( theWrappedObject->generateByteOrderMark()); +} + +int PythonQtWrapper_QTextStream::integerBase(QTextStream* theWrappedObject) const +{ + return ( theWrappedObject->integerBase()); +} + +QLocale PythonQtWrapper_QTextStream::locale(QTextStream* theWrappedObject) const +{ + return ( theWrappedObject->locale()); +} + +QTextStream::NumberFlags PythonQtWrapper_QTextStream::numberFlags(QTextStream* theWrappedObject) const +{ + return ( theWrappedObject->numberFlags()); +} + +QTextStream* PythonQtWrapper_QTextStream::writeBoolean(QTextStream* theWrappedObject, QBool b) +{ + return &( (*theWrappedObject) <>ch); +} + +QTextStream* PythonQtWrapper_QTextStream::readDouble(QTextStream* theWrappedObject, double& f) +{ + return &( (*theWrappedObject) >>f); +} + +QTextStream* PythonQtWrapper_QTextStream::readFloat(QTextStream* theWrappedObject, float& f) +{ + return &( (*theWrappedObject) >>f); +} + +QTextStream* PythonQtWrapper_QTextStream::readLongLong(QTextStream* theWrappedObject, qlonglong& i) +{ + return &( (*theWrappedObject) >>i); +} + +QTextStream* PythonQtWrapper_QTextStream::readInt(QTextStream* theWrappedObject, signed int& i) +{ + return &( (*theWrappedObject) >>i); +} + +QTextStream* PythonQtWrapper_QTextStream::readShort(QTextStream* theWrappedObject, signed short& i) +{ + return &( (*theWrappedObject) >>i); +} + +QChar PythonQtWrapper_QTextStream::padChar(QTextStream* theWrappedObject) const +{ + return ( theWrappedObject->padChar()); +} + +qint64 PythonQtWrapper_QTextStream::pos(QTextStream* theWrappedObject) const +{ + return ( theWrappedObject->pos()); +} + +QString PythonQtWrapper_QTextStream::read(QTextStream* theWrappedObject, qint64 maxlen) +{ + return ( theWrappedObject->read(maxlen)); +} + +QString PythonQtWrapper_QTextStream::readAll(QTextStream* theWrappedObject) +{ + return ( theWrappedObject->readAll()); +} + +QString PythonQtWrapper_QTextStream::readLine(QTextStream* theWrappedObject, qint64 maxlen) +{ + return ( theWrappedObject->readLine(maxlen)); +} + +QTextStream::RealNumberNotation PythonQtWrapper_QTextStream::realNumberNotation(QTextStream* theWrappedObject) const +{ + return ( theWrappedObject->realNumberNotation()); +} + +int PythonQtWrapper_QTextStream::realNumberPrecision(QTextStream* theWrappedObject) const +{ + return ( theWrappedObject->realNumberPrecision()); +} + +void PythonQtWrapper_QTextStream::reset(QTextStream* theWrappedObject) +{ + ( theWrappedObject->reset()); +} + +void PythonQtWrapper_QTextStream::resetStatus(QTextStream* theWrappedObject) +{ + ( theWrappedObject->resetStatus()); +} + +bool PythonQtWrapper_QTextStream::seek(QTextStream* theWrappedObject, qint64 pos) +{ + return ( theWrappedObject->seek(pos)); +} + +void PythonQtWrapper_QTextStream::setAutoDetectUnicode(QTextStream* theWrappedObject, bool enabled) +{ + ( theWrappedObject->setAutoDetectUnicode(enabled)); +} + +void PythonQtWrapper_QTextStream::setCodec(QTextStream* theWrappedObject, QTextCodec* codec) +{ + ( theWrappedObject->setCodec(codec)); +} + +void PythonQtWrapper_QTextStream::setCodec(QTextStream* theWrappedObject, const char* codecName) +{ + ( theWrappedObject->setCodec(codecName)); +} + +void PythonQtWrapper_QTextStream::setDevice(QTextStream* theWrappedObject, QIODevice* device) +{ + ( theWrappedObject->setDevice(device)); +} + +void PythonQtWrapper_QTextStream::setFieldAlignment(QTextStream* theWrappedObject, QTextStream::FieldAlignment alignment) +{ + ( theWrappedObject->setFieldAlignment(alignment)); +} + +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()); +} + + + +void PythonQtShell_QThreadPool::childEvent(QChildEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "childEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QChildEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QThreadPool::childEvent(arg__1); +} +void PythonQtShell_QThreadPool::customEvent(QEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "customEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QThreadPool::customEvent(arg__1); +} +bool PythonQtShell_QThreadPool::event(QEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "event"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue; + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QThreadPool::event(arg__1); +} +bool PythonQtShell_QThreadPool::eventFilter(QObject* arg__1, QEvent* arg__2) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "eventFilter"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue; + void* args[3] = {NULL, (void*)&arg__1, (void*)&arg__2}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QThreadPool::eventFilter(arg__1, arg__2); +} +void PythonQtShell_QThreadPool::timerEvent(QTimerEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "timerEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QTimerEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QThreadPool::timerEvent(arg__1); +} +QThreadPool* PythonQtWrapper_QThreadPool::new_QThreadPool(QObject* parent) +{ +return new PythonQtShell_QThreadPool(parent); } + +int PythonQtWrapper_QThreadPool::activeThreadCount(QThreadPool* theWrappedObject) const +{ + return ( theWrappedObject->activeThreadCount()); +} + +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::start(QThreadPool* theWrappedObject, QRunnable* runnable, int priority) +{ + ( theWrappedObject->start(runnable, priority)); +} + +bool PythonQtWrapper_QThreadPool::tryStart(QThreadPool* theWrappedObject, QRunnable* runnable) +{ + return ( theWrappedObject->tryStart(runnable)); +} + +void PythonQtWrapper_QThreadPool::waitForDone(QThreadPool* theWrappedObject) +{ + ( theWrappedObject->waitForDone()); +} + + + +void PythonQtShell_QTimeLine::childEvent(QChildEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "childEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QChildEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QTimeLine::childEvent(arg__1); +} +void PythonQtShell_QTimeLine::customEvent(QEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "customEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QTimeLine::customEvent(arg__1); +} +bool PythonQtShell_QTimeLine::event(QEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "event"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue; + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QTimeLine::event(arg__1); +} +bool PythonQtShell_QTimeLine::eventFilter(QObject* arg__1, QEvent* arg__2) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "eventFilter"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue; + void* args[3] = {NULL, (void*)&arg__1, (void*)&arg__2}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QTimeLine::eventFilter(arg__1, arg__2); +} +void PythonQtShell_QTimeLine::timerEvent(QTimerEvent* event) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "timerEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QTimerEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&event}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QTimeLine::timerEvent(event); +} +qreal PythonQtShell_QTimeLine::valueForTime(int msec) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "valueForTime"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"qreal" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + qreal returnValue; + void* args[2] = {NULL, (void*)&msec}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("valueForTime", methodInfo, result); + } else { + returnValue = *((qreal*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QTimeLine::valueForTime(msec); +} +QTimeLine* PythonQtWrapper_QTimeLine::new_QTimeLine(int duration, QObject* parent) +{ +return new PythonQtShell_QTimeLine(duration, parent); } + +int PythonQtWrapper_QTimeLine::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 +{ + return ( theWrappedObject->direction()); +} + +int PythonQtWrapper_QTimeLine::duration(QTimeLine* theWrappedObject) const +{ + return ( theWrappedObject->duration()); +} + +QEasingCurve PythonQtWrapper_QTimeLine::easingCurve(QTimeLine* theWrappedObject) const +{ + return ( theWrappedObject->easingCurve()); +} + +int PythonQtWrapper_QTimeLine::endFrame(QTimeLine* theWrappedObject) const +{ + return ( theWrappedObject->endFrame()); +} + +int PythonQtWrapper_QTimeLine::frameForTime(QTimeLine* theWrappedObject, int msec) const +{ + return ( theWrappedObject->frameForTime(msec)); +} + +int PythonQtWrapper_QTimeLine::loopCount(QTimeLine* theWrappedObject) const +{ + return ( theWrappedObject->loopCount()); +} + +void PythonQtWrapper_QTimeLine::setCurveShape(QTimeLine* theWrappedObject, QTimeLine::CurveShape shape) +{ + ( theWrappedObject->setCurveShape(shape)); +} + +void PythonQtWrapper_QTimeLine::setDirection(QTimeLine* theWrappedObject, QTimeLine::Direction direction) +{ + ( theWrappedObject->setDirection(direction)); +} + +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)); +} + +void PythonQtWrapper_QTimeLine::setFrameRange(QTimeLine* theWrappedObject, int startFrame, int endFrame) +{ + ( theWrappedObject->setFrameRange(startFrame, endFrame)); +} + +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)); +} + +int PythonQtWrapper_QTimeLine::startFrame(QTimeLine* theWrappedObject) const +{ + return ( theWrappedObject->startFrame()); +} + +QTimeLine::State PythonQtWrapper_QTimeLine::state(QTimeLine* theWrappedObject) const +{ + return ( theWrappedObject->state()); +} + +void PythonQtWrapper_QTimeLine::timerEvent(QTimeLine* theWrappedObject, QTimerEvent* event) +{ + ( ((PythonQtPublicPromoter_QTimeLine*)theWrappedObject)->promoted_timerEvent(event)); +} + +int PythonQtWrapper_QTimeLine::updateInterval(QTimeLine* theWrappedObject) const +{ + return ( theWrappedObject->updateInterval()); +} + +qreal PythonQtWrapper_QTimeLine::valueForTime(QTimeLine* theWrappedObject, int msec) const +{ + return ( ((PythonQtPublicPromoter_QTimeLine*)theWrappedObject)->promoted_valueForTime(msec)); +} + + + +void PythonQtShell_QTimer::childEvent(QChildEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "childEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QChildEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QTimer::childEvent(arg__1); +} +void PythonQtShell_QTimer::customEvent(QEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "customEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QTimer::customEvent(arg__1); +} +bool PythonQtShell_QTimer::event(QEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "event"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue; + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QTimer::event(arg__1); +} +bool PythonQtShell_QTimer::eventFilter(QObject* arg__1, QEvent* arg__2) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "eventFilter"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue; + void* args[3] = {NULL, (void*)&arg__1, (void*)&arg__2}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QTimer::eventFilter(arg__1, arg__2); +} +void PythonQtShell_QTimer::timerEvent(QTimerEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "timerEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QTimerEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QTimer::timerEvent(arg__1); +} +QTimer* PythonQtWrapper_QTimer::new_QTimer(QObject* parent) +{ +return new PythonQtShell_QTimer(parent); } + +int PythonQtWrapper_QTimer::interval(QTimer* theWrappedObject) const +{ + return ( theWrappedObject->interval()); +} + +bool PythonQtWrapper_QTimer::isActive(QTimer* theWrappedObject) const +{ + return ( theWrappedObject->isActive()); +} + +bool PythonQtWrapper_QTimer::isSingleShot(QTimer* theWrappedObject) const +{ + return ( theWrappedObject->isSingleShot()); +} + +void PythonQtWrapper_QTimer::setInterval(QTimer* theWrappedObject, int msec) +{ + ( theWrappedObject->setInterval(msec)); +} + +void PythonQtWrapper_QTimer::setSingleShot(QTimer* theWrappedObject, bool singleShot) +{ + ( theWrappedObject->setSingleShot(singleShot)); +} + +void PythonQtWrapper_QTimer::static_QTimer_singleShot(int msec, QObject* receiver, const char* member) +{ + (QTimer::singleShot(msec, receiver, member)); +} + +void PythonQtWrapper_QTimer::timerEvent(QTimer* theWrappedObject, QTimerEvent* arg__1) +{ + ( ((PythonQtPublicPromoter_QTimer*)theWrappedObject)->promoted_timerEvent(arg__1)); +} + +int PythonQtWrapper_QTimer::timerId(QTimer* theWrappedObject) const +{ + return ( theWrappedObject->timerId()); +} + + diff --git a/generated_cpp_47/com_trolltech_qt_core/com_trolltech_qt_core1.h b/generated_cpp_47/com_trolltech_qt_core/com_trolltech_qt_core1.h new file mode 100644 index 00000000..d2b3852f --- /dev/null +++ b/generated_cpp_47/com_trolltech_qt_core/com_trolltech_qt_core1.h @@ -0,0 +1,1300 @@ +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#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_QMutex : public QObject +{ Q_OBJECT +public: +Q_ENUMS(RecursionMode ) +enum RecursionMode{ + NonRecursive = QMutex::NonRecursive, Recursive = QMutex::Recursive}; +public slots: +QMutex* new_QMutex(QMutex::RecursionMode mode = QMutex::NonRecursive); +void delete_QMutex(QMutex* obj) { delete obj; } + void lock(QMutex* theWrappedObject); + bool tryLock(QMutex* theWrappedObject); + bool tryLock(QMutex* theWrappedObject, int timeout); + void unlock(QMutex* theWrappedObject); +}; + + + + + +class PythonQtShell_QObject : public QObject +{ +public: + PythonQtShell_QObject(QObject* parent = 0):QObject(parent),_wrapper(NULL) {}; + +virtual void childEvent(QChildEvent* arg__1); +virtual void customEvent(QEvent* arg__1); +virtual bool event(QEvent* arg__1); +virtual bool eventFilter(QObject* arg__1, QEvent* arg__2); +virtual void timerEvent(QTimerEvent* arg__1); + + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtPublicPromoter_QObject : public QObject +{ public: +inline void promoted_childEvent(QChildEvent* arg__1) { QObject::childEvent(arg__1); } +inline void promoted_customEvent(QEvent* arg__1) { QObject::customEvent(arg__1); } +inline bool promoted_event(QEvent* arg__1) { return QObject::event(arg__1); } +inline bool promoted_eventFilter(QObject* arg__1, QEvent* arg__2) { return QObject::eventFilter(arg__1, arg__2); } +inline void promoted_timerEvent(QTimerEvent* arg__1) { QObject::timerEvent(arg__1); } +}; + +class PythonQtWrapper_QObject : public QObject +{ Q_OBJECT +public: +public slots: +QObject* new_QObject(QObject* parent = 0); +void delete_QObject(QObject* obj) { delete obj; } + bool blockSignals(QObject* theWrappedObject, bool b); + void childEvent(QObject* theWrappedObject, QChildEvent* arg__1); + const QList* children(QObject* theWrappedObject) const; + void customEvent(QObject* theWrappedObject, QEvent* arg__1); + void dumpObjectInfo(QObject* theWrappedObject); + void dumpObjectTree(QObject* theWrappedObject); + QList dynamicPropertyNames(QObject* theWrappedObject) const; + bool event(QObject* theWrappedObject, QEvent* arg__1); + bool eventFilter(QObject* theWrappedObject, QObject* arg__1, QEvent* arg__2); + void installEventFilter(QObject* theWrappedObject, QObject* arg__1); + bool isWidgetType(QObject* theWrappedObject) const; + void killTimer(QObject* theWrappedObject, int id); + void moveToThread(QObject* theWrappedObject, QThread* thread); + QString objectName(QObject* theWrappedObject) const; + QObject* parent(QObject* theWrappedObject) const; + QVariant property(QObject* theWrappedObject, const char* name) const; + void removeEventFilter(QObject* theWrappedObject, QObject* arg__1); + void setObjectName(QObject* theWrappedObject, const QString& name); + void setParent(QObject* theWrappedObject, QObject* arg__1); + bool setProperty(QObject* theWrappedObject, const char* name, const QVariant& value); + bool signalsBlocked(QObject* theWrappedObject) const; + int startTimer(QObject* theWrappedObject, int interval); + QThread* thread(QObject* theWrappedObject) const; + void timerEvent(QObject* theWrappedObject, QTimerEvent* arg__1); +}; + + + + + +class PythonQtShell_QParallelAnimationGroup : public QParallelAnimationGroup +{ +public: + PythonQtShell_QParallelAnimationGroup(QObject* parent = 0):QParallelAnimationGroup(parent),_wrapper(NULL) {}; + +virtual void childEvent(QChildEvent* arg__1); +virtual void customEvent(QEvent* arg__1); +virtual int duration() const; +virtual bool event(QEvent* event); +virtual bool eventFilter(QObject* arg__1, QEvent* arg__2); +virtual void timerEvent(QTimerEvent* arg__1); +virtual void updateCurrentTime(int currentTime); +virtual void updateDirection(QAbstractAnimation::Direction direction); +virtual void updateState(QAbstractAnimation::State newState, QAbstractAnimation::State oldState); + + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtPublicPromoter_QParallelAnimationGroup : public QParallelAnimationGroup +{ public: +inline int promoted_duration() const { return QParallelAnimationGroup::duration(); } +inline bool promoted_event(QEvent* event) { return QParallelAnimationGroup::event(event); } +inline void promoted_updateCurrentTime(int currentTime) { QParallelAnimationGroup::updateCurrentTime(currentTime); } +inline void promoted_updateDirection(QAbstractAnimation::Direction direction) { QParallelAnimationGroup::updateDirection(direction); } +inline void promoted_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 = 0); +void delete_QParallelAnimationGroup(QParallelAnimationGroup* obj) { delete obj; } + int duration(QParallelAnimationGroup* theWrappedObject) const; + bool event(QParallelAnimationGroup* theWrappedObject, QEvent* event); + void updateCurrentTime(QParallelAnimationGroup* theWrappedObject, int currentTime); + void updateDirection(QParallelAnimationGroup* theWrappedObject, QAbstractAnimation::Direction direction); + void updateState(QParallelAnimationGroup* theWrappedObject, QAbstractAnimation::State newState, QAbstractAnimation::State oldState); +}; + + + + + +class PythonQtShell_QPauseAnimation : public QPauseAnimation +{ +public: + PythonQtShell_QPauseAnimation(QObject* parent = 0):QPauseAnimation(parent),_wrapper(NULL) {}; + PythonQtShell_QPauseAnimation(int msecs, QObject* parent = 0):QPauseAnimation(msecs, parent),_wrapper(NULL) {}; + +virtual void childEvent(QChildEvent* arg__1); +virtual void customEvent(QEvent* arg__1); +virtual int duration() const; +virtual bool event(QEvent* e); +virtual bool eventFilter(QObject* arg__1, QEvent* arg__2); +virtual void timerEvent(QTimerEvent* arg__1); +virtual void updateCurrentTime(int arg__1); +virtual void updateDirection(QAbstractAnimation::Direction direction); +virtual void updateState(QAbstractAnimation::State newState, QAbstractAnimation::State oldState); + + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtPublicPromoter_QPauseAnimation : public QPauseAnimation +{ public: +inline int promoted_duration() const { return QPauseAnimation::duration(); } +inline bool promoted_event(QEvent* e) { return QPauseAnimation::event(e); } +inline void promoted_updateCurrentTime(int arg__1) { QPauseAnimation::updateCurrentTime(arg__1); } +}; + +class PythonQtWrapper_QPauseAnimation : public QObject +{ Q_OBJECT +public: +public slots: +QPauseAnimation* new_QPauseAnimation(QObject* parent = 0); +QPauseAnimation* new_QPauseAnimation(int msecs, QObject* parent = 0); +void delete_QPauseAnimation(QPauseAnimation* obj) { delete obj; } + int duration(QPauseAnimation* theWrappedObject) const; + bool event(QPauseAnimation* theWrappedObject, QEvent* e); + void setDuration(QPauseAnimation* theWrappedObject, int msecs); + void updateCurrentTime(QPauseAnimation* theWrappedObject, int arg__1); +}; + + + + + +class PythonQtShell_QProcess : public QProcess +{ +public: + PythonQtShell_QProcess(QObject* parent = 0):QProcess(parent),_wrapper(NULL) {}; + +virtual bool atEnd() const; +virtual qint64 bytesAvailable() const; +virtual qint64 bytesToWrite() const; +virtual bool canReadLine() const; +virtual void childEvent(QChildEvent* arg__1); +virtual void close(); +virtual void customEvent(QEvent* arg__1); +virtual bool event(QEvent* arg__1); +virtual bool eventFilter(QObject* arg__1, QEvent* arg__2); +virtual bool isSequential() const; +virtual bool open(QIODevice::OpenMode mode); +virtual qint64 pos() const; +virtual qint64 readData(char* data, qint64 maxlen); +virtual qint64 readLineData(char* data, qint64 maxlen); +virtual bool reset(); +virtual bool seek(qint64 pos); +virtual void setupChildProcess(); +virtual qint64 size() const; +virtual void timerEvent(QTimerEvent* arg__1); +virtual bool waitForBytesWritten(int msecs = 30000); +virtual bool waitForReadyRead(int msecs = 30000); +virtual qint64 writeData(const char* data, qint64 len); + + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtPublicPromoter_QProcess : public QProcess +{ public: +inline bool promoted_atEnd() const { return QProcess::atEnd(); } +inline qint64 promoted_bytesAvailable() const { return QProcess::bytesAvailable(); } +inline qint64 promoted_bytesToWrite() const { return QProcess::bytesToWrite(); } +inline bool promoted_canReadLine() const { return QProcess::canReadLine(); } +inline void promoted_close() { QProcess::close(); } +inline bool promoted_isSequential() const { return QProcess::isSequential(); } +inline qint64 promoted_readData(char* data, qint64 maxlen) { return QProcess::readData(data, maxlen); } +inline void promoted_setupChildProcess() { QProcess::setupChildProcess(); } +inline bool promoted_waitForBytesWritten(int msecs = 30000) { return QProcess::waitForBytesWritten(msecs); } +inline bool promoted_waitForReadyRead(int msecs = 30000) { return QProcess::waitForReadyRead(msecs); } +inline qint64 promoted_writeData(const char* data, qint64 len) { return QProcess::writeData(data, len); } +}; + +class PythonQtWrapper_QProcess : public QObject +{ Q_OBJECT +public: +Q_ENUMS(ProcessError ProcessChannelMode ProcessChannel ProcessState ExitStatus ) +enum ProcessError{ + FailedToStart = QProcess::FailedToStart, Crashed = QProcess::Crashed, Timedout = QProcess::Timedout, ReadError = QProcess::ReadError, WriteError = QProcess::WriteError, UnknownError = QProcess::UnknownError}; +enum ProcessChannelMode{ + SeparateChannels = QProcess::SeparateChannels, MergedChannels = QProcess::MergedChannels, ForwardedChannels = QProcess::ForwardedChannels}; +enum ProcessChannel{ + StandardOutput = QProcess::StandardOutput, StandardError = QProcess::StandardError}; +enum ProcessState{ + NotRunning = QProcess::NotRunning, Starting = QProcess::Starting, Running = QProcess::Running}; +enum ExitStatus{ + NormalExit = QProcess::NormalExit, CrashExit = QProcess::CrashExit}; +public slots: +QProcess* new_QProcess(QObject* parent = 0); +void delete_QProcess(QProcess* obj) { delete obj; } + bool atEnd(QProcess* theWrappedObject) const; + qint64 bytesAvailable(QProcess* theWrappedObject) const; + qint64 bytesToWrite(QProcess* theWrappedObject) const; + bool canReadLine(QProcess* theWrappedObject) const; + void close(QProcess* theWrappedObject); + 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& program); + int static_QProcess_execute(const QString& program, const QStringList& arguments); + int exitCode(QProcess* theWrappedObject) const; + QProcess::ExitStatus exitStatus(QProcess* theWrappedObject) const; + bool isSequential(QProcess* theWrappedObject) const; + QProcess::ProcessChannelMode processChannelMode(QProcess* theWrappedObject) const; + QProcessEnvironment processEnvironment(QProcess* theWrappedObject) const; + QByteArray readAllStandardError(QProcess* theWrappedObject); + QByteArray readAllStandardOutput(QProcess* theWrappedObject); + QProcess::ProcessChannel readChannel(QProcess* theWrappedObject) const; + qint64 readData(QProcess* theWrappedObject, char* data, qint64 maxlen); + void setEnvironment(QProcess* theWrappedObject, const QStringList& environment); + void setProcessChannelMode(QProcess* theWrappedObject, QProcess::ProcessChannelMode mode); + void setProcessEnvironment(QProcess* theWrappedObject, const QProcessEnvironment& environment); + 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 start(QProcess* theWrappedObject, const QString& program, 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& program); + 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 = 0); + QProcess::ProcessState state(QProcess* theWrappedObject) const; + QStringList static_QProcess_systemEnvironment(); + bool waitForBytesWritten(QProcess* theWrappedObject, int msecs = 30000); + bool waitForFinished(QProcess* theWrappedObject, int msecs = 30000); + bool waitForReadyRead(QProcess* theWrappedObject, int msecs = 30000); + bool waitForStarted(QProcess* theWrappedObject, int msecs = 30000); + QString workingDirectory(QProcess* theWrappedObject) const; + qint64 writeData(QProcess* theWrappedObject, const char* data, qint64 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 QString& name, const QString& value); + bool isEmpty(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); + QProcessEnvironment static_QProcessEnvironment_systemEnvironment(); + QStringList toStringList(QProcessEnvironment* theWrappedObject) const; + QString value(QProcessEnvironment* theWrappedObject, const QString& name, const QString& defaultValue = QString()) const; +}; + + + + + +class PythonQtShell_QPropertyAnimation : public QPropertyAnimation +{ +public: + PythonQtShell_QPropertyAnimation(QObject* parent = 0):QPropertyAnimation(parent),_wrapper(NULL) {}; + PythonQtShell_QPropertyAnimation(QObject* target, const QByteArray& propertyName, QObject* parent = 0):QPropertyAnimation(target, propertyName, parent),_wrapper(NULL) {}; + +virtual void childEvent(QChildEvent* arg__1); +virtual void customEvent(QEvent* arg__1); +virtual int duration() const; +virtual bool event(QEvent* event); +virtual bool eventFilter(QObject* arg__1, QEvent* arg__2); +virtual QVariant interpolated(const QVariant& from, const QVariant& to, qreal progress) const; +virtual void timerEvent(QTimerEvent* arg__1); +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); + + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtPublicPromoter_QPropertyAnimation : public QPropertyAnimation +{ public: +inline bool promoted_event(QEvent* event) { return QPropertyAnimation::event(event); } +inline void promoted_updateCurrentValue(const QVariant& value) { QPropertyAnimation::updateCurrentValue(value); } +inline void promoted_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 = 0); +QPropertyAnimation* new_QPropertyAnimation(QObject* target, const QByteArray& propertyName, QObject* parent = 0); +void delete_QPropertyAnimation(QPropertyAnimation* obj) { delete obj; } + bool event(QPropertyAnimation* theWrappedObject, QEvent* 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 updateCurrentValue(QPropertyAnimation* theWrappedObject, const QVariant& value); + void updateState(QPropertyAnimation* theWrappedObject, QAbstractAnimation::State newState, QAbstractAnimation::State oldState); +}; + + + + + +class PythonQtWrapper_QReadWriteLock : public QObject +{ Q_OBJECT +public: +Q_ENUMS(RecursionMode ) +enum RecursionMode{ + NonRecursive = QReadWriteLock::NonRecursive, Recursive = QReadWriteLock::Recursive}; +public slots: +QReadWriteLock* new_QReadWriteLock(); +QReadWriteLock* new_QReadWriteLock(QReadWriteLock::RecursionMode recursionMode); +void delete_QReadWriteLock(QReadWriteLock* obj) { delete obj; } + void 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_QRunnable : public QRunnable +{ +public: + PythonQtShell_QRunnable():QRunnable(),_wrapper(NULL) {}; + +virtual void run(); + + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtWrapper_QRunnable : public QObject +{ Q_OBJECT +public: +public slots: +QRunnable* new_QRunnable(); +void delete_QRunnable(QRunnable* obj) { delete obj; } + bool autoDelete(QRunnable* theWrappedObject) const; + void setAutoDelete(QRunnable* theWrappedObject, bool _autoDelete); +}; + + + + + +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 = 0):QSequentialAnimationGroup(parent),_wrapper(NULL) {}; + +virtual void childEvent(QChildEvent* arg__1); +virtual void customEvent(QEvent* arg__1); +virtual int duration() const; +virtual bool event(QEvent* event); +virtual bool eventFilter(QObject* arg__1, QEvent* arg__2); +virtual void timerEvent(QTimerEvent* arg__1); +virtual void updateCurrentTime(int arg__1); +virtual void updateDirection(QAbstractAnimation::Direction direction); +virtual void updateState(QAbstractAnimation::State newState, QAbstractAnimation::State oldState); + + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtPublicPromoter_QSequentialAnimationGroup : public QSequentialAnimationGroup +{ public: +inline int promoted_duration() const { return QSequentialAnimationGroup::duration(); } +inline bool promoted_event(QEvent* event) { return QSequentialAnimationGroup::event(event); } +inline void promoted_updateCurrentTime(int arg__1) { QSequentialAnimationGroup::updateCurrentTime(arg__1); } +inline void promoted_updateDirection(QAbstractAnimation::Direction direction) { QSequentialAnimationGroup::updateDirection(direction); } +inline void promoted_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 = 0); +void delete_QSequentialAnimationGroup(QSequentialAnimationGroup* obj) { delete obj; } + QPauseAnimation* addPause(QSequentialAnimationGroup* theWrappedObject, int msecs); + QAbstractAnimation* currentAnimation(QSequentialAnimationGroup* theWrappedObject) const; + int duration(QSequentialAnimationGroup* theWrappedObject) const; + bool event(QSequentialAnimationGroup* theWrappedObject, QEvent* event); + QPauseAnimation* insertPause(QSequentialAnimationGroup* theWrappedObject, int index, int msecs); + void updateCurrentTime(QSequentialAnimationGroup* theWrappedObject, int arg__1); + void updateDirection(QSequentialAnimationGroup* theWrappedObject, QAbstractAnimation::Direction direction); + void updateState(QSequentialAnimationGroup* theWrappedObject, QAbstractAnimation::State newState, QAbstractAnimation::State oldState); +}; + + + + + +class PythonQtShell_QSettings : public QSettings +{ +public: + PythonQtShell_QSettings(QObject* parent = 0):QSettings(parent),_wrapper(NULL) {}; + PythonQtShell_QSettings(QSettings::Format format, QSettings::Scope scope, const QString& organization, const QString& application = QString(), QObject* parent = 0):QSettings(format, scope, organization, application, parent),_wrapper(NULL) {}; + PythonQtShell_QSettings(QSettings::Scope scope, const QString& organization, const QString& application = QString(), QObject* parent = 0):QSettings(scope, organization, application, parent),_wrapper(NULL) {}; + PythonQtShell_QSettings(const QString& fileName, QSettings::Format format, QObject* parent = 0):QSettings(fileName, format, parent),_wrapper(NULL) {}; + PythonQtShell_QSettings(const QString& organization, const QString& application = QString(), QObject* parent = 0):QSettings(organization, application, parent),_wrapper(NULL) {}; + +virtual void childEvent(QChildEvent* arg__1); +virtual void customEvent(QEvent* arg__1); +virtual bool event(QEvent* event); +virtual bool eventFilter(QObject* arg__1, QEvent* arg__2); +virtual void timerEvent(QTimerEvent* arg__1); + + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtPublicPromoter_QSettings : public QSettings +{ public: +inline bool promoted_event(QEvent* event) { return QSettings::event(event); } +}; + +class PythonQtWrapper_QSettings : public QObject +{ Q_OBJECT +public: +Q_ENUMS(Format Status Scope ) +enum Format{ + NativeFormat = QSettings::NativeFormat, IniFormat = QSettings::IniFormat, InvalidFormat = QSettings::InvalidFormat, CustomFormat1 = QSettings::CustomFormat1, CustomFormat2 = QSettings::CustomFormat2, CustomFormat3 = QSettings::CustomFormat3, CustomFormat4 = QSettings::CustomFormat4, CustomFormat5 = QSettings::CustomFormat5, CustomFormat6 = QSettings::CustomFormat6, CustomFormat7 = QSettings::CustomFormat7, CustomFormat8 = QSettings::CustomFormat8, CustomFormat9 = QSettings::CustomFormat9, CustomFormat10 = QSettings::CustomFormat10, CustomFormat11 = QSettings::CustomFormat11, CustomFormat12 = QSettings::CustomFormat12, CustomFormat13 = QSettings::CustomFormat13, CustomFormat14 = QSettings::CustomFormat14, CustomFormat15 = QSettings::CustomFormat15, CustomFormat16 = QSettings::CustomFormat16}; +enum Status{ + NoError = QSettings::NoError, AccessError = QSettings::AccessError, FormatError = QSettings::FormatError}; +enum Scope{ + UserScope = QSettings::UserScope, SystemScope = QSettings::SystemScope}; +public slots: +QSettings* new_QSettings(QObject* parent = 0); +QSettings* new_QSettings(QSettings::Format format, QSettings::Scope scope, const QString& organization, const QString& application = QString(), QObject* parent = 0); +QSettings* new_QSettings(QSettings::Scope scope, const QString& organization, const QString& application = QString(), QObject* parent = 0); +QSettings* new_QSettings(const QString& fileName, QSettings::Format format, QObject* parent = 0); +QSettings* new_QSettings(const QString& organization, const QString& application = QString(), QObject* parent = 0); +void delete_QSettings(QSettings* obj) { delete obj; } + 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 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 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 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_QSignalMapper : public QSignalMapper +{ +public: + PythonQtShell_QSignalMapper(QObject* parent = 0):QSignalMapper(parent),_wrapper(NULL) {}; + +virtual void childEvent(QChildEvent* arg__1); +virtual void customEvent(QEvent* arg__1); +virtual bool event(QEvent* arg__1); +virtual bool eventFilter(QObject* arg__1, QEvent* arg__2); +virtual void timerEvent(QTimerEvent* arg__1); + + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtWrapper_QSignalMapper : public QObject +{ Q_OBJECT +public: +public slots: +QSignalMapper* new_QSignalMapper(QObject* parent = 0); +void delete_QSignalMapper(QSignalMapper* obj) { delete obj; } + QObject* mapping(QSignalMapper* theWrappedObject, QObject* object) 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, const QString& text); + void setMapping(QSignalMapper* theWrappedObject, QObject* sender, int id); +}; + + + + + +class PythonQtShell_QSignalTransition : public QSignalTransition +{ +public: + PythonQtShell_QSignalTransition(QObject* sender, const char* signal, QState* sourceState = 0):QSignalTransition(sender, signal, sourceState),_wrapper(NULL) {}; + PythonQtShell_QSignalTransition(QState* sourceState = 0):QSignalTransition(sourceState),_wrapper(NULL) {}; + +virtual void childEvent(QChildEvent* arg__1); +virtual void customEvent(QEvent* arg__1); +virtual bool event(QEvent* e); +virtual bool eventFilter(QObject* arg__1, QEvent* arg__2); +virtual bool eventTest(QEvent* event); +virtual void onTransition(QEvent* event); +virtual void timerEvent(QTimerEvent* arg__1); + + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtPublicPromoter_QSignalTransition : public QSignalTransition +{ public: +inline bool promoted_event(QEvent* e) { return QSignalTransition::event(e); } +inline bool promoted_eventTest(QEvent* event) { return QSignalTransition::eventTest(event); } +inline void promoted_onTransition(QEvent* event) { QSignalTransition::onTransition(event); } +}; + +class PythonQtWrapper_QSignalTransition : public QObject +{ Q_OBJECT +public: +public slots: +QSignalTransition* new_QSignalTransition(QObject* sender, const char* signal, QState* sourceState = 0); +QSignalTransition* new_QSignalTransition(QState* sourceState = 0); +void delete_QSignalTransition(QSignalTransition* obj) { delete obj; } + bool event(QSignalTransition* theWrappedObject, QEvent* e); + bool eventTest(QSignalTransition* theWrappedObject, QEvent* event); + void onTransition(QSignalTransition* theWrappedObject, QEvent* event); + QObject* senderObject(QSignalTransition* theWrappedObject) const; + void setSenderObject(QSignalTransition* theWrappedObject, QObject* sender); + void setSignal(QSignalTransition* theWrappedObject, const QByteArray& signal); + QByteArray signal(QSignalTransition* theWrappedObject) const; +}; + + + + + +class PythonQtShell_QSocketNotifier : public QSocketNotifier +{ +public: + PythonQtShell_QSocketNotifier(int socket, QSocketNotifier::Type arg__2, QObject* parent = 0):QSocketNotifier(socket, arg__2, parent),_wrapper(NULL) {}; + +virtual void childEvent(QChildEvent* arg__1); +virtual void customEvent(QEvent* arg__1); +virtual bool event(QEvent* arg__1); +virtual bool eventFilter(QObject* arg__1, QEvent* arg__2); +virtual void timerEvent(QTimerEvent* arg__1); + + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtPublicPromoter_QSocketNotifier : public QSocketNotifier +{ public: +inline bool promoted_event(QEvent* arg__1) { return QSocketNotifier::event(arg__1); } +}; + +class PythonQtWrapper_QSocketNotifier : public QObject +{ Q_OBJECT +public: +Q_ENUMS(Type ) +enum Type{ + Read = QSocketNotifier::Read, Write = QSocketNotifier::Write, Exception = QSocketNotifier::Exception}; +public slots: +QSocketNotifier* new_QSocketNotifier(int socket, QSocketNotifier::Type arg__2, QObject* parent = 0); +void delete_QSocketNotifier(QSocketNotifier* obj) { delete obj; } + bool event(QSocketNotifier* theWrappedObject, QEvent* arg__1); + bool isEnabled(QSocketNotifier* theWrappedObject) const; + int socket(QSocketNotifier* theWrappedObject) const; + QSocketNotifier::Type type(QSocketNotifier* theWrappedObject) const; +}; + + + + + +class PythonQtShell_QState : public QState +{ +public: + PythonQtShell_QState(QState* parent = 0):QState(parent),_wrapper(NULL) {}; + PythonQtShell_QState(QState::ChildMode childMode, QState* parent = 0):QState(childMode, parent),_wrapper(NULL) {}; + +virtual void childEvent(QChildEvent* arg__1); +virtual void customEvent(QEvent* arg__1); +virtual bool event(QEvent* e); +virtual bool eventFilter(QObject* arg__1, QEvent* arg__2); +virtual void onEntry(QEvent* event); +virtual void onExit(QEvent* event); +virtual void timerEvent(QTimerEvent* arg__1); + + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtPublicPromoter_QState : public QState +{ public: +inline bool promoted_event(QEvent* e) { return QState::event(e); } +inline void promoted_onEntry(QEvent* event) { QState::onEntry(event); } +inline void promoted_onExit(QEvent* event) { QState::onExit(event); } +}; + +class PythonQtWrapper_QState : public QObject +{ Q_OBJECT +public: +public slots: +QState* new_QState(QState* parent = 0); +QState* new_QState(QState::ChildMode childMode, QState* parent = 0); +void delete_QState(QState* obj) { delete obj; } + QAbstractTransition* addTransition(QState* theWrappedObject, QAbstractState* target); + void addTransition(QState* theWrappedObject, QAbstractTransition* transition); + QSignalTransition* addTransition(QState* theWrappedObject, 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 event(QState* theWrappedObject, QEvent* e); + QAbstractState* initialState(QState* theWrappedObject) const; + void onEntry(QState* theWrappedObject, QEvent* event); + void onExit(QState* theWrappedObject, QEvent* event); + void removeTransition(QState* theWrappedObject, QAbstractTransition* transition); + void setChildMode(QState* theWrappedObject, QState::ChildMode mode); + void setErrorState(QState* theWrappedObject, QAbstractState* state); + void setInitialState(QState* theWrappedObject, QAbstractState* state); +}; + + + + + +class PythonQtShell_QStateMachine : public QStateMachine +{ +public: + PythonQtShell_QStateMachine(QObject* parent = 0):QStateMachine(parent),_wrapper(NULL) {}; + +virtual void beginMicrostep(QEvent* event); +virtual void beginSelectTransitions(QEvent* event); +virtual void childEvent(QChildEvent* arg__1); +virtual void customEvent(QEvent* arg__1); +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); +virtual void timerEvent(QTimerEvent* arg__1); + + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtPublicPromoter_QStateMachine : public QStateMachine +{ public: +inline void promoted_beginMicrostep(QEvent* event) { QStateMachine::beginMicrostep(event); } +inline void promoted_beginSelectTransitions(QEvent* event) { QStateMachine::beginSelectTransitions(event); } +inline void promoted_endMicrostep(QEvent* event) { QStateMachine::endMicrostep(event); } +inline void promoted_endSelectTransitions(QEvent* event) { QStateMachine::endSelectTransitions(event); } +inline bool promoted_event(QEvent* e) { return QStateMachine::event(e); } +inline bool promoted_eventFilter(QObject* watched, QEvent* event) { return QStateMachine::eventFilter(watched, event); } +inline void promoted_onEntry(QEvent* event) { QStateMachine::onEntry(event); } +inline void promoted_onExit(QEvent* event) { QStateMachine::onExit(event); } +}; + +class PythonQtWrapper_QStateMachine : public QObject +{ Q_OBJECT +public: +Q_ENUMS(Error EventPriority ) +enum Error{ + NoError = QStateMachine::NoError, NoInitialStateError = QStateMachine::NoInitialStateError, NoDefaultStateInHistoryStateError = QStateMachine::NoDefaultStateInHistoryStateError, NoCommonAncestorForTransitionError = QStateMachine::NoCommonAncestorForTransitionError}; +enum EventPriority{ + NormalPriority = QStateMachine::NormalPriority, HighPriority = QStateMachine::HighPriority}; +public slots: +QStateMachine* new_QStateMachine(QObject* parent = 0); +void delete_QStateMachine(QStateMachine* obj) { delete obj; } + void addDefaultAnimation(QStateMachine* theWrappedObject, QAbstractAnimation* animation); + void addState(QStateMachine* theWrappedObject, QAbstractState* state); + void beginMicrostep(QStateMachine* theWrappedObject, QEvent* event); + void beginSelectTransitions(QStateMachine* theWrappedObject, QEvent* event); + bool cancelDelayedEvent(QStateMachine* theWrappedObject, int id); + void clearError(QStateMachine* theWrappedObject); + QSet configuration(QStateMachine* theWrappedObject) const; + QList defaultAnimations(QStateMachine* theWrappedObject) const; + void endMicrostep(QStateMachine* theWrappedObject, QEvent* event); + void endSelectTransitions(QStateMachine* theWrappedObject, QEvent* event); + QStateMachine::Error error(QStateMachine* theWrappedObject) const; + QString errorString(QStateMachine* theWrappedObject) const; + bool event(QStateMachine* theWrappedObject, QEvent* e); + bool eventFilter(QStateMachine* theWrappedObject, QObject* watched, QEvent* event); + QStateMachine::RestorePolicy globalRestorePolicy(QStateMachine* theWrappedObject) const; + bool isAnimated(QStateMachine* theWrappedObject) const; + bool isRunning(QStateMachine* theWrappedObject) const; + void onEntry(QStateMachine* theWrappedObject, QEvent* event); + void onExit(QStateMachine* theWrappedObject, QEvent* event); + int postDelayedEvent(QStateMachine* theWrappedObject, QEvent* event, int delay); + void postEvent(QStateMachine* theWrappedObject, QEvent* event, QStateMachine::EventPriority priority = QStateMachine::NormalPriority); + void removeDefaultAnimation(QStateMachine* theWrappedObject, QAbstractAnimation* animation); + void removeState(QStateMachine* theWrappedObject, QAbstractState* state); + void setAnimated(QStateMachine* theWrappedObject, bool enabled); + void setGlobalRestorePolicy(QStateMachine* theWrappedObject, QStateMachine::RestorePolicy restorePolicy); +}; + + + + + +class PythonQtWrapper_QStateMachine_SignalEvent : public QObject +{ Q_OBJECT +public: +public slots: +QStateMachine::SignalEvent* new_QStateMachine_SignalEvent(QObject* sender, int signalIndex, const QList& arguments); +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; +}; + + + + + +class PythonQtWrapper_QStateMachine_WrappedEvent : public QObject +{ Q_OBJECT +public: +public slots: +QStateMachine::WrappedEvent* new_QStateMachine_WrappedEvent(QObject* object, QEvent* event); +void delete_QStateMachine_WrappedEvent(QStateMachine::WrappedEvent* obj) { delete obj; } + QEvent* event(QStateMachine::WrappedEvent* theWrappedObject) const; + QObject* object(QStateMachine::WrappedEvent* theWrappedObject) const; +}; + + + + + +class PythonQtWrapper_QStringMatcher : public QObject +{ Q_OBJECT +public: +public slots: +QStringMatcher* new_QStringMatcher(); +QStringMatcher* new_QStringMatcher(const QString& pattern, Qt::CaseSensitivity cs = Qt::CaseSensitive); +QStringMatcher* new_QStringMatcher(const QStringMatcher& other); +void delete_QStringMatcher(QStringMatcher* obj) { delete obj; } + Qt::CaseSensitivity caseSensitivity(QStringMatcher* theWrappedObject) const; + int indexIn(QStringMatcher* theWrappedObject, const QString& str, int from = 0) const; + QString pattern(QStringMatcher* theWrappedObject) const; + void setCaseSensitivity(QStringMatcher* theWrappedObject, Qt::CaseSensitivity cs); + void setPattern(QStringMatcher* theWrappedObject, const QString& pattern); +}; + + + + + +class PythonQtWrapper_QSystemSemaphore : public QObject +{ Q_OBJECT +public: +Q_ENUMS(AccessMode SystemSemaphoreError ) +enum AccessMode{ + Open = QSystemSemaphore::Open, Create = QSystemSemaphore::Create}; +enum SystemSemaphoreError{ + NoError = QSystemSemaphore::NoError, PermissionDenied = QSystemSemaphore::PermissionDenied, KeyError = QSystemSemaphore::KeyError, AlreadyExists = QSystemSemaphore::AlreadyExists, NotFound = QSystemSemaphore::NotFound, OutOfResources = QSystemSemaphore::OutOfResources, UnknownError = QSystemSemaphore::UnknownError}; +public slots: +QSystemSemaphore* new_QSystemSemaphore(const QString& key, int initialValue = 0, QSystemSemaphore::AccessMode mode = QSystemSemaphore::Open); +void delete_QSystemSemaphore(QSystemSemaphore* obj) { delete obj; } + bool acquire(QSystemSemaphore* theWrappedObject); + QSystemSemaphore::SystemSemaphoreError error(QSystemSemaphore* theWrappedObject) const; + QString errorString(QSystemSemaphore* theWrappedObject) const; + QString key(QSystemSemaphore* theWrappedObject) const; + bool release(QSystemSemaphore* theWrappedObject, int n = 1); + void setKey(QSystemSemaphore* theWrappedObject, const QString& key, int initialValue = 0, QSystemSemaphore::AccessMode mode = QSystemSemaphore::Open); +}; + + + + + +class PythonQtShell_QTemporaryFile : public QTemporaryFile +{ +public: + PythonQtShell_QTemporaryFile():QTemporaryFile(),_wrapper(NULL) {}; + PythonQtShell_QTemporaryFile(QObject* parent):QTemporaryFile(parent),_wrapper(NULL) {}; + PythonQtShell_QTemporaryFile(const QString& templateName):QTemporaryFile(templateName),_wrapper(NULL) {}; + PythonQtShell_QTemporaryFile(const QString& templateName, QObject* parent):QTemporaryFile(templateName, parent),_wrapper(NULL) {}; + +virtual bool atEnd() const; +virtual qint64 bytesAvailable() const; +virtual qint64 bytesToWrite() const; +virtual bool canReadLine() const; +virtual void childEvent(QChildEvent* arg__1); +virtual void close(); +virtual void customEvent(QEvent* arg__1); +virtual bool event(QEvent* arg__1); +virtual bool eventFilter(QObject* arg__1, QEvent* arg__2); +virtual QAbstractFileEngine* fileEngine() const; +virtual bool isSequential() const; +virtual bool open(QIODevice::OpenMode flags); +virtual qint64 pos() const; +virtual qint64 readData(char* data, qint64 maxlen); +virtual qint64 readLineData(char* data, qint64 maxlen); +virtual bool reset(); +virtual bool seek(qint64 offset); +virtual qint64 size() const; +virtual void timerEvent(QTimerEvent* arg__1); +virtual bool waitForBytesWritten(int msecs); +virtual bool waitForReadyRead(int msecs); +virtual qint64 writeData(const char* data, qint64 len); + + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtPublicPromoter_QTemporaryFile : public QTemporaryFile +{ public: +inline QAbstractFileEngine* promoted_fileEngine() const { return QTemporaryFile::fileEngine(); } +inline bool promoted_open(QIODevice::OpenMode flags) { return QTemporaryFile::open(flags); } +}; + +class PythonQtWrapper_QTemporaryFile : public QObject +{ Q_OBJECT +public: +public slots: +QTemporaryFile* new_QTemporaryFile(); +QTemporaryFile* new_QTemporaryFile(QObject* parent); +QTemporaryFile* new_QTemporaryFile(const QString& templateName); +QTemporaryFile* new_QTemporaryFile(const QString& templateName, QObject* parent); +void delete_QTemporaryFile(QTemporaryFile* obj) { delete obj; } + bool autoRemove(QTemporaryFile* theWrappedObject) const; + QTemporaryFile* static_QTemporaryFile_createLocalFile(QFile& file); + QTemporaryFile* static_QTemporaryFile_createLocalFile(const QString& fileName); + QAbstractFileEngine* fileEngine(QTemporaryFile* theWrappedObject) const; + QString fileName(QTemporaryFile* theWrappedObject) const; + QString fileTemplate(QTemporaryFile* theWrappedObject) const; + bool open(QTemporaryFile* theWrappedObject); + bool open(QTemporaryFile* theWrappedObject, QIODevice::OpenMode flags); + void setAutoRemove(QTemporaryFile* theWrappedObject, bool b); + void setFileTemplate(QTemporaryFile* theWrappedObject, const QString& name); +}; + + + + + +class PythonQtWrapper_QTextBoundaryFinder : public QObject +{ Q_OBJECT +public: +Q_ENUMS(BoundaryReason BoundaryType ) +Q_FLAGS(BoundaryReasons ) +enum BoundaryReason{ + NotAtBoundary = QTextBoundaryFinder::NotAtBoundary, StartWord = QTextBoundaryFinder::StartWord, EndWord = QTextBoundaryFinder::EndWord}; +enum BoundaryType{ + Grapheme = QTextBoundaryFinder::Grapheme, Word = QTextBoundaryFinder::Word, Line = QTextBoundaryFinder::Line, Sentence = QTextBoundaryFinder::Sentence}; +Q_DECLARE_FLAGS(BoundaryReasons, BoundaryReason) +public slots: +QTextBoundaryFinder* new_QTextBoundaryFinder(); +QTextBoundaryFinder* new_QTextBoundaryFinder(QTextBoundaryFinder::BoundaryType type, const QString& string); +QTextBoundaryFinder* new_QTextBoundaryFinder(const QTextBoundaryFinder& other); +void delete_QTextBoundaryFinder(QTextBoundaryFinder* obj) { delete obj; } + QTextBoundaryFinder::BoundaryReasons boundaryReasons(QTextBoundaryFinder* theWrappedObject) const; + bool isAtBoundary(QTextBoundaryFinder* theWrappedObject) const; + bool isValid(QTextBoundaryFinder* theWrappedObject) const; + int position(QTextBoundaryFinder* theWrappedObject) const; + void setPosition(QTextBoundaryFinder* theWrappedObject, int position); + QString string(QTextBoundaryFinder* theWrappedObject) const; + void toEnd(QTextBoundaryFinder* theWrappedObject); + int toNextBoundary(QTextBoundaryFinder* theWrappedObject); + int toPreviousBoundary(QTextBoundaryFinder* theWrappedObject); + void toStart(QTextBoundaryFinder* theWrappedObject); + QTextBoundaryFinder::BoundaryType type(QTextBoundaryFinder* theWrappedObject) const; +}; + + + + + +class PythonQtShell_QTextCodec : public QTextCodec +{ +public: + PythonQtShell_QTextCodec():QTextCodec(),_wrapper(NULL) {}; + +virtual QList aliases() const; +virtual QByteArray convertFromUnicode(const QChar* in, int length, QTextCodec::ConverterState* state) const; +virtual QString convertToUnicode(const char* in, int length, QTextCodec::ConverterState* state) const; +virtual int mibEnum() const; +virtual QByteArray name() const; + + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtPublicPromoter_QTextCodec : public QTextCodec +{ public: +inline QList promoted_aliases() const { return QTextCodec::aliases(); } +}; + +class PythonQtWrapper_QTextCodec : public QObject +{ Q_OBJECT +public: +Q_ENUMS(ConversionFlag ) +Q_FLAGS(ConversionFlags ) +enum ConversionFlag{ + DefaultConversion = QTextCodec::DefaultConversion, ConvertInvalidToNull = QTextCodec::ConvertInvalidToNull, IgnoreHeader = QTextCodec::IgnoreHeader, FreeFunction = QTextCodec::FreeFunction}; +Q_DECLARE_FLAGS(ConversionFlags, ConversionFlag) +public slots: + QList aliases(QTextCodec* theWrappedObject) const; + QList static_QTextCodec_availableCodecs(); + QList static_QTextCodec_availableMibs(); + bool canEncode(QTextCodec* theWrappedObject, QChar arg__1) const; + bool canEncode(QTextCodec* theWrappedObject, const QString& arg__1) const; + QTextCodec* static_QTextCodec_codecForCStrings(); + QTextCodec* static_QTextCodec_codecForHtml(const QByteArray& ba); + QTextCodec* static_QTextCodec_codecForHtml(const QByteArray& ba, QTextCodec* defaultCodec); + QTextCodec* static_QTextCodec_codecForLocale(); + QTextCodec* static_QTextCodec_codecForMib(int mib); + QTextCodec* static_QTextCodec_codecForName(const QByteArray& name); + QTextCodec* static_QTextCodec_codecForName(const char* name); + QTextCodec* static_QTextCodec_codecForUtfText(const QByteArray& ba); + QTextCodec* static_QTextCodec_codecForUtfText(const QByteArray& ba, QTextCodec* defaultCodec); + QByteArray fromUnicode(QTextCodec* theWrappedObject, const QString& uc) const; + QTextDecoder* makeDecoder(QTextCodec* theWrappedObject) const; + QTextEncoder* makeEncoder(QTextCodec* theWrappedObject) const; + void static_QTextCodec_setCodecForCStrings(QTextCodec* c); + void static_QTextCodec_setCodecForLocale(QTextCodec* c); + void static_QTextCodec_setCodecForTr(QTextCodec* c); + QString toUnicode(QTextCodec* theWrappedObject, const QByteArray& arg__1) const; +}; + + + + + +class PythonQtWrapper_QTextDecoder : public QObject +{ Q_OBJECT +public: +public slots: +QTextDecoder* new_QTextDecoder(const QTextCodec* codec); +void delete_QTextDecoder(QTextDecoder* obj) { delete obj; } + bool hasFailure(QTextDecoder* theWrappedObject) const; + QString toUnicode(QTextDecoder* theWrappedObject, const QByteArray& ba); +}; + + + + + +class PythonQtWrapper_QTextEncoder : public QObject +{ Q_OBJECT +public: +public slots: +QTextEncoder* new_QTextEncoder(const QTextCodec* codec); +void delete_QTextEncoder(QTextEncoder* obj) { delete obj; } + QByteArray fromUnicode(QTextEncoder* theWrappedObject, const QString& str); + 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) {}; + + + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtWrapper_QTextStream : public QObject +{ Q_OBJECT +public: +Q_ENUMS(RealNumberNotation NumberFlag FieldAlignment Status ) +Q_FLAGS(NumberFlags ) +enum RealNumberNotation{ + SmartNotation = QTextStream::SmartNotation, FixedNotation = QTextStream::FixedNotation, ScientificNotation = QTextStream::ScientificNotation}; +enum NumberFlag{ + ShowBase = QTextStream::ShowBase, ForcePoint = QTextStream::ForcePoint, ForceSign = QTextStream::ForceSign, UppercaseBase = QTextStream::UppercaseBase, UppercaseDigits = QTextStream::UppercaseDigits}; +enum FieldAlignment{ + AlignLeft = QTextStream::AlignLeft, AlignRight = QTextStream::AlignRight, AlignCenter = QTextStream::AlignCenter, AlignAccountingStyle = QTextStream::AlignAccountingStyle}; +enum Status{ + Ok = QTextStream::Ok, ReadPastEnd = QTextStream::ReadPastEnd, ReadCorruptData = QTextStream::ReadCorruptData}; +Q_DECLARE_FLAGS(NumberFlags, NumberFlag) +public slots: +QTextStream* new_QTextStream(); +QTextStream* new_QTextStream(QIODevice* device); +QTextStream* new_QTextStream(const QByteArray& array, QIODevice::OpenMode openMode = QIODevice::ReadOnly); +void delete_QTextStream(QTextStream* obj) { delete obj; } + bool atEnd(QTextStream* theWrappedObject) const; + bool autoDetectUnicode(QTextStream* theWrappedObject) const; + QTextCodec* codec(QTextStream* theWrappedObject) const; + QIODevice* device(QTextStream* theWrappedObject) const; + QTextStream::FieldAlignment fieldAlignment(QTextStream* theWrappedObject) const; + int fieldWidth(QTextStream* theWrappedObject) const; + void flush(QTextStream* theWrappedObject); + bool generateByteOrderMark(QTextStream* theWrappedObject) const; + int integerBase(QTextStream* theWrappedObject) const; + QLocale locale(QTextStream* theWrappedObject) const; + QTextStream::NumberFlags numberFlags(QTextStream* theWrappedObject) const; + QTextStream* writeBoolean(QTextStream* theWrappedObject, QBool b); + QTextStream* writeByte(QTextStream* theWrappedObject, char ch); + QTextStream* writeDouble(QTextStream* theWrappedObject, double f); + QTextStream* writeFloat(QTextStream* theWrappedObject, float f); + QTextStream* writeLongLong(QTextStream* theWrappedObject, qlonglong i); + QTextStream* writeInt(QTextStream* theWrappedObject, signed int i); + QTextStream* writeShort(QTextStream* theWrappedObject, signed short i); + QTextStream* readByte(QTextStream* theWrappedObject, char& ch); + QTextStream* readDouble(QTextStream* theWrappedObject, double& f); + QTextStream* readFloat(QTextStream* theWrappedObject, float& f); + QTextStream* readLongLong(QTextStream* theWrappedObject, qlonglong& i); + QTextStream* readInt(QTextStream* theWrappedObject, signed int& i); + QTextStream* readShort(QTextStream* theWrappedObject, signed short& i); + QChar padChar(QTextStream* theWrappedObject) const; + qint64 pos(QTextStream* theWrappedObject) const; + QString read(QTextStream* theWrappedObject, qint64 maxlen); + QString readAll(QTextStream* theWrappedObject); + QString readLine(QTextStream* theWrappedObject, qint64 maxlen = 0); + QTextStream::RealNumberNotation realNumberNotation(QTextStream* theWrappedObject) const; + int realNumberPrecision(QTextStream* theWrappedObject) const; + void reset(QTextStream* theWrappedObject); + void resetStatus(QTextStream* theWrappedObject); + bool seek(QTextStream* theWrappedObject, qint64 pos); + void setAutoDetectUnicode(QTextStream* theWrappedObject, bool enabled); + void setCodec(QTextStream* theWrappedObject, QTextCodec* codec); + void setCodec(QTextStream* theWrappedObject, const char* codecName); + void setDevice(QTextStream* theWrappedObject, QIODevice* device); + void setFieldAlignment(QTextStream* theWrappedObject, QTextStream::FieldAlignment alignment); + void setFieldWidth(QTextStream* theWrappedObject, int width); + void setGenerateByteOrderMark(QTextStream* theWrappedObject, bool generate); + void setIntegerBase(QTextStream* theWrappedObject, int base); + void setLocale(QTextStream* theWrappedObject, const QLocale& locale); + void setNumberFlags(QTextStream* theWrappedObject, QTextStream::NumberFlags flags); + void setPadChar(QTextStream* theWrappedObject, QChar ch); + void setRealNumberNotation(QTextStream* theWrappedObject, QTextStream::RealNumberNotation notation); + void setRealNumberPrecision(QTextStream* theWrappedObject, int precision); + void setStatus(QTextStream* theWrappedObject, QTextStream::Status status); + void skipWhiteSpace(QTextStream* theWrappedObject); + QTextStream::Status status(QTextStream* theWrappedObject) const; +}; + + + + + +class PythonQtShell_QThreadPool : public QThreadPool +{ +public: + PythonQtShell_QThreadPool(QObject* parent = 0):QThreadPool(parent),_wrapper(NULL) {}; + +virtual void childEvent(QChildEvent* arg__1); +virtual void customEvent(QEvent* arg__1); +virtual bool event(QEvent* arg__1); +virtual bool eventFilter(QObject* arg__1, QEvent* arg__2); +virtual void timerEvent(QTimerEvent* arg__1); + + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtWrapper_QThreadPool : public QObject +{ Q_OBJECT +public: +public slots: +QThreadPool* new_QThreadPool(QObject* parent = 0); +void delete_QThreadPool(QThreadPool* obj) { delete obj; } + int activeThreadCount(QThreadPool* theWrappedObject) const; + int expiryTimeout(QThreadPool* theWrappedObject) const; + QThreadPool* static_QThreadPool_globalInstance(); + int maxThreadCount(QThreadPool* theWrappedObject) const; + void releaseThread(QThreadPool* theWrappedObject); + void reserveThread(QThreadPool* theWrappedObject); + void setExpiryTimeout(QThreadPool* theWrappedObject, int expiryTimeout); + void setMaxThreadCount(QThreadPool* theWrappedObject, int maxThreadCount); + void start(QThreadPool* theWrappedObject, QRunnable* runnable, int priority = 0); + bool tryStart(QThreadPool* theWrappedObject, QRunnable* runnable); + void waitForDone(QThreadPool* theWrappedObject); +}; + + + + + +class PythonQtShell_QTimeLine : public QTimeLine +{ +public: + PythonQtShell_QTimeLine(int duration = 1000, QObject* parent = 0):QTimeLine(duration, parent),_wrapper(NULL) {}; + +virtual void childEvent(QChildEvent* arg__1); +virtual void customEvent(QEvent* arg__1); +virtual bool event(QEvent* arg__1); +virtual bool eventFilter(QObject* arg__1, QEvent* arg__2); +virtual void timerEvent(QTimerEvent* event); +virtual qreal valueForTime(int msec) const; + + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtPublicPromoter_QTimeLine : public QTimeLine +{ public: +inline void promoted_timerEvent(QTimerEvent* event) { QTimeLine::timerEvent(event); } +inline qreal promoted_valueForTime(int msec) const { return QTimeLine::valueForTime(msec); } +}; + +class PythonQtWrapper_QTimeLine : public QObject +{ Q_OBJECT +public: +Q_ENUMS(Direction CurveShape State ) +enum Direction{ + Forward = QTimeLine::Forward, Backward = QTimeLine::Backward}; +enum CurveShape{ + EaseInCurve = QTimeLine::EaseInCurve, EaseOutCurve = QTimeLine::EaseOutCurve, EaseInOutCurve = QTimeLine::EaseInOutCurve, LinearCurve = QTimeLine::LinearCurve, SineCurve = QTimeLine::SineCurve, CosineCurve = QTimeLine::CosineCurve}; +enum State{ + NotRunning = QTimeLine::NotRunning, Paused = QTimeLine::Paused, Running = QTimeLine::Running}; +public slots: +QTimeLine* new_QTimeLine(int duration = 1000, QObject* parent = 0); +void delete_QTimeLine(QTimeLine* obj) { delete obj; } + int currentFrame(QTimeLine* theWrappedObject) const; + int currentTime(QTimeLine* theWrappedObject) const; + qreal currentValue(QTimeLine* theWrappedObject) const; + QTimeLine::CurveShape curveShape(QTimeLine* theWrappedObject) const; + QTimeLine::Direction direction(QTimeLine* theWrappedObject) const; + int duration(QTimeLine* theWrappedObject) const; + QEasingCurve easingCurve(QTimeLine* theWrappedObject) const; + int endFrame(QTimeLine* theWrappedObject) const; + int frameForTime(QTimeLine* theWrappedObject, int msec) const; + int loopCount(QTimeLine* theWrappedObject) const; + void setCurveShape(QTimeLine* theWrappedObject, QTimeLine::CurveShape shape); + void setDirection(QTimeLine* theWrappedObject, QTimeLine::Direction direction); + void setDuration(QTimeLine* theWrappedObject, int duration); + void setEasingCurve(QTimeLine* theWrappedObject, const QEasingCurve& curve); + void setEndFrame(QTimeLine* theWrappedObject, int frame); + void setFrameRange(QTimeLine* theWrappedObject, int startFrame, int endFrame); + void setLoopCount(QTimeLine* theWrappedObject, int count); + void setStartFrame(QTimeLine* theWrappedObject, int frame); + void setUpdateInterval(QTimeLine* theWrappedObject, int interval); + int startFrame(QTimeLine* theWrappedObject) const; + QTimeLine::State state(QTimeLine* theWrappedObject) const; + void timerEvent(QTimeLine* theWrappedObject, QTimerEvent* event); + int updateInterval(QTimeLine* theWrappedObject) const; + qreal valueForTime(QTimeLine* theWrappedObject, int msec) const; +}; + + + + + +class PythonQtShell_QTimer : public QTimer +{ +public: + PythonQtShell_QTimer(QObject* parent = 0):QTimer(parent),_wrapper(NULL) {}; + +virtual void childEvent(QChildEvent* arg__1); +virtual void customEvent(QEvent* arg__1); +virtual bool event(QEvent* arg__1); +virtual bool eventFilter(QObject* arg__1, QEvent* arg__2); +virtual void timerEvent(QTimerEvent* arg__1); + + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtPublicPromoter_QTimer : public QTimer +{ public: +inline void promoted_timerEvent(QTimerEvent* arg__1) { QTimer::timerEvent(arg__1); } +}; + +class PythonQtWrapper_QTimer : public QObject +{ Q_OBJECT +public: +public slots: +QTimer* new_QTimer(QObject* parent = 0); +void delete_QTimer(QTimer* obj) { delete obj; } + int interval(QTimer* theWrappedObject) const; + bool isActive(QTimer* theWrappedObject) const; + bool isSingleShot(QTimer* theWrappedObject) const; + void setInterval(QTimer* theWrappedObject, int msec); + void setSingleShot(QTimer* theWrappedObject, bool singleShot); + void static_QTimer_singleShot(int msec, QObject* receiver, const char* member); + void timerEvent(QTimer* theWrappedObject, QTimerEvent* arg__1); + int timerId(QTimer* theWrappedObject) const; +}; + + diff --git a/generated_cpp_47/com_trolltech_qt_core/com_trolltech_qt_core2.cpp b/generated_cpp_47/com_trolltech_qt_core/com_trolltech_qt_core2.cpp new file mode 100644 index 00000000..5dceafe9 --- /dev/null +++ b/generated_cpp_47/com_trolltech_qt_core/com_trolltech_qt_core2.cpp @@ -0,0 +1,714 @@ +#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 + +QTimerEvent* PythonQtWrapper_QTimerEvent::new_QTimerEvent(int timerId) +{ +return new PythonQtShell_QTimerEvent(timerId); } + +int PythonQtWrapper_QTimerEvent::timerId(QTimerEvent* theWrappedObject) const +{ + return ( theWrappedObject->timerId()); +} + + + +void PythonQtShell_QTranslator::childEvent(QChildEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "childEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QChildEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QTranslator::childEvent(arg__1); +} +void PythonQtShell_QTranslator::customEvent(QEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "customEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QTranslator::customEvent(arg__1); +} +bool PythonQtShell_QTranslator::event(QEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "event"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue; + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QTranslator::event(arg__1); +} +bool PythonQtShell_QTranslator::eventFilter(QObject* arg__1, QEvent* arg__2) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "eventFilter"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue; + void* args[3] = {NULL, (void*)&arg__1, (void*)&arg__2}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QTranslator::eventFilter(arg__1, arg__2); +} +bool PythonQtShell_QTranslator::isEmpty() const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "isEmpty"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + bool returnValue; + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("isEmpty", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QTranslator::isEmpty(); +} +void PythonQtShell_QTranslator::timerEvent(QTimerEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "timerEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QTimerEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QTranslator::timerEvent(arg__1); +} +QString PythonQtShell_QTranslator::translate(const char* context, const char* sourceText, const char* disambiguation) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "translate"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QString" , "const char*" , "const char*" , "const char*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + QString returnValue; + void* args[4] = {NULL, (void*)&context, (void*)&sourceText, (void*)&disambiguation}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("translate", methodInfo, result); + } else { + returnValue = *((QString*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QTranslator::translate(context, sourceText, disambiguation); +} +QTranslator* PythonQtWrapper_QTranslator::new_QTranslator(QObject* parent) +{ +return new PythonQtShell_QTranslator(parent); } + +bool PythonQtWrapper_QTranslator::isEmpty(QTranslator* theWrappedObject) const +{ + return ( ((PythonQtPublicPromoter_QTranslator*)theWrappedObject)->promoted_isEmpty()); +} + +bool PythonQtWrapper_QTranslator::load(QTranslator* theWrappedObject, const QString& filename, const QString& directory, const QString& search_delimiters, const QString& suffix) +{ + return ( theWrappedObject->load(filename, directory, search_delimiters, suffix)); +} + +bool PythonQtWrapper_QTranslator::load(QTranslator* theWrappedObject, const uchar* data, int len) +{ + return ( theWrappedObject->load(data, len)); +} + +QString PythonQtWrapper_QTranslator::translate(QTranslator* theWrappedObject, const char* context, const char* sourceText, const char* disambiguation) const +{ + return ( ((PythonQtPublicPromoter_QTranslator*)theWrappedObject)->promoted_translate(context, sourceText, disambiguation)); +} + + + +QUuid* PythonQtWrapper_QUuid::new_QUuid() +{ +return new PythonQtShell_QUuid(); } + +QUuid* PythonQtWrapper_QUuid::new_QUuid(const QString& arg__1) +{ +return new PythonQtShell_QUuid(arg__1); } + +QUuid* PythonQtWrapper_QUuid::new_QUuid(uint l, ushort w1, ushort w2, uchar b1, uchar b2, uchar b3, uchar b4, uchar b5, uchar b6, uchar b7, uchar b8) +{ +return new PythonQtShell_QUuid(l, w1, w2, b1, b2, b3, b4, b5, b6, b7, b8); } + +QUuid PythonQtWrapper_QUuid::static_QUuid_createUuid() +{ + return (QUuid::createUuid()); +} + +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::__eq__(QUuid* theWrappedObject, const QUuid& orig) const +{ + return ( (*theWrappedObject)== orig); +} + +bool PythonQtWrapper_QUuid::__gt__(QUuid* theWrappedObject, const QUuid& other) const +{ + return ( (*theWrappedObject)> other); +} + +void PythonQtWrapper_QUuid::readFrom(QUuid* theWrappedObject, QDataStream& arg__1) +{ + arg__1 >> (*theWrappedObject); +} + +QString PythonQtWrapper_QUuid::toString(QUuid* theWrappedObject) const +{ + return ( theWrappedObject->toString()); +} + +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(); } + + +void PythonQtShell_QVariantAnimation::childEvent(QChildEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "childEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QChildEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QVariantAnimation::childEvent(arg__1); +} +void PythonQtShell_QVariantAnimation::customEvent(QEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "customEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QVariantAnimation::customEvent(arg__1); +} +int PythonQtShell_QVariantAnimation::duration() const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "duration"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + int returnValue; + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("duration", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QVariantAnimation::duration(); +} +bool PythonQtShell_QVariantAnimation::event(QEvent* event) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "event"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue; + void* args[2] = {NULL, (void*)&event}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QVariantAnimation::event(event); +} +bool PythonQtShell_QVariantAnimation::eventFilter(QObject* arg__1, QEvent* arg__2) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "eventFilter"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue; + void* args[3] = {NULL, (void*)&arg__1, (void*)&arg__2}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QVariantAnimation::eventFilter(arg__1, arg__2); +} +QVariant PythonQtShell_QVariantAnimation::interpolated(const QVariant& from, const QVariant& to, qreal progress) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "interpolated"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(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*)&from, (void*)&to, (void*)&progress}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (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; + } +} + return QVariantAnimation::interpolated(from, to, progress); +} +void PythonQtShell_QVariantAnimation::timerEvent(QTimerEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "timerEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QTimerEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QVariantAnimation::timerEvent(arg__1); +} +void PythonQtShell_QVariantAnimation::updateCurrentTime(int arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "updateCurrentTime"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QVariantAnimation::updateCurrentTime(arg__1); +} +void PythonQtShell_QVariantAnimation::updateCurrentValue(const QVariant& value) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "updateCurrentValue"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "const QVariant&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&value}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + +} +void PythonQtShell_QVariantAnimation::updateDirection(QAbstractAnimation::Direction direction) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "updateDirection"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QAbstractAnimation::Direction"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&direction}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QVariantAnimation::updateDirection(direction); +} +void PythonQtShell_QVariantAnimation::updateState(QAbstractAnimation::State newState, QAbstractAnimation::State oldState) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "updateState"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QAbstractAnimation::State" , "QAbstractAnimation::State"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + void* args[3] = {NULL, (void*)&newState, (void*)&oldState}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QVariantAnimation::updateState(newState, oldState); +} +QVariantAnimation* PythonQtWrapper_QVariantAnimation::new_QVariantAnimation(QObject* parent) +{ +return new PythonQtShell_QVariantAnimation(parent); } + +QVariant PythonQtWrapper_QVariantAnimation::currentValue(QVariantAnimation* theWrappedObject) const +{ + return ( theWrappedObject->currentValue()); +} + +int PythonQtWrapper_QVariantAnimation::duration(QVariantAnimation* theWrappedObject) const +{ + return ( ((PythonQtPublicPromoter_QVariantAnimation*)theWrappedObject)->promoted_duration()); +} + +QEasingCurve PythonQtWrapper_QVariantAnimation::easingCurve(QVariantAnimation* theWrappedObject) const +{ + return ( theWrappedObject->easingCurve()); +} + +QVariant PythonQtWrapper_QVariantAnimation::endValue(QVariantAnimation* theWrappedObject) const +{ + return ( theWrappedObject->endValue()); +} + +bool PythonQtWrapper_QVariantAnimation::event(QVariantAnimation* theWrappedObject, QEvent* event) +{ + return ( ((PythonQtPublicPromoter_QVariantAnimation*)theWrappedObject)->promoted_event(event)); +} + +QVariant PythonQtWrapper_QVariantAnimation::interpolated(QVariantAnimation* theWrappedObject, const QVariant& from, const QVariant& to, qreal progress) const +{ + return ( ((PythonQtPublicPromoter_QVariantAnimation*)theWrappedObject)->promoted_interpolated(from, to, progress)); +} + +QVariant PythonQtWrapper_QVariantAnimation::keyValueAt(QVariantAnimation* theWrappedObject, qreal step) const +{ + return ( theWrappedObject->keyValueAt(step)); +} + +QVector > PythonQtWrapper_QVariantAnimation::keyValues(QVariantAnimation* theWrappedObject) const +{ + return ( theWrappedObject->keyValues()); +} + +void PythonQtWrapper_QVariantAnimation::setDuration(QVariantAnimation* theWrappedObject, int msecs) +{ + ( theWrappedObject->setDuration(msecs)); +} + +void PythonQtWrapper_QVariantAnimation::setEasingCurve(QVariantAnimation* theWrappedObject, const QEasingCurve& easing) +{ + ( theWrappedObject->setEasingCurve(easing)); +} + +void PythonQtWrapper_QVariantAnimation::setEndValue(QVariantAnimation* theWrappedObject, const QVariant& value) +{ + ( theWrappedObject->setEndValue(value)); +} + +void PythonQtWrapper_QVariantAnimation::setKeyValueAt(QVariantAnimation* theWrappedObject, qreal step, const QVariant& value) +{ + ( theWrappedObject->setKeyValueAt(step, value)); +} + +void PythonQtWrapper_QVariantAnimation::setKeyValues(QVariantAnimation* theWrappedObject, const QVector >& values) +{ + ( theWrappedObject->setKeyValues(values)); +} + +void PythonQtWrapper_QVariantAnimation::setStartValue(QVariantAnimation* theWrappedObject, const QVariant& value) +{ + ( theWrappedObject->setStartValue(value)); +} + +QVariant PythonQtWrapper_QVariantAnimation::startValue(QVariantAnimation* theWrappedObject) const +{ + return ( theWrappedObject->startValue()); +} + +void PythonQtWrapper_QVariantAnimation::updateCurrentTime(QVariantAnimation* theWrappedObject, int arg__1) +{ + ( ((PythonQtPublicPromoter_QVariantAnimation*)theWrappedObject)->promoted_updateCurrentTime(arg__1)); +} + +void PythonQtWrapper_QVariantAnimation::updateState(QVariantAnimation* theWrappedObject, QAbstractAnimation::State newState, QAbstractAnimation::State oldState) +{ + ( ((PythonQtPublicPromoter_QVariantAnimation*)theWrappedObject)->promoted_updateState(newState, oldState)); +} + + + +QWaitCondition* PythonQtWrapper_QWaitCondition::new_QWaitCondition() +{ +return new QWaitCondition(); } + +bool PythonQtWrapper_QWaitCondition::wait(QWaitCondition* theWrappedObject, QMutex* mutex, unsigned long time) +{ + return ( theWrappedObject->wait(mutex, time)); +} + +bool PythonQtWrapper_QWaitCondition::wait(QWaitCondition* theWrappedObject, QReadWriteLock* readWriteLock, unsigned long time) +{ + return ( theWrappedObject->wait(readWriteLock, time)); +} + +void PythonQtWrapper_QWaitCondition::wakeAll(QWaitCondition* theWrappedObject) +{ + ( theWrappedObject->wakeAll()); +} + +void PythonQtWrapper_QWaitCondition::wakeOne(QWaitCondition* theWrappedObject) +{ + ( theWrappedObject->wakeOne()); +} + + + +QString PythonQtShell_QXmlStreamEntityResolver::resolveEntity(const QString& publicId, const QString& systemId) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "resolveEntity"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QString" , "const QString&" , "const QString&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + QString returnValue; + void* args[3] = {NULL, (void*)&publicId, (void*)&systemId}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("resolveEntity", methodInfo, result); + } else { + returnValue = *((QString*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QXmlStreamEntityResolver::resolveEntity(publicId, systemId); +} +QString PythonQtShell_QXmlStreamEntityResolver::resolveUndeclaredEntity(const QString& name) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "resolveUndeclaredEntity"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QString" , "const QString&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + QString returnValue; + void* args[2] = {NULL, (void*)&name}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("resolveUndeclaredEntity", methodInfo, result); + } else { + returnValue = *((QString*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QXmlStreamEntityResolver::resolveUndeclaredEntity(name); +} +QXmlStreamEntityResolver* PythonQtWrapper_QXmlStreamEntityResolver::new_QXmlStreamEntityResolver() +{ +return new PythonQtShell_QXmlStreamEntityResolver(); } + +QString PythonQtWrapper_QXmlStreamEntityResolver::resolveEntity(QXmlStreamEntityResolver* theWrappedObject, const QString& publicId, const QString& systemId) +{ + return ( ((PythonQtPublicPromoter_QXmlStreamEntityResolver*)theWrappedObject)->promoted_resolveEntity(publicId, systemId)); +} + +QString PythonQtWrapper_QXmlStreamEntityResolver::resolveUndeclaredEntity(QXmlStreamEntityResolver* theWrappedObject, const QString& name) +{ + return ( ((PythonQtPublicPromoter_QXmlStreamEntityResolver*)theWrappedObject)->promoted_resolveUndeclaredEntity(name)); +} + + + + diff --git a/generated_cpp_47/com_trolltech_qt_core/com_trolltech_qt_core2.h b/generated_cpp_47/com_trolltech_qt_core/com_trolltech_qt_core2.h new file mode 100644 index 00000000..60e965dd --- /dev/null +++ b/generated_cpp_47/com_trolltech_qt_core/com_trolltech_qt_core2.h @@ -0,0 +1,257 @@ +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include + + + +class PythonQtShell_QTimerEvent : public QTimerEvent +{ +public: + PythonQtShell_QTimerEvent(int timerId):QTimerEvent(timerId),_wrapper(NULL) {}; + + + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtWrapper_QTimerEvent : public QObject +{ Q_OBJECT +public: +public slots: +QTimerEvent* new_QTimerEvent(int timerId); +void delete_QTimerEvent(QTimerEvent* obj) { delete obj; } + int timerId(QTimerEvent* theWrappedObject) const; +}; + + + + + +class PythonQtShell_QTranslator : public QTranslator +{ +public: + PythonQtShell_QTranslator(QObject* parent = 0):QTranslator(parent),_wrapper(NULL) {}; + +virtual void childEvent(QChildEvent* arg__1); +virtual void customEvent(QEvent* arg__1); +virtual bool event(QEvent* arg__1); +virtual bool eventFilter(QObject* arg__1, QEvent* arg__2); +virtual bool isEmpty() const; +virtual void timerEvent(QTimerEvent* arg__1); +virtual QString translate(const char* context, const char* sourceText, const char* disambiguation = 0) const; + + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtPublicPromoter_QTranslator : public QTranslator +{ public: +inline bool promoted_isEmpty() const { return QTranslator::isEmpty(); } +inline QString promoted_translate(const char* context, const char* sourceText, const char* disambiguation = 0) const { return QTranslator::translate(context, sourceText, disambiguation); } +}; + +class PythonQtWrapper_QTranslator : public QObject +{ Q_OBJECT +public: +public slots: +QTranslator* new_QTranslator(QObject* parent = 0); +void delete_QTranslator(QTranslator* obj) { delete obj; } + bool isEmpty(QTranslator* theWrappedObject) const; + bool load(QTranslator* theWrappedObject, const QString& filename, const QString& directory = QString(), const QString& search_delimiters = QString(), const QString& suffix = QString()); + bool load(QTranslator* theWrappedObject, const uchar* data, int len); + QString translate(QTranslator* theWrappedObject, const char* context, const char* sourceText, const char* disambiguation = 0) const; +}; + + + + + +class PythonQtShell_QUuid : public QUuid +{ +public: + PythonQtShell_QUuid():QUuid(),_wrapper(NULL) {}; + PythonQtShell_QUuid(const QString& arg__1):QUuid(arg__1),_wrapper(NULL) {}; + PythonQtShell_QUuid(uint l, ushort w1, ushort w2, uchar b1, uchar b2, uchar b3, uchar b4, uchar b5, uchar b6, uchar b7, uchar b8):QUuid(l, w1, w2, b1, b2, b3, b4, b5, b6, b7, b8),_wrapper(NULL) {}; + + + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtWrapper_QUuid : public QObject +{ Q_OBJECT +public: +Q_ENUMS(Variant Version ) +enum Variant{ + VarUnknown = QUuid::VarUnknown, NCS = QUuid::NCS, DCE = QUuid::DCE, Microsoft = QUuid::Microsoft, Reserved = QUuid::Reserved}; +enum Version{ + VerUnknown = QUuid::VerUnknown, Time = QUuid::Time, EmbeddedPOSIX = QUuid::EmbeddedPOSIX, Name = QUuid::Name, Random = QUuid::Random}; +public slots: +QUuid* new_QUuid(); +QUuid* new_QUuid(const QString& arg__1); +QUuid* new_QUuid(uint l, ushort w1, ushort w2, uchar b1, uchar b2, uchar b3, uchar b4, uchar b5, uchar b6, uchar b7, uchar b8); +QUuid* new_QUuid(const QUuid& other) { +PythonQtShell_QUuid* a = new PythonQtShell_QUuid(); +*((QUuid*)a) = other; +return a; } +void delete_QUuid(QUuid* obj) { delete obj; } + QUuid static_QUuid_createUuid(); + 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 __eq__(QUuid* theWrappedObject, const QUuid& orig) const; + bool __gt__(QUuid* theWrappedObject, const QUuid& other) const; + void readFrom(QUuid* theWrappedObject, QDataStream& arg__1); + QString toString(QUuid* theWrappedObject) 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; } +}; + + + + + +class PythonQtShell_QVariantAnimation : public QVariantAnimation +{ +public: + PythonQtShell_QVariantAnimation(QObject* parent = 0):QVariantAnimation(parent),_wrapper(NULL) {}; + +virtual void childEvent(QChildEvent* arg__1); +virtual void customEvent(QEvent* arg__1); +virtual int duration() const; +virtual bool event(QEvent* event); +virtual bool eventFilter(QObject* arg__1, QEvent* arg__2); +virtual QVariant interpolated(const QVariant& from, const QVariant& to, qreal progress) const; +virtual void timerEvent(QTimerEvent* arg__1); +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); + + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtPublicPromoter_QVariantAnimation : public QVariantAnimation +{ public: +inline int promoted_duration() const { return QVariantAnimation::duration(); } +inline bool promoted_event(QEvent* event) { return QVariantAnimation::event(event); } +inline QVariant promoted_interpolated(const QVariant& from, const QVariant& to, qreal progress) const { return QVariantAnimation::interpolated(from, to, progress); } +inline void promoted_updateCurrentTime(int arg__1) { QVariantAnimation::updateCurrentTime(arg__1); } +inline void promoted_updateState(QAbstractAnimation::State newState, QAbstractAnimation::State oldState) { QVariantAnimation::updateState(newState, oldState); } +}; + +class PythonQtWrapper_QVariantAnimation : public QObject +{ Q_OBJECT +public: +public slots: +QVariantAnimation* new_QVariantAnimation(QObject* parent = 0); +void delete_QVariantAnimation(QVariantAnimation* obj) { delete obj; } + QVariant currentValue(QVariantAnimation* theWrappedObject) const; + int duration(QVariantAnimation* theWrappedObject) const; + QEasingCurve easingCurve(QVariantAnimation* theWrappedObject) const; + QVariant endValue(QVariantAnimation* theWrappedObject) const; + bool event(QVariantAnimation* theWrappedObject, QEvent* event); + QVariant interpolated(QVariantAnimation* theWrappedObject, const QVariant& from, const QVariant& to, qreal progress) const; + QVariant keyValueAt(QVariantAnimation* theWrappedObject, qreal step) const; + QVector > keyValues(QVariantAnimation* theWrappedObject) const; + void setDuration(QVariantAnimation* theWrappedObject, int msecs); + void setEasingCurve(QVariantAnimation* theWrappedObject, const QEasingCurve& easing); + void setEndValue(QVariantAnimation* theWrappedObject, const QVariant& value); + void setKeyValueAt(QVariantAnimation* theWrappedObject, qreal step, const QVariant& value); + void setKeyValues(QVariantAnimation* theWrappedObject, const QVector >& values); + void setStartValue(QVariantAnimation* theWrappedObject, const QVariant& value); + QVariant startValue(QVariantAnimation* theWrappedObject) const; + void updateCurrentTime(QVariantAnimation* theWrappedObject, int arg__1); + void updateState(QVariantAnimation* theWrappedObject, QAbstractAnimation::State newState, QAbstractAnimation::State oldState); +}; + + + + + +class PythonQtWrapper_QWaitCondition : public QObject +{ Q_OBJECT +public: +public slots: +QWaitCondition* new_QWaitCondition(); +void delete_QWaitCondition(QWaitCondition* obj) { delete obj; } + bool wait(QWaitCondition* theWrappedObject, QMutex* mutex, unsigned long time = 0xffffffffUL); + bool wait(QWaitCondition* theWrappedObject, QReadWriteLock* readWriteLock, unsigned long time = 0xffffffffUL); + void wakeAll(QWaitCondition* theWrappedObject); + void wakeOne(QWaitCondition* theWrappedObject); +}; + + + + + +class PythonQtShell_QXmlStreamEntityResolver : public QXmlStreamEntityResolver +{ +public: + PythonQtShell_QXmlStreamEntityResolver():QXmlStreamEntityResolver(),_wrapper(NULL) {}; + +virtual QString resolveEntity(const QString& publicId, const QString& systemId); +virtual QString resolveUndeclaredEntity(const QString& name); + + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtPublicPromoter_QXmlStreamEntityResolver : public QXmlStreamEntityResolver +{ public: +inline QString promoted_resolveEntity(const QString& publicId, const QString& systemId) { return QXmlStreamEntityResolver::resolveEntity(publicId, systemId); } +inline QString promoted_resolveUndeclaredEntity(const QString& name) { return QXmlStreamEntityResolver::resolveUndeclaredEntity(name); } +}; + +class PythonQtWrapper_QXmlStreamEntityResolver : public QObject +{ Q_OBJECT +public: +public slots: +QXmlStreamEntityResolver* new_QXmlStreamEntityResolver(); +void delete_QXmlStreamEntityResolver(QXmlStreamEntityResolver* obj) { delete obj; } + QString resolveEntity(QXmlStreamEntityResolver* theWrappedObject, const QString& publicId, const QString& systemId); + QString resolveUndeclaredEntity(QXmlStreamEntityResolver* theWrappedObject, const QString& name); +}; + + + + + +class PythonQtWrapper_QtConcurrent : public QObject +{ Q_OBJECT +public: +Q_ENUMS(ReduceOption ThreadFunctionResult ) +Q_FLAGS(ReduceOptions ) +enum ReduceOption{ + UnorderedReduce = QtConcurrent::UnorderedReduce, OrderedReduce = QtConcurrent::OrderedReduce, SequentialReduce = QtConcurrent::SequentialReduce}; +enum ThreadFunctionResult{ + ThrottleThread = QtConcurrent::ThrottleThread, ThreadFinished = QtConcurrent::ThreadFinished}; +Q_DECLARE_FLAGS(ReduceOptions, ReduceOption) +public slots: +}; + + diff --git a/generated_cpp_47/com_trolltech_qt_core/com_trolltech_qt_core_init.cpp b/generated_cpp_47/com_trolltech_qt_core/com_trolltech_qt_core_init.cpp new file mode 100644 index 00000000..e5ebe2d8 --- /dev/null +++ b/generated_cpp_47/com_trolltech_qt_core/com_trolltech_qt_core_init.cpp @@ -0,0 +1,107 @@ +#include +#include "com_trolltech_qt_core0.h" +#include "com_trolltech_qt_core1.h" +#include "com_trolltech_qt_core2.h" + +static void* polymorphichandler_QEvent(const void *ptr, const char **class_name) +{ + Q_ASSERT(ptr != 0); + QEvent *object = (QEvent *)ptr; + if (object->type() == QEvent::None) { + *class_name = "QEvent"; + return (QEvent*)object; + } + if (object->type() == QEvent::ChildAdded || object->type() == QEvent::ChildPolished || object->type() == QEvent::ChildRemoved) { + *class_name = "QChildEvent"; + return (QChildEvent*)object; + } + if (object->type() == QEvent::StateMachineWrapped) { + *class_name = "QStateMachine_WrappedEvent"; + return (QStateMachine::WrappedEvent*)object; + } + if (object->type() == QEvent::StateMachineSignal) { + *class_name = "QStateMachine_SignalEvent"; + return (QStateMachine::SignalEvent*)object; + } + if (object->type() == QEvent::Timer) { + *class_name = "QTimerEvent"; + return (QTimerEvent*)object; + } + if (object->type() == QEvent::DynamicPropertyChange) { + *class_name = "QDynamicPropertyChangeEvent"; + return (QDynamicPropertyChangeEvent*)object; + } + return NULL; +} + +void PythonQt_init_QtCore(PyObject* module) { +PythonQt::priv()->registerClass(&QAbstractAnimation::staticMetaObject, "QtCore", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); +PythonQt::priv()->registerClass(&QAbstractItemModel::staticMetaObject, "QtCore", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); +PythonQt::priv()->registerClass(&QAbstractListModel::staticMetaObject, "QtCore", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); +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("QBasicTimer", "", "QtCore", PythonQtCreateObject, NULL, module, 0); +PythonQt::priv()->registerClass(&QBuffer::staticMetaObject, "QtCore", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); +PythonQt::priv()->registerCPPClass("QByteArrayMatcher", "", "QtCore", PythonQtCreateObject, NULL, module, 0); +PythonQt::priv()->registerCPPClass("QChildEvent", "QEvent", "QtCore", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); +PythonQt::priv()->registerClass(&QCoreApplication::staticMetaObject, "QtCore", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); +PythonQt::priv()->registerCPPClass("QCryptographicHash", "", "QtCore", PythonQtCreateObject, NULL, module, 0); +PythonQt::priv()->registerCPPClass("QDataStream", "", "QtCore", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); +PythonQt::priv()->registerCPPClass("QDir", "", "QtCore", PythonQtCreateObject, NULL, module, PythonQt::Type_RichCompare); +PythonQt::priv()->registerCPPClass("QDirIterator", "", "QtCore", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); +PythonQt::priv()->registerCPPClass("QDynamicPropertyChangeEvent", "QEvent", "QtCore", PythonQtCreateObject, NULL, module, 0); +PythonQt::priv()->registerCPPClass("QEasingCurve", "", "QtCore", PythonQtCreateObject, NULL, module, 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()->registerCPPClass("QFileInfo", "", "QtCore", PythonQtCreateObject, NULL, module, PythonQt::Type_RichCompare); +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()->registerCPPClass("QLibraryInfo", "", "QtCore", PythonQtCreateObject, NULL, module, 0); +PythonQt::priv()->registerClass(&QMimeData::staticMetaObject, "QtCore", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); +PythonQt::priv()->registerCPPClass("QModelIndex", "", "QtCore", PythonQtCreateObject, NULL, module, PythonQt::Type_RichCompare); +PythonQt::priv()->registerCPPClass("QMutex", "", "QtCore", PythonQtCreateObject, NULL, module, 0); +PythonQt::priv()->registerClass(&QObject::staticMetaObject, "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()->registerClass(&QProcess::staticMetaObject, "QtCore", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); +PythonQt::priv()->registerCPPClass("QProcessEnvironment", "", "QtCore", PythonQtCreateObject, NULL, module, PythonQt::Type_RichCompare); +PythonQt::priv()->registerClass(&QPropertyAnimation::staticMetaObject, "QtCore", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); +PythonQt::priv()->registerCPPClass("QReadWriteLock", "", "QtCore", PythonQtCreateObject, NULL, module, 0); +PythonQt::priv()->registerCPPClass("QRunnable", "", "QtCore", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); +PythonQt::priv()->registerCPPClass("QSemaphore", "", "QtCore", PythonQtCreateObject, NULL, 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(&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()->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("QSystemSemaphore", "", "QtCore", PythonQtCreateObject, NULL, module, 0); +PythonQt::priv()->registerClass(&QTemporaryFile::staticMetaObject, "QtCore", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); +PythonQt::priv()->registerCPPClass("QTextBoundaryFinder", "", "QtCore", PythonQtCreateObject, NULL, module, 0); +PythonQt::priv()->registerCPPClass("QTextCodec", "", "QtCore", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); +PythonQt::priv()->registerCPPClass("QTextDecoder", "", "QtCore", PythonQtCreateObject, NULL, module, 0); +PythonQt::priv()->registerCPPClass("QTextEncoder", "", "QtCore", PythonQtCreateObject, NULL, module, 0); +PythonQt::priv()->registerCPPClass("QTextStream", "", "QtCore", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); +PythonQt::priv()->registerClass(&QThreadPool::staticMetaObject, "QtCore", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); +PythonQt::priv()->registerClass(&QTimeLine::staticMetaObject, "QtCore", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); +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, 0); +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("QXmlStreamEntityResolver", "", "QtCore", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); +PythonQt::priv()->registerCPPClass("QtConcurrent", "", "QtCore", PythonQtCreateObject, NULL, module, 0); + +PythonQt::self()->addPolymorphicHandler("QEvent", polymorphichandler_QEvent); +} diff --git a/generated_cpp_47/com_trolltech_qt_core_builtin/com_trolltech_qt_core_builtin.pri b/generated_cpp_47/com_trolltech_qt_core_builtin/com_trolltech_qt_core_builtin.pri new file mode 100644 index 00000000..181c29c5 --- /dev/null +++ b/generated_cpp_47/com_trolltech_qt_core_builtin/com_trolltech_qt_core_builtin.pri @@ -0,0 +1,6 @@ +HEADERS += \ + $$PWD/com_trolltech_qt_core_builtin0.h \ + +SOURCES += \ + $$PWD/com_trolltech_qt_core_builtin0.cpp \ + $$PWD/com_trolltech_qt_core_builtin_init.cpp diff --git a/generated_cpp_47/com_trolltech_qt_core_builtin/com_trolltech_qt_core_builtin0.cpp b/generated_cpp_47/com_trolltech_qt_core_builtin/com_trolltech_qt_core_builtin0.cpp new file mode 100644 index 00000000..b3759cb5 --- /dev/null +++ b/generated_cpp_47/com_trolltech_qt_core_builtin/com_trolltech_qt_core_builtin0.cpp @@ -0,0 +1,3670 @@ +#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 + +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)); +} + +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)); +} + +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& a) const +{ + return ( (*theWrappedObject)!= a); +} + +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& a) const +{ + return ( (*theWrappedObject)== a); +} + +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()); +} + +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)); +} + + + +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)); +} + +char PythonQtWrapper_QByteArray::at(QByteArray* theWrappedObject, int i) const +{ + return ( theWrappedObject->at(i)); +} + +int PythonQtWrapper_QByteArray::capacity(QByteArray* theWrappedObject) const +{ + return ( theWrappedObject->capacity()); +} + +void PythonQtWrapper_QByteArray::chop(QByteArray* theWrappedObject, int n) +{ + ( theWrappedObject->chop(n)); +} + +void PythonQtWrapper_QByteArray::clear(QByteArray* theWrappedObject) +{ + ( theWrappedObject->clear()); +} + +QBool PythonQtWrapper_QByteArray::contains(QByteArray* theWrappedObject, char c) const +{ + return ( theWrappedObject->contains(c)); +} + +QBool PythonQtWrapper_QByteArray::contains(QByteArray* theWrappedObject, const QByteArray& a) const +{ + return ( theWrappedObject->contains(a)); +} + +QBool 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_fromHex(const QByteArray& hexEncoded) +{ + return (QByteArray::fromHex(hexEncoded)); +} + +QByteArray PythonQtWrapper_QByteArray::static_QByteArray_fromPercentEncoding(const QByteArray& pctEncoded, char percent) +{ + return (QByteArray::fromPercentEncoding(pctEncoded, percent)); +} + +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)); +} + +bool PythonQtWrapper_QByteArray::isEmpty(QByteArray* theWrappedObject) const +{ + return ( theWrappedObject->isEmpty()); +} + +bool PythonQtWrapper_QByteArray::isNull(QByteArray* theWrappedObject) const +{ + return ( theWrappedObject->isNull()); +} + +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)); +} + +QByteArray PythonQtWrapper_QByteArray::static_QByteArray_number(qulonglong arg__1, int base) +{ + return (QByteArray::number(arg__1, base)); +} + +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)); +} + +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)); +} + +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, qulonglong 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::setNum(QByteArray* theWrappedObject, ushort arg__1, int base) +{ + return &( theWrappedObject->setNum(arg__1, base)); +} + +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)); +} + +QByteArray PythonQtWrapper_QByteArray::toBase64(QByteArray* theWrappedObject) const +{ + return ( theWrappedObject->toBase64()); +} + +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()); +} + +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, int 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()); +} + +int PythonQtWrapper_QDate::daysTo(QDate* theWrappedObject, const QDate& arg__1) const +{ + return ( theWrappedObject->daysTo(arg__1)); +} + +QDate PythonQtWrapper_QDate::static_QDate_fromJulianDay(int 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)); +} + +uint PythonQtWrapper_QDate::static_QDate_gregorianToJulian(int y, int m, int d) +{ + return (QDate::gregorianToJulian(y, m, d)); +} + +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) +{ + return (QDate::longDayName(weekday)); +} + +QString PythonQtWrapper_QDate::static_QDate_longDayName(int weekday, QDate::MonthNameType type) +{ + return (QDate::longDayName(weekday, type)); +} + +QString PythonQtWrapper_QDate::static_QDate_longMonthName(int month) +{ + return (QDate::longMonthName(month)); +} + +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) +{ + return (QDate::shortDayName(weekday)); +} + +QString PythonQtWrapper_QDate::static_QDate_shortDayName(int weekday, QDate::MonthNameType type) +{ + return (QDate::shortDayName(weekday, type)); +} + +QString PythonQtWrapper_QDate::static_QDate_shortMonthName(int month) +{ + return (QDate::shortMonthName(month)); +} + +QString PythonQtWrapper_QDate::static_QDate_shortMonthName(int month, QDate::MonthNameType type) +{ + return (QDate::shortMonthName(month, type)); +} + +int PythonQtWrapper_QDate::toJulianDay(QDate* theWrappedObject) const +{ + return ( theWrappedObject->toJulianDay()); +} + +QString PythonQtWrapper_QDate::toString(QDate* theWrappedObject, Qt::DateFormat f) const +{ + return ( theWrappedObject->toString(f)); +} + +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 QDateTime& other) +{ +return new QDateTime(other); } + +QDateTime PythonQtWrapper_QDateTime::addDays(QDateTime* theWrappedObject, int days) const +{ + return ( theWrappedObject->addDays(days)); +} + +QDateTime PythonQtWrapper_QDateTime::addMSecs(QDateTime* theWrappedObject, qint64 msecs) const +{ + return ( theWrappedObject->addMSecs(msecs)); +} + +QDateTime PythonQtWrapper_QDateTime::addMonths(QDateTime* theWrappedObject, int months) const +{ + return ( theWrappedObject->addMonths(months)); +} + +QDateTime PythonQtWrapper_QDateTime::addSecs(QDateTime* theWrappedObject, int 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()); +} + +QDate PythonQtWrapper_QDateTime::date(QDateTime* theWrappedObject) const +{ + return ( theWrappedObject->date()); +} + +int PythonQtWrapper_QDateTime::daysTo(QDateTime* theWrappedObject, const QDateTime& arg__1) const +{ + return ( theWrappedObject->daysTo(arg__1)); +} + +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)); +} + +bool PythonQtWrapper_QDateTime::isNull(QDateTime* theWrappedObject) const +{ + return ( theWrappedObject->isNull()); +} + +bool PythonQtWrapper_QDateTime::isValid(QDateTime* theWrappedObject) const +{ + return ( theWrappedObject->isValid()); +} + +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); +} + +int 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::setTime(QDateTime* theWrappedObject, const QTime& time) +{ + ( theWrappedObject->setTime(time)); +} + +void PythonQtWrapper_QDateTime::setTimeSpec(QDateTime* theWrappedObject, Qt::TimeSpec spec) +{ + ( theWrappedObject->setTimeSpec(spec)); +} + +void PythonQtWrapper_QDateTime::setTime_t(QDateTime* theWrappedObject, uint secsSince1Jan1970UTC) +{ + ( theWrappedObject->setTime_t(secsSince1Jan1970UTC)); +} + +void PythonQtWrapper_QDateTime::setUtcOffset(QDateTime* theWrappedObject, int seconds) +{ + ( theWrappedObject->setUtcOffset(seconds)); +} + +QTime PythonQtWrapper_QDateTime::time(QDateTime* theWrappedObject) const +{ + return ( theWrappedObject->time()); +} + +Qt::TimeSpec PythonQtWrapper_QDateTime::timeSpec(QDateTime* theWrappedObject) const +{ + return ( theWrappedObject->timeSpec()); +} + +QDateTime PythonQtWrapper_QDateTime::toLocalTime(QDateTime* theWrappedObject) const +{ + return ( theWrappedObject->toLocalTime()); +} + +QString PythonQtWrapper_QDateTime::toString(QDateTime* theWrappedObject, Qt::DateFormat f) const +{ + return ( theWrappedObject->toString(f)); +} + +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)); +} + +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); } + +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)); +} + +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; +} + + + +QLocale* PythonQtWrapper_QLocale::new_QLocale() +{ +return new QLocale(); } + +QLocale* PythonQtWrapper_QLocale::new_QLocale(QLocale::Language language, QLocale::Country country) +{ +return new QLocale(language, country); } + +QLocale* PythonQtWrapper_QLocale::new_QLocale(const QLocale& other) +{ +return new QLocale(other); } + +QLocale* PythonQtWrapper_QLocale::new_QLocale(const QString& name) +{ +return new QLocale(name); } + +QString PythonQtWrapper_QLocale::amText(QLocale* theWrappedObject) const +{ + return ( theWrappedObject->amText()); +} + +QLocale PythonQtWrapper_QLocale::static_QLocale_c() +{ + return (QLocale::c()); +} + +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::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()); +} + +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)); +} + +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()); +} + +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()); +} + +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)); +} + +QLocale PythonQtWrapper_QLocale::static_QLocale_system() +{ + return (QLocale::system()); +} + +QString PythonQtWrapper_QLocale::timeFormat(QLocale* theWrappedObject, QLocale::FormatType format) const +{ + return ( theWrappedObject->timeFormat(format)); +} + +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)); +} + +float PythonQtWrapper_QLocale::toFloat(QLocale* theWrappedObject, const QString& s, bool* ok) const +{ + return ( theWrappedObject->toFloat(s, ok)); +} + +int PythonQtWrapper_QLocale::toInt(QLocale* theWrappedObject, const QString& s, bool* ok, int base) const +{ + return ( theWrappedObject->toInt(s, ok, base)); +} + +qlonglong PythonQtWrapper_QLocale::toLongLong(QLocale* theWrappedObject, const QString& s, bool* ok, int base) const +{ + return ( theWrappedObject->toLongLong(s, ok, base)); +} + +short PythonQtWrapper_QLocale::toShort(QLocale* theWrappedObject, const QString& s, bool* ok, int base) const +{ + return ( theWrappedObject->toShort(s, ok, base)); +} + +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, qlonglong i) const +{ + return ( theWrappedObject->toString(i)); +} + +QString PythonQtWrapper_QLocale::toString(QLocale* theWrappedObject, qulonglong 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, ushort 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)); +} + +ushort PythonQtWrapper_QLocale::toUShort(QLocale* theWrappedObject, const QString& s, bool* ok, int base) const +{ + return ( theWrappedObject->toUShort(s, ok, base)); +} + +QChar PythonQtWrapper_QLocale::zeroDigit(QLocale* theWrappedObject) const +{ + return ( theWrappedObject->zeroDigit()); +} + + + +QPoint* PythonQtWrapper_QPoint::new_QPoint() +{ +return new QPoint(); } + +QPoint* PythonQtWrapper_QPoint::new_QPoint(int xpos, int ypos) +{ +return new QPoint(xpos, ypos); } + +bool PythonQtWrapper_QPoint::isNull(QPoint* theWrappedObject) const +{ + return ( theWrappedObject->isNull()); +} + +int PythonQtWrapper_QPoint::manhattanLength(QPoint* theWrappedObject) const +{ + return ( theWrappedObject->manhattanLength()); +} + +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, qreal c) +{ + return ( (*theWrappedObject)* c); +} + +QPoint* PythonQtWrapper_QPoint::__imul__(QPoint* theWrappedObject, qreal c) +{ + return &( (*theWrappedObject)*= c); +} + +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 c) +{ + return &( (*theWrappedObject)/= c); +} + +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)); +} + +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); } + +bool PythonQtWrapper_QPointF::isNull(QPointF* theWrappedObject) const +{ + return ( theWrappedObject->isNull()); +} + +qreal PythonQtWrapper_QPointF::manhattanLength(QPointF* theWrappedObject) const +{ + return ( theWrappedObject->manhattanLength()); +} + +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 c) +{ + return ( (*theWrappedObject)/ c); +} + +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()); +} + +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()); +} + +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()); +} + +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); +} + +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::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)); +} + +void PythonQtWrapper_QRectF::getCoords(QRectF* theWrappedObject, qreal* x1, qreal* y1, qreal* x2, qreal* y2) const +{ + ( theWrappedObject->getCoords(x1, y1, x2, y2)); +} + +void PythonQtWrapper_QRectF::getRect(QRectF* theWrappedObject, qreal* x, qreal* y, qreal* w, qreal* h) const +{ + ( theWrappedObject->getRect(x, y, w, h)); +} + +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()); +} + +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 t) +{ + ( theWrappedObject->moveTo(x, t)); +} + +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()); +} + +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); +} + +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::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()); +} + +int PythonQtWrapper_QRegExp::numCaptures(QRegExp* theWrappedObject) const +{ + return ( theWrappedObject->numCaptures()); +} + +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)); +} + + + +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)); +} + +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()); +} + +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)); +} + +void PythonQtWrapper_QSize::setHeight(QSize* theWrappedObject, int h) +{ + ( theWrappedObject->setHeight(h)); +} + +void PythonQtWrapper_QSize::setWidth(QSize* theWrappedObject, int w) +{ + ( theWrappedObject->setWidth(w)); +} + +void PythonQtWrapper_QSize::transpose(QSize* theWrappedObject) +{ + ( theWrappedObject->transpose()); +} + +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)); +} + +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()); +} + +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)); +} + +void PythonQtWrapper_QSizeF::setHeight(QSizeF* theWrappedObject, qreal h) +{ + ( theWrappedObject->setHeight(h)); +} + +void PythonQtWrapper_QSizeF::setWidth(QSizeF* theWrappedObject, qreal w) +{ + ( theWrappedObject->setWidth(w)); +} + +QSize PythonQtWrapper_QSizeF::toSize(QSizeF* theWrappedObject) const +{ + return ( theWrappedObject->toSize()); +} + +void PythonQtWrapper_QSizeF::transpose(QSizeF* theWrappedObject) +{ + ( theWrappedObject->transpose()); +} + +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_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::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) +{ +return new QUrl(url); } + +QUrl* PythonQtWrapper_QUrl::new_QUrl(const QString& url, QUrl::ParsingMode mode) +{ +return new QUrl(url, mode); } + +QUrl* PythonQtWrapper_QUrl::new_QUrl(const QUrl& copy) +{ +return new QUrl(copy); } + +void PythonQtWrapper_QUrl::addEncodedQueryItem(QUrl* theWrappedObject, const QByteArray& key, const QByteArray& value) +{ + ( theWrappedObject->addEncodedQueryItem(key, value)); +} + +void PythonQtWrapper_QUrl::addQueryItem(QUrl* theWrappedObject, const QString& key, const QString& value) +{ + ( theWrappedObject->addQueryItem(key, value)); +} + +QList PythonQtWrapper_QUrl::allEncodedQueryItemValues(QUrl* theWrappedObject, const QByteArray& key) const +{ + return ( theWrappedObject->allEncodedQueryItemValues(key)); +} + +QStringList PythonQtWrapper_QUrl::allQueryItemValues(QUrl* theWrappedObject, const QString& key) const +{ + return ( theWrappedObject->allQueryItemValues(key)); +} + +QString PythonQtWrapper_QUrl::authority(QUrl* theWrappedObject) const +{ + return ( theWrappedObject->authority()); +} + +void PythonQtWrapper_QUrl::clear(QUrl* theWrappedObject) +{ + ( theWrappedObject->clear()); +} + +QByteArray PythonQtWrapper_QUrl::encodedFragment(QUrl* theWrappedObject) const +{ + return ( theWrappedObject->encodedFragment()); +} + +QByteArray PythonQtWrapper_QUrl::encodedHost(QUrl* theWrappedObject) const +{ + return ( theWrappedObject->encodedHost()); +} + +QByteArray PythonQtWrapper_QUrl::encodedPassword(QUrl* theWrappedObject) const +{ + return ( theWrappedObject->encodedPassword()); +} + +QByteArray PythonQtWrapper_QUrl::encodedPath(QUrl* theWrappedObject) const +{ + return ( theWrappedObject->encodedPath()); +} + +QByteArray PythonQtWrapper_QUrl::encodedQuery(QUrl* theWrappedObject) const +{ + return ( theWrappedObject->encodedQuery()); +} + +QByteArray PythonQtWrapper_QUrl::encodedQueryItemValue(QUrl* theWrappedObject, const QByteArray& key) const +{ + return ( theWrappedObject->encodedQueryItemValue(key)); +} + +QList > PythonQtWrapper_QUrl::encodedQueryItems(QUrl* theWrappedObject) const +{ + return ( theWrappedObject->encodedQueryItems()); +} + +QByteArray PythonQtWrapper_QUrl::encodedUserName(QUrl* theWrappedObject) const +{ + return ( theWrappedObject->encodedUserName()); +} + +QString PythonQtWrapper_QUrl::errorString(QUrl* theWrappedObject) const +{ + return ( theWrappedObject->errorString()); +} + +QString PythonQtWrapper_QUrl::fragment(QUrl* theWrappedObject) const +{ + return ( theWrappedObject->fragment()); +} + +QString PythonQtWrapper_QUrl::static_QUrl_fromAce(const QByteArray& arg__1) +{ + return (QUrl::fromAce(arg__1)); +} + +QUrl PythonQtWrapper_QUrl::static_QUrl_fromEncoded(const QByteArray& url) +{ + return (QUrl::fromEncoded(url)); +} + +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)); +} + +QUrl PythonQtWrapper_QUrl::static_QUrl_fromUserInput(const QString& userInput) +{ + return (QUrl::fromUserInput(userInput)); +} + +bool PythonQtWrapper_QUrl::hasEncodedQueryItem(QUrl* theWrappedObject, const QByteArray& key) const +{ + return ( theWrappedObject->hasEncodedQueryItem(key)); +} + +bool PythonQtWrapper_QUrl::hasFragment(QUrl* theWrappedObject) const +{ + return ( theWrappedObject->hasFragment()); +} + +bool PythonQtWrapper_QUrl::hasQuery(QUrl* theWrappedObject) const +{ + return ( theWrappedObject->hasQuery()); +} + +bool PythonQtWrapper_QUrl::hasQueryItem(QUrl* theWrappedObject, const QString& key) const +{ + return ( theWrappedObject->hasQueryItem(key)); +} + +QString PythonQtWrapper_QUrl::host(QUrl* theWrappedObject) const +{ + return ( theWrappedObject->host()); +} + +QStringList PythonQtWrapper_QUrl::static_QUrl_idnWhitelist() +{ + return (QUrl::idnWhitelist()); +} + +bool PythonQtWrapper_QUrl::isEmpty(QUrl* theWrappedObject) const +{ + return ( theWrappedObject->isEmpty()); +} + +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::__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) const +{ + return ( theWrappedObject->password()); +} + +QString PythonQtWrapper_QUrl::path(QUrl* theWrappedObject) const +{ + return ( theWrappedObject->path()); +} + +int PythonQtWrapper_QUrl::port(QUrl* theWrappedObject) const +{ + return ( theWrappedObject->port()); +} + +int PythonQtWrapper_QUrl::port(QUrl* theWrappedObject, int defaultPort) const +{ + return ( theWrappedObject->port(defaultPort)); +} + +QString PythonQtWrapper_QUrl::queryItemValue(QUrl* theWrappedObject, const QString& key) const +{ + return ( theWrappedObject->queryItemValue(key)); +} + +QList > PythonQtWrapper_QUrl::queryItems(QUrl* theWrappedObject) const +{ + return ( theWrappedObject->queryItems()); +} + +char PythonQtWrapper_QUrl::queryPairDelimiter(QUrl* theWrappedObject) const +{ + return ( theWrappedObject->queryPairDelimiter()); +} + +char PythonQtWrapper_QUrl::queryValueDelimiter(QUrl* theWrappedObject) const +{ + return ( theWrappedObject->queryValueDelimiter()); +} + +void PythonQtWrapper_QUrl::removeAllEncodedQueryItems(QUrl* theWrappedObject, const QByteArray& key) +{ + ( theWrappedObject->removeAllEncodedQueryItems(key)); +} + +void PythonQtWrapper_QUrl::removeAllQueryItems(QUrl* theWrappedObject, const QString& key) +{ + ( theWrappedObject->removeAllQueryItems(key)); +} + +void PythonQtWrapper_QUrl::removeEncodedQueryItem(QUrl* theWrappedObject, const QByteArray& key) +{ + ( theWrappedObject->removeEncodedQueryItem(key)); +} + +void PythonQtWrapper_QUrl::removeQueryItem(QUrl* theWrappedObject, const QString& key) +{ + ( theWrappedObject->removeQueryItem(key)); +} + +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) +{ + ( theWrappedObject->setAuthority(authority)); +} + +void PythonQtWrapper_QUrl::setEncodedFragment(QUrl* theWrappedObject, const QByteArray& fragment) +{ + ( theWrappedObject->setEncodedFragment(fragment)); +} + +void PythonQtWrapper_QUrl::setEncodedHost(QUrl* theWrappedObject, const QByteArray& host) +{ + ( theWrappedObject->setEncodedHost(host)); +} + +void PythonQtWrapper_QUrl::setEncodedPassword(QUrl* theWrappedObject, const QByteArray& password) +{ + ( theWrappedObject->setEncodedPassword(password)); +} + +void PythonQtWrapper_QUrl::setEncodedPath(QUrl* theWrappedObject, const QByteArray& path) +{ + ( theWrappedObject->setEncodedPath(path)); +} + +void PythonQtWrapper_QUrl::setEncodedQuery(QUrl* theWrappedObject, const QByteArray& query) +{ + ( theWrappedObject->setEncodedQuery(query)); +} + +void PythonQtWrapper_QUrl::setEncodedQueryItems(QUrl* theWrappedObject, const QList >& query) +{ + ( theWrappedObject->setEncodedQueryItems(query)); +} + +void PythonQtWrapper_QUrl::setEncodedUrl(QUrl* theWrappedObject, const QByteArray& url) +{ + ( theWrappedObject->setEncodedUrl(url)); +} + +void PythonQtWrapper_QUrl::setEncodedUrl(QUrl* theWrappedObject, const QByteArray& url, QUrl::ParsingMode mode) +{ + ( theWrappedObject->setEncodedUrl(url, mode)); +} + +void PythonQtWrapper_QUrl::setEncodedUserName(QUrl* theWrappedObject, const QByteArray& userName) +{ + ( theWrappedObject->setEncodedUserName(userName)); +} + +void PythonQtWrapper_QUrl::setFragment(QUrl* theWrappedObject, const QString& fragment) +{ + ( theWrappedObject->setFragment(fragment)); +} + +void PythonQtWrapper_QUrl::setHost(QUrl* theWrappedObject, const QString& host) +{ + ( theWrappedObject->setHost(host)); +} + +void PythonQtWrapper_QUrl::static_QUrl_setIdnWhitelist(const QStringList& arg__1) +{ + (QUrl::setIdnWhitelist(arg__1)); +} + +void PythonQtWrapper_QUrl::setPassword(QUrl* theWrappedObject, const QString& password) +{ + ( theWrappedObject->setPassword(password)); +} + +void PythonQtWrapper_QUrl::setPath(QUrl* theWrappedObject, const QString& path) +{ + ( theWrappedObject->setPath(path)); +} + +void PythonQtWrapper_QUrl::setPort(QUrl* theWrappedObject, int port) +{ + ( theWrappedObject->setPort(port)); +} + +void PythonQtWrapper_QUrl::setQueryDelimiters(QUrl* theWrappedObject, char valueDelimiter, char pairDelimiter) +{ + ( theWrappedObject->setQueryDelimiters(valueDelimiter, pairDelimiter)); +} + +void PythonQtWrapper_QUrl::setQueryItems(QUrl* theWrappedObject, const QList >& query) +{ + ( theWrappedObject->setQueryItems(query)); +} + +void PythonQtWrapper_QUrl::setScheme(QUrl* theWrappedObject, const QString& scheme) +{ + ( theWrappedObject->setScheme(scheme)); +} + +void PythonQtWrapper_QUrl::setUrl(QUrl* theWrappedObject, const QString& url) +{ + ( theWrappedObject->setUrl(url)); +} + +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) +{ + ( theWrappedObject->setUserInfo(userInfo)); +} + +void PythonQtWrapper_QUrl::setUserName(QUrl* theWrappedObject, const QString& userName) +{ + ( theWrappedObject->setUserName(userName)); +} + +QByteArray PythonQtWrapper_QUrl::static_QUrl_toAce(const QString& arg__1) +{ + return (QUrl::toAce(arg__1)); +} + +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)); +} + +QString PythonQtWrapper_QUrl::userInfo(QUrl* theWrappedObject) const +{ + return ( theWrappedObject->userInfo()); +} + +QString PythonQtWrapper_QUrl::userName(QUrl* theWrappedObject) const +{ + return ( theWrappedObject->userName()); +} + +QString PythonQtWrapper_QUrl::py_toString(QUrl* obj) { return obj->toString(); } + + +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)); +} + +QString PythonQtWrapper_Qt::static_Qt_escape(const QString& plain) +{ + return (Qt::escape(plain)); +} + +bool PythonQtWrapper_Qt::static_Qt_mightBeRichText(const QString& arg__1) +{ + return (Qt::mightBeRichText(arg__1)); +} + + diff --git a/generated_cpp_47/com_trolltech_qt_core_builtin/com_trolltech_qt_core_builtin0.h b/generated_cpp_47/com_trolltech_qt_core_builtin/com_trolltech_qt_core_builtin0.h new file mode 100644 index 00000000..56e8bf0d --- /dev/null +++ b/generated_cpp_47/com_trolltech_qt_core_builtin/com_trolltech_qt_core_builtin0.h @@ -0,0 +1,1193 @@ +#include +#include +#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; + 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); + bool isEmpty(QBitArray* theWrappedObject) const; + bool isNull(QBitArray* theWrappedObject) const; + bool __ne__(QBitArray* theWrappedObject, const QBitArray& a) 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& a) 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; + bool testBit(QBitArray* theWrappedObject, int i) const; + bool toggleBit(QBitArray* theWrappedObject, int i); + void truncate(QBitArray* theWrappedObject, int pos); + bool __nonzero__(QBitArray* obj) { return !obj->isNull(); } +}; + + + + + +class PythonQtWrapper_QByteArray : public QObject +{ Q_OBJECT +public: +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); + char at(QByteArray* theWrappedObject, int i) const; + int capacity(QByteArray* theWrappedObject) const; + void chop(QByteArray* theWrappedObject, int n); + void clear(QByteArray* theWrappedObject); + QBool contains(QByteArray* theWrappedObject, char c) const; + QBool contains(QByteArray* theWrappedObject, const QByteArray& a) const; + QBool 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_fromHex(const QByteArray& hexEncoded); + QByteArray static_QByteArray_fromPercentEncoding(const QByteArray& pctEncoded, char percent = '%'); + 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); + bool isEmpty(QByteArray* theWrappedObject) const; + bool isNull(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); + QByteArray static_QByteArray_number(qulonglong arg__1, int base = 10); + 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); + 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); + 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, qulonglong arg__1, int base = 10); + QByteArray* setNum(QByteArray* theWrappedObject, short arg__1, int base = 10); + QByteArray* setNum(QByteArray* theWrappedObject, ushort arg__1, int base = 10); + 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; + QByteArray toBase64(QByteArray* theWrappedObject) const; + double toDouble(QByteArray* theWrappedObject, bool* ok = 0) const; + float toFloat(QByteArray* theWrappedObject, bool* ok = 0) const; + QByteArray toHex(QByteArray* theWrappedObject) const; + int toInt(QByteArray* theWrappedObject, bool* ok = 0, 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 = 0, 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->isNull(); } + + PyObject* data(QByteArray* b) { + if (b->data()) { + return PyString_FromStringAndSize(b->data(), b->size()); + } else { + Py_INCREF(Py_None); + return Py_None; + } + } + +}; + + + + + +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, int 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; + int daysTo(QDate* theWrappedObject, const QDate& arg__1) const; + QDate static_QDate_fromJulianDay(int 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); + uint static_QDate_gregorianToJulian(int y, int m, int d); + 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); + QString static_QDate_longDayName(int weekday, QDate::MonthNameType type); + QString static_QDate_longMonthName(int month); + QString static_QDate_longMonthName(int month, QDate::MonthNameType type); + 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); + QString static_QDate_shortDayName(int weekday, QDate::MonthNameType type); + QString static_QDate_shortMonthName(int month); + QString static_QDate_shortMonthName(int month, QDate::MonthNameType type); + int toJulianDay(QDate* theWrappedObject) const; + QString toString(QDate* theWrappedObject, Qt::DateFormat f = Qt::TextDate) const; + QString toString(QDate* theWrappedObject, const QString& format) const; + int weekNumber(QDate* theWrappedObject, int* yearNum = 0) const; + int year(QDate* theWrappedObject) const; + QString py_toString(QDate*); + bool __nonzero__(QDate* obj) { return !obj->isNull(); } +}; + + + + + +class PythonQtWrapper_QDateTime : public QObject +{ Q_OBJECT +public: +public slots: +QDateTime* new_QDateTime(); +QDateTime* new_QDateTime(const QDate& arg__1); +QDateTime* new_QDateTime(const QDate& arg__1, const QTime& arg__2, Qt::TimeSpec spec = Qt::LocalTime); +QDateTime* new_QDateTime(const QDateTime& other); +void delete_QDateTime(QDateTime* obj) { delete obj; } + QDateTime addDays(QDateTime* theWrappedObject, int days) const; + QDateTime addMSecs(QDateTime* theWrappedObject, qint64 msecs) const; + QDateTime addMonths(QDateTime* theWrappedObject, int months) const; + QDateTime addSecs(QDateTime* theWrappedObject, int secs) const; + QDateTime addYears(QDateTime* theWrappedObject, int years) const; + QDateTime static_QDateTime_currentDateTime(); + QDate date(QDateTime* theWrappedObject) const; + int daysTo(QDateTime* theWrappedObject, const QDateTime& arg__1) const; + 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); + bool isNull(QDateTime* theWrappedObject) const; + bool isValid(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); + int secsTo(QDateTime* theWrappedObject, const QDateTime& arg__1) const; + void setDate(QDateTime* theWrappedObject, const QDate& date); + void setTime(QDateTime* theWrappedObject, const QTime& time); + void setTimeSpec(QDateTime* theWrappedObject, Qt::TimeSpec spec); + void setTime_t(QDateTime* theWrappedObject, uint secsSince1Jan1970UTC); + void setUtcOffset(QDateTime* theWrappedObject, int seconds); + QTime time(QDateTime* theWrappedObject) const; + Qt::TimeSpec timeSpec(QDateTime* theWrappedObject) const; + QDateTime toLocalTime(QDateTime* theWrappedObject) const; + QString toString(QDateTime* theWrappedObject, Qt::DateFormat f = Qt::TextDate) const; + QString toString(QDateTime* theWrappedObject, const QString& format) const; + QDateTime toTimeSpec(QDateTime* theWrappedObject, Qt::TimeSpec spec) 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->isNull(); } +}; + + + + + +class PythonQtWrapper_QLine : public QObject +{ Q_OBJECT +public: +public slots: +QLine* new_QLine(); +QLine* new_QLine(const QPoint& pt1, const QPoint& pt2); +QLine* new_QLine(int x1, int y1, int x2, int y2); +QLine* new_QLine(const QLine& other) { +QLine* a = new QLine(); +*((QLine*)a) = other; +return a; } +void delete_QLine(QLine* obj) { delete obj; } + int 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; + 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 PythonQtWrapper_QLocale : public QObject +{ Q_OBJECT +public: +Q_ENUMS(MeasurementSystem NumberOption FormatType Country Language ) +Q_FLAGS(NumberOptions ) +enum MeasurementSystem{ + MetricSystem = QLocale::MetricSystem, ImperialSystem = QLocale::ImperialSystem}; +enum NumberOption{ + OmitGroupSeparator = QLocale::OmitGroupSeparator, RejectGroupSeparator = QLocale::RejectGroupSeparator}; +enum FormatType{ + LongFormat = QLocale::LongFormat, ShortFormat = QLocale::ShortFormat, NarrowFormat = QLocale::NarrowFormat}; +enum Country{ + AnyCountry = QLocale::AnyCountry, Afghanistan = QLocale::Afghanistan, Albania = QLocale::Albania, Algeria = QLocale::Algeria, AmericanSamoa = QLocale::AmericanSamoa, Andorra = QLocale::Andorra, Angola = QLocale::Angola, Anguilla = QLocale::Anguilla, Antarctica = QLocale::Antarctica, AntiguaAndBarbuda = QLocale::AntiguaAndBarbuda, Argentina = QLocale::Argentina, Armenia = QLocale::Armenia, Aruba = QLocale::Aruba, Australia = QLocale::Australia, Austria = QLocale::Austria, Azerbaijan = QLocale::Azerbaijan, Bahamas = QLocale::Bahamas, Bahrain = QLocale::Bahrain, Bangladesh = QLocale::Bangladesh, Barbados = QLocale::Barbados, Belarus = QLocale::Belarus, Belgium = QLocale::Belgium, Belize = QLocale::Belize, Benin = QLocale::Benin, Bermuda = QLocale::Bermuda, Bhutan = QLocale::Bhutan, Bolivia = QLocale::Bolivia, BosniaAndHerzegowina = QLocale::BosniaAndHerzegowina, Botswana = QLocale::Botswana, BouvetIsland = QLocale::BouvetIsland, Brazil = QLocale::Brazil, BritishIndianOceanTerritory = QLocale::BritishIndianOceanTerritory, BruneiDarussalam = QLocale::BruneiDarussalam, Bulgaria = QLocale::Bulgaria, BurkinaFaso = QLocale::BurkinaFaso, Burundi = QLocale::Burundi, Cambodia = QLocale::Cambodia, Cameroon = QLocale::Cameroon, Canada = QLocale::Canada, CapeVerde = QLocale::CapeVerde, CaymanIslands = QLocale::CaymanIslands, CentralAfricanRepublic = QLocale::CentralAfricanRepublic, Chad = QLocale::Chad, Chile = QLocale::Chile, China = QLocale::China, ChristmasIsland = QLocale::ChristmasIsland, CocosIslands = QLocale::CocosIslands, Colombia = QLocale::Colombia, Comoros = QLocale::Comoros, DemocraticRepublicOfCongo = QLocale::DemocraticRepublicOfCongo, PeoplesRepublicOfCongo = QLocale::PeoplesRepublicOfCongo, CookIslands = QLocale::CookIslands, CostaRica = QLocale::CostaRica, IvoryCoast = QLocale::IvoryCoast, Croatia = QLocale::Croatia, Cuba = QLocale::Cuba, Cyprus = QLocale::Cyprus, CzechRepublic = QLocale::CzechRepublic, Denmark = QLocale::Denmark, Djibouti = QLocale::Djibouti, Dominica = QLocale::Dominica, DominicanRepublic = QLocale::DominicanRepublic, EastTimor = QLocale::EastTimor, Ecuador = QLocale::Ecuador, Egypt = QLocale::Egypt, ElSalvador = QLocale::ElSalvador, EquatorialGuinea = QLocale::EquatorialGuinea, Eritrea = QLocale::Eritrea, Estonia = QLocale::Estonia, Ethiopia = QLocale::Ethiopia, FalklandIslands = QLocale::FalklandIslands, FaroeIslands = QLocale::FaroeIslands, FijiCountry = QLocale::FijiCountry, Finland = QLocale::Finland, France = QLocale::France, MetropolitanFrance = QLocale::MetropolitanFrance, FrenchGuiana = QLocale::FrenchGuiana, FrenchPolynesia = QLocale::FrenchPolynesia, FrenchSouthernTerritories = QLocale::FrenchSouthernTerritories, Gabon = QLocale::Gabon, Gambia = QLocale::Gambia, Georgia = QLocale::Georgia, Germany = QLocale::Germany, Ghana = QLocale::Ghana, Gibraltar = QLocale::Gibraltar, Greece = QLocale::Greece, Greenland = QLocale::Greenland, Grenada = QLocale::Grenada, Guadeloupe = QLocale::Guadeloupe, Guam = QLocale::Guam, Guatemala = QLocale::Guatemala, Guinea = QLocale::Guinea, GuineaBissau = QLocale::GuineaBissau, Guyana = QLocale::Guyana, Haiti = QLocale::Haiti, HeardAndMcDonaldIslands = QLocale::HeardAndMcDonaldIslands, Honduras = QLocale::Honduras, HongKong = QLocale::HongKong, Hungary = QLocale::Hungary, Iceland = QLocale::Iceland, India = QLocale::India, Indonesia = QLocale::Indonesia, Iran = QLocale::Iran, Iraq = QLocale::Iraq, Ireland = QLocale::Ireland, Israel = QLocale::Israel, Italy = QLocale::Italy, Jamaica = QLocale::Jamaica, Japan = QLocale::Japan, Jordan = QLocale::Jordan, Kazakhstan = QLocale::Kazakhstan, Kenya = QLocale::Kenya, Kiribati = QLocale::Kiribati, DemocraticRepublicOfKorea = QLocale::DemocraticRepublicOfKorea, RepublicOfKorea = QLocale::RepublicOfKorea, Kuwait = QLocale::Kuwait, Kyrgyzstan = QLocale::Kyrgyzstan, Lao = QLocale::Lao, Latvia = QLocale::Latvia, Lebanon = QLocale::Lebanon, Lesotho = QLocale::Lesotho, Liberia = QLocale::Liberia, LibyanArabJamahiriya = QLocale::LibyanArabJamahiriya, Liechtenstein = QLocale::Liechtenstein, Lithuania = QLocale::Lithuania, Luxembourg = QLocale::Luxembourg, Macau = QLocale::Macau, Macedonia = QLocale::Macedonia, Madagascar = QLocale::Madagascar, Malawi = QLocale::Malawi, Malaysia = QLocale::Malaysia, Maldives = QLocale::Maldives, Mali = QLocale::Mali, Malta = QLocale::Malta, MarshallIslands = QLocale::MarshallIslands, Martinique = QLocale::Martinique, Mauritania = QLocale::Mauritania, Mauritius = QLocale::Mauritius, Mayotte = QLocale::Mayotte, Mexico = QLocale::Mexico, Micronesia = QLocale::Micronesia, Moldova = QLocale::Moldova, Monaco = QLocale::Monaco, Mongolia = QLocale::Mongolia, Montserrat = QLocale::Montserrat, Morocco = QLocale::Morocco, Mozambique = QLocale::Mozambique, Myanmar = QLocale::Myanmar, Namibia = QLocale::Namibia, NauruCountry = QLocale::NauruCountry, Nepal = QLocale::Nepal, Netherlands = QLocale::Netherlands, NetherlandsAntilles = QLocale::NetherlandsAntilles, NewCaledonia = QLocale::NewCaledonia, NewZealand = QLocale::NewZealand, Nicaragua = QLocale::Nicaragua, Niger = QLocale::Niger, Nigeria = QLocale::Nigeria, Niue = QLocale::Niue, NorfolkIsland = QLocale::NorfolkIsland, NorthernMarianaIslands = QLocale::NorthernMarianaIslands, Norway = QLocale::Norway, Oman = QLocale::Oman, Pakistan = QLocale::Pakistan, Palau = QLocale::Palau, PalestinianTerritory = QLocale::PalestinianTerritory, Panama = QLocale::Panama, PapuaNewGuinea = QLocale::PapuaNewGuinea, Paraguay = QLocale::Paraguay, Peru = QLocale::Peru, Philippines = QLocale::Philippines, Pitcairn = QLocale::Pitcairn, Poland = QLocale::Poland, Portugal = QLocale::Portugal, PuertoRico = QLocale::PuertoRico, Qatar = QLocale::Qatar, Reunion = QLocale::Reunion, Romania = QLocale::Romania, RussianFederation = QLocale::RussianFederation, Rwanda = QLocale::Rwanda, SaintKittsAndNevis = QLocale::SaintKittsAndNevis, StLucia = QLocale::StLucia, StVincentAndTheGrenadines = QLocale::StVincentAndTheGrenadines, Samoa = QLocale::Samoa, SanMarino = QLocale::SanMarino, SaoTomeAndPrincipe = QLocale::SaoTomeAndPrincipe, SaudiArabia = QLocale::SaudiArabia, Senegal = QLocale::Senegal, Seychelles = QLocale::Seychelles, SierraLeone = QLocale::SierraLeone, Singapore = QLocale::Singapore, Slovakia = QLocale::Slovakia, Slovenia = QLocale::Slovenia, SolomonIslands = QLocale::SolomonIslands, Somalia = QLocale::Somalia, SouthAfrica = QLocale::SouthAfrica, SouthGeorgiaAndTheSouthSandwichIslands = QLocale::SouthGeorgiaAndTheSouthSandwichIslands, Spain = QLocale::Spain, SriLanka = QLocale::SriLanka, StHelena = QLocale::StHelena, StPierreAndMiquelon = QLocale::StPierreAndMiquelon, Sudan = QLocale::Sudan, Suriname = QLocale::Suriname, SvalbardAndJanMayenIslands = QLocale::SvalbardAndJanMayenIslands, Swaziland = QLocale::Swaziland, Sweden = QLocale::Sweden, Switzerland = QLocale::Switzerland, SyrianArabRepublic = QLocale::SyrianArabRepublic, Taiwan = QLocale::Taiwan, Tajikistan = QLocale::Tajikistan, Tanzania = QLocale::Tanzania, Thailand = QLocale::Thailand, Togo = QLocale::Togo, Tokelau = QLocale::Tokelau, TongaCountry = QLocale::TongaCountry, TrinidadAndTobago = QLocale::TrinidadAndTobago, Tunisia = QLocale::Tunisia, Turkey = QLocale::Turkey, Turkmenistan = QLocale::Turkmenistan, TurksAndCaicosIslands = QLocale::TurksAndCaicosIslands, Tuvalu = QLocale::Tuvalu, Uganda = QLocale::Uganda, Ukraine = QLocale::Ukraine, UnitedArabEmirates = QLocale::UnitedArabEmirates, UnitedKingdom = QLocale::UnitedKingdom, UnitedStates = QLocale::UnitedStates, UnitedStatesMinorOutlyingIslands = QLocale::UnitedStatesMinorOutlyingIslands, Uruguay = QLocale::Uruguay, Uzbekistan = QLocale::Uzbekistan, Vanuatu = QLocale::Vanuatu, VaticanCityState = QLocale::VaticanCityState, Venezuela = QLocale::Venezuela, VietNam = QLocale::VietNam, BritishVirginIslands = QLocale::BritishVirginIslands, USVirginIslands = QLocale::USVirginIslands, WallisAndFutunaIslands = QLocale::WallisAndFutunaIslands, WesternSahara = QLocale::WesternSahara, Yemen = QLocale::Yemen, Yugoslavia = QLocale::Yugoslavia, Zambia = QLocale::Zambia, Zimbabwe = QLocale::Zimbabwe, SerbiaAndMontenegro = QLocale::SerbiaAndMontenegro, LastCountry = QLocale::LastCountry}; +enum Language{ + C = QLocale::C, Abkhazian = QLocale::Abkhazian, Afan = QLocale::Afan, Afar = QLocale::Afar, Afrikaans = QLocale::Afrikaans, Albanian = QLocale::Albanian, Amharic = QLocale::Amharic, Arabic = QLocale::Arabic, Armenian = QLocale::Armenian, Assamese = QLocale::Assamese, Aymara = QLocale::Aymara, Azerbaijani = QLocale::Azerbaijani, Bashkir = QLocale::Bashkir, Basque = QLocale::Basque, Bengali = QLocale::Bengali, Bhutani = QLocale::Bhutani, Bihari = QLocale::Bihari, Bislama = QLocale::Bislama, Breton = QLocale::Breton, Bulgarian = QLocale::Bulgarian, Burmese = QLocale::Burmese, Byelorussian = QLocale::Byelorussian, Cambodian = QLocale::Cambodian, Catalan = QLocale::Catalan, Chinese = QLocale::Chinese, Corsican = QLocale::Corsican, Croatian = QLocale::Croatian, Czech = QLocale::Czech, Danish = QLocale::Danish, Dutch = QLocale::Dutch, English = QLocale::English, Esperanto = QLocale::Esperanto, Estonian = QLocale::Estonian, Faroese = QLocale::Faroese, FijiLanguage = QLocale::FijiLanguage, Finnish = QLocale::Finnish, French = QLocale::French, Frisian = QLocale::Frisian, Gaelic = QLocale::Gaelic, Galician = QLocale::Galician, Georgian = QLocale::Georgian, German = QLocale::German, Greek = QLocale::Greek, Greenlandic = QLocale::Greenlandic, Guarani = QLocale::Guarani, Gujarati = QLocale::Gujarati, Hausa = QLocale::Hausa, Hebrew = QLocale::Hebrew, Hindi = QLocale::Hindi, Hungarian = QLocale::Hungarian, Icelandic = QLocale::Icelandic, Indonesian = QLocale::Indonesian, Interlingua = QLocale::Interlingua, Interlingue = QLocale::Interlingue, Inuktitut = QLocale::Inuktitut, Inupiak = QLocale::Inupiak, Irish = QLocale::Irish, Italian = QLocale::Italian, Japanese = QLocale::Japanese, Javanese = QLocale::Javanese, Kannada = QLocale::Kannada, Kashmiri = QLocale::Kashmiri, Kazakh = QLocale::Kazakh, Kinyarwanda = QLocale::Kinyarwanda, Kirghiz = QLocale::Kirghiz, Korean = QLocale::Korean, Kurdish = QLocale::Kurdish, Kurundi = QLocale::Kurundi, Laothian = QLocale::Laothian, Latin = QLocale::Latin, Latvian = QLocale::Latvian, Lingala = QLocale::Lingala, Lithuanian = QLocale::Lithuanian, Macedonian = QLocale::Macedonian, Malagasy = QLocale::Malagasy, Malay = QLocale::Malay, Malayalam = QLocale::Malayalam, Maltese = QLocale::Maltese, Maori = QLocale::Maori, Marathi = QLocale::Marathi, Moldavian = QLocale::Moldavian, Mongolian = QLocale::Mongolian, NauruLanguage = QLocale::NauruLanguage, Nepali = QLocale::Nepali, Norwegian = QLocale::Norwegian, NorwegianBokmal = QLocale::NorwegianBokmal, Occitan = QLocale::Occitan, Oriya = QLocale::Oriya, Pashto = QLocale::Pashto, Persian = QLocale::Persian, Polish = QLocale::Polish, Portuguese = QLocale::Portuguese, Punjabi = QLocale::Punjabi, Quechua = QLocale::Quechua, RhaetoRomance = QLocale::RhaetoRomance, Romanian = QLocale::Romanian, Russian = QLocale::Russian, Samoan = QLocale::Samoan, Sangho = QLocale::Sangho, Sanskrit = QLocale::Sanskrit, Serbian = QLocale::Serbian, SerboCroatian = QLocale::SerboCroatian, Sesotho = QLocale::Sesotho, Setswana = QLocale::Setswana, Shona = QLocale::Shona, Sindhi = QLocale::Sindhi, Singhalese = QLocale::Singhalese, Siswati = QLocale::Siswati, Slovak = QLocale::Slovak, Slovenian = QLocale::Slovenian, Somali = QLocale::Somali, Spanish = QLocale::Spanish, Sundanese = QLocale::Sundanese, Swahili = QLocale::Swahili, Swedish = QLocale::Swedish, Tagalog = QLocale::Tagalog, Tajik = QLocale::Tajik, Tamil = QLocale::Tamil, Tatar = QLocale::Tatar, Telugu = QLocale::Telugu, Thai = QLocale::Thai, Tibetan = QLocale::Tibetan, Tigrinya = QLocale::Tigrinya, TongaLanguage = QLocale::TongaLanguage, Tsonga = QLocale::Tsonga, Turkish = QLocale::Turkish, Turkmen = QLocale::Turkmen, Twi = QLocale::Twi, Uigur = QLocale::Uigur, Ukrainian = QLocale::Ukrainian, Urdu = QLocale::Urdu, Uzbek = QLocale::Uzbek, Vietnamese = QLocale::Vietnamese, Volapuk = QLocale::Volapuk, Welsh = QLocale::Welsh, Wolof = QLocale::Wolof, Xhosa = QLocale::Xhosa, Yiddish = QLocale::Yiddish, Yoruba = QLocale::Yoruba, Zhuang = QLocale::Zhuang, Zulu = QLocale::Zulu, NorwegianNynorsk = QLocale::NorwegianNynorsk, Nynorsk = QLocale::Nynorsk, Bosnian = QLocale::Bosnian, Divehi = QLocale::Divehi, Manx = QLocale::Manx, Cornish = QLocale::Cornish, Akan = QLocale::Akan, Konkani = QLocale::Konkani, Ga = QLocale::Ga, Igbo = QLocale::Igbo, Kamba = QLocale::Kamba, Syriac = QLocale::Syriac, Blin = QLocale::Blin, Geez = QLocale::Geez, Koro = QLocale::Koro, Sidamo = QLocale::Sidamo, Atsam = QLocale::Atsam, Tigre = QLocale::Tigre, Jju = QLocale::Jju, Friulian = QLocale::Friulian, Venda = QLocale::Venda, Ewe = QLocale::Ewe, Walamo = QLocale::Walamo, Hawaiian = QLocale::Hawaiian, Tyap = QLocale::Tyap, Chewa = QLocale::Chewa, LastLanguage = QLocale::LastLanguage}; +Q_DECLARE_FLAGS(NumberOptions, NumberOption) +public slots: +QLocale* new_QLocale(); +QLocale* new_QLocale(QLocale::Language language, QLocale::Country country = QLocale::AnyCountry); +QLocale* new_QLocale(const QLocale& other); +QLocale* new_QLocale(const QString& name); +void delete_QLocale(QLocale* obj) { delete obj; } + QString amText(QLocale* theWrappedObject) const; + QLocale static_QLocale_c(); + QList static_QLocale_countriesForLanguage(QLocale::Language lang); + QLocale::Country country(QLocale* theWrappedObject) const; + QString static_QLocale_countryToString(QLocale::Country country); + 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; + QChar groupSeparator(QLocale* theWrappedObject) const; + QLocale::Language language(QLocale* theWrappedObject) const; + QString static_QLocale_languageToString(QLocale::Language language); + QLocale::MeasurementSystem measurementSystem(QLocale* theWrappedObject) const; + QString monthName(QLocale* theWrappedObject, int arg__1, QLocale::FormatType format = QLocale::LongFormat) const; + QString name(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; + 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; + QLocale static_QLocale_system(); + QString timeFormat(QLocale* theWrappedObject, QLocale::FormatType format = QLocale::LongFormat) 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 = 0) const; + float toFloat(QLocale* theWrappedObject, const QString& s, bool* ok = 0) const; + int toInt(QLocale* theWrappedObject, const QString& s, bool* ok = 0, int base = 0) const; + qlonglong toLongLong(QLocale* theWrappedObject, const QString& s, bool* ok = 0, int base = 0) const; + short toShort(QLocale* theWrappedObject, const QString& s, bool* ok = 0, int base = 0) 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, qlonglong i) const; + QString toString(QLocale* theWrappedObject, qulonglong i) const; + QString toString(QLocale* theWrappedObject, short i) const; + QString toString(QLocale* theWrappedObject, ushort 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; + ushort toUShort(QLocale* theWrappedObject, const QString& s, bool* ok = 0, int base = 0) const; + QChar zeroDigit(QLocale* theWrappedObject) const; +}; + + + + + +class PythonQtWrapper_QPoint : public QObject +{ Q_OBJECT +public: +public slots: +QPoint* new_QPoint(); +QPoint* new_QPoint(int xpos, int ypos); +QPoint* new_QPoint(const QPoint& other) { +QPoint* a = new QPoint(); +*((QPoint*)a) = other; +return a; } +void delete_QPoint(QPoint* obj) { delete obj; } + bool isNull(QPoint* theWrappedObject) const; + int manhattanLength(QPoint* theWrappedObject) const; + 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, qreal c); + QPoint* __imul__(QPoint* theWrappedObject, qreal c); + 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 c); + 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); + 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; } + bool isNull(QPointF* theWrappedObject) const; + qreal manhattanLength(QPointF* theWrappedObject) const; + 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 c); + 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; + 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; + 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; + void writeTo(QRect* theWrappedObject, QDataStream& arg__1); + bool __eq__(QRect* theWrappedObject, const QRect& arg__2); + void readFrom(QRect* theWrappedObject, QDataStream& arg__1); + 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 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->isNull(); } +}; + + + + + +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; + void getCoords(QRectF* theWrappedObject, qreal* x1, qreal* y1, qreal* x2, qreal* y2) const; + void getRect(QRectF* theWrappedObject, qreal* x, qreal* y, qreal* w, qreal* h) 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; + 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 t); + 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; + void writeTo(QRectF* theWrappedObject, QDataStream& arg__1); + bool __eq__(QRectF* theWrappedObject, const QRectF& arg__2); + void readFrom(QRectF* theWrappedObject, QDataStream& arg__1); + 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 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->isNull(); } +}; + + + + + +class PythonQtWrapper_QRegExp : public QObject +{ Q_OBJECT +public: +Q_ENUMS(PatternSyntax CaretMode ) +enum PatternSyntax{ + RegExp = QRegExp::RegExp, Wildcard = QRegExp::Wildcard, FixedString = QRegExp::FixedString, RegExp2 = QRegExp::RegExp2, WildcardUnix = QRegExp::WildcardUnix, W3CXmlSchema11 = QRegExp::W3CXmlSchema11}; +enum CaretMode{ + CaretAtZero = QRegExp::CaretAtZero, CaretAtOffset = QRegExp::CaretAtOffset, CaretWontMatch = QRegExp::CaretWontMatch}; +public slots: +QRegExp* new_QRegExp(); +QRegExp* new_QRegExp(const QRegExp& rx); +QRegExp* new_QRegExp(const QString& pattern, Qt::CaseSensitivity cs = Qt::CaseSensitive, QRegExp::PatternSyntax syntax = QRegExp::RegExp); +void delete_QRegExp(QRegExp* obj) { delete obj; } + QString cap(QRegExp* theWrappedObject, int nth = 0); + 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; + int numCaptures(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); +}; + + + + + +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; + int height(QSize* theWrappedObject) const; + bool isEmpty(QSize* theWrappedObject) const; + bool isNull(QSize* theWrappedObject) const; + bool isValid(QSize* theWrappedObject) const; + 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); + void setHeight(QSize* theWrappedObject, int h); + void setWidth(QSize* theWrappedObject, int w); + void transpose(QSize* theWrappedObject); + int width(QSize* theWrappedObject) const; + QString py_toString(QSize*); + bool __nonzero__(QSize* obj) { return !obj->isNull(); } +}; + + + + + +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; + qreal height(QSizeF* theWrappedObject) const; + bool isEmpty(QSizeF* theWrappedObject) const; + bool isNull(QSizeF* theWrappedObject) const; + bool isValid(QSizeF* theWrappedObject) const; + 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); + void setHeight(QSizeF* theWrappedObject, qreal h); + void setWidth(QSizeF* theWrappedObject, qreal w); + QSize toSize(QSizeF* theWrappedObject) const; + void transpose(QSizeF* theWrappedObject); + qreal width(QSizeF* theWrappedObject) const; + QString py_toString(QSizeF*); + bool __nonzero__(QSizeF* obj) { return !obj->isNull(); } +}; + + + + + +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_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 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->isNull(); } +}; + + + + + +class PythonQtWrapper_QUrl : public QObject +{ Q_OBJECT +public: +Q_ENUMS(ParsingMode FormattingOption ) +Q_FLAGS(FormattingOptions ) +enum ParsingMode{ + TolerantMode = QUrl::TolerantMode, StrictMode = QUrl::StrictMode}; +enum FormattingOption{ + None = QUrl::None, RemoveScheme = QUrl::RemoveScheme, RemovePassword = QUrl::RemovePassword, RemoveUserInfo = QUrl::RemoveUserInfo, RemovePort = QUrl::RemovePort, RemoveAuthority = QUrl::RemoveAuthority, RemovePath = QUrl::RemovePath, RemoveQuery = QUrl::RemoveQuery, RemoveFragment = QUrl::RemoveFragment, StripTrailingSlash = QUrl::StripTrailingSlash}; +Q_DECLARE_FLAGS(FormattingOptions, FormattingOption) +public slots: +QUrl* new_QUrl(); +QUrl* new_QUrl(const QString& url); +QUrl* new_QUrl(const QString& url, QUrl::ParsingMode mode); +QUrl* new_QUrl(const QUrl& copy); +void delete_QUrl(QUrl* obj) { delete obj; } + void addEncodedQueryItem(QUrl* theWrappedObject, const QByteArray& key, const QByteArray& value); + void addQueryItem(QUrl* theWrappedObject, const QString& key, const QString& value); + QList allEncodedQueryItemValues(QUrl* theWrappedObject, const QByteArray& key) const; + QStringList allQueryItemValues(QUrl* theWrappedObject, const QString& key) const; + QString authority(QUrl* theWrappedObject) const; + void clear(QUrl* theWrappedObject); + QByteArray encodedFragment(QUrl* theWrappedObject) const; + QByteArray encodedHost(QUrl* theWrappedObject) const; + QByteArray encodedPassword(QUrl* theWrappedObject) const; + QByteArray encodedPath(QUrl* theWrappedObject) const; + QByteArray encodedQuery(QUrl* theWrappedObject) const; + QByteArray encodedQueryItemValue(QUrl* theWrappedObject, const QByteArray& key) const; + QList > encodedQueryItems(QUrl* theWrappedObject) const; + QByteArray encodedUserName(QUrl* theWrappedObject) const; + QString errorString(QUrl* theWrappedObject) const; + QString fragment(QUrl* theWrappedObject) const; + QString static_QUrl_fromAce(const QByteArray& arg__1); + QUrl static_QUrl_fromEncoded(const QByteArray& url); + QUrl static_QUrl_fromEncoded(const QByteArray& url, QUrl::ParsingMode mode); + QUrl static_QUrl_fromLocalFile(const QString& localfile); + QString static_QUrl_fromPercentEncoding(const QByteArray& arg__1); + QUrl static_QUrl_fromUserInput(const QString& userInput); + bool hasEncodedQueryItem(QUrl* theWrappedObject, const QByteArray& key) const; + bool hasFragment(QUrl* theWrappedObject) const; + bool hasQuery(QUrl* theWrappedObject) const; + bool hasQueryItem(QUrl* theWrappedObject, const QString& key) const; + QString host(QUrl* theWrappedObject) const; + QStringList static_QUrl_idnWhitelist(); + bool isEmpty(QUrl* theWrappedObject) const; + bool isParentOf(QUrl* theWrappedObject, const QUrl& url) const; + bool isRelative(QUrl* theWrappedObject) const; + bool isValid(QUrl* theWrappedObject) 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) const; + QString path(QUrl* theWrappedObject) const; + int port(QUrl* theWrappedObject) const; + int port(QUrl* theWrappedObject, int defaultPort) const; + QString queryItemValue(QUrl* theWrappedObject, const QString& key) const; + QList > queryItems(QUrl* theWrappedObject) const; + char queryPairDelimiter(QUrl* theWrappedObject) const; + char queryValueDelimiter(QUrl* theWrappedObject) const; + void removeAllEncodedQueryItems(QUrl* theWrappedObject, const QByteArray& key); + void removeAllQueryItems(QUrl* theWrappedObject, const QString& key); + void removeEncodedQueryItem(QUrl* theWrappedObject, const QByteArray& key); + void removeQueryItem(QUrl* theWrappedObject, const QString& key); + QUrl resolved(QUrl* theWrappedObject, const QUrl& relative) const; + QString scheme(QUrl* theWrappedObject) const; + void setAuthority(QUrl* theWrappedObject, const QString& authority); + void setEncodedFragment(QUrl* theWrappedObject, const QByteArray& fragment); + void setEncodedHost(QUrl* theWrappedObject, const QByteArray& host); + void setEncodedPassword(QUrl* theWrappedObject, const QByteArray& password); + void setEncodedPath(QUrl* theWrappedObject, const QByteArray& path); + void setEncodedQuery(QUrl* theWrappedObject, const QByteArray& query); + void setEncodedQueryItems(QUrl* theWrappedObject, const QList >& query); + void setEncodedUrl(QUrl* theWrappedObject, const QByteArray& url); + void setEncodedUrl(QUrl* theWrappedObject, const QByteArray& url, QUrl::ParsingMode mode); + void setEncodedUserName(QUrl* theWrappedObject, const QByteArray& userName); + void setFragment(QUrl* theWrappedObject, const QString& fragment); + void setHost(QUrl* theWrappedObject, const QString& host); + void static_QUrl_setIdnWhitelist(const QStringList& arg__1); + void setPassword(QUrl* theWrappedObject, const QString& password); + void setPath(QUrl* theWrappedObject, const QString& path); + void setPort(QUrl* theWrappedObject, int port); + void setQueryDelimiters(QUrl* theWrappedObject, char valueDelimiter, char pairDelimiter); + void setQueryItems(QUrl* theWrappedObject, const QList >& query); + void setScheme(QUrl* theWrappedObject, const QString& scheme); + void setUrl(QUrl* theWrappedObject, const QString& url); + void setUrl(QUrl* theWrappedObject, const QString& url, QUrl::ParsingMode mode); + void setUserInfo(QUrl* theWrappedObject, const QString& userInfo); + void setUserName(QUrl* theWrappedObject, const QString& userName); + QByteArray static_QUrl_toAce(const QString& arg__1); + QByteArray toEncoded(QUrl* theWrappedObject, QUrl::FormattingOptions options = QUrl::None) 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::None) const; + QString userInfo(QUrl* theWrappedObject) const; + QString userName(QUrl* theWrappedObject) const; + QString py_toString(QUrl*); +}; + + + + + +class PythonQtWrapper_Qt : public QObject +{ Q_OBJECT +public: +Q_ENUMS(ShortcutContext CheckState FocusPolicy DropAction WindowType DateFormat TextFormat PenJoinStyle CaseSensitivity EventPriority ImageConversionFlag GestureState BGMode ConnectionType ToolBarArea CoordinateSystem SizeMode FocusReason TileRule WhiteSpaceMode AspectRatioMode SizeHint AlignmentFlag ContextMenuPolicy DockWidgetArea UIEffect AnchorPoint GlobalColor KeyboardModifier NavigationMode ItemDataRole ScrollBarPolicy InputMethodHint AnchorAttribute WindowModality SortOrder PenStyle ItemFlag Axis TransformationMode WindowFrameSection HitTestAccuracy CursorShape ItemSelectionMode Orientation InputMethodQuery TimeSpec ArrowType FillRule MaskMode WindowState ToolBarAreaSizes Corner DayOfWeek ClipOperation LayoutDirection ToolButtonStyle DockWidgetAreaSizes Key ApplicationAttribute TextFlag BrushStyle WidgetAttribute TouchPointState TextInteractionFlag MouseButton MatchFlag PenCapStyle TextElideMode ) +Q_FLAGS(DropActions WindowFlags ImageConversionFlags ToolBarAreas Alignment DockWidgetAreas KeyboardModifiers InputMethodHints ItemFlags Orientations WindowStates TouchPointStates TextInteractionFlags MouseButtons MatchFlags ) +enum ShortcutContext{ + WidgetShortcut = Qt::WidgetShortcut, WindowShortcut = Qt::WindowShortcut, ApplicationShortcut = Qt::ApplicationShortcut, WidgetWithChildrenShortcut = Qt::WidgetWithChildrenShortcut}; +enum CheckState{ + Unchecked = Qt::Unchecked, PartiallyChecked = Qt::PartiallyChecked, Checked = Qt::Checked}; +enum FocusPolicy{ + NoFocus = Qt::NoFocus, TabFocus = Qt::TabFocus, ClickFocus = Qt::ClickFocus, StrongFocus = Qt::StrongFocus, WheelFocus = Qt::WheelFocus}; +enum DropAction{ + CopyAction = Qt::CopyAction, MoveAction = Qt::MoveAction, LinkAction = Qt::LinkAction, ActionMask = Qt::ActionMask, TargetMoveAction = Qt::TargetMoveAction, IgnoreAction = Qt::IgnoreAction}; +enum WindowType{ + Widget = Qt::Widget, Window = Qt::Window, Dialog = Qt::Dialog, Sheet = Qt::Sheet, Drawer = Qt::Drawer, Popup = Qt::Popup, Tool = Qt::Tool, ToolTip = Qt::ToolTip, SplashScreen = Qt::SplashScreen, Desktop = Qt::Desktop, SubWindow = Qt::SubWindow, WindowType_Mask = Qt::WindowType_Mask, MSWindowsFixedSizeDialogHint = Qt::MSWindowsFixedSizeDialogHint, MSWindowsOwnDC = Qt::MSWindowsOwnDC, X11BypassWindowManagerHint = Qt::X11BypassWindowManagerHint, FramelessWindowHint = Qt::FramelessWindowHint, WindowTitleHint = Qt::WindowTitleHint, WindowSystemMenuHint = Qt::WindowSystemMenuHint, WindowMinimizeButtonHint = Qt::WindowMinimizeButtonHint, WindowMaximizeButtonHint = Qt::WindowMaximizeButtonHint, WindowMinMaxButtonsHint = Qt::WindowMinMaxButtonsHint, WindowContextHelpButtonHint = Qt::WindowContextHelpButtonHint, WindowShadeButtonHint = Qt::WindowShadeButtonHint, WindowStaysOnTopHint = Qt::WindowStaysOnTopHint, CustomizeWindowHint = Qt::CustomizeWindowHint, WindowStaysOnBottomHint = Qt::WindowStaysOnBottomHint, WindowCloseButtonHint = Qt::WindowCloseButtonHint, MacWindowToolBarButtonHint = Qt::MacWindowToolBarButtonHint, BypassGraphicsProxyWidget = Qt::BypassGraphicsProxyWidget, WindowOkButtonHint = Qt::WindowOkButtonHint, WindowCancelButtonHint = Qt::WindowCancelButtonHint}; +enum DateFormat{ + TextDate = Qt::TextDate, ISODate = Qt::ISODate, SystemLocaleDate = Qt::SystemLocaleDate, LocalDate = Qt::LocalDate, LocaleDate = Qt::LocaleDate, SystemLocaleShortDate = Qt::SystemLocaleShortDate, SystemLocaleLongDate = Qt::SystemLocaleLongDate, DefaultLocaleShortDate = Qt::DefaultLocaleShortDate, DefaultLocaleLongDate = Qt::DefaultLocaleLongDate}; +enum TextFormat{ + PlainText = Qt::PlainText, RichText = Qt::RichText, AutoText = Qt::AutoText, LogText = Qt::LogText}; +enum PenJoinStyle{ + MiterJoin = Qt::MiterJoin, BevelJoin = Qt::BevelJoin, RoundJoin = Qt::RoundJoin, SvgMiterJoin = Qt::SvgMiterJoin, MPenJoinStyle = Qt::MPenJoinStyle}; +enum CaseSensitivity{ + CaseInsensitive = Qt::CaseInsensitive, CaseSensitive = Qt::CaseSensitive}; +enum EventPriority{ + HighEventPriority = Qt::HighEventPriority, NormalEventPriority = Qt::NormalEventPriority, LowEventPriority = Qt::LowEventPriority}; +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}; +enum GestureState{ + NoGesture = Qt::NoGesture, GestureStarted = Qt::GestureStarted, GestureUpdated = Qt::GestureUpdated, GestureFinished = Qt::GestureFinished, GestureCanceled = Qt::GestureCanceled}; +enum BGMode{ + TransparentMode = Qt::TransparentMode, OpaqueMode = Qt::OpaqueMode}; +enum ConnectionType{ + AutoConnection = Qt::AutoConnection, DirectConnection = Qt::DirectConnection, QueuedConnection = Qt::QueuedConnection, AutoCompatConnection = Qt::AutoCompatConnection, BlockingQueuedConnection = Qt::BlockingQueuedConnection, UniqueConnection = Qt::UniqueConnection}; +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 CoordinateSystem{ + DeviceCoordinates = Qt::DeviceCoordinates, LogicalCoordinates = Qt::LogicalCoordinates}; +enum SizeMode{ + AbsoluteSize = Qt::AbsoluteSize, RelativeSize = Qt::RelativeSize}; +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 TileRule{ + StretchTile = Qt::StretchTile, RepeatTile = Qt::RepeatTile, RoundTile = Qt::RoundTile}; +enum WhiteSpaceMode{ + WhiteSpaceNormal = Qt::WhiteSpaceNormal, WhiteSpacePre = Qt::WhiteSpacePre, WhiteSpaceNoWrap = Qt::WhiteSpaceNoWrap, WhiteSpaceModeUndefined = Qt::WhiteSpaceModeUndefined}; +enum AspectRatioMode{ + IgnoreAspectRatio = Qt::IgnoreAspectRatio, KeepAspectRatio = Qt::KeepAspectRatio, KeepAspectRatioByExpanding = Qt::KeepAspectRatioByExpanding}; +enum SizeHint{ + MinimumSize = Qt::MinimumSize, PreferredSize = Qt::PreferredSize, MaximumSize = Qt::MaximumSize, MinimumDescent = Qt::MinimumDescent, NSizeHints = Qt::NSizeHints}; +enum AlignmentFlag{ + AlignLeft = Qt::AlignLeft, AlignLeading = Qt::AlignLeading, AlignRight = Qt::AlignRight, AlignTrailing = Qt::AlignTrailing, AlignHCenter = Qt::AlignHCenter, AlignJustify = Qt::AlignJustify, AlignAbsolute = Qt::AlignAbsolute, AlignHorizontal_Mask = Qt::AlignHorizontal_Mask, AlignTop = Qt::AlignTop, AlignBottom = Qt::AlignBottom, AlignVCenter = Qt::AlignVCenter, AlignVertical_Mask = Qt::AlignVertical_Mask, AlignCenter = Qt::AlignCenter}; +enum ContextMenuPolicy{ + NoContextMenu = Qt::NoContextMenu, DefaultContextMenu = Qt::DefaultContextMenu, ActionsContextMenu = Qt::ActionsContextMenu, CustomContextMenu = Qt::CustomContextMenu, PreventContextMenu = Qt::PreventContextMenu}; +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 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 AnchorPoint{ + AnchorLeft = Qt::AnchorLeft, AnchorHorizontalCenter = Qt::AnchorHorizontalCenter, AnchorRight = Qt::AnchorRight, AnchorTop = Qt::AnchorTop, AnchorVerticalCenter = Qt::AnchorVerticalCenter, AnchorBottom = Qt::AnchorBottom}; +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}; +enum NavigationMode{ + NavigationModeNone = Qt::NavigationModeNone, NavigationModeKeypadTabOrder = Qt::NavigationModeKeypadTabOrder, NavigationModeKeypadDirectional = Qt::NavigationModeKeypadDirectional, NavigationModeCursorAuto = Qt::NavigationModeCursorAuto, NavigationModeCursorForceVisible = Qt::NavigationModeCursorForceVisible}; +enum ItemDataRole{ + DisplayRole = Qt::DisplayRole, DecorationRole = Qt::DecorationRole, EditRole = Qt::EditRole, ToolTipRole = Qt::ToolTipRole, StatusTipRole = Qt::StatusTipRole, WhatsThisRole = Qt::WhatsThisRole, FontRole = Qt::FontRole, TextAlignmentRole = Qt::TextAlignmentRole, BackgroundColorRole = Qt::BackgroundColorRole, BackgroundRole = Qt::BackgroundRole, TextColorRole = Qt::TextColorRole, ForegroundRole = Qt::ForegroundRole, CheckStateRole = Qt::CheckStateRole, AccessibleTextRole = Qt::AccessibleTextRole, AccessibleDescriptionRole = Qt::AccessibleDescriptionRole, SizeHintRole = Qt::SizeHintRole, DisplayPropertyRole = Qt::DisplayPropertyRole, DecorationPropertyRole = Qt::DecorationPropertyRole, ToolTipPropertyRole = Qt::ToolTipPropertyRole, StatusTipPropertyRole = Qt::StatusTipPropertyRole, WhatsThisPropertyRole = Qt::WhatsThisPropertyRole, UserRole = Qt::UserRole}; +enum ScrollBarPolicy{ + ScrollBarAsNeeded = Qt::ScrollBarAsNeeded, ScrollBarAlwaysOff = Qt::ScrollBarAlwaysOff, ScrollBarAlwaysOn = Qt::ScrollBarAlwaysOn}; +enum InputMethodHint{ + ImhNone = Qt::ImhNone, ImhHiddenText = Qt::ImhHiddenText, ImhNoAutoUppercase = Qt::ImhNoAutoUppercase, ImhPreferNumbers = Qt::ImhPreferNumbers, ImhPreferUppercase = Qt::ImhPreferUppercase, ImhPreferLowercase = Qt::ImhPreferLowercase, ImhNoPredictiveText = Qt::ImhNoPredictiveText, ImhDigitsOnly = Qt::ImhDigitsOnly, ImhFormattedNumbersOnly = Qt::ImhFormattedNumbersOnly, ImhUppercaseOnly = Qt::ImhUppercaseOnly, ImhLowercaseOnly = Qt::ImhLowercaseOnly, ImhDialableCharactersOnly = Qt::ImhDialableCharactersOnly, ImhEmailCharactersOnly = Qt::ImhEmailCharactersOnly, ImhUrlCharactersOnly = Qt::ImhUrlCharactersOnly, ImhExclusiveInputMask = Qt::ImhExclusiveInputMask}; +enum AnchorAttribute{ + AnchorName = Qt::AnchorName, AnchorHref = Qt::AnchorHref}; +enum WindowModality{ + NonModal = Qt::NonModal, WindowModal = Qt::WindowModal, ApplicationModal = Qt::ApplicationModal}; +enum SortOrder{ + AscendingOrder = Qt::AscendingOrder, DescendingOrder = Qt::DescendingOrder}; +enum PenStyle{ + NoPen = Qt::NoPen, SolidLine = Qt::SolidLine, DashLine = Qt::DashLine, DotLine = Qt::DotLine, DashDotLine = Qt::DashDotLine, DashDotDotLine = Qt::DashDotDotLine, CustomDashLine = Qt::CustomDashLine, MPenStyle = Qt::MPenStyle}; +enum ItemFlag{ + NoItemFlags = Qt::NoItemFlags, ItemIsSelectable = Qt::ItemIsSelectable, ItemIsEditable = Qt::ItemIsEditable, ItemIsDragEnabled = Qt::ItemIsDragEnabled, ItemIsDropEnabled = Qt::ItemIsDropEnabled, ItemIsUserCheckable = Qt::ItemIsUserCheckable, ItemIsEnabled = Qt::ItemIsEnabled, ItemIsTristate = Qt::ItemIsTristate}; +enum Axis{ + XAxis = Qt::XAxis, YAxis = Qt::YAxis, ZAxis = Qt::ZAxis}; +enum TransformationMode{ + FastTransformation = Qt::FastTransformation, SmoothTransformation = Qt::SmoothTransformation}; +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 HitTestAccuracy{ + ExactHit = Qt::ExactHit, FuzzyHit = Qt::FuzzyHit}; +enum CursorShape{ + ArrowCursor = Qt::ArrowCursor, UpArrowCursor = Qt::UpArrowCursor, CrossCursor = Qt::CrossCursor, WaitCursor = Qt::WaitCursor, IBeamCursor = Qt::IBeamCursor, SizeVerCursor = Qt::SizeVerCursor, SizeHorCursor = Qt::SizeHorCursor, SizeBDiagCursor = Qt::SizeBDiagCursor, SizeFDiagCursor = Qt::SizeFDiagCursor, SizeAllCursor = Qt::SizeAllCursor, BlankCursor = Qt::BlankCursor, SplitVCursor = Qt::SplitVCursor, SplitHCursor = Qt::SplitHCursor, PointingHandCursor = Qt::PointingHandCursor, ForbiddenCursor = Qt::ForbiddenCursor, WhatsThisCursor = Qt::WhatsThisCursor, BusyCursor = Qt::BusyCursor, OpenHandCursor = Qt::OpenHandCursor, ClosedHandCursor = Qt::ClosedHandCursor, LastCursor = Qt::LastCursor, BitmapCursor = Qt::BitmapCursor, CustomCursor = Qt::CustomCursor}; +enum ItemSelectionMode{ + ContainsItemShape = Qt::ContainsItemShape, IntersectsItemShape = Qt::IntersectsItemShape, ContainsItemBoundingRect = Qt::ContainsItemBoundingRect, IntersectsItemBoundingRect = Qt::IntersectsItemBoundingRect}; +enum Orientation{ + Horizontal = Qt::Horizontal, Vertical = Qt::Vertical}; +enum InputMethodQuery{ + ImMicroFocus = Qt::ImMicroFocus, ImFont = Qt::ImFont, ImCursorPosition = Qt::ImCursorPosition, ImSurroundingText = Qt::ImSurroundingText, ImCurrentSelection = Qt::ImCurrentSelection, ImMaximumTextLength = Qt::ImMaximumTextLength, ImAnchorPosition = Qt::ImAnchorPosition}; +enum TimeSpec{ + LocalTime = Qt::LocalTime, UTC = Qt::UTC, OffsetFromUTC = Qt::OffsetFromUTC}; +enum ArrowType{ + NoArrow = Qt::NoArrow, UpArrow = Qt::UpArrow, DownArrow = Qt::DownArrow, LeftArrow = Qt::LeftArrow, RightArrow = Qt::RightArrow}; +enum FillRule{ + OddEvenFill = Qt::OddEvenFill, WindingFill = Qt::WindingFill}; +enum MaskMode{ + MaskInColor = Qt::MaskInColor, MaskOutColor = Qt::MaskOutColor}; +enum WindowState{ + WindowNoState = Qt::WindowNoState, WindowMinimized = Qt::WindowMinimized, WindowMaximized = Qt::WindowMaximized, WindowFullScreen = Qt::WindowFullScreen, WindowActive = Qt::WindowActive}; +enum ToolBarAreaSizes{ + NToolBarAreas = Qt::NToolBarAreas}; +enum Corner{ + TopLeftCorner = Qt::TopLeftCorner, TopRightCorner = Qt::TopRightCorner, BottomLeftCorner = Qt::BottomLeftCorner, BottomRightCorner = Qt::BottomRightCorner}; +enum DayOfWeek{ + Monday = Qt::Monday, Tuesday = Qt::Tuesday, Wednesday = Qt::Wednesday, Thursday = Qt::Thursday, Friday = Qt::Friday, Saturday = Qt::Saturday, Sunday = Qt::Sunday}; +enum ClipOperation{ + NoClip = Qt::NoClip, ReplaceClip = Qt::ReplaceClip, IntersectClip = Qt::IntersectClip, UniteClip = Qt::UniteClip}; +enum LayoutDirection{ + LeftToRight = Qt::LeftToRight, RightToLeft = Qt::RightToLeft}; +enum ToolButtonStyle{ + ToolButtonIconOnly = Qt::ToolButtonIconOnly, ToolButtonTextOnly = Qt::ToolButtonTextOnly, ToolButtonTextBesideIcon = Qt::ToolButtonTextBesideIcon, ToolButtonTextUnderIcon = Qt::ToolButtonTextUnderIcon, ToolButtonFollowStyle = Qt::ToolButtonFollowStyle}; +enum DockWidgetAreaSizes{ + NDockWidgetAreas = Qt::NDockWidgetAreas}; +enum Key{ + Key_Escape = Qt::Key_Escape, Key_Tab = Qt::Key_Tab, Key_Backtab = Qt::Key_Backtab, Key_Backspace = Qt::Key_Backspace, Key_Return = Qt::Key_Return, Key_Enter = Qt::Key_Enter, Key_Insert = Qt::Key_Insert, Key_Delete = Qt::Key_Delete, Key_Pause = Qt::Key_Pause, Key_Print = Qt::Key_Print, Key_SysReq = Qt::Key_SysReq, Key_Clear = Qt::Key_Clear, Key_Home = Qt::Key_Home, Key_End = Qt::Key_End, Key_Left = Qt::Key_Left, Key_Up = Qt::Key_Up, Key_Right = Qt::Key_Right, Key_Down = Qt::Key_Down, Key_PageUp = Qt::Key_PageUp, Key_PageDown = Qt::Key_PageDown, Key_Shift = Qt::Key_Shift, Key_Control = Qt::Key_Control, Key_Meta = Qt::Key_Meta, Key_Alt = Qt::Key_Alt, Key_CapsLock = Qt::Key_CapsLock, Key_NumLock = Qt::Key_NumLock, Key_ScrollLock = Qt::Key_ScrollLock, Key_F1 = Qt::Key_F1, Key_F2 = Qt::Key_F2, Key_F3 = Qt::Key_F3, Key_F4 = Qt::Key_F4, Key_F5 = Qt::Key_F5, Key_F6 = Qt::Key_F6, Key_F7 = Qt::Key_F7, Key_F8 = Qt::Key_F8, Key_F9 = Qt::Key_F9, Key_F10 = Qt::Key_F10, Key_F11 = Qt::Key_F11, Key_F12 = Qt::Key_F12, Key_F13 = Qt::Key_F13, Key_F14 = Qt::Key_F14, Key_F15 = Qt::Key_F15, Key_F16 = Qt::Key_F16, Key_F17 = Qt::Key_F17, Key_F18 = Qt::Key_F18, Key_F19 = Qt::Key_F19, Key_F20 = Qt::Key_F20, Key_F21 = Qt::Key_F21, Key_F22 = Qt::Key_F22, Key_F23 = Qt::Key_F23, Key_F24 = Qt::Key_F24, Key_F25 = Qt::Key_F25, Key_F26 = Qt::Key_F26, Key_F27 = Qt::Key_F27, Key_F28 = Qt::Key_F28, Key_F29 = Qt::Key_F29, Key_F30 = Qt::Key_F30, Key_F31 = Qt::Key_F31, Key_F32 = Qt::Key_F32, Key_F33 = Qt::Key_F33, Key_F34 = Qt::Key_F34, Key_F35 = Qt::Key_F35, Key_Super_L = Qt::Key_Super_L, Key_Super_R = Qt::Key_Super_R, Key_Menu = Qt::Key_Menu, Key_Hyper_L = Qt::Key_Hyper_L, Key_Hyper_R = Qt::Key_Hyper_R, Key_Help = Qt::Key_Help, Key_Direction_L = Qt::Key_Direction_L, Key_Direction_R = Qt::Key_Direction_R, Key_Space = Qt::Key_Space, Key_Any = Qt::Key_Any, Key_Exclam = Qt::Key_Exclam, Key_QuoteDbl = Qt::Key_QuoteDbl, Key_NumberSign = Qt::Key_NumberSign, Key_Dollar = Qt::Key_Dollar, Key_Percent = Qt::Key_Percent, Key_Ampersand = Qt::Key_Ampersand, Key_Apostrophe = Qt::Key_Apostrophe, Key_ParenLeft = Qt::Key_ParenLeft, Key_ParenRight = Qt::Key_ParenRight, Key_Asterisk = Qt::Key_Asterisk, Key_Plus = Qt::Key_Plus, Key_Comma = Qt::Key_Comma, Key_Minus = Qt::Key_Minus, Key_Period = Qt::Key_Period, Key_Slash = Qt::Key_Slash, Key_0 = Qt::Key_0, Key_1 = Qt::Key_1, Key_2 = Qt::Key_2, Key_3 = Qt::Key_3, Key_4 = Qt::Key_4, Key_5 = Qt::Key_5, Key_6 = Qt::Key_6, Key_7 = Qt::Key_7, Key_8 = Qt::Key_8, Key_9 = Qt::Key_9, Key_Colon = Qt::Key_Colon, Key_Semicolon = Qt::Key_Semicolon, Key_Less = Qt::Key_Less, Key_Equal = Qt::Key_Equal, Key_Greater = Qt::Key_Greater, Key_Question = Qt::Key_Question, Key_At = Qt::Key_At, Key_A = Qt::Key_A, Key_B = Qt::Key_B, Key_C = Qt::Key_C, Key_D = Qt::Key_D, Key_E = Qt::Key_E, Key_F = Qt::Key_F, Key_G = Qt::Key_G, Key_H = Qt::Key_H, Key_I = Qt::Key_I, Key_J = Qt::Key_J, Key_K = Qt::Key_K, Key_L = Qt::Key_L, Key_M = Qt::Key_M, Key_N = Qt::Key_N, Key_O = Qt::Key_O, Key_P = Qt::Key_P, Key_Q = Qt::Key_Q, Key_R = Qt::Key_R, Key_S = Qt::Key_S, Key_T = Qt::Key_T, Key_U = Qt::Key_U, Key_V = Qt::Key_V, Key_W = Qt::Key_W, Key_X = Qt::Key_X, Key_Y = Qt::Key_Y, Key_Z = Qt::Key_Z, Key_BracketLeft = Qt::Key_BracketLeft, Key_Backslash = Qt::Key_Backslash, Key_BracketRight = Qt::Key_BracketRight, Key_AsciiCircum = Qt::Key_AsciiCircum, Key_Underscore = Qt::Key_Underscore, Key_QuoteLeft = Qt::Key_QuoteLeft, Key_BraceLeft = Qt::Key_BraceLeft, Key_Bar = Qt::Key_Bar, Key_BraceRight = Qt::Key_BraceRight, Key_AsciiTilde = Qt::Key_AsciiTilde, Key_nobreakspace = Qt::Key_nobreakspace, Key_exclamdown = Qt::Key_exclamdown, Key_cent = Qt::Key_cent, Key_sterling = Qt::Key_sterling, Key_currency = Qt::Key_currency, Key_yen = Qt::Key_yen, Key_brokenbar = Qt::Key_brokenbar, Key_section = Qt::Key_section, Key_diaeresis = Qt::Key_diaeresis, Key_copyright = Qt::Key_copyright, Key_ordfeminine = Qt::Key_ordfeminine, Key_guillemotleft = Qt::Key_guillemotleft, Key_notsign = Qt::Key_notsign, Key_hyphen = Qt::Key_hyphen, Key_registered = Qt::Key_registered, Key_macron = Qt::Key_macron, Key_degree = Qt::Key_degree, Key_plusminus = Qt::Key_plusminus, Key_twosuperior = Qt::Key_twosuperior, Key_threesuperior = Qt::Key_threesuperior, Key_acute = Qt::Key_acute, Key_mu = Qt::Key_mu, Key_paragraph = Qt::Key_paragraph, Key_periodcentered = Qt::Key_periodcentered, Key_cedilla = Qt::Key_cedilla, Key_onesuperior = Qt::Key_onesuperior, Key_masculine = Qt::Key_masculine, Key_guillemotright = Qt::Key_guillemotright, Key_onequarter = Qt::Key_onequarter, Key_onehalf = Qt::Key_onehalf, Key_threequarters = Qt::Key_threequarters, Key_questiondown = Qt::Key_questiondown, Key_Agrave = Qt::Key_Agrave, Key_Aacute = Qt::Key_Aacute, Key_Acircumflex = Qt::Key_Acircumflex, Key_Atilde = Qt::Key_Atilde, Key_Adiaeresis = Qt::Key_Adiaeresis, Key_Aring = Qt::Key_Aring, Key_AE = Qt::Key_AE, Key_Ccedilla = Qt::Key_Ccedilla, Key_Egrave = Qt::Key_Egrave, Key_Eacute = Qt::Key_Eacute, Key_Ecircumflex = Qt::Key_Ecircumflex, Key_Ediaeresis = Qt::Key_Ediaeresis, Key_Igrave = Qt::Key_Igrave, Key_Iacute = Qt::Key_Iacute, Key_Icircumflex = Qt::Key_Icircumflex, Key_Idiaeresis = Qt::Key_Idiaeresis, Key_ETH = Qt::Key_ETH, Key_Ntilde = Qt::Key_Ntilde, Key_Ograve = Qt::Key_Ograve, Key_Oacute = Qt::Key_Oacute, Key_Ocircumflex = Qt::Key_Ocircumflex, Key_Otilde = Qt::Key_Otilde, Key_Odiaeresis = Qt::Key_Odiaeresis, Key_multiply = Qt::Key_multiply, Key_Ooblique = Qt::Key_Ooblique, Key_Ugrave = Qt::Key_Ugrave, Key_Uacute = Qt::Key_Uacute, Key_Ucircumflex = Qt::Key_Ucircumflex, Key_Udiaeresis = Qt::Key_Udiaeresis, Key_Yacute = Qt::Key_Yacute, Key_THORN = Qt::Key_THORN, Key_ssharp = Qt::Key_ssharp, Key_division = Qt::Key_division, Key_ydiaeresis = Qt::Key_ydiaeresis, Key_AltGr = Qt::Key_AltGr, Key_Multi_key = Qt::Key_Multi_key, Key_Codeinput = Qt::Key_Codeinput, Key_SingleCandidate = Qt::Key_SingleCandidate, Key_MultipleCandidate = Qt::Key_MultipleCandidate, Key_PreviousCandidate = Qt::Key_PreviousCandidate, Key_Mode_switch = Qt::Key_Mode_switch, Key_Kanji = Qt::Key_Kanji, Key_Muhenkan = Qt::Key_Muhenkan, Key_Henkan = Qt::Key_Henkan, Key_Romaji = Qt::Key_Romaji, Key_Hiragana = Qt::Key_Hiragana, Key_Katakana = Qt::Key_Katakana, Key_Hiragana_Katakana = Qt::Key_Hiragana_Katakana, Key_Zenkaku = Qt::Key_Zenkaku, Key_Hankaku = Qt::Key_Hankaku, Key_Zenkaku_Hankaku = Qt::Key_Zenkaku_Hankaku, Key_Touroku = Qt::Key_Touroku, Key_Massyo = Qt::Key_Massyo, Key_Kana_Lock = Qt::Key_Kana_Lock, Key_Kana_Shift = Qt::Key_Kana_Shift, Key_Eisu_Shift = Qt::Key_Eisu_Shift, Key_Eisu_toggle = Qt::Key_Eisu_toggle, Key_Hangul = Qt::Key_Hangul, Key_Hangul_Start = Qt::Key_Hangul_Start, Key_Hangul_End = Qt::Key_Hangul_End, Key_Hangul_Hanja = Qt::Key_Hangul_Hanja, Key_Hangul_Jamo = Qt::Key_Hangul_Jamo, Key_Hangul_Romaja = Qt::Key_Hangul_Romaja, Key_Hangul_Jeonja = Qt::Key_Hangul_Jeonja, Key_Hangul_Banja = Qt::Key_Hangul_Banja, Key_Hangul_PreHanja = Qt::Key_Hangul_PreHanja, Key_Hangul_PostHanja = Qt::Key_Hangul_PostHanja, Key_Hangul_Special = Qt::Key_Hangul_Special, Key_Dead_Grave = Qt::Key_Dead_Grave, Key_Dead_Acute = Qt::Key_Dead_Acute, Key_Dead_Circumflex = Qt::Key_Dead_Circumflex, Key_Dead_Tilde = Qt::Key_Dead_Tilde, Key_Dead_Macron = Qt::Key_Dead_Macron, Key_Dead_Breve = Qt::Key_Dead_Breve, Key_Dead_Abovedot = Qt::Key_Dead_Abovedot, Key_Dead_Diaeresis = Qt::Key_Dead_Diaeresis, Key_Dead_Abovering = Qt::Key_Dead_Abovering, Key_Dead_Doubleacute = Qt::Key_Dead_Doubleacute, Key_Dead_Caron = Qt::Key_Dead_Caron, Key_Dead_Cedilla = Qt::Key_Dead_Cedilla, Key_Dead_Ogonek = Qt::Key_Dead_Ogonek, Key_Dead_Iota = Qt::Key_Dead_Iota, Key_Dead_Voiced_Sound = Qt::Key_Dead_Voiced_Sound, Key_Dead_Semivoiced_Sound = Qt::Key_Dead_Semivoiced_Sound, Key_Dead_Belowdot = Qt::Key_Dead_Belowdot, Key_Dead_Hook = Qt::Key_Dead_Hook, Key_Dead_Horn = Qt::Key_Dead_Horn, Key_Back = Qt::Key_Back, Key_Forward = Qt::Key_Forward, Key_Stop = Qt::Key_Stop, Key_Refresh = Qt::Key_Refresh, Key_VolumeDown = Qt::Key_VolumeDown, Key_VolumeMute = Qt::Key_VolumeMute, Key_VolumeUp = Qt::Key_VolumeUp, Key_BassBoost = Qt::Key_BassBoost, Key_BassUp = Qt::Key_BassUp, Key_BassDown = Qt::Key_BassDown, Key_TrebleUp = Qt::Key_TrebleUp, Key_TrebleDown = Qt::Key_TrebleDown, Key_MediaPlay = Qt::Key_MediaPlay, Key_MediaStop = Qt::Key_MediaStop, Key_MediaPrevious = Qt::Key_MediaPrevious, Key_MediaNext = Qt::Key_MediaNext, Key_MediaRecord = Qt::Key_MediaRecord, Key_HomePage = Qt::Key_HomePage, Key_Favorites = Qt::Key_Favorites, Key_Search = Qt::Key_Search, Key_Standby = Qt::Key_Standby, Key_OpenUrl = Qt::Key_OpenUrl, Key_LaunchMail = Qt::Key_LaunchMail, Key_LaunchMedia = Qt::Key_LaunchMedia, Key_Launch0 = Qt::Key_Launch0, Key_Launch1 = Qt::Key_Launch1, Key_Launch2 = Qt::Key_Launch2, Key_Launch3 = Qt::Key_Launch3, Key_Launch4 = Qt::Key_Launch4, Key_Launch5 = Qt::Key_Launch5, Key_Launch6 = Qt::Key_Launch6, Key_Launch7 = Qt::Key_Launch7, Key_Launch8 = Qt::Key_Launch8, Key_Launch9 = Qt::Key_Launch9, Key_LaunchA = Qt::Key_LaunchA, Key_LaunchB = Qt::Key_LaunchB, Key_LaunchC = Qt::Key_LaunchC, Key_LaunchD = Qt::Key_LaunchD, Key_LaunchE = Qt::Key_LaunchE, Key_LaunchF = Qt::Key_LaunchF, Key_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_MediaLast = Qt::Key_MediaLast, Key_Select = Qt::Key_Select, Key_Yes = Qt::Key_Yes, Key_No = Qt::Key_No, Key_Cancel = Qt::Key_Cancel, Key_Printer = Qt::Key_Printer, Key_Execute = Qt::Key_Execute, Key_Sleep = Qt::Key_Sleep, Key_Play = Qt::Key_Play, Key_Zoom = Qt::Key_Zoom, Key_Context1 = Qt::Key_Context1, Key_Context2 = Qt::Key_Context2, Key_Context3 = Qt::Key_Context3, Key_Context4 = Qt::Key_Context4, Key_Call = Qt::Key_Call, Key_Hangup = Qt::Key_Hangup, Key_Flip = Qt::Key_Flip, Key_unknown = Qt::Key_unknown}; +enum 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_MacPluginApplication = Qt::AA_MacPluginApplication, AA_DontUseNativeMenuBar = Qt::AA_DontUseNativeMenuBar, AA_MacDontSwapCtrlAndMeta = Qt::AA_MacDontSwapCtrlAndMeta, AA_S60DontConstructApplicationPanes = Qt::AA_S60DontConstructApplicationPanes, AA_AttributeCount = Qt::AA_AttributeCount}; +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}; +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 WidgetAttribute{ + WA_Disabled = Qt::WA_Disabled, WA_UnderMouse = Qt::WA_UnderMouse, WA_MouseTracking = Qt::WA_MouseTracking, WA_ContentsPropagated = Qt::WA_ContentsPropagated, WA_OpaquePaintEvent = Qt::WA_OpaquePaintEvent, WA_NoBackground = Qt::WA_NoBackground, WA_StaticContents = Qt::WA_StaticContents, WA_LaidOut = Qt::WA_LaidOut, WA_PaintOnScreen = Qt::WA_PaintOnScreen, WA_NoSystemBackground = Qt::WA_NoSystemBackground, WA_UpdatesDisabled = Qt::WA_UpdatesDisabled, WA_Mapped = Qt::WA_Mapped, WA_MacNoClickThrough = Qt::WA_MacNoClickThrough, WA_PaintOutsidePaintEvent = Qt::WA_PaintOutsidePaintEvent, WA_InputMethodEnabled = Qt::WA_InputMethodEnabled, WA_WState_Visible = Qt::WA_WState_Visible, WA_WState_Hidden = Qt::WA_WState_Hidden, WA_ForceDisabled = Qt::WA_ForceDisabled, WA_KeyCompression = Qt::WA_KeyCompression, WA_PendingMoveEvent = Qt::WA_PendingMoveEvent, WA_PendingResizeEvent = Qt::WA_PendingResizeEvent, WA_SetPalette = Qt::WA_SetPalette, WA_SetFont = Qt::WA_SetFont, WA_SetCursor = Qt::WA_SetCursor, WA_NoChildEventsFromChildren = Qt::WA_NoChildEventsFromChildren, WA_WindowModified = Qt::WA_WindowModified, WA_Resized = Qt::WA_Resized, WA_Moved = Qt::WA_Moved, WA_PendingUpdate = Qt::WA_PendingUpdate, WA_InvalidSize = Qt::WA_InvalidSize, WA_MacBrushedMetal = Qt::WA_MacBrushedMetal, WA_MacMetalStyle = Qt::WA_MacMetalStyle, WA_CustomWhatsThis = Qt::WA_CustomWhatsThis, WA_LayoutOnEntireRect = Qt::WA_LayoutOnEntireRect, WA_OutsideWSRange = Qt::WA_OutsideWSRange, WA_GrabbedShortcut = Qt::WA_GrabbedShortcut, WA_TransparentForMouseEvents = Qt::WA_TransparentForMouseEvents, WA_PaintUnclipped = Qt::WA_PaintUnclipped, WA_SetWindowIcon = Qt::WA_SetWindowIcon, WA_NoMouseReplay = Qt::WA_NoMouseReplay, WA_DeleteOnClose = Qt::WA_DeleteOnClose, WA_RightToLeft = Qt::WA_RightToLeft, WA_SetLayoutDirection = Qt::WA_SetLayoutDirection, WA_NoChildEventsForParent = Qt::WA_NoChildEventsForParent, WA_ForceUpdatesDisabled = Qt::WA_ForceUpdatesDisabled, WA_WState_Created = Qt::WA_WState_Created, WA_WState_CompressKeys = Qt::WA_WState_CompressKeys, WA_WState_InPaintEvent = Qt::WA_WState_InPaintEvent, WA_WState_Reparented = Qt::WA_WState_Reparented, WA_WState_ConfigPending = Qt::WA_WState_ConfigPending, WA_WState_Polished = Qt::WA_WState_Polished, WA_WState_DND = Qt::WA_WState_DND, WA_WState_OwnSizePolicy = Qt::WA_WState_OwnSizePolicy, WA_WState_ExplicitShowHide = Qt::WA_WState_ExplicitShowHide, WA_ShowModal = Qt::WA_ShowModal, WA_MouseNoMask = Qt::WA_MouseNoMask, WA_GroupLeader = Qt::WA_GroupLeader, WA_NoMousePropagation = Qt::WA_NoMousePropagation, WA_Hover = Qt::WA_Hover, WA_InputMethodTransparent = Qt::WA_InputMethodTransparent, WA_QuitOnClose = Qt::WA_QuitOnClose, WA_KeyboardFocusChange = Qt::WA_KeyboardFocusChange, WA_AcceptDrops = Qt::WA_AcceptDrops, WA_DropSiteRegistered = Qt::WA_DropSiteRegistered, WA_ForceAcceptDrops = Qt::WA_ForceAcceptDrops, WA_WindowPropagation = Qt::WA_WindowPropagation, WA_NoX11EventCompression = Qt::WA_NoX11EventCompression, WA_TintedBackground = Qt::WA_TintedBackground, WA_X11OpenGLOverlay = Qt::WA_X11OpenGLOverlay, WA_AlwaysShowToolTips = Qt::WA_AlwaysShowToolTips, WA_MacOpaqueSizeGrip = Qt::WA_MacOpaqueSizeGrip, WA_SetStyle = Qt::WA_SetStyle, WA_SetLocale = Qt::WA_SetLocale, WA_MacShowFocusRect = Qt::WA_MacShowFocusRect, WA_MacNormalSize = Qt::WA_MacNormalSize, WA_MacSmallSize = Qt::WA_MacSmallSize, WA_MacMiniSize = Qt::WA_MacMiniSize, WA_LayoutUsesWidgetRect = Qt::WA_LayoutUsesWidgetRect, WA_StyledBackground = Qt::WA_StyledBackground, WA_MSWindowsUseDirect3D = Qt::WA_MSWindowsUseDirect3D, WA_CanHostQMdiSubWindowTitleBar = Qt::WA_CanHostQMdiSubWindowTitleBar, WA_MacAlwaysShowToolWindow = Qt::WA_MacAlwaysShowToolWindow, WA_StyleSheet = Qt::WA_StyleSheet, WA_ShowWithoutActivating = Qt::WA_ShowWithoutActivating, WA_X11BypassTransientForHint = Qt::WA_X11BypassTransientForHint, WA_NativeWindow = Qt::WA_NativeWindow, WA_DontCreateNativeAncestors = Qt::WA_DontCreateNativeAncestors, WA_MacVariableSize = Qt::WA_MacVariableSize, WA_DontShowOnScreen = Qt::WA_DontShowOnScreen, WA_X11NetWmWindowTypeDesktop = Qt::WA_X11NetWmWindowTypeDesktop, WA_X11NetWmWindowTypeDock = Qt::WA_X11NetWmWindowTypeDock, WA_X11NetWmWindowTypeToolBar = Qt::WA_X11NetWmWindowTypeToolBar, WA_X11NetWmWindowTypeMenu = Qt::WA_X11NetWmWindowTypeMenu, WA_X11NetWmWindowTypeUtility = Qt::WA_X11NetWmWindowTypeUtility, WA_X11NetWmWindowTypeSplash = Qt::WA_X11NetWmWindowTypeSplash, WA_X11NetWmWindowTypeDialog = Qt::WA_X11NetWmWindowTypeDialog, WA_X11NetWmWindowTypeDropDownMenu = Qt::WA_X11NetWmWindowTypeDropDownMenu, WA_X11NetWmWindowTypePopupMenu = Qt::WA_X11NetWmWindowTypePopupMenu, WA_X11NetWmWindowTypeToolTip = Qt::WA_X11NetWmWindowTypeToolTip, WA_X11NetWmWindowTypeNotification = Qt::WA_X11NetWmWindowTypeNotification, WA_X11NetWmWindowTypeCombo = Qt::WA_X11NetWmWindowTypeCombo, WA_X11NetWmWindowTypeDND = Qt::WA_X11NetWmWindowTypeDND, WA_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_AttributeCount = Qt::WA_AttributeCount}; +enum TouchPointState{ + TouchPointPressed = Qt::TouchPointPressed, TouchPointMoved = Qt::TouchPointMoved, TouchPointStationary = Qt::TouchPointStationary, TouchPointReleased = Qt::TouchPointReleased, TouchPointStateMask = Qt::TouchPointStateMask, TouchPointPrimary = Qt::TouchPointPrimary}; +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 MouseButton{ + NoButton = Qt::NoButton, LeftButton = Qt::LeftButton, RightButton = Qt::RightButton, MidButton = Qt::MidButton, XButton1 = Qt::XButton1, XButton2 = Qt::XButton2, MouseButtonMask = Qt::MouseButtonMask}; +enum MatchFlag{ + MatchExactly = Qt::MatchExactly, MatchContains = Qt::MatchContains, MatchStartsWith = Qt::MatchStartsWith, MatchEndsWith = Qt::MatchEndsWith, MatchRegExp = Qt::MatchRegExp, MatchWildcard = Qt::MatchWildcard, MatchFixedString = Qt::MatchFixedString, MatchCaseSensitive = Qt::MatchCaseSensitive, MatchWrap = Qt::MatchWrap, MatchRecursive = Qt::MatchRecursive}; +enum PenCapStyle{ + FlatCap = Qt::FlatCap, SquareCap = Qt::SquareCap, RoundCap = Qt::RoundCap, MPenCapStyle = Qt::MPenCapStyle}; +enum TextElideMode{ + ElideLeft = Qt::ElideLeft, ElideRight = Qt::ElideRight, ElideMiddle = Qt::ElideMiddle, ElideNone = Qt::ElideNone}; +Q_DECLARE_FLAGS(DropActions, DropAction) +Q_DECLARE_FLAGS(WindowFlags, WindowType) +Q_DECLARE_FLAGS(ImageConversionFlags, ImageConversionFlag) +Q_DECLARE_FLAGS(ToolBarAreas, ToolBarArea) +Q_DECLARE_FLAGS(Alignment, AlignmentFlag) +Q_DECLARE_FLAGS(DockWidgetAreas, DockWidgetArea) +Q_DECLARE_FLAGS(KeyboardModifiers, KeyboardModifier) +Q_DECLARE_FLAGS(InputMethodHints, InputMethodHint) +Q_DECLARE_FLAGS(ItemFlags, ItemFlag) +Q_DECLARE_FLAGS(Orientations, Orientation) +Q_DECLARE_FLAGS(WindowStates, WindowState) +Q_DECLARE_FLAGS(TouchPointStates, TouchPointState) +Q_DECLARE_FLAGS(TextInteractionFlags, TextInteractionFlag) +Q_DECLARE_FLAGS(MouseButtons, MouseButton) +Q_DECLARE_FLAGS(MatchFlags, MatchFlag) +public slots: + QTextCodec* static_Qt_codecForHtml(const QByteArray& ba); + QString static_Qt_convertFromPlainText(const QString& plain, Qt::WhiteSpaceMode mode = Qt::WhiteSpacePre); + QString static_Qt_escape(const QString& plain); + bool static_Qt_mightBeRichText(const QString& arg__1); +}; + + diff --git a/generated_cpp_47/com_trolltech_qt_core_builtin/com_trolltech_qt_core_builtin_init.cpp b/generated_cpp_47/com_trolltech_qt_core_builtin/com_trolltech_qt_core_builtin_init.cpp new file mode 100644 index 00000000..5b92d2e2 --- /dev/null +++ b/generated_cpp_47/com_trolltech_qt_core_builtin/com_trolltech_qt_core_builtin_init.cpp @@ -0,0 +1,23 @@ +#include +#include "com_trolltech_qt_core_builtin0.h" + +void PythonQt_init_QtCoreBuiltin(PyObject* module) { +PythonQt::priv()->registerCPPClass("QBitArray", "", "QtCore", PythonQtCreateObject, NULL, module, PythonQt::Type_And|PythonQt::Type_NonZero|PythonQt::Type_InplaceXor|PythonQt::Type_InplaceOr|PythonQt::Type_Xor|PythonQt::Type_RichCompare|PythonQt::Type_Or|PythonQt::Type_InplaceAnd|PythonQt::Type_Invert); +PythonQt::priv()->registerCPPClass("QByteArray", "", "QtCore", PythonQtCreateObject, NULL, module, PythonQt::Type_NonZero|PythonQt::Type_InplaceAdd|PythonQt::Type_RichCompare|PythonQt::Type_Add); +PythonQt::priv()->registerCPPClass("QDate", "", "QtCore", PythonQtCreateObject, NULL, module, PythonQt::Type_NonZero|PythonQt::Type_RichCompare); +PythonQt::priv()->registerCPPClass("QDateTime", "", "QtCore", PythonQtCreateObject, NULL, module, PythonQt::Type_NonZero|PythonQt::Type_RichCompare); +PythonQt::priv()->registerCPPClass("QLine", "", "QtCore", PythonQtCreateObject, NULL, module, PythonQt::Type_NonZero|PythonQt::Type_RichCompare|PythonQt::Type_Multiply); +PythonQt::priv()->registerCPPClass("QLineF", "", "QtCore", PythonQtCreateObject, NULL, module, PythonQt::Type_NonZero|PythonQt::Type_RichCompare|PythonQt::Type_Multiply); +PythonQt::priv()->registerCPPClass("QLocale", "", "QtCore", PythonQtCreateObject, NULL, module, PythonQt::Type_RichCompare); +PythonQt::priv()->registerCPPClass("QPoint", "", "QtCore", PythonQtCreateObject, NULL, module, PythonQt::Type_Divide|PythonQt::Type_InplaceDivide|PythonQt::Type_NonZero|PythonQt::Type_InplaceSubtract|PythonQt::Type_InplaceAdd|PythonQt::Type_RichCompare|PythonQt::Type_Subtract|PythonQt::Type_InplaceMultiply|PythonQt::Type_Multiply|PythonQt::Type_Add); +PythonQt::priv()->registerCPPClass("QPointF", "", "QtCore", PythonQtCreateObject, NULL, module, PythonQt::Type_Divide|PythonQt::Type_InplaceDivide|PythonQt::Type_NonZero|PythonQt::Type_InplaceSubtract|PythonQt::Type_InplaceAdd|PythonQt::Type_RichCompare|PythonQt::Type_Subtract|PythonQt::Type_InplaceMultiply|PythonQt::Type_Multiply|PythonQt::Type_Add); +PythonQt::priv()->registerCPPClass("QRect", "", "QtCore", PythonQtCreateObject, NULL, module, PythonQt::Type_And|PythonQt::Type_NonZero|PythonQt::Type_InplaceOr|PythonQt::Type_RichCompare|PythonQt::Type_Or|PythonQt::Type_InplaceAnd); +PythonQt::priv()->registerCPPClass("QRectF", "", "QtCore", PythonQtCreateObject, NULL, module, PythonQt::Type_And|PythonQt::Type_NonZero|PythonQt::Type_InplaceOr|PythonQt::Type_RichCompare|PythonQt::Type_Or|PythonQt::Type_InplaceAnd); +PythonQt::priv()->registerCPPClass("QRegExp", "", "QtCore", PythonQtCreateObject, NULL, module, PythonQt::Type_RichCompare); +PythonQt::priv()->registerCPPClass("QSize", "", "QtCore", PythonQtCreateObject, NULL, module, PythonQt::Type_Divide|PythonQt::Type_InplaceDivide|PythonQt::Type_NonZero|PythonQt::Type_InplaceSubtract|PythonQt::Type_InplaceAdd|PythonQt::Type_RichCompare|PythonQt::Type_Subtract|PythonQt::Type_InplaceMultiply|PythonQt::Type_Multiply|PythonQt::Type_Add); +PythonQt::priv()->registerCPPClass("QSizeF", "", "QtCore", PythonQtCreateObject, NULL, module, PythonQt::Type_Divide|PythonQt::Type_InplaceDivide|PythonQt::Type_NonZero|PythonQt::Type_InplaceSubtract|PythonQt::Type_InplaceAdd|PythonQt::Type_RichCompare|PythonQt::Type_Subtract|PythonQt::Type_InplaceMultiply|PythonQt::Type_Multiply|PythonQt::Type_Add); +PythonQt::priv()->registerCPPClass("QTime", "", "QtCore", PythonQtCreateObject, NULL, module, PythonQt::Type_NonZero|PythonQt::Type_RichCompare); +PythonQt::priv()->registerCPPClass("QUrl", "", "QtCore", PythonQtCreateObject, NULL, module, PythonQt::Type_RichCompare); +PythonQt::priv()->registerCPPClass("Qt", "", "QtCore", PythonQtCreateObject, NULL, module, 0); + +} diff --git a/generated_cpp_47/com_trolltech_qt_gui/com_trolltech_qt_gui.pri b/generated_cpp_47/com_trolltech_qt_gui/com_trolltech_qt_gui.pri new file mode 100644 index 00000000..753be3ba --- /dev/null +++ b/generated_cpp_47/com_trolltech_qt_gui/com_trolltech_qt_gui.pri @@ -0,0 +1,26 @@ +HEADERS += \ + $$PWD/com_trolltech_qt_gui0.h \ + $$PWD/com_trolltech_qt_gui1.h \ + $$PWD/com_trolltech_qt_gui2.h \ + $$PWD/com_trolltech_qt_gui3.h \ + $$PWD/com_trolltech_qt_gui4.h \ + $$PWD/com_trolltech_qt_gui5.h \ + $$PWD/com_trolltech_qt_gui6.h \ + $$PWD/com_trolltech_qt_gui7.h \ + $$PWD/com_trolltech_qt_gui8.h \ + $$PWD/com_trolltech_qt_gui9.h \ + $$PWD/com_trolltech_qt_gui10.h \ + +SOURCES += \ + $$PWD/com_trolltech_qt_gui0.cpp \ + $$PWD/com_trolltech_qt_gui1.cpp \ + $$PWD/com_trolltech_qt_gui2.cpp \ + $$PWD/com_trolltech_qt_gui3.cpp \ + $$PWD/com_trolltech_qt_gui4.cpp \ + $$PWD/com_trolltech_qt_gui5.cpp \ + $$PWD/com_trolltech_qt_gui6.cpp \ + $$PWD/com_trolltech_qt_gui7.cpp \ + $$PWD/com_trolltech_qt_gui8.cpp \ + $$PWD/com_trolltech_qt_gui9.cpp \ + $$PWD/com_trolltech_qt_gui10.cpp \ + $$PWD/com_trolltech_qt_gui_init.cpp diff --git a/generated_cpp_47/com_trolltech_qt_gui/com_trolltech_qt_gui0.cpp b/generated_cpp_47/com_trolltech_qt_gui/com_trolltech_qt_gui0.cpp new file mode 100644 index 00000000..845fa379 --- /dev/null +++ b/generated_cpp_47/com_trolltech_qt_gui/com_trolltech_qt_gui0.cpp @@ -0,0 +1,16879 @@ +#include "com_trolltech_qt_gui0.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 + +void PythonQtShell_QAbstractButton::actionEvent(QActionEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "actionEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QActionEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QAbstractButton::actionEvent(arg__1); +} +void PythonQtShell_QAbstractButton::changeEvent(QEvent* e) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "changeEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&e}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QAbstractButton::changeEvent(e); +} +void PythonQtShell_QAbstractButton::checkStateSet() +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "checkStateSet"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={""}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QAbstractButton::checkStateSet(); +} +void PythonQtShell_QAbstractButton::childEvent(QChildEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "childEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QChildEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QAbstractButton::childEvent(arg__1); +} +void PythonQtShell_QAbstractButton::closeEvent(QCloseEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "closeEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QCloseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QAbstractButton::closeEvent(arg__1); +} +void PythonQtShell_QAbstractButton::contextMenuEvent(QContextMenuEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "contextMenuEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QContextMenuEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QAbstractButton::contextMenuEvent(arg__1); +} +void PythonQtShell_QAbstractButton::customEvent(QEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "customEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QAbstractButton::customEvent(arg__1); +} +int PythonQtShell_QAbstractButton::devType() const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "devType"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + int returnValue; + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("devType", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QAbstractButton::devType(); +} +void PythonQtShell_QAbstractButton::dragEnterEvent(QDragEnterEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dragEnterEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QDragEnterEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QAbstractButton::dragEnterEvent(arg__1); +} +void PythonQtShell_QAbstractButton::dragLeaveEvent(QDragLeaveEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dragLeaveEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QDragLeaveEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QAbstractButton::dragLeaveEvent(arg__1); +} +void PythonQtShell_QAbstractButton::dragMoveEvent(QDragMoveEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dragMoveEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QDragMoveEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QAbstractButton::dragMoveEvent(arg__1); +} +void PythonQtShell_QAbstractButton::dropEvent(QDropEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dropEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QDropEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QAbstractButton::dropEvent(arg__1); +} +void PythonQtShell_QAbstractButton::enterEvent(QEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "enterEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QAbstractButton::enterEvent(arg__1); +} +bool PythonQtShell_QAbstractButton::event(QEvent* e) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "event"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue; + void* args[2] = {NULL, (void*)&e}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QAbstractButton::event(e); +} +bool PythonQtShell_QAbstractButton::eventFilter(QObject* arg__1, QEvent* arg__2) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "eventFilter"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue; + void* args[3] = {NULL, (void*)&arg__1, (void*)&arg__2}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QAbstractButton::eventFilter(arg__1, arg__2); +} +void PythonQtShell_QAbstractButton::focusInEvent(QFocusEvent* e) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "focusInEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QFocusEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&e}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QAbstractButton::focusInEvent(e); +} +bool PythonQtShell_QAbstractButton::focusNextPrevChild(bool next) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "focusNextPrevChild"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue; + void* args[2] = {NULL, (void*)&next}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("focusNextPrevChild", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QAbstractButton::focusNextPrevChild(next); +} +void PythonQtShell_QAbstractButton::focusOutEvent(QFocusEvent* e) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "focusOutEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QFocusEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&e}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QAbstractButton::focusOutEvent(e); +} +int PythonQtShell_QAbstractButton::heightForWidth(int arg__1) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "heightForWidth"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"int" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + int returnValue; + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("heightForWidth", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QAbstractButton::heightForWidth(arg__1); +} +void PythonQtShell_QAbstractButton::hideEvent(QHideEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "hideEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QHideEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QAbstractButton::hideEvent(arg__1); +} +bool PythonQtShell_QAbstractButton::hitButton(const QPoint& pos) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "hitButton"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "const QPoint&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue; + void* args[2] = {NULL, (void*)&pos}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("hitButton", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QAbstractButton::hitButton(pos); +} +void PythonQtShell_QAbstractButton::inputMethodEvent(QInputMethodEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "inputMethodEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QInputMethodEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QAbstractButton::inputMethodEvent(arg__1); +} +QVariant PythonQtShell_QAbstractButton::inputMethodQuery(Qt::InputMethodQuery arg__1) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "inputMethodQuery"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QVariant" , "Qt::InputMethodQuery"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + QVariant returnValue; + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result); + } else { + returnValue = *((QVariant*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QAbstractButton::inputMethodQuery(arg__1); +} +void PythonQtShell_QAbstractButton::keyPressEvent(QKeyEvent* e) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "keyPressEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QKeyEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&e}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QAbstractButton::keyPressEvent(e); +} +void PythonQtShell_QAbstractButton::keyReleaseEvent(QKeyEvent* e) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "keyReleaseEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QKeyEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&e}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QAbstractButton::keyReleaseEvent(e); +} +void PythonQtShell_QAbstractButton::languageChange() +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "languageChange"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={""}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QAbstractButton::languageChange(); +} +void PythonQtShell_QAbstractButton::leaveEvent(QEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "leaveEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QAbstractButton::leaveEvent(arg__1); +} +int PythonQtShell_QAbstractButton::metric(QPaintDevice::PaintDeviceMetric arg__1) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "metric"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + int returnValue; + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("metric", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QAbstractButton::metric(arg__1); +} +QSize PythonQtShell_QAbstractButton::minimumSizeHint() const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "getMinimumSizeHint"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QSize"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QSize returnValue; + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("getMinimumSizeHint", methodInfo, result); + } else { + returnValue = *((QSize*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QAbstractButton::minimumSizeHint(); +} +void PythonQtShell_QAbstractButton::mouseDoubleClickEvent(QMouseEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mouseDoubleClickEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QAbstractButton::mouseDoubleClickEvent(arg__1); +} +void PythonQtShell_QAbstractButton::mouseMoveEvent(QMouseEvent* e) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mouseMoveEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&e}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QAbstractButton::mouseMoveEvent(e); +} +void PythonQtShell_QAbstractButton::mousePressEvent(QMouseEvent* e) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mousePressEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&e}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QAbstractButton::mousePressEvent(e); +} +void PythonQtShell_QAbstractButton::mouseReleaseEvent(QMouseEvent* e) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mouseReleaseEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&e}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QAbstractButton::mouseReleaseEvent(e); +} +void PythonQtShell_QAbstractButton::moveEvent(QMoveEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "moveEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QMoveEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QAbstractButton::moveEvent(arg__1); +} +void PythonQtShell_QAbstractButton::nextCheckState() +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "nextCheckState"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={""}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QAbstractButton::nextCheckState(); +} +QPaintEngine* PythonQtShell_QAbstractButton::paintEngine() const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "paintEngine"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QPaintEngine*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QPaintEngine* returnValue; + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); + } else { + returnValue = *((QPaintEngine**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QAbstractButton::paintEngine(); +} +void PythonQtShell_QAbstractButton::paintEvent(QPaintEvent* e) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "paintEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QPaintEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&e}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + +} +void PythonQtShell_QAbstractButton::resizeEvent(QResizeEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "resizeEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QResizeEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QAbstractButton::resizeEvent(arg__1); +} +void PythonQtShell_QAbstractButton::showEvent(QShowEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "showEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QShowEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QAbstractButton::showEvent(arg__1); +} +QSize PythonQtShell_QAbstractButton::sizeHint() const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "getSizeHint"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QSize"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QSize returnValue; + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("getSizeHint", methodInfo, result); + } else { + returnValue = *((QSize*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QAbstractButton::sizeHint(); +} +void PythonQtShell_QAbstractButton::tabletEvent(QTabletEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "tabletEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QTabletEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QAbstractButton::tabletEvent(arg__1); +} +void PythonQtShell_QAbstractButton::timerEvent(QTimerEvent* e) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "timerEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QTimerEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&e}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QAbstractButton::timerEvent(e); +} +void PythonQtShell_QAbstractButton::wheelEvent(QWheelEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "wheelEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QWheelEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QAbstractButton::wheelEvent(arg__1); +} +QAbstractButton* PythonQtWrapper_QAbstractButton::new_QAbstractButton(QWidget* parent) +{ +return new PythonQtShell_QAbstractButton(parent); } + +bool PythonQtWrapper_QAbstractButton::autoExclusive(QAbstractButton* theWrappedObject) const +{ + return ( theWrappedObject->autoExclusive()); +} + +bool PythonQtWrapper_QAbstractButton::autoRepeat(QAbstractButton* theWrappedObject) const +{ + return ( theWrappedObject->autoRepeat()); +} + +int PythonQtWrapper_QAbstractButton::autoRepeatDelay(QAbstractButton* theWrappedObject) const +{ + return ( theWrappedObject->autoRepeatDelay()); +} + +int PythonQtWrapper_QAbstractButton::autoRepeatInterval(QAbstractButton* theWrappedObject) const +{ + return ( theWrappedObject->autoRepeatInterval()); +} + +void PythonQtWrapper_QAbstractButton::changeEvent(QAbstractButton* theWrappedObject, QEvent* e) +{ + ( ((PythonQtPublicPromoter_QAbstractButton*)theWrappedObject)->promoted_changeEvent(e)); +} + +void PythonQtWrapper_QAbstractButton::checkStateSet(QAbstractButton* theWrappedObject) +{ + ( ((PythonQtPublicPromoter_QAbstractButton*)theWrappedObject)->promoted_checkStateSet()); +} + +bool PythonQtWrapper_QAbstractButton::event(QAbstractButton* theWrappedObject, QEvent* e) +{ + return ( ((PythonQtPublicPromoter_QAbstractButton*)theWrappedObject)->promoted_event(e)); +} + +void PythonQtWrapper_QAbstractButton::focusInEvent(QAbstractButton* theWrappedObject, QFocusEvent* e) +{ + ( ((PythonQtPublicPromoter_QAbstractButton*)theWrappedObject)->promoted_focusInEvent(e)); +} + +void PythonQtWrapper_QAbstractButton::focusOutEvent(QAbstractButton* theWrappedObject, QFocusEvent* e) +{ + ( ((PythonQtPublicPromoter_QAbstractButton*)theWrappedObject)->promoted_focusOutEvent(e)); +} + +QButtonGroup* PythonQtWrapper_QAbstractButton::group(QAbstractButton* theWrappedObject) const +{ + return ( theWrappedObject->group()); +} + +bool PythonQtWrapper_QAbstractButton::hitButton(QAbstractButton* theWrappedObject, const QPoint& pos) const +{ + return ( ((PythonQtPublicPromoter_QAbstractButton*)theWrappedObject)->promoted_hitButton(pos)); +} + +QIcon PythonQtWrapper_QAbstractButton::icon(QAbstractButton* theWrappedObject) const +{ + return ( theWrappedObject->icon()); +} + +QSize PythonQtWrapper_QAbstractButton::iconSize(QAbstractButton* theWrappedObject) const +{ + return ( theWrappedObject->iconSize()); +} + +bool PythonQtWrapper_QAbstractButton::isCheckable(QAbstractButton* theWrappedObject) const +{ + return ( theWrappedObject->isCheckable()); +} + +bool PythonQtWrapper_QAbstractButton::isChecked(QAbstractButton* theWrappedObject) const +{ + return ( theWrappedObject->isChecked()); +} + +bool PythonQtWrapper_QAbstractButton::isDown(QAbstractButton* theWrappedObject) const +{ + return ( theWrappedObject->isDown()); +} + +void PythonQtWrapper_QAbstractButton::keyPressEvent(QAbstractButton* theWrappedObject, QKeyEvent* e) +{ + ( ((PythonQtPublicPromoter_QAbstractButton*)theWrappedObject)->promoted_keyPressEvent(e)); +} + +void PythonQtWrapper_QAbstractButton::keyReleaseEvent(QAbstractButton* theWrappedObject, QKeyEvent* e) +{ + ( ((PythonQtPublicPromoter_QAbstractButton*)theWrappedObject)->promoted_keyReleaseEvent(e)); +} + +void PythonQtWrapper_QAbstractButton::mouseMoveEvent(QAbstractButton* theWrappedObject, QMouseEvent* e) +{ + ( ((PythonQtPublicPromoter_QAbstractButton*)theWrappedObject)->promoted_mouseMoveEvent(e)); +} + +void PythonQtWrapper_QAbstractButton::mousePressEvent(QAbstractButton* theWrappedObject, QMouseEvent* e) +{ + ( ((PythonQtPublicPromoter_QAbstractButton*)theWrappedObject)->promoted_mousePressEvent(e)); +} + +void PythonQtWrapper_QAbstractButton::mouseReleaseEvent(QAbstractButton* theWrappedObject, QMouseEvent* e) +{ + ( ((PythonQtPublicPromoter_QAbstractButton*)theWrappedObject)->promoted_mouseReleaseEvent(e)); +} + +void PythonQtWrapper_QAbstractButton::nextCheckState(QAbstractButton* theWrappedObject) +{ + ( ((PythonQtPublicPromoter_QAbstractButton*)theWrappedObject)->promoted_nextCheckState()); +} + +void PythonQtWrapper_QAbstractButton::setAutoExclusive(QAbstractButton* theWrappedObject, bool arg__1) +{ + ( theWrappedObject->setAutoExclusive(arg__1)); +} + +void PythonQtWrapper_QAbstractButton::setAutoRepeat(QAbstractButton* theWrappedObject, bool arg__1) +{ + ( theWrappedObject->setAutoRepeat(arg__1)); +} + +void PythonQtWrapper_QAbstractButton::setAutoRepeatDelay(QAbstractButton* theWrappedObject, int arg__1) +{ + ( theWrappedObject->setAutoRepeatDelay(arg__1)); +} + +void PythonQtWrapper_QAbstractButton::setAutoRepeatInterval(QAbstractButton* theWrappedObject, int arg__1) +{ + ( theWrappedObject->setAutoRepeatInterval(arg__1)); +} + +void PythonQtWrapper_QAbstractButton::setCheckable(QAbstractButton* theWrappedObject, bool arg__1) +{ + ( theWrappedObject->setCheckable(arg__1)); +} + +void PythonQtWrapper_QAbstractButton::setDown(QAbstractButton* theWrappedObject, bool arg__1) +{ + ( theWrappedObject->setDown(arg__1)); +} + +void PythonQtWrapper_QAbstractButton::setIcon(QAbstractButton* theWrappedObject, const QIcon& icon) +{ + ( theWrappedObject->setIcon(icon)); +} + +void PythonQtWrapper_QAbstractButton::setShortcut(QAbstractButton* theWrappedObject, const QKeySequence& key) +{ + ( theWrappedObject->setShortcut(key)); +} + +void PythonQtWrapper_QAbstractButton::setText(QAbstractButton* theWrappedObject, const QString& text) +{ + ( theWrappedObject->setText(text)); +} + +QKeySequence PythonQtWrapper_QAbstractButton::shortcut(QAbstractButton* theWrappedObject) const +{ + return ( theWrappedObject->shortcut()); +} + +QString PythonQtWrapper_QAbstractButton::text(QAbstractButton* theWrappedObject) const +{ + return ( theWrappedObject->text()); +} + +void PythonQtWrapper_QAbstractButton::timerEvent(QAbstractButton* theWrappedObject, QTimerEvent* e) +{ + ( ((PythonQtPublicPromoter_QAbstractButton*)theWrappedObject)->promoted_timerEvent(e)); +} + + + +void PythonQtShell_QAbstractGraphicsShapeItem::advance(int phase) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "advance"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&phase}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QAbstractGraphicsShapeItem::advance(phase); +} +QRectF PythonQtShell_QAbstractGraphicsShapeItem::boundingRect() const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "boundingRect"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QRectF"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QRectF returnValue; + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("boundingRect", methodInfo, result); + } else { + returnValue = *((QRectF*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QRectF(); +} +bool PythonQtShell_QAbstractGraphicsShapeItem::collidesWithItem(const QGraphicsItem* other, Qt::ItemSelectionMode mode) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "collidesWithItem"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "const QGraphicsItem*" , "Qt::ItemSelectionMode"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue; + void* args[3] = {NULL, (void*)&other, (void*)&mode}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("collidesWithItem", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QAbstractGraphicsShapeItem::collidesWithItem(other, mode); +} +bool PythonQtShell_QAbstractGraphicsShapeItem::collidesWithPath(const QPainterPath& path, Qt::ItemSelectionMode mode) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "collidesWithPath"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "const QPainterPath&" , "Qt::ItemSelectionMode"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue; + void* args[3] = {NULL, (void*)&path, (void*)&mode}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("collidesWithPath", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QAbstractGraphicsShapeItem::collidesWithPath(path, mode); +} +bool PythonQtShell_QAbstractGraphicsShapeItem::contains(const QPointF& point) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "contains"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "const QPointF&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue; + void* args[2] = {NULL, (void*)&point}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("contains", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QAbstractGraphicsShapeItem::contains(point); +} +void PythonQtShell_QAbstractGraphicsShapeItem::contextMenuEvent(QGraphicsSceneContextMenuEvent* event) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "contextMenuEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QGraphicsSceneContextMenuEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&event}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QAbstractGraphicsShapeItem::contextMenuEvent(event); +} +void PythonQtShell_QAbstractGraphicsShapeItem::dragEnterEvent(QGraphicsSceneDragDropEvent* event) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dragEnterEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QGraphicsSceneDragDropEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&event}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QAbstractGraphicsShapeItem::dragEnterEvent(event); +} +void PythonQtShell_QAbstractGraphicsShapeItem::dragLeaveEvent(QGraphicsSceneDragDropEvent* event) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dragLeaveEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QGraphicsSceneDragDropEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&event}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QAbstractGraphicsShapeItem::dragLeaveEvent(event); +} +void PythonQtShell_QAbstractGraphicsShapeItem::dragMoveEvent(QGraphicsSceneDragDropEvent* event) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dragMoveEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QGraphicsSceneDragDropEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&event}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QAbstractGraphicsShapeItem::dragMoveEvent(event); +} +void PythonQtShell_QAbstractGraphicsShapeItem::dropEvent(QGraphicsSceneDragDropEvent* event) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dropEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QGraphicsSceneDragDropEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&event}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QAbstractGraphicsShapeItem::dropEvent(event); +} +QVariant PythonQtShell_QAbstractGraphicsShapeItem::extension(const QVariant& variant) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "extension"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QVariant" , "const QVariant&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + QVariant returnValue; + void* args[2] = {NULL, (void*)&variant}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("extension", methodInfo, result); + } else { + returnValue = *((QVariant*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QAbstractGraphicsShapeItem::extension(variant); +} +void PythonQtShell_QAbstractGraphicsShapeItem::focusInEvent(QFocusEvent* event) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "focusInEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QFocusEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&event}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QAbstractGraphicsShapeItem::focusInEvent(event); +} +void PythonQtShell_QAbstractGraphicsShapeItem::focusOutEvent(QFocusEvent* event) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "focusOutEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QFocusEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&event}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QAbstractGraphicsShapeItem::focusOutEvent(event); +} +void PythonQtShell_QAbstractGraphicsShapeItem::hoverEnterEvent(QGraphicsSceneHoverEvent* event) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "hoverEnterEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QGraphicsSceneHoverEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&event}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QAbstractGraphicsShapeItem::hoverEnterEvent(event); +} +void PythonQtShell_QAbstractGraphicsShapeItem::hoverLeaveEvent(QGraphicsSceneHoverEvent* event) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "hoverLeaveEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QGraphicsSceneHoverEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&event}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QAbstractGraphicsShapeItem::hoverLeaveEvent(event); +} +void PythonQtShell_QAbstractGraphicsShapeItem::hoverMoveEvent(QGraphicsSceneHoverEvent* event) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "hoverMoveEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QGraphicsSceneHoverEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&event}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QAbstractGraphicsShapeItem::hoverMoveEvent(event); +} +void PythonQtShell_QAbstractGraphicsShapeItem::inputMethodEvent(QInputMethodEvent* event) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "inputMethodEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QInputMethodEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&event}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QAbstractGraphicsShapeItem::inputMethodEvent(event); +} +QVariant PythonQtShell_QAbstractGraphicsShapeItem::inputMethodQuery(Qt::InputMethodQuery query) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "inputMethodQuery"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QVariant" , "Qt::InputMethodQuery"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + QVariant returnValue; + void* args[2] = {NULL, (void*)&query}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result); + } else { + returnValue = *((QVariant*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QAbstractGraphicsShapeItem::inputMethodQuery(query); +} +bool PythonQtShell_QAbstractGraphicsShapeItem::isObscuredBy(const QGraphicsItem* item) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "isObscuredBy"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "const QGraphicsItem*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue; + void* args[2] = {NULL, (void*)&item}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("isObscuredBy", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QAbstractGraphicsShapeItem::isObscuredBy(item); +} +QVariant PythonQtShell_QAbstractGraphicsShapeItem::itemChange(QGraphicsItem::GraphicsItemChange change, const QVariant& value) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "itemChange"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QVariant" , "QGraphicsItem::GraphicsItemChange" , "const QVariant&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + QVariant returnValue; + void* args[3] = {NULL, (void*)&change, (void*)&value}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("itemChange", methodInfo, result); + } else { + returnValue = *((QVariant*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QAbstractGraphicsShapeItem::itemChange(change, value); +} +void PythonQtShell_QAbstractGraphicsShapeItem::keyPressEvent(QKeyEvent* event) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "keyPressEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QKeyEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&event}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QAbstractGraphicsShapeItem::keyPressEvent(event); +} +void PythonQtShell_QAbstractGraphicsShapeItem::keyReleaseEvent(QKeyEvent* event) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "keyReleaseEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QKeyEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&event}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QAbstractGraphicsShapeItem::keyReleaseEvent(event); +} +void PythonQtShell_QAbstractGraphicsShapeItem::mouseDoubleClickEvent(QGraphicsSceneMouseEvent* event) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mouseDoubleClickEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QGraphicsSceneMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&event}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QAbstractGraphicsShapeItem::mouseDoubleClickEvent(event); +} +void PythonQtShell_QAbstractGraphicsShapeItem::mouseMoveEvent(QGraphicsSceneMouseEvent* event) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mouseMoveEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QGraphicsSceneMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&event}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QAbstractGraphicsShapeItem::mouseMoveEvent(event); +} +void PythonQtShell_QAbstractGraphicsShapeItem::mousePressEvent(QGraphicsSceneMouseEvent* event) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mousePressEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QGraphicsSceneMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&event}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QAbstractGraphicsShapeItem::mousePressEvent(event); +} +void PythonQtShell_QAbstractGraphicsShapeItem::mouseReleaseEvent(QGraphicsSceneMouseEvent* event) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mouseReleaseEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QGraphicsSceneMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&event}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QAbstractGraphicsShapeItem::mouseReleaseEvent(event); +} +QPainterPath PythonQtShell_QAbstractGraphicsShapeItem::opaqueArea() const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "opaqueArea"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QPainterPath"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QPainterPath returnValue; + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("opaqueArea", methodInfo, result); + } else { + returnValue = *((QPainterPath*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QAbstractGraphicsShapeItem::opaqueArea(); +} +void PythonQtShell_QAbstractGraphicsShapeItem::paint(QPainter* painter, const QStyleOptionGraphicsItem* option, QWidget* widget) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "paint"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QPainter*" , "const QStyleOptionGraphicsItem*" , "QWidget*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + void* args[4] = {NULL, (void*)&painter, (void*)&option, (void*)&widget}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + +} +bool PythonQtShell_QAbstractGraphicsShapeItem::sceneEvent(QEvent* event) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "sceneEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue; + void* args[2] = {NULL, (void*)&event}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("sceneEvent", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QAbstractGraphicsShapeItem::sceneEvent(event); +} +bool PythonQtShell_QAbstractGraphicsShapeItem::sceneEventFilter(QGraphicsItem* watched, QEvent* event) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "sceneEventFilter"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "QGraphicsItem*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue; + void* args[3] = {NULL, (void*)&watched, (void*)&event}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("sceneEventFilter", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QAbstractGraphicsShapeItem::sceneEventFilter(watched, event); +} +void PythonQtShell_QAbstractGraphicsShapeItem::setExtension(QGraphicsItem::Extension extension, const QVariant& variant) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "setExtension"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QGraphicsItem::Extension" , "const QVariant&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + void* args[3] = {NULL, (void*)&extension, (void*)&variant}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QAbstractGraphicsShapeItem::setExtension(extension, variant); +} +QPainterPath PythonQtShell_QAbstractGraphicsShapeItem::shape() const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "shape"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QPainterPath"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QPainterPath returnValue; + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("shape", methodInfo, result); + } else { + returnValue = *((QPainterPath*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QAbstractGraphicsShapeItem::shape(); +} +bool PythonQtShell_QAbstractGraphicsShapeItem::supportsExtension(QGraphicsItem::Extension extension) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "supportsExtension"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "QGraphicsItem::Extension"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue; + void* args[2] = {NULL, (void*)&extension}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("supportsExtension", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QAbstractGraphicsShapeItem::supportsExtension(extension); +} +int PythonQtShell_QAbstractGraphicsShapeItem::type() const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "type"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + int returnValue; + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("type", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QAbstractGraphicsShapeItem::type(); +} +void PythonQtShell_QAbstractGraphicsShapeItem::wheelEvent(QGraphicsSceneWheelEvent* event) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "wheelEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QGraphicsSceneWheelEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&event}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QAbstractGraphicsShapeItem::wheelEvent(event); +} +QAbstractGraphicsShapeItem* PythonQtWrapper_QAbstractGraphicsShapeItem::new_QAbstractGraphicsShapeItem(QGraphicsItem* parent, QGraphicsScene* scene) +{ +return new PythonQtShell_QAbstractGraphicsShapeItem(parent, scene); } + +QBrush PythonQtWrapper_QAbstractGraphicsShapeItem::brush(QAbstractGraphicsShapeItem* theWrappedObject) const +{ + return ( theWrappedObject->brush()); +} + +bool PythonQtWrapper_QAbstractGraphicsShapeItem::isObscuredBy(QAbstractGraphicsShapeItem* theWrappedObject, const QGraphicsItem* item) const +{ + return ( ((PythonQtPublicPromoter_QAbstractGraphicsShapeItem*)theWrappedObject)->promoted_isObscuredBy(item)); +} + +QPainterPath PythonQtWrapper_QAbstractGraphicsShapeItem::opaqueArea(QAbstractGraphicsShapeItem* theWrappedObject) const +{ + return ( ((PythonQtPublicPromoter_QAbstractGraphicsShapeItem*)theWrappedObject)->promoted_opaqueArea()); +} + +QPen PythonQtWrapper_QAbstractGraphicsShapeItem::pen(QAbstractGraphicsShapeItem* theWrappedObject) const +{ + return ( theWrappedObject->pen()); +} + +void PythonQtWrapper_QAbstractGraphicsShapeItem::setBrush(QAbstractGraphicsShapeItem* theWrappedObject, const QBrush& brush) +{ + ( theWrappedObject->setBrush(brush)); +} + +void PythonQtWrapper_QAbstractGraphicsShapeItem::setPen(QAbstractGraphicsShapeItem* theWrappedObject, const QPen& pen) +{ + ( theWrappedObject->setPen(pen)); +} + + + +void PythonQtShell_QAbstractItemDelegate::childEvent(QChildEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "childEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QChildEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QAbstractItemDelegate::childEvent(arg__1); +} +QWidget* PythonQtShell_QAbstractItemDelegate::createEditor(QWidget* parent, const QStyleOptionViewItem& option, const QModelIndex& index) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "createEditor"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QWidget*" , "QWidget*" , "const QStyleOptionViewItem&" , "const QModelIndex&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + QWidget* returnValue; + void* args[4] = {NULL, (void*)&parent, (void*)&option, (void*)&index}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("createEditor", methodInfo, result); + } else { + returnValue = *((QWidget**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QAbstractItemDelegate::createEditor(parent, option, index); +} +void PythonQtShell_QAbstractItemDelegate::customEvent(QEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "customEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QAbstractItemDelegate::customEvent(arg__1); +} +bool PythonQtShell_QAbstractItemDelegate::editorEvent(QEvent* event, QAbstractItemModel* model, const QStyleOptionViewItem& option, const QModelIndex& index) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "editorEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "QEvent*" , "QAbstractItemModel*" , "const QStyleOptionViewItem&" , "const QModelIndex&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(5, argumentList); + bool returnValue; + void* args[5] = {NULL, (void*)&event, (void*)&model, (void*)&option, (void*)&index}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("editorEvent", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QAbstractItemDelegate::editorEvent(event, model, option, index); +} +bool PythonQtShell_QAbstractItemDelegate::event(QEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "event"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue; + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QAbstractItemDelegate::event(arg__1); +} +bool PythonQtShell_QAbstractItemDelegate::eventFilter(QObject* arg__1, QEvent* arg__2) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "eventFilter"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue; + void* args[3] = {NULL, (void*)&arg__1, (void*)&arg__2}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QAbstractItemDelegate::eventFilter(arg__1, arg__2); +} +void PythonQtShell_QAbstractItemDelegate::paint(QPainter* painter, const QStyleOptionViewItem& option, const QModelIndex& index) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "paint"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QPainter*" , "const QStyleOptionViewItem&" , "const QModelIndex&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + void* args[4] = {NULL, (void*)&painter, (void*)&option, (void*)&index}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + +} +void PythonQtShell_QAbstractItemDelegate::setEditorData(QWidget* editor, const QModelIndex& index) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "setEditorData"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QWidget*" , "const QModelIndex&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + void* args[3] = {NULL, (void*)&editor, (void*)&index}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QAbstractItemDelegate::setEditorData(editor, index); +} +void PythonQtShell_QAbstractItemDelegate::setModelData(QWidget* editor, QAbstractItemModel* model, const QModelIndex& index) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "setModelData"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QWidget*" , "QAbstractItemModel*" , "const QModelIndex&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + void* args[4] = {NULL, (void*)&editor, (void*)&model, (void*)&index}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QAbstractItemDelegate::setModelData(editor, model, index); +} +QSize PythonQtShell_QAbstractItemDelegate::sizeHint(const QStyleOptionViewItem& option, const QModelIndex& index) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "sizeHint"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QSize" , "const QStyleOptionViewItem&" , "const QModelIndex&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + QSize returnValue; + void* args[3] = {NULL, (void*)&option, (void*)&index}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("sizeHint", methodInfo, result); + } else { + returnValue = *((QSize*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QSize(); +} +void PythonQtShell_QAbstractItemDelegate::timerEvent(QTimerEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "timerEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QTimerEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QAbstractItemDelegate::timerEvent(arg__1); +} +void PythonQtShell_QAbstractItemDelegate::updateEditorGeometry(QWidget* editor, const QStyleOptionViewItem& option, const QModelIndex& index) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "updateEditorGeometry"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QWidget*" , "const QStyleOptionViewItem&" , "const QModelIndex&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + void* args[4] = {NULL, (void*)&editor, (void*)&option, (void*)&index}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QAbstractItemDelegate::updateEditorGeometry(editor, option, index); +} +QAbstractItemDelegate* PythonQtWrapper_QAbstractItemDelegate::new_QAbstractItemDelegate(QObject* parent) +{ +return new PythonQtShell_QAbstractItemDelegate(parent); } + +QWidget* PythonQtWrapper_QAbstractItemDelegate::createEditor(QAbstractItemDelegate* theWrappedObject, QWidget* parent, const QStyleOptionViewItem& option, const QModelIndex& index) const +{ + return ( ((PythonQtPublicPromoter_QAbstractItemDelegate*)theWrappedObject)->promoted_createEditor(parent, option, index)); +} + +bool PythonQtWrapper_QAbstractItemDelegate::editorEvent(QAbstractItemDelegate* theWrappedObject, QEvent* event, QAbstractItemModel* model, const QStyleOptionViewItem& option, const QModelIndex& index) +{ + return ( ((PythonQtPublicPromoter_QAbstractItemDelegate*)theWrappedObject)->promoted_editorEvent(event, model, option, index)); +} + +void PythonQtWrapper_QAbstractItemDelegate::setEditorData(QAbstractItemDelegate* theWrappedObject, QWidget* editor, const QModelIndex& index) const +{ + ( ((PythonQtPublicPromoter_QAbstractItemDelegate*)theWrappedObject)->promoted_setEditorData(editor, index)); +} + +void PythonQtWrapper_QAbstractItemDelegate::setModelData(QAbstractItemDelegate* theWrappedObject, QWidget* editor, QAbstractItemModel* model, const QModelIndex& index) const +{ + ( ((PythonQtPublicPromoter_QAbstractItemDelegate*)theWrappedObject)->promoted_setModelData(editor, model, index)); +} + +void PythonQtWrapper_QAbstractItemDelegate::updateEditorGeometry(QAbstractItemDelegate* theWrappedObject, QWidget* editor, const QStyleOptionViewItem& option, const QModelIndex& index) const +{ + ( ((PythonQtPublicPromoter_QAbstractItemDelegate*)theWrappedObject)->promoted_updateEditorGeometry(editor, option, index)); +} + + + +void PythonQtShell_QAbstractItemView::actionEvent(QActionEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "actionEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QActionEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QAbstractItemView::actionEvent(arg__1); +} +void PythonQtShell_QAbstractItemView::changeEvent(QEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "changeEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QAbstractItemView::changeEvent(arg__1); +} +void PythonQtShell_QAbstractItemView::childEvent(QChildEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "childEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QChildEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QAbstractItemView::childEvent(arg__1); +} +void PythonQtShell_QAbstractItemView::closeEditor(QWidget* editor, QAbstractItemDelegate::EndEditHint hint) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "closeEditor"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QWidget*" , "QAbstractItemDelegate::EndEditHint"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + void* args[3] = {NULL, (void*)&editor, (void*)&hint}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QAbstractItemView::closeEditor(editor, hint); +} +void PythonQtShell_QAbstractItemView::closeEvent(QCloseEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "closeEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QCloseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QAbstractItemView::closeEvent(arg__1); +} +void PythonQtShell_QAbstractItemView::commitData(QWidget* editor) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "commitData"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QWidget*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&editor}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QAbstractItemView::commitData(editor); +} +void PythonQtShell_QAbstractItemView::contextMenuEvent(QContextMenuEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "contextMenuEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QContextMenuEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QAbstractItemView::contextMenuEvent(arg__1); +} +void PythonQtShell_QAbstractItemView::currentChanged(const QModelIndex& current, const QModelIndex& previous) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "currentChanged"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "const QModelIndex&" , "const QModelIndex&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + void* args[3] = {NULL, (void*)¤t, (void*)&previous}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QAbstractItemView::currentChanged(current, previous); +} +void PythonQtShell_QAbstractItemView::customEvent(QEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "customEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QAbstractItemView::customEvent(arg__1); +} +void PythonQtShell_QAbstractItemView::dataChanged(const QModelIndex& topLeft, const QModelIndex& bottomRight) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dataChanged"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "const QModelIndex&" , "const QModelIndex&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + void* args[3] = {NULL, (void*)&topLeft, (void*)&bottomRight}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QAbstractItemView::dataChanged(topLeft, bottomRight); +} +int PythonQtShell_QAbstractItemView::devType() const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "devType"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + int returnValue; + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("devType", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QAbstractItemView::devType(); +} +void PythonQtShell_QAbstractItemView::doItemsLayout() +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "doItemsLayout"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={""}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QAbstractItemView::doItemsLayout(); +} +void PythonQtShell_QAbstractItemView::dragEnterEvent(QDragEnterEvent* event) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dragEnterEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QDragEnterEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&event}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QAbstractItemView::dragEnterEvent(event); +} +void PythonQtShell_QAbstractItemView::dragLeaveEvent(QDragLeaveEvent* event) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dragLeaveEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QDragLeaveEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&event}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QAbstractItemView::dragLeaveEvent(event); +} +void PythonQtShell_QAbstractItemView::dragMoveEvent(QDragMoveEvent* event) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dragMoveEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QDragMoveEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&event}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QAbstractItemView::dragMoveEvent(event); +} +void PythonQtShell_QAbstractItemView::dropEvent(QDropEvent* event) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dropEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QDropEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&event}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QAbstractItemView::dropEvent(event); +} +bool PythonQtShell_QAbstractItemView::edit(const QModelIndex& index, QAbstractItemView::EditTrigger trigger, QEvent* event) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "edit"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "const QModelIndex&" , "QAbstractItemView::EditTrigger" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + bool returnValue; + void* args[4] = {NULL, (void*)&index, (void*)&trigger, (void*)&event}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("edit", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QAbstractItemView::edit(index, trigger, event); +} +void PythonQtShell_QAbstractItemView::editorDestroyed(QObject* editor) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "editorDestroyed"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QObject*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&editor}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QAbstractItemView::editorDestroyed(editor); +} +void PythonQtShell_QAbstractItemView::enterEvent(QEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "enterEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QAbstractItemView::enterEvent(arg__1); +} +bool PythonQtShell_QAbstractItemView::event(QEvent* event) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "event"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue; + void* args[2] = {NULL, (void*)&event}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QAbstractItemView::event(event); +} +bool PythonQtShell_QAbstractItemView::eventFilter(QObject* arg__1, QEvent* arg__2) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "eventFilter"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue; + void* args[3] = {NULL, (void*)&arg__1, (void*)&arg__2}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QAbstractItemView::eventFilter(arg__1, arg__2); +} +void PythonQtShell_QAbstractItemView::focusInEvent(QFocusEvent* event) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "focusInEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QFocusEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&event}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QAbstractItemView::focusInEvent(event); +} +bool PythonQtShell_QAbstractItemView::focusNextPrevChild(bool next) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "focusNextPrevChild"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue; + void* args[2] = {NULL, (void*)&next}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("focusNextPrevChild", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QAbstractItemView::focusNextPrevChild(next); +} +void PythonQtShell_QAbstractItemView::focusOutEvent(QFocusEvent* event) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "focusOutEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QFocusEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&event}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QAbstractItemView::focusOutEvent(event); +} +int PythonQtShell_QAbstractItemView::heightForWidth(int arg__1) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "heightForWidth"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"int" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + int returnValue; + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("heightForWidth", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QAbstractItemView::heightForWidth(arg__1); +} +void PythonQtShell_QAbstractItemView::hideEvent(QHideEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "hideEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QHideEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QAbstractItemView::hideEvent(arg__1); +} +int PythonQtShell_QAbstractItemView::horizontalOffset() const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "horizontalOffset"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + int returnValue; + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("horizontalOffset", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return int(); +} +void PythonQtShell_QAbstractItemView::horizontalScrollbarAction(int action) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "horizontalScrollbarAction"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&action}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QAbstractItemView::horizontalScrollbarAction(action); +} +void PythonQtShell_QAbstractItemView::horizontalScrollbarValueChanged(int value) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "horizontalScrollbarValueChanged"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&value}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QAbstractItemView::horizontalScrollbarValueChanged(value); +} +QModelIndex PythonQtShell_QAbstractItemView::indexAt(const QPoint& point) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "indexAt"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QModelIndex" , "const QPoint&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + QModelIndex returnValue; + void* args[2] = {NULL, (void*)&point}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("indexAt", methodInfo, result); + } else { + returnValue = *((QModelIndex*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QModelIndex(); +} +void PythonQtShell_QAbstractItemView::inputMethodEvent(QInputMethodEvent* event) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "inputMethodEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QInputMethodEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&event}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QAbstractItemView::inputMethodEvent(event); +} +QVariant PythonQtShell_QAbstractItemView::inputMethodQuery(Qt::InputMethodQuery query) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "inputMethodQuery"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QVariant" , "Qt::InputMethodQuery"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + QVariant returnValue; + void* args[2] = {NULL, (void*)&query}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result); + } else { + returnValue = *((QVariant*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QAbstractItemView::inputMethodQuery(query); +} +bool PythonQtShell_QAbstractItemView::isIndexHidden(const QModelIndex& index) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "isIndexHidden"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "const QModelIndex&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue; + void* args[2] = {NULL, (void*)&index}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("isIndexHidden", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return bool(); +} +void PythonQtShell_QAbstractItemView::keyPressEvent(QKeyEvent* event) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "keyPressEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QKeyEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&event}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QAbstractItemView::keyPressEvent(event); +} +void PythonQtShell_QAbstractItemView::keyReleaseEvent(QKeyEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "keyReleaseEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QKeyEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QAbstractItemView::keyReleaseEvent(arg__1); +} +void PythonQtShell_QAbstractItemView::keyboardSearch(const QString& search) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "keyboardSearch"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "const QString&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&search}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QAbstractItemView::keyboardSearch(search); +} +void PythonQtShell_QAbstractItemView::languageChange() +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "languageChange"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={""}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QAbstractItemView::languageChange(); +} +void PythonQtShell_QAbstractItemView::leaveEvent(QEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "leaveEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QAbstractItemView::leaveEvent(arg__1); +} +int PythonQtShell_QAbstractItemView::metric(QPaintDevice::PaintDeviceMetric arg__1) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "metric"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + int returnValue; + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("metric", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QAbstractItemView::metric(arg__1); +} +void PythonQtShell_QAbstractItemView::mouseDoubleClickEvent(QMouseEvent* event) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mouseDoubleClickEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&event}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QAbstractItemView::mouseDoubleClickEvent(event); +} +void PythonQtShell_QAbstractItemView::mouseMoveEvent(QMouseEvent* event) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mouseMoveEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&event}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QAbstractItemView::mouseMoveEvent(event); +} +void PythonQtShell_QAbstractItemView::mousePressEvent(QMouseEvent* event) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mousePressEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&event}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QAbstractItemView::mousePressEvent(event); +} +void PythonQtShell_QAbstractItemView::mouseReleaseEvent(QMouseEvent* event) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mouseReleaseEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&event}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QAbstractItemView::mouseReleaseEvent(event); +} +QModelIndex PythonQtShell_QAbstractItemView::moveCursor(QAbstractItemView::CursorAction cursorAction, Qt::KeyboardModifiers modifiers) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "moveCursor"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QModelIndex" , "QAbstractItemView::CursorAction" , "Qt::KeyboardModifiers"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + QModelIndex returnValue; + void* args[3] = {NULL, (void*)&cursorAction, (void*)&modifiers}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("moveCursor", methodInfo, result); + } else { + returnValue = *((QModelIndex*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QModelIndex(); +} +void PythonQtShell_QAbstractItemView::moveEvent(QMoveEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "moveEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QMoveEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QAbstractItemView::moveEvent(arg__1); +} +QPaintEngine* PythonQtShell_QAbstractItemView::paintEngine() const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "paintEngine"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QPaintEngine*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QPaintEngine* returnValue; + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); + } else { + returnValue = *((QPaintEngine**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QAbstractItemView::paintEngine(); +} +void PythonQtShell_QAbstractItemView::paintEvent(QPaintEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "paintEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QPaintEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QAbstractItemView::paintEvent(arg__1); +} +void PythonQtShell_QAbstractItemView::reset() +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "reset"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={""}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QAbstractItemView::reset(); +} +void PythonQtShell_QAbstractItemView::resizeEvent(QResizeEvent* event) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "resizeEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QResizeEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&event}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QAbstractItemView::resizeEvent(event); +} +void PythonQtShell_QAbstractItemView::rowsAboutToBeRemoved(const QModelIndex& parent, int start, int end) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "rowsAboutToBeRemoved"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "const QModelIndex&" , "int" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + void* args[4] = {NULL, (void*)&parent, (void*)&start, (void*)&end}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QAbstractItemView::rowsAboutToBeRemoved(parent, start, end); +} +void PythonQtShell_QAbstractItemView::rowsInserted(const QModelIndex& parent, int start, int end) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "rowsInserted"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "const QModelIndex&" , "int" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + void* args[4] = {NULL, (void*)&parent, (void*)&start, (void*)&end}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QAbstractItemView::rowsInserted(parent, start, end); +} +void PythonQtShell_QAbstractItemView::scrollContentsBy(int dx, int dy) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "scrollContentsBy"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "int" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + void* args[3] = {NULL, (void*)&dx, (void*)&dy}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QAbstractItemView::scrollContentsBy(dx, dy); +} +void PythonQtShell_QAbstractItemView::scrollTo(const QModelIndex& index, QAbstractItemView::ScrollHint hint) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "scrollTo"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "const QModelIndex&" , "QAbstractItemView::ScrollHint"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + void* args[3] = {NULL, (void*)&index, (void*)&hint}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + +} +void PythonQtShell_QAbstractItemView::selectAll() +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "selectAll"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={""}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QAbstractItemView::selectAll(); +} +QList PythonQtShell_QAbstractItemView::selectedIndexes() const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "selectedIndexes"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QList"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QList returnValue; + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("selectedIndexes", methodInfo, result); + } else { + returnValue = *((QList*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QAbstractItemView::selectedIndexes(); +} +void PythonQtShell_QAbstractItemView::selectionChanged(const QItemSelection& selected, const QItemSelection& deselected) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "selectionChanged"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "const QItemSelection&" , "const QItemSelection&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + void* args[3] = {NULL, (void*)&selected, (void*)&deselected}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QAbstractItemView::selectionChanged(selected, deselected); +} +QItemSelectionModel::SelectionFlags PythonQtShell_QAbstractItemView::selectionCommand(const QModelIndex& index, const QEvent* event) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "selectionCommand"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QItemSelectionModel::SelectionFlags" , "const QModelIndex&" , "const QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + QItemSelectionModel::SelectionFlags returnValue; + void* args[3] = {NULL, (void*)&index, (void*)&event}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("selectionCommand", methodInfo, result); + } else { + returnValue = *((QItemSelectionModel::SelectionFlags*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QAbstractItemView::selectionCommand(index, event); +} +void PythonQtShell_QAbstractItemView::setModel(QAbstractItemModel* model) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "setModel"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QAbstractItemModel*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&model}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QAbstractItemView::setModel(model); +} +void PythonQtShell_QAbstractItemView::setRootIndex(const QModelIndex& index) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "setRootIndex"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "const QModelIndex&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&index}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QAbstractItemView::setRootIndex(index); +} +void PythonQtShell_QAbstractItemView::setSelection(const QRect& rect, QItemSelectionModel::SelectionFlags command) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "setSelection"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "const QRect&" , "QItemSelectionModel::SelectionFlags"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + void* args[3] = {NULL, (void*)&rect, (void*)&command}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + +} +void PythonQtShell_QAbstractItemView::setSelectionModel(QItemSelectionModel* selectionModel) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "setSelectionModel"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QItemSelectionModel*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&selectionModel}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QAbstractItemView::setSelectionModel(selectionModel); +} +void PythonQtShell_QAbstractItemView::showEvent(QShowEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "showEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QShowEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QAbstractItemView::showEvent(arg__1); +} +int PythonQtShell_QAbstractItemView::sizeHintForColumn(int column) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "sizeHintForColumn"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"int" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + int returnValue; + void* args[2] = {NULL, (void*)&column}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("sizeHintForColumn", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QAbstractItemView::sizeHintForColumn(column); +} +int PythonQtShell_QAbstractItemView::sizeHintForRow(int row) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "sizeHintForRow"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"int" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + int returnValue; + void* args[2] = {NULL, (void*)&row}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("sizeHintForRow", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QAbstractItemView::sizeHintForRow(row); +} +void PythonQtShell_QAbstractItemView::startDrag(Qt::DropActions supportedActions) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "startDrag"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "Qt::DropActions"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&supportedActions}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QAbstractItemView::startDrag(supportedActions); +} +void PythonQtShell_QAbstractItemView::tabletEvent(QTabletEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "tabletEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QTabletEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QAbstractItemView::tabletEvent(arg__1); +} +void PythonQtShell_QAbstractItemView::timerEvent(QTimerEvent* event) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "timerEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QTimerEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&event}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QAbstractItemView::timerEvent(event); +} +void PythonQtShell_QAbstractItemView::updateEditorData() +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "updateEditorData"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={""}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QAbstractItemView::updateEditorData(); +} +void PythonQtShell_QAbstractItemView::updateEditorGeometries() +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "updateEditorGeometries"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={""}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QAbstractItemView::updateEditorGeometries(); +} +void PythonQtShell_QAbstractItemView::updateGeometries() +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "updateGeometries"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={""}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QAbstractItemView::updateGeometries(); +} +int PythonQtShell_QAbstractItemView::verticalOffset() const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "verticalOffset"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + int returnValue; + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("verticalOffset", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return int(); +} +void PythonQtShell_QAbstractItemView::verticalScrollbarAction(int action) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "verticalScrollbarAction"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&action}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QAbstractItemView::verticalScrollbarAction(action); +} +void PythonQtShell_QAbstractItemView::verticalScrollbarValueChanged(int value) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "verticalScrollbarValueChanged"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&value}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QAbstractItemView::verticalScrollbarValueChanged(value); +} +QStyleOptionViewItem PythonQtShell_QAbstractItemView::viewOptions() const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "viewOptions"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QStyleOptionViewItem"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QStyleOptionViewItem returnValue; + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("viewOptions", methodInfo, result); + } else { + returnValue = *((QStyleOptionViewItem*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QAbstractItemView::viewOptions(); +} +bool PythonQtShell_QAbstractItemView::viewportEvent(QEvent* event) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "viewportEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue; + void* args[2] = {NULL, (void*)&event}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("viewportEvent", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QAbstractItemView::viewportEvent(event); +} +QRect PythonQtShell_QAbstractItemView::visualRect(const QModelIndex& index) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "visualRect"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QRect" , "const QModelIndex&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + QRect returnValue; + void* args[2] = {NULL, (void*)&index}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("visualRect", methodInfo, result); + } else { + returnValue = *((QRect*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QRect(); +} +QRegion PythonQtShell_QAbstractItemView::visualRegionForSelection(const QItemSelection& selection) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "visualRegionForSelection"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QRegion" , "const QItemSelection&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + QRegion returnValue; + void* args[2] = {NULL, (void*)&selection}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("visualRegionForSelection", methodInfo, result); + } else { + returnValue = *((QRegion*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QRegion(); +} +void PythonQtShell_QAbstractItemView::wheelEvent(QWheelEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "wheelEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QWheelEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QAbstractItemView::wheelEvent(arg__1); +} +QAbstractItemView* PythonQtWrapper_QAbstractItemView::new_QAbstractItemView(QWidget* parent) +{ +return new PythonQtShell_QAbstractItemView(parent); } + +bool PythonQtWrapper_QAbstractItemView::alternatingRowColors(QAbstractItemView* theWrappedObject) const +{ + return ( theWrappedObject->alternatingRowColors()); +} + +int PythonQtWrapper_QAbstractItemView::autoScrollMargin(QAbstractItemView* theWrappedObject) const +{ + return ( theWrappedObject->autoScrollMargin()); +} + +void PythonQtWrapper_QAbstractItemView::closePersistentEditor(QAbstractItemView* theWrappedObject, const QModelIndex& index) +{ + ( theWrappedObject->closePersistentEditor(index)); +} + +QModelIndex PythonQtWrapper_QAbstractItemView::currentIndex(QAbstractItemView* theWrappedObject) const +{ + return ( theWrappedObject->currentIndex()); +} + +Qt::DropAction PythonQtWrapper_QAbstractItemView::defaultDropAction(QAbstractItemView* theWrappedObject) const +{ + return ( theWrappedObject->defaultDropAction()); +} + +QAbstractItemView::DragDropMode PythonQtWrapper_QAbstractItemView::dragDropMode(QAbstractItemView* theWrappedObject) const +{ + return ( theWrappedObject->dragDropMode()); +} + +bool PythonQtWrapper_QAbstractItemView::dragDropOverwriteMode(QAbstractItemView* theWrappedObject) const +{ + return ( theWrappedObject->dragDropOverwriteMode()); +} + +bool PythonQtWrapper_QAbstractItemView::dragEnabled(QAbstractItemView* theWrappedObject) const +{ + return ( theWrappedObject->dragEnabled()); +} + +void PythonQtWrapper_QAbstractItemView::dragEnterEvent(QAbstractItemView* theWrappedObject, QDragEnterEvent* event) +{ + ( ((PythonQtPublicPromoter_QAbstractItemView*)theWrappedObject)->promoted_dragEnterEvent(event)); +} + +void PythonQtWrapper_QAbstractItemView::dragLeaveEvent(QAbstractItemView* theWrappedObject, QDragLeaveEvent* event) +{ + ( ((PythonQtPublicPromoter_QAbstractItemView*)theWrappedObject)->promoted_dragLeaveEvent(event)); +} + +void PythonQtWrapper_QAbstractItemView::dragMoveEvent(QAbstractItemView* theWrappedObject, QDragMoveEvent* event) +{ + ( ((PythonQtPublicPromoter_QAbstractItemView*)theWrappedObject)->promoted_dragMoveEvent(event)); +} + +void PythonQtWrapper_QAbstractItemView::dropEvent(QAbstractItemView* theWrappedObject, QDropEvent* event) +{ + ( ((PythonQtPublicPromoter_QAbstractItemView*)theWrappedObject)->promoted_dropEvent(event)); +} + +bool PythonQtWrapper_QAbstractItemView::edit(QAbstractItemView* theWrappedObject, const QModelIndex& index, QAbstractItemView::EditTrigger trigger, QEvent* event) +{ + return ( ((PythonQtPublicPromoter_QAbstractItemView*)theWrappedObject)->promoted_edit(index, trigger, event)); +} + +QAbstractItemView::EditTriggers PythonQtWrapper_QAbstractItemView::editTriggers(QAbstractItemView* theWrappedObject) const +{ + return ( theWrappedObject->editTriggers()); +} + +bool PythonQtWrapper_QAbstractItemView::event(QAbstractItemView* theWrappedObject, QEvent* event) +{ + return ( ((PythonQtPublicPromoter_QAbstractItemView*)theWrappedObject)->promoted_event(event)); +} + +void PythonQtWrapper_QAbstractItemView::focusInEvent(QAbstractItemView* theWrappedObject, QFocusEvent* event) +{ + ( ((PythonQtPublicPromoter_QAbstractItemView*)theWrappedObject)->promoted_focusInEvent(event)); +} + +bool PythonQtWrapper_QAbstractItemView::focusNextPrevChild(QAbstractItemView* theWrappedObject, bool next) +{ + return ( ((PythonQtPublicPromoter_QAbstractItemView*)theWrappedObject)->promoted_focusNextPrevChild(next)); +} + +void PythonQtWrapper_QAbstractItemView::focusOutEvent(QAbstractItemView* theWrappedObject, QFocusEvent* event) +{ + ( ((PythonQtPublicPromoter_QAbstractItemView*)theWrappedObject)->promoted_focusOutEvent(event)); +} + +bool PythonQtWrapper_QAbstractItemView::hasAutoScroll(QAbstractItemView* theWrappedObject) const +{ + return ( theWrappedObject->hasAutoScroll()); +} + +QAbstractItemView::ScrollMode PythonQtWrapper_QAbstractItemView::horizontalScrollMode(QAbstractItemView* theWrappedObject) const +{ + return ( theWrappedObject->horizontalScrollMode()); +} + +QSize PythonQtWrapper_QAbstractItemView::iconSize(QAbstractItemView* theWrappedObject) const +{ + return ( theWrappedObject->iconSize()); +} + +QWidget* PythonQtWrapper_QAbstractItemView::indexWidget(QAbstractItemView* theWrappedObject, const QModelIndex& index) const +{ + return ( theWrappedObject->indexWidget(index)); +} + +void PythonQtWrapper_QAbstractItemView::inputMethodEvent(QAbstractItemView* theWrappedObject, QInputMethodEvent* event) +{ + ( ((PythonQtPublicPromoter_QAbstractItemView*)theWrappedObject)->promoted_inputMethodEvent(event)); +} + +QVariant PythonQtWrapper_QAbstractItemView::inputMethodQuery(QAbstractItemView* theWrappedObject, Qt::InputMethodQuery query) const +{ + return ( ((PythonQtPublicPromoter_QAbstractItemView*)theWrappedObject)->promoted_inputMethodQuery(query)); +} + +QAbstractItemDelegate* PythonQtWrapper_QAbstractItemView::itemDelegate(QAbstractItemView* theWrappedObject) const +{ + return ( theWrappedObject->itemDelegate()); +} + +QAbstractItemDelegate* PythonQtWrapper_QAbstractItemView::itemDelegate(QAbstractItemView* theWrappedObject, const QModelIndex& index) const +{ + return ( theWrappedObject->itemDelegate(index)); +} + +QAbstractItemDelegate* PythonQtWrapper_QAbstractItemView::itemDelegateForColumn(QAbstractItemView* theWrappedObject, int column) const +{ + return ( theWrappedObject->itemDelegateForColumn(column)); +} + +QAbstractItemDelegate* PythonQtWrapper_QAbstractItemView::itemDelegateForRow(QAbstractItemView* theWrappedObject, int row) const +{ + return ( theWrappedObject->itemDelegateForRow(row)); +} + +void PythonQtWrapper_QAbstractItemView::keyPressEvent(QAbstractItemView* theWrappedObject, QKeyEvent* event) +{ + ( ((PythonQtPublicPromoter_QAbstractItemView*)theWrappedObject)->promoted_keyPressEvent(event)); +} + +void PythonQtWrapper_QAbstractItemView::keyboardSearch(QAbstractItemView* theWrappedObject, const QString& search) +{ + ( ((PythonQtPublicPromoter_QAbstractItemView*)theWrappedObject)->promoted_keyboardSearch(search)); +} + +QAbstractItemModel* PythonQtWrapper_QAbstractItemView::model(QAbstractItemView* theWrappedObject) const +{ + return ( theWrappedObject->model()); +} + +void PythonQtWrapper_QAbstractItemView::mouseDoubleClickEvent(QAbstractItemView* theWrappedObject, QMouseEvent* event) +{ + ( ((PythonQtPublicPromoter_QAbstractItemView*)theWrappedObject)->promoted_mouseDoubleClickEvent(event)); +} + +void PythonQtWrapper_QAbstractItemView::mouseMoveEvent(QAbstractItemView* theWrappedObject, QMouseEvent* event) +{ + ( ((PythonQtPublicPromoter_QAbstractItemView*)theWrappedObject)->promoted_mouseMoveEvent(event)); +} + +void PythonQtWrapper_QAbstractItemView::mousePressEvent(QAbstractItemView* theWrappedObject, QMouseEvent* event) +{ + ( ((PythonQtPublicPromoter_QAbstractItemView*)theWrappedObject)->promoted_mousePressEvent(event)); +} + +void PythonQtWrapper_QAbstractItemView::mouseReleaseEvent(QAbstractItemView* theWrappedObject, QMouseEvent* event) +{ + ( ((PythonQtPublicPromoter_QAbstractItemView*)theWrappedObject)->promoted_mouseReleaseEvent(event)); +} + +void PythonQtWrapper_QAbstractItemView::openPersistentEditor(QAbstractItemView* theWrappedObject, const QModelIndex& index) +{ + ( theWrappedObject->openPersistentEditor(index)); +} + +void PythonQtWrapper_QAbstractItemView::resizeEvent(QAbstractItemView* theWrappedObject, QResizeEvent* event) +{ + ( ((PythonQtPublicPromoter_QAbstractItemView*)theWrappedObject)->promoted_resizeEvent(event)); +} + +QModelIndex PythonQtWrapper_QAbstractItemView::rootIndex(QAbstractItemView* theWrappedObject) const +{ + return ( theWrappedObject->rootIndex()); +} + +QList PythonQtWrapper_QAbstractItemView::selectedIndexes(QAbstractItemView* theWrappedObject) const +{ + return ( ((PythonQtPublicPromoter_QAbstractItemView*)theWrappedObject)->promoted_selectedIndexes()); +} + +QAbstractItemView::SelectionBehavior PythonQtWrapper_QAbstractItemView::selectionBehavior(QAbstractItemView* theWrappedObject) const +{ + return ( theWrappedObject->selectionBehavior()); +} + +QItemSelectionModel::SelectionFlags PythonQtWrapper_QAbstractItemView::selectionCommand(QAbstractItemView* theWrappedObject, const QModelIndex& index, const QEvent* event) const +{ + return ( ((PythonQtPublicPromoter_QAbstractItemView*)theWrappedObject)->promoted_selectionCommand(index, event)); +} + +QAbstractItemView::SelectionMode PythonQtWrapper_QAbstractItemView::selectionMode(QAbstractItemView* theWrappedObject) const +{ + return ( theWrappedObject->selectionMode()); +} + +QItemSelectionModel* PythonQtWrapper_QAbstractItemView::selectionModel(QAbstractItemView* theWrappedObject) const +{ + return ( theWrappedObject->selectionModel()); +} + +void PythonQtWrapper_QAbstractItemView::setAlternatingRowColors(QAbstractItemView* theWrappedObject, bool enable) +{ + ( theWrappedObject->setAlternatingRowColors(enable)); +} + +void PythonQtWrapper_QAbstractItemView::setAutoScroll(QAbstractItemView* theWrappedObject, bool enable) +{ + ( theWrappedObject->setAutoScroll(enable)); +} + +void PythonQtWrapper_QAbstractItemView::setAutoScrollMargin(QAbstractItemView* theWrappedObject, int margin) +{ + ( theWrappedObject->setAutoScrollMargin(margin)); +} + +void PythonQtWrapper_QAbstractItemView::setDefaultDropAction(QAbstractItemView* theWrappedObject, Qt::DropAction dropAction) +{ + ( theWrappedObject->setDefaultDropAction(dropAction)); +} + +void PythonQtWrapper_QAbstractItemView::setDragDropMode(QAbstractItemView* theWrappedObject, QAbstractItemView::DragDropMode behavior) +{ + ( theWrappedObject->setDragDropMode(behavior)); +} + +void PythonQtWrapper_QAbstractItemView::setDragDropOverwriteMode(QAbstractItemView* theWrappedObject, bool overwrite) +{ + ( theWrappedObject->setDragDropOverwriteMode(overwrite)); +} + +void PythonQtWrapper_QAbstractItemView::setDragEnabled(QAbstractItemView* theWrappedObject, bool enable) +{ + ( theWrappedObject->setDragEnabled(enable)); +} + +void PythonQtWrapper_QAbstractItemView::setDropIndicatorShown(QAbstractItemView* theWrappedObject, bool enable) +{ + ( theWrappedObject->setDropIndicatorShown(enable)); +} + +void PythonQtWrapper_QAbstractItemView::setEditTriggers(QAbstractItemView* theWrappedObject, QAbstractItemView::EditTriggers triggers) +{ + ( theWrappedObject->setEditTriggers(triggers)); +} + +void PythonQtWrapper_QAbstractItemView::setHorizontalScrollMode(QAbstractItemView* theWrappedObject, QAbstractItemView::ScrollMode mode) +{ + ( theWrappedObject->setHorizontalScrollMode(mode)); +} + +void PythonQtWrapper_QAbstractItemView::setIconSize(QAbstractItemView* theWrappedObject, const QSize& size) +{ + ( theWrappedObject->setIconSize(size)); +} + +void PythonQtWrapper_QAbstractItemView::setIndexWidget(QAbstractItemView* theWrappedObject, const QModelIndex& index, QWidget* widget) +{ + ( theWrappedObject->setIndexWidget(index, widget)); +} + +void PythonQtWrapper_QAbstractItemView::setItemDelegate(QAbstractItemView* theWrappedObject, QAbstractItemDelegate* delegate) +{ + ( theWrappedObject->setItemDelegate(delegate)); +} + +void PythonQtWrapper_QAbstractItemView::setItemDelegateForColumn(QAbstractItemView* theWrappedObject, int column, QAbstractItemDelegate* delegate) +{ + ( theWrappedObject->setItemDelegateForColumn(column, delegate)); +} + +void PythonQtWrapper_QAbstractItemView::setItemDelegateForRow(QAbstractItemView* theWrappedObject, int row, QAbstractItemDelegate* delegate) +{ + ( theWrappedObject->setItemDelegateForRow(row, delegate)); +} + +void PythonQtWrapper_QAbstractItemView::setModel(QAbstractItemView* theWrappedObject, QAbstractItemModel* model) +{ + ( ((PythonQtPublicPromoter_QAbstractItemView*)theWrappedObject)->promoted_setModel(model)); +} + +void PythonQtWrapper_QAbstractItemView::setSelectionBehavior(QAbstractItemView* theWrappedObject, QAbstractItemView::SelectionBehavior behavior) +{ + ( theWrappedObject->setSelectionBehavior(behavior)); +} + +void PythonQtWrapper_QAbstractItemView::setSelectionMode(QAbstractItemView* theWrappedObject, QAbstractItemView::SelectionMode mode) +{ + ( theWrappedObject->setSelectionMode(mode)); +} + +void PythonQtWrapper_QAbstractItemView::setSelectionModel(QAbstractItemView* theWrappedObject, QItemSelectionModel* selectionModel) +{ + ( ((PythonQtPublicPromoter_QAbstractItemView*)theWrappedObject)->promoted_setSelectionModel(selectionModel)); +} + +void PythonQtWrapper_QAbstractItemView::setTabKeyNavigation(QAbstractItemView* theWrappedObject, bool enable) +{ + ( theWrappedObject->setTabKeyNavigation(enable)); +} + +void PythonQtWrapper_QAbstractItemView::setTextElideMode(QAbstractItemView* theWrappedObject, Qt::TextElideMode mode) +{ + ( theWrappedObject->setTextElideMode(mode)); +} + +void PythonQtWrapper_QAbstractItemView::setVerticalScrollMode(QAbstractItemView* theWrappedObject, QAbstractItemView::ScrollMode mode) +{ + ( theWrappedObject->setVerticalScrollMode(mode)); +} + +bool PythonQtWrapper_QAbstractItemView::showDropIndicator(QAbstractItemView* theWrappedObject) const +{ + return ( theWrappedObject->showDropIndicator()); +} + +int PythonQtWrapper_QAbstractItemView::sizeHintForColumn(QAbstractItemView* theWrappedObject, int column) const +{ + return ( ((PythonQtPublicPromoter_QAbstractItemView*)theWrappedObject)->promoted_sizeHintForColumn(column)); +} + +QSize PythonQtWrapper_QAbstractItemView::sizeHintForIndex(QAbstractItemView* theWrappedObject, const QModelIndex& index) const +{ + return ( theWrappedObject->sizeHintForIndex(index)); +} + +int PythonQtWrapper_QAbstractItemView::sizeHintForRow(QAbstractItemView* theWrappedObject, int row) const +{ + return ( ((PythonQtPublicPromoter_QAbstractItemView*)theWrappedObject)->promoted_sizeHintForRow(row)); +} + +void PythonQtWrapper_QAbstractItemView::startDrag(QAbstractItemView* theWrappedObject, Qt::DropActions supportedActions) +{ + ( ((PythonQtPublicPromoter_QAbstractItemView*)theWrappedObject)->promoted_startDrag(supportedActions)); +} + +bool PythonQtWrapper_QAbstractItemView::tabKeyNavigation(QAbstractItemView* theWrappedObject) const +{ + return ( theWrappedObject->tabKeyNavigation()); +} + +Qt::TextElideMode PythonQtWrapper_QAbstractItemView::textElideMode(QAbstractItemView* theWrappedObject) const +{ + return ( theWrappedObject->textElideMode()); +} + +void PythonQtWrapper_QAbstractItemView::timerEvent(QAbstractItemView* theWrappedObject, QTimerEvent* event) +{ + ( ((PythonQtPublicPromoter_QAbstractItemView*)theWrappedObject)->promoted_timerEvent(event)); +} + +QAbstractItemView::ScrollMode PythonQtWrapper_QAbstractItemView::verticalScrollMode(QAbstractItemView* theWrappedObject) const +{ + return ( theWrappedObject->verticalScrollMode()); +} + +QStyleOptionViewItem PythonQtWrapper_QAbstractItemView::viewOptions(QAbstractItemView* theWrappedObject) const +{ + return ( ((PythonQtPublicPromoter_QAbstractItemView*)theWrappedObject)->promoted_viewOptions()); +} + +bool PythonQtWrapper_QAbstractItemView::viewportEvent(QAbstractItemView* theWrappedObject, QEvent* event) +{ + return ( ((PythonQtPublicPromoter_QAbstractItemView*)theWrappedObject)->promoted_viewportEvent(event)); +} + + + +void PythonQtShell_QAbstractPageSetupDialog::accept() +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "accept"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={""}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QAbstractPageSetupDialog::accept(); +} +void PythonQtShell_QAbstractPageSetupDialog::actionEvent(QActionEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "actionEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QActionEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QAbstractPageSetupDialog::actionEvent(arg__1); +} +void PythonQtShell_QAbstractPageSetupDialog::changeEvent(QEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "changeEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QAbstractPageSetupDialog::changeEvent(arg__1); +} +void PythonQtShell_QAbstractPageSetupDialog::childEvent(QChildEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "childEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QChildEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QAbstractPageSetupDialog::childEvent(arg__1); +} +void PythonQtShell_QAbstractPageSetupDialog::closeEvent(QCloseEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "closeEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QCloseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QAbstractPageSetupDialog::closeEvent(arg__1); +} +void PythonQtShell_QAbstractPageSetupDialog::contextMenuEvent(QContextMenuEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "contextMenuEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QContextMenuEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QAbstractPageSetupDialog::contextMenuEvent(arg__1); +} +void PythonQtShell_QAbstractPageSetupDialog::customEvent(QEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "customEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QAbstractPageSetupDialog::customEvent(arg__1); +} +int PythonQtShell_QAbstractPageSetupDialog::devType() const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "devType"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + int returnValue; + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("devType", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QAbstractPageSetupDialog::devType(); +} +void PythonQtShell_QAbstractPageSetupDialog::done(int result) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "done"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&result}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QAbstractPageSetupDialog::done(result); +} +void PythonQtShell_QAbstractPageSetupDialog::dragEnterEvent(QDragEnterEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dragEnterEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QDragEnterEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QAbstractPageSetupDialog::dragEnterEvent(arg__1); +} +void PythonQtShell_QAbstractPageSetupDialog::dragLeaveEvent(QDragLeaveEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dragLeaveEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QDragLeaveEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QAbstractPageSetupDialog::dragLeaveEvent(arg__1); +} +void PythonQtShell_QAbstractPageSetupDialog::dragMoveEvent(QDragMoveEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dragMoveEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QDragMoveEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QAbstractPageSetupDialog::dragMoveEvent(arg__1); +} +void PythonQtShell_QAbstractPageSetupDialog::dropEvent(QDropEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dropEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QDropEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QAbstractPageSetupDialog::dropEvent(arg__1); +} +void PythonQtShell_QAbstractPageSetupDialog::enterEvent(QEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "enterEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QAbstractPageSetupDialog::enterEvent(arg__1); +} +bool PythonQtShell_QAbstractPageSetupDialog::event(QEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "event"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue; + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QAbstractPageSetupDialog::event(arg__1); +} +bool PythonQtShell_QAbstractPageSetupDialog::eventFilter(QObject* arg__1, QEvent* arg__2) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "eventFilter"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue; + void* args[3] = {NULL, (void*)&arg__1, (void*)&arg__2}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QAbstractPageSetupDialog::eventFilter(arg__1, arg__2); +} +int PythonQtShell_QAbstractPageSetupDialog::exec() +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "exec"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + int returnValue; + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("exec", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return int(); +} +void PythonQtShell_QAbstractPageSetupDialog::focusInEvent(QFocusEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "focusInEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QFocusEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QAbstractPageSetupDialog::focusInEvent(arg__1); +} +bool PythonQtShell_QAbstractPageSetupDialog::focusNextPrevChild(bool next) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "focusNextPrevChild"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue; + void* args[2] = {NULL, (void*)&next}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("focusNextPrevChild", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QAbstractPageSetupDialog::focusNextPrevChild(next); +} +void PythonQtShell_QAbstractPageSetupDialog::focusOutEvent(QFocusEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "focusOutEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QFocusEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QAbstractPageSetupDialog::focusOutEvent(arg__1); +} +int PythonQtShell_QAbstractPageSetupDialog::heightForWidth(int arg__1) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "heightForWidth"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"int" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + int returnValue; + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("heightForWidth", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QAbstractPageSetupDialog::heightForWidth(arg__1); +} +void PythonQtShell_QAbstractPageSetupDialog::hideEvent(QHideEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "hideEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QHideEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QAbstractPageSetupDialog::hideEvent(arg__1); +} +void PythonQtShell_QAbstractPageSetupDialog::inputMethodEvent(QInputMethodEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "inputMethodEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QInputMethodEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QAbstractPageSetupDialog::inputMethodEvent(arg__1); +} +QVariant PythonQtShell_QAbstractPageSetupDialog::inputMethodQuery(Qt::InputMethodQuery arg__1) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "inputMethodQuery"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QVariant" , "Qt::InputMethodQuery"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + QVariant returnValue; + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result); + } else { + returnValue = *((QVariant*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QAbstractPageSetupDialog::inputMethodQuery(arg__1); +} +void PythonQtShell_QAbstractPageSetupDialog::keyPressEvent(QKeyEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "keyPressEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QKeyEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QAbstractPageSetupDialog::keyPressEvent(arg__1); +} +void PythonQtShell_QAbstractPageSetupDialog::keyReleaseEvent(QKeyEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "keyReleaseEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QKeyEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QAbstractPageSetupDialog::keyReleaseEvent(arg__1); +} +void PythonQtShell_QAbstractPageSetupDialog::languageChange() +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "languageChange"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={""}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QAbstractPageSetupDialog::languageChange(); +} +void PythonQtShell_QAbstractPageSetupDialog::leaveEvent(QEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "leaveEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QAbstractPageSetupDialog::leaveEvent(arg__1); +} +int PythonQtShell_QAbstractPageSetupDialog::metric(QPaintDevice::PaintDeviceMetric arg__1) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "metric"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + int returnValue; + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("metric", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QAbstractPageSetupDialog::metric(arg__1); +} +void PythonQtShell_QAbstractPageSetupDialog::mouseDoubleClickEvent(QMouseEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mouseDoubleClickEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QAbstractPageSetupDialog::mouseDoubleClickEvent(arg__1); +} +void PythonQtShell_QAbstractPageSetupDialog::mouseMoveEvent(QMouseEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mouseMoveEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QAbstractPageSetupDialog::mouseMoveEvent(arg__1); +} +void PythonQtShell_QAbstractPageSetupDialog::mousePressEvent(QMouseEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mousePressEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QAbstractPageSetupDialog::mousePressEvent(arg__1); +} +void PythonQtShell_QAbstractPageSetupDialog::mouseReleaseEvent(QMouseEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mouseReleaseEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QAbstractPageSetupDialog::mouseReleaseEvent(arg__1); +} +void PythonQtShell_QAbstractPageSetupDialog::moveEvent(QMoveEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "moveEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QMoveEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QAbstractPageSetupDialog::moveEvent(arg__1); +} +QPaintEngine* PythonQtShell_QAbstractPageSetupDialog::paintEngine() const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "paintEngine"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QPaintEngine*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QPaintEngine* returnValue; + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); + } else { + returnValue = *((QPaintEngine**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QAbstractPageSetupDialog::paintEngine(); +} +void PythonQtShell_QAbstractPageSetupDialog::paintEvent(QPaintEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "paintEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QPaintEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QAbstractPageSetupDialog::paintEvent(arg__1); +} +void PythonQtShell_QAbstractPageSetupDialog::reject() +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "reject"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={""}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QAbstractPageSetupDialog::reject(); +} +void PythonQtShell_QAbstractPageSetupDialog::resizeEvent(QResizeEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "resizeEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QResizeEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QAbstractPageSetupDialog::resizeEvent(arg__1); +} +void PythonQtShell_QAbstractPageSetupDialog::showEvent(QShowEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "showEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QShowEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QAbstractPageSetupDialog::showEvent(arg__1); +} +void PythonQtShell_QAbstractPageSetupDialog::tabletEvent(QTabletEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "tabletEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QTabletEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QAbstractPageSetupDialog::tabletEvent(arg__1); +} +void PythonQtShell_QAbstractPageSetupDialog::timerEvent(QTimerEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "timerEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QTimerEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QAbstractPageSetupDialog::timerEvent(arg__1); +} +void PythonQtShell_QAbstractPageSetupDialog::wheelEvent(QWheelEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "wheelEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QWheelEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QAbstractPageSetupDialog::wheelEvent(arg__1); +} +QAbstractPageSetupDialog* PythonQtWrapper_QAbstractPageSetupDialog::new_QAbstractPageSetupDialog(QPrinter* printer, QWidget* parent) +{ +return new PythonQtShell_QAbstractPageSetupDialog(printer, parent); } + +void PythonQtWrapper_QAbstractPageSetupDialog::done(QAbstractPageSetupDialog* theWrappedObject, int result) +{ + ( ((PythonQtPublicPromoter_QAbstractPageSetupDialog*)theWrappedObject)->promoted_done(result)); +} + +QPrinter* PythonQtWrapper_QAbstractPageSetupDialog::printer(QAbstractPageSetupDialog* theWrappedObject) +{ + return ( theWrappedObject->printer()); +} + + + +void PythonQtShell_QAbstractPrintDialog::accept() +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "accept"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={""}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QAbstractPrintDialog::accept(); +} +void PythonQtShell_QAbstractPrintDialog::actionEvent(QActionEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "actionEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QActionEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QAbstractPrintDialog::actionEvent(arg__1); +} +void PythonQtShell_QAbstractPrintDialog::changeEvent(QEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "changeEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QAbstractPrintDialog::changeEvent(arg__1); +} +void PythonQtShell_QAbstractPrintDialog::childEvent(QChildEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "childEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QChildEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QAbstractPrintDialog::childEvent(arg__1); +} +void PythonQtShell_QAbstractPrintDialog::closeEvent(QCloseEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "closeEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QCloseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QAbstractPrintDialog::closeEvent(arg__1); +} +void PythonQtShell_QAbstractPrintDialog::contextMenuEvent(QContextMenuEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "contextMenuEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QContextMenuEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QAbstractPrintDialog::contextMenuEvent(arg__1); +} +void PythonQtShell_QAbstractPrintDialog::customEvent(QEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "customEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QAbstractPrintDialog::customEvent(arg__1); +} +int PythonQtShell_QAbstractPrintDialog::devType() const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "devType"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + int returnValue; + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("devType", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QAbstractPrintDialog::devType(); +} +void PythonQtShell_QAbstractPrintDialog::done(int arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "done"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QAbstractPrintDialog::done(arg__1); +} +void PythonQtShell_QAbstractPrintDialog::dragEnterEvent(QDragEnterEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dragEnterEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QDragEnterEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QAbstractPrintDialog::dragEnterEvent(arg__1); +} +void PythonQtShell_QAbstractPrintDialog::dragLeaveEvent(QDragLeaveEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dragLeaveEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QDragLeaveEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QAbstractPrintDialog::dragLeaveEvent(arg__1); +} +void PythonQtShell_QAbstractPrintDialog::dragMoveEvent(QDragMoveEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dragMoveEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QDragMoveEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QAbstractPrintDialog::dragMoveEvent(arg__1); +} +void PythonQtShell_QAbstractPrintDialog::dropEvent(QDropEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dropEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QDropEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QAbstractPrintDialog::dropEvent(arg__1); +} +void PythonQtShell_QAbstractPrintDialog::enterEvent(QEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "enterEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QAbstractPrintDialog::enterEvent(arg__1); +} +bool PythonQtShell_QAbstractPrintDialog::event(QEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "event"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue; + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QAbstractPrintDialog::event(arg__1); +} +bool PythonQtShell_QAbstractPrintDialog::eventFilter(QObject* arg__1, QEvent* arg__2) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "eventFilter"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue; + void* args[3] = {NULL, (void*)&arg__1, (void*)&arg__2}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QAbstractPrintDialog::eventFilter(arg__1, arg__2); +} +int PythonQtShell_QAbstractPrintDialog::exec() +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "exec"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + int returnValue; + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("exec", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return int(); +} +void PythonQtShell_QAbstractPrintDialog::focusInEvent(QFocusEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "focusInEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QFocusEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QAbstractPrintDialog::focusInEvent(arg__1); +} +bool PythonQtShell_QAbstractPrintDialog::focusNextPrevChild(bool next) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "focusNextPrevChild"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue; + void* args[2] = {NULL, (void*)&next}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("focusNextPrevChild", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QAbstractPrintDialog::focusNextPrevChild(next); +} +void PythonQtShell_QAbstractPrintDialog::focusOutEvent(QFocusEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "focusOutEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QFocusEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QAbstractPrintDialog::focusOutEvent(arg__1); +} +int PythonQtShell_QAbstractPrintDialog::heightForWidth(int arg__1) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "heightForWidth"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"int" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + int returnValue; + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("heightForWidth", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QAbstractPrintDialog::heightForWidth(arg__1); +} +void PythonQtShell_QAbstractPrintDialog::hideEvent(QHideEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "hideEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QHideEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QAbstractPrintDialog::hideEvent(arg__1); +} +void PythonQtShell_QAbstractPrintDialog::inputMethodEvent(QInputMethodEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "inputMethodEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QInputMethodEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QAbstractPrintDialog::inputMethodEvent(arg__1); +} +QVariant PythonQtShell_QAbstractPrintDialog::inputMethodQuery(Qt::InputMethodQuery arg__1) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "inputMethodQuery"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QVariant" , "Qt::InputMethodQuery"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + QVariant returnValue; + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result); + } else { + returnValue = *((QVariant*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QAbstractPrintDialog::inputMethodQuery(arg__1); +} +void PythonQtShell_QAbstractPrintDialog::keyPressEvent(QKeyEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "keyPressEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QKeyEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QAbstractPrintDialog::keyPressEvent(arg__1); +} +void PythonQtShell_QAbstractPrintDialog::keyReleaseEvent(QKeyEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "keyReleaseEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QKeyEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QAbstractPrintDialog::keyReleaseEvent(arg__1); +} +void PythonQtShell_QAbstractPrintDialog::languageChange() +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "languageChange"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={""}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QAbstractPrintDialog::languageChange(); +} +void PythonQtShell_QAbstractPrintDialog::leaveEvent(QEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "leaveEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QAbstractPrintDialog::leaveEvent(arg__1); +} +int PythonQtShell_QAbstractPrintDialog::metric(QPaintDevice::PaintDeviceMetric arg__1) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "metric"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + int returnValue; + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("metric", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QAbstractPrintDialog::metric(arg__1); +} +void PythonQtShell_QAbstractPrintDialog::mouseDoubleClickEvent(QMouseEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mouseDoubleClickEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QAbstractPrintDialog::mouseDoubleClickEvent(arg__1); +} +void PythonQtShell_QAbstractPrintDialog::mouseMoveEvent(QMouseEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mouseMoveEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QAbstractPrintDialog::mouseMoveEvent(arg__1); +} +void PythonQtShell_QAbstractPrintDialog::mousePressEvent(QMouseEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mousePressEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QAbstractPrintDialog::mousePressEvent(arg__1); +} +void PythonQtShell_QAbstractPrintDialog::mouseReleaseEvent(QMouseEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mouseReleaseEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QAbstractPrintDialog::mouseReleaseEvent(arg__1); +} +void PythonQtShell_QAbstractPrintDialog::moveEvent(QMoveEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "moveEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QMoveEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QAbstractPrintDialog::moveEvent(arg__1); +} +QPaintEngine* PythonQtShell_QAbstractPrintDialog::paintEngine() const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "paintEngine"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QPaintEngine*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QPaintEngine* returnValue; + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); + } else { + returnValue = *((QPaintEngine**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QAbstractPrintDialog::paintEngine(); +} +void PythonQtShell_QAbstractPrintDialog::paintEvent(QPaintEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "paintEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QPaintEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QAbstractPrintDialog::paintEvent(arg__1); +} +void PythonQtShell_QAbstractPrintDialog::reject() +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "reject"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={""}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QAbstractPrintDialog::reject(); +} +void PythonQtShell_QAbstractPrintDialog::resizeEvent(QResizeEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "resizeEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QResizeEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QAbstractPrintDialog::resizeEvent(arg__1); +} +void PythonQtShell_QAbstractPrintDialog::showEvent(QShowEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "showEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QShowEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QAbstractPrintDialog::showEvent(arg__1); +} +void PythonQtShell_QAbstractPrintDialog::tabletEvent(QTabletEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "tabletEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QTabletEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QAbstractPrintDialog::tabletEvent(arg__1); +} +void PythonQtShell_QAbstractPrintDialog::timerEvent(QTimerEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "timerEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QTimerEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QAbstractPrintDialog::timerEvent(arg__1); +} +void PythonQtShell_QAbstractPrintDialog::wheelEvent(QWheelEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "wheelEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QWheelEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QAbstractPrintDialog::wheelEvent(arg__1); +} +QAbstractPrintDialog* PythonQtWrapper_QAbstractPrintDialog::new_QAbstractPrintDialog(QPrinter* printer, QWidget* parent) +{ +return new PythonQtShell_QAbstractPrintDialog(printer, parent); } + +void PythonQtWrapper_QAbstractPrintDialog::addEnabledOption(QAbstractPrintDialog* theWrappedObject, QAbstractPrintDialog::PrintDialogOption option) +{ + ( theWrappedObject->addEnabledOption(option)); +} + +QAbstractPrintDialog::PrintDialogOptions PythonQtWrapper_QAbstractPrintDialog::enabledOptions(QAbstractPrintDialog* theWrappedObject) const +{ + return ( theWrappedObject->enabledOptions()); +} + +int PythonQtWrapper_QAbstractPrintDialog::fromPage(QAbstractPrintDialog* theWrappedObject) const +{ + return ( theWrappedObject->fromPage()); +} + +bool PythonQtWrapper_QAbstractPrintDialog::isOptionEnabled(QAbstractPrintDialog* theWrappedObject, QAbstractPrintDialog::PrintDialogOption option) const +{ + return ( theWrappedObject->isOptionEnabled(option)); +} + +int PythonQtWrapper_QAbstractPrintDialog::maxPage(QAbstractPrintDialog* theWrappedObject) const +{ + return ( theWrappedObject->maxPage()); +} + +int PythonQtWrapper_QAbstractPrintDialog::minPage(QAbstractPrintDialog* theWrappedObject) const +{ + return ( theWrappedObject->minPage()); +} + +QAbstractPrintDialog::PrintRange PythonQtWrapper_QAbstractPrintDialog::printRange(QAbstractPrintDialog* theWrappedObject) const +{ + return ( theWrappedObject->printRange()); +} + +QPrinter* PythonQtWrapper_QAbstractPrintDialog::printer(QAbstractPrintDialog* theWrappedObject) const +{ + return ( theWrappedObject->printer()); +} + +void PythonQtWrapper_QAbstractPrintDialog::setEnabledOptions(QAbstractPrintDialog* theWrappedObject, QAbstractPrintDialog::PrintDialogOptions options) +{ + ( theWrappedObject->setEnabledOptions(options)); +} + +void PythonQtWrapper_QAbstractPrintDialog::setFromTo(QAbstractPrintDialog* theWrappedObject, int fromPage, int toPage) +{ + ( theWrappedObject->setFromTo(fromPage, toPage)); +} + +void PythonQtWrapper_QAbstractPrintDialog::setMinMax(QAbstractPrintDialog* theWrappedObject, int min, int max) +{ + ( theWrappedObject->setMinMax(min, max)); +} + +void PythonQtWrapper_QAbstractPrintDialog::setOptionTabs(QAbstractPrintDialog* theWrappedObject, const QList& tabs) +{ + ( theWrappedObject->setOptionTabs(tabs)); +} + +void PythonQtWrapper_QAbstractPrintDialog::setPrintRange(QAbstractPrintDialog* theWrappedObject, QAbstractPrintDialog::PrintRange range) +{ + ( theWrappedObject->setPrintRange(range)); +} + +int PythonQtWrapper_QAbstractPrintDialog::toPage(QAbstractPrintDialog* theWrappedObject) const +{ + return ( theWrappedObject->toPage()); +} + + + +void PythonQtShell_QAbstractScrollArea::actionEvent(QActionEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "actionEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QActionEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QAbstractScrollArea::actionEvent(arg__1); +} +void PythonQtShell_QAbstractScrollArea::changeEvent(QEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "changeEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QAbstractScrollArea::changeEvent(arg__1); +} +void PythonQtShell_QAbstractScrollArea::childEvent(QChildEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "childEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QChildEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QAbstractScrollArea::childEvent(arg__1); +} +void PythonQtShell_QAbstractScrollArea::closeEvent(QCloseEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "closeEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QCloseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QAbstractScrollArea::closeEvent(arg__1); +} +void PythonQtShell_QAbstractScrollArea::contextMenuEvent(QContextMenuEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "contextMenuEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QContextMenuEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QAbstractScrollArea::contextMenuEvent(arg__1); +} +void PythonQtShell_QAbstractScrollArea::customEvent(QEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "customEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QAbstractScrollArea::customEvent(arg__1); +} +int PythonQtShell_QAbstractScrollArea::devType() const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "devType"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + int returnValue; + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("devType", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QAbstractScrollArea::devType(); +} +void PythonQtShell_QAbstractScrollArea::dragEnterEvent(QDragEnterEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dragEnterEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QDragEnterEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QAbstractScrollArea::dragEnterEvent(arg__1); +} +void PythonQtShell_QAbstractScrollArea::dragLeaveEvent(QDragLeaveEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dragLeaveEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QDragLeaveEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QAbstractScrollArea::dragLeaveEvent(arg__1); +} +void PythonQtShell_QAbstractScrollArea::dragMoveEvent(QDragMoveEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dragMoveEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QDragMoveEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QAbstractScrollArea::dragMoveEvent(arg__1); +} +void PythonQtShell_QAbstractScrollArea::dropEvent(QDropEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dropEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QDropEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QAbstractScrollArea::dropEvent(arg__1); +} +void PythonQtShell_QAbstractScrollArea::enterEvent(QEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "enterEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QAbstractScrollArea::enterEvent(arg__1); +} +bool PythonQtShell_QAbstractScrollArea::event(QEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "event"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue; + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QAbstractScrollArea::event(arg__1); +} +bool PythonQtShell_QAbstractScrollArea::eventFilter(QObject* arg__1, QEvent* arg__2) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "eventFilter"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue; + void* args[3] = {NULL, (void*)&arg__1, (void*)&arg__2}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QAbstractScrollArea::eventFilter(arg__1, arg__2); +} +void PythonQtShell_QAbstractScrollArea::focusInEvent(QFocusEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "focusInEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QFocusEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QAbstractScrollArea::focusInEvent(arg__1); +} +bool PythonQtShell_QAbstractScrollArea::focusNextPrevChild(bool next) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "focusNextPrevChild"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue; + void* args[2] = {NULL, (void*)&next}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("focusNextPrevChild", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QAbstractScrollArea::focusNextPrevChild(next); +} +void PythonQtShell_QAbstractScrollArea::focusOutEvent(QFocusEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "focusOutEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QFocusEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QAbstractScrollArea::focusOutEvent(arg__1); +} +int PythonQtShell_QAbstractScrollArea::heightForWidth(int arg__1) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "heightForWidth"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"int" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + int returnValue; + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("heightForWidth", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QAbstractScrollArea::heightForWidth(arg__1); +} +void PythonQtShell_QAbstractScrollArea::hideEvent(QHideEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "hideEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QHideEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QAbstractScrollArea::hideEvent(arg__1); +} +void PythonQtShell_QAbstractScrollArea::inputMethodEvent(QInputMethodEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "inputMethodEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QInputMethodEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QAbstractScrollArea::inputMethodEvent(arg__1); +} +QVariant PythonQtShell_QAbstractScrollArea::inputMethodQuery(Qt::InputMethodQuery arg__1) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "inputMethodQuery"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QVariant" , "Qt::InputMethodQuery"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + QVariant returnValue; + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result); + } else { + returnValue = *((QVariant*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QAbstractScrollArea::inputMethodQuery(arg__1); +} +void PythonQtShell_QAbstractScrollArea::keyPressEvent(QKeyEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "keyPressEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QKeyEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QAbstractScrollArea::keyPressEvent(arg__1); +} +void PythonQtShell_QAbstractScrollArea::keyReleaseEvent(QKeyEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "keyReleaseEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QKeyEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QAbstractScrollArea::keyReleaseEvent(arg__1); +} +void PythonQtShell_QAbstractScrollArea::languageChange() +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "languageChange"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={""}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QAbstractScrollArea::languageChange(); +} +void PythonQtShell_QAbstractScrollArea::leaveEvent(QEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "leaveEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QAbstractScrollArea::leaveEvent(arg__1); +} +int PythonQtShell_QAbstractScrollArea::metric(QPaintDevice::PaintDeviceMetric arg__1) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "metric"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + int returnValue; + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("metric", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QAbstractScrollArea::metric(arg__1); +} +void PythonQtShell_QAbstractScrollArea::mouseDoubleClickEvent(QMouseEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mouseDoubleClickEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QAbstractScrollArea::mouseDoubleClickEvent(arg__1); +} +void PythonQtShell_QAbstractScrollArea::mouseMoveEvent(QMouseEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mouseMoveEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QAbstractScrollArea::mouseMoveEvent(arg__1); +} +void PythonQtShell_QAbstractScrollArea::mousePressEvent(QMouseEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mousePressEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QAbstractScrollArea::mousePressEvent(arg__1); +} +void PythonQtShell_QAbstractScrollArea::mouseReleaseEvent(QMouseEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mouseReleaseEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QAbstractScrollArea::mouseReleaseEvent(arg__1); +} +void PythonQtShell_QAbstractScrollArea::moveEvent(QMoveEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "moveEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QMoveEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QAbstractScrollArea::moveEvent(arg__1); +} +QPaintEngine* PythonQtShell_QAbstractScrollArea::paintEngine() const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "paintEngine"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QPaintEngine*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QPaintEngine* returnValue; + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); + } else { + returnValue = *((QPaintEngine**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QAbstractScrollArea::paintEngine(); +} +void PythonQtShell_QAbstractScrollArea::paintEvent(QPaintEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "paintEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QPaintEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QAbstractScrollArea::paintEvent(arg__1); +} +void PythonQtShell_QAbstractScrollArea::resizeEvent(QResizeEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "resizeEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QResizeEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QAbstractScrollArea::resizeEvent(arg__1); +} +void PythonQtShell_QAbstractScrollArea::scrollContentsBy(int dx, int dy) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "scrollContentsBy"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "int" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + void* args[3] = {NULL, (void*)&dx, (void*)&dy}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QAbstractScrollArea::scrollContentsBy(dx, dy); +} +void PythonQtShell_QAbstractScrollArea::showEvent(QShowEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "showEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QShowEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QAbstractScrollArea::showEvent(arg__1); +} +void PythonQtShell_QAbstractScrollArea::tabletEvent(QTabletEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "tabletEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QTabletEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QAbstractScrollArea::tabletEvent(arg__1); +} +void PythonQtShell_QAbstractScrollArea::timerEvent(QTimerEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "timerEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QTimerEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QAbstractScrollArea::timerEvent(arg__1); +} +bool PythonQtShell_QAbstractScrollArea::viewportEvent(QEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "viewportEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue; + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("viewportEvent", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QAbstractScrollArea::viewportEvent(arg__1); +} +void PythonQtShell_QAbstractScrollArea::wheelEvent(QWheelEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "wheelEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QWheelEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QAbstractScrollArea::wheelEvent(arg__1); +} +QAbstractScrollArea* PythonQtWrapper_QAbstractScrollArea::new_QAbstractScrollArea(QWidget* parent) +{ +return new PythonQtShell_QAbstractScrollArea(parent); } + +void PythonQtWrapper_QAbstractScrollArea::addScrollBarWidget(QAbstractScrollArea* theWrappedObject, QWidget* widget, Qt::Alignment alignment) +{ + ( theWrappedObject->addScrollBarWidget(widget, alignment)); +} + +void PythonQtWrapper_QAbstractScrollArea::contextMenuEvent(QAbstractScrollArea* theWrappedObject, QContextMenuEvent* arg__1) +{ + ( ((PythonQtPublicPromoter_QAbstractScrollArea*)theWrappedObject)->promoted_contextMenuEvent(arg__1)); +} + +QWidget* PythonQtWrapper_QAbstractScrollArea::cornerWidget(QAbstractScrollArea* theWrappedObject) const +{ + return ( theWrappedObject->cornerWidget()); +} + +void PythonQtWrapper_QAbstractScrollArea::dragEnterEvent(QAbstractScrollArea* theWrappedObject, QDragEnterEvent* arg__1) +{ + ( ((PythonQtPublicPromoter_QAbstractScrollArea*)theWrappedObject)->promoted_dragEnterEvent(arg__1)); +} + +void PythonQtWrapper_QAbstractScrollArea::dragLeaveEvent(QAbstractScrollArea* theWrappedObject, QDragLeaveEvent* arg__1) +{ + ( ((PythonQtPublicPromoter_QAbstractScrollArea*)theWrappedObject)->promoted_dragLeaveEvent(arg__1)); +} + +void PythonQtWrapper_QAbstractScrollArea::dragMoveEvent(QAbstractScrollArea* theWrappedObject, QDragMoveEvent* arg__1) +{ + ( ((PythonQtPublicPromoter_QAbstractScrollArea*)theWrappedObject)->promoted_dragMoveEvent(arg__1)); +} + +void PythonQtWrapper_QAbstractScrollArea::dropEvent(QAbstractScrollArea* theWrappedObject, QDropEvent* arg__1) +{ + ( ((PythonQtPublicPromoter_QAbstractScrollArea*)theWrappedObject)->promoted_dropEvent(arg__1)); +} + +bool PythonQtWrapper_QAbstractScrollArea::event(QAbstractScrollArea* theWrappedObject, QEvent* arg__1) +{ + return ( ((PythonQtPublicPromoter_QAbstractScrollArea*)theWrappedObject)->promoted_event(arg__1)); +} + +QScrollBar* PythonQtWrapper_QAbstractScrollArea::horizontalScrollBar(QAbstractScrollArea* theWrappedObject) const +{ + return ( theWrappedObject->horizontalScrollBar()); +} + +Qt::ScrollBarPolicy PythonQtWrapper_QAbstractScrollArea::horizontalScrollBarPolicy(QAbstractScrollArea* theWrappedObject) const +{ + return ( theWrappedObject->horizontalScrollBarPolicy()); +} + +void PythonQtWrapper_QAbstractScrollArea::keyPressEvent(QAbstractScrollArea* theWrappedObject, QKeyEvent* arg__1) +{ + ( ((PythonQtPublicPromoter_QAbstractScrollArea*)theWrappedObject)->promoted_keyPressEvent(arg__1)); +} + +QSize PythonQtWrapper_QAbstractScrollArea::maximumViewportSize(QAbstractScrollArea* theWrappedObject) const +{ + return ( theWrappedObject->maximumViewportSize()); +} + +QSize PythonQtWrapper_QAbstractScrollArea::minimumSizeHint(QAbstractScrollArea* theWrappedObject) const +{ + return ( theWrappedObject->minimumSizeHint()); +} + +void PythonQtWrapper_QAbstractScrollArea::mouseDoubleClickEvent(QAbstractScrollArea* theWrappedObject, QMouseEvent* arg__1) +{ + ( ((PythonQtPublicPromoter_QAbstractScrollArea*)theWrappedObject)->promoted_mouseDoubleClickEvent(arg__1)); +} + +void PythonQtWrapper_QAbstractScrollArea::mouseMoveEvent(QAbstractScrollArea* theWrappedObject, QMouseEvent* arg__1) +{ + ( ((PythonQtPublicPromoter_QAbstractScrollArea*)theWrappedObject)->promoted_mouseMoveEvent(arg__1)); +} + +void PythonQtWrapper_QAbstractScrollArea::mousePressEvent(QAbstractScrollArea* theWrappedObject, QMouseEvent* arg__1) +{ + ( ((PythonQtPublicPromoter_QAbstractScrollArea*)theWrappedObject)->promoted_mousePressEvent(arg__1)); +} + +void PythonQtWrapper_QAbstractScrollArea::mouseReleaseEvent(QAbstractScrollArea* theWrappedObject, QMouseEvent* arg__1) +{ + ( ((PythonQtPublicPromoter_QAbstractScrollArea*)theWrappedObject)->promoted_mouseReleaseEvent(arg__1)); +} + +void PythonQtWrapper_QAbstractScrollArea::paintEvent(QAbstractScrollArea* theWrappedObject, QPaintEvent* arg__1) +{ + ( ((PythonQtPublicPromoter_QAbstractScrollArea*)theWrappedObject)->promoted_paintEvent(arg__1)); +} + +void PythonQtWrapper_QAbstractScrollArea::resizeEvent(QAbstractScrollArea* theWrappedObject, QResizeEvent* arg__1) +{ + ( ((PythonQtPublicPromoter_QAbstractScrollArea*)theWrappedObject)->promoted_resizeEvent(arg__1)); +} + +QList PythonQtWrapper_QAbstractScrollArea::scrollBarWidgets(QAbstractScrollArea* theWrappedObject, Qt::Alignment alignment) +{ + return ( theWrappedObject->scrollBarWidgets(alignment)); +} + +void PythonQtWrapper_QAbstractScrollArea::scrollContentsBy(QAbstractScrollArea* theWrappedObject, int dx, int dy) +{ + ( ((PythonQtPublicPromoter_QAbstractScrollArea*)theWrappedObject)->promoted_scrollContentsBy(dx, dy)); +} + +void PythonQtWrapper_QAbstractScrollArea::setCornerWidget(QAbstractScrollArea* theWrappedObject, QWidget* widget) +{ + ( theWrappedObject->setCornerWidget(widget)); +} + +void PythonQtWrapper_QAbstractScrollArea::setHorizontalScrollBar(QAbstractScrollArea* theWrappedObject, QScrollBar* scrollbar) +{ + ( theWrappedObject->setHorizontalScrollBar(scrollbar)); +} + +void PythonQtWrapper_QAbstractScrollArea::setHorizontalScrollBarPolicy(QAbstractScrollArea* theWrappedObject, Qt::ScrollBarPolicy arg__1) +{ + ( theWrappedObject->setHorizontalScrollBarPolicy(arg__1)); +} + +void PythonQtWrapper_QAbstractScrollArea::setVerticalScrollBar(QAbstractScrollArea* theWrappedObject, QScrollBar* scrollbar) +{ + ( theWrappedObject->setVerticalScrollBar(scrollbar)); +} + +void PythonQtWrapper_QAbstractScrollArea::setVerticalScrollBarPolicy(QAbstractScrollArea* theWrappedObject, Qt::ScrollBarPolicy arg__1) +{ + ( theWrappedObject->setVerticalScrollBarPolicy(arg__1)); +} + +void PythonQtWrapper_QAbstractScrollArea::setViewport(QAbstractScrollArea* theWrappedObject, QWidget* widget) +{ + ( theWrappedObject->setViewport(widget)); +} + +QSize PythonQtWrapper_QAbstractScrollArea::sizeHint(QAbstractScrollArea* theWrappedObject) const +{ + return ( theWrappedObject->sizeHint()); +} + +QScrollBar* PythonQtWrapper_QAbstractScrollArea::verticalScrollBar(QAbstractScrollArea* theWrappedObject) const +{ + return ( theWrappedObject->verticalScrollBar()); +} + +Qt::ScrollBarPolicy PythonQtWrapper_QAbstractScrollArea::verticalScrollBarPolicy(QAbstractScrollArea* theWrappedObject) const +{ + return ( theWrappedObject->verticalScrollBarPolicy()); +} + +QWidget* PythonQtWrapper_QAbstractScrollArea::viewport(QAbstractScrollArea* theWrappedObject) const +{ + return ( theWrappedObject->viewport()); +} + +bool PythonQtWrapper_QAbstractScrollArea::viewportEvent(QAbstractScrollArea* theWrappedObject, QEvent* arg__1) +{ + return ( ((PythonQtPublicPromoter_QAbstractScrollArea*)theWrappedObject)->promoted_viewportEvent(arg__1)); +} + +void PythonQtWrapper_QAbstractScrollArea::wheelEvent(QAbstractScrollArea* theWrappedObject, QWheelEvent* arg__1) +{ + ( ((PythonQtPublicPromoter_QAbstractScrollArea*)theWrappedObject)->promoted_wheelEvent(arg__1)); +} + + + +void PythonQtShell_QAbstractSlider::actionEvent(QActionEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "actionEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QActionEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QAbstractSlider::actionEvent(arg__1); +} +void PythonQtShell_QAbstractSlider::changeEvent(QEvent* e) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "changeEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&e}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QAbstractSlider::changeEvent(e); +} +void PythonQtShell_QAbstractSlider::childEvent(QChildEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "childEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QChildEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QAbstractSlider::childEvent(arg__1); +} +void PythonQtShell_QAbstractSlider::closeEvent(QCloseEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "closeEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QCloseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QAbstractSlider::closeEvent(arg__1); +} +void PythonQtShell_QAbstractSlider::contextMenuEvent(QContextMenuEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "contextMenuEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QContextMenuEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QAbstractSlider::contextMenuEvent(arg__1); +} +void PythonQtShell_QAbstractSlider::customEvent(QEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "customEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QAbstractSlider::customEvent(arg__1); +} +int PythonQtShell_QAbstractSlider::devType() const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "devType"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + int returnValue; + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("devType", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QAbstractSlider::devType(); +} +void PythonQtShell_QAbstractSlider::dragEnterEvent(QDragEnterEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dragEnterEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QDragEnterEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QAbstractSlider::dragEnterEvent(arg__1); +} +void PythonQtShell_QAbstractSlider::dragLeaveEvent(QDragLeaveEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dragLeaveEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QDragLeaveEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QAbstractSlider::dragLeaveEvent(arg__1); +} +void PythonQtShell_QAbstractSlider::dragMoveEvent(QDragMoveEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dragMoveEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QDragMoveEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QAbstractSlider::dragMoveEvent(arg__1); +} +void PythonQtShell_QAbstractSlider::dropEvent(QDropEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dropEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QDropEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QAbstractSlider::dropEvent(arg__1); +} +void PythonQtShell_QAbstractSlider::enterEvent(QEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "enterEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QAbstractSlider::enterEvent(arg__1); +} +bool PythonQtShell_QAbstractSlider::event(QEvent* e) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "event"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue; + void* args[2] = {NULL, (void*)&e}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QAbstractSlider::event(e); +} +bool PythonQtShell_QAbstractSlider::eventFilter(QObject* arg__1, QEvent* arg__2) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "eventFilter"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue; + void* args[3] = {NULL, (void*)&arg__1, (void*)&arg__2}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QAbstractSlider::eventFilter(arg__1, arg__2); +} +void PythonQtShell_QAbstractSlider::focusInEvent(QFocusEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "focusInEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QFocusEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QAbstractSlider::focusInEvent(arg__1); +} +bool PythonQtShell_QAbstractSlider::focusNextPrevChild(bool next) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "focusNextPrevChild"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue; + void* args[2] = {NULL, (void*)&next}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("focusNextPrevChild", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QAbstractSlider::focusNextPrevChild(next); +} +void PythonQtShell_QAbstractSlider::focusOutEvent(QFocusEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "focusOutEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QFocusEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QAbstractSlider::focusOutEvent(arg__1); +} +int PythonQtShell_QAbstractSlider::heightForWidth(int arg__1) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "heightForWidth"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"int" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + int returnValue; + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("heightForWidth", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QAbstractSlider::heightForWidth(arg__1); +} +void PythonQtShell_QAbstractSlider::hideEvent(QHideEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "hideEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QHideEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QAbstractSlider::hideEvent(arg__1); +} +void PythonQtShell_QAbstractSlider::inputMethodEvent(QInputMethodEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "inputMethodEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QInputMethodEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QAbstractSlider::inputMethodEvent(arg__1); +} +QVariant PythonQtShell_QAbstractSlider::inputMethodQuery(Qt::InputMethodQuery arg__1) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "inputMethodQuery"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QVariant" , "Qt::InputMethodQuery"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + QVariant returnValue; + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result); + } else { + returnValue = *((QVariant*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QAbstractSlider::inputMethodQuery(arg__1); +} +void PythonQtShell_QAbstractSlider::keyPressEvent(QKeyEvent* ev) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "keyPressEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QKeyEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&ev}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QAbstractSlider::keyPressEvent(ev); +} +void PythonQtShell_QAbstractSlider::keyReleaseEvent(QKeyEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "keyReleaseEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QKeyEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QAbstractSlider::keyReleaseEvent(arg__1); +} +void PythonQtShell_QAbstractSlider::languageChange() +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "languageChange"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={""}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QAbstractSlider::languageChange(); +} +void PythonQtShell_QAbstractSlider::leaveEvent(QEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "leaveEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QAbstractSlider::leaveEvent(arg__1); +} +int PythonQtShell_QAbstractSlider::metric(QPaintDevice::PaintDeviceMetric arg__1) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "metric"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + int returnValue; + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("metric", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QAbstractSlider::metric(arg__1); +} +QSize PythonQtShell_QAbstractSlider::minimumSizeHint() const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "getMinimumSizeHint"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QSize"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QSize returnValue; + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("getMinimumSizeHint", methodInfo, result); + } else { + returnValue = *((QSize*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QAbstractSlider::minimumSizeHint(); +} +void PythonQtShell_QAbstractSlider::mouseDoubleClickEvent(QMouseEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mouseDoubleClickEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QAbstractSlider::mouseDoubleClickEvent(arg__1); +} +void PythonQtShell_QAbstractSlider::mouseMoveEvent(QMouseEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mouseMoveEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QAbstractSlider::mouseMoveEvent(arg__1); +} +void PythonQtShell_QAbstractSlider::mousePressEvent(QMouseEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mousePressEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QAbstractSlider::mousePressEvent(arg__1); +} +void PythonQtShell_QAbstractSlider::mouseReleaseEvent(QMouseEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mouseReleaseEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QAbstractSlider::mouseReleaseEvent(arg__1); +} +void PythonQtShell_QAbstractSlider::moveEvent(QMoveEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "moveEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QMoveEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QAbstractSlider::moveEvent(arg__1); +} +QPaintEngine* PythonQtShell_QAbstractSlider::paintEngine() const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "paintEngine"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QPaintEngine*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QPaintEngine* returnValue; + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); + } else { + returnValue = *((QPaintEngine**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QAbstractSlider::paintEngine(); +} +void PythonQtShell_QAbstractSlider::paintEvent(QPaintEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "paintEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QPaintEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QAbstractSlider::paintEvent(arg__1); +} +void PythonQtShell_QAbstractSlider::resizeEvent(QResizeEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "resizeEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QResizeEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QAbstractSlider::resizeEvent(arg__1); +} +void PythonQtShell_QAbstractSlider::showEvent(QShowEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "showEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QShowEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QAbstractSlider::showEvent(arg__1); +} +QSize PythonQtShell_QAbstractSlider::sizeHint() const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "getSizeHint"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QSize"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QSize returnValue; + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("getSizeHint", methodInfo, result); + } else { + returnValue = *((QSize*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QAbstractSlider::sizeHint(); +} +void PythonQtShell_QAbstractSlider::sliderChange(QAbstractSlider::SliderChange change) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "sliderChange"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QAbstractSlider::SliderChange"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&change}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QAbstractSlider::sliderChange(change); +} +void PythonQtShell_QAbstractSlider::tabletEvent(QTabletEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "tabletEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QTabletEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QAbstractSlider::tabletEvent(arg__1); +} +void PythonQtShell_QAbstractSlider::timerEvent(QTimerEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "timerEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QTimerEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QAbstractSlider::timerEvent(arg__1); +} +void PythonQtShell_QAbstractSlider::wheelEvent(QWheelEvent* e) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "wheelEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QWheelEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&e}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QAbstractSlider::wheelEvent(e); +} +QAbstractSlider* PythonQtWrapper_QAbstractSlider::new_QAbstractSlider(QWidget* parent) +{ +return new PythonQtShell_QAbstractSlider(parent); } + +void PythonQtWrapper_QAbstractSlider::changeEvent(QAbstractSlider* theWrappedObject, QEvent* e) +{ + ( ((PythonQtPublicPromoter_QAbstractSlider*)theWrappedObject)->promoted_changeEvent(e)); +} + +bool PythonQtWrapper_QAbstractSlider::event(QAbstractSlider* theWrappedObject, QEvent* e) +{ + return ( ((PythonQtPublicPromoter_QAbstractSlider*)theWrappedObject)->promoted_event(e)); +} + +bool PythonQtWrapper_QAbstractSlider::hasTracking(QAbstractSlider* theWrappedObject) const +{ + return ( theWrappedObject->hasTracking()); +} + +bool PythonQtWrapper_QAbstractSlider::invertedAppearance(QAbstractSlider* theWrappedObject) const +{ + return ( theWrappedObject->invertedAppearance()); +} + +bool PythonQtWrapper_QAbstractSlider::invertedControls(QAbstractSlider* theWrappedObject) const +{ + return ( theWrappedObject->invertedControls()); +} + +bool PythonQtWrapper_QAbstractSlider::isSliderDown(QAbstractSlider* theWrappedObject) const +{ + return ( theWrappedObject->isSliderDown()); +} + +void PythonQtWrapper_QAbstractSlider::keyPressEvent(QAbstractSlider* theWrappedObject, QKeyEvent* ev) +{ + ( ((PythonQtPublicPromoter_QAbstractSlider*)theWrappedObject)->promoted_keyPressEvent(ev)); +} + +int PythonQtWrapper_QAbstractSlider::maximum(QAbstractSlider* theWrappedObject) const +{ + return ( theWrappedObject->maximum()); +} + +int PythonQtWrapper_QAbstractSlider::minimum(QAbstractSlider* theWrappedObject) const +{ + return ( theWrappedObject->minimum()); +} + +Qt::Orientation PythonQtWrapper_QAbstractSlider::orientation(QAbstractSlider* theWrappedObject) const +{ + return ( theWrappedObject->orientation()); +} + +int PythonQtWrapper_QAbstractSlider::pageStep(QAbstractSlider* theWrappedObject) const +{ + return ( theWrappedObject->pageStep()); +} + +void PythonQtWrapper_QAbstractSlider::setInvertedAppearance(QAbstractSlider* theWrappedObject, bool arg__1) +{ + ( theWrappedObject->setInvertedAppearance(arg__1)); +} + +void PythonQtWrapper_QAbstractSlider::setInvertedControls(QAbstractSlider* theWrappedObject, bool arg__1) +{ + ( theWrappedObject->setInvertedControls(arg__1)); +} + +void PythonQtWrapper_QAbstractSlider::setMaximum(QAbstractSlider* theWrappedObject, int arg__1) +{ + ( theWrappedObject->setMaximum(arg__1)); +} + +void PythonQtWrapper_QAbstractSlider::setMinimum(QAbstractSlider* theWrappedObject, int arg__1) +{ + ( theWrappedObject->setMinimum(arg__1)); +} + +void PythonQtWrapper_QAbstractSlider::setPageStep(QAbstractSlider* theWrappedObject, int arg__1) +{ + ( theWrappedObject->setPageStep(arg__1)); +} + +void PythonQtWrapper_QAbstractSlider::setRange(QAbstractSlider* theWrappedObject, int min, int max) +{ + ( theWrappedObject->setRange(min, max)); +} + +void PythonQtWrapper_QAbstractSlider::setSingleStep(QAbstractSlider* theWrappedObject, int arg__1) +{ + ( theWrappedObject->setSingleStep(arg__1)); +} + +void PythonQtWrapper_QAbstractSlider::setSliderDown(QAbstractSlider* theWrappedObject, bool arg__1) +{ + ( theWrappedObject->setSliderDown(arg__1)); +} + +void PythonQtWrapper_QAbstractSlider::setSliderPosition(QAbstractSlider* theWrappedObject, int arg__1) +{ + ( theWrappedObject->setSliderPosition(arg__1)); +} + +void PythonQtWrapper_QAbstractSlider::setTracking(QAbstractSlider* theWrappedObject, bool enable) +{ + ( theWrappedObject->setTracking(enable)); +} + +int PythonQtWrapper_QAbstractSlider::singleStep(QAbstractSlider* theWrappedObject) const +{ + return ( theWrappedObject->singleStep()); +} + +int PythonQtWrapper_QAbstractSlider::sliderPosition(QAbstractSlider* theWrappedObject) const +{ + return ( theWrappedObject->sliderPosition()); +} + +void PythonQtWrapper_QAbstractSlider::timerEvent(QAbstractSlider* theWrappedObject, QTimerEvent* arg__1) +{ + ( ((PythonQtPublicPromoter_QAbstractSlider*)theWrappedObject)->promoted_timerEvent(arg__1)); +} + +void PythonQtWrapper_QAbstractSlider::triggerAction(QAbstractSlider* theWrappedObject, QAbstractSlider::SliderAction action) +{ + ( theWrappedObject->triggerAction(action)); +} + +int PythonQtWrapper_QAbstractSlider::value(QAbstractSlider* theWrappedObject) const +{ + return ( theWrappedObject->value()); +} + +void PythonQtWrapper_QAbstractSlider::wheelEvent(QAbstractSlider* theWrappedObject, QWheelEvent* e) +{ + ( ((PythonQtPublicPromoter_QAbstractSlider*)theWrappedObject)->promoted_wheelEvent(e)); +} + + + +void PythonQtShell_QAbstractSpinBox::actionEvent(QActionEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "actionEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QActionEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QAbstractSpinBox::actionEvent(arg__1); +} +void PythonQtShell_QAbstractSpinBox::changeEvent(QEvent* event) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "changeEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&event}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QAbstractSpinBox::changeEvent(event); +} +void PythonQtShell_QAbstractSpinBox::childEvent(QChildEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "childEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QChildEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QAbstractSpinBox::childEvent(arg__1); +} +void PythonQtShell_QAbstractSpinBox::clear() +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "clear"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={""}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QAbstractSpinBox::clear(); +} +void PythonQtShell_QAbstractSpinBox::closeEvent(QCloseEvent* event) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "closeEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QCloseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&event}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QAbstractSpinBox::closeEvent(event); +} +void PythonQtShell_QAbstractSpinBox::contextMenuEvent(QContextMenuEvent* event) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "contextMenuEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QContextMenuEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&event}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QAbstractSpinBox::contextMenuEvent(event); +} +void PythonQtShell_QAbstractSpinBox::customEvent(QEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "customEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QAbstractSpinBox::customEvent(arg__1); +} +int PythonQtShell_QAbstractSpinBox::devType() const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "devType"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + int returnValue; + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("devType", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QAbstractSpinBox::devType(); +} +void PythonQtShell_QAbstractSpinBox::dragEnterEvent(QDragEnterEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dragEnterEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QDragEnterEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QAbstractSpinBox::dragEnterEvent(arg__1); +} +void PythonQtShell_QAbstractSpinBox::dragLeaveEvent(QDragLeaveEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dragLeaveEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QDragLeaveEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QAbstractSpinBox::dragLeaveEvent(arg__1); +} +void PythonQtShell_QAbstractSpinBox::dragMoveEvent(QDragMoveEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dragMoveEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QDragMoveEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QAbstractSpinBox::dragMoveEvent(arg__1); +} +void PythonQtShell_QAbstractSpinBox::dropEvent(QDropEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dropEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QDropEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QAbstractSpinBox::dropEvent(arg__1); +} +void PythonQtShell_QAbstractSpinBox::enterEvent(QEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "enterEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QAbstractSpinBox::enterEvent(arg__1); +} +bool PythonQtShell_QAbstractSpinBox::event(QEvent* event) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "event"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue; + void* args[2] = {NULL, (void*)&event}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QAbstractSpinBox::event(event); +} +bool PythonQtShell_QAbstractSpinBox::eventFilter(QObject* arg__1, QEvent* arg__2) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "eventFilter"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue; + void* args[3] = {NULL, (void*)&arg__1, (void*)&arg__2}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QAbstractSpinBox::eventFilter(arg__1, arg__2); +} +void PythonQtShell_QAbstractSpinBox::fixup(QString& input) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "fixup"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QString&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&input}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QAbstractSpinBox::fixup(input); +} +void PythonQtShell_QAbstractSpinBox::focusInEvent(QFocusEvent* event) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "focusInEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QFocusEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&event}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QAbstractSpinBox::focusInEvent(event); +} +bool PythonQtShell_QAbstractSpinBox::focusNextPrevChild(bool next) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "focusNextPrevChild"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue; + void* args[2] = {NULL, (void*)&next}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("focusNextPrevChild", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QAbstractSpinBox::focusNextPrevChild(next); +} +void PythonQtShell_QAbstractSpinBox::focusOutEvent(QFocusEvent* event) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "focusOutEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QFocusEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&event}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QAbstractSpinBox::focusOutEvent(event); +} +int PythonQtShell_QAbstractSpinBox::heightForWidth(int arg__1) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "heightForWidth"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"int" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + int returnValue; + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("heightForWidth", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QAbstractSpinBox::heightForWidth(arg__1); +} +void PythonQtShell_QAbstractSpinBox::hideEvent(QHideEvent* event) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "hideEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QHideEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&event}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QAbstractSpinBox::hideEvent(event); +} +void PythonQtShell_QAbstractSpinBox::inputMethodEvent(QInputMethodEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "inputMethodEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QInputMethodEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QAbstractSpinBox::inputMethodEvent(arg__1); +} +QVariant PythonQtShell_QAbstractSpinBox::inputMethodQuery(Qt::InputMethodQuery arg__1) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "inputMethodQuery"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QVariant" , "Qt::InputMethodQuery"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + QVariant returnValue; + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result); + } else { + returnValue = *((QVariant*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QAbstractSpinBox::inputMethodQuery(arg__1); +} +void PythonQtShell_QAbstractSpinBox::keyPressEvent(QKeyEvent* event) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "keyPressEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QKeyEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&event}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QAbstractSpinBox::keyPressEvent(event); +} +void PythonQtShell_QAbstractSpinBox::keyReleaseEvent(QKeyEvent* event) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "keyReleaseEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QKeyEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&event}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QAbstractSpinBox::keyReleaseEvent(event); +} +void PythonQtShell_QAbstractSpinBox::languageChange() +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "languageChange"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={""}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QAbstractSpinBox::languageChange(); +} +void PythonQtShell_QAbstractSpinBox::leaveEvent(QEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "leaveEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QAbstractSpinBox::leaveEvent(arg__1); +} +int PythonQtShell_QAbstractSpinBox::metric(QPaintDevice::PaintDeviceMetric arg__1) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "metric"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + int returnValue; + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("metric", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QAbstractSpinBox::metric(arg__1); +} +void PythonQtShell_QAbstractSpinBox::mouseDoubleClickEvent(QMouseEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mouseDoubleClickEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QAbstractSpinBox::mouseDoubleClickEvent(arg__1); +} +void PythonQtShell_QAbstractSpinBox::mouseMoveEvent(QMouseEvent* event) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mouseMoveEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&event}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QAbstractSpinBox::mouseMoveEvent(event); +} +void PythonQtShell_QAbstractSpinBox::mousePressEvent(QMouseEvent* event) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mousePressEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&event}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QAbstractSpinBox::mousePressEvent(event); +} +void PythonQtShell_QAbstractSpinBox::mouseReleaseEvent(QMouseEvent* event) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mouseReleaseEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&event}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QAbstractSpinBox::mouseReleaseEvent(event); +} +void PythonQtShell_QAbstractSpinBox::moveEvent(QMoveEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "moveEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QMoveEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QAbstractSpinBox::moveEvent(arg__1); +} +QPaintEngine* PythonQtShell_QAbstractSpinBox::paintEngine() const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "paintEngine"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QPaintEngine*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QPaintEngine* returnValue; + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); + } else { + returnValue = *((QPaintEngine**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QAbstractSpinBox::paintEngine(); +} +void PythonQtShell_QAbstractSpinBox::paintEvent(QPaintEvent* event) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "paintEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QPaintEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&event}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QAbstractSpinBox::paintEvent(event); +} +void PythonQtShell_QAbstractSpinBox::resizeEvent(QResizeEvent* event) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "resizeEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QResizeEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&event}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QAbstractSpinBox::resizeEvent(event); +} +void PythonQtShell_QAbstractSpinBox::showEvent(QShowEvent* event) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "showEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QShowEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&event}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QAbstractSpinBox::showEvent(event); +} +void PythonQtShell_QAbstractSpinBox::stepBy(int steps) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "stepBy"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&steps}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QAbstractSpinBox::stepBy(steps); +} +QAbstractSpinBox::StepEnabled PythonQtShell_QAbstractSpinBox::stepEnabled() const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "stepEnabled"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QAbstractSpinBox::StepEnabled"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QAbstractSpinBox::StepEnabled returnValue; + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("stepEnabled", methodInfo, result); + } else { + returnValue = *((QAbstractSpinBox::StepEnabled*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QAbstractSpinBox::stepEnabled(); +} +void PythonQtShell_QAbstractSpinBox::tabletEvent(QTabletEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "tabletEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QTabletEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QAbstractSpinBox::tabletEvent(arg__1); +} +void PythonQtShell_QAbstractSpinBox::timerEvent(QTimerEvent* event) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "timerEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QTimerEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&event}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QAbstractSpinBox::timerEvent(event); +} +QValidator::State PythonQtShell_QAbstractSpinBox::validate(QString& input, int& pos) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "validate"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QValidator::State" , "QString&" , "int&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + QValidator::State returnValue; + void* args[3] = {NULL, (void*)&input, (void*)&pos}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("validate", methodInfo, result); + } else { + returnValue = *((QValidator::State*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QAbstractSpinBox::validate(input, pos); +} +void PythonQtShell_QAbstractSpinBox::wheelEvent(QWheelEvent* event) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "wheelEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QWheelEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&event}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QAbstractSpinBox::wheelEvent(event); +} +QAbstractSpinBox* PythonQtWrapper_QAbstractSpinBox::new_QAbstractSpinBox(QWidget* parent) +{ +return new PythonQtShell_QAbstractSpinBox(parent); } + +Qt::Alignment PythonQtWrapper_QAbstractSpinBox::alignment(QAbstractSpinBox* theWrappedObject) const +{ + return ( theWrappedObject->alignment()); +} + +QAbstractSpinBox::ButtonSymbols PythonQtWrapper_QAbstractSpinBox::buttonSymbols(QAbstractSpinBox* theWrappedObject) const +{ + return ( theWrappedObject->buttonSymbols()); +} + +void PythonQtWrapper_QAbstractSpinBox::changeEvent(QAbstractSpinBox* theWrappedObject, QEvent* event) +{ + ( ((PythonQtPublicPromoter_QAbstractSpinBox*)theWrappedObject)->promoted_changeEvent(event)); +} + +void PythonQtWrapper_QAbstractSpinBox::closeEvent(QAbstractSpinBox* theWrappedObject, QCloseEvent* event) +{ + ( ((PythonQtPublicPromoter_QAbstractSpinBox*)theWrappedObject)->promoted_closeEvent(event)); +} + +void PythonQtWrapper_QAbstractSpinBox::contextMenuEvent(QAbstractSpinBox* theWrappedObject, QContextMenuEvent* event) +{ + ( ((PythonQtPublicPromoter_QAbstractSpinBox*)theWrappedObject)->promoted_contextMenuEvent(event)); +} + +QAbstractSpinBox::CorrectionMode PythonQtWrapper_QAbstractSpinBox::correctionMode(QAbstractSpinBox* theWrappedObject) const +{ + return ( theWrappedObject->correctionMode()); +} + +bool PythonQtWrapper_QAbstractSpinBox::event(QAbstractSpinBox* theWrappedObject, QEvent* event) +{ + return ( ((PythonQtPublicPromoter_QAbstractSpinBox*)theWrappedObject)->promoted_event(event)); +} + +void PythonQtWrapper_QAbstractSpinBox::fixup(QAbstractSpinBox* theWrappedObject, QString& input) const +{ + ( ((PythonQtPublicPromoter_QAbstractSpinBox*)theWrappedObject)->promoted_fixup(input)); +} + +void PythonQtWrapper_QAbstractSpinBox::focusInEvent(QAbstractSpinBox* theWrappedObject, QFocusEvent* event) +{ + ( ((PythonQtPublicPromoter_QAbstractSpinBox*)theWrappedObject)->promoted_focusInEvent(event)); +} + +void PythonQtWrapper_QAbstractSpinBox::focusOutEvent(QAbstractSpinBox* theWrappedObject, QFocusEvent* event) +{ + ( ((PythonQtPublicPromoter_QAbstractSpinBox*)theWrappedObject)->promoted_focusOutEvent(event)); +} + +bool PythonQtWrapper_QAbstractSpinBox::hasAcceptableInput(QAbstractSpinBox* theWrappedObject) const +{ + return ( theWrappedObject->hasAcceptableInput()); +} + +bool PythonQtWrapper_QAbstractSpinBox::hasFrame(QAbstractSpinBox* theWrappedObject) const +{ + return ( theWrappedObject->hasFrame()); +} + +void PythonQtWrapper_QAbstractSpinBox::hideEvent(QAbstractSpinBox* theWrappedObject, QHideEvent* event) +{ + ( ((PythonQtPublicPromoter_QAbstractSpinBox*)theWrappedObject)->promoted_hideEvent(event)); +} + +QVariant PythonQtWrapper_QAbstractSpinBox::inputMethodQuery(QAbstractSpinBox* theWrappedObject, Qt::InputMethodQuery arg__1) const +{ + return ( ((PythonQtPublicPromoter_QAbstractSpinBox*)theWrappedObject)->promoted_inputMethodQuery(arg__1)); +} + +void PythonQtWrapper_QAbstractSpinBox::interpretText(QAbstractSpinBox* theWrappedObject) +{ + ( theWrappedObject->interpretText()); +} + +bool PythonQtWrapper_QAbstractSpinBox::isAccelerated(QAbstractSpinBox* theWrappedObject) const +{ + return ( theWrappedObject->isAccelerated()); +} + +bool PythonQtWrapper_QAbstractSpinBox::isReadOnly(QAbstractSpinBox* theWrappedObject) const +{ + return ( theWrappedObject->isReadOnly()); +} + +void PythonQtWrapper_QAbstractSpinBox::keyPressEvent(QAbstractSpinBox* theWrappedObject, QKeyEvent* event) +{ + ( ((PythonQtPublicPromoter_QAbstractSpinBox*)theWrappedObject)->promoted_keyPressEvent(event)); +} + +void PythonQtWrapper_QAbstractSpinBox::keyReleaseEvent(QAbstractSpinBox* theWrappedObject, QKeyEvent* event) +{ + ( ((PythonQtPublicPromoter_QAbstractSpinBox*)theWrappedObject)->promoted_keyReleaseEvent(event)); +} + +bool PythonQtWrapper_QAbstractSpinBox::keyboardTracking(QAbstractSpinBox* theWrappedObject) const +{ + return ( theWrappedObject->keyboardTracking()); +} + +QSize PythonQtWrapper_QAbstractSpinBox::minimumSizeHint(QAbstractSpinBox* theWrappedObject) const +{ + return ( theWrappedObject->minimumSizeHint()); +} + +void PythonQtWrapper_QAbstractSpinBox::mouseMoveEvent(QAbstractSpinBox* theWrappedObject, QMouseEvent* event) +{ + ( ((PythonQtPublicPromoter_QAbstractSpinBox*)theWrappedObject)->promoted_mouseMoveEvent(event)); +} + +void PythonQtWrapper_QAbstractSpinBox::mousePressEvent(QAbstractSpinBox* theWrappedObject, QMouseEvent* event) +{ + ( ((PythonQtPublicPromoter_QAbstractSpinBox*)theWrappedObject)->promoted_mousePressEvent(event)); +} + +void PythonQtWrapper_QAbstractSpinBox::mouseReleaseEvent(QAbstractSpinBox* theWrappedObject, QMouseEvent* event) +{ + ( ((PythonQtPublicPromoter_QAbstractSpinBox*)theWrappedObject)->promoted_mouseReleaseEvent(event)); +} + +void PythonQtWrapper_QAbstractSpinBox::paintEvent(QAbstractSpinBox* theWrappedObject, QPaintEvent* event) +{ + ( ((PythonQtPublicPromoter_QAbstractSpinBox*)theWrappedObject)->promoted_paintEvent(event)); +} + +void PythonQtWrapper_QAbstractSpinBox::resizeEvent(QAbstractSpinBox* theWrappedObject, QResizeEvent* event) +{ + ( ((PythonQtPublicPromoter_QAbstractSpinBox*)theWrappedObject)->promoted_resizeEvent(event)); +} + +void PythonQtWrapper_QAbstractSpinBox::setAccelerated(QAbstractSpinBox* theWrappedObject, bool on) +{ + ( theWrappedObject->setAccelerated(on)); +} + +void PythonQtWrapper_QAbstractSpinBox::setAlignment(QAbstractSpinBox* theWrappedObject, Qt::Alignment flag) +{ + ( theWrappedObject->setAlignment(flag)); +} + +void PythonQtWrapper_QAbstractSpinBox::setButtonSymbols(QAbstractSpinBox* theWrappedObject, QAbstractSpinBox::ButtonSymbols bs) +{ + ( theWrappedObject->setButtonSymbols(bs)); +} + +void PythonQtWrapper_QAbstractSpinBox::setCorrectionMode(QAbstractSpinBox* theWrappedObject, QAbstractSpinBox::CorrectionMode cm) +{ + ( theWrappedObject->setCorrectionMode(cm)); +} + +void PythonQtWrapper_QAbstractSpinBox::setFrame(QAbstractSpinBox* theWrappedObject, bool arg__1) +{ + ( theWrappedObject->setFrame(arg__1)); +} + +void PythonQtWrapper_QAbstractSpinBox::setKeyboardTracking(QAbstractSpinBox* theWrappedObject, bool kt) +{ + ( theWrappedObject->setKeyboardTracking(kt)); +} + +void PythonQtWrapper_QAbstractSpinBox::setReadOnly(QAbstractSpinBox* theWrappedObject, bool r) +{ + ( theWrappedObject->setReadOnly(r)); +} + +void PythonQtWrapper_QAbstractSpinBox::setSpecialValueText(QAbstractSpinBox* theWrappedObject, const QString& txt) +{ + ( theWrappedObject->setSpecialValueText(txt)); +} + +void PythonQtWrapper_QAbstractSpinBox::setWrapping(QAbstractSpinBox* theWrappedObject, bool w) +{ + ( theWrappedObject->setWrapping(w)); +} + +void PythonQtWrapper_QAbstractSpinBox::showEvent(QAbstractSpinBox* theWrappedObject, QShowEvent* event) +{ + ( ((PythonQtPublicPromoter_QAbstractSpinBox*)theWrappedObject)->promoted_showEvent(event)); +} + +QSize PythonQtWrapper_QAbstractSpinBox::sizeHint(QAbstractSpinBox* theWrappedObject) const +{ + return ( theWrappedObject->sizeHint()); +} + +QString PythonQtWrapper_QAbstractSpinBox::specialValueText(QAbstractSpinBox* theWrappedObject) const +{ + return ( theWrappedObject->specialValueText()); +} + +void PythonQtWrapper_QAbstractSpinBox::stepBy(QAbstractSpinBox* theWrappedObject, int steps) +{ + ( ((PythonQtPublicPromoter_QAbstractSpinBox*)theWrappedObject)->promoted_stepBy(steps)); +} + +QAbstractSpinBox::StepEnabled PythonQtWrapper_QAbstractSpinBox::stepEnabled(QAbstractSpinBox* theWrappedObject) const +{ + return ( ((PythonQtPublicPromoter_QAbstractSpinBox*)theWrappedObject)->promoted_stepEnabled()); +} + +QString PythonQtWrapper_QAbstractSpinBox::text(QAbstractSpinBox* theWrappedObject) const +{ + 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 ( ((PythonQtPublicPromoter_QAbstractSpinBox*)theWrappedObject)->promoted_validate(input, pos)); +} + +void PythonQtWrapper_QAbstractSpinBox::wheelEvent(QAbstractSpinBox* theWrappedObject, QWheelEvent* event) +{ + ( ((PythonQtPublicPromoter_QAbstractSpinBox*)theWrappedObject)->promoted_wheelEvent(event)); +} + +bool PythonQtWrapper_QAbstractSpinBox::wrapping(QAbstractSpinBox* theWrappedObject) const +{ + return ( theWrappedObject->wrapping()); +} + + + +QModelIndex PythonQtShell_QAbstractTableModel::buddy(const QModelIndex& index) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "buddy"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QModelIndex" , "const QModelIndex&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + QModelIndex returnValue; + void* args[2] = {NULL, (void*)&index}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("buddy", methodInfo, result); + } else { + returnValue = *((QModelIndex*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QAbstractTableModel::buddy(index); +} +bool PythonQtShell_QAbstractTableModel::canFetchMore(const QModelIndex& parent) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "canFetchMore"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "const QModelIndex&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue; + void* args[2] = {NULL, (void*)&parent}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("canFetchMore", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QAbstractTableModel::canFetchMore(parent); +} +void PythonQtShell_QAbstractTableModel::childEvent(QChildEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "childEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QChildEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QAbstractTableModel::childEvent(arg__1); +} +int PythonQtShell_QAbstractTableModel::columnCount(const QModelIndex& parent) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "columnCount"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"int" , "const QModelIndex&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + int returnValue; + void* args[2] = {NULL, (void*)&parent}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("columnCount", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return int(); +} +void PythonQtShell_QAbstractTableModel::customEvent(QEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "customEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QAbstractTableModel::customEvent(arg__1); +} +QVariant PythonQtShell_QAbstractTableModel::data(const QModelIndex& index, int role) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "data"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QVariant" , "const QModelIndex&" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + QVariant returnValue; + void* args[3] = {NULL, (void*)&index, (void*)&role}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("data", methodInfo, result); + } else { + returnValue = *((QVariant*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QVariant(); +} +bool PythonQtShell_QAbstractTableModel::dropMimeData(const QMimeData* data, Qt::DropAction action, int row, int column, const QModelIndex& parent) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dropMimeData"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "const QMimeData*" , "Qt::DropAction" , "int" , "int" , "const QModelIndex&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(6, argumentList); + bool returnValue; + void* args[6] = {NULL, (void*)&data, (void*)&action, (void*)&row, (void*)&column, (void*)&parent}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("dropMimeData", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QAbstractTableModel::dropMimeData(data, action, row, column, parent); +} +bool PythonQtShell_QAbstractTableModel::event(QEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "event"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue; + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QAbstractTableModel::event(arg__1); +} +bool PythonQtShell_QAbstractTableModel::eventFilter(QObject* arg__1, QEvent* arg__2) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "eventFilter"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue; + void* args[3] = {NULL, (void*)&arg__1, (void*)&arg__2}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QAbstractTableModel::eventFilter(arg__1, arg__2); +} +void PythonQtShell_QAbstractTableModel::fetchMore(const QModelIndex& parent) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "fetchMore"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "const QModelIndex&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&parent}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QAbstractTableModel::fetchMore(parent); +} +Qt::ItemFlags PythonQtShell_QAbstractTableModel::flags(const QModelIndex& index) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "flags"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"Qt::ItemFlags" , "const QModelIndex&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + Qt::ItemFlags returnValue; + void* args[2] = {NULL, (void*)&index}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("flags", methodInfo, result); + } else { + returnValue = *((Qt::ItemFlags*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QAbstractTableModel::flags(index); +} +QVariant PythonQtShell_QAbstractTableModel::headerData(int section, Qt::Orientation orientation, int role) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "headerData"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QVariant" , "int" , "Qt::Orientation" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + QVariant returnValue; + void* args[4] = {NULL, (void*)§ion, (void*)&orientation, (void*)&role}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("headerData", methodInfo, result); + } else { + returnValue = *((QVariant*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QAbstractTableModel::headerData(section, orientation, role); +} +QModelIndex PythonQtShell_QAbstractTableModel::index(int row, int column, const QModelIndex& parent) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "index"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QModelIndex" , "int" , "int" , "const QModelIndex&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + QModelIndex returnValue; + void* args[4] = {NULL, (void*)&row, (void*)&column, (void*)&parent}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("index", methodInfo, result); + } else { + returnValue = *((QModelIndex*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QAbstractTableModel::index(row, column, parent); +} +bool PythonQtShell_QAbstractTableModel::insertColumns(int column, int count, const QModelIndex& parent) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "insertColumns"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "int" , "int" , "const QModelIndex&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + bool returnValue; + void* args[4] = {NULL, (void*)&column, (void*)&count, (void*)&parent}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("insertColumns", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QAbstractTableModel::insertColumns(column, count, parent); +} +bool PythonQtShell_QAbstractTableModel::insertRows(int row, int count, const QModelIndex& parent) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "insertRows"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "int" , "int" , "const QModelIndex&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + bool returnValue; + void* args[4] = {NULL, (void*)&row, (void*)&count, (void*)&parent}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("insertRows", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QAbstractTableModel::insertRows(row, count, parent); +} +QMap PythonQtShell_QAbstractTableModel::itemData(const QModelIndex& index) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "itemData"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QMap" , "const QModelIndex&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + QMap returnValue; + void* args[2] = {NULL, (void*)&index}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("itemData", methodInfo, result); + } else { + returnValue = *((QMap*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QAbstractTableModel::itemData(index); +} +QList PythonQtShell_QAbstractTableModel::match(const QModelIndex& start, int role, const QVariant& value, int hits, Qt::MatchFlags flags) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "match"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QList" , "const QModelIndex&" , "int" , "const QVariant&" , "int" , "Qt::MatchFlags"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(6, argumentList); + QList returnValue; + void* args[6] = {NULL, (void*)&start, (void*)&role, (void*)&value, (void*)&hits, (void*)&flags}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("match", methodInfo, result); + } else { + returnValue = *((QList*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QAbstractTableModel::match(start, role, value, hits, flags); +} +QMimeData* PythonQtShell_QAbstractTableModel::mimeData(const QList& indexes) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mimeData"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QMimeData*" , "const QList&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + QMimeData* returnValue; + void* args[2] = {NULL, (void*)&indexes}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("mimeData", methodInfo, result); + } else { + returnValue = *((QMimeData**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QAbstractTableModel::mimeData(indexes); +} +QStringList PythonQtShell_QAbstractTableModel::mimeTypes() const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mimeTypes"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QStringList"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QStringList returnValue; + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("mimeTypes", methodInfo, result); + } else { + returnValue = *((QStringList*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QAbstractTableModel::mimeTypes(); +} +bool PythonQtShell_QAbstractTableModel::removeColumns(int column, int count, const QModelIndex& parent) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "removeColumns"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "int" , "int" , "const QModelIndex&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + bool returnValue; + void* args[4] = {NULL, (void*)&column, (void*)&count, (void*)&parent}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("removeColumns", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QAbstractTableModel::removeColumns(column, count, parent); +} +bool PythonQtShell_QAbstractTableModel::removeRows(int row, int count, const QModelIndex& parent) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "removeRows"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "int" , "int" , "const QModelIndex&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + bool returnValue; + void* args[4] = {NULL, (void*)&row, (void*)&count, (void*)&parent}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("removeRows", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QAbstractTableModel::removeRows(row, count, parent); +} +void PythonQtShell_QAbstractTableModel::revert() +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "revert"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={""}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QAbstractTableModel::revert(); +} +int PythonQtShell_QAbstractTableModel::rowCount(const QModelIndex& parent) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "rowCount"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"int" , "const QModelIndex&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + int returnValue; + void* args[2] = {NULL, (void*)&parent}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("rowCount", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return int(); +} +bool PythonQtShell_QAbstractTableModel::setData(const QModelIndex& index, const QVariant& value, int role) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "setData"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "const QModelIndex&" , "const QVariant&" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + bool returnValue; + void* args[4] = {NULL, (void*)&index, (void*)&value, (void*)&role}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("setData", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QAbstractTableModel::setData(index, value, role); +} +bool PythonQtShell_QAbstractTableModel::setHeaderData(int section, Qt::Orientation orientation, const QVariant& value, int role) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "setHeaderData"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "int" , "Qt::Orientation" , "const QVariant&" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(5, argumentList); + bool returnValue; + void* args[5] = {NULL, (void*)§ion, (void*)&orientation, (void*)&value, (void*)&role}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("setHeaderData", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QAbstractTableModel::setHeaderData(section, orientation, value, role); +} +bool PythonQtShell_QAbstractTableModel::setItemData(const QModelIndex& index, const QMap& roles) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "setItemData"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "const QModelIndex&" , "const QMap&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue; + void* args[3] = {NULL, (void*)&index, (void*)&roles}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("setItemData", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QAbstractTableModel::setItemData(index, roles); +} +void PythonQtShell_QAbstractTableModel::sort(int column, Qt::SortOrder order) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "sort"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "int" , "Qt::SortOrder"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + void* args[3] = {NULL, (void*)&column, (void*)&order}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QAbstractTableModel::sort(column, order); +} +QSize PythonQtShell_QAbstractTableModel::span(const QModelIndex& index) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "span"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QSize" , "const QModelIndex&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + QSize returnValue; + void* args[2] = {NULL, (void*)&index}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("span", methodInfo, result); + } else { + returnValue = *((QSize*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QAbstractTableModel::span(index); +} +bool PythonQtShell_QAbstractTableModel::submit() +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "submit"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + bool returnValue; + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("submit", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QAbstractTableModel::submit(); +} +Qt::DropActions PythonQtShell_QAbstractTableModel::supportedDropActions() const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "supportedDropActions"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"Qt::DropActions"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + Qt::DropActions returnValue; + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("supportedDropActions", methodInfo, result); + } else { + returnValue = *((Qt::DropActions*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QAbstractTableModel::supportedDropActions(); +} +void PythonQtShell_QAbstractTableModel::timerEvent(QTimerEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "timerEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QTimerEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QAbstractTableModel::timerEvent(arg__1); +} +QAbstractTableModel* PythonQtWrapper_QAbstractTableModel::new_QAbstractTableModel(QObject* parent) +{ +return new PythonQtShell_QAbstractTableModel(parent); } + +bool PythonQtWrapper_QAbstractTableModel::dropMimeData(QAbstractTableModel* theWrappedObject, const QMimeData* data, Qt::DropAction action, int row, int column, const QModelIndex& parent) +{ + return ( ((PythonQtPublicPromoter_QAbstractTableModel*)theWrappedObject)->promoted_dropMimeData(data, action, row, column, parent)); +} + +QModelIndex PythonQtWrapper_QAbstractTableModel::index(QAbstractTableModel* theWrappedObject, int row, int column, const QModelIndex& parent) const +{ + return ( ((PythonQtPublicPromoter_QAbstractTableModel*)theWrappedObject)->promoted_index(row, column, parent)); +} + + + +QAccessible* PythonQtWrapper_QAccessible::new_QAccessible() +{ +return new PythonQtShell_QAccessible(); } + +bool PythonQtWrapper_QAccessible::static_QAccessible_isActive() +{ + return (QAccessible::isActive()); +} + +QAccessibleInterface* PythonQtWrapper_QAccessible::static_QAccessible_queryAccessibleInterface(QObject* arg__1) +{ + return (QAccessible::queryAccessibleInterface(arg__1)); +} + +void PythonQtWrapper_QAccessible::static_QAccessible_setRootObject(QObject* arg__1) +{ + (QAccessible::setRootObject(arg__1)); +} + +void PythonQtWrapper_QAccessible::static_QAccessible_updateAccessibility(QObject* arg__1, int who, QAccessible::Event reason) +{ + (QAccessible::updateAccessibility(arg__1, who, reason)); +} + + + +QAccessible2Interface* PythonQtWrapper_QAccessible2Interface::new_QAccessible2Interface() +{ +return new PythonQtShell_QAccessible2Interface(); } + + + +void PythonQtShell_QAccessibleBridge::notifyAccessibilityUpdate(int arg__1, QAccessibleInterface* arg__2, int arg__3) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "notifyAccessibilityUpdate"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "int" , "QAccessibleInterface*" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + void* args[4] = {NULL, (void*)&arg__1, (void*)&arg__2, (void*)&arg__3}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + +} +void PythonQtShell_QAccessibleBridge::setRootObject(QAccessibleInterface* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "setRootObject"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QAccessibleInterface*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + +} +QAccessibleBridge* PythonQtWrapper_QAccessibleBridge::new_QAccessibleBridge() +{ +return new PythonQtShell_QAccessibleBridge(); } + + + +QAccessibleEvent* PythonQtWrapper_QAccessibleEvent::new_QAccessibleEvent(QEvent::Type type, int child) +{ +return new QAccessibleEvent(type, child); } + +int PythonQtWrapper_QAccessibleEvent::child(QAccessibleEvent* theWrappedObject) const +{ + return ( theWrappedObject->child()); +} + +void PythonQtWrapper_QAccessibleEvent::setValue(QAccessibleEvent* theWrappedObject, const QString& aText) +{ + ( theWrappedObject->setValue(aText)); +} + +QString PythonQtWrapper_QAccessibleEvent::value(QAccessibleEvent* theWrappedObject) const +{ + return ( theWrappedObject->value()); +} + + + +QString PythonQtShell_QAccessibleInterface::actionText(int action, QAccessible::Text t, int child) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "actionText"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QString" , "int" , "QAccessible::Text" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + QString returnValue; + void* args[4] = {NULL, (void*)&action, (void*)&t, (void*)&child}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("actionText", methodInfo, result); + } else { + returnValue = *((QString*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QString(); +} +int PythonQtShell_QAccessibleInterface::childAt(int x, int y) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "childAt"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"int" , "int" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + int returnValue; + void* args[3] = {NULL, (void*)&x, (void*)&y}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("childAt", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return int(); +} +int PythonQtShell_QAccessibleInterface::childCount() const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "childCount"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + int returnValue; + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("childCount", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return int(); +} +bool PythonQtShell_QAccessibleInterface::doAction(int action, int child, const QList& params) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "doAction"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "int" , "int" , "const QList&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + bool returnValue; + void* args[4] = {NULL, (void*)&action, (void*)&child, (void*)¶ms}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("doAction", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return bool(); +} +int PythonQtShell_QAccessibleInterface::indexOfChild(const QAccessibleInterface* arg__1) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "indexOfChild"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"int" , "const QAccessibleInterface*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + int returnValue; + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("indexOfChild", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return int(); +} +bool PythonQtShell_QAccessibleInterface::isValid() const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "isValid"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + bool returnValue; + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("isValid", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return bool(); +} +int PythonQtShell_QAccessibleInterface::navigate(QAccessible::RelationFlag relation, int index, QAccessibleInterface** iface) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "navigate"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"int" , "QAccessible::RelationFlag" , "int" , "QAccessibleInterface**"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + int returnValue; + void* args[4] = {NULL, (void*)&relation, (void*)&index, (void*)&iface}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("navigate", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return int(); +} +QObject* PythonQtShell_QAccessibleInterface::object() const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "object"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QObject*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QObject* returnValue; + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("object", methodInfo, result); + } else { + returnValue = *((QObject**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return 0; +} +QRect PythonQtShell_QAccessibleInterface::rect(int child) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "rect"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QRect" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + QRect returnValue; + void* args[2] = {NULL, (void*)&child}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("rect", methodInfo, result); + } else { + returnValue = *((QRect*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QRect(); +} +QAccessible::Relation PythonQtShell_QAccessibleInterface::relationTo(int child, const QAccessibleInterface* other, int otherChild) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "relationTo"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QAccessible::Relation" , "int" , "const QAccessibleInterface*" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + QAccessible::Relation returnValue; + void* args[4] = {NULL, (void*)&child, (void*)&other, (void*)&otherChild}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("relationTo", methodInfo, result); + } else { + returnValue = *((QAccessible::Relation*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QAccessible::Relation(); +} +QAccessible::Role PythonQtShell_QAccessibleInterface::role(int child) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "role"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QAccessible::Role" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + QAccessible::Role returnValue; + void* args[2] = {NULL, (void*)&child}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("role", methodInfo, result); + } else { + returnValue = *((QAccessible::Role*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QAccessible::Role(); +} +void PythonQtShell_QAccessibleInterface::setText(QAccessible::Text t, int child, const QString& text) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "setText"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QAccessible::Text" , "int" , "const QString&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + void* args[4] = {NULL, (void*)&t, (void*)&child, (void*)&text}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + +} +QAccessible::State PythonQtShell_QAccessibleInterface::state(int child) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "state"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QAccessible::State" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + QAccessible::State returnValue; + void* args[2] = {NULL, (void*)&child}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("state", methodInfo, result); + } else { + returnValue = *((QAccessible::State*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QAccessible::State(); +} +QString PythonQtShell_QAccessibleInterface::text(QAccessible::Text t, int child) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "text"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QString" , "QAccessible::Text" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + QString returnValue; + void* args[3] = {NULL, (void*)&t, (void*)&child}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("text", methodInfo, result); + } else { + returnValue = *((QString*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QString(); +} +int PythonQtShell_QAccessibleInterface::userActionCount(int child) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "userActionCount"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"int" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + int returnValue; + void* args[2] = {NULL, (void*)&child}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("userActionCount", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return int(); +} +QAccessibleInterface* PythonQtWrapper_QAccessibleInterface::new_QAccessibleInterface() +{ +return new PythonQtShell_QAccessibleInterface(); } + +QVariant PythonQtWrapper_QAccessibleInterface::invokeMethod(QAccessibleInterface* theWrappedObject, QAccessible::Method method, int child, const QList& params) +{ + return ( theWrappedObject->invokeMethod(method, child, params)); +} + +QSet PythonQtWrapper_QAccessibleInterface::supportedMethods(QAccessibleInterface* theWrappedObject) +{ + return ( theWrappedObject->supportedMethods()); +} + + + +QString PythonQtShell_QAccessibleInterfaceEx::actionText(int action, QAccessible::Text t, int child) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "actionText"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QString" , "int" , "QAccessible::Text" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + QString returnValue; + void* args[4] = {NULL, (void*)&action, (void*)&t, (void*)&child}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("actionText", methodInfo, result); + } else { + returnValue = *((QString*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QString(); +} +int PythonQtShell_QAccessibleInterfaceEx::childAt(int x, int y) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "childAt"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"int" , "int" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + int returnValue; + void* args[3] = {NULL, (void*)&x, (void*)&y}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("childAt", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return int(); +} +int PythonQtShell_QAccessibleInterfaceEx::childCount() const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "childCount"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + int returnValue; + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("childCount", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return int(); +} +bool PythonQtShell_QAccessibleInterfaceEx::doAction(int action, int child, const QList& params) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "doAction"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "int" , "int" , "const QList&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + bool returnValue; + void* args[4] = {NULL, (void*)&action, (void*)&child, (void*)¶ms}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("doAction", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return bool(); +} +int PythonQtShell_QAccessibleInterfaceEx::indexOfChild(const QAccessibleInterface* arg__1) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "indexOfChild"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"int" , "const QAccessibleInterface*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + int returnValue; + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("indexOfChild", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return int(); +} +QVariant PythonQtShell_QAccessibleInterfaceEx::invokeMethodEx(QAccessible::Method method, int child, const QList& params) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "invokeMethodEx"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QVariant" , "QAccessible::Method" , "int" , "const QList&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + QVariant returnValue; + void* args[4] = {NULL, (void*)&method, (void*)&child, (void*)¶ms}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("invokeMethodEx", methodInfo, result); + } else { + returnValue = *((QVariant*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QVariant(); +} +bool PythonQtShell_QAccessibleInterfaceEx::isValid() const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "isValid"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + bool returnValue; + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("isValid", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return bool(); +} +int PythonQtShell_QAccessibleInterfaceEx::navigate(QAccessible::RelationFlag relation, int index, QAccessibleInterface** iface) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "navigate"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"int" , "QAccessible::RelationFlag" , "int" , "QAccessibleInterface**"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + int returnValue; + void* args[4] = {NULL, (void*)&relation, (void*)&index, (void*)&iface}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("navigate", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return int(); +} +QObject* PythonQtShell_QAccessibleInterfaceEx::object() const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "object"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QObject*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QObject* returnValue; + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("object", methodInfo, result); + } else { + returnValue = *((QObject**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return 0; +} +QRect PythonQtShell_QAccessibleInterfaceEx::rect(int child) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "rect"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QRect" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + QRect returnValue; + void* args[2] = {NULL, (void*)&child}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("rect", methodInfo, result); + } else { + returnValue = *((QRect*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QRect(); +} +QAccessible::Relation PythonQtShell_QAccessibleInterfaceEx::relationTo(int child, const QAccessibleInterface* other, int otherChild) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "relationTo"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QAccessible::Relation" , "int" , "const QAccessibleInterface*" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + QAccessible::Relation returnValue; + void* args[4] = {NULL, (void*)&child, (void*)&other, (void*)&otherChild}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("relationTo", methodInfo, result); + } else { + returnValue = *((QAccessible::Relation*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QAccessible::Relation(); +} +QAccessible::Role PythonQtShell_QAccessibleInterfaceEx::role(int child) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "role"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QAccessible::Role" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + QAccessible::Role returnValue; + void* args[2] = {NULL, (void*)&child}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("role", methodInfo, result); + } else { + returnValue = *((QAccessible::Role*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QAccessible::Role(); +} +void PythonQtShell_QAccessibleInterfaceEx::setText(QAccessible::Text t, int child, const QString& text) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "setText"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QAccessible::Text" , "int" , "const QString&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + void* args[4] = {NULL, (void*)&t, (void*)&child, (void*)&text}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + +} +QAccessible::State PythonQtShell_QAccessibleInterfaceEx::state(int child) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "state"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QAccessible::State" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + QAccessible::State returnValue; + void* args[2] = {NULL, (void*)&child}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("state", methodInfo, result); + } else { + returnValue = *((QAccessible::State*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QAccessible::State(); +} +QString PythonQtShell_QAccessibleInterfaceEx::text(QAccessible::Text t, int child) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "text"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QString" , "QAccessible::Text" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + QString returnValue; + void* args[3] = {NULL, (void*)&t, (void*)&child}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("text", methodInfo, result); + } else { + returnValue = *((QString*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QString(); +} +int PythonQtShell_QAccessibleInterfaceEx::userActionCount(int child) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "userActionCount"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"int" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + int returnValue; + void* args[2] = {NULL, (void*)&child}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("userActionCount", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return int(); +} +QVariant PythonQtShell_QAccessibleInterfaceEx::virtual_hook(const QVariant& data) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "virtual_hook"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QVariant" , "const QVariant&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + QVariant returnValue; + void* args[2] = {NULL, (void*)&data}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("virtual_hook", methodInfo, result); + } else { + returnValue = *((QVariant*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QAccessibleInterfaceEx::virtual_hook(data); +} +QAccessibleInterfaceEx* PythonQtWrapper_QAccessibleInterfaceEx::new_QAccessibleInterfaceEx() +{ +return new PythonQtShell_QAccessibleInterfaceEx(); } + +QVariant PythonQtWrapper_QAccessibleInterfaceEx::virtual_hook(QAccessibleInterfaceEx* theWrappedObject, const QVariant& data) +{ + return ( ((PythonQtPublicPromoter_QAccessibleInterfaceEx*)theWrappedObject)->promoted_virtual_hook(data)); +} + + + +QString PythonQtShell_QAccessibleObject::actionText(int action, QAccessible::Text t, int child) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "actionText"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QString" , "int" , "QAccessible::Text" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + QString returnValue; + void* args[4] = {NULL, (void*)&action, (void*)&t, (void*)&child}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("actionText", methodInfo, result); + } else { + returnValue = *((QString*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QAccessibleObject::actionText(action, t, child); +} +int PythonQtShell_QAccessibleObject::childAt(int x, int y) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "childAt"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"int" , "int" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + int returnValue; + void* args[3] = {NULL, (void*)&x, (void*)&y}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("childAt", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return int(); +} +int PythonQtShell_QAccessibleObject::childCount() const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "childCount"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + int returnValue; + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("childCount", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return int(); +} +bool PythonQtShell_QAccessibleObject::doAction(int action, int child, const QList& params) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "doAction"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "int" , "int" , "const QList&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + bool returnValue; + void* args[4] = {NULL, (void*)&action, (void*)&child, (void*)¶ms}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("doAction", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QAccessibleObject::doAction(action, child, params); +} +int PythonQtShell_QAccessibleObject::indexOfChild(const QAccessibleInterface* arg__1) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "indexOfChild"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"int" , "const QAccessibleInterface*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + int returnValue; + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("indexOfChild", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return int(); +} +bool PythonQtShell_QAccessibleObject::isValid() const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "isValid"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + bool returnValue; + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("isValid", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QAccessibleObject::isValid(); +} +int PythonQtShell_QAccessibleObject::navigate(QAccessible::RelationFlag relation, int index, QAccessibleInterface** iface) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "navigate"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"int" , "QAccessible::RelationFlag" , "int" , "QAccessibleInterface**"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + int returnValue; + void* args[4] = {NULL, (void*)&relation, (void*)&index, (void*)&iface}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("navigate", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return int(); +} +QObject* PythonQtShell_QAccessibleObject::object() const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "object"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QObject*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QObject* returnValue; + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("object", methodInfo, result); + } else { + returnValue = *((QObject**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QAccessibleObject::object(); +} +QRect PythonQtShell_QAccessibleObject::rect(int child) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "rect"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QRect" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + QRect returnValue; + void* args[2] = {NULL, (void*)&child}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("rect", methodInfo, result); + } else { + returnValue = *((QRect*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QAccessibleObject::rect(child); +} +QAccessible::Relation PythonQtShell_QAccessibleObject::relationTo(int child, const QAccessibleInterface* other, int otherChild) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "relationTo"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QAccessible::Relation" , "int" , "const QAccessibleInterface*" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + QAccessible::Relation returnValue; + void* args[4] = {NULL, (void*)&child, (void*)&other, (void*)&otherChild}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("relationTo", methodInfo, result); + } else { + returnValue = *((QAccessible::Relation*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QAccessible::Relation(); +} +QAccessible::Role PythonQtShell_QAccessibleObject::role(int child) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "role"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QAccessible::Role" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + QAccessible::Role returnValue; + void* args[2] = {NULL, (void*)&child}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("role", methodInfo, result); + } else { + returnValue = *((QAccessible::Role*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QAccessible::Role(); +} +void PythonQtShell_QAccessibleObject::setText(QAccessible::Text t, int child, const QString& text) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "setText"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QAccessible::Text" , "int" , "const QString&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + void* args[4] = {NULL, (void*)&t, (void*)&child, (void*)&text}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QAccessibleObject::setText(t, child, text); +} +QAccessible::State PythonQtShell_QAccessibleObject::state(int child) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "state"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QAccessible::State" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + QAccessible::State returnValue; + void* args[2] = {NULL, (void*)&child}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("state", methodInfo, result); + } else { + returnValue = *((QAccessible::State*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QAccessible::State(); +} +QString PythonQtShell_QAccessibleObject::text(QAccessible::Text t, int child) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "text"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QString" , "QAccessible::Text" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + QString returnValue; + void* args[3] = {NULL, (void*)&t, (void*)&child}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("text", methodInfo, result); + } else { + returnValue = *((QString*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QString(); +} +int PythonQtShell_QAccessibleObject::userActionCount(int child) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "userActionCount"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"int" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + int returnValue; + void* args[2] = {NULL, (void*)&child}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("userActionCount", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QAccessibleObject::userActionCount(child); +} +QAccessibleObject* PythonQtWrapper_QAccessibleObject::new_QAccessibleObject(QObject* object) +{ +return new PythonQtShell_QAccessibleObject(object); } + +QString PythonQtWrapper_QAccessibleObject::actionText(QAccessibleObject* theWrappedObject, int action, QAccessible::Text t, int child) const +{ + return ( ((PythonQtPublicPromoter_QAccessibleObject*)theWrappedObject)->promoted_actionText(action, t, child)); +} + +bool PythonQtWrapper_QAccessibleObject::doAction(QAccessibleObject* theWrappedObject, int action, int child, const QList& params) +{ + return ( ((PythonQtPublicPromoter_QAccessibleObject*)theWrappedObject)->promoted_doAction(action, child, params)); +} + +bool PythonQtWrapper_QAccessibleObject::isValid(QAccessibleObject* theWrappedObject) const +{ + return ( ((PythonQtPublicPromoter_QAccessibleObject*)theWrappedObject)->promoted_isValid()); +} + +QObject* PythonQtWrapper_QAccessibleObject::object(QAccessibleObject* theWrappedObject) const +{ + return ( ((PythonQtPublicPromoter_QAccessibleObject*)theWrappedObject)->promoted_object()); +} + +QRect PythonQtWrapper_QAccessibleObject::rect(QAccessibleObject* theWrappedObject, int child) const +{ + return ( ((PythonQtPublicPromoter_QAccessibleObject*)theWrappedObject)->promoted_rect(child)); +} + +void PythonQtWrapper_QAccessibleObject::setText(QAccessibleObject* theWrappedObject, QAccessible::Text t, int child, const QString& text) +{ + ( ((PythonQtPublicPromoter_QAccessibleObject*)theWrappedObject)->promoted_setText(t, child, text)); +} + +int PythonQtWrapper_QAccessibleObject::userActionCount(QAccessibleObject* theWrappedObject, int child) const +{ + return ( ((PythonQtPublicPromoter_QAccessibleObject*)theWrappedObject)->promoted_userActionCount(child)); +} + + + +QString PythonQtShell_QAccessibleObjectEx::actionText(int action, QAccessible::Text t, int child) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "actionText"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QString" , "int" , "QAccessible::Text" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + QString returnValue; + void* args[4] = {NULL, (void*)&action, (void*)&t, (void*)&child}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("actionText", methodInfo, result); + } else { + returnValue = *((QString*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QAccessibleObjectEx::actionText(action, t, child); +} +int PythonQtShell_QAccessibleObjectEx::childAt(int x, int y) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "childAt"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"int" , "int" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + int returnValue; + void* args[3] = {NULL, (void*)&x, (void*)&y}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("childAt", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return int(); +} +int PythonQtShell_QAccessibleObjectEx::childCount() const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "childCount"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + int returnValue; + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("childCount", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return int(); +} +bool PythonQtShell_QAccessibleObjectEx::doAction(int action, int child, const QList& params) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "doAction"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "int" , "int" , "const QList&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + bool returnValue; + void* args[4] = {NULL, (void*)&action, (void*)&child, (void*)¶ms}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("doAction", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QAccessibleObjectEx::doAction(action, child, params); +} +int PythonQtShell_QAccessibleObjectEx::indexOfChild(const QAccessibleInterface* arg__1) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "indexOfChild"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"int" , "const QAccessibleInterface*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + int returnValue; + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("indexOfChild", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return int(); +} +QVariant PythonQtShell_QAccessibleObjectEx::invokeMethodEx(QAccessible::Method method, int child, const QList& params) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "invokeMethodEx"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QVariant" , "QAccessible::Method" , "int" , "const QList&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + QVariant returnValue; + void* args[4] = {NULL, (void*)&method, (void*)&child, (void*)¶ms}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("invokeMethodEx", methodInfo, result); + } else { + returnValue = *((QVariant*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QVariant(); +} +bool PythonQtShell_QAccessibleObjectEx::isValid() const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "isValid"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + bool returnValue; + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("isValid", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QAccessibleObjectEx::isValid(); +} +int PythonQtShell_QAccessibleObjectEx::navigate(QAccessible::RelationFlag relation, int index, QAccessibleInterface** iface) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "navigate"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"int" , "QAccessible::RelationFlag" , "int" , "QAccessibleInterface**"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + int returnValue; + void* args[4] = {NULL, (void*)&relation, (void*)&index, (void*)&iface}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("navigate", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return int(); +} +QObject* PythonQtShell_QAccessibleObjectEx::object() const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "object"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QObject*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QObject* returnValue; + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("object", methodInfo, result); + } else { + returnValue = *((QObject**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QAccessibleObjectEx::object(); +} +QRect PythonQtShell_QAccessibleObjectEx::rect(int child) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "rect"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QRect" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + QRect returnValue; + void* args[2] = {NULL, (void*)&child}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("rect", methodInfo, result); + } else { + returnValue = *((QRect*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QAccessibleObjectEx::rect(child); +} +QAccessible::Relation PythonQtShell_QAccessibleObjectEx::relationTo(int child, const QAccessibleInterface* other, int otherChild) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "relationTo"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QAccessible::Relation" , "int" , "const QAccessibleInterface*" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + QAccessible::Relation returnValue; + void* args[4] = {NULL, (void*)&child, (void*)&other, (void*)&otherChild}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("relationTo", methodInfo, result); + } else { + returnValue = *((QAccessible::Relation*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QAccessible::Relation(); +} +QAccessible::Role PythonQtShell_QAccessibleObjectEx::role(int child) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "role"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QAccessible::Role" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + QAccessible::Role returnValue; + void* args[2] = {NULL, (void*)&child}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("role", methodInfo, result); + } else { + returnValue = *((QAccessible::Role*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QAccessible::Role(); +} +void PythonQtShell_QAccessibleObjectEx::setText(QAccessible::Text t, int child, const QString& text) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "setText"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QAccessible::Text" , "int" , "const QString&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + void* args[4] = {NULL, (void*)&t, (void*)&child, (void*)&text}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QAccessibleObjectEx::setText(t, child, text); +} +QAccessible::State PythonQtShell_QAccessibleObjectEx::state(int child) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "state"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QAccessible::State" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + QAccessible::State returnValue; + void* args[2] = {NULL, (void*)&child}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("state", methodInfo, result); + } else { + returnValue = *((QAccessible::State*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QAccessible::State(); +} +QString PythonQtShell_QAccessibleObjectEx::text(QAccessible::Text t, int child) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "text"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QString" , "QAccessible::Text" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + QString returnValue; + void* args[3] = {NULL, (void*)&t, (void*)&child}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("text", methodInfo, result); + } else { + returnValue = *((QString*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QString(); +} +int PythonQtShell_QAccessibleObjectEx::userActionCount(int child) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "userActionCount"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"int" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + int returnValue; + void* args[2] = {NULL, (void*)&child}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("userActionCount", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QAccessibleObjectEx::userActionCount(child); +} +QVariant PythonQtShell_QAccessibleObjectEx::virtual_hook(const QVariant& data) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "virtual_hook"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QVariant" , "const QVariant&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + QVariant returnValue; + void* args[2] = {NULL, (void*)&data}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("virtual_hook", methodInfo, result); + } else { + returnValue = *((QVariant*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QAccessibleObjectEx::virtual_hook(data); +} +QAccessibleObjectEx* PythonQtWrapper_QAccessibleObjectEx::new_QAccessibleObjectEx(QObject* object) +{ +return new PythonQtShell_QAccessibleObjectEx(object); } + +QString PythonQtWrapper_QAccessibleObjectEx::actionText(QAccessibleObjectEx* theWrappedObject, int action, QAccessible::Text t, int child) const +{ + return ( ((PythonQtPublicPromoter_QAccessibleObjectEx*)theWrappedObject)->promoted_actionText(action, t, child)); +} + +bool PythonQtWrapper_QAccessibleObjectEx::doAction(QAccessibleObjectEx* theWrappedObject, int action, int child, const QList& params) +{ + return ( ((PythonQtPublicPromoter_QAccessibleObjectEx*)theWrappedObject)->promoted_doAction(action, child, params)); +} + +bool PythonQtWrapper_QAccessibleObjectEx::isValid(QAccessibleObjectEx* theWrappedObject) const +{ + return ( ((PythonQtPublicPromoter_QAccessibleObjectEx*)theWrappedObject)->promoted_isValid()); +} + +QObject* PythonQtWrapper_QAccessibleObjectEx::object(QAccessibleObjectEx* theWrappedObject) const +{ + return ( ((PythonQtPublicPromoter_QAccessibleObjectEx*)theWrappedObject)->promoted_object()); +} + +QRect PythonQtWrapper_QAccessibleObjectEx::rect(QAccessibleObjectEx* theWrappedObject, int child) const +{ + return ( ((PythonQtPublicPromoter_QAccessibleObjectEx*)theWrappedObject)->promoted_rect(child)); +} + +void PythonQtWrapper_QAccessibleObjectEx::setText(QAccessibleObjectEx* theWrappedObject, QAccessible::Text t, int child, const QString& text) +{ + ( ((PythonQtPublicPromoter_QAccessibleObjectEx*)theWrappedObject)->promoted_setText(t, child, text)); +} + +int PythonQtWrapper_QAccessibleObjectEx::userActionCount(QAccessibleObjectEx* theWrappedObject, int child) const +{ + return ( ((PythonQtPublicPromoter_QAccessibleObjectEx*)theWrappedObject)->promoted_userActionCount(child)); +} + + + +void PythonQtShell_QAccessiblePlugin::childEvent(QChildEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "childEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QChildEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QAccessiblePlugin::childEvent(arg__1); +} +QAccessibleInterface* PythonQtShell_QAccessiblePlugin::create(const QString& key, QObject* object) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "create"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QAccessibleInterface*" , "const QString&" , "QObject*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + QAccessibleInterface* returnValue; + void* args[3] = {NULL, (void*)&key, (void*)&object}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("create", methodInfo, result); + } else { + returnValue = *((QAccessibleInterface**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return 0; +} +void PythonQtShell_QAccessiblePlugin::customEvent(QEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "customEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QAccessiblePlugin::customEvent(arg__1); +} +bool PythonQtShell_QAccessiblePlugin::event(QEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "event"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue; + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QAccessiblePlugin::event(arg__1); +} +bool PythonQtShell_QAccessiblePlugin::eventFilter(QObject* arg__1, QEvent* arg__2) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "eventFilter"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue; + void* args[3] = {NULL, (void*)&arg__1, (void*)&arg__2}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QAccessiblePlugin::eventFilter(arg__1, arg__2); +} +QStringList PythonQtShell_QAccessiblePlugin::keys() const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "keys"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QStringList"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QStringList returnValue; + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("keys", methodInfo, result); + } else { + returnValue = *((QStringList*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QStringList(); +} +void PythonQtShell_QAccessiblePlugin::timerEvent(QTimerEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "timerEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QTimerEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QAccessiblePlugin::timerEvent(arg__1); +} +QAccessiblePlugin* PythonQtWrapper_QAccessiblePlugin::new_QAccessiblePlugin(QObject* parent) +{ +return new PythonQtShell_QAccessiblePlugin(parent); } + + + +QAccessibleInterface* PythonQtShell_QAccessibleTableInterface::accessibleAt(int row, int column) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "accessibleAt"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QAccessibleInterface*" , "int" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + QAccessibleInterface* returnValue; + void* args[3] = {NULL, (void*)&row, (void*)&column}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("accessibleAt", methodInfo, result); + } else { + returnValue = *((QAccessibleInterface**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return 0; +} +QAccessibleInterface* PythonQtShell_QAccessibleTableInterface::caption() +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "caption"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QAccessibleInterface*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QAccessibleInterface* returnValue; + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("caption", methodInfo, result); + } else { + returnValue = *((QAccessibleInterface**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return 0; +} +void PythonQtShell_QAccessibleTableInterface::cellAtIndex(int index, int* row, int* column, int* rowSpan, int* columnSpan, bool* isSelected) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "cellAtIndex"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "int" , "int*" , "int*" , "int*" , "int*" , "bool*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(7, argumentList); + void* args[7] = {NULL, (void*)&index, (void*)&row, (void*)&column, (void*)&rowSpan, (void*)&columnSpan, (void*)&isSelected}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + +} +int PythonQtShell_QAccessibleTableInterface::childIndex(int rowIndex, int columnIndex) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "childIndex"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"int" , "int" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + int returnValue; + void* args[3] = {NULL, (void*)&rowIndex, (void*)&columnIndex}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("childIndex", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return int(); +} +int PythonQtShell_QAccessibleTableInterface::columnCount() +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "columnCount"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + int returnValue; + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("columnCount", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return int(); +} +QString PythonQtShell_QAccessibleTableInterface::columnDescription(int column) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "columnDescription"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QString" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + QString returnValue; + void* args[2] = {NULL, (void*)&column}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("columnDescription", methodInfo, result); + } else { + returnValue = *((QString*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QString(); +} +QAccessibleInterface* PythonQtShell_QAccessibleTableInterface::columnHeader() +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "columnHeader"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QAccessibleInterface*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QAccessibleInterface* returnValue; + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("columnHeader", methodInfo, result); + } else { + returnValue = *((QAccessibleInterface**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return 0; +} +int PythonQtShell_QAccessibleTableInterface::columnIndex(int childIndex) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "columnIndex"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"int" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + int returnValue; + void* args[2] = {NULL, (void*)&childIndex}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("columnIndex", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return int(); +} +int PythonQtShell_QAccessibleTableInterface::columnSpan(int row, int column) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "columnSpan"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"int" , "int" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + int returnValue; + void* args[3] = {NULL, (void*)&row, (void*)&column}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("columnSpan", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return int(); +} +bool PythonQtShell_QAccessibleTableInterface::isColumnSelected(int column) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "isColumnSelected"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue; + void* args[2] = {NULL, (void*)&column}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("isColumnSelected", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return bool(); +} +bool PythonQtShell_QAccessibleTableInterface::isRowSelected(int row) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "isRowSelected"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue; + void* args[2] = {NULL, (void*)&row}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("isRowSelected", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return bool(); +} +bool PythonQtShell_QAccessibleTableInterface::isSelected(int row, int column) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "isSelected"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "int" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue; + void* args[3] = {NULL, (void*)&row, (void*)&column}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("isSelected", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return bool(); +} +int PythonQtShell_QAccessibleTableInterface::rowCount() +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "rowCount"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + int returnValue; + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("rowCount", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return int(); +} +QString PythonQtShell_QAccessibleTableInterface::rowDescription(int row) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "rowDescription"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QString" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + QString returnValue; + void* args[2] = {NULL, (void*)&row}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("rowDescription", methodInfo, result); + } else { + returnValue = *((QString*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QString(); +} +QAccessibleInterface* PythonQtShell_QAccessibleTableInterface::rowHeader() +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "rowHeader"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QAccessibleInterface*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QAccessibleInterface* returnValue; + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("rowHeader", methodInfo, result); + } else { + returnValue = *((QAccessibleInterface**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return 0; +} +int PythonQtShell_QAccessibleTableInterface::rowIndex(int childIndex) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "rowIndex"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"int" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + int returnValue; + void* args[2] = {NULL, (void*)&childIndex}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("rowIndex", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return int(); +} +int PythonQtShell_QAccessibleTableInterface::rowSpan(int row, int column) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "rowSpan"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"int" , "int" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + int returnValue; + void* args[3] = {NULL, (void*)&row, (void*)&column}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("rowSpan", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return int(); +} +void PythonQtShell_QAccessibleTableInterface::selectColumn(int column) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "selectColumn"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&column}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + +} +void PythonQtShell_QAccessibleTableInterface::selectRow(int row) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "selectRow"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&row}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + +} +int PythonQtShell_QAccessibleTableInterface::selectedColumnCount() +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "selectedColumnCount"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + int returnValue; + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("selectedColumnCount", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return int(); +} +int PythonQtShell_QAccessibleTableInterface::selectedColumns(int maxColumns, QList* columns) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "selectedColumns"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"int" , "int" , "QList*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + int returnValue; + void* args[3] = {NULL, (void*)&maxColumns, (void*)&columns}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("selectedColumns", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return int(); +} +int PythonQtShell_QAccessibleTableInterface::selectedRowCount() +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "selectedRowCount"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + int returnValue; + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("selectedRowCount", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return int(); +} +int PythonQtShell_QAccessibleTableInterface::selectedRows(int maxRows, QList* rows) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "selectedRows"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"int" , "int" , "QList*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + int returnValue; + void* args[3] = {NULL, (void*)&maxRows, (void*)&rows}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("selectedRows", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return int(); +} +QAccessibleInterface* PythonQtShell_QAccessibleTableInterface::summary() +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "summary"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QAccessibleInterface*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QAccessibleInterface* returnValue; + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("summary", methodInfo, result); + } else { + returnValue = *((QAccessibleInterface**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return 0; +} +void PythonQtShell_QAccessibleTableInterface::unselectColumn(int column) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "unselectColumn"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&column}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + +} +void PythonQtShell_QAccessibleTableInterface::unselectRow(int row) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "unselectRow"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&row}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + +} +QAccessibleTableInterface* PythonQtWrapper_QAccessibleTableInterface::new_QAccessibleTableInterface() +{ +return new PythonQtShell_QAccessibleTableInterface(); } + + + +QString PythonQtShell_QAccessibleWidget::actionText(int action, QAccessible::Text t, int child) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "actionText"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QString" , "int" , "QAccessible::Text" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + QString returnValue; + void* args[4] = {NULL, (void*)&action, (void*)&t, (void*)&child}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("actionText", methodInfo, result); + } else { + returnValue = *((QString*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QAccessibleWidget::actionText(action, t, child); +} +int PythonQtShell_QAccessibleWidget::childAt(int x, int y) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "childAt"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"int" , "int" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + int returnValue; + void* args[3] = {NULL, (void*)&x, (void*)&y}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("childAt", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QAccessibleWidget::childAt(x, y); +} +int PythonQtShell_QAccessibleWidget::childCount() const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "childCount"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + int returnValue; + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("childCount", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QAccessibleWidget::childCount(); +} +bool PythonQtShell_QAccessibleWidget::doAction(int action, int child, const QList& params) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "doAction"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "int" , "int" , "const QList&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + bool returnValue; + void* args[4] = {NULL, (void*)&action, (void*)&child, (void*)¶ms}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("doAction", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QAccessibleWidget::doAction(action, child, params); +} +int PythonQtShell_QAccessibleWidget::indexOfChild(const QAccessibleInterface* child) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "indexOfChild"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"int" , "const QAccessibleInterface*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + int returnValue; + void* args[2] = {NULL, (void*)&child}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("indexOfChild", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QAccessibleWidget::indexOfChild(child); +} +bool PythonQtShell_QAccessibleWidget::isValid() const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "isValid"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + bool returnValue; + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("isValid", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QAccessibleWidget::isValid(); +} +int PythonQtShell_QAccessibleWidget::navigate(QAccessible::RelationFlag rel, int entry, QAccessibleInterface** target) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "navigate"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"int" , "QAccessible::RelationFlag" , "int" , "QAccessibleInterface**"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + int returnValue; + void* args[4] = {NULL, (void*)&rel, (void*)&entry, (void*)&target}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("navigate", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QAccessibleWidget::navigate(rel, entry, target); +} +QObject* PythonQtShell_QAccessibleWidget::object() const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "object"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QObject*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QObject* returnValue; + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("object", methodInfo, result); + } else { + returnValue = *((QObject**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QAccessibleWidget::object(); +} +QRect PythonQtShell_QAccessibleWidget::rect(int child) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "rect"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QRect" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + QRect returnValue; + void* args[2] = {NULL, (void*)&child}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("rect", methodInfo, result); + } else { + returnValue = *((QRect*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QAccessibleWidget::rect(child); +} +QAccessible::Relation PythonQtShell_QAccessibleWidget::relationTo(int child, const QAccessibleInterface* other, int otherChild) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "relationTo"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QAccessible::Relation" , "int" , "const QAccessibleInterface*" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + QAccessible::Relation returnValue; + void* args[4] = {NULL, (void*)&child, (void*)&other, (void*)&otherChild}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("relationTo", methodInfo, result); + } else { + returnValue = *((QAccessible::Relation*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QAccessibleWidget::relationTo(child, other, otherChild); +} +QAccessible::Role PythonQtShell_QAccessibleWidget::role(int child) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "role"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QAccessible::Role" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + QAccessible::Role returnValue; + void* args[2] = {NULL, (void*)&child}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("role", methodInfo, result); + } else { + returnValue = *((QAccessible::Role*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QAccessibleWidget::role(child); +} +void PythonQtShell_QAccessibleWidget::setText(QAccessible::Text t, int child, const QString& text) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "setText"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QAccessible::Text" , "int" , "const QString&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + void* args[4] = {NULL, (void*)&t, (void*)&child, (void*)&text}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QAccessibleWidget::setText(t, child, text); +} +QAccessible::State PythonQtShell_QAccessibleWidget::state(int child) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "state"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QAccessible::State" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + QAccessible::State returnValue; + void* args[2] = {NULL, (void*)&child}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("state", methodInfo, result); + } else { + returnValue = *((QAccessible::State*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QAccessibleWidget::state(child); +} +QString PythonQtShell_QAccessibleWidget::text(QAccessible::Text t, int child) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "text"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QString" , "QAccessible::Text" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + QString returnValue; + void* args[3] = {NULL, (void*)&t, (void*)&child}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("text", methodInfo, result); + } else { + returnValue = *((QString*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QAccessibleWidget::text(t, child); +} +int PythonQtShell_QAccessibleWidget::userActionCount(int child) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "userActionCount"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"int" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + int returnValue; + void* args[2] = {NULL, (void*)&child}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("userActionCount", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QAccessibleWidget::userActionCount(child); +} +QAccessibleWidget* PythonQtWrapper_QAccessibleWidget::new_QAccessibleWidget(QWidget* o, QAccessible::Role r, const QString& name) +{ +return new PythonQtShell_QAccessibleWidget(o, r, name); } + +QString PythonQtWrapper_QAccessibleWidget::actionText(QAccessibleWidget* theWrappedObject, int action, QAccessible::Text t, int child) const +{ + return ( ((PythonQtPublicPromoter_QAccessibleWidget*)theWrappedObject)->promoted_actionText(action, t, child)); +} + +int PythonQtWrapper_QAccessibleWidget::childAt(QAccessibleWidget* theWrappedObject, int x, int y) const +{ + return ( ((PythonQtPublicPromoter_QAccessibleWidget*)theWrappedObject)->promoted_childAt(x, y)); +} + +int PythonQtWrapper_QAccessibleWidget::childCount(QAccessibleWidget* theWrappedObject) const +{ + return ( ((PythonQtPublicPromoter_QAccessibleWidget*)theWrappedObject)->promoted_childCount()); +} + +bool PythonQtWrapper_QAccessibleWidget::doAction(QAccessibleWidget* theWrappedObject, int action, int child, const QList& params) +{ + return ( ((PythonQtPublicPromoter_QAccessibleWidget*)theWrappedObject)->promoted_doAction(action, child, params)); +} + +int PythonQtWrapper_QAccessibleWidget::indexOfChild(QAccessibleWidget* theWrappedObject, const QAccessibleInterface* child) const +{ + return ( ((PythonQtPublicPromoter_QAccessibleWidget*)theWrappedObject)->promoted_indexOfChild(child)); +} + +int PythonQtWrapper_QAccessibleWidget::navigate(QAccessibleWidget* theWrappedObject, QAccessible::RelationFlag rel, int entry, QAccessibleInterface** target) const +{ + return ( ((PythonQtPublicPromoter_QAccessibleWidget*)theWrappedObject)->promoted_navigate(rel, entry, target)); +} + +QRect PythonQtWrapper_QAccessibleWidget::rect(QAccessibleWidget* theWrappedObject, int child) const +{ + return ( ((PythonQtPublicPromoter_QAccessibleWidget*)theWrappedObject)->promoted_rect(child)); +} + +QAccessible::Relation PythonQtWrapper_QAccessibleWidget::relationTo(QAccessibleWidget* theWrappedObject, int child, const QAccessibleInterface* other, int otherChild) const +{ + return ( ((PythonQtPublicPromoter_QAccessibleWidget*)theWrappedObject)->promoted_relationTo(child, other, otherChild)); +} + +QAccessible::Role PythonQtWrapper_QAccessibleWidget::role(QAccessibleWidget* theWrappedObject, int child) const +{ + return ( ((PythonQtPublicPromoter_QAccessibleWidget*)theWrappedObject)->promoted_role(child)); +} + +QAccessible::State PythonQtWrapper_QAccessibleWidget::state(QAccessibleWidget* theWrappedObject, int child) const +{ + return ( ((PythonQtPublicPromoter_QAccessibleWidget*)theWrappedObject)->promoted_state(child)); +} + +QString PythonQtWrapper_QAccessibleWidget::text(QAccessibleWidget* theWrappedObject, QAccessible::Text t, int child) const +{ + return ( ((PythonQtPublicPromoter_QAccessibleWidget*)theWrappedObject)->promoted_text(t, child)); +} + +int PythonQtWrapper_QAccessibleWidget::userActionCount(QAccessibleWidget* theWrappedObject, int child) const +{ + return ( ((PythonQtPublicPromoter_QAccessibleWidget*)theWrappedObject)->promoted_userActionCount(child)); +} + + + +QString PythonQtShell_QAccessibleWidgetEx::actionText(int action, QAccessible::Text t, int child) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "actionText"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QString" , "int" , "QAccessible::Text" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + QString returnValue; + void* args[4] = {NULL, (void*)&action, (void*)&t, (void*)&child}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("actionText", methodInfo, result); + } else { + returnValue = *((QString*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QAccessibleWidgetEx::actionText(action, t, child); +} +int PythonQtShell_QAccessibleWidgetEx::childAt(int x, int y) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "childAt"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"int" , "int" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + int returnValue; + void* args[3] = {NULL, (void*)&x, (void*)&y}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("childAt", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QAccessibleWidgetEx::childAt(x, y); +} +int PythonQtShell_QAccessibleWidgetEx::childCount() const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "childCount"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + int returnValue; + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("childCount", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QAccessibleWidgetEx::childCount(); +} +bool PythonQtShell_QAccessibleWidgetEx::doAction(int action, int child, const QList& params) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "doAction"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "int" , "int" , "const QList&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + bool returnValue; + void* args[4] = {NULL, (void*)&action, (void*)&child, (void*)¶ms}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("doAction", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QAccessibleWidgetEx::doAction(action, child, params); +} +int PythonQtShell_QAccessibleWidgetEx::indexOfChild(const QAccessibleInterface* child) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "indexOfChild"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"int" , "const QAccessibleInterface*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + int returnValue; + void* args[2] = {NULL, (void*)&child}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("indexOfChild", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QAccessibleWidgetEx::indexOfChild(child); +} +QVariant PythonQtShell_QAccessibleWidgetEx::invokeMethodEx(QAccessible::Method method, int child, const QList& params) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "invokeMethodEx"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QVariant" , "QAccessible::Method" , "int" , "const QList&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + QVariant returnValue; + void* args[4] = {NULL, (void*)&method, (void*)&child, (void*)¶ms}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("invokeMethodEx", methodInfo, result); + } else { + returnValue = *((QVariant*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QAccessibleWidgetEx::invokeMethodEx(method, child, params); +} +bool PythonQtShell_QAccessibleWidgetEx::isValid() const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "isValid"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + bool returnValue; + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("isValid", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QAccessibleWidgetEx::isValid(); +} +int PythonQtShell_QAccessibleWidgetEx::navigate(QAccessible::RelationFlag rel, int entry, QAccessibleInterface** target) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "navigate"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"int" , "QAccessible::RelationFlag" , "int" , "QAccessibleInterface**"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + int returnValue; + void* args[4] = {NULL, (void*)&rel, (void*)&entry, (void*)&target}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("navigate", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QAccessibleWidgetEx::navigate(rel, entry, target); +} +QObject* PythonQtShell_QAccessibleWidgetEx::object() const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "object"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QObject*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QObject* returnValue; + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("object", methodInfo, result); + } else { + returnValue = *((QObject**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QAccessibleWidgetEx::object(); +} +QRect PythonQtShell_QAccessibleWidgetEx::rect(int child) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "rect"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QRect" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + QRect returnValue; + void* args[2] = {NULL, (void*)&child}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("rect", methodInfo, result); + } else { + returnValue = *((QRect*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QAccessibleWidgetEx::rect(child); +} +QAccessible::Relation PythonQtShell_QAccessibleWidgetEx::relationTo(int child, const QAccessibleInterface* other, int otherChild) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "relationTo"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QAccessible::Relation" , "int" , "const QAccessibleInterface*" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + QAccessible::Relation returnValue; + void* args[4] = {NULL, (void*)&child, (void*)&other, (void*)&otherChild}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("relationTo", methodInfo, result); + } else { + returnValue = *((QAccessible::Relation*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QAccessibleWidgetEx::relationTo(child, other, otherChild); +} +QAccessible::Role PythonQtShell_QAccessibleWidgetEx::role(int child) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "role"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QAccessible::Role" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + QAccessible::Role returnValue; + void* args[2] = {NULL, (void*)&child}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("role", methodInfo, result); + } else { + returnValue = *((QAccessible::Role*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QAccessibleWidgetEx::role(child); +} +void PythonQtShell_QAccessibleWidgetEx::setText(QAccessible::Text t, int child, const QString& text) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "setText"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QAccessible::Text" , "int" , "const QString&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + void* args[4] = {NULL, (void*)&t, (void*)&child, (void*)&text}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QAccessibleWidgetEx::setText(t, child, text); +} +QAccessible::State PythonQtShell_QAccessibleWidgetEx::state(int child) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "state"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QAccessible::State" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + QAccessible::State returnValue; + void* args[2] = {NULL, (void*)&child}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("state", methodInfo, result); + } else { + returnValue = *((QAccessible::State*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QAccessibleWidgetEx::state(child); +} +QString PythonQtShell_QAccessibleWidgetEx::text(QAccessible::Text t, int child) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "text"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QString" , "QAccessible::Text" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + QString returnValue; + void* args[3] = {NULL, (void*)&t, (void*)&child}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("text", methodInfo, result); + } else { + returnValue = *((QString*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QAccessibleWidgetEx::text(t, child); +} +int PythonQtShell_QAccessibleWidgetEx::userActionCount(int child) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "userActionCount"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"int" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + int returnValue; + void* args[2] = {NULL, (void*)&child}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("userActionCount", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QAccessibleWidgetEx::userActionCount(child); +} +QVariant PythonQtShell_QAccessibleWidgetEx::virtual_hook(const QVariant& data) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "virtual_hook"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QVariant" , "const QVariant&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + QVariant returnValue; + void* args[2] = {NULL, (void*)&data}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("virtual_hook", methodInfo, result); + } else { + returnValue = *((QVariant*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QAccessibleWidgetEx::virtual_hook(data); +} +QAccessibleWidgetEx* PythonQtWrapper_QAccessibleWidgetEx::new_QAccessibleWidgetEx(QWidget* o, QAccessible::Role r, const QString& name) +{ +return new PythonQtShell_QAccessibleWidgetEx(o, r, name); } + +QString PythonQtWrapper_QAccessibleWidgetEx::actionText(QAccessibleWidgetEx* theWrappedObject, int action, QAccessible::Text t, int child) const +{ + return ( ((PythonQtPublicPromoter_QAccessibleWidgetEx*)theWrappedObject)->promoted_actionText(action, t, child)); +} + +int PythonQtWrapper_QAccessibleWidgetEx::childAt(QAccessibleWidgetEx* theWrappedObject, int x, int y) const +{ + return ( ((PythonQtPublicPromoter_QAccessibleWidgetEx*)theWrappedObject)->promoted_childAt(x, y)); +} + +int PythonQtWrapper_QAccessibleWidgetEx::childCount(QAccessibleWidgetEx* theWrappedObject) const +{ + return ( ((PythonQtPublicPromoter_QAccessibleWidgetEx*)theWrappedObject)->promoted_childCount()); +} + +bool PythonQtWrapper_QAccessibleWidgetEx::doAction(QAccessibleWidgetEx* theWrappedObject, int action, int child, const QList& params) +{ + return ( ((PythonQtPublicPromoter_QAccessibleWidgetEx*)theWrappedObject)->promoted_doAction(action, child, params)); +} + +int PythonQtWrapper_QAccessibleWidgetEx::indexOfChild(QAccessibleWidgetEx* theWrappedObject, const QAccessibleInterface* child) const +{ + return ( ((PythonQtPublicPromoter_QAccessibleWidgetEx*)theWrappedObject)->promoted_indexOfChild(child)); +} + +QVariant PythonQtWrapper_QAccessibleWidgetEx::invokeMethodEx(QAccessibleWidgetEx* theWrappedObject, QAccessible::Method method, int child, const QList& params) +{ + return ( ((PythonQtPublicPromoter_QAccessibleWidgetEx*)theWrappedObject)->promoted_invokeMethodEx(method, child, params)); +} + +int PythonQtWrapper_QAccessibleWidgetEx::navigate(QAccessibleWidgetEx* theWrappedObject, QAccessible::RelationFlag rel, int entry, QAccessibleInterface** target) const +{ + return ( ((PythonQtPublicPromoter_QAccessibleWidgetEx*)theWrappedObject)->promoted_navigate(rel, entry, target)); +} + +QRect PythonQtWrapper_QAccessibleWidgetEx::rect(QAccessibleWidgetEx* theWrappedObject, int child) const +{ + return ( ((PythonQtPublicPromoter_QAccessibleWidgetEx*)theWrappedObject)->promoted_rect(child)); +} + +QAccessible::Relation PythonQtWrapper_QAccessibleWidgetEx::relationTo(QAccessibleWidgetEx* theWrappedObject, int child, const QAccessibleInterface* other, int otherChild) const +{ + return ( ((PythonQtPublicPromoter_QAccessibleWidgetEx*)theWrappedObject)->promoted_relationTo(child, other, otherChild)); +} + +QAccessible::Role PythonQtWrapper_QAccessibleWidgetEx::role(QAccessibleWidgetEx* theWrappedObject, int child) const +{ + return ( ((PythonQtPublicPromoter_QAccessibleWidgetEx*)theWrappedObject)->promoted_role(child)); +} + +QAccessible::State PythonQtWrapper_QAccessibleWidgetEx::state(QAccessibleWidgetEx* theWrappedObject, int child) const +{ + return ( ((PythonQtPublicPromoter_QAccessibleWidgetEx*)theWrappedObject)->promoted_state(child)); +} + +QString PythonQtWrapper_QAccessibleWidgetEx::text(QAccessibleWidgetEx* theWrappedObject, QAccessible::Text t, int child) const +{ + return ( ((PythonQtPublicPromoter_QAccessibleWidgetEx*)theWrappedObject)->promoted_text(t, child)); +} + + + +void PythonQtShell_QAction::childEvent(QChildEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "childEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QChildEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QAction::childEvent(arg__1); +} +void PythonQtShell_QAction::customEvent(QEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "customEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QAction::customEvent(arg__1); +} +bool PythonQtShell_QAction::event(QEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "event"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue; + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QAction::event(arg__1); +} +bool PythonQtShell_QAction::eventFilter(QObject* arg__1, QEvent* arg__2) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "eventFilter"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue; + void* args[3] = {NULL, (void*)&arg__1, (void*)&arg__2}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QAction::eventFilter(arg__1, arg__2); +} +void PythonQtShell_QAction::timerEvent(QTimerEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "timerEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QTimerEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QAction::timerEvent(arg__1); +} +QAction* PythonQtWrapper_QAction::new_QAction(QObject* parent) +{ +return new PythonQtShell_QAction(parent); } + +QAction* PythonQtWrapper_QAction::new_QAction(const QIcon& icon, const QString& text, QObject* parent) +{ +return new PythonQtShell_QAction(icon, text, parent); } + +QAction* PythonQtWrapper_QAction::new_QAction(const QString& text, QObject* parent) +{ +return new PythonQtShell_QAction(text, parent); } + +QActionGroup* PythonQtWrapper_QAction::actionGroup(QAction* theWrappedObject) const +{ + return ( theWrappedObject->actionGroup()); +} + +void PythonQtWrapper_QAction::activate(QAction* theWrappedObject, QAction::ActionEvent event) +{ + ( theWrappedObject->activate(event)); +} + +QList PythonQtWrapper_QAction::associatedGraphicsWidgets(QAction* theWrappedObject) const +{ + return ( theWrappedObject->associatedGraphicsWidgets()); +} + +QList PythonQtWrapper_QAction::associatedWidgets(QAction* theWrappedObject) const +{ + return ( theWrappedObject->associatedWidgets()); +} + +bool PythonQtWrapper_QAction::autoRepeat(QAction* theWrappedObject) const +{ + return ( theWrappedObject->autoRepeat()); +} + +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()); +} + +QIcon PythonQtWrapper_QAction::icon(QAction* theWrappedObject) const +{ + return ( theWrappedObject->icon()); +} + +QString PythonQtWrapper_QAction::iconText(QAction* theWrappedObject) const +{ + return ( theWrappedObject->iconText()); +} + +bool PythonQtWrapper_QAction::isCheckable(QAction* theWrappedObject) const +{ + return ( theWrappedObject->isCheckable()); +} + +bool PythonQtWrapper_QAction::isChecked(QAction* theWrappedObject) const +{ + return ( theWrappedObject->isChecked()); +} + +bool PythonQtWrapper_QAction::isEnabled(QAction* theWrappedObject) const +{ + return ( theWrappedObject->isEnabled()); +} + +bool PythonQtWrapper_QAction::isIconVisibleInMenu(QAction* theWrappedObject) const +{ + return ( theWrappedObject->isIconVisibleInMenu()); +} + +bool PythonQtWrapper_QAction::isSeparator(QAction* theWrappedObject) const +{ + return ( theWrappedObject->isSeparator()); +} + +bool PythonQtWrapper_QAction::isVisible(QAction* theWrappedObject) const +{ + return ( theWrappedObject->isVisible()); +} + +QMenu* PythonQtWrapper_QAction::menu(QAction* theWrappedObject) const +{ + return ( theWrappedObject->menu()); +} + +QAction::MenuRole PythonQtWrapper_QAction::menuRole(QAction* theWrappedObject) const +{ + return ( theWrappedObject->menuRole()); +} + +QWidget* PythonQtWrapper_QAction::parentWidget(QAction* theWrappedObject) const +{ + return ( theWrappedObject->parentWidget()); +} + +QAction::Priority PythonQtWrapper_QAction::priority(QAction* theWrappedObject) const +{ + return ( theWrappedObject->priority()); +} + +void PythonQtWrapper_QAction::setActionGroup(QAction* theWrappedObject, QActionGroup* group) +{ + ( theWrappedObject->setActionGroup(group)); +} + +void PythonQtWrapper_QAction::setAutoRepeat(QAction* theWrappedObject, bool arg__1) +{ + ( theWrappedObject->setAutoRepeat(arg__1)); +} + +void PythonQtWrapper_QAction::setCheckable(QAction* theWrappedObject, bool arg__1) +{ + ( theWrappedObject->setCheckable(arg__1)); +} + +void PythonQtWrapper_QAction::setData(QAction* theWrappedObject, const QVariant& var) +{ + ( theWrappedObject->setData(var)); +} + +void PythonQtWrapper_QAction::setFont(QAction* theWrappedObject, const QFont& font) +{ + ( theWrappedObject->setFont(font)); +} + +void PythonQtWrapper_QAction::setIcon(QAction* theWrappedObject, const QIcon& icon) +{ + ( theWrappedObject->setIcon(icon)); +} + +void PythonQtWrapper_QAction::setIconText(QAction* theWrappedObject, const QString& text) +{ + ( theWrappedObject->setIconText(text)); +} + +void PythonQtWrapper_QAction::setIconVisibleInMenu(QAction* theWrappedObject, bool visible) +{ + ( theWrappedObject->setIconVisibleInMenu(visible)); +} + +void PythonQtWrapper_QAction::setMenu(QAction* theWrappedObject, QMenu* menu) +{ + ( theWrappedObject->setMenu(menu)); +} + +void PythonQtWrapper_QAction::setMenuRole(QAction* theWrappedObject, QAction::MenuRole menuRole) +{ + ( theWrappedObject->setMenuRole(menuRole)); +} + +void PythonQtWrapper_QAction::setPriority(QAction* theWrappedObject, QAction::Priority priority) +{ + ( theWrappedObject->setPriority(priority)); +} + +void PythonQtWrapper_QAction::setSeparator(QAction* theWrappedObject, bool b) +{ + ( theWrappedObject->setSeparator(b)); +} + +void PythonQtWrapper_QAction::setShortcut(QAction* theWrappedObject, const QKeySequence& shortcut) +{ + ( theWrappedObject->setShortcut(shortcut)); +} + +void PythonQtWrapper_QAction::setShortcutContext(QAction* theWrappedObject, Qt::ShortcutContext context) +{ + ( theWrappedObject->setShortcutContext(context)); +} + +void PythonQtWrapper_QAction::setShortcuts(QAction* theWrappedObject, QKeySequence::StandardKey arg__1) +{ + ( theWrappedObject->setShortcuts(arg__1)); +} + +void PythonQtWrapper_QAction::setShortcuts(QAction* theWrappedObject, const QList& shortcuts) +{ + ( theWrappedObject->setShortcuts(shortcuts)); +} + +void PythonQtWrapper_QAction::setSoftKeyRole(QAction* theWrappedObject, QAction::SoftKeyRole softKeyRole) +{ + ( theWrappedObject->setSoftKeyRole(softKeyRole)); +} + +void PythonQtWrapper_QAction::setStatusTip(QAction* theWrappedObject, const QString& statusTip) +{ + ( theWrappedObject->setStatusTip(statusTip)); +} + +void PythonQtWrapper_QAction::setText(QAction* theWrappedObject, const QString& text) +{ + ( theWrappedObject->setText(text)); +} + +void PythonQtWrapper_QAction::setToolTip(QAction* theWrappedObject, const QString& tip) +{ + ( theWrappedObject->setToolTip(tip)); +} + +void PythonQtWrapper_QAction::setWhatsThis(QAction* theWrappedObject, const QString& what) +{ + ( theWrappedObject->setWhatsThis(what)); +} + +QKeySequence PythonQtWrapper_QAction::shortcut(QAction* theWrappedObject) const +{ + return ( theWrappedObject->shortcut()); +} + +Qt::ShortcutContext PythonQtWrapper_QAction::shortcutContext(QAction* theWrappedObject) const +{ + return ( theWrappedObject->shortcutContext()); +} + +QList PythonQtWrapper_QAction::shortcuts(QAction* theWrappedObject) const +{ + return ( theWrappedObject->shortcuts()); +} + +bool PythonQtWrapper_QAction::showStatusText(QAction* theWrappedObject, QWidget* widget) +{ + return ( theWrappedObject->showStatusText(widget)); +} + +QAction::SoftKeyRole PythonQtWrapper_QAction::softKeyRole(QAction* theWrappedObject) const +{ + return ( theWrappedObject->softKeyRole()); +} + +QString PythonQtWrapper_QAction::statusTip(QAction* theWrappedObject) const +{ + return ( theWrappedObject->statusTip()); +} + +QString PythonQtWrapper_QAction::text(QAction* theWrappedObject) const +{ + return ( theWrappedObject->text()); +} + +QString PythonQtWrapper_QAction::toolTip(QAction* theWrappedObject) const +{ + return ( theWrappedObject->toolTip()); +} + +QString PythonQtWrapper_QAction::whatsThis(QAction* theWrappedObject) const +{ + return ( theWrappedObject->whatsThis()); +} + + + +QActionEvent* PythonQtWrapper_QActionEvent::new_QActionEvent(int type, QAction* action, QAction* before) +{ +return new QActionEvent(type, action, before); } + +QAction* PythonQtWrapper_QActionEvent::action(QActionEvent* theWrappedObject) const +{ + return ( theWrappedObject->action()); +} + +QAction* PythonQtWrapper_QActionEvent::before(QActionEvent* theWrappedObject) const +{ + return ( theWrappedObject->before()); +} + + + +void PythonQtShell_QActionGroup::childEvent(QChildEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "childEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QChildEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QActionGroup::childEvent(arg__1); +} +void PythonQtShell_QActionGroup::customEvent(QEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "customEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QActionGroup::customEvent(arg__1); +} +bool PythonQtShell_QActionGroup::event(QEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "event"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue; + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QActionGroup::event(arg__1); +} +bool PythonQtShell_QActionGroup::eventFilter(QObject* arg__1, QEvent* arg__2) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "eventFilter"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue; + void* args[3] = {NULL, (void*)&arg__1, (void*)&arg__2}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QActionGroup::eventFilter(arg__1, arg__2); +} +void PythonQtShell_QActionGroup::timerEvent(QTimerEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "timerEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QTimerEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QActionGroup::timerEvent(arg__1); +} +QActionGroup* PythonQtWrapper_QActionGroup::new_QActionGroup(QObject* parent) +{ +return new PythonQtShell_QActionGroup(parent); } + +QList PythonQtWrapper_QActionGroup::actions(QActionGroup* theWrappedObject) const +{ + return ( theWrappedObject->actions()); +} + +QAction* PythonQtWrapper_QActionGroup::addAction(QActionGroup* theWrappedObject, QAction* a) +{ + return ( theWrappedObject->addAction(a)); +} + +QAction* PythonQtWrapper_QActionGroup::addAction(QActionGroup* theWrappedObject, const QIcon& icon, const QString& text) +{ + return ( theWrappedObject->addAction(icon, text)); +} + +QAction* PythonQtWrapper_QActionGroup::addAction(QActionGroup* theWrappedObject, const QString& text) +{ + return ( theWrappedObject->addAction(text)); +} + +QAction* PythonQtWrapper_QActionGroup::checkedAction(QActionGroup* theWrappedObject) const +{ + return ( theWrappedObject->checkedAction()); +} + +bool PythonQtWrapper_QActionGroup::isEnabled(QActionGroup* theWrappedObject) const +{ + return ( theWrappedObject->isEnabled()); +} + +bool PythonQtWrapper_QActionGroup::isExclusive(QActionGroup* theWrappedObject) const +{ + return ( theWrappedObject->isExclusive()); +} + +bool PythonQtWrapper_QActionGroup::isVisible(QActionGroup* theWrappedObject) const +{ + return ( theWrappedObject->isVisible()); +} + +void PythonQtWrapper_QActionGroup::removeAction(QActionGroup* theWrappedObject, QAction* a) +{ + ( theWrappedObject->removeAction(a)); +} + + + +void PythonQtShell_QApplication::childEvent(QChildEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "childEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QChildEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QApplication::childEvent(arg__1); +} +void PythonQtShell_QApplication::commitData(QSessionManager& sm) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "commitData"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QSessionManager&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&sm}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QApplication::commitData(sm); +} +void PythonQtShell_QApplication::customEvent(QEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "customEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QApplication::customEvent(arg__1); +} +bool PythonQtShell_QApplication::event(QEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "event"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue; + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QApplication::event(arg__1); +} +bool PythonQtShell_QApplication::eventFilter(QObject* arg__1, QEvent* arg__2) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "eventFilter"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue; + void* args[3] = {NULL, (void*)&arg__1, (void*)&arg__2}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QApplication::eventFilter(arg__1, arg__2); +} +bool PythonQtShell_QApplication::notify(QObject* arg__1, QEvent* arg__2) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "notify"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue; + void* args[3] = {NULL, (void*)&arg__1, (void*)&arg__2}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("notify", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QApplication::notify(arg__1, arg__2); +} +void PythonQtShell_QApplication::saveState(QSessionManager& sm) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "saveState"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QSessionManager&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&sm}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QApplication::saveState(sm); +} +void PythonQtShell_QApplication::timerEvent(QTimerEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "timerEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QTimerEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QApplication::timerEvent(arg__1); +} +QWidget* PythonQtWrapper_QApplication::static_QApplication_activeModalWidget() +{ + return (QApplication::activeModalWidget()); +} + +QWidget* PythonQtWrapper_QApplication::static_QApplication_activePopupWidget() +{ + return (QApplication::activePopupWidget()); +} + +QWidget* PythonQtWrapper_QApplication::static_QApplication_activeWindow() +{ + return (QApplication::activeWindow()); +} + +void PythonQtWrapper_QApplication::static_QApplication_alert(QWidget* widget, int duration) +{ + (QApplication::alert(widget, duration)); +} + +QList PythonQtWrapper_QApplication::static_QApplication_allWidgets() +{ + return (QApplication::allWidgets()); +} + +void PythonQtWrapper_QApplication::static_QApplication_beep() +{ + (QApplication::beep()); +} + +void PythonQtWrapper_QApplication::static_QApplication_changeOverrideCursor(const QCursor& arg__1) +{ + (QApplication::changeOverrideCursor(arg__1)); +} + +QClipboard* PythonQtWrapper_QApplication::static_QApplication_clipboard() +{ + return (QApplication::clipboard()); +} + +int PythonQtWrapper_QApplication::static_QApplication_colorSpec() +{ + return (QApplication::colorSpec()); +} + +int PythonQtWrapper_QApplication::static_QApplication_cursorFlashTime() +{ + return (QApplication::cursorFlashTime()); +} + +QDesktopWidget* PythonQtWrapper_QApplication::static_QApplication_desktop() +{ + return (QApplication::desktop()); +} + +bool PythonQtWrapper_QApplication::static_QApplication_desktopSettingsAware() +{ + return (QApplication::desktopSettingsAware()); +} + +int PythonQtWrapper_QApplication::static_QApplication_doubleClickInterval() +{ + return (QApplication::doubleClickInterval()); +} + +bool PythonQtWrapper_QApplication::event(QApplication* theWrappedObject, QEvent* arg__1) +{ + return ( ((PythonQtPublicPromoter_QApplication*)theWrappedObject)->promoted_event(arg__1)); +} + +int PythonQtWrapper_QApplication::static_QApplication_exec() +{ + return (QApplication::exec()); +} + +QWidget* PythonQtWrapper_QApplication::static_QApplication_focusWidget() +{ + return (QApplication::focusWidget()); +} + +QFont PythonQtWrapper_QApplication::static_QApplication_font() +{ + return (QApplication::font()); +} + +QFont PythonQtWrapper_QApplication::static_QApplication_font(const QWidget* arg__1) +{ + return (QApplication::font(arg__1)); +} + +QSize PythonQtWrapper_QApplication::static_QApplication_globalStrut() +{ + return (QApplication::globalStrut()); +} + +QInputContext* PythonQtWrapper_QApplication::inputContext(QApplication* theWrappedObject) const +{ + return ( theWrappedObject->inputContext()); +} + +bool PythonQtWrapper_QApplication::static_QApplication_isEffectEnabled(Qt::UIEffect arg__1) +{ + return (QApplication::isEffectEnabled(arg__1)); +} + +bool PythonQtWrapper_QApplication::static_QApplication_isLeftToRight() +{ + return (QApplication::isLeftToRight()); +} + +bool PythonQtWrapper_QApplication::static_QApplication_isRightToLeft() +{ + return (QApplication::isRightToLeft()); +} + +bool PythonQtWrapper_QApplication::isSessionRestored(QApplication* theWrappedObject) const +{ + return ( theWrappedObject->isSessionRestored()); +} + +Qt::LayoutDirection PythonQtWrapper_QApplication::static_QApplication_keyboardInputDirection() +{ + return (QApplication::keyboardInputDirection()); +} + +int PythonQtWrapper_QApplication::static_QApplication_keyboardInputInterval() +{ + return (QApplication::keyboardInputInterval()); +} + +QLocale PythonQtWrapper_QApplication::static_QApplication_keyboardInputLocale() +{ + return (QApplication::keyboardInputLocale()); +} + +Qt::KeyboardModifiers PythonQtWrapper_QApplication::static_QApplication_keyboardModifiers() +{ + return (QApplication::keyboardModifiers()); +} + +Qt::LayoutDirection PythonQtWrapper_QApplication::static_QApplication_layoutDirection() +{ + return (QApplication::layoutDirection()); +} + +Qt::MouseButtons PythonQtWrapper_QApplication::static_QApplication_mouseButtons() +{ + return (QApplication::mouseButtons()); +} + +bool PythonQtWrapper_QApplication::notify(QApplication* theWrappedObject, QObject* arg__1, QEvent* arg__2) +{ + return ( ((PythonQtPublicPromoter_QApplication*)theWrappedObject)->promoted_notify(arg__1, arg__2)); +} + +QCursor* PythonQtWrapper_QApplication::static_QApplication_overrideCursor() +{ + return (QApplication::overrideCursor()); +} + +QPalette PythonQtWrapper_QApplication::static_QApplication_palette() +{ + return (QApplication::palette()); +} + +QPalette PythonQtWrapper_QApplication::static_QApplication_palette(const QWidget* arg__1) +{ + return (QApplication::palette(arg__1)); +} + +bool PythonQtWrapper_QApplication::static_QApplication_quitOnLastWindowClosed() +{ + return (QApplication::quitOnLastWindowClosed()); +} + +void PythonQtWrapper_QApplication::static_QApplication_restoreOverrideCursor() +{ + (QApplication::restoreOverrideCursor()); +} + +QString PythonQtWrapper_QApplication::sessionId(QApplication* theWrappedObject) const +{ + return ( theWrappedObject->sessionId()); +} + +QString PythonQtWrapper_QApplication::sessionKey(QApplication* theWrappedObject) const +{ + return ( theWrappedObject->sessionKey()); +} + +void PythonQtWrapper_QApplication::static_QApplication_setActiveWindow(QWidget* act) +{ + (QApplication::setActiveWindow(act)); +} + +void PythonQtWrapper_QApplication::static_QApplication_setColorSpec(int arg__1) +{ + (QApplication::setColorSpec(arg__1)); +} + +void PythonQtWrapper_QApplication::static_QApplication_setCursorFlashTime(int arg__1) +{ + (QApplication::setCursorFlashTime(arg__1)); +} + +void PythonQtWrapper_QApplication::static_QApplication_setDesktopSettingsAware(bool arg__1) +{ + (QApplication::setDesktopSettingsAware(arg__1)); +} + +void PythonQtWrapper_QApplication::static_QApplication_setDoubleClickInterval(int arg__1) +{ + (QApplication::setDoubleClickInterval(arg__1)); +} + +void PythonQtWrapper_QApplication::static_QApplication_setEffectEnabled(Qt::UIEffect arg__1, bool enable) +{ + (QApplication::setEffectEnabled(arg__1, enable)); +} + +void PythonQtWrapper_QApplication::static_QApplication_setFont(const QFont& arg__1, const char* className) +{ + (QApplication::setFont(arg__1, className)); +} + +void PythonQtWrapper_QApplication::static_QApplication_setGlobalStrut(const QSize& arg__1) +{ + (QApplication::setGlobalStrut(arg__1)); +} + +void PythonQtWrapper_QApplication::static_QApplication_setGraphicsSystem(const QString& arg__1) +{ + (QApplication::setGraphicsSystem(arg__1)); +} + +void PythonQtWrapper_QApplication::setInputContext(QApplication* theWrappedObject, QInputContext* arg__1) +{ + ( theWrappedObject->setInputContext(arg__1)); +} + +void PythonQtWrapper_QApplication::static_QApplication_setKeyboardInputInterval(int arg__1) +{ + (QApplication::setKeyboardInputInterval(arg__1)); +} + +void PythonQtWrapper_QApplication::static_QApplication_setLayoutDirection(Qt::LayoutDirection direction) +{ + (QApplication::setLayoutDirection(direction)); +} + +void PythonQtWrapper_QApplication::static_QApplication_setOverrideCursor(const QCursor& arg__1) +{ + (QApplication::setOverrideCursor(arg__1)); +} + +void PythonQtWrapper_QApplication::static_QApplication_setPalette(const QPalette& arg__1, const char* className) +{ + (QApplication::setPalette(arg__1, className)); +} + +void PythonQtWrapper_QApplication::static_QApplication_setQuitOnLastWindowClosed(bool quit) +{ + (QApplication::setQuitOnLastWindowClosed(quit)); +} + +void PythonQtWrapper_QApplication::static_QApplication_setStartDragDistance(int l) +{ + (QApplication::setStartDragDistance(l)); +} + +void PythonQtWrapper_QApplication::static_QApplication_setStartDragTime(int ms) +{ + (QApplication::setStartDragTime(ms)); +} + +void PythonQtWrapper_QApplication::static_QApplication_setStyle(QStyle* arg__1) +{ + (QApplication::setStyle(arg__1)); +} + +QStyle* PythonQtWrapper_QApplication::static_QApplication_setStyle(const QString& arg__1) +{ + return (QApplication::setStyle(arg__1)); +} + +void PythonQtWrapper_QApplication::static_QApplication_setWheelScrollLines(int arg__1) +{ + (QApplication::setWheelScrollLines(arg__1)); +} + +void PythonQtWrapper_QApplication::static_QApplication_setWindowIcon(const QIcon& icon) +{ + (QApplication::setWindowIcon(icon)); +} + +int PythonQtWrapper_QApplication::static_QApplication_startDragDistance() +{ + return (QApplication::startDragDistance()); +} + +int PythonQtWrapper_QApplication::static_QApplication_startDragTime() +{ + return (QApplication::startDragTime()); +} + +QStyle* PythonQtWrapper_QApplication::static_QApplication_style() +{ + return (QApplication::style()); +} + +QString PythonQtWrapper_QApplication::styleSheet(QApplication* theWrappedObject) const +{ + return ( theWrappedObject->styleSheet()); +} + +void PythonQtWrapper_QApplication::static_QApplication_syncX() +{ + (QApplication::syncX()); +} + +QWidget* PythonQtWrapper_QApplication::static_QApplication_topLevelAt(const QPoint& p) +{ + return (QApplication::topLevelAt(p)); +} + +QWidget* PythonQtWrapper_QApplication::static_QApplication_topLevelAt(int x, int y) +{ + return (QApplication::topLevelAt(x, y)); +} + +QList PythonQtWrapper_QApplication::static_QApplication_topLevelWidgets() +{ + return (QApplication::topLevelWidgets()); +} + +QApplication::Type PythonQtWrapper_QApplication::static_QApplication_type() +{ + return (QApplication::type()); +} + +int PythonQtWrapper_QApplication::static_QApplication_wheelScrollLines() +{ + return (QApplication::wheelScrollLines()); +} + +QWidget* PythonQtWrapper_QApplication::static_QApplication_widgetAt(const QPoint& p) +{ + return (QApplication::widgetAt(p)); +} + +QWidget* PythonQtWrapper_QApplication::static_QApplication_widgetAt(int x, int y) +{ + return (QApplication::widgetAt(x, y)); +} + +QIcon PythonQtWrapper_QApplication::static_QApplication_windowIcon() +{ + return (QApplication::windowIcon()); +} + + + +void PythonQtShell_QBoxLayout::addItem(QLayoutItem* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "addItem"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QLayoutItem*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QBoxLayout::addItem(arg__1); +} +void PythonQtShell_QBoxLayout::childEvent(QChildEvent* e) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "childEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QChildEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&e}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QBoxLayout::childEvent(e); +} +int PythonQtShell_QBoxLayout::count() const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "count"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + int returnValue; + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("count", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QBoxLayout::count(); +} +void PythonQtShell_QBoxLayout::customEvent(QEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "customEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QBoxLayout::customEvent(arg__1); +} +bool PythonQtShell_QBoxLayout::event(QEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "event"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue; + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QBoxLayout::event(arg__1); +} +bool PythonQtShell_QBoxLayout::eventFilter(QObject* arg__1, QEvent* arg__2) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "eventFilter"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue; + void* args[3] = {NULL, (void*)&arg__1, (void*)&arg__2}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QBoxLayout::eventFilter(arg__1, arg__2); +} +Qt::Orientations PythonQtShell_QBoxLayout::expandingDirections() const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "expandingDirections"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"Qt::Orientations"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + Qt::Orientations returnValue; + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("expandingDirections", methodInfo, result); + } else { + returnValue = *((Qt::Orientations*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QBoxLayout::expandingDirections(); +} +QRect PythonQtShell_QBoxLayout::geometry() const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "geometry"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QRect"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QRect returnValue; + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("geometry", methodInfo, result); + } else { + returnValue = *((QRect*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QBoxLayout::geometry(); +} +int PythonQtShell_QBoxLayout::indexOf(QWidget* arg__1) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "indexOf"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"int" , "QWidget*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + int returnValue; + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("indexOf", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QBoxLayout::indexOf(arg__1); +} +void PythonQtShell_QBoxLayout::invalidate() +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "invalidate"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={""}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QBoxLayout::invalidate(); +} +bool PythonQtShell_QBoxLayout::isEmpty() const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "isEmpty"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + bool returnValue; + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("isEmpty", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QBoxLayout::isEmpty(); +} +QLayoutItem* PythonQtShell_QBoxLayout::itemAt(int arg__1) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "itemAt"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QLayoutItem*" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + QLayoutItem* returnValue; + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("itemAt", methodInfo, result); + } else { + returnValue = *((QLayoutItem**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QBoxLayout::itemAt(arg__1); +} +QLayout* PythonQtShell_QBoxLayout::layout() +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "layout"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QLayout*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QLayout* returnValue; + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("layout", methodInfo, result); + } else { + returnValue = *((QLayout**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QBoxLayout::layout(); +} +QSize PythonQtShell_QBoxLayout::maximumSize() const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "maximumSize"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QSize"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QSize returnValue; + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("maximumSize", methodInfo, result); + } else { + returnValue = *((QSize*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QBoxLayout::maximumSize(); +} +QSize PythonQtShell_QBoxLayout::minimumSize() const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "minimumSize"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QSize"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QSize returnValue; + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("minimumSize", methodInfo, result); + } else { + returnValue = *((QSize*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QBoxLayout::minimumSize(); +} +void PythonQtShell_QBoxLayout::setGeometry(const QRect& arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "setGeometry"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "const QRect&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QBoxLayout::setGeometry(arg__1); +} +QLayoutItem* PythonQtShell_QBoxLayout::takeAt(int arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "takeAt"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QLayoutItem*" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + QLayoutItem* returnValue; + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("takeAt", methodInfo, result); + } else { + returnValue = *((QLayoutItem**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QBoxLayout::takeAt(arg__1); +} +void PythonQtShell_QBoxLayout::timerEvent(QTimerEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "timerEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QTimerEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QBoxLayout::timerEvent(arg__1); +} +QBoxLayout* PythonQtWrapper_QBoxLayout::new_QBoxLayout(QBoxLayout::Direction arg__1, QWidget* parent) +{ +return new PythonQtShell_QBoxLayout(arg__1, parent); } + +void PythonQtWrapper_QBoxLayout::addItem(QBoxLayout* theWrappedObject, QLayoutItem* arg__1) +{ + ( ((PythonQtPublicPromoter_QBoxLayout*)theWrappedObject)->promoted_addItem(arg__1)); +} + +void PythonQtWrapper_QBoxLayout::addLayout(QBoxLayout* theWrappedObject, QLayout* layout, int stretch) +{ + ( theWrappedObject->addLayout(layout, stretch)); +} + +void PythonQtWrapper_QBoxLayout::addSpacerItem(QBoxLayout* theWrappedObject, QSpacerItem* spacerItem) +{ + ( theWrappedObject->addSpacerItem(spacerItem)); +} + +void PythonQtWrapper_QBoxLayout::addSpacing(QBoxLayout* theWrappedObject, int size) +{ + ( theWrappedObject->addSpacing(size)); +} + +void PythonQtWrapper_QBoxLayout::addStretch(QBoxLayout* theWrappedObject, int stretch) +{ + ( theWrappedObject->addStretch(stretch)); +} + +void PythonQtWrapper_QBoxLayout::addStrut(QBoxLayout* theWrappedObject, int arg__1) +{ + ( theWrappedObject->addStrut(arg__1)); +} + +void PythonQtWrapper_QBoxLayout::addWidget(QBoxLayout* theWrappedObject, QWidget* arg__1, int stretch, Qt::Alignment alignment) +{ + ( theWrappedObject->addWidget(arg__1, stretch, alignment)); +} + +int PythonQtWrapper_QBoxLayout::count(QBoxLayout* theWrappedObject) const +{ + return ( ((PythonQtPublicPromoter_QBoxLayout*)theWrappedObject)->promoted_count()); +} + +QBoxLayout::Direction PythonQtWrapper_QBoxLayout::direction(QBoxLayout* theWrappedObject) const +{ + return ( theWrappedObject->direction()); +} + +Qt::Orientations PythonQtWrapper_QBoxLayout::expandingDirections(QBoxLayout* theWrappedObject) const +{ + return ( ((PythonQtPublicPromoter_QBoxLayout*)theWrappedObject)->promoted_expandingDirections()); +} + +bool PythonQtWrapper_QBoxLayout::hasHeightForWidth(QBoxLayout* theWrappedObject) const +{ + return ( theWrappedObject->hasHeightForWidth()); +} + +int PythonQtWrapper_QBoxLayout::heightForWidth(QBoxLayout* theWrappedObject, int arg__1) const +{ + return ( theWrappedObject->heightForWidth(arg__1)); +} + +void PythonQtWrapper_QBoxLayout::insertLayout(QBoxLayout* theWrappedObject, int index, QLayout* layout, int stretch) +{ + ( theWrappedObject->insertLayout(index, layout, stretch)); +} + +void PythonQtWrapper_QBoxLayout::insertSpacerItem(QBoxLayout* theWrappedObject, int index, QSpacerItem* spacerItem) +{ + ( theWrappedObject->insertSpacerItem(index, spacerItem)); +} + +void PythonQtWrapper_QBoxLayout::insertSpacing(QBoxLayout* theWrappedObject, int index, int size) +{ + ( theWrappedObject->insertSpacing(index, size)); +} + +void PythonQtWrapper_QBoxLayout::insertStretch(QBoxLayout* theWrappedObject, int index, int stretch) +{ + ( theWrappedObject->insertStretch(index, stretch)); +} + +void PythonQtWrapper_QBoxLayout::insertWidget(QBoxLayout* theWrappedObject, int index, QWidget* widget, int stretch, Qt::Alignment alignment) +{ + ( theWrappedObject->insertWidget(index, widget, stretch, alignment)); +} + +void PythonQtWrapper_QBoxLayout::invalidate(QBoxLayout* theWrappedObject) +{ + ( ((PythonQtPublicPromoter_QBoxLayout*)theWrappedObject)->promoted_invalidate()); +} + +QLayoutItem* PythonQtWrapper_QBoxLayout::itemAt(QBoxLayout* theWrappedObject, int arg__1) const +{ + return ( ((PythonQtPublicPromoter_QBoxLayout*)theWrappedObject)->promoted_itemAt(arg__1)); +} + +QSize PythonQtWrapper_QBoxLayout::maximumSize(QBoxLayout* theWrappedObject) const +{ + return ( ((PythonQtPublicPromoter_QBoxLayout*)theWrappedObject)->promoted_maximumSize()); +} + +int PythonQtWrapper_QBoxLayout::minimumHeightForWidth(QBoxLayout* theWrappedObject, int arg__1) const +{ + return ( theWrappedObject->minimumHeightForWidth(arg__1)); +} + +QSize PythonQtWrapper_QBoxLayout::minimumSize(QBoxLayout* theWrappedObject) const +{ + return ( ((PythonQtPublicPromoter_QBoxLayout*)theWrappedObject)->promoted_minimumSize()); +} + +void PythonQtWrapper_QBoxLayout::setDirection(QBoxLayout* theWrappedObject, QBoxLayout::Direction arg__1) +{ + ( theWrappedObject->setDirection(arg__1)); +} + +void PythonQtWrapper_QBoxLayout::setGeometry(QBoxLayout* theWrappedObject, const QRect& arg__1) +{ + ( ((PythonQtPublicPromoter_QBoxLayout*)theWrappedObject)->promoted_setGeometry(arg__1)); +} + +void PythonQtWrapper_QBoxLayout::setSpacing(QBoxLayout* theWrappedObject, int spacing) +{ + ( theWrappedObject->setSpacing(spacing)); +} + +void PythonQtWrapper_QBoxLayout::setStretch(QBoxLayout* theWrappedObject, int index, int stretch) +{ + ( theWrappedObject->setStretch(index, stretch)); +} + +bool PythonQtWrapper_QBoxLayout::setStretchFactor(QBoxLayout* theWrappedObject, QLayout* l, int stretch) +{ + return ( theWrappedObject->setStretchFactor(l, stretch)); +} + +bool PythonQtWrapper_QBoxLayout::setStretchFactor(QBoxLayout* theWrappedObject, QWidget* w, int stretch) +{ + return ( theWrappedObject->setStretchFactor(w, stretch)); +} + +QSize PythonQtWrapper_QBoxLayout::sizeHint(QBoxLayout* theWrappedObject) const +{ + return ( theWrappedObject->sizeHint()); +} + +int PythonQtWrapper_QBoxLayout::spacing(QBoxLayout* theWrappedObject) const +{ + return ( theWrappedObject->spacing()); +} + +int PythonQtWrapper_QBoxLayout::stretch(QBoxLayout* theWrappedObject, int index) const +{ + return ( theWrappedObject->stretch(index)); +} + +QLayoutItem* PythonQtWrapper_QBoxLayout::takeAt(QBoxLayout* theWrappedObject, int arg__1) +{ + return ( ((PythonQtPublicPromoter_QBoxLayout*)theWrappedObject)->promoted_takeAt(arg__1)); +} + + + +void PythonQtShell_QButtonGroup::childEvent(QChildEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "childEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QChildEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QButtonGroup::childEvent(arg__1); +} +void PythonQtShell_QButtonGroup::customEvent(QEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "customEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QButtonGroup::customEvent(arg__1); +} +bool PythonQtShell_QButtonGroup::event(QEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "event"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue; + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QButtonGroup::event(arg__1); +} +bool PythonQtShell_QButtonGroup::eventFilter(QObject* arg__1, QEvent* arg__2) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "eventFilter"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue; + void* args[3] = {NULL, (void*)&arg__1, (void*)&arg__2}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QButtonGroup::eventFilter(arg__1, arg__2); +} +void PythonQtShell_QButtonGroup::timerEvent(QTimerEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "timerEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QTimerEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QButtonGroup::timerEvent(arg__1); +} +QButtonGroup* PythonQtWrapper_QButtonGroup::new_QButtonGroup(QObject* parent) +{ +return new PythonQtShell_QButtonGroup(parent); } + +void PythonQtWrapper_QButtonGroup::addButton(QButtonGroup* theWrappedObject, QAbstractButton* arg__1) +{ + ( theWrappedObject->addButton(arg__1)); +} + +void PythonQtWrapper_QButtonGroup::addButton(QButtonGroup* theWrappedObject, QAbstractButton* arg__1, int id) +{ + ( theWrappedObject->addButton(arg__1, id)); +} + +QAbstractButton* PythonQtWrapper_QButtonGroup::button(QButtonGroup* theWrappedObject, int id) const +{ + return ( theWrappedObject->button(id)); +} + +QList PythonQtWrapper_QButtonGroup::buttons(QButtonGroup* theWrappedObject) const +{ + return ( theWrappedObject->buttons()); +} + +QAbstractButton* PythonQtWrapper_QButtonGroup::checkedButton(QButtonGroup* theWrappedObject) const +{ + return ( theWrappedObject->checkedButton()); +} + +int PythonQtWrapper_QButtonGroup::checkedId(QButtonGroup* theWrappedObject) const +{ + return ( theWrappedObject->checkedId()); +} + +bool PythonQtWrapper_QButtonGroup::exclusive(QButtonGroup* theWrappedObject) const +{ + return ( theWrappedObject->exclusive()); +} + +int PythonQtWrapper_QButtonGroup::id(QButtonGroup* theWrappedObject, QAbstractButton* button) const +{ + return ( theWrappedObject->id(button)); +} + +void PythonQtWrapper_QButtonGroup::removeButton(QButtonGroup* theWrappedObject, QAbstractButton* arg__1) +{ + ( theWrappedObject->removeButton(arg__1)); +} + +void PythonQtWrapper_QButtonGroup::setExclusive(QButtonGroup* theWrappedObject, bool arg__1) +{ + ( theWrappedObject->setExclusive(arg__1)); +} + +void PythonQtWrapper_QButtonGroup::setId(QButtonGroup* theWrappedObject, QAbstractButton* button, int id) +{ + ( theWrappedObject->setId(button, id)); +} + + + +void PythonQtShell_QCDEStyle::childEvent(QChildEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "childEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QChildEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QCDEStyle::childEvent(arg__1); +} +void PythonQtShell_QCDEStyle::customEvent(QEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "customEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QCDEStyle::customEvent(arg__1); +} +void PythonQtShell_QCDEStyle::drawComplexControl(QStyle::ComplexControl cc, const QStyleOptionComplex* opt, QPainter* p, const QWidget* w) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "drawComplexControl"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QStyle::ComplexControl" , "const QStyleOptionComplex*" , "QPainter*" , "const QWidget*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(5, argumentList); + void* args[5] = {NULL, (void*)&cc, (void*)&opt, (void*)&p, (void*)&w}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QCDEStyle::drawComplexControl(cc, opt, p, w); +} +void PythonQtShell_QCDEStyle::drawControl(QStyle::ControlElement element, const QStyleOption* opt, QPainter* p, const QWidget* w) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "drawControl"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QStyle::ControlElement" , "const QStyleOption*" , "QPainter*" , "const QWidget*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(5, argumentList); + void* args[5] = {NULL, (void*)&element, (void*)&opt, (void*)&p, (void*)&w}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QCDEStyle::drawControl(element, opt, p, w); +} +void PythonQtShell_QCDEStyle::drawItemPixmap(QPainter* painter, const QRect& rect, int alignment, const QPixmap& pixmap) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "drawItemPixmap"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QPainter*" , "const QRect&" , "int" , "const QPixmap&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(5, argumentList); + void* args[5] = {NULL, (void*)&painter, (void*)&rect, (void*)&alignment, (void*)&pixmap}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QCDEStyle::drawItemPixmap(painter, rect, alignment, pixmap); +} +void PythonQtShell_QCDEStyle::drawItemText(QPainter* painter, const QRect& rect, int flags, const QPalette& pal, bool enabled, const QString& text, QPalette::ColorRole textRole) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "drawItemText"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QPainter*" , "const QRect&" , "int" , "const QPalette&" , "bool" , "const QString&" , "QPalette::ColorRole"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(8, argumentList); + void* args[8] = {NULL, (void*)&painter, (void*)&rect, (void*)&flags, (void*)&pal, (void*)&enabled, (void*)&text, (void*)&textRole}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QCDEStyle::drawItemText(painter, rect, flags, pal, enabled, text, textRole); +} +void PythonQtShell_QCDEStyle::drawPrimitive(QStyle::PrimitiveElement pe, const QStyleOption* opt, QPainter* p, const QWidget* w) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "drawPrimitive"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QStyle::PrimitiveElement" , "const QStyleOption*" , "QPainter*" , "const QWidget*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(5, argumentList); + void* args[5] = {NULL, (void*)&pe, (void*)&opt, (void*)&p, (void*)&w}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QCDEStyle::drawPrimitive(pe, opt, p, w); +} +bool PythonQtShell_QCDEStyle::event(QEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "event"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue; + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QCDEStyle::event(arg__1); +} +bool PythonQtShell_QCDEStyle::eventFilter(QObject* o, QEvent* e) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "eventFilter"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue; + void* args[3] = {NULL, (void*)&o, (void*)&e}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QCDEStyle::eventFilter(o, e); +} +QPixmap PythonQtShell_QCDEStyle::generatedIconPixmap(QIcon::Mode iconMode, const QPixmap& pixmap, const QStyleOption* opt) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "generatedIconPixmap"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QPixmap" , "QIcon::Mode" , "const QPixmap&" , "const QStyleOption*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + QPixmap returnValue; + void* args[4] = {NULL, (void*)&iconMode, (void*)&pixmap, (void*)&opt}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("generatedIconPixmap", methodInfo, result); + } else { + returnValue = *((QPixmap*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QCDEStyle::generatedIconPixmap(iconMode, pixmap, opt); +} +QStyle::SubControl PythonQtShell_QCDEStyle::hitTestComplexControl(QStyle::ComplexControl cc, const QStyleOptionComplex* opt, const QPoint& pt, const QWidget* w) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "hitTestComplexControl"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QStyle::SubControl" , "QStyle::ComplexControl" , "const QStyleOptionComplex*" , "const QPoint&" , "const QWidget*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(5, argumentList); + QStyle::SubControl returnValue; + void* args[5] = {NULL, (void*)&cc, (void*)&opt, (void*)&pt, (void*)&w}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("hitTestComplexControl", methodInfo, result); + } else { + returnValue = *((QStyle::SubControl*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QCDEStyle::hitTestComplexControl(cc, opt, pt, w); +} +QRect PythonQtShell_QCDEStyle::itemPixmapRect(const QRect& r, int flags, const QPixmap& pixmap) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "itemPixmapRect"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QRect" , "const QRect&" , "int" , "const QPixmap&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + QRect returnValue; + void* args[4] = {NULL, (void*)&r, (void*)&flags, (void*)&pixmap}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("itemPixmapRect", methodInfo, result); + } else { + returnValue = *((QRect*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QCDEStyle::itemPixmapRect(r, flags, pixmap); +} +int PythonQtShell_QCDEStyle::pixelMetric(QStyle::PixelMetric metric, const QStyleOption* option, const QWidget* widget) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "pixelMetric"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"int" , "QStyle::PixelMetric" , "const QStyleOption*" , "const QWidget*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + int returnValue; + void* args[4] = {NULL, (void*)&metric, (void*)&option, (void*)&widget}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("pixelMetric", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QCDEStyle::pixelMetric(metric, option, widget); +} +void PythonQtShell_QCDEStyle::polish(QApplication* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "polish"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QApplication*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QCDEStyle::polish(arg__1); +} +void PythonQtShell_QCDEStyle::polish(QPalette& arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "polish"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QPalette&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QCDEStyle::polish(arg__1); +} +void PythonQtShell_QCDEStyle::polish(QWidget* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "polish"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QWidget*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QCDEStyle::polish(arg__1); +} +QSize PythonQtShell_QCDEStyle::sizeFromContents(QStyle::ContentsType ct, const QStyleOption* opt, const QSize& contentsSize, const QWidget* widget) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "sizeFromContents"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QSize" , "QStyle::ContentsType" , "const QStyleOption*" , "const QSize&" , "const QWidget*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(5, argumentList); + QSize returnValue; + void* args[5] = {NULL, (void*)&ct, (void*)&opt, (void*)&contentsSize, (void*)&widget}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("sizeFromContents", methodInfo, result); + } else { + returnValue = *((QSize*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QCDEStyle::sizeFromContents(ct, opt, contentsSize, widget); +} +QPalette PythonQtShell_QCDEStyle::standardPalette() const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "standardPalette"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QPalette"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QPalette returnValue; + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("standardPalette", methodInfo, result); + } else { + returnValue = *((QPalette*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QCDEStyle::standardPalette(); +} +QPixmap PythonQtShell_QCDEStyle::standardPixmap(QStyle::StandardPixmap standardPixmap, const QStyleOption* opt, const QWidget* widget) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "standardPixmap"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QPixmap" , "QStyle::StandardPixmap" , "const QStyleOption*" , "const QWidget*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + QPixmap returnValue; + void* args[4] = {NULL, (void*)&standardPixmap, (void*)&opt, (void*)&widget}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("standardPixmap", methodInfo, result); + } else { + returnValue = *((QPixmap*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QPixmap(); +} +int PythonQtShell_QCDEStyle::styleHint(QStyle::StyleHint hint, const QStyleOption* opt, const QWidget* widget, QStyleHintReturn* returnData) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "styleHint"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"int" , "QStyle::StyleHint" , "const QStyleOption*" , "const QWidget*" , "QStyleHintReturn*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(5, argumentList); + int returnValue; + void* args[5] = {NULL, (void*)&hint, (void*)&opt, (void*)&widget, (void*)&returnData}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("styleHint", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QCDEStyle::styleHint(hint, opt, widget, returnData); +} +QRect PythonQtShell_QCDEStyle::subControlRect(QStyle::ComplexControl cc, const QStyleOptionComplex* opt, QStyle::SubControl sc, const QWidget* widget) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "subControlRect"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QRect" , "QStyle::ComplexControl" , "const QStyleOptionComplex*" , "QStyle::SubControl" , "const QWidget*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(5, argumentList); + QRect returnValue; + void* args[5] = {NULL, (void*)&cc, (void*)&opt, (void*)&sc, (void*)&widget}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("subControlRect", methodInfo, result); + } else { + returnValue = *((QRect*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QCDEStyle::subControlRect(cc, opt, sc, widget); +} +QRect PythonQtShell_QCDEStyle::subElementRect(QStyle::SubElement r, const QStyleOption* opt, const QWidget* widget) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "subElementRect"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QRect" , "QStyle::SubElement" , "const QStyleOption*" , "const QWidget*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + QRect returnValue; + void* args[4] = {NULL, (void*)&r, (void*)&opt, (void*)&widget}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("subElementRect", methodInfo, result); + } else { + returnValue = *((QRect*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QCDEStyle::subElementRect(r, opt, widget); +} +void PythonQtShell_QCDEStyle::timerEvent(QTimerEvent* event) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "timerEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QTimerEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&event}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QCDEStyle::timerEvent(event); +} +void PythonQtShell_QCDEStyle::unpolish(QApplication* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "unpolish"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QApplication*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QCDEStyle::unpolish(arg__1); +} +void PythonQtShell_QCDEStyle::unpolish(QWidget* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "unpolish"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QWidget*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QCDEStyle::unpolish(arg__1); +} +QCDEStyle* PythonQtWrapper_QCDEStyle::new_QCDEStyle(bool useHighlightCols) +{ +return new PythonQtShell_QCDEStyle(useHighlightCols); } + +void PythonQtWrapper_QCDEStyle::drawControl(QCDEStyle* theWrappedObject, QStyle::ControlElement element, const QStyleOption* opt, QPainter* p, const QWidget* w) const +{ + ( ((PythonQtPublicPromoter_QCDEStyle*)theWrappedObject)->promoted_drawControl(element, opt, p, w)); +} + +void PythonQtWrapper_QCDEStyle::drawPrimitive(QCDEStyle* theWrappedObject, QStyle::PrimitiveElement pe, const QStyleOption* opt, QPainter* p, const QWidget* w) const +{ + ( ((PythonQtPublicPromoter_QCDEStyle*)theWrappedObject)->promoted_drawPrimitive(pe, opt, p, w)); +} + +int PythonQtWrapper_QCDEStyle::pixelMetric(QCDEStyle* theWrappedObject, QStyle::PixelMetric metric, const QStyleOption* option, const QWidget* widget) const +{ + return ( ((PythonQtPublicPromoter_QCDEStyle*)theWrappedObject)->promoted_pixelMetric(metric, option, widget)); +} + +QPalette PythonQtWrapper_QCDEStyle::standardPalette(QCDEStyle* theWrappedObject) const +{ + return ( ((PythonQtPublicPromoter_QCDEStyle*)theWrappedObject)->promoted_standardPalette()); +} + + + +void PythonQtShell_QCalendarWidget::actionEvent(QActionEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "actionEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QActionEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QCalendarWidget::actionEvent(arg__1); +} +void PythonQtShell_QCalendarWidget::changeEvent(QEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "changeEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QCalendarWidget::changeEvent(arg__1); +} +void PythonQtShell_QCalendarWidget::childEvent(QChildEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "childEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QChildEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QCalendarWidget::childEvent(arg__1); +} +void PythonQtShell_QCalendarWidget::closeEvent(QCloseEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "closeEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QCloseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QCalendarWidget::closeEvent(arg__1); +} +void PythonQtShell_QCalendarWidget::contextMenuEvent(QContextMenuEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "contextMenuEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QContextMenuEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QCalendarWidget::contextMenuEvent(arg__1); +} +void PythonQtShell_QCalendarWidget::customEvent(QEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "customEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QCalendarWidget::customEvent(arg__1); +} +int PythonQtShell_QCalendarWidget::devType() const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "devType"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + int returnValue; + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("devType", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QCalendarWidget::devType(); +} +void PythonQtShell_QCalendarWidget::dragEnterEvent(QDragEnterEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dragEnterEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QDragEnterEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QCalendarWidget::dragEnterEvent(arg__1); +} +void PythonQtShell_QCalendarWidget::dragLeaveEvent(QDragLeaveEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dragLeaveEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QDragLeaveEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QCalendarWidget::dragLeaveEvent(arg__1); +} +void PythonQtShell_QCalendarWidget::dragMoveEvent(QDragMoveEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dragMoveEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QDragMoveEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QCalendarWidget::dragMoveEvent(arg__1); +} +void PythonQtShell_QCalendarWidget::dropEvent(QDropEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dropEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QDropEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QCalendarWidget::dropEvent(arg__1); +} +void PythonQtShell_QCalendarWidget::enterEvent(QEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "enterEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QCalendarWidget::enterEvent(arg__1); +} +bool PythonQtShell_QCalendarWidget::event(QEvent* event) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "event"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue; + void* args[2] = {NULL, (void*)&event}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QCalendarWidget::event(event); +} +bool PythonQtShell_QCalendarWidget::eventFilter(QObject* watched, QEvent* event) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "eventFilter"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue; + void* args[3] = {NULL, (void*)&watched, (void*)&event}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QCalendarWidget::eventFilter(watched, event); +} +void PythonQtShell_QCalendarWidget::focusInEvent(QFocusEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "focusInEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QFocusEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QCalendarWidget::focusInEvent(arg__1); +} +bool PythonQtShell_QCalendarWidget::focusNextPrevChild(bool next) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "focusNextPrevChild"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue; + void* args[2] = {NULL, (void*)&next}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("focusNextPrevChild", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QCalendarWidget::focusNextPrevChild(next); +} +void PythonQtShell_QCalendarWidget::focusOutEvent(QFocusEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "focusOutEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QFocusEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QCalendarWidget::focusOutEvent(arg__1); +} +int PythonQtShell_QCalendarWidget::heightForWidth(int arg__1) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "heightForWidth"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"int" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + int returnValue; + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("heightForWidth", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QCalendarWidget::heightForWidth(arg__1); +} +void PythonQtShell_QCalendarWidget::hideEvent(QHideEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "hideEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QHideEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QCalendarWidget::hideEvent(arg__1); +} +void PythonQtShell_QCalendarWidget::inputMethodEvent(QInputMethodEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "inputMethodEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QInputMethodEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QCalendarWidget::inputMethodEvent(arg__1); +} +QVariant PythonQtShell_QCalendarWidget::inputMethodQuery(Qt::InputMethodQuery arg__1) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "inputMethodQuery"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QVariant" , "Qt::InputMethodQuery"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + QVariant returnValue; + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result); + } else { + returnValue = *((QVariant*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QCalendarWidget::inputMethodQuery(arg__1); +} +void PythonQtShell_QCalendarWidget::keyPressEvent(QKeyEvent* event) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "keyPressEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QKeyEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&event}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QCalendarWidget::keyPressEvent(event); +} +void PythonQtShell_QCalendarWidget::keyReleaseEvent(QKeyEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "keyReleaseEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QKeyEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QCalendarWidget::keyReleaseEvent(arg__1); +} +void PythonQtShell_QCalendarWidget::languageChange() +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "languageChange"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={""}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QCalendarWidget::languageChange(); +} +void PythonQtShell_QCalendarWidget::leaveEvent(QEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "leaveEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QCalendarWidget::leaveEvent(arg__1); +} +int PythonQtShell_QCalendarWidget::metric(QPaintDevice::PaintDeviceMetric arg__1) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "metric"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + int returnValue; + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("metric", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QCalendarWidget::metric(arg__1); +} +QSize PythonQtShell_QCalendarWidget::minimumSizeHint() const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "getMinimumSizeHint"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QSize"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QSize returnValue; + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("getMinimumSizeHint", methodInfo, result); + } else { + returnValue = *((QSize*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QCalendarWidget::minimumSizeHint(); +} +void PythonQtShell_QCalendarWidget::mouseDoubleClickEvent(QMouseEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mouseDoubleClickEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QCalendarWidget::mouseDoubleClickEvent(arg__1); +} +void PythonQtShell_QCalendarWidget::mouseMoveEvent(QMouseEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mouseMoveEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QCalendarWidget::mouseMoveEvent(arg__1); +} +void PythonQtShell_QCalendarWidget::mousePressEvent(QMouseEvent* event) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mousePressEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&event}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QCalendarWidget::mousePressEvent(event); +} +void PythonQtShell_QCalendarWidget::mouseReleaseEvent(QMouseEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mouseReleaseEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QCalendarWidget::mouseReleaseEvent(arg__1); +} +void PythonQtShell_QCalendarWidget::moveEvent(QMoveEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "moveEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QMoveEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QCalendarWidget::moveEvent(arg__1); +} +void PythonQtShell_QCalendarWidget::paintCell(QPainter* painter, const QRect& rect, const QDate& date) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "paintCell"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QPainter*" , "const QRect&" , "const QDate&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + void* args[4] = {NULL, (void*)&painter, (void*)&rect, (void*)&date}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QCalendarWidget::paintCell(painter, rect, date); +} +QPaintEngine* PythonQtShell_QCalendarWidget::paintEngine() const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "paintEngine"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QPaintEngine*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QPaintEngine* returnValue; + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); + } else { + returnValue = *((QPaintEngine**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QCalendarWidget::paintEngine(); +} +void PythonQtShell_QCalendarWidget::paintEvent(QPaintEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "paintEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QPaintEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QCalendarWidget::paintEvent(arg__1); +} +void PythonQtShell_QCalendarWidget::resizeEvent(QResizeEvent* event) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "resizeEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QResizeEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&event}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QCalendarWidget::resizeEvent(event); +} +void PythonQtShell_QCalendarWidget::showEvent(QShowEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "showEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QShowEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QCalendarWidget::showEvent(arg__1); +} +QSize PythonQtShell_QCalendarWidget::sizeHint() const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "getSizeHint"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QSize"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QSize returnValue; + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("getSizeHint", methodInfo, result); + } else { + returnValue = *((QSize*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QCalendarWidget::sizeHint(); +} +void PythonQtShell_QCalendarWidget::tabletEvent(QTabletEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "tabletEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QTabletEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QCalendarWidget::tabletEvent(arg__1); +} +void PythonQtShell_QCalendarWidget::timerEvent(QTimerEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "timerEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QTimerEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QCalendarWidget::timerEvent(arg__1); +} +void PythonQtShell_QCalendarWidget::wheelEvent(QWheelEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "wheelEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QWheelEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QCalendarWidget::wheelEvent(arg__1); +} +QCalendarWidget* PythonQtWrapper_QCalendarWidget::new_QCalendarWidget(QWidget* parent) +{ +return new PythonQtShell_QCalendarWidget(parent); } + +int PythonQtWrapper_QCalendarWidget::dateEditAcceptDelay(QCalendarWidget* theWrappedObject) const +{ + return ( theWrappedObject->dateEditAcceptDelay()); +} + +QMap PythonQtWrapper_QCalendarWidget::dateTextFormat(QCalendarWidget* theWrappedObject) const +{ + return ( theWrappedObject->dateTextFormat()); +} + +QTextCharFormat PythonQtWrapper_QCalendarWidget::dateTextFormat(QCalendarWidget* theWrappedObject, const QDate& date) const +{ + return ( theWrappedObject->dateTextFormat(date)); +} + +bool PythonQtWrapper_QCalendarWidget::event(QCalendarWidget* theWrappedObject, QEvent* event) +{ + return ( ((PythonQtPublicPromoter_QCalendarWidget*)theWrappedObject)->promoted_event(event)); +} + +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()); +} + +QTextCharFormat PythonQtWrapper_QCalendarWidget::headerTextFormat(QCalendarWidget* theWrappedObject) const +{ + return ( theWrappedObject->headerTextFormat()); +} + +QCalendarWidget::HorizontalHeaderFormat PythonQtWrapper_QCalendarWidget::horizontalHeaderFormat(QCalendarWidget* theWrappedObject) const +{ + return ( theWrappedObject->horizontalHeaderFormat()); +} + +bool PythonQtWrapper_QCalendarWidget::isDateEditEnabled(QCalendarWidget* theWrappedObject) const +{ + return ( theWrappedObject->isDateEditEnabled()); +} + +bool PythonQtWrapper_QCalendarWidget::isGridVisible(QCalendarWidget* theWrappedObject) const +{ + return ( theWrappedObject->isGridVisible()); +} + +bool PythonQtWrapper_QCalendarWidget::isNavigationBarVisible(QCalendarWidget* theWrappedObject) const +{ + return ( theWrappedObject->isNavigationBarVisible()); +} + +void PythonQtWrapper_QCalendarWidget::keyPressEvent(QCalendarWidget* theWrappedObject, QKeyEvent* event) +{ + ( ((PythonQtPublicPromoter_QCalendarWidget*)theWrappedObject)->promoted_keyPressEvent(event)); +} + +QDate PythonQtWrapper_QCalendarWidget::maximumDate(QCalendarWidget* theWrappedObject) const +{ + return ( theWrappedObject->maximumDate()); +} + +QDate PythonQtWrapper_QCalendarWidget::minimumDate(QCalendarWidget* theWrappedObject) const +{ + return ( theWrappedObject->minimumDate()); +} + +QSize PythonQtWrapper_QCalendarWidget::minimumSizeHint(QCalendarWidget* theWrappedObject) const +{ + return ( ((PythonQtPublicPromoter_QCalendarWidget*)theWrappedObject)->promoted_minimumSizeHint()); +} + +int PythonQtWrapper_QCalendarWidget::monthShown(QCalendarWidget* theWrappedObject) const +{ + return ( theWrappedObject->monthShown()); +} + +void PythonQtWrapper_QCalendarWidget::mousePressEvent(QCalendarWidget* theWrappedObject, QMouseEvent* event) +{ + ( ((PythonQtPublicPromoter_QCalendarWidget*)theWrappedObject)->promoted_mousePressEvent(event)); +} + +void PythonQtWrapper_QCalendarWidget::paintCell(QCalendarWidget* theWrappedObject, QPainter* painter, const QRect& rect, const QDate& date) const +{ + ( ((PythonQtPublicPromoter_QCalendarWidget*)theWrappedObject)->promoted_paintCell(painter, rect, date)); +} + +void PythonQtWrapper_QCalendarWidget::resizeEvent(QCalendarWidget* theWrappedObject, QResizeEvent* event) +{ + ( ((PythonQtPublicPromoter_QCalendarWidget*)theWrappedObject)->promoted_resizeEvent(event)); +} + +QDate PythonQtWrapper_QCalendarWidget::selectedDate(QCalendarWidget* theWrappedObject) const +{ + return ( theWrappedObject->selectedDate()); +} + +QCalendarWidget::SelectionMode PythonQtWrapper_QCalendarWidget::selectionMode(QCalendarWidget* theWrappedObject) const +{ + return ( theWrappedObject->selectionMode()); +} + +void PythonQtWrapper_QCalendarWidget::setDateEditAcceptDelay(QCalendarWidget* theWrappedObject, int delay) +{ + ( theWrappedObject->setDateEditAcceptDelay(delay)); +} + +void PythonQtWrapper_QCalendarWidget::setDateEditEnabled(QCalendarWidget* theWrappedObject, bool enable) +{ + ( theWrappedObject->setDateEditEnabled(enable)); +} + +void PythonQtWrapper_QCalendarWidget::setDateTextFormat(QCalendarWidget* theWrappedObject, const QDate& date, const QTextCharFormat& format) +{ + ( theWrappedObject->setDateTextFormat(date, format)); +} + +void PythonQtWrapper_QCalendarWidget::setFirstDayOfWeek(QCalendarWidget* theWrappedObject, Qt::DayOfWeek dayOfWeek) +{ + ( theWrappedObject->setFirstDayOfWeek(dayOfWeek)); +} + +void PythonQtWrapper_QCalendarWidget::setHeaderTextFormat(QCalendarWidget* theWrappedObject, const QTextCharFormat& format) +{ + ( theWrappedObject->setHeaderTextFormat(format)); +} + +void PythonQtWrapper_QCalendarWidget::setHorizontalHeaderFormat(QCalendarWidget* theWrappedObject, QCalendarWidget::HorizontalHeaderFormat format) +{ + ( theWrappedObject->setHorizontalHeaderFormat(format)); +} + +void PythonQtWrapper_QCalendarWidget::setMaximumDate(QCalendarWidget* theWrappedObject, const QDate& date) +{ + ( theWrappedObject->setMaximumDate(date)); +} + +void PythonQtWrapper_QCalendarWidget::setMinimumDate(QCalendarWidget* theWrappedObject, const QDate& date) +{ + ( theWrappedObject->setMinimumDate(date)); +} + +void PythonQtWrapper_QCalendarWidget::setSelectionMode(QCalendarWidget* theWrappedObject, QCalendarWidget::SelectionMode mode) +{ + ( theWrappedObject->setSelectionMode(mode)); +} + +void PythonQtWrapper_QCalendarWidget::setVerticalHeaderFormat(QCalendarWidget* theWrappedObject, QCalendarWidget::VerticalHeaderFormat format) +{ + ( theWrappedObject->setVerticalHeaderFormat(format)); +} + +void PythonQtWrapper_QCalendarWidget::setWeekdayTextFormat(QCalendarWidget* theWrappedObject, Qt::DayOfWeek dayOfWeek, const QTextCharFormat& format) +{ + ( theWrappedObject->setWeekdayTextFormat(dayOfWeek, format)); +} + +QSize PythonQtWrapper_QCalendarWidget::sizeHint(QCalendarWidget* theWrappedObject) const +{ + return ( ((PythonQtPublicPromoter_QCalendarWidget*)theWrappedObject)->promoted_sizeHint()); +} + +QCalendarWidget::VerticalHeaderFormat PythonQtWrapper_QCalendarWidget::verticalHeaderFormat(QCalendarWidget* theWrappedObject) const +{ + return ( theWrappedObject->verticalHeaderFormat()); +} + +QTextCharFormat PythonQtWrapper_QCalendarWidget::weekdayTextFormat(QCalendarWidget* theWrappedObject, Qt::DayOfWeek dayOfWeek) const +{ + return ( theWrappedObject->weekdayTextFormat(dayOfWeek)); +} + +int PythonQtWrapper_QCalendarWidget::yearShown(QCalendarWidget* theWrappedObject) const +{ + return ( theWrappedObject->yearShown()); +} + + diff --git a/generated_cpp_47/com_trolltech_qt_gui/com_trolltech_qt_gui0.h b/generated_cpp_47/com_trolltech_qt_gui/com_trolltech_qt_gui0.h new file mode 100644 index 00000000..68cfdc6a --- /dev/null +++ b/generated_cpp_47/com_trolltech_qt_gui/com_trolltech_qt_gui0.h @@ -0,0 +1,2159 @@ +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include + + + +class PythonQtShell_QAbstractButton : public QAbstractButton +{ +public: + PythonQtShell_QAbstractButton(QWidget* parent = 0):QAbstractButton(parent),_wrapper(NULL) {}; + +virtual void actionEvent(QActionEvent* arg__1); +virtual void changeEvent(QEvent* e); +virtual void checkStateSet(); +virtual void childEvent(QChildEvent* arg__1); +virtual void closeEvent(QCloseEvent* arg__1); +virtual void contextMenuEvent(QContextMenuEvent* arg__1); +virtual void customEvent(QEvent* arg__1); +virtual int devType() const; +virtual void dragEnterEvent(QDragEnterEvent* arg__1); +virtual void dragLeaveEvent(QDragLeaveEvent* arg__1); +virtual void dragMoveEvent(QDragMoveEvent* arg__1); +virtual void dropEvent(QDropEvent* arg__1); +virtual void enterEvent(QEvent* arg__1); +virtual bool event(QEvent* e); +virtual bool eventFilter(QObject* arg__1, QEvent* arg__2); +virtual void focusInEvent(QFocusEvent* e); +virtual bool focusNextPrevChild(bool next); +virtual void focusOutEvent(QFocusEvent* e); +virtual int heightForWidth(int arg__1) const; +virtual void hideEvent(QHideEvent* arg__1); +virtual bool hitButton(const QPoint& pos) const; +virtual void inputMethodEvent(QInputMethodEvent* arg__1); +virtual QVariant inputMethodQuery(Qt::InputMethodQuery arg__1) const; +virtual void keyPressEvent(QKeyEvent* e); +virtual void keyReleaseEvent(QKeyEvent* e); +virtual void languageChange(); +virtual void leaveEvent(QEvent* arg__1); +virtual int metric(QPaintDevice::PaintDeviceMetric arg__1) const; +virtual QSize minimumSizeHint() const; +virtual void mouseDoubleClickEvent(QMouseEvent* arg__1); +virtual void mouseMoveEvent(QMouseEvent* e); +virtual void mousePressEvent(QMouseEvent* e); +virtual void mouseReleaseEvent(QMouseEvent* e); +virtual void moveEvent(QMoveEvent* arg__1); +virtual void nextCheckState(); +virtual QPaintEngine* paintEngine() const; +virtual void paintEvent(QPaintEvent* e); +virtual void resizeEvent(QResizeEvent* arg__1); +virtual void showEvent(QShowEvent* arg__1); +virtual QSize sizeHint() const; +virtual void tabletEvent(QTabletEvent* arg__1); +virtual void timerEvent(QTimerEvent* e); +virtual void wheelEvent(QWheelEvent* arg__1); + + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtPublicPromoter_QAbstractButton : public QAbstractButton +{ public: +inline void promoted_changeEvent(QEvent* e) { QAbstractButton::changeEvent(e); } +inline void promoted_checkStateSet() { QAbstractButton::checkStateSet(); } +inline bool promoted_event(QEvent* e) { return QAbstractButton::event(e); } +inline void promoted_focusInEvent(QFocusEvent* e) { QAbstractButton::focusInEvent(e); } +inline void promoted_focusOutEvent(QFocusEvent* e) { QAbstractButton::focusOutEvent(e); } +inline bool promoted_hitButton(const QPoint& pos) const { return QAbstractButton::hitButton(pos); } +inline void promoted_keyPressEvent(QKeyEvent* e) { QAbstractButton::keyPressEvent(e); } +inline void promoted_keyReleaseEvent(QKeyEvent* e) { QAbstractButton::keyReleaseEvent(e); } +inline void promoted_mouseMoveEvent(QMouseEvent* e) { QAbstractButton::mouseMoveEvent(e); } +inline void promoted_mousePressEvent(QMouseEvent* e) { QAbstractButton::mousePressEvent(e); } +inline void promoted_mouseReleaseEvent(QMouseEvent* e) { QAbstractButton::mouseReleaseEvent(e); } +inline void promoted_nextCheckState() { QAbstractButton::nextCheckState(); } +inline void promoted_timerEvent(QTimerEvent* e) { QAbstractButton::timerEvent(e); } +}; + +class PythonQtWrapper_QAbstractButton : public QObject +{ Q_OBJECT +public: +public slots: +QAbstractButton* new_QAbstractButton(QWidget* parent = 0); +void delete_QAbstractButton(QAbstractButton* obj) { delete obj; } + bool autoExclusive(QAbstractButton* theWrappedObject) const; + bool autoRepeat(QAbstractButton* theWrappedObject) const; + int autoRepeatDelay(QAbstractButton* theWrappedObject) const; + int autoRepeatInterval(QAbstractButton* theWrappedObject) const; + void changeEvent(QAbstractButton* theWrappedObject, QEvent* e); + void checkStateSet(QAbstractButton* theWrappedObject); + bool event(QAbstractButton* theWrappedObject, QEvent* e); + void focusInEvent(QAbstractButton* theWrappedObject, QFocusEvent* e); + void focusOutEvent(QAbstractButton* theWrappedObject, QFocusEvent* e); + QButtonGroup* group(QAbstractButton* theWrappedObject) const; + bool hitButton(QAbstractButton* theWrappedObject, const QPoint& pos) const; + QIcon icon(QAbstractButton* theWrappedObject) const; + QSize iconSize(QAbstractButton* theWrappedObject) const; + bool isCheckable(QAbstractButton* theWrappedObject) const; + bool isChecked(QAbstractButton* theWrappedObject) const; + bool isDown(QAbstractButton* theWrappedObject) const; + void keyPressEvent(QAbstractButton* theWrappedObject, QKeyEvent* e); + void keyReleaseEvent(QAbstractButton* theWrappedObject, QKeyEvent* e); + void mouseMoveEvent(QAbstractButton* theWrappedObject, QMouseEvent* e); + void mousePressEvent(QAbstractButton* theWrappedObject, QMouseEvent* e); + void mouseReleaseEvent(QAbstractButton* theWrappedObject, QMouseEvent* e); + void nextCheckState(QAbstractButton* theWrappedObject); + void setAutoExclusive(QAbstractButton* theWrappedObject, bool arg__1); + void setAutoRepeat(QAbstractButton* theWrappedObject, bool arg__1); + void setAutoRepeatDelay(QAbstractButton* theWrappedObject, int arg__1); + void setAutoRepeatInterval(QAbstractButton* theWrappedObject, int arg__1); + void setCheckable(QAbstractButton* theWrappedObject, bool arg__1); + void setDown(QAbstractButton* theWrappedObject, bool arg__1); + void setIcon(QAbstractButton* theWrappedObject, const QIcon& icon); + void setShortcut(QAbstractButton* theWrappedObject, const QKeySequence& key); + void setText(QAbstractButton* theWrappedObject, const QString& text); + QKeySequence shortcut(QAbstractButton* theWrappedObject) const; + QString text(QAbstractButton* theWrappedObject) const; + void timerEvent(QAbstractButton* theWrappedObject, QTimerEvent* e); +}; + + + + + +class PythonQtShell_QAbstractGraphicsShapeItem : public QAbstractGraphicsShapeItem +{ +public: + PythonQtShell_QAbstractGraphicsShapeItem(QGraphicsItem* parent = 0, QGraphicsScene* scene = 0):QAbstractGraphicsShapeItem(parent, scene),_wrapper(NULL) {}; + +virtual void advance(int phase); +virtual QRectF boundingRect() const; +virtual bool collidesWithItem(const QGraphicsItem* other, Qt::ItemSelectionMode mode) const; +virtual bool collidesWithPath(const QPainterPath& path, Qt::ItemSelectionMode mode) const; +virtual bool contains(const QPointF& point) const; +virtual void contextMenuEvent(QGraphicsSceneContextMenuEvent* event); +virtual void dragEnterEvent(QGraphicsSceneDragDropEvent* event); +virtual void dragLeaveEvent(QGraphicsSceneDragDropEvent* event); +virtual void dragMoveEvent(QGraphicsSceneDragDropEvent* event); +virtual void dropEvent(QGraphicsSceneDragDropEvent* event); +virtual QVariant extension(const QVariant& variant) const; +virtual void focusInEvent(QFocusEvent* event); +virtual void focusOutEvent(QFocusEvent* event); +virtual void hoverEnterEvent(QGraphicsSceneHoverEvent* event); +virtual void hoverLeaveEvent(QGraphicsSceneHoverEvent* event); +virtual void hoverMoveEvent(QGraphicsSceneHoverEvent* event); +virtual void inputMethodEvent(QInputMethodEvent* event); +virtual QVariant inputMethodQuery(Qt::InputMethodQuery query) const; +virtual bool isObscuredBy(const QGraphicsItem* item) const; +virtual QVariant itemChange(QGraphicsItem::GraphicsItemChange change, const QVariant& value); +virtual void keyPressEvent(QKeyEvent* event); +virtual void keyReleaseEvent(QKeyEvent* event); +virtual void mouseDoubleClickEvent(QGraphicsSceneMouseEvent* event); +virtual void mouseMoveEvent(QGraphicsSceneMouseEvent* event); +virtual void mousePressEvent(QGraphicsSceneMouseEvent* event); +virtual void mouseReleaseEvent(QGraphicsSceneMouseEvent* event); +virtual QPainterPath opaqueArea() const; +virtual void paint(QPainter* painter, const QStyleOptionGraphicsItem* option, QWidget* widget); +virtual bool sceneEvent(QEvent* event); +virtual bool sceneEventFilter(QGraphicsItem* watched, QEvent* event); +virtual void setExtension(QGraphicsItem::Extension extension, const QVariant& variant); +virtual QPainterPath shape() const; +virtual bool supportsExtension(QGraphicsItem::Extension extension) const; +virtual int type() const; +virtual void wheelEvent(QGraphicsSceneWheelEvent* event); + + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtPublicPromoter_QAbstractGraphicsShapeItem : public QAbstractGraphicsShapeItem +{ public: +inline bool promoted_isObscuredBy(const QGraphicsItem* item) const { return QAbstractGraphicsShapeItem::isObscuredBy(item); } +inline QPainterPath promoted_opaqueArea() const { return QAbstractGraphicsShapeItem::opaqueArea(); } +}; + +class PythonQtWrapper_QAbstractGraphicsShapeItem : public QObject +{ Q_OBJECT +public: +public slots: +QAbstractGraphicsShapeItem* new_QAbstractGraphicsShapeItem(QGraphicsItem* parent = 0, QGraphicsScene* scene = 0); +void delete_QAbstractGraphicsShapeItem(QAbstractGraphicsShapeItem* obj) { delete obj; } + QBrush brush(QAbstractGraphicsShapeItem* theWrappedObject) const; + bool isObscuredBy(QAbstractGraphicsShapeItem* theWrappedObject, const QGraphicsItem* item) const; + QPainterPath opaqueArea(QAbstractGraphicsShapeItem* theWrappedObject) const; + QPen pen(QAbstractGraphicsShapeItem* theWrappedObject) const; + void setBrush(QAbstractGraphicsShapeItem* theWrappedObject, const QBrush& brush); + void setPen(QAbstractGraphicsShapeItem* theWrappedObject, const QPen& pen); +}; + + + + + +class PythonQtShell_QAbstractItemDelegate : public QAbstractItemDelegate +{ +public: + PythonQtShell_QAbstractItemDelegate(QObject* parent = 0):QAbstractItemDelegate(parent),_wrapper(NULL) {}; + +virtual void childEvent(QChildEvent* arg__1); +virtual QWidget* createEditor(QWidget* parent, const QStyleOptionViewItem& option, const QModelIndex& index) const; +virtual void customEvent(QEvent* arg__1); +virtual bool editorEvent(QEvent* event, QAbstractItemModel* model, const QStyleOptionViewItem& option, const QModelIndex& index); +virtual bool event(QEvent* arg__1); +virtual bool eventFilter(QObject* arg__1, QEvent* arg__2); +virtual void paint(QPainter* painter, const QStyleOptionViewItem& option, const QModelIndex& index) const; +virtual void setEditorData(QWidget* editor, const QModelIndex& index) const; +virtual void setModelData(QWidget* editor, QAbstractItemModel* model, const QModelIndex& index) const; +virtual QSize sizeHint(const QStyleOptionViewItem& option, const QModelIndex& index) const; +virtual void timerEvent(QTimerEvent* arg__1); +virtual void updateEditorGeometry(QWidget* editor, const QStyleOptionViewItem& option, const QModelIndex& index) const; + + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtPublicPromoter_QAbstractItemDelegate : public QAbstractItemDelegate +{ public: +inline QWidget* promoted_createEditor(QWidget* parent, const QStyleOptionViewItem& option, const QModelIndex& index) const { return QAbstractItemDelegate::createEditor(parent, option, index); } +inline bool promoted_editorEvent(QEvent* event, QAbstractItemModel* model, const QStyleOptionViewItem& option, const QModelIndex& index) { return QAbstractItemDelegate::editorEvent(event, model, option, index); } +inline void promoted_setEditorData(QWidget* editor, const QModelIndex& index) const { QAbstractItemDelegate::setEditorData(editor, index); } +inline void promoted_setModelData(QWidget* editor, QAbstractItemModel* model, const QModelIndex& index) const { QAbstractItemDelegate::setModelData(editor, model, index); } +inline void promoted_updateEditorGeometry(QWidget* editor, const QStyleOptionViewItem& option, const QModelIndex& index) const { QAbstractItemDelegate::updateEditorGeometry(editor, option, index); } +}; + +class PythonQtWrapper_QAbstractItemDelegate : public QObject +{ Q_OBJECT +public: +Q_ENUMS(EndEditHint ) +enum EndEditHint{ + NoHint = QAbstractItemDelegate::NoHint, EditNextItem = QAbstractItemDelegate::EditNextItem, EditPreviousItem = QAbstractItemDelegate::EditPreviousItem, SubmitModelCache = QAbstractItemDelegate::SubmitModelCache, RevertModelCache = QAbstractItemDelegate::RevertModelCache}; +public slots: +QAbstractItemDelegate* new_QAbstractItemDelegate(QObject* parent = 0); +void delete_QAbstractItemDelegate(QAbstractItemDelegate* obj) { delete obj; } + QWidget* createEditor(QAbstractItemDelegate* theWrappedObject, QWidget* parent, const QStyleOptionViewItem& option, const QModelIndex& index) const; + bool editorEvent(QAbstractItemDelegate* theWrappedObject, QEvent* event, QAbstractItemModel* model, const QStyleOptionViewItem& option, const QModelIndex& index); + void setEditorData(QAbstractItemDelegate* theWrappedObject, QWidget* editor, const QModelIndex& index) const; + void setModelData(QAbstractItemDelegate* theWrappedObject, QWidget* editor, QAbstractItemModel* model, const QModelIndex& index) const; + void updateEditorGeometry(QAbstractItemDelegate* theWrappedObject, QWidget* editor, const QStyleOptionViewItem& option, const QModelIndex& index) const; +}; + + + + + +class PythonQtShell_QAbstractItemView : public QAbstractItemView +{ +public: + PythonQtShell_QAbstractItemView(QWidget* parent = 0):QAbstractItemView(parent),_wrapper(NULL) {}; + +virtual void actionEvent(QActionEvent* arg__1); +virtual void changeEvent(QEvent* arg__1); +virtual void childEvent(QChildEvent* arg__1); +virtual void closeEditor(QWidget* editor, QAbstractItemDelegate::EndEditHint hint); +virtual void closeEvent(QCloseEvent* arg__1); +virtual void commitData(QWidget* editor); +virtual void contextMenuEvent(QContextMenuEvent* arg__1); +virtual void currentChanged(const QModelIndex& current, const QModelIndex& previous); +virtual void customEvent(QEvent* arg__1); +virtual void dataChanged(const QModelIndex& topLeft, const QModelIndex& bottomRight); +virtual int devType() const; +virtual void doItemsLayout(); +virtual void dragEnterEvent(QDragEnterEvent* event); +virtual void dragLeaveEvent(QDragLeaveEvent* event); +virtual void dragMoveEvent(QDragMoveEvent* event); +virtual void dropEvent(QDropEvent* event); +virtual bool edit(const QModelIndex& index, QAbstractItemView::EditTrigger trigger, QEvent* event); +virtual void editorDestroyed(QObject* editor); +virtual void enterEvent(QEvent* arg__1); +virtual bool event(QEvent* event); +virtual bool eventFilter(QObject* arg__1, QEvent* arg__2); +virtual void focusInEvent(QFocusEvent* event); +virtual bool focusNextPrevChild(bool next); +virtual void focusOutEvent(QFocusEvent* event); +virtual int heightForWidth(int arg__1) const; +virtual void hideEvent(QHideEvent* arg__1); +virtual int horizontalOffset() const; +virtual void horizontalScrollbarAction(int action); +virtual void horizontalScrollbarValueChanged(int value); +virtual QModelIndex indexAt(const QPoint& point) const; +virtual void inputMethodEvent(QInputMethodEvent* event); +virtual QVariant inputMethodQuery(Qt::InputMethodQuery query) const; +virtual bool isIndexHidden(const QModelIndex& index) const; +virtual void keyPressEvent(QKeyEvent* event); +virtual void keyReleaseEvent(QKeyEvent* arg__1); +virtual void keyboardSearch(const QString& search); +virtual void languageChange(); +virtual void leaveEvent(QEvent* arg__1); +virtual int metric(QPaintDevice::PaintDeviceMetric arg__1) const; +virtual void mouseDoubleClickEvent(QMouseEvent* event); +virtual void mouseMoveEvent(QMouseEvent* event); +virtual void mousePressEvent(QMouseEvent* event); +virtual void mouseReleaseEvent(QMouseEvent* event); +virtual QModelIndex moveCursor(QAbstractItemView::CursorAction cursorAction, Qt::KeyboardModifiers modifiers); +virtual void moveEvent(QMoveEvent* arg__1); +virtual QPaintEngine* paintEngine() const; +virtual void paintEvent(QPaintEvent* arg__1); +virtual void reset(); +virtual void resizeEvent(QResizeEvent* event); +virtual void rowsAboutToBeRemoved(const QModelIndex& parent, int start, int end); +virtual void rowsInserted(const QModelIndex& parent, int start, int end); +virtual void scrollContentsBy(int dx, int dy); +virtual void scrollTo(const QModelIndex& index, QAbstractItemView::ScrollHint hint = QAbstractItemView::EnsureVisible); +virtual void selectAll(); +virtual QList selectedIndexes() const; +virtual void selectionChanged(const QItemSelection& selected, const QItemSelection& deselected); +virtual QItemSelectionModel::SelectionFlags selectionCommand(const QModelIndex& index, const QEvent* event = 0) const; +virtual void setModel(QAbstractItemModel* model); +virtual void setRootIndex(const QModelIndex& index); +virtual void setSelection(const QRect& rect, QItemSelectionModel::SelectionFlags command); +virtual void setSelectionModel(QItemSelectionModel* selectionModel); +virtual void showEvent(QShowEvent* arg__1); +virtual int sizeHintForColumn(int column) const; +virtual int sizeHintForRow(int row) const; +virtual void startDrag(Qt::DropActions supportedActions); +virtual void tabletEvent(QTabletEvent* arg__1); +virtual void timerEvent(QTimerEvent* event); +virtual void updateEditorData(); +virtual void updateEditorGeometries(); +virtual void updateGeometries(); +virtual int verticalOffset() const; +virtual void verticalScrollbarAction(int action); +virtual void verticalScrollbarValueChanged(int value); +virtual QStyleOptionViewItem viewOptions() const; +virtual bool viewportEvent(QEvent* event); +virtual QRect visualRect(const QModelIndex& index) const; +virtual QRegion visualRegionForSelection(const QItemSelection& selection) const; +virtual void wheelEvent(QWheelEvent* arg__1); + + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtPublicPromoter_QAbstractItemView : public QAbstractItemView +{ public: +inline void promoted_closeEditor(QWidget* editor, QAbstractItemDelegate::EndEditHint hint) { QAbstractItemView::closeEditor(editor, hint); } +inline void promoted_commitData(QWidget* editor) { QAbstractItemView::commitData(editor); } +inline void promoted_currentChanged(const QModelIndex& current, const QModelIndex& previous) { QAbstractItemView::currentChanged(current, previous); } +inline void promoted_dataChanged(const QModelIndex& topLeft, const QModelIndex& bottomRight) { QAbstractItemView::dataChanged(topLeft, bottomRight); } +inline void promoted_doItemsLayout() { QAbstractItemView::doItemsLayout(); } +inline void promoted_dragEnterEvent(QDragEnterEvent* event) { QAbstractItemView::dragEnterEvent(event); } +inline void promoted_dragLeaveEvent(QDragLeaveEvent* event) { QAbstractItemView::dragLeaveEvent(event); } +inline void promoted_dragMoveEvent(QDragMoveEvent* event) { QAbstractItemView::dragMoveEvent(event); } +inline void promoted_dropEvent(QDropEvent* event) { QAbstractItemView::dropEvent(event); } +inline bool promoted_edit(const QModelIndex& index, QAbstractItemView::EditTrigger trigger, QEvent* event) { return QAbstractItemView::edit(index, trigger, event); } +inline void promoted_editorDestroyed(QObject* editor) { QAbstractItemView::editorDestroyed(editor); } +inline bool promoted_event(QEvent* event) { return QAbstractItemView::event(event); } +inline void promoted_focusInEvent(QFocusEvent* event) { QAbstractItemView::focusInEvent(event); } +inline bool promoted_focusNextPrevChild(bool next) { return QAbstractItemView::focusNextPrevChild(next); } +inline void promoted_focusOutEvent(QFocusEvent* event) { QAbstractItemView::focusOutEvent(event); } +inline void promoted_horizontalScrollbarAction(int action) { QAbstractItemView::horizontalScrollbarAction(action); } +inline void promoted_horizontalScrollbarValueChanged(int value) { QAbstractItemView::horizontalScrollbarValueChanged(value); } +inline void promoted_inputMethodEvent(QInputMethodEvent* event) { QAbstractItemView::inputMethodEvent(event); } +inline QVariant promoted_inputMethodQuery(Qt::InputMethodQuery query) const { return QAbstractItemView::inputMethodQuery(query); } +inline void promoted_keyPressEvent(QKeyEvent* event) { QAbstractItemView::keyPressEvent(event); } +inline void promoted_keyboardSearch(const QString& search) { QAbstractItemView::keyboardSearch(search); } +inline void promoted_mouseDoubleClickEvent(QMouseEvent* event) { QAbstractItemView::mouseDoubleClickEvent(event); } +inline void promoted_mouseMoveEvent(QMouseEvent* event) { QAbstractItemView::mouseMoveEvent(event); } +inline void promoted_mousePressEvent(QMouseEvent* event) { QAbstractItemView::mousePressEvent(event); } +inline void promoted_mouseReleaseEvent(QMouseEvent* event) { QAbstractItemView::mouseReleaseEvent(event); } +inline void promoted_reset() { QAbstractItemView::reset(); } +inline void promoted_resizeEvent(QResizeEvent* event) { QAbstractItemView::resizeEvent(event); } +inline void promoted_rowsAboutToBeRemoved(const QModelIndex& parent, int start, int end) { QAbstractItemView::rowsAboutToBeRemoved(parent, start, end); } +inline void promoted_rowsInserted(const QModelIndex& parent, int start, int end) { QAbstractItemView::rowsInserted(parent, start, end); } +inline void promoted_selectAll() { QAbstractItemView::selectAll(); } +inline QList promoted_selectedIndexes() const { return QAbstractItemView::selectedIndexes(); } +inline void promoted_selectionChanged(const QItemSelection& selected, const QItemSelection& deselected) { QAbstractItemView::selectionChanged(selected, deselected); } +inline QItemSelectionModel::SelectionFlags promoted_selectionCommand(const QModelIndex& index, const QEvent* event = 0) const { return QAbstractItemView::selectionCommand(index, event); } +inline void promoted_setModel(QAbstractItemModel* model) { QAbstractItemView::setModel(model); } +inline void promoted_setRootIndex(const QModelIndex& index) { QAbstractItemView::setRootIndex(index); } +inline void promoted_setSelectionModel(QItemSelectionModel* selectionModel) { QAbstractItemView::setSelectionModel(selectionModel); } +inline int promoted_sizeHintForColumn(int column) const { return QAbstractItemView::sizeHintForColumn(column); } +inline int promoted_sizeHintForRow(int row) const { return QAbstractItemView::sizeHintForRow(row); } +inline void promoted_startDrag(Qt::DropActions supportedActions) { QAbstractItemView::startDrag(supportedActions); } +inline void promoted_timerEvent(QTimerEvent* event) { QAbstractItemView::timerEvent(event); } +inline void promoted_updateEditorData() { QAbstractItemView::updateEditorData(); } +inline void promoted_updateEditorGeometries() { QAbstractItemView::updateEditorGeometries(); } +inline void promoted_updateGeometries() { QAbstractItemView::updateGeometries(); } +inline void promoted_verticalScrollbarAction(int action) { QAbstractItemView::verticalScrollbarAction(action); } +inline void promoted_verticalScrollbarValueChanged(int value) { QAbstractItemView::verticalScrollbarValueChanged(value); } +inline QStyleOptionViewItem promoted_viewOptions() const { return QAbstractItemView::viewOptions(); } +inline bool promoted_viewportEvent(QEvent* event) { return QAbstractItemView::viewportEvent(event); } +}; + +class PythonQtWrapper_QAbstractItemView : public QObject +{ Q_OBJECT +public: +Q_ENUMS(EditTrigger ) +Q_FLAGS(EditTriggers ) +enum EditTrigger{ + NoEditTriggers = QAbstractItemView::NoEditTriggers, CurrentChanged = QAbstractItemView::CurrentChanged, DoubleClicked = QAbstractItemView::DoubleClicked, SelectedClicked = QAbstractItemView::SelectedClicked, EditKeyPressed = QAbstractItemView::EditKeyPressed, AnyKeyPressed = QAbstractItemView::AnyKeyPressed, AllEditTriggers = QAbstractItemView::AllEditTriggers}; +Q_DECLARE_FLAGS(EditTriggers, EditTrigger) +public slots: +QAbstractItemView* new_QAbstractItemView(QWidget* parent = 0); +void delete_QAbstractItemView(QAbstractItemView* obj) { delete obj; } + bool alternatingRowColors(QAbstractItemView* theWrappedObject) const; + int autoScrollMargin(QAbstractItemView* theWrappedObject) const; + void closePersistentEditor(QAbstractItemView* theWrappedObject, const QModelIndex& index); + QModelIndex currentIndex(QAbstractItemView* theWrappedObject) const; + Qt::DropAction defaultDropAction(QAbstractItemView* theWrappedObject) const; + QAbstractItemView::DragDropMode dragDropMode(QAbstractItemView* theWrappedObject) const; + bool dragDropOverwriteMode(QAbstractItemView* theWrappedObject) const; + bool dragEnabled(QAbstractItemView* theWrappedObject) const; + void dragEnterEvent(QAbstractItemView* theWrappedObject, QDragEnterEvent* event); + void dragLeaveEvent(QAbstractItemView* theWrappedObject, QDragLeaveEvent* event); + void dragMoveEvent(QAbstractItemView* theWrappedObject, QDragMoveEvent* event); + void dropEvent(QAbstractItemView* theWrappedObject, QDropEvent* event); + bool edit(QAbstractItemView* theWrappedObject, const QModelIndex& index, QAbstractItemView::EditTrigger trigger, QEvent* event); + QAbstractItemView::EditTriggers editTriggers(QAbstractItemView* theWrappedObject) const; + bool event(QAbstractItemView* theWrappedObject, QEvent* event); + void focusInEvent(QAbstractItemView* theWrappedObject, QFocusEvent* event); + bool focusNextPrevChild(QAbstractItemView* theWrappedObject, bool next); + void focusOutEvent(QAbstractItemView* theWrappedObject, QFocusEvent* event); + bool hasAutoScroll(QAbstractItemView* theWrappedObject) const; + QAbstractItemView::ScrollMode horizontalScrollMode(QAbstractItemView* theWrappedObject) const; + QSize iconSize(QAbstractItemView* theWrappedObject) const; + QWidget* indexWidget(QAbstractItemView* theWrappedObject, const QModelIndex& index) const; + void inputMethodEvent(QAbstractItemView* theWrappedObject, QInputMethodEvent* event); + QVariant inputMethodQuery(QAbstractItemView* theWrappedObject, Qt::InputMethodQuery query) const; + QAbstractItemDelegate* itemDelegate(QAbstractItemView* theWrappedObject) const; + QAbstractItemDelegate* itemDelegate(QAbstractItemView* theWrappedObject, const QModelIndex& index) const; + QAbstractItemDelegate* itemDelegateForColumn(QAbstractItemView* theWrappedObject, int column) const; + QAbstractItemDelegate* itemDelegateForRow(QAbstractItemView* theWrappedObject, int row) const; + void keyPressEvent(QAbstractItemView* theWrappedObject, QKeyEvent* event); + void keyboardSearch(QAbstractItemView* theWrappedObject, const QString& search); + QAbstractItemModel* model(QAbstractItemView* theWrappedObject) const; + void mouseDoubleClickEvent(QAbstractItemView* theWrappedObject, QMouseEvent* event); + void mouseMoveEvent(QAbstractItemView* theWrappedObject, QMouseEvent* event); + void mousePressEvent(QAbstractItemView* theWrappedObject, QMouseEvent* event); + void mouseReleaseEvent(QAbstractItemView* theWrappedObject, QMouseEvent* event); + void openPersistentEditor(QAbstractItemView* theWrappedObject, const QModelIndex& index); + void resizeEvent(QAbstractItemView* theWrappedObject, QResizeEvent* event); + QModelIndex rootIndex(QAbstractItemView* theWrappedObject) const; + QList selectedIndexes(QAbstractItemView* theWrappedObject) const; + QAbstractItemView::SelectionBehavior selectionBehavior(QAbstractItemView* theWrappedObject) const; + QItemSelectionModel::SelectionFlags selectionCommand(QAbstractItemView* theWrappedObject, const QModelIndex& index, const QEvent* event = 0) const; + QAbstractItemView::SelectionMode selectionMode(QAbstractItemView* theWrappedObject) const; + QItemSelectionModel* selectionModel(QAbstractItemView* theWrappedObject) const; + void setAlternatingRowColors(QAbstractItemView* theWrappedObject, bool enable); + void setAutoScroll(QAbstractItemView* theWrappedObject, bool enable); + void setAutoScrollMargin(QAbstractItemView* theWrappedObject, int margin); + void setDefaultDropAction(QAbstractItemView* theWrappedObject, Qt::DropAction dropAction); + void setDragDropMode(QAbstractItemView* theWrappedObject, QAbstractItemView::DragDropMode behavior); + void setDragDropOverwriteMode(QAbstractItemView* theWrappedObject, bool overwrite); + void setDragEnabled(QAbstractItemView* theWrappedObject, bool enable); + void setDropIndicatorShown(QAbstractItemView* theWrappedObject, bool enable); + void setEditTriggers(QAbstractItemView* theWrappedObject, QAbstractItemView::EditTriggers triggers); + void setHorizontalScrollMode(QAbstractItemView* theWrappedObject, QAbstractItemView::ScrollMode mode); + void setIconSize(QAbstractItemView* theWrappedObject, const QSize& size); + void setIndexWidget(QAbstractItemView* theWrappedObject, const QModelIndex& index, QWidget* widget); + void setItemDelegate(QAbstractItemView* theWrappedObject, QAbstractItemDelegate* delegate); + void setItemDelegateForColumn(QAbstractItemView* theWrappedObject, int column, QAbstractItemDelegate* delegate); + void setItemDelegateForRow(QAbstractItemView* theWrappedObject, int row, QAbstractItemDelegate* delegate); + void setModel(QAbstractItemView* theWrappedObject, QAbstractItemModel* model); + void setSelectionBehavior(QAbstractItemView* theWrappedObject, QAbstractItemView::SelectionBehavior behavior); + void setSelectionMode(QAbstractItemView* theWrappedObject, QAbstractItemView::SelectionMode mode); + void setSelectionModel(QAbstractItemView* theWrappedObject, QItemSelectionModel* selectionModel); + void setTabKeyNavigation(QAbstractItemView* theWrappedObject, bool enable); + void setTextElideMode(QAbstractItemView* theWrappedObject, Qt::TextElideMode mode); + void setVerticalScrollMode(QAbstractItemView* theWrappedObject, QAbstractItemView::ScrollMode mode); + bool showDropIndicator(QAbstractItemView* theWrappedObject) const; + int sizeHintForColumn(QAbstractItemView* theWrappedObject, int column) const; + QSize sizeHintForIndex(QAbstractItemView* theWrappedObject, const QModelIndex& index) const; + int sizeHintForRow(QAbstractItemView* theWrappedObject, int row) const; + void startDrag(QAbstractItemView* theWrappedObject, Qt::DropActions supportedActions); + bool tabKeyNavigation(QAbstractItemView* theWrappedObject) const; + Qt::TextElideMode textElideMode(QAbstractItemView* theWrappedObject) const; + void timerEvent(QAbstractItemView* theWrappedObject, QTimerEvent* event); + QAbstractItemView::ScrollMode verticalScrollMode(QAbstractItemView* theWrappedObject) const; + QStyleOptionViewItem viewOptions(QAbstractItemView* theWrappedObject) const; + bool viewportEvent(QAbstractItemView* theWrappedObject, QEvent* event); +}; + + + + + +class PythonQtShell_QAbstractPageSetupDialog : public QAbstractPageSetupDialog +{ +public: + PythonQtShell_QAbstractPageSetupDialog(QPrinter* printer, QWidget* parent = 0):QAbstractPageSetupDialog(printer, parent),_wrapper(NULL) {}; + +virtual void accept(); +virtual void actionEvent(QActionEvent* arg__1); +virtual void changeEvent(QEvent* arg__1); +virtual void childEvent(QChildEvent* arg__1); +virtual void closeEvent(QCloseEvent* arg__1); +virtual void contextMenuEvent(QContextMenuEvent* arg__1); +virtual void customEvent(QEvent* arg__1); +virtual int devType() const; +virtual void done(int result); +virtual void dragEnterEvent(QDragEnterEvent* arg__1); +virtual void dragLeaveEvent(QDragLeaveEvent* arg__1); +virtual void dragMoveEvent(QDragMoveEvent* arg__1); +virtual void dropEvent(QDropEvent* arg__1); +virtual void enterEvent(QEvent* arg__1); +virtual bool event(QEvent* arg__1); +virtual bool eventFilter(QObject* arg__1, QEvent* arg__2); +virtual int exec(); +virtual void focusInEvent(QFocusEvent* arg__1); +virtual bool focusNextPrevChild(bool next); +virtual void focusOutEvent(QFocusEvent* arg__1); +virtual int heightForWidth(int arg__1) const; +virtual void hideEvent(QHideEvent* arg__1); +virtual void inputMethodEvent(QInputMethodEvent* arg__1); +virtual QVariant inputMethodQuery(Qt::InputMethodQuery arg__1) const; +virtual void keyPressEvent(QKeyEvent* arg__1); +virtual void keyReleaseEvent(QKeyEvent* arg__1); +virtual void languageChange(); +virtual void leaveEvent(QEvent* arg__1); +virtual int metric(QPaintDevice::PaintDeviceMetric arg__1) const; +virtual void mouseDoubleClickEvent(QMouseEvent* arg__1); +virtual void mouseMoveEvent(QMouseEvent* arg__1); +virtual void mousePressEvent(QMouseEvent* arg__1); +virtual void mouseReleaseEvent(QMouseEvent* arg__1); +virtual void moveEvent(QMoveEvent* arg__1); +virtual QPaintEngine* paintEngine() const; +virtual void paintEvent(QPaintEvent* arg__1); +virtual void reject(); +virtual void resizeEvent(QResizeEvent* arg__1); +virtual void showEvent(QShowEvent* arg__1); +virtual void tabletEvent(QTabletEvent* arg__1); +virtual void timerEvent(QTimerEvent* arg__1); +virtual void wheelEvent(QWheelEvent* arg__1); + + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtPublicPromoter_QAbstractPageSetupDialog : public QAbstractPageSetupDialog +{ public: +inline void promoted_done(int result) { QAbstractPageSetupDialog::done(result); } +}; + +class PythonQtWrapper_QAbstractPageSetupDialog : public QObject +{ Q_OBJECT +public: +public slots: +QAbstractPageSetupDialog* new_QAbstractPageSetupDialog(QPrinter* printer, QWidget* parent = 0); +void delete_QAbstractPageSetupDialog(QAbstractPageSetupDialog* obj) { delete obj; } + void done(QAbstractPageSetupDialog* theWrappedObject, int result); + QPrinter* printer(QAbstractPageSetupDialog* theWrappedObject); +}; + + + + + +class PythonQtShell_QAbstractPrintDialog : public QAbstractPrintDialog +{ +public: + PythonQtShell_QAbstractPrintDialog(QPrinter* printer, QWidget* parent = 0):QAbstractPrintDialog(printer, parent),_wrapper(NULL) {}; + +virtual void accept(); +virtual void actionEvent(QActionEvent* arg__1); +virtual void changeEvent(QEvent* arg__1); +virtual void childEvent(QChildEvent* arg__1); +virtual void closeEvent(QCloseEvent* arg__1); +virtual void contextMenuEvent(QContextMenuEvent* arg__1); +virtual void customEvent(QEvent* arg__1); +virtual int devType() const; +virtual void done(int arg__1); +virtual void dragEnterEvent(QDragEnterEvent* arg__1); +virtual void dragLeaveEvent(QDragLeaveEvent* arg__1); +virtual void dragMoveEvent(QDragMoveEvent* arg__1); +virtual void dropEvent(QDropEvent* arg__1); +virtual void enterEvent(QEvent* arg__1); +virtual bool event(QEvent* arg__1); +virtual bool eventFilter(QObject* arg__1, QEvent* arg__2); +virtual int exec(); +virtual void focusInEvent(QFocusEvent* arg__1); +virtual bool focusNextPrevChild(bool next); +virtual void focusOutEvent(QFocusEvent* arg__1); +virtual int heightForWidth(int arg__1) const; +virtual void hideEvent(QHideEvent* arg__1); +virtual void inputMethodEvent(QInputMethodEvent* arg__1); +virtual QVariant inputMethodQuery(Qt::InputMethodQuery arg__1) const; +virtual void keyPressEvent(QKeyEvent* arg__1); +virtual void keyReleaseEvent(QKeyEvent* arg__1); +virtual void languageChange(); +virtual void leaveEvent(QEvent* arg__1); +virtual int metric(QPaintDevice::PaintDeviceMetric arg__1) const; +virtual void mouseDoubleClickEvent(QMouseEvent* arg__1); +virtual void mouseMoveEvent(QMouseEvent* arg__1); +virtual void mousePressEvent(QMouseEvent* arg__1); +virtual void mouseReleaseEvent(QMouseEvent* arg__1); +virtual void moveEvent(QMoveEvent* arg__1); +virtual QPaintEngine* paintEngine() const; +virtual void paintEvent(QPaintEvent* arg__1); +virtual void reject(); +virtual void resizeEvent(QResizeEvent* arg__1); +virtual void showEvent(QShowEvent* arg__1); +virtual void tabletEvent(QTabletEvent* arg__1); +virtual void timerEvent(QTimerEvent* arg__1); +virtual void wheelEvent(QWheelEvent* arg__1); + + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtWrapper_QAbstractPrintDialog : public QObject +{ Q_OBJECT +public: +Q_ENUMS(PrintRange PrintDialogOption ) +Q_FLAGS(PrintDialogOptions ) +enum PrintRange{ + AllPages = QAbstractPrintDialog::AllPages, Selection = QAbstractPrintDialog::Selection, PageRange = QAbstractPrintDialog::PageRange}; +enum PrintDialogOption{ + None = QAbstractPrintDialog::None, PrintToFile = QAbstractPrintDialog::PrintToFile, PrintSelection = QAbstractPrintDialog::PrintSelection, PrintPageRange = QAbstractPrintDialog::PrintPageRange, PrintShowPageSize = QAbstractPrintDialog::PrintShowPageSize, PrintCollateCopies = QAbstractPrintDialog::PrintCollateCopies, DontUseSheet = QAbstractPrintDialog::DontUseSheet}; +Q_DECLARE_FLAGS(PrintDialogOptions, PrintDialogOption) +public slots: +QAbstractPrintDialog* new_QAbstractPrintDialog(QPrinter* printer, QWidget* parent = 0); +void delete_QAbstractPrintDialog(QAbstractPrintDialog* obj) { delete obj; } + void addEnabledOption(QAbstractPrintDialog* theWrappedObject, QAbstractPrintDialog::PrintDialogOption option); + QAbstractPrintDialog::PrintDialogOptions enabledOptions(QAbstractPrintDialog* theWrappedObject) const; + int fromPage(QAbstractPrintDialog* theWrappedObject) const; + bool isOptionEnabled(QAbstractPrintDialog* theWrappedObject, QAbstractPrintDialog::PrintDialogOption option) const; + int maxPage(QAbstractPrintDialog* theWrappedObject) const; + int minPage(QAbstractPrintDialog* theWrappedObject) const; + QAbstractPrintDialog::PrintRange printRange(QAbstractPrintDialog* theWrappedObject) const; + QPrinter* printer(QAbstractPrintDialog* theWrappedObject) const; + void setEnabledOptions(QAbstractPrintDialog* theWrappedObject, QAbstractPrintDialog::PrintDialogOptions options); + void setFromTo(QAbstractPrintDialog* theWrappedObject, int fromPage, int toPage); + void setMinMax(QAbstractPrintDialog* theWrappedObject, int min, int max); + void setOptionTabs(QAbstractPrintDialog* theWrappedObject, const QList& tabs); + void setPrintRange(QAbstractPrintDialog* theWrappedObject, QAbstractPrintDialog::PrintRange range); + int toPage(QAbstractPrintDialog* theWrappedObject) const; +}; + + + + + +class PythonQtShell_QAbstractScrollArea : public QAbstractScrollArea +{ +public: + PythonQtShell_QAbstractScrollArea(QWidget* parent = 0):QAbstractScrollArea(parent),_wrapper(NULL) {}; + +virtual void actionEvent(QActionEvent* arg__1); +virtual void changeEvent(QEvent* arg__1); +virtual void childEvent(QChildEvent* arg__1); +virtual void closeEvent(QCloseEvent* arg__1); +virtual void contextMenuEvent(QContextMenuEvent* arg__1); +virtual void customEvent(QEvent* arg__1); +virtual int devType() const; +virtual void dragEnterEvent(QDragEnterEvent* arg__1); +virtual void dragLeaveEvent(QDragLeaveEvent* arg__1); +virtual void dragMoveEvent(QDragMoveEvent* arg__1); +virtual void dropEvent(QDropEvent* arg__1); +virtual void enterEvent(QEvent* arg__1); +virtual bool event(QEvent* arg__1); +virtual bool eventFilter(QObject* arg__1, QEvent* arg__2); +virtual void focusInEvent(QFocusEvent* arg__1); +virtual bool focusNextPrevChild(bool next); +virtual void focusOutEvent(QFocusEvent* arg__1); +virtual int heightForWidth(int arg__1) const; +virtual void hideEvent(QHideEvent* arg__1); +virtual void inputMethodEvent(QInputMethodEvent* arg__1); +virtual QVariant inputMethodQuery(Qt::InputMethodQuery arg__1) const; +virtual void keyPressEvent(QKeyEvent* arg__1); +virtual void keyReleaseEvent(QKeyEvent* arg__1); +virtual void languageChange(); +virtual void leaveEvent(QEvent* arg__1); +virtual int metric(QPaintDevice::PaintDeviceMetric arg__1) const; +virtual void mouseDoubleClickEvent(QMouseEvent* arg__1); +virtual void mouseMoveEvent(QMouseEvent* arg__1); +virtual void mousePressEvent(QMouseEvent* arg__1); +virtual void mouseReleaseEvent(QMouseEvent* arg__1); +virtual void moveEvent(QMoveEvent* arg__1); +virtual QPaintEngine* paintEngine() const; +virtual void paintEvent(QPaintEvent* arg__1); +virtual void resizeEvent(QResizeEvent* arg__1); +virtual void scrollContentsBy(int dx, int dy); +virtual void showEvent(QShowEvent* arg__1); +virtual void tabletEvent(QTabletEvent* arg__1); +virtual void timerEvent(QTimerEvent* arg__1); +virtual bool viewportEvent(QEvent* arg__1); +virtual void wheelEvent(QWheelEvent* arg__1); + + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtPublicPromoter_QAbstractScrollArea : public QAbstractScrollArea +{ public: +inline void promoted_contextMenuEvent(QContextMenuEvent* arg__1) { QAbstractScrollArea::contextMenuEvent(arg__1); } +inline void promoted_dragEnterEvent(QDragEnterEvent* arg__1) { QAbstractScrollArea::dragEnterEvent(arg__1); } +inline void promoted_dragLeaveEvent(QDragLeaveEvent* arg__1) { QAbstractScrollArea::dragLeaveEvent(arg__1); } +inline void promoted_dragMoveEvent(QDragMoveEvent* arg__1) { QAbstractScrollArea::dragMoveEvent(arg__1); } +inline void promoted_dropEvent(QDropEvent* arg__1) { QAbstractScrollArea::dropEvent(arg__1); } +inline bool promoted_event(QEvent* arg__1) { return QAbstractScrollArea::event(arg__1); } +inline void promoted_keyPressEvent(QKeyEvent* arg__1) { QAbstractScrollArea::keyPressEvent(arg__1); } +inline void promoted_mouseDoubleClickEvent(QMouseEvent* arg__1) { QAbstractScrollArea::mouseDoubleClickEvent(arg__1); } +inline void promoted_mouseMoveEvent(QMouseEvent* arg__1) { QAbstractScrollArea::mouseMoveEvent(arg__1); } +inline void promoted_mousePressEvent(QMouseEvent* arg__1) { QAbstractScrollArea::mousePressEvent(arg__1); } +inline void promoted_mouseReleaseEvent(QMouseEvent* arg__1) { QAbstractScrollArea::mouseReleaseEvent(arg__1); } +inline void promoted_paintEvent(QPaintEvent* arg__1) { QAbstractScrollArea::paintEvent(arg__1); } +inline void promoted_resizeEvent(QResizeEvent* arg__1) { QAbstractScrollArea::resizeEvent(arg__1); } +inline void promoted_scrollContentsBy(int dx, int dy) { QAbstractScrollArea::scrollContentsBy(dx, dy); } +inline bool promoted_viewportEvent(QEvent* arg__1) { return QAbstractScrollArea::viewportEvent(arg__1); } +inline void promoted_wheelEvent(QWheelEvent* arg__1) { QAbstractScrollArea::wheelEvent(arg__1); } +}; + +class PythonQtWrapper_QAbstractScrollArea : public QObject +{ Q_OBJECT +public: +public slots: +QAbstractScrollArea* new_QAbstractScrollArea(QWidget* parent = 0); +void delete_QAbstractScrollArea(QAbstractScrollArea* obj) { delete obj; } + void addScrollBarWidget(QAbstractScrollArea* theWrappedObject, QWidget* widget, Qt::Alignment alignment); + void contextMenuEvent(QAbstractScrollArea* theWrappedObject, QContextMenuEvent* arg__1); + QWidget* cornerWidget(QAbstractScrollArea* theWrappedObject) const; + void dragEnterEvent(QAbstractScrollArea* theWrappedObject, QDragEnterEvent* arg__1); + void dragLeaveEvent(QAbstractScrollArea* theWrappedObject, QDragLeaveEvent* arg__1); + void dragMoveEvent(QAbstractScrollArea* theWrappedObject, QDragMoveEvent* arg__1); + void dropEvent(QAbstractScrollArea* theWrappedObject, QDropEvent* arg__1); + bool event(QAbstractScrollArea* theWrappedObject, QEvent* arg__1); + QScrollBar* horizontalScrollBar(QAbstractScrollArea* theWrappedObject) const; + Qt::ScrollBarPolicy horizontalScrollBarPolicy(QAbstractScrollArea* theWrappedObject) const; + void keyPressEvent(QAbstractScrollArea* theWrappedObject, QKeyEvent* arg__1); + QSize maximumViewportSize(QAbstractScrollArea* theWrappedObject) const; + QSize minimumSizeHint(QAbstractScrollArea* theWrappedObject) const; + void mouseDoubleClickEvent(QAbstractScrollArea* theWrappedObject, QMouseEvent* arg__1); + void mouseMoveEvent(QAbstractScrollArea* theWrappedObject, QMouseEvent* arg__1); + void mousePressEvent(QAbstractScrollArea* theWrappedObject, QMouseEvent* arg__1); + void mouseReleaseEvent(QAbstractScrollArea* theWrappedObject, QMouseEvent* arg__1); + void paintEvent(QAbstractScrollArea* theWrappedObject, QPaintEvent* arg__1); + void resizeEvent(QAbstractScrollArea* theWrappedObject, QResizeEvent* arg__1); + QList scrollBarWidgets(QAbstractScrollArea* theWrappedObject, Qt::Alignment alignment); + void scrollContentsBy(QAbstractScrollArea* theWrappedObject, int dx, int dy); + void setCornerWidget(QAbstractScrollArea* theWrappedObject, QWidget* widget); + void setHorizontalScrollBar(QAbstractScrollArea* theWrappedObject, QScrollBar* scrollbar); + void setHorizontalScrollBarPolicy(QAbstractScrollArea* theWrappedObject, Qt::ScrollBarPolicy arg__1); + void setVerticalScrollBar(QAbstractScrollArea* theWrappedObject, QScrollBar* scrollbar); + void setVerticalScrollBarPolicy(QAbstractScrollArea* theWrappedObject, Qt::ScrollBarPolicy arg__1); + void setViewport(QAbstractScrollArea* theWrappedObject, QWidget* widget); + QSize sizeHint(QAbstractScrollArea* theWrappedObject) const; + QScrollBar* verticalScrollBar(QAbstractScrollArea* theWrappedObject) const; + Qt::ScrollBarPolicy verticalScrollBarPolicy(QAbstractScrollArea* theWrappedObject) const; + QWidget* viewport(QAbstractScrollArea* theWrappedObject) const; + bool viewportEvent(QAbstractScrollArea* theWrappedObject, QEvent* arg__1); + void wheelEvent(QAbstractScrollArea* theWrappedObject, QWheelEvent* arg__1); +}; + + + + + +class PythonQtShell_QAbstractSlider : public QAbstractSlider +{ +public: + PythonQtShell_QAbstractSlider(QWidget* parent = 0):QAbstractSlider(parent),_wrapper(NULL) {}; + +virtual void actionEvent(QActionEvent* arg__1); +virtual void changeEvent(QEvent* e); +virtual void childEvent(QChildEvent* arg__1); +virtual void closeEvent(QCloseEvent* arg__1); +virtual void contextMenuEvent(QContextMenuEvent* arg__1); +virtual void customEvent(QEvent* arg__1); +virtual int devType() const; +virtual void dragEnterEvent(QDragEnterEvent* arg__1); +virtual void dragLeaveEvent(QDragLeaveEvent* arg__1); +virtual void dragMoveEvent(QDragMoveEvent* arg__1); +virtual void dropEvent(QDropEvent* arg__1); +virtual void enterEvent(QEvent* arg__1); +virtual bool event(QEvent* e); +virtual bool eventFilter(QObject* arg__1, QEvent* arg__2); +virtual void focusInEvent(QFocusEvent* arg__1); +virtual bool focusNextPrevChild(bool next); +virtual void focusOutEvent(QFocusEvent* arg__1); +virtual int heightForWidth(int arg__1) const; +virtual void hideEvent(QHideEvent* arg__1); +virtual void inputMethodEvent(QInputMethodEvent* arg__1); +virtual QVariant inputMethodQuery(Qt::InputMethodQuery arg__1) const; +virtual void keyPressEvent(QKeyEvent* ev); +virtual void keyReleaseEvent(QKeyEvent* arg__1); +virtual void languageChange(); +virtual void leaveEvent(QEvent* arg__1); +virtual int metric(QPaintDevice::PaintDeviceMetric arg__1) const; +virtual QSize minimumSizeHint() const; +virtual void mouseDoubleClickEvent(QMouseEvent* arg__1); +virtual void mouseMoveEvent(QMouseEvent* arg__1); +virtual void mousePressEvent(QMouseEvent* arg__1); +virtual void mouseReleaseEvent(QMouseEvent* arg__1); +virtual void moveEvent(QMoveEvent* arg__1); +virtual QPaintEngine* paintEngine() const; +virtual void paintEvent(QPaintEvent* arg__1); +virtual void resizeEvent(QResizeEvent* arg__1); +virtual void showEvent(QShowEvent* arg__1); +virtual QSize sizeHint() const; +virtual void sliderChange(QAbstractSlider::SliderChange change); +virtual void tabletEvent(QTabletEvent* arg__1); +virtual void timerEvent(QTimerEvent* arg__1); +virtual void wheelEvent(QWheelEvent* e); + + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtPublicPromoter_QAbstractSlider : public QAbstractSlider +{ public: +inline void promoted_changeEvent(QEvent* e) { QAbstractSlider::changeEvent(e); } +inline bool promoted_event(QEvent* e) { return QAbstractSlider::event(e); } +inline void promoted_keyPressEvent(QKeyEvent* ev) { QAbstractSlider::keyPressEvent(ev); } +inline void promoted_timerEvent(QTimerEvent* arg__1) { QAbstractSlider::timerEvent(arg__1); } +inline void promoted_wheelEvent(QWheelEvent* e) { QAbstractSlider::wheelEvent(e); } +}; + +class PythonQtWrapper_QAbstractSlider : public QObject +{ Q_OBJECT +public: +Q_ENUMS(SliderAction ) +enum SliderAction{ + SliderNoAction = QAbstractSlider::SliderNoAction, SliderSingleStepAdd = QAbstractSlider::SliderSingleStepAdd, SliderSingleStepSub = QAbstractSlider::SliderSingleStepSub, SliderPageStepAdd = QAbstractSlider::SliderPageStepAdd, SliderPageStepSub = QAbstractSlider::SliderPageStepSub, SliderToMinimum = QAbstractSlider::SliderToMinimum, SliderToMaximum = QAbstractSlider::SliderToMaximum, SliderMove = QAbstractSlider::SliderMove}; +public slots: +QAbstractSlider* new_QAbstractSlider(QWidget* parent = 0); +void delete_QAbstractSlider(QAbstractSlider* obj) { delete obj; } + void changeEvent(QAbstractSlider* theWrappedObject, QEvent* e); + bool event(QAbstractSlider* theWrappedObject, QEvent* e); + bool hasTracking(QAbstractSlider* theWrappedObject) const; + bool invertedAppearance(QAbstractSlider* theWrappedObject) const; + bool invertedControls(QAbstractSlider* theWrappedObject) const; + bool isSliderDown(QAbstractSlider* theWrappedObject) const; + void keyPressEvent(QAbstractSlider* theWrappedObject, QKeyEvent* ev); + int maximum(QAbstractSlider* theWrappedObject) const; + int minimum(QAbstractSlider* theWrappedObject) const; + Qt::Orientation orientation(QAbstractSlider* theWrappedObject) const; + int pageStep(QAbstractSlider* theWrappedObject) const; + void setInvertedAppearance(QAbstractSlider* theWrappedObject, bool arg__1); + void setInvertedControls(QAbstractSlider* theWrappedObject, bool arg__1); + void setMaximum(QAbstractSlider* theWrappedObject, int arg__1); + void setMinimum(QAbstractSlider* theWrappedObject, int arg__1); + void setPageStep(QAbstractSlider* theWrappedObject, int arg__1); + void setRange(QAbstractSlider* theWrappedObject, int min, int max); + void setSingleStep(QAbstractSlider* theWrappedObject, int arg__1); + void setSliderDown(QAbstractSlider* theWrappedObject, bool arg__1); + void setSliderPosition(QAbstractSlider* theWrappedObject, int arg__1); + void setTracking(QAbstractSlider* theWrappedObject, bool enable); + int singleStep(QAbstractSlider* theWrappedObject) const; + int sliderPosition(QAbstractSlider* theWrappedObject) const; + void timerEvent(QAbstractSlider* theWrappedObject, QTimerEvent* arg__1); + void triggerAction(QAbstractSlider* theWrappedObject, QAbstractSlider::SliderAction action); + int value(QAbstractSlider* theWrappedObject) const; + void wheelEvent(QAbstractSlider* theWrappedObject, QWheelEvent* e); +}; + + + + + +class PythonQtShell_QAbstractSpinBox : public QAbstractSpinBox +{ +public: + PythonQtShell_QAbstractSpinBox(QWidget* parent = 0):QAbstractSpinBox(parent),_wrapper(NULL) {}; + +virtual void actionEvent(QActionEvent* arg__1); +virtual void changeEvent(QEvent* event); +virtual void childEvent(QChildEvent* arg__1); +virtual void clear(); +virtual void closeEvent(QCloseEvent* event); +virtual void contextMenuEvent(QContextMenuEvent* event); +virtual void customEvent(QEvent* arg__1); +virtual int devType() const; +virtual void dragEnterEvent(QDragEnterEvent* arg__1); +virtual void dragLeaveEvent(QDragLeaveEvent* arg__1); +virtual void dragMoveEvent(QDragMoveEvent* arg__1); +virtual void dropEvent(QDropEvent* arg__1); +virtual void enterEvent(QEvent* arg__1); +virtual bool event(QEvent* event); +virtual bool eventFilter(QObject* arg__1, QEvent* arg__2); +virtual void fixup(QString& input) const; +virtual void focusInEvent(QFocusEvent* event); +virtual bool focusNextPrevChild(bool next); +virtual void focusOutEvent(QFocusEvent* event); +virtual int heightForWidth(int arg__1) const; +virtual void hideEvent(QHideEvent* event); +virtual void inputMethodEvent(QInputMethodEvent* arg__1); +virtual QVariant inputMethodQuery(Qt::InputMethodQuery arg__1) const; +virtual void keyPressEvent(QKeyEvent* event); +virtual void keyReleaseEvent(QKeyEvent* event); +virtual void languageChange(); +virtual void leaveEvent(QEvent* arg__1); +virtual int metric(QPaintDevice::PaintDeviceMetric arg__1) const; +virtual void mouseDoubleClickEvent(QMouseEvent* arg__1); +virtual void mouseMoveEvent(QMouseEvent* event); +virtual void mousePressEvent(QMouseEvent* event); +virtual void mouseReleaseEvent(QMouseEvent* event); +virtual void moveEvent(QMoveEvent* arg__1); +virtual QPaintEngine* paintEngine() const; +virtual void paintEvent(QPaintEvent* event); +virtual void resizeEvent(QResizeEvent* event); +virtual void showEvent(QShowEvent* event); +virtual void stepBy(int steps); +virtual QAbstractSpinBox::StepEnabled stepEnabled() const; +virtual void tabletEvent(QTabletEvent* arg__1); +virtual void timerEvent(QTimerEvent* event); +virtual QValidator::State validate(QString& input, int& pos) const; +virtual void wheelEvent(QWheelEvent* event); + + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtPublicPromoter_QAbstractSpinBox : public QAbstractSpinBox +{ public: +inline void promoted_changeEvent(QEvent* event) { QAbstractSpinBox::changeEvent(event); } +inline void promoted_clear() { QAbstractSpinBox::clear(); } +inline void promoted_closeEvent(QCloseEvent* event) { QAbstractSpinBox::closeEvent(event); } +inline void promoted_contextMenuEvent(QContextMenuEvent* event) { QAbstractSpinBox::contextMenuEvent(event); } +inline bool promoted_event(QEvent* event) { return QAbstractSpinBox::event(event); } +inline void promoted_fixup(QString& input) const { QAbstractSpinBox::fixup(input); } +inline void promoted_focusInEvent(QFocusEvent* event) { QAbstractSpinBox::focusInEvent(event); } +inline void promoted_focusOutEvent(QFocusEvent* event) { QAbstractSpinBox::focusOutEvent(event); } +inline void promoted_hideEvent(QHideEvent* event) { QAbstractSpinBox::hideEvent(event); } +inline QVariant promoted_inputMethodQuery(Qt::InputMethodQuery arg__1) const { return QAbstractSpinBox::inputMethodQuery(arg__1); } +inline void promoted_keyPressEvent(QKeyEvent* event) { QAbstractSpinBox::keyPressEvent(event); } +inline void promoted_keyReleaseEvent(QKeyEvent* event) { QAbstractSpinBox::keyReleaseEvent(event); } +inline void promoted_mouseMoveEvent(QMouseEvent* event) { QAbstractSpinBox::mouseMoveEvent(event); } +inline void promoted_mousePressEvent(QMouseEvent* event) { QAbstractSpinBox::mousePressEvent(event); } +inline void promoted_mouseReleaseEvent(QMouseEvent* event) { QAbstractSpinBox::mouseReleaseEvent(event); } +inline void promoted_paintEvent(QPaintEvent* event) { QAbstractSpinBox::paintEvent(event); } +inline void promoted_resizeEvent(QResizeEvent* event) { QAbstractSpinBox::resizeEvent(event); } +inline void promoted_showEvent(QShowEvent* event) { QAbstractSpinBox::showEvent(event); } +inline void promoted_stepBy(int steps) { QAbstractSpinBox::stepBy(steps); } +inline QAbstractSpinBox::StepEnabled promoted_stepEnabled() const { return QAbstractSpinBox::stepEnabled(); } +inline void promoted_timerEvent(QTimerEvent* event) { QAbstractSpinBox::timerEvent(event); } +inline QValidator::State promoted_validate(QString& input, int& pos) const { return QAbstractSpinBox::validate(input, pos); } +inline void promoted_wheelEvent(QWheelEvent* event) { QAbstractSpinBox::wheelEvent(event); } +}; + +class PythonQtWrapper_QAbstractSpinBox : public QObject +{ Q_OBJECT +public: +Q_ENUMS(StepEnabledFlag ) +Q_FLAGS(StepEnabled ) +enum StepEnabledFlag{ + StepNone = QAbstractSpinBox::StepNone, StepUpEnabled = QAbstractSpinBox::StepUpEnabled, StepDownEnabled = QAbstractSpinBox::StepDownEnabled}; +Q_DECLARE_FLAGS(StepEnabled, StepEnabledFlag) +public slots: +QAbstractSpinBox* new_QAbstractSpinBox(QWidget* parent = 0); +void delete_QAbstractSpinBox(QAbstractSpinBox* obj) { delete obj; } + Qt::Alignment alignment(QAbstractSpinBox* theWrappedObject) const; + QAbstractSpinBox::ButtonSymbols buttonSymbols(QAbstractSpinBox* theWrappedObject) const; + void changeEvent(QAbstractSpinBox* theWrappedObject, QEvent* event); + void closeEvent(QAbstractSpinBox* theWrappedObject, QCloseEvent* event); + void contextMenuEvent(QAbstractSpinBox* theWrappedObject, QContextMenuEvent* event); + QAbstractSpinBox::CorrectionMode correctionMode(QAbstractSpinBox* theWrappedObject) const; + bool event(QAbstractSpinBox* theWrappedObject, QEvent* event); + void fixup(QAbstractSpinBox* theWrappedObject, QString& input) const; + void focusInEvent(QAbstractSpinBox* theWrappedObject, QFocusEvent* event); + void focusOutEvent(QAbstractSpinBox* theWrappedObject, QFocusEvent* event); + bool hasAcceptableInput(QAbstractSpinBox* theWrappedObject) const; + bool hasFrame(QAbstractSpinBox* theWrappedObject) const; + void hideEvent(QAbstractSpinBox* theWrappedObject, QHideEvent* event); + QVariant inputMethodQuery(QAbstractSpinBox* theWrappedObject, Qt::InputMethodQuery arg__1) const; + void interpretText(QAbstractSpinBox* theWrappedObject); + bool isAccelerated(QAbstractSpinBox* theWrappedObject) const; + bool isReadOnly(QAbstractSpinBox* theWrappedObject) const; + void keyPressEvent(QAbstractSpinBox* theWrappedObject, QKeyEvent* event); + void keyReleaseEvent(QAbstractSpinBox* theWrappedObject, QKeyEvent* event); + bool keyboardTracking(QAbstractSpinBox* theWrappedObject) const; + QSize minimumSizeHint(QAbstractSpinBox* theWrappedObject) const; + void mouseMoveEvent(QAbstractSpinBox* theWrappedObject, QMouseEvent* event); + void mousePressEvent(QAbstractSpinBox* theWrappedObject, QMouseEvent* event); + void mouseReleaseEvent(QAbstractSpinBox* theWrappedObject, QMouseEvent* event); + void paintEvent(QAbstractSpinBox* theWrappedObject, QPaintEvent* event); + void resizeEvent(QAbstractSpinBox* theWrappedObject, QResizeEvent* event); + void setAccelerated(QAbstractSpinBox* theWrappedObject, bool on); + void setAlignment(QAbstractSpinBox* theWrappedObject, Qt::Alignment flag); + void setButtonSymbols(QAbstractSpinBox* theWrappedObject, QAbstractSpinBox::ButtonSymbols bs); + void setCorrectionMode(QAbstractSpinBox* theWrappedObject, QAbstractSpinBox::CorrectionMode cm); + void setFrame(QAbstractSpinBox* theWrappedObject, bool arg__1); + void setKeyboardTracking(QAbstractSpinBox* theWrappedObject, bool kt); + void setReadOnly(QAbstractSpinBox* theWrappedObject, bool r); + void setSpecialValueText(QAbstractSpinBox* theWrappedObject, const QString& txt); + void setWrapping(QAbstractSpinBox* theWrappedObject, bool w); + void showEvent(QAbstractSpinBox* theWrappedObject, QShowEvent* event); + QSize sizeHint(QAbstractSpinBox* theWrappedObject) const; + QString specialValueText(QAbstractSpinBox* theWrappedObject) const; + void stepBy(QAbstractSpinBox* theWrappedObject, int steps); + QAbstractSpinBox::StepEnabled stepEnabled(QAbstractSpinBox* theWrappedObject) const; + QString text(QAbstractSpinBox* theWrappedObject) const; + void timerEvent(QAbstractSpinBox* theWrappedObject, QTimerEvent* event); + QValidator::State validate(QAbstractSpinBox* theWrappedObject, QString& input, int& pos) const; + void wheelEvent(QAbstractSpinBox* theWrappedObject, QWheelEvent* event); + bool wrapping(QAbstractSpinBox* theWrappedObject) const; +}; + + + + + +class PythonQtShell_QAbstractTableModel : public QAbstractTableModel +{ +public: + PythonQtShell_QAbstractTableModel(QObject* parent = 0):QAbstractTableModel(parent),_wrapper(NULL) {}; + +virtual QModelIndex buddy(const QModelIndex& index) const; +virtual bool canFetchMore(const QModelIndex& parent) const; +virtual void childEvent(QChildEvent* arg__1); +virtual int columnCount(const QModelIndex& parent) const; +virtual void customEvent(QEvent* arg__1); +virtual QVariant data(const QModelIndex& index, int role) const; +virtual bool dropMimeData(const QMimeData* data, Qt::DropAction action, int row, int column, const QModelIndex& parent); +virtual bool event(QEvent* arg__1); +virtual bool eventFilter(QObject* arg__1, QEvent* arg__2); +virtual void fetchMore(const QModelIndex& parent); +virtual Qt::ItemFlags flags(const QModelIndex& index) const; +virtual QVariant headerData(int section, Qt::Orientation orientation, int role) const; +virtual QModelIndex index(int row, int column, const QModelIndex& parent = QModelIndex()) const; +virtual bool insertColumns(int column, int count, const QModelIndex& parent); +virtual bool insertRows(int row, int count, const QModelIndex& parent); +virtual QMap itemData(const QModelIndex& index) const; +virtual QList match(const QModelIndex& start, int role, const QVariant& value, int hits, Qt::MatchFlags flags) const; +virtual QMimeData* mimeData(const QList& indexes) const; +virtual QStringList mimeTypes() const; +virtual bool removeColumns(int column, int count, const QModelIndex& parent); +virtual bool removeRows(int row, int count, const QModelIndex& parent); +virtual void revert(); +virtual int rowCount(const QModelIndex& parent) const; +virtual bool setData(const QModelIndex& index, const QVariant& value, int role); +virtual bool setHeaderData(int section, Qt::Orientation orientation, const QVariant& value, int role); +virtual bool setItemData(const QModelIndex& index, const QMap& roles); +virtual void sort(int column, Qt::SortOrder order); +virtual QSize span(const QModelIndex& index) const; +virtual bool submit(); +virtual Qt::DropActions supportedDropActions() const; +virtual void timerEvent(QTimerEvent* arg__1); + + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtPublicPromoter_QAbstractTableModel : public QAbstractTableModel +{ public: +inline bool promoted_dropMimeData(const QMimeData* data, Qt::DropAction action, int row, int column, const QModelIndex& parent) { return QAbstractTableModel::dropMimeData(data, action, row, column, parent); } +inline QModelIndex promoted_index(int row, int column, const QModelIndex& parent = QModelIndex()) const { return QAbstractTableModel::index(row, column, parent); } +}; + +class PythonQtWrapper_QAbstractTableModel : public QObject +{ Q_OBJECT +public: +public slots: +QAbstractTableModel* new_QAbstractTableModel(QObject* parent = 0); +void delete_QAbstractTableModel(QAbstractTableModel* obj) { delete obj; } + bool dropMimeData(QAbstractTableModel* theWrappedObject, const QMimeData* data, Qt::DropAction action, int row, int column, const QModelIndex& parent); + QModelIndex index(QAbstractTableModel* theWrappedObject, int row, int column, const QModelIndex& parent = QModelIndex()) const; +}; + + + + + +class PythonQtShell_QAccessible : public QAccessible +{ +public: + PythonQtShell_QAccessible():QAccessible(),_wrapper(NULL) {}; + + + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtWrapper_QAccessible : public QObject +{ Q_OBJECT +public: +Q_ENUMS(Method Role Action Event RelationFlag StateFlag Text ) +Q_FLAGS(Relation State ) +enum Method{ + ListSupportedMethods = QAccessible::ListSupportedMethods, SetCursorPosition = QAccessible::SetCursorPosition, GetCursorPosition = QAccessible::GetCursorPosition, ForegroundColor = QAccessible::ForegroundColor, BackgroundColor = QAccessible::BackgroundColor}; +enum Role{ + NoRole = QAccessible::NoRole, TitleBar = QAccessible::TitleBar, MenuBar = QAccessible::MenuBar, ScrollBar = QAccessible::ScrollBar, Grip = QAccessible::Grip, Sound = QAccessible::Sound, Cursor = QAccessible::Cursor, Caret = QAccessible::Caret, AlertMessage = QAccessible::AlertMessage, Window = QAccessible::Window, Client = QAccessible::Client, PopupMenu = QAccessible::PopupMenu, MenuItem = QAccessible::MenuItem, ToolTip = QAccessible::ToolTip, Application = QAccessible::Application, Document = QAccessible::Document, Pane = QAccessible::Pane, Chart = QAccessible::Chart, Dialog = QAccessible::Dialog, Border = QAccessible::Border, Grouping = QAccessible::Grouping, Separator = QAccessible::Separator, ToolBar = QAccessible::ToolBar, StatusBar = QAccessible::StatusBar, Table = QAccessible::Table, ColumnHeader = QAccessible::ColumnHeader, RowHeader = QAccessible::RowHeader, Column = QAccessible::Column, Row = QAccessible::Row, Cell = QAccessible::Cell, Link = QAccessible::Link, HelpBalloon = QAccessible::HelpBalloon, Assistant = QAccessible::Assistant, List = QAccessible::List, ListItem = QAccessible::ListItem, Tree = QAccessible::Tree, TreeItem = QAccessible::TreeItem, PageTab = QAccessible::PageTab, PropertyPage = QAccessible::PropertyPage, Indicator = QAccessible::Indicator, Graphic = QAccessible::Graphic, StaticText = QAccessible::StaticText, EditableText = QAccessible::EditableText, PushButton = QAccessible::PushButton, CheckBox = QAccessible::CheckBox, RadioButton = QAccessible::RadioButton, ComboBox = QAccessible::ComboBox, ProgressBar = QAccessible::ProgressBar, Dial = QAccessible::Dial, HotkeyField = QAccessible::HotkeyField, Slider = QAccessible::Slider, SpinBox = QAccessible::SpinBox, Canvas = QAccessible::Canvas, Animation = QAccessible::Animation, Equation = QAccessible::Equation, ButtonDropDown = QAccessible::ButtonDropDown, ButtonMenu = QAccessible::ButtonMenu, ButtonDropGrid = QAccessible::ButtonDropGrid, Whitespace = QAccessible::Whitespace, PageTabList = QAccessible::PageTabList, Clock = QAccessible::Clock, Splitter = QAccessible::Splitter, LayeredPane = QAccessible::LayeredPane, UserRole = QAccessible::UserRole}; +enum Action{ + DefaultAction = QAccessible::DefaultAction, Press = QAccessible::Press, FirstStandardAction = QAccessible::FirstStandardAction, SetFocus = QAccessible::SetFocus, Increase = QAccessible::Increase, Decrease = QAccessible::Decrease, Accept = QAccessible::Accept, Cancel = QAccessible::Cancel, Select = QAccessible::Select, ClearSelection = QAccessible::ClearSelection, RemoveSelection = QAccessible::RemoveSelection, ExtendSelection = QAccessible::ExtendSelection, AddToSelection = QAccessible::AddToSelection, LastStandardAction = QAccessible::LastStandardAction}; +enum Event{ + SoundPlayed = QAccessible::SoundPlayed, Alert = QAccessible::Alert, ForegroundChanged = QAccessible::ForegroundChanged, MenuStart = QAccessible::MenuStart, MenuEnd = QAccessible::MenuEnd, PopupMenuStart = QAccessible::PopupMenuStart, PopupMenuEnd = QAccessible::PopupMenuEnd, ContextHelpStart = QAccessible::ContextHelpStart, ContextHelpEnd = QAccessible::ContextHelpEnd, DragDropStart = QAccessible::DragDropStart, DragDropEnd = QAccessible::DragDropEnd, DialogStart = QAccessible::DialogStart, DialogEnd = QAccessible::DialogEnd, ScrollingStart = QAccessible::ScrollingStart, ScrollingEnd = QAccessible::ScrollingEnd, MenuCommand = QAccessible::MenuCommand, ObjectCreated = QAccessible::ObjectCreated, ObjectDestroyed = QAccessible::ObjectDestroyed, ObjectShow = QAccessible::ObjectShow, ObjectHide = QAccessible::ObjectHide, ObjectReorder = QAccessible::ObjectReorder, Focus = QAccessible::Focus, Selection = QAccessible::Selection, SelectionAdd = QAccessible::SelectionAdd, SelectionRemove = QAccessible::SelectionRemove, SelectionWithin = QAccessible::SelectionWithin, StateChanged = QAccessible::StateChanged, LocationChanged = QAccessible::LocationChanged, NameChanged = QAccessible::NameChanged, DescriptionChanged = QAccessible::DescriptionChanged, ValueChanged = QAccessible::ValueChanged, ParentChanged = QAccessible::ParentChanged, HelpChanged = QAccessible::HelpChanged, DefaultActionChanged = QAccessible::DefaultActionChanged, AcceleratorChanged = QAccessible::AcceleratorChanged}; +enum RelationFlag{ + Unrelated = QAccessible::Unrelated, Self = QAccessible::Self, Ancestor = QAccessible::Ancestor, Child = QAccessible::Child, Descendent = QAccessible::Descendent, Sibling = QAccessible::Sibling, HierarchyMask = QAccessible::HierarchyMask, Up = QAccessible::Up, Down = QAccessible::Down, Left = QAccessible::Left, Right = QAccessible::Right, Covers = QAccessible::Covers, Covered = QAccessible::Covered, GeometryMask = QAccessible::GeometryMask, FocusChild = QAccessible::FocusChild, Label = QAccessible::Label, Labelled = QAccessible::Labelled, Controller = QAccessible::Controller, Controlled = QAccessible::Controlled, LogicalMask = QAccessible::LogicalMask}; +enum StateFlag{ + Normal = QAccessible::Normal, Unavailable = QAccessible::Unavailable, Selected = QAccessible::Selected, Focused = QAccessible::Focused, Pressed = QAccessible::Pressed, Checked = QAccessible::Checked, Mixed = QAccessible::Mixed, ReadOnly = QAccessible::ReadOnly, HotTracked = QAccessible::HotTracked, DefaultButton = QAccessible::DefaultButton, Expanded = QAccessible::Expanded, Collapsed = QAccessible::Collapsed, Busy = QAccessible::Busy, Marqueed = QAccessible::Marqueed, Animated = QAccessible::Animated, Invisible = QAccessible::Invisible, Offscreen = QAccessible::Offscreen, Sizeable = QAccessible::Sizeable, Movable = QAccessible::Movable, SelfVoicing = QAccessible::SelfVoicing, Focusable = QAccessible::Focusable, Selectable = QAccessible::Selectable, Linked = QAccessible::Linked, Traversed = QAccessible::Traversed, MultiSelectable = QAccessible::MultiSelectable, ExtSelectable = QAccessible::ExtSelectable, Protected = QAccessible::Protected, HasPopup = QAccessible::HasPopup, Modal = QAccessible::Modal, HasInvokeExtension = QAccessible::HasInvokeExtension}; +enum Text{ + Name = QAccessible::Name, Description = QAccessible::Description, Value = QAccessible::Value, Help = QAccessible::Help, Accelerator = QAccessible::Accelerator, UserText = QAccessible::UserText}; +Q_DECLARE_FLAGS(Relation, RelationFlag) +Q_DECLARE_FLAGS(State, StateFlag) +public slots: +QAccessible* new_QAccessible(); +void delete_QAccessible(QAccessible* obj) { delete obj; } + bool static_QAccessible_isActive(); + QAccessibleInterface* static_QAccessible_queryAccessibleInterface(QObject* arg__1); + void static_QAccessible_setRootObject(QObject* arg__1); + void static_QAccessible_updateAccessibility(QObject* arg__1, int who, QAccessible::Event reason); +}; + + + + + +class PythonQtShell_QAccessible2Interface : public QAccessible2Interface +{ +public: + PythonQtShell_QAccessible2Interface():QAccessible2Interface(),_wrapper(NULL) {}; + + + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtWrapper_QAccessible2Interface : public QObject +{ Q_OBJECT +public: +public slots: +QAccessible2Interface* new_QAccessible2Interface(); +void delete_QAccessible2Interface(QAccessible2Interface* obj) { delete obj; } +}; + + + + + +class PythonQtShell_QAccessibleBridge : public QAccessibleBridge +{ +public: + PythonQtShell_QAccessibleBridge():QAccessibleBridge(),_wrapper(NULL) {}; + +virtual void notifyAccessibilityUpdate(int arg__1, QAccessibleInterface* arg__2, int arg__3); +virtual void setRootObject(QAccessibleInterface* arg__1); + + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtWrapper_QAccessibleBridge : public QObject +{ Q_OBJECT +public: +public slots: +QAccessibleBridge* new_QAccessibleBridge(); +void delete_QAccessibleBridge(QAccessibleBridge* obj) { delete obj; } +}; + + + + + +class PythonQtWrapper_QAccessibleEvent : public QObject +{ Q_OBJECT +public: +public slots: +QAccessibleEvent* new_QAccessibleEvent(QEvent::Type type, int child); +void delete_QAccessibleEvent(QAccessibleEvent* obj) { delete obj; } + int child(QAccessibleEvent* theWrappedObject) const; + void setValue(QAccessibleEvent* theWrappedObject, const QString& aText); + QString value(QAccessibleEvent* theWrappedObject) const; +}; + + + + + +class PythonQtShell_QAccessibleInterface : public QAccessibleInterface +{ +public: + PythonQtShell_QAccessibleInterface():QAccessibleInterface(),_wrapper(NULL) {}; + +virtual QString actionText(int action, QAccessible::Text t, int child) const; +virtual int childAt(int x, int y) const; +virtual int childCount() const; +virtual bool doAction(int action, int child, const QList& params = QVariantList()); +virtual int indexOfChild(const QAccessibleInterface* arg__1) const; +virtual bool isValid() const; +virtual int navigate(QAccessible::RelationFlag relation, int index, QAccessibleInterface** iface) const; +virtual QObject* object() const; +virtual QRect rect(int child) const; +virtual QAccessible::Relation relationTo(int child, const QAccessibleInterface* other, int otherChild) const; +virtual QAccessible::Role role(int child) const; +virtual void setText(QAccessible::Text t, int child, const QString& text); +virtual QAccessible::State state(int child) const; +virtual QString text(QAccessible::Text t, int child) const; +virtual int userActionCount(int child) const; + + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtWrapper_QAccessibleInterface : public QObject +{ Q_OBJECT +public: +public slots: +QAccessibleInterface* new_QAccessibleInterface(); +void delete_QAccessibleInterface(QAccessibleInterface* obj) { delete obj; } + QVariant invokeMethod(QAccessibleInterface* theWrappedObject, QAccessible::Method method, int child = 0, const QList& params = QVariantList()); + QSet supportedMethods(QAccessibleInterface* theWrappedObject); +}; + + + + + +class PythonQtShell_QAccessibleInterfaceEx : public QAccessibleInterfaceEx +{ +public: + PythonQtShell_QAccessibleInterfaceEx():QAccessibleInterfaceEx(),_wrapper(NULL) {}; + +virtual QString actionText(int action, QAccessible::Text t, int child) const; +virtual int childAt(int x, int y) const; +virtual int childCount() const; +virtual bool doAction(int action, int child, const QList& params); +virtual int indexOfChild(const QAccessibleInterface* arg__1) const; +virtual QVariant invokeMethodEx(QAccessible::Method method, int child, const QList& params); +virtual bool isValid() const; +virtual int navigate(QAccessible::RelationFlag relation, int index, QAccessibleInterface** iface) const; +virtual QObject* object() const; +virtual QRect rect(int child) const; +virtual QAccessible::Relation relationTo(int child, const QAccessibleInterface* other, int otherChild) const; +virtual QAccessible::Role role(int child) const; +virtual void setText(QAccessible::Text t, int child, const QString& text); +virtual QAccessible::State state(int child) const; +virtual QString text(QAccessible::Text t, int child) const; +virtual int userActionCount(int child) const; +virtual QVariant virtual_hook(const QVariant& data); + + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtPublicPromoter_QAccessibleInterfaceEx : public QAccessibleInterfaceEx +{ public: +inline QVariant promoted_virtual_hook(const QVariant& data) { return QAccessibleInterfaceEx::virtual_hook(data); } +}; + +class PythonQtWrapper_QAccessibleInterfaceEx : public QObject +{ Q_OBJECT +public: +public slots: +QAccessibleInterfaceEx* new_QAccessibleInterfaceEx(); +void delete_QAccessibleInterfaceEx(QAccessibleInterfaceEx* obj) { delete obj; } + QVariant virtual_hook(QAccessibleInterfaceEx* theWrappedObject, const QVariant& data); +}; + + + + + +class PythonQtShell_QAccessibleObject : public QAccessibleObject +{ +public: + PythonQtShell_QAccessibleObject(QObject* object):QAccessibleObject(object),_wrapper(NULL) {}; + +virtual QString actionText(int action, QAccessible::Text t, int child) const; +virtual int childAt(int x, int y) const; +virtual int childCount() const; +virtual bool doAction(int action, int child, const QList& params); +virtual int indexOfChild(const QAccessibleInterface* arg__1) const; +virtual bool isValid() const; +virtual int navigate(QAccessible::RelationFlag relation, int index, QAccessibleInterface** iface) const; +virtual QObject* object() const; +virtual QRect rect(int child) const; +virtual QAccessible::Relation relationTo(int child, const QAccessibleInterface* other, int otherChild) const; +virtual QAccessible::Role role(int child) const; +virtual void setText(QAccessible::Text t, int child, const QString& text); +virtual QAccessible::State state(int child) const; +virtual QString text(QAccessible::Text t, int child) const; +virtual int userActionCount(int child) const; + + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtPublicPromoter_QAccessibleObject : public QAccessibleObject +{ public: +inline QString promoted_actionText(int action, QAccessible::Text t, int child) const { return QAccessibleObject::actionText(action, t, child); } +inline bool promoted_doAction(int action, int child, const QList& params) { return QAccessibleObject::doAction(action, child, params); } +inline bool promoted_isValid() const { return QAccessibleObject::isValid(); } +inline QObject* promoted_object() const { return QAccessibleObject::object(); } +inline QRect promoted_rect(int child) const { return QAccessibleObject::rect(child); } +inline void promoted_setText(QAccessible::Text t, int child, const QString& text) { QAccessibleObject::setText(t, child, text); } +inline int promoted_userActionCount(int child) const { return QAccessibleObject::userActionCount(child); } +}; + +class PythonQtWrapper_QAccessibleObject : public QObject +{ Q_OBJECT +public: +public slots: +QAccessibleObject* new_QAccessibleObject(QObject* object); + QString actionText(QAccessibleObject* theWrappedObject, int action, QAccessible::Text t, int child) const; + bool doAction(QAccessibleObject* theWrappedObject, int action, int child, const QList& params); + bool isValid(QAccessibleObject* theWrappedObject) const; + QObject* object(QAccessibleObject* theWrappedObject) const; + QRect rect(QAccessibleObject* theWrappedObject, int child) const; + void setText(QAccessibleObject* theWrappedObject, QAccessible::Text t, int child, const QString& text); + int userActionCount(QAccessibleObject* theWrappedObject, int child) const; +}; + + + + + +class PythonQtShell_QAccessibleObjectEx : public QAccessibleObjectEx +{ +public: + PythonQtShell_QAccessibleObjectEx(QObject* object):QAccessibleObjectEx(object),_wrapper(NULL) {}; + +virtual QString actionText(int action, QAccessible::Text t, int child) const; +virtual int childAt(int x, int y) const; +virtual int childCount() const; +virtual bool doAction(int action, int child, const QList& params); +virtual int indexOfChild(const QAccessibleInterface* arg__1) const; +virtual QVariant invokeMethodEx(QAccessible::Method method, int child, const QList& params); +virtual bool isValid() const; +virtual int navigate(QAccessible::RelationFlag relation, int index, QAccessibleInterface** iface) const; +virtual QObject* object() const; +virtual QRect rect(int child) const; +virtual QAccessible::Relation relationTo(int child, const QAccessibleInterface* other, int otherChild) const; +virtual QAccessible::Role role(int child) const; +virtual void setText(QAccessible::Text t, int child, const QString& text); +virtual QAccessible::State state(int child) const; +virtual QString text(QAccessible::Text t, int child) const; +virtual int userActionCount(int child) const; +virtual QVariant virtual_hook(const QVariant& data); + + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtPublicPromoter_QAccessibleObjectEx : public QAccessibleObjectEx +{ public: +inline QString promoted_actionText(int action, QAccessible::Text t, int child) const { return QAccessibleObjectEx::actionText(action, t, child); } +inline bool promoted_doAction(int action, int child, const QList& params) { return QAccessibleObjectEx::doAction(action, child, params); } +inline bool promoted_isValid() const { return QAccessibleObjectEx::isValid(); } +inline QObject* promoted_object() const { return QAccessibleObjectEx::object(); } +inline QRect promoted_rect(int child) const { return QAccessibleObjectEx::rect(child); } +inline void promoted_setText(QAccessible::Text t, int child, const QString& text) { QAccessibleObjectEx::setText(t, child, text); } +inline int promoted_userActionCount(int child) const { return QAccessibleObjectEx::userActionCount(child); } +}; + +class PythonQtWrapper_QAccessibleObjectEx : public QObject +{ Q_OBJECT +public: +public slots: +QAccessibleObjectEx* new_QAccessibleObjectEx(QObject* object); + QString actionText(QAccessibleObjectEx* theWrappedObject, int action, QAccessible::Text t, int child) const; + bool doAction(QAccessibleObjectEx* theWrappedObject, int action, int child, const QList& params); + bool isValid(QAccessibleObjectEx* theWrappedObject) const; + QObject* object(QAccessibleObjectEx* theWrappedObject) const; + QRect rect(QAccessibleObjectEx* theWrappedObject, int child) const; + void setText(QAccessibleObjectEx* theWrappedObject, QAccessible::Text t, int child, const QString& text); + int userActionCount(QAccessibleObjectEx* theWrappedObject, int child) const; +}; + + + + + +class PythonQtShell_QAccessiblePlugin : public QAccessiblePlugin +{ +public: + PythonQtShell_QAccessiblePlugin(QObject* parent = 0):QAccessiblePlugin(parent),_wrapper(NULL) {}; + +virtual void childEvent(QChildEvent* arg__1); +virtual QAccessibleInterface* create(const QString& key, QObject* object); +virtual void customEvent(QEvent* arg__1); +virtual bool event(QEvent* arg__1); +virtual bool eventFilter(QObject* arg__1, QEvent* arg__2); +virtual QStringList keys() const; +virtual void timerEvent(QTimerEvent* arg__1); + + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtWrapper_QAccessiblePlugin : public QObject +{ Q_OBJECT +public: +public slots: +QAccessiblePlugin* new_QAccessiblePlugin(QObject* parent = 0); +void delete_QAccessiblePlugin(QAccessiblePlugin* obj) { delete obj; } +}; + + + + + +class PythonQtShell_QAccessibleTableInterface : public QAccessibleTableInterface +{ +public: + PythonQtShell_QAccessibleTableInterface():QAccessibleTableInterface(),_wrapper(NULL) {}; + +virtual QAccessibleInterface* accessibleAt(int row, int column); +virtual QAccessibleInterface* caption(); +virtual void cellAtIndex(int index, int* row, int* column, int* rowSpan, int* columnSpan, bool* isSelected); +virtual int childIndex(int rowIndex, int columnIndex); +virtual int columnCount(); +virtual QString columnDescription(int column); +virtual QAccessibleInterface* columnHeader(); +virtual int columnIndex(int childIndex); +virtual int columnSpan(int row, int column); +virtual bool isColumnSelected(int column); +virtual bool isRowSelected(int row); +virtual bool isSelected(int row, int column); +virtual int rowCount(); +virtual QString rowDescription(int row); +virtual QAccessibleInterface* rowHeader(); +virtual int rowIndex(int childIndex); +virtual int rowSpan(int row, int column); +virtual void selectColumn(int column); +virtual void selectRow(int row); +virtual int selectedColumnCount(); +virtual int selectedColumns(int maxColumns, QList* columns); +virtual int selectedRowCount(); +virtual int selectedRows(int maxRows, QList* rows); +virtual QAccessibleInterface* summary(); +virtual void unselectColumn(int column); +virtual void unselectRow(int row); + + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtWrapper_QAccessibleTableInterface : public QObject +{ Q_OBJECT +public: +public slots: +QAccessibleTableInterface* new_QAccessibleTableInterface(); +void delete_QAccessibleTableInterface(QAccessibleTableInterface* obj) { delete obj; } +}; + + + + + +class PythonQtShell_QAccessibleWidget : public QAccessibleWidget +{ +public: + PythonQtShell_QAccessibleWidget(QWidget* o, QAccessible::Role r = QAccessible::Client, const QString& name = QString()):QAccessibleWidget(o, r, name),_wrapper(NULL) {}; + +virtual QString actionText(int action, QAccessible::Text t, int child) const; +virtual int childAt(int x, int y) const; +virtual int childCount() const; +virtual bool doAction(int action, int child, const QList& params); +virtual int indexOfChild(const QAccessibleInterface* child) const; +virtual bool isValid() const; +virtual int navigate(QAccessible::RelationFlag rel, int entry, QAccessibleInterface** target) const; +virtual QObject* object() const; +virtual QRect rect(int child) const; +virtual QAccessible::Relation relationTo(int child, const QAccessibleInterface* other, int otherChild) const; +virtual QAccessible::Role role(int child) const; +virtual void setText(QAccessible::Text t, int child, const QString& text); +virtual QAccessible::State state(int child) const; +virtual QString text(QAccessible::Text t, int child) const; +virtual int userActionCount(int child) const; + + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtPublicPromoter_QAccessibleWidget : public QAccessibleWidget +{ public: +inline QString promoted_actionText(int action, QAccessible::Text t, int child) const { return QAccessibleWidget::actionText(action, t, child); } +inline int promoted_childAt(int x, int y) const { return QAccessibleWidget::childAt(x, y); } +inline int promoted_childCount() const { return QAccessibleWidget::childCount(); } +inline bool promoted_doAction(int action, int child, const QList& params) { return QAccessibleWidget::doAction(action, child, params); } +inline int promoted_indexOfChild(const QAccessibleInterface* child) const { return QAccessibleWidget::indexOfChild(child); } +inline int promoted_navigate(QAccessible::RelationFlag rel, int entry, QAccessibleInterface** target) const { return QAccessibleWidget::navigate(rel, entry, target); } +inline QRect promoted_rect(int child) const { return QAccessibleWidget::rect(child); } +inline QAccessible::Relation promoted_relationTo(int child, const QAccessibleInterface* other, int otherChild) const { return QAccessibleWidget::relationTo(child, other, otherChild); } +inline QAccessible::Role promoted_role(int child) const { return QAccessibleWidget::role(child); } +inline QAccessible::State promoted_state(int child) const { return QAccessibleWidget::state(child); } +inline QString promoted_text(QAccessible::Text t, int child) const { return QAccessibleWidget::text(t, child); } +inline int promoted_userActionCount(int child) const { return QAccessibleWidget::userActionCount(child); } +}; + +class PythonQtWrapper_QAccessibleWidget : public QObject +{ Q_OBJECT +public: +public slots: +QAccessibleWidget* new_QAccessibleWidget(QWidget* o, QAccessible::Role r = QAccessible::Client, const QString& name = QString()); + QString actionText(QAccessibleWidget* theWrappedObject, int action, QAccessible::Text t, int child) const; + int childAt(QAccessibleWidget* theWrappedObject, int x, int y) const; + int childCount(QAccessibleWidget* theWrappedObject) const; + bool doAction(QAccessibleWidget* theWrappedObject, int action, int child, const QList& params); + int indexOfChild(QAccessibleWidget* theWrappedObject, const QAccessibleInterface* child) const; + int navigate(QAccessibleWidget* theWrappedObject, QAccessible::RelationFlag rel, int entry, QAccessibleInterface** target) const; + QRect rect(QAccessibleWidget* theWrappedObject, int child) const; + QAccessible::Relation relationTo(QAccessibleWidget* theWrappedObject, int child, const QAccessibleInterface* other, int otherChild) const; + QAccessible::Role role(QAccessibleWidget* theWrappedObject, int child) const; + QAccessible::State state(QAccessibleWidget* theWrappedObject, int child) const; + QString text(QAccessibleWidget* theWrappedObject, QAccessible::Text t, int child) const; + int userActionCount(QAccessibleWidget* theWrappedObject, int child) const; +}; + + + + + +class PythonQtShell_QAccessibleWidgetEx : public QAccessibleWidgetEx +{ +public: + PythonQtShell_QAccessibleWidgetEx(QWidget* o, QAccessible::Role r = QAccessible::Client, const QString& name = QString()):QAccessibleWidgetEx(o, r, name),_wrapper(NULL) {}; + +virtual QString actionText(int action, QAccessible::Text t, int child) const; +virtual int childAt(int x, int y) const; +virtual int childCount() const; +virtual bool doAction(int action, int child, const QList& params); +virtual int indexOfChild(const QAccessibleInterface* child) const; +virtual QVariant invokeMethodEx(QAccessible::Method method, int child, const QList& params); +virtual bool isValid() const; +virtual int navigate(QAccessible::RelationFlag rel, int entry, QAccessibleInterface** target) const; +virtual QObject* object() const; +virtual QRect rect(int child) const; +virtual QAccessible::Relation relationTo(int child, const QAccessibleInterface* other, int otherChild) const; +virtual QAccessible::Role role(int child) const; +virtual void setText(QAccessible::Text t, int child, const QString& text); +virtual QAccessible::State state(int child) const; +virtual QString text(QAccessible::Text t, int child) const; +virtual int userActionCount(int child) const; +virtual QVariant virtual_hook(const QVariant& data); + + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtPublicPromoter_QAccessibleWidgetEx : public QAccessibleWidgetEx +{ public: +inline QString promoted_actionText(int action, QAccessible::Text t, int child) const { return QAccessibleWidgetEx::actionText(action, t, child); } +inline int promoted_childAt(int x, int y) const { return QAccessibleWidgetEx::childAt(x, y); } +inline int promoted_childCount() const { return QAccessibleWidgetEx::childCount(); } +inline bool promoted_doAction(int action, int child, const QList& params) { return QAccessibleWidgetEx::doAction(action, child, params); } +inline int promoted_indexOfChild(const QAccessibleInterface* child) const { return QAccessibleWidgetEx::indexOfChild(child); } +inline QVariant promoted_invokeMethodEx(QAccessible::Method method, int child, const QList& params) { return QAccessibleWidgetEx::invokeMethodEx(method, child, params); } +inline int promoted_navigate(QAccessible::RelationFlag rel, int entry, QAccessibleInterface** target) const { return QAccessibleWidgetEx::navigate(rel, entry, target); } +inline QRect promoted_rect(int child) const { return QAccessibleWidgetEx::rect(child); } +inline QAccessible::Relation promoted_relationTo(int child, const QAccessibleInterface* other, int otherChild) const { return QAccessibleWidgetEx::relationTo(child, other, otherChild); } +inline QAccessible::Role promoted_role(int child) const { return QAccessibleWidgetEx::role(child); } +inline QAccessible::State promoted_state(int child) const { return QAccessibleWidgetEx::state(child); } +inline QString promoted_text(QAccessible::Text t, int child) const { return QAccessibleWidgetEx::text(t, child); } +}; + +class PythonQtWrapper_QAccessibleWidgetEx : public QObject +{ Q_OBJECT +public: +public slots: +QAccessibleWidgetEx* new_QAccessibleWidgetEx(QWidget* o, QAccessible::Role r = QAccessible::Client, const QString& name = QString()); + QString actionText(QAccessibleWidgetEx* theWrappedObject, int action, QAccessible::Text t, int child) const; + int childAt(QAccessibleWidgetEx* theWrappedObject, int x, int y) const; + int childCount(QAccessibleWidgetEx* theWrappedObject) const; + bool doAction(QAccessibleWidgetEx* theWrappedObject, int action, int child, const QList& params); + int indexOfChild(QAccessibleWidgetEx* theWrappedObject, const QAccessibleInterface* child) const; + QVariant invokeMethodEx(QAccessibleWidgetEx* theWrappedObject, QAccessible::Method method, int child, const QList& params); + int navigate(QAccessibleWidgetEx* theWrappedObject, QAccessible::RelationFlag rel, int entry, QAccessibleInterface** target) const; + QRect rect(QAccessibleWidgetEx* theWrappedObject, int child) const; + QAccessible::Relation relationTo(QAccessibleWidgetEx* theWrappedObject, int child, const QAccessibleInterface* other, int otherChild) const; + QAccessible::Role role(QAccessibleWidgetEx* theWrappedObject, int child) const; + QAccessible::State state(QAccessibleWidgetEx* theWrappedObject, int child) const; + QString text(QAccessibleWidgetEx* theWrappedObject, QAccessible::Text t, int child) const; +}; + + + + + +class PythonQtShell_QAction : public QAction +{ +public: + PythonQtShell_QAction(QObject* parent):QAction(parent),_wrapper(NULL) {}; + PythonQtShell_QAction(const QIcon& icon, const QString& text, QObject* parent):QAction(icon, text, parent),_wrapper(NULL) {}; + PythonQtShell_QAction(const QString& text, QObject* parent):QAction(text, parent),_wrapper(NULL) {}; + +virtual void childEvent(QChildEvent* arg__1); +virtual void customEvent(QEvent* arg__1); +virtual bool event(QEvent* arg__1); +virtual bool eventFilter(QObject* arg__1, QEvent* arg__2); +virtual void timerEvent(QTimerEvent* arg__1); + + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtPublicPromoter_QAction : public QAction +{ public: +inline bool promoted_event(QEvent* arg__1) { return QAction::event(arg__1); } +}; + +class PythonQtWrapper_QAction : public QObject +{ Q_OBJECT +public: +Q_ENUMS(ActionEvent ) +enum ActionEvent{ + Trigger = QAction::Trigger, Hover = QAction::Hover}; +public slots: +QAction* new_QAction(QObject* parent); +QAction* new_QAction(const QIcon& icon, const QString& text, QObject* parent); +QAction* new_QAction(const QString& text, QObject* parent); +void delete_QAction(QAction* obj) { delete obj; } + 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); + QFont font(QAction* theWrappedObject) const; + QIcon icon(QAction* theWrappedObject) const; + QString iconText(QAction* theWrappedObject) const; + bool isCheckable(QAction* theWrappedObject) const; + bool isChecked(QAction* theWrappedObject) const; + bool isEnabled(QAction* theWrappedObject) const; + bool isIconVisibleInMenu(QAction* theWrappedObject) const; + bool isSeparator(QAction* theWrappedObject) const; + bool isVisible(QAction* theWrappedObject) const; + QMenu* menu(QAction* theWrappedObject) const; + QAction::MenuRole menuRole(QAction* theWrappedObject) const; + QWidget* parentWidget(QAction* theWrappedObject) const; + QAction::Priority priority(QAction* theWrappedObject) const; + void setActionGroup(QAction* theWrappedObject, QActionGroup* group); + void setAutoRepeat(QAction* theWrappedObject, bool arg__1); + void setCheckable(QAction* theWrappedObject, bool arg__1); + void setData(QAction* theWrappedObject, const QVariant& var); + void setFont(QAction* theWrappedObject, const QFont& font); + void setIcon(QAction* theWrappedObject, const QIcon& icon); + void setIconText(QAction* theWrappedObject, const QString& text); + void setIconVisibleInMenu(QAction* theWrappedObject, bool visible); + void setMenu(QAction* theWrappedObject, QMenu* menu); + void setMenuRole(QAction* theWrappedObject, QAction::MenuRole menuRole); + void setPriority(QAction* theWrappedObject, QAction::Priority priority); + void setSeparator(QAction* theWrappedObject, bool b); + void setShortcut(QAction* theWrappedObject, const QKeySequence& shortcut); + void setShortcutContext(QAction* theWrappedObject, Qt::ShortcutContext context); + void setShortcuts(QAction* theWrappedObject, QKeySequence::StandardKey arg__1); + void setShortcuts(QAction* theWrappedObject, const QList& shortcuts); + void setSoftKeyRole(QAction* theWrappedObject, QAction::SoftKeyRole softKeyRole); + void setStatusTip(QAction* theWrappedObject, const QString& statusTip); + void setText(QAction* theWrappedObject, const QString& text); + void setToolTip(QAction* theWrappedObject, const QString& tip); + void setWhatsThis(QAction* theWrappedObject, const QString& what); + QKeySequence shortcut(QAction* theWrappedObject) const; + Qt::ShortcutContext shortcutContext(QAction* theWrappedObject) const; + QList shortcuts(QAction* theWrappedObject) const; + bool showStatusText(QAction* theWrappedObject, QWidget* widget = 0); + QAction::SoftKeyRole softKeyRole(QAction* theWrappedObject) const; + QString statusTip(QAction* theWrappedObject) const; + QString text(QAction* theWrappedObject) const; + QString toolTip(QAction* theWrappedObject) const; + QString whatsThis(QAction* theWrappedObject) const; +}; + + + + + +class PythonQtWrapper_QActionEvent : public QObject +{ Q_OBJECT +public: +public slots: +QActionEvent* new_QActionEvent(int type, QAction* action, QAction* before = 0); +void delete_QActionEvent(QActionEvent* obj) { delete obj; } + QAction* action(QActionEvent* theWrappedObject) const; + QAction* before(QActionEvent* theWrappedObject) const; +}; + + + + + +class PythonQtShell_QActionGroup : public QActionGroup +{ +public: + PythonQtShell_QActionGroup(QObject* parent):QActionGroup(parent),_wrapper(NULL) {}; + +virtual void childEvent(QChildEvent* arg__1); +virtual void customEvent(QEvent* arg__1); +virtual bool event(QEvent* arg__1); +virtual bool eventFilter(QObject* arg__1, QEvent* arg__2); +virtual void timerEvent(QTimerEvent* arg__1); + + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtWrapper_QActionGroup : public QObject +{ Q_OBJECT +public: +public slots: +QActionGroup* new_QActionGroup(QObject* parent); +void delete_QActionGroup(QActionGroup* obj) { delete obj; } + QList actions(QActionGroup* theWrappedObject) const; + QAction* addAction(QActionGroup* theWrappedObject, QAction* a); + QAction* addAction(QActionGroup* theWrappedObject, const QIcon& icon, const QString& text); + QAction* addAction(QActionGroup* theWrappedObject, const QString& text); + QAction* checkedAction(QActionGroup* theWrappedObject) const; + bool isEnabled(QActionGroup* theWrappedObject) const; + bool isExclusive(QActionGroup* theWrappedObject) const; + bool isVisible(QActionGroup* theWrappedObject) const; + void removeAction(QActionGroup* theWrappedObject, QAction* a); +}; + + + + + +class PythonQtShell_QApplication : public QApplication +{ +public: + +virtual void childEvent(QChildEvent* arg__1); +virtual void commitData(QSessionManager& sm); +virtual void customEvent(QEvent* arg__1); +virtual bool event(QEvent* arg__1); +virtual bool eventFilter(QObject* arg__1, QEvent* arg__2); +virtual bool notify(QObject* arg__1, QEvent* arg__2); +virtual void saveState(QSessionManager& sm); +virtual void timerEvent(QTimerEvent* arg__1); + + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtPublicPromoter_QApplication : public QApplication +{ public: +inline bool promoted_event(QEvent* arg__1) { return QApplication::event(arg__1); } +inline bool promoted_notify(QObject* arg__1, QEvent* arg__2) { return QApplication::notify(arg__1, arg__2); } +}; + +class PythonQtWrapper_QApplication : public QObject +{ Q_OBJECT +public: +Q_ENUMS(Type ColorSpec ) +enum Type{ + Tty = QApplication::Tty, GuiClient = QApplication::GuiClient, GuiServer = QApplication::GuiServer}; +enum ColorSpec{ + NormalColor = QApplication::NormalColor, CustomColor = QApplication::CustomColor, ManyColor = QApplication::ManyColor}; +public slots: +void delete_QApplication(QApplication* obj) { delete obj; } + QWidget* static_QApplication_activeModalWidget(); + QWidget* static_QApplication_activePopupWidget(); + QWidget* static_QApplication_activeWindow(); + void static_QApplication_alert(QWidget* widget, int duration = 0); + QList static_QApplication_allWidgets(); + void static_QApplication_beep(); + void static_QApplication_changeOverrideCursor(const QCursor& arg__1); + QClipboard* static_QApplication_clipboard(); + int static_QApplication_colorSpec(); + int static_QApplication_cursorFlashTime(); + QDesktopWidget* static_QApplication_desktop(); + bool static_QApplication_desktopSettingsAware(); + int static_QApplication_doubleClickInterval(); + bool event(QApplication* theWrappedObject, QEvent* arg__1); + int static_QApplication_exec(); + QWidget* static_QApplication_focusWidget(); + QFont static_QApplication_font(); + QFont static_QApplication_font(const QWidget* arg__1); + QSize static_QApplication_globalStrut(); + QInputContext* inputContext(QApplication* theWrappedObject) const; + bool static_QApplication_isEffectEnabled(Qt::UIEffect arg__1); + bool static_QApplication_isLeftToRight(); + bool static_QApplication_isRightToLeft(); + bool isSessionRestored(QApplication* theWrappedObject) const; + Qt::LayoutDirection static_QApplication_keyboardInputDirection(); + int static_QApplication_keyboardInputInterval(); + QLocale static_QApplication_keyboardInputLocale(); + Qt::KeyboardModifiers static_QApplication_keyboardModifiers(); + Qt::LayoutDirection static_QApplication_layoutDirection(); + Qt::MouseButtons static_QApplication_mouseButtons(); + bool notify(QApplication* theWrappedObject, QObject* arg__1, QEvent* arg__2); + QCursor* static_QApplication_overrideCursor(); + QPalette static_QApplication_palette(); + QPalette static_QApplication_palette(const QWidget* arg__1); + bool static_QApplication_quitOnLastWindowClosed(); + void static_QApplication_restoreOverrideCursor(); + QString sessionId(QApplication* theWrappedObject) const; + QString sessionKey(QApplication* theWrappedObject) const; + void static_QApplication_setActiveWindow(QWidget* act); + void static_QApplication_setColorSpec(int arg__1); + void static_QApplication_setCursorFlashTime(int arg__1); + void static_QApplication_setDesktopSettingsAware(bool arg__1); + void static_QApplication_setDoubleClickInterval(int arg__1); + void static_QApplication_setEffectEnabled(Qt::UIEffect arg__1, bool enable = true); + void static_QApplication_setFont(const QFont& arg__1, const char* className = 0); + void static_QApplication_setGlobalStrut(const QSize& arg__1); + void static_QApplication_setGraphicsSystem(const QString& arg__1); + void setInputContext(QApplication* theWrappedObject, QInputContext* arg__1); + void static_QApplication_setKeyboardInputInterval(int arg__1); + void static_QApplication_setLayoutDirection(Qt::LayoutDirection direction); + void static_QApplication_setOverrideCursor(const QCursor& arg__1); + void static_QApplication_setPalette(const QPalette& arg__1, const char* className = 0); + void static_QApplication_setQuitOnLastWindowClosed(bool quit); + void static_QApplication_setStartDragDistance(int l); + void static_QApplication_setStartDragTime(int ms); + void static_QApplication_setStyle(QStyle* arg__1); + QStyle* static_QApplication_setStyle(const QString& arg__1); + void static_QApplication_setWheelScrollLines(int arg__1); + void static_QApplication_setWindowIcon(const QIcon& icon); + int static_QApplication_startDragDistance(); + int static_QApplication_startDragTime(); + QStyle* static_QApplication_style(); + QString styleSheet(QApplication* theWrappedObject) const; + void static_QApplication_syncX(); + QWidget* static_QApplication_topLevelAt(const QPoint& p); + QWidget* static_QApplication_topLevelAt(int x, int y); + QList static_QApplication_topLevelWidgets(); + QApplication::Type static_QApplication_type(); + int static_QApplication_wheelScrollLines(); + QWidget* static_QApplication_widgetAt(const QPoint& p); + QWidget* static_QApplication_widgetAt(int x, int y); + QIcon static_QApplication_windowIcon(); +}; + + + + + +class PythonQtShell_QBoxLayout : public QBoxLayout +{ +public: + PythonQtShell_QBoxLayout(QBoxLayout::Direction arg__1, QWidget* parent = 0):QBoxLayout(arg__1, parent),_wrapper(NULL) {}; + +virtual void addItem(QLayoutItem* arg__1); +virtual void childEvent(QChildEvent* e); +virtual int count() const; +virtual void customEvent(QEvent* arg__1); +virtual bool event(QEvent* arg__1); +virtual bool eventFilter(QObject* arg__1, QEvent* arg__2); +virtual Qt::Orientations expandingDirections() const; +virtual QRect geometry() const; +virtual int indexOf(QWidget* arg__1) const; +virtual void invalidate(); +virtual bool isEmpty() const; +virtual QLayoutItem* itemAt(int arg__1) const; +virtual QLayout* layout(); +virtual QSize maximumSize() const; +virtual QSize minimumSize() const; +virtual void setGeometry(const QRect& arg__1); +virtual QLayoutItem* takeAt(int arg__1); +virtual void timerEvent(QTimerEvent* arg__1); + + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtPublicPromoter_QBoxLayout : public QBoxLayout +{ public: +inline void promoted_addItem(QLayoutItem* arg__1) { QBoxLayout::addItem(arg__1); } +inline int promoted_count() const { return QBoxLayout::count(); } +inline Qt::Orientations promoted_expandingDirections() const { return QBoxLayout::expandingDirections(); } +inline void promoted_invalidate() { QBoxLayout::invalidate(); } +inline QLayoutItem* promoted_itemAt(int arg__1) const { return QBoxLayout::itemAt(arg__1); } +inline QSize promoted_maximumSize() const { return QBoxLayout::maximumSize(); } +inline QSize promoted_minimumSize() const { return QBoxLayout::minimumSize(); } +inline void promoted_setGeometry(const QRect& arg__1) { QBoxLayout::setGeometry(arg__1); } +inline QLayoutItem* promoted_takeAt(int arg__1) { return QBoxLayout::takeAt(arg__1); } +}; + +class PythonQtWrapper_QBoxLayout : public QObject +{ Q_OBJECT +public: +Q_ENUMS(Direction ) +enum Direction{ + LeftToRight = QBoxLayout::LeftToRight, RightToLeft = QBoxLayout::RightToLeft, TopToBottom = QBoxLayout::TopToBottom, BottomToTop = QBoxLayout::BottomToTop, Down = QBoxLayout::Down, Up = QBoxLayout::Up}; +public slots: +QBoxLayout* new_QBoxLayout(QBoxLayout::Direction arg__1, QWidget* parent = 0); +void delete_QBoxLayout(QBoxLayout* obj) { delete obj; } + void addItem(QBoxLayout* theWrappedObject, QLayoutItem* arg__1); + void addLayout(QBoxLayout* theWrappedObject, QLayout* layout, int stretch = 0); + void addSpacerItem(QBoxLayout* theWrappedObject, QSpacerItem* 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, QWidget* arg__1, int stretch = 0, Qt::Alignment alignment = 0); + int count(QBoxLayout* theWrappedObject) const; + QBoxLayout::Direction direction(QBoxLayout* theWrappedObject) const; + Qt::Orientations expandingDirections(QBoxLayout* theWrappedObject) const; + bool hasHeightForWidth(QBoxLayout* theWrappedObject) const; + int heightForWidth(QBoxLayout* theWrappedObject, int arg__1) const; + void insertLayout(QBoxLayout* theWrappedObject, int index, QLayout* layout, int stretch = 0); + void insertSpacerItem(QBoxLayout* theWrappedObject, int index, QSpacerItem* spacerItem); + void insertSpacing(QBoxLayout* theWrappedObject, int index, int size); + void insertStretch(QBoxLayout* theWrappedObject, int index, int stretch = 0); + void insertWidget(QBoxLayout* theWrappedObject, int index, QWidget* widget, int stretch = 0, Qt::Alignment alignment = 0); + void invalidate(QBoxLayout* theWrappedObject); + QLayoutItem* itemAt(QBoxLayout* theWrappedObject, int arg__1) const; + QSize maximumSize(QBoxLayout* theWrappedObject) const; + int minimumHeightForWidth(QBoxLayout* theWrappedObject, int arg__1) const; + QSize minimumSize(QBoxLayout* theWrappedObject) const; + void setDirection(QBoxLayout* theWrappedObject, QBoxLayout::Direction arg__1); + void setGeometry(QBoxLayout* theWrappedObject, const QRect& 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; + int spacing(QBoxLayout* theWrappedObject) const; + int stretch(QBoxLayout* theWrappedObject, int index) const; + QLayoutItem* takeAt(QBoxLayout* theWrappedObject, int arg__1); +}; + + + + + +class PythonQtShell_QButtonGroup : public QButtonGroup +{ +public: + PythonQtShell_QButtonGroup(QObject* parent = 0):QButtonGroup(parent),_wrapper(NULL) {}; + +virtual void childEvent(QChildEvent* arg__1); +virtual void customEvent(QEvent* arg__1); +virtual bool event(QEvent* arg__1); +virtual bool eventFilter(QObject* arg__1, QEvent* arg__2); +virtual void timerEvent(QTimerEvent* arg__1); + + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtWrapper_QButtonGroup : public QObject +{ Q_OBJECT +public: +public slots: +QButtonGroup* new_QButtonGroup(QObject* parent = 0); +void delete_QButtonGroup(QButtonGroup* obj) { delete obj; } + void addButton(QButtonGroup* theWrappedObject, QAbstractButton* arg__1); + void addButton(QButtonGroup* theWrappedObject, QAbstractButton* arg__1, int id); + QAbstractButton* button(QButtonGroup* theWrappedObject, int id) const; + QList buttons(QButtonGroup* theWrappedObject) const; + QAbstractButton* checkedButton(QButtonGroup* theWrappedObject) const; + int checkedId(QButtonGroup* theWrappedObject) const; + bool exclusive(QButtonGroup* theWrappedObject) const; + int id(QButtonGroup* theWrappedObject, QAbstractButton* button) const; + void removeButton(QButtonGroup* theWrappedObject, QAbstractButton* arg__1); + void setExclusive(QButtonGroup* theWrappedObject, bool arg__1); + void setId(QButtonGroup* theWrappedObject, QAbstractButton* button, int id); +}; + + + + + +class PythonQtShell_QCDEStyle : public QCDEStyle +{ +public: + PythonQtShell_QCDEStyle(bool useHighlightCols = false):QCDEStyle(useHighlightCols),_wrapper(NULL) {}; + +virtual void childEvent(QChildEvent* arg__1); +virtual void customEvent(QEvent* arg__1); +virtual void drawComplexControl(QStyle::ComplexControl cc, const QStyleOptionComplex* opt, QPainter* p, const QWidget* w) const; +virtual void drawControl(QStyle::ControlElement element, const QStyleOption* opt, QPainter* p, const QWidget* w = 0) const; +virtual void drawItemPixmap(QPainter* painter, const QRect& rect, int alignment, const QPixmap& pixmap) const; +virtual void drawItemText(QPainter* painter, const QRect& rect, int flags, const QPalette& pal, bool enabled, const QString& text, QPalette::ColorRole textRole) const; +virtual void drawPrimitive(QStyle::PrimitiveElement pe, const QStyleOption* opt, QPainter* p, const QWidget* w = 0) const; +virtual bool event(QEvent* arg__1); +virtual bool eventFilter(QObject* o, QEvent* e); +virtual QPixmap generatedIconPixmap(QIcon::Mode iconMode, const QPixmap& pixmap, const QStyleOption* opt) const; +virtual QStyle::SubControl hitTestComplexControl(QStyle::ComplexControl cc, const QStyleOptionComplex* opt, const QPoint& pt, const QWidget* w) const; +virtual QRect itemPixmapRect(const QRect& r, int flags, const QPixmap& pixmap) const; +virtual int pixelMetric(QStyle::PixelMetric metric, const QStyleOption* option = 0, const QWidget* widget = 0) const; +virtual void polish(QApplication* arg__1); +virtual void polish(QPalette& arg__1); +virtual void polish(QWidget* arg__1); +virtual QSize sizeFromContents(QStyle::ContentsType ct, const QStyleOption* opt, const QSize& contentsSize, const QWidget* widget) const; +virtual QPalette standardPalette() const; +virtual QPixmap standardPixmap(QStyle::StandardPixmap standardPixmap, const QStyleOption* opt, const QWidget* widget) const; +virtual int styleHint(QStyle::StyleHint hint, const QStyleOption* opt, const QWidget* widget, QStyleHintReturn* returnData) const; +virtual QRect subControlRect(QStyle::ComplexControl cc, const QStyleOptionComplex* opt, QStyle::SubControl sc, const QWidget* widget) const; +virtual QRect subElementRect(QStyle::SubElement r, const QStyleOption* opt, const QWidget* widget) const; +virtual void timerEvent(QTimerEvent* event); +virtual void unpolish(QApplication* arg__1); +virtual void unpolish(QWidget* arg__1); + + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtPublicPromoter_QCDEStyle : public QCDEStyle +{ public: +inline void promoted_drawControl(QStyle::ControlElement element, const QStyleOption* opt, QPainter* p, const QWidget* w = 0) const { QCDEStyle::drawControl(element, opt, p, w); } +inline void promoted_drawPrimitive(QStyle::PrimitiveElement pe, const QStyleOption* opt, QPainter* p, const QWidget* w = 0) const { QCDEStyle::drawPrimitive(pe, opt, p, w); } +inline int promoted_pixelMetric(QStyle::PixelMetric metric, const QStyleOption* option = 0, const QWidget* widget = 0) const { return QCDEStyle::pixelMetric(metric, option, widget); } +inline QPalette promoted_standardPalette() const { return QCDEStyle::standardPalette(); } +}; + +class PythonQtWrapper_QCDEStyle : public QObject +{ Q_OBJECT +public: +public slots: +QCDEStyle* new_QCDEStyle(bool useHighlightCols = false); +void delete_QCDEStyle(QCDEStyle* obj) { delete obj; } + void drawControl(QCDEStyle* theWrappedObject, QStyle::ControlElement element, const QStyleOption* opt, QPainter* p, const QWidget* w = 0) const; + void drawPrimitive(QCDEStyle* theWrappedObject, QStyle::PrimitiveElement pe, const QStyleOption* opt, QPainter* p, const QWidget* w = 0) const; + int pixelMetric(QCDEStyle* theWrappedObject, QStyle::PixelMetric metric, const QStyleOption* option = 0, const QWidget* widget = 0) const; + QPalette standardPalette(QCDEStyle* theWrappedObject) const; +}; + + + + + +class PythonQtShell_QCalendarWidget : public QCalendarWidget +{ +public: + PythonQtShell_QCalendarWidget(QWidget* parent = 0):QCalendarWidget(parent),_wrapper(NULL) {}; + +virtual void actionEvent(QActionEvent* arg__1); +virtual void changeEvent(QEvent* arg__1); +virtual void childEvent(QChildEvent* arg__1); +virtual void closeEvent(QCloseEvent* arg__1); +virtual void contextMenuEvent(QContextMenuEvent* arg__1); +virtual void customEvent(QEvent* arg__1); +virtual int devType() const; +virtual void dragEnterEvent(QDragEnterEvent* arg__1); +virtual void dragLeaveEvent(QDragLeaveEvent* arg__1); +virtual void dragMoveEvent(QDragMoveEvent* arg__1); +virtual void dropEvent(QDropEvent* arg__1); +virtual void enterEvent(QEvent* arg__1); +virtual bool event(QEvent* event); +virtual bool eventFilter(QObject* watched, QEvent* event); +virtual void focusInEvent(QFocusEvent* arg__1); +virtual bool focusNextPrevChild(bool next); +virtual void focusOutEvent(QFocusEvent* arg__1); +virtual int heightForWidth(int arg__1) const; +virtual void hideEvent(QHideEvent* arg__1); +virtual void inputMethodEvent(QInputMethodEvent* arg__1); +virtual QVariant inputMethodQuery(Qt::InputMethodQuery arg__1) const; +virtual void keyPressEvent(QKeyEvent* event); +virtual void keyReleaseEvent(QKeyEvent* arg__1); +virtual void languageChange(); +virtual void leaveEvent(QEvent* arg__1); +virtual int metric(QPaintDevice::PaintDeviceMetric arg__1) const; +virtual QSize minimumSizeHint() const; +virtual void mouseDoubleClickEvent(QMouseEvent* arg__1); +virtual void mouseMoveEvent(QMouseEvent* arg__1); +virtual void mousePressEvent(QMouseEvent* event); +virtual void mouseReleaseEvent(QMouseEvent* arg__1); +virtual void moveEvent(QMoveEvent* arg__1); +virtual void paintCell(QPainter* painter, const QRect& rect, const QDate& date) const; +virtual QPaintEngine* paintEngine() const; +virtual void paintEvent(QPaintEvent* arg__1); +virtual void resizeEvent(QResizeEvent* event); +virtual void showEvent(QShowEvent* arg__1); +virtual QSize sizeHint() const; +virtual void tabletEvent(QTabletEvent* arg__1); +virtual void timerEvent(QTimerEvent* arg__1); +virtual void wheelEvent(QWheelEvent* arg__1); + + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtPublicPromoter_QCalendarWidget : public QCalendarWidget +{ public: +inline bool promoted_event(QEvent* event) { return QCalendarWidget::event(event); } +inline bool promoted_eventFilter(QObject* watched, QEvent* event) { return QCalendarWidget::eventFilter(watched, event); } +inline void promoted_keyPressEvent(QKeyEvent* event) { QCalendarWidget::keyPressEvent(event); } +inline QSize promoted_minimumSizeHint() const { return QCalendarWidget::minimumSizeHint(); } +inline void promoted_mousePressEvent(QMouseEvent* event) { QCalendarWidget::mousePressEvent(event); } +inline void promoted_paintCell(QPainter* painter, const QRect& rect, const QDate& date) const { QCalendarWidget::paintCell(painter, rect, date); } +inline void promoted_resizeEvent(QResizeEvent* event) { QCalendarWidget::resizeEvent(event); } +inline QSize promoted_sizeHint() const { return QCalendarWidget::sizeHint(); } +}; + +class PythonQtWrapper_QCalendarWidget : public QObject +{ Q_OBJECT +public: +public slots: +QCalendarWidget* new_QCalendarWidget(QWidget* parent = 0); +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 event(QCalendarWidget* theWrappedObject, QEvent* event); + bool eventFilter(QCalendarWidget* theWrappedObject, QObject* watched, QEvent* event); + Qt::DayOfWeek firstDayOfWeek(QCalendarWidget* theWrappedObject) const; + QTextCharFormat headerTextFormat(QCalendarWidget* theWrappedObject) const; + QCalendarWidget::HorizontalHeaderFormat horizontalHeaderFormat(QCalendarWidget* theWrappedObject) const; + bool isDateEditEnabled(QCalendarWidget* theWrappedObject) const; + bool isGridVisible(QCalendarWidget* theWrappedObject) const; + bool isNavigationBarVisible(QCalendarWidget* theWrappedObject) const; + void keyPressEvent(QCalendarWidget* theWrappedObject, QKeyEvent* event); + QDate maximumDate(QCalendarWidget* theWrappedObject) const; + QDate minimumDate(QCalendarWidget* theWrappedObject) const; + QSize minimumSizeHint(QCalendarWidget* theWrappedObject) const; + int monthShown(QCalendarWidget* theWrappedObject) const; + void mousePressEvent(QCalendarWidget* theWrappedObject, QMouseEvent* event); + void paintCell(QCalendarWidget* theWrappedObject, QPainter* painter, const QRect& rect, const QDate& date) const; + void resizeEvent(QCalendarWidget* theWrappedObject, QResizeEvent* event); + QDate selectedDate(QCalendarWidget* theWrappedObject) const; + QCalendarWidget::SelectionMode selectionMode(QCalendarWidget* theWrappedObject) const; + void setDateEditAcceptDelay(QCalendarWidget* theWrappedObject, int delay); + void setDateEditEnabled(QCalendarWidget* theWrappedObject, bool enable); + void setDateTextFormat(QCalendarWidget* theWrappedObject, const QDate& date, const QTextCharFormat& format); + void setFirstDayOfWeek(QCalendarWidget* theWrappedObject, Qt::DayOfWeek dayOfWeek); + void setHeaderTextFormat(QCalendarWidget* theWrappedObject, const QTextCharFormat& format); + void setHorizontalHeaderFormat(QCalendarWidget* theWrappedObject, QCalendarWidget::HorizontalHeaderFormat format); + void setMaximumDate(QCalendarWidget* theWrappedObject, const QDate& date); + void setMinimumDate(QCalendarWidget* theWrappedObject, const QDate& date); + void setSelectionMode(QCalendarWidget* theWrappedObject, QCalendarWidget::SelectionMode mode); + void setVerticalHeaderFormat(QCalendarWidget* theWrappedObject, QCalendarWidget::VerticalHeaderFormat format); + void setWeekdayTextFormat(QCalendarWidget* theWrappedObject, Qt::DayOfWeek dayOfWeek, const QTextCharFormat& format); + QSize sizeHint(QCalendarWidget* theWrappedObject) const; + QCalendarWidget::VerticalHeaderFormat verticalHeaderFormat(QCalendarWidget* theWrappedObject) const; + QTextCharFormat weekdayTextFormat(QCalendarWidget* theWrappedObject, Qt::DayOfWeek dayOfWeek) const; + int yearShown(QCalendarWidget* theWrappedObject) const; +}; + + diff --git a/generated_cpp_47/com_trolltech_qt_gui/com_trolltech_qt_gui1.cpp b/generated_cpp_47/com_trolltech_qt_gui/com_trolltech_qt_gui1.cpp new file mode 100644 index 00000000..dfa2818f --- /dev/null +++ b/generated_cpp_47/com_trolltech_qt_gui/com_trolltech_qt_gui1.cpp @@ -0,0 +1,15475 @@ +#include "com_trolltech_qt_gui1.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 + +void PythonQtShell_QCheckBox::actionEvent(QActionEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "actionEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QActionEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QCheckBox::actionEvent(arg__1); +} +void PythonQtShell_QCheckBox::changeEvent(QEvent* e) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "changeEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&e}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QCheckBox::changeEvent(e); +} +void PythonQtShell_QCheckBox::checkStateSet() +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "checkStateSet"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={""}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QCheckBox::checkStateSet(); +} +void PythonQtShell_QCheckBox::childEvent(QChildEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "childEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QChildEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QCheckBox::childEvent(arg__1); +} +void PythonQtShell_QCheckBox::closeEvent(QCloseEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "closeEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QCloseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QCheckBox::closeEvent(arg__1); +} +void PythonQtShell_QCheckBox::contextMenuEvent(QContextMenuEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "contextMenuEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QContextMenuEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QCheckBox::contextMenuEvent(arg__1); +} +void PythonQtShell_QCheckBox::customEvent(QEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "customEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QCheckBox::customEvent(arg__1); +} +int PythonQtShell_QCheckBox::devType() const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "devType"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + int returnValue; + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("devType", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QCheckBox::devType(); +} +void PythonQtShell_QCheckBox::dragEnterEvent(QDragEnterEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dragEnterEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QDragEnterEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QCheckBox::dragEnterEvent(arg__1); +} +void PythonQtShell_QCheckBox::dragLeaveEvent(QDragLeaveEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dragLeaveEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QDragLeaveEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QCheckBox::dragLeaveEvent(arg__1); +} +void PythonQtShell_QCheckBox::dragMoveEvent(QDragMoveEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dragMoveEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QDragMoveEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QCheckBox::dragMoveEvent(arg__1); +} +void PythonQtShell_QCheckBox::dropEvent(QDropEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dropEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QDropEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QCheckBox::dropEvent(arg__1); +} +void PythonQtShell_QCheckBox::enterEvent(QEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "enterEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QCheckBox::enterEvent(arg__1); +} +bool PythonQtShell_QCheckBox::event(QEvent* e) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "event"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue; + void* args[2] = {NULL, (void*)&e}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QCheckBox::event(e); +} +bool PythonQtShell_QCheckBox::eventFilter(QObject* arg__1, QEvent* arg__2) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "eventFilter"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue; + void* args[3] = {NULL, (void*)&arg__1, (void*)&arg__2}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QCheckBox::eventFilter(arg__1, arg__2); +} +void PythonQtShell_QCheckBox::focusInEvent(QFocusEvent* e) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "focusInEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QFocusEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&e}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QCheckBox::focusInEvent(e); +} +bool PythonQtShell_QCheckBox::focusNextPrevChild(bool next) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "focusNextPrevChild"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue; + void* args[2] = {NULL, (void*)&next}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("focusNextPrevChild", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QCheckBox::focusNextPrevChild(next); +} +void PythonQtShell_QCheckBox::focusOutEvent(QFocusEvent* e) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "focusOutEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QFocusEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&e}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QCheckBox::focusOutEvent(e); +} +int PythonQtShell_QCheckBox::heightForWidth(int arg__1) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "heightForWidth"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"int" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + int returnValue; + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("heightForWidth", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QCheckBox::heightForWidth(arg__1); +} +void PythonQtShell_QCheckBox::hideEvent(QHideEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "hideEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QHideEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QCheckBox::hideEvent(arg__1); +} +bool PythonQtShell_QCheckBox::hitButton(const QPoint& pos) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "hitButton"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "const QPoint&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue; + void* args[2] = {NULL, (void*)&pos}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("hitButton", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QCheckBox::hitButton(pos); +} +void PythonQtShell_QCheckBox::inputMethodEvent(QInputMethodEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "inputMethodEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QInputMethodEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QCheckBox::inputMethodEvent(arg__1); +} +QVariant PythonQtShell_QCheckBox::inputMethodQuery(Qt::InputMethodQuery arg__1) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "inputMethodQuery"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QVariant" , "Qt::InputMethodQuery"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + QVariant returnValue; + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result); + } else { + returnValue = *((QVariant*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QCheckBox::inputMethodQuery(arg__1); +} +void PythonQtShell_QCheckBox::keyPressEvent(QKeyEvent* e) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "keyPressEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QKeyEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&e}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QCheckBox::keyPressEvent(e); +} +void PythonQtShell_QCheckBox::keyReleaseEvent(QKeyEvent* e) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "keyReleaseEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QKeyEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&e}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QCheckBox::keyReleaseEvent(e); +} +void PythonQtShell_QCheckBox::languageChange() +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "languageChange"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={""}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QCheckBox::languageChange(); +} +void PythonQtShell_QCheckBox::leaveEvent(QEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "leaveEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QCheckBox::leaveEvent(arg__1); +} +int PythonQtShell_QCheckBox::metric(QPaintDevice::PaintDeviceMetric arg__1) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "metric"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + int returnValue; + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("metric", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QCheckBox::metric(arg__1); +} +QSize PythonQtShell_QCheckBox::minimumSizeHint() const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "getMinimumSizeHint"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QSize"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QSize returnValue; + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("getMinimumSizeHint", methodInfo, result); + } else { + returnValue = *((QSize*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QCheckBox::minimumSizeHint(); +} +void PythonQtShell_QCheckBox::mouseDoubleClickEvent(QMouseEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mouseDoubleClickEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QCheckBox::mouseDoubleClickEvent(arg__1); +} +void PythonQtShell_QCheckBox::mouseMoveEvent(QMouseEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mouseMoveEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QCheckBox::mouseMoveEvent(arg__1); +} +void PythonQtShell_QCheckBox::mousePressEvent(QMouseEvent* e) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mousePressEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&e}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QCheckBox::mousePressEvent(e); +} +void PythonQtShell_QCheckBox::mouseReleaseEvent(QMouseEvent* e) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mouseReleaseEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&e}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QCheckBox::mouseReleaseEvent(e); +} +void PythonQtShell_QCheckBox::moveEvent(QMoveEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "moveEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QMoveEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QCheckBox::moveEvent(arg__1); +} +void PythonQtShell_QCheckBox::nextCheckState() +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "nextCheckState"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={""}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QCheckBox::nextCheckState(); +} +QPaintEngine* PythonQtShell_QCheckBox::paintEngine() const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "paintEngine"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QPaintEngine*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QPaintEngine* returnValue; + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); + } else { + returnValue = *((QPaintEngine**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QCheckBox::paintEngine(); +} +void PythonQtShell_QCheckBox::paintEvent(QPaintEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "paintEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QPaintEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QCheckBox::paintEvent(arg__1); +} +void PythonQtShell_QCheckBox::resizeEvent(QResizeEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "resizeEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QResizeEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QCheckBox::resizeEvent(arg__1); +} +void PythonQtShell_QCheckBox::showEvent(QShowEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "showEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QShowEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QCheckBox::showEvent(arg__1); +} +void PythonQtShell_QCheckBox::tabletEvent(QTabletEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "tabletEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QTabletEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QCheckBox::tabletEvent(arg__1); +} +void PythonQtShell_QCheckBox::timerEvent(QTimerEvent* e) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "timerEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QTimerEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&e}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QCheckBox::timerEvent(e); +} +void PythonQtShell_QCheckBox::wheelEvent(QWheelEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "wheelEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QWheelEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QCheckBox::wheelEvent(arg__1); +} +QCheckBox* PythonQtWrapper_QCheckBox::new_QCheckBox(QWidget* parent) +{ +return new PythonQtShell_QCheckBox(parent); } + +QCheckBox* PythonQtWrapper_QCheckBox::new_QCheckBox(const QString& text, QWidget* parent) +{ +return new PythonQtShell_QCheckBox(text, parent); } + +Qt::CheckState PythonQtWrapper_QCheckBox::checkState(QCheckBox* theWrappedObject) const +{ + return ( theWrappedObject->checkState()); +} + +void PythonQtWrapper_QCheckBox::checkStateSet(QCheckBox* theWrappedObject) +{ + ( ((PythonQtPublicPromoter_QCheckBox*)theWrappedObject)->promoted_checkStateSet()); +} + +bool PythonQtWrapper_QCheckBox::event(QCheckBox* theWrappedObject, QEvent* e) +{ + return ( ((PythonQtPublicPromoter_QCheckBox*)theWrappedObject)->promoted_event(e)); +} + +bool PythonQtWrapper_QCheckBox::hitButton(QCheckBox* theWrappedObject, const QPoint& pos) const +{ + return ( ((PythonQtPublicPromoter_QCheckBox*)theWrappedObject)->promoted_hitButton(pos)); +} + +bool PythonQtWrapper_QCheckBox::isTristate(QCheckBox* theWrappedObject) const +{ + return ( theWrappedObject->isTristate()); +} + +void PythonQtWrapper_QCheckBox::mouseMoveEvent(QCheckBox* theWrappedObject, QMouseEvent* arg__1) +{ + ( ((PythonQtPublicPromoter_QCheckBox*)theWrappedObject)->promoted_mouseMoveEvent(arg__1)); +} + +void PythonQtWrapper_QCheckBox::nextCheckState(QCheckBox* theWrappedObject) +{ + ( ((PythonQtPublicPromoter_QCheckBox*)theWrappedObject)->promoted_nextCheckState()); +} + +void PythonQtWrapper_QCheckBox::paintEvent(QCheckBox* theWrappedObject, QPaintEvent* arg__1) +{ + ( ((PythonQtPublicPromoter_QCheckBox*)theWrappedObject)->promoted_paintEvent(arg__1)); +} + +void PythonQtWrapper_QCheckBox::setCheckState(QCheckBox* theWrappedObject, Qt::CheckState state) +{ + ( theWrappedObject->setCheckState(state)); +} + +void PythonQtWrapper_QCheckBox::setTristate(QCheckBox* theWrappedObject, bool y) +{ + ( theWrappedObject->setTristate(y)); +} + +QSize PythonQtWrapper_QCheckBox::sizeHint(QCheckBox* theWrappedObject) const +{ + return ( theWrappedObject->sizeHint()); +} + + + +void PythonQtShell_QCleanlooksStyle::childEvent(QChildEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "childEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QChildEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QCleanlooksStyle::childEvent(arg__1); +} +void PythonQtShell_QCleanlooksStyle::customEvent(QEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "customEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QCleanlooksStyle::customEvent(arg__1); +} +void PythonQtShell_QCleanlooksStyle::drawComplexControl(QStyle::ComplexControl control, const QStyleOptionComplex* option, QPainter* painter, const QWidget* widget) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "drawComplexControl"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QStyle::ComplexControl" , "const QStyleOptionComplex*" , "QPainter*" , "const QWidget*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(5, argumentList); + void* args[5] = {NULL, (void*)&control, (void*)&option, (void*)&painter, (void*)&widget}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QCleanlooksStyle::drawComplexControl(control, option, painter, widget); +} +void PythonQtShell_QCleanlooksStyle::drawControl(QStyle::ControlElement ce, const QStyleOption* option, QPainter* painter, const QWidget* widget) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "drawControl"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QStyle::ControlElement" , "const QStyleOption*" , "QPainter*" , "const QWidget*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(5, argumentList); + void* args[5] = {NULL, (void*)&ce, (void*)&option, (void*)&painter, (void*)&widget}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QCleanlooksStyle::drawControl(ce, option, painter, widget); +} +void PythonQtShell_QCleanlooksStyle::drawItemPixmap(QPainter* painter, const QRect& rect, int alignment, const QPixmap& pixmap) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "drawItemPixmap"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QPainter*" , "const QRect&" , "int" , "const QPixmap&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(5, argumentList); + void* args[5] = {NULL, (void*)&painter, (void*)&rect, (void*)&alignment, (void*)&pixmap}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QCleanlooksStyle::drawItemPixmap(painter, rect, alignment, pixmap); +} +void PythonQtShell_QCleanlooksStyle::drawItemText(QPainter* painter, const QRect& rect, int flags, const QPalette& pal, bool enabled, const QString& text, QPalette::ColorRole textRole) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "drawItemText"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QPainter*" , "const QRect&" , "int" , "const QPalette&" , "bool" , "const QString&" , "QPalette::ColorRole"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(8, argumentList); + void* args[8] = {NULL, (void*)&painter, (void*)&rect, (void*)&flags, (void*)&pal, (void*)&enabled, (void*)&text, (void*)&textRole}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QCleanlooksStyle::drawItemText(painter, rect, flags, pal, enabled, text, textRole); +} +void PythonQtShell_QCleanlooksStyle::drawPrimitive(QStyle::PrimitiveElement elem, const QStyleOption* option, QPainter* painter, const QWidget* widget) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "drawPrimitive"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QStyle::PrimitiveElement" , "const QStyleOption*" , "QPainter*" , "const QWidget*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(5, argumentList); + void* args[5] = {NULL, (void*)&elem, (void*)&option, (void*)&painter, (void*)&widget}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QCleanlooksStyle::drawPrimitive(elem, option, painter, widget); +} +bool PythonQtShell_QCleanlooksStyle::event(QEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "event"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue; + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QCleanlooksStyle::event(arg__1); +} +bool PythonQtShell_QCleanlooksStyle::eventFilter(QObject* o, QEvent* e) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "eventFilter"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue; + void* args[3] = {NULL, (void*)&o, (void*)&e}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QCleanlooksStyle::eventFilter(o, e); +} +QPixmap PythonQtShell_QCleanlooksStyle::generatedIconPixmap(QIcon::Mode iconMode, const QPixmap& pixmap, const QStyleOption* opt) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "generatedIconPixmap"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QPixmap" , "QIcon::Mode" , "const QPixmap&" , "const QStyleOption*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + QPixmap returnValue; + void* args[4] = {NULL, (void*)&iconMode, (void*)&pixmap, (void*)&opt}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("generatedIconPixmap", methodInfo, result); + } else { + returnValue = *((QPixmap*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QCleanlooksStyle::generatedIconPixmap(iconMode, pixmap, opt); +} +QStyle::SubControl PythonQtShell_QCleanlooksStyle::hitTestComplexControl(QStyle::ComplexControl cc, const QStyleOptionComplex* opt, const QPoint& pt, const QWidget* w) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "hitTestComplexControl"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QStyle::SubControl" , "QStyle::ComplexControl" , "const QStyleOptionComplex*" , "const QPoint&" , "const QWidget*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(5, argumentList); + QStyle::SubControl returnValue; + void* args[5] = {NULL, (void*)&cc, (void*)&opt, (void*)&pt, (void*)&w}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("hitTestComplexControl", methodInfo, result); + } else { + returnValue = *((QStyle::SubControl*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QCleanlooksStyle::hitTestComplexControl(cc, opt, pt, w); +} +QRect PythonQtShell_QCleanlooksStyle::itemPixmapRect(const QRect& r, int flags, const QPixmap& pixmap) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "itemPixmapRect"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QRect" , "const QRect&" , "int" , "const QPixmap&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + QRect returnValue; + void* args[4] = {NULL, (void*)&r, (void*)&flags, (void*)&pixmap}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("itemPixmapRect", methodInfo, result); + } else { + returnValue = *((QRect*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QCleanlooksStyle::itemPixmapRect(r, flags, pixmap); +} +int PythonQtShell_QCleanlooksStyle::pixelMetric(QStyle::PixelMetric metric, const QStyleOption* option, const QWidget* widget) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "pixelMetric"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"int" , "QStyle::PixelMetric" , "const QStyleOption*" , "const QWidget*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + int returnValue; + void* args[4] = {NULL, (void*)&metric, (void*)&option, (void*)&widget}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("pixelMetric", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QCleanlooksStyle::pixelMetric(metric, option, widget); +} +void PythonQtShell_QCleanlooksStyle::polish(QApplication* app) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "polish"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QApplication*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&app}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QCleanlooksStyle::polish(app); +} +void PythonQtShell_QCleanlooksStyle::polish(QPalette& pal) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "polish"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QPalette&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&pal}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QCleanlooksStyle::polish(pal); +} +void PythonQtShell_QCleanlooksStyle::polish(QWidget* widget) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "polish"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QWidget*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&widget}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QCleanlooksStyle::polish(widget); +} +QSize PythonQtShell_QCleanlooksStyle::sizeFromContents(QStyle::ContentsType type, const QStyleOption* option, const QSize& size, const QWidget* widget) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "sizeFromContents"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QSize" , "QStyle::ContentsType" , "const QStyleOption*" , "const QSize&" , "const QWidget*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(5, argumentList); + QSize returnValue; + void* args[5] = {NULL, (void*)&type, (void*)&option, (void*)&size, (void*)&widget}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("sizeFromContents", methodInfo, result); + } else { + returnValue = *((QSize*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QCleanlooksStyle::sizeFromContents(type, option, size, widget); +} +QPalette PythonQtShell_QCleanlooksStyle::standardPalette() const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "standardPalette"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QPalette"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QPalette returnValue; + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("standardPalette", methodInfo, result); + } else { + returnValue = *((QPalette*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QCleanlooksStyle::standardPalette(); +} +QPixmap PythonQtShell_QCleanlooksStyle::standardPixmap(QStyle::StandardPixmap standardPixmap, const QStyleOption* opt, const QWidget* widget) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "standardPixmap"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QPixmap" , "QStyle::StandardPixmap" , "const QStyleOption*" , "const QWidget*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + QPixmap returnValue; + void* args[4] = {NULL, (void*)&standardPixmap, (void*)&opt, (void*)&widget}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("standardPixmap", methodInfo, result); + } else { + returnValue = *((QPixmap*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QPixmap(); +} +int PythonQtShell_QCleanlooksStyle::styleHint(QStyle::StyleHint hint, const QStyleOption* option, const QWidget* widget, QStyleHintReturn* returnData) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "styleHint"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"int" , "QStyle::StyleHint" , "const QStyleOption*" , "const QWidget*" , "QStyleHintReturn*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(5, argumentList); + int returnValue; + void* args[5] = {NULL, (void*)&hint, (void*)&option, (void*)&widget, (void*)&returnData}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("styleHint", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QCleanlooksStyle::styleHint(hint, option, widget, returnData); +} +QRect PythonQtShell_QCleanlooksStyle::subControlRect(QStyle::ComplexControl cc, const QStyleOptionComplex* opt, QStyle::SubControl sc, const QWidget* widget) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "subControlRect"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QRect" , "QStyle::ComplexControl" , "const QStyleOptionComplex*" , "QStyle::SubControl" , "const QWidget*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(5, argumentList); + QRect returnValue; + void* args[5] = {NULL, (void*)&cc, (void*)&opt, (void*)&sc, (void*)&widget}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("subControlRect", methodInfo, result); + } else { + returnValue = *((QRect*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QCleanlooksStyle::subControlRect(cc, opt, sc, widget); +} +QRect PythonQtShell_QCleanlooksStyle::subElementRect(QStyle::SubElement r, const QStyleOption* opt, const QWidget* widget) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "subElementRect"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QRect" , "QStyle::SubElement" , "const QStyleOption*" , "const QWidget*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + QRect returnValue; + void* args[4] = {NULL, (void*)&r, (void*)&opt, (void*)&widget}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("subElementRect", methodInfo, result); + } else { + returnValue = *((QRect*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QCleanlooksStyle::subElementRect(r, opt, widget); +} +void PythonQtShell_QCleanlooksStyle::timerEvent(QTimerEvent* event) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "timerEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QTimerEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&event}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QCleanlooksStyle::timerEvent(event); +} +void PythonQtShell_QCleanlooksStyle::unpolish(QApplication* app) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "unpolish"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QApplication*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&app}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QCleanlooksStyle::unpolish(app); +} +void PythonQtShell_QCleanlooksStyle::unpolish(QWidget* widget) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "unpolish"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QWidget*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&widget}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QCleanlooksStyle::unpolish(widget); +} +QCleanlooksStyle* PythonQtWrapper_QCleanlooksStyle::new_QCleanlooksStyle() +{ +return new PythonQtShell_QCleanlooksStyle(); } + +void PythonQtWrapper_QCleanlooksStyle::drawComplexControl(QCleanlooksStyle* theWrappedObject, QStyle::ComplexControl control, const QStyleOptionComplex* option, QPainter* painter, const QWidget* widget) const +{ + ( ((PythonQtPublicPromoter_QCleanlooksStyle*)theWrappedObject)->promoted_drawComplexControl(control, option, painter, widget)); +} + +void PythonQtWrapper_QCleanlooksStyle::drawControl(QCleanlooksStyle* theWrappedObject, QStyle::ControlElement ce, const QStyleOption* option, QPainter* painter, const QWidget* widget) const +{ + ( ((PythonQtPublicPromoter_QCleanlooksStyle*)theWrappedObject)->promoted_drawControl(ce, option, painter, widget)); +} + +void PythonQtWrapper_QCleanlooksStyle::drawItemPixmap(QCleanlooksStyle* theWrappedObject, QPainter* painter, const QRect& rect, int alignment, const QPixmap& pixmap) const +{ + ( ((PythonQtPublicPromoter_QCleanlooksStyle*)theWrappedObject)->promoted_drawItemPixmap(painter, rect, alignment, pixmap)); +} + +void PythonQtWrapper_QCleanlooksStyle::drawItemText(QCleanlooksStyle* theWrappedObject, QPainter* painter, const QRect& rect, int flags, const QPalette& pal, bool enabled, const QString& text, QPalette::ColorRole textRole) const +{ + ( ((PythonQtPublicPromoter_QCleanlooksStyle*)theWrappedObject)->promoted_drawItemText(painter, rect, flags, pal, enabled, text, textRole)); +} + +void PythonQtWrapper_QCleanlooksStyle::drawPrimitive(QCleanlooksStyle* theWrappedObject, QStyle::PrimitiveElement elem, const QStyleOption* option, QPainter* painter, const QWidget* widget) const +{ + ( ((PythonQtPublicPromoter_QCleanlooksStyle*)theWrappedObject)->promoted_drawPrimitive(elem, option, painter, widget)); +} + +QPixmap PythonQtWrapper_QCleanlooksStyle::generatedIconPixmap(QCleanlooksStyle* theWrappedObject, QIcon::Mode iconMode, const QPixmap& pixmap, const QStyleOption* opt) const +{ + return ( ((PythonQtPublicPromoter_QCleanlooksStyle*)theWrappedObject)->promoted_generatedIconPixmap(iconMode, pixmap, opt)); +} + +QStyle::SubControl PythonQtWrapper_QCleanlooksStyle::hitTestComplexControl(QCleanlooksStyle* theWrappedObject, QStyle::ComplexControl cc, const QStyleOptionComplex* opt, const QPoint& pt, const QWidget* w) const +{ + return ( ((PythonQtPublicPromoter_QCleanlooksStyle*)theWrappedObject)->promoted_hitTestComplexControl(cc, opt, pt, w)); +} + +QRect PythonQtWrapper_QCleanlooksStyle::itemPixmapRect(QCleanlooksStyle* theWrappedObject, const QRect& r, int flags, const QPixmap& pixmap) const +{ + return ( ((PythonQtPublicPromoter_QCleanlooksStyle*)theWrappedObject)->promoted_itemPixmapRect(r, flags, pixmap)); +} + +int PythonQtWrapper_QCleanlooksStyle::pixelMetric(QCleanlooksStyle* theWrappedObject, QStyle::PixelMetric metric, const QStyleOption* option, const QWidget* widget) const +{ + return ( ((PythonQtPublicPromoter_QCleanlooksStyle*)theWrappedObject)->promoted_pixelMetric(metric, option, widget)); +} + +void PythonQtWrapper_QCleanlooksStyle::polish(QCleanlooksStyle* theWrappedObject, QApplication* app) +{ + ( ((PythonQtPublicPromoter_QCleanlooksStyle*)theWrappedObject)->promoted_polish(app)); +} + +void PythonQtWrapper_QCleanlooksStyle::polish(QCleanlooksStyle* theWrappedObject, QPalette& pal) +{ + ( ((PythonQtPublicPromoter_QCleanlooksStyle*)theWrappedObject)->promoted_polish(pal)); +} + +void PythonQtWrapper_QCleanlooksStyle::polish(QCleanlooksStyle* theWrappedObject, QWidget* widget) +{ + ( ((PythonQtPublicPromoter_QCleanlooksStyle*)theWrappedObject)->promoted_polish(widget)); +} + +QSize PythonQtWrapper_QCleanlooksStyle::sizeFromContents(QCleanlooksStyle* theWrappedObject, QStyle::ContentsType type, const QStyleOption* option, const QSize& size, const QWidget* widget) const +{ + return ( ((PythonQtPublicPromoter_QCleanlooksStyle*)theWrappedObject)->promoted_sizeFromContents(type, option, size, widget)); +} + +QPalette PythonQtWrapper_QCleanlooksStyle::standardPalette(QCleanlooksStyle* theWrappedObject) const +{ + return ( ((PythonQtPublicPromoter_QCleanlooksStyle*)theWrappedObject)->promoted_standardPalette()); +} + +int PythonQtWrapper_QCleanlooksStyle::styleHint(QCleanlooksStyle* theWrappedObject, QStyle::StyleHint hint, const QStyleOption* option, const QWidget* widget, QStyleHintReturn* returnData) const +{ + return ( ((PythonQtPublicPromoter_QCleanlooksStyle*)theWrappedObject)->promoted_styleHint(hint, option, widget, returnData)); +} + +QRect PythonQtWrapper_QCleanlooksStyle::subControlRect(QCleanlooksStyle* theWrappedObject, QStyle::ComplexControl cc, const QStyleOptionComplex* opt, QStyle::SubControl sc, const QWidget* widget) const +{ + return ( ((PythonQtPublicPromoter_QCleanlooksStyle*)theWrappedObject)->promoted_subControlRect(cc, opt, sc, widget)); +} + +QRect PythonQtWrapper_QCleanlooksStyle::subElementRect(QCleanlooksStyle* theWrappedObject, QStyle::SubElement r, const QStyleOption* opt, const QWidget* widget) const +{ + return ( ((PythonQtPublicPromoter_QCleanlooksStyle*)theWrappedObject)->promoted_subElementRect(r, opt, widget)); +} + +void PythonQtWrapper_QCleanlooksStyle::unpolish(QCleanlooksStyle* theWrappedObject, QApplication* app) +{ + ( ((PythonQtPublicPromoter_QCleanlooksStyle*)theWrappedObject)->promoted_unpolish(app)); +} + +void PythonQtWrapper_QCleanlooksStyle::unpolish(QCleanlooksStyle* theWrappedObject, QWidget* widget) +{ + ( ((PythonQtPublicPromoter_QCleanlooksStyle*)theWrappedObject)->promoted_unpolish(widget)); +} + + + +void PythonQtWrapper_QClipboard::clear(QClipboard* theWrappedObject, QClipboard::Mode mode) +{ + ( theWrappedObject->clear(mode)); +} + +bool PythonQtWrapper_QClipboard::event(QClipboard* theWrappedObject, QEvent* arg__1) +{ + return ( ((PythonQtPublicPromoter_QClipboard*)theWrappedObject)->promoted_event(arg__1)); +} + +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, QMimeData* 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(); } + + + +void PythonQtShell_QColorDialog::accept() +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "accept"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={""}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QColorDialog::accept(); +} +void PythonQtShell_QColorDialog::actionEvent(QActionEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "actionEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QActionEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QColorDialog::actionEvent(arg__1); +} +void PythonQtShell_QColorDialog::changeEvent(QEvent* event) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "changeEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&event}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QColorDialog::changeEvent(event); +} +void PythonQtShell_QColorDialog::childEvent(QChildEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "childEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QChildEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QColorDialog::childEvent(arg__1); +} +void PythonQtShell_QColorDialog::closeEvent(QCloseEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "closeEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QCloseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QColorDialog::closeEvent(arg__1); +} +void PythonQtShell_QColorDialog::contextMenuEvent(QContextMenuEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "contextMenuEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QContextMenuEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QColorDialog::contextMenuEvent(arg__1); +} +void PythonQtShell_QColorDialog::customEvent(QEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "customEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QColorDialog::customEvent(arg__1); +} +int PythonQtShell_QColorDialog::devType() const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "devType"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + int returnValue; + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("devType", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QColorDialog::devType(); +} +void PythonQtShell_QColorDialog::done(int result) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "done"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&result}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QColorDialog::done(result); +} +void PythonQtShell_QColorDialog::dragEnterEvent(QDragEnterEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dragEnterEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QDragEnterEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QColorDialog::dragEnterEvent(arg__1); +} +void PythonQtShell_QColorDialog::dragLeaveEvent(QDragLeaveEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dragLeaveEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QDragLeaveEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QColorDialog::dragLeaveEvent(arg__1); +} +void PythonQtShell_QColorDialog::dragMoveEvent(QDragMoveEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dragMoveEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QDragMoveEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QColorDialog::dragMoveEvent(arg__1); +} +void PythonQtShell_QColorDialog::dropEvent(QDropEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dropEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QDropEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QColorDialog::dropEvent(arg__1); +} +void PythonQtShell_QColorDialog::enterEvent(QEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "enterEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QColorDialog::enterEvent(arg__1); +} +bool PythonQtShell_QColorDialog::event(QEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "event"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue; + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QColorDialog::event(arg__1); +} +bool PythonQtShell_QColorDialog::eventFilter(QObject* arg__1, QEvent* arg__2) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "eventFilter"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue; + void* args[3] = {NULL, (void*)&arg__1, (void*)&arg__2}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QColorDialog::eventFilter(arg__1, arg__2); +} +void PythonQtShell_QColorDialog::focusInEvent(QFocusEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "focusInEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QFocusEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QColorDialog::focusInEvent(arg__1); +} +bool PythonQtShell_QColorDialog::focusNextPrevChild(bool next) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "focusNextPrevChild"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue; + void* args[2] = {NULL, (void*)&next}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("focusNextPrevChild", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QColorDialog::focusNextPrevChild(next); +} +void PythonQtShell_QColorDialog::focusOutEvent(QFocusEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "focusOutEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QFocusEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QColorDialog::focusOutEvent(arg__1); +} +int PythonQtShell_QColorDialog::heightForWidth(int arg__1) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "heightForWidth"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"int" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + int returnValue; + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("heightForWidth", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QColorDialog::heightForWidth(arg__1); +} +void PythonQtShell_QColorDialog::hideEvent(QHideEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "hideEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QHideEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QColorDialog::hideEvent(arg__1); +} +void PythonQtShell_QColorDialog::inputMethodEvent(QInputMethodEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "inputMethodEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QInputMethodEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QColorDialog::inputMethodEvent(arg__1); +} +QVariant PythonQtShell_QColorDialog::inputMethodQuery(Qt::InputMethodQuery arg__1) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "inputMethodQuery"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QVariant" , "Qt::InputMethodQuery"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + QVariant returnValue; + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result); + } else { + returnValue = *((QVariant*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QColorDialog::inputMethodQuery(arg__1); +} +void PythonQtShell_QColorDialog::keyPressEvent(QKeyEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "keyPressEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QKeyEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QColorDialog::keyPressEvent(arg__1); +} +void PythonQtShell_QColorDialog::keyReleaseEvent(QKeyEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "keyReleaseEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QKeyEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QColorDialog::keyReleaseEvent(arg__1); +} +void PythonQtShell_QColorDialog::languageChange() +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "languageChange"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={""}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QColorDialog::languageChange(); +} +void PythonQtShell_QColorDialog::leaveEvent(QEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "leaveEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QColorDialog::leaveEvent(arg__1); +} +int PythonQtShell_QColorDialog::metric(QPaintDevice::PaintDeviceMetric arg__1) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "metric"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + int returnValue; + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("metric", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QColorDialog::metric(arg__1); +} +void PythonQtShell_QColorDialog::mouseDoubleClickEvent(QMouseEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mouseDoubleClickEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QColorDialog::mouseDoubleClickEvent(arg__1); +} +void PythonQtShell_QColorDialog::mouseMoveEvent(QMouseEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mouseMoveEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QColorDialog::mouseMoveEvent(arg__1); +} +void PythonQtShell_QColorDialog::mousePressEvent(QMouseEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mousePressEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QColorDialog::mousePressEvent(arg__1); +} +void PythonQtShell_QColorDialog::mouseReleaseEvent(QMouseEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mouseReleaseEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QColorDialog::mouseReleaseEvent(arg__1); +} +void PythonQtShell_QColorDialog::moveEvent(QMoveEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "moveEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QMoveEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QColorDialog::moveEvent(arg__1); +} +QPaintEngine* PythonQtShell_QColorDialog::paintEngine() const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "paintEngine"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QPaintEngine*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QPaintEngine* returnValue; + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); + } else { + returnValue = *((QPaintEngine**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QColorDialog::paintEngine(); +} +void PythonQtShell_QColorDialog::paintEvent(QPaintEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "paintEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QPaintEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QColorDialog::paintEvent(arg__1); +} +void PythonQtShell_QColorDialog::reject() +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "reject"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={""}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QColorDialog::reject(); +} +void PythonQtShell_QColorDialog::resizeEvent(QResizeEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "resizeEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QResizeEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QColorDialog::resizeEvent(arg__1); +} +void PythonQtShell_QColorDialog::showEvent(QShowEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "showEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QShowEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QColorDialog::showEvent(arg__1); +} +void PythonQtShell_QColorDialog::tabletEvent(QTabletEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "tabletEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QTabletEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QColorDialog::tabletEvent(arg__1); +} +void PythonQtShell_QColorDialog::timerEvent(QTimerEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "timerEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QTimerEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QColorDialog::timerEvent(arg__1); +} +void PythonQtShell_QColorDialog::wheelEvent(QWheelEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "wheelEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QWheelEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QColorDialog::wheelEvent(arg__1); +} +QColorDialog* PythonQtWrapper_QColorDialog::new_QColorDialog(QWidget* parent) +{ +return new PythonQtShell_QColorDialog(parent); } + +QColorDialog* PythonQtWrapper_QColorDialog::new_QColorDialog(const QColor& initial, QWidget* parent) +{ +return new PythonQtShell_QColorDialog(initial, parent); } + +void PythonQtWrapper_QColorDialog::changeEvent(QColorDialog* theWrappedObject, QEvent* event) +{ + ( ((PythonQtPublicPromoter_QColorDialog*)theWrappedObject)->promoted_changeEvent(event)); +} + +QColor PythonQtWrapper_QColorDialog::currentColor(QColorDialog* theWrappedObject) const +{ + return ( theWrappedObject->currentColor()); +} + +unsigned int PythonQtWrapper_QColorDialog::static_QColorDialog_customColor(int index) +{ + return (QColorDialog::customColor(index)); +} + +int PythonQtWrapper_QColorDialog::static_QColorDialog_customCount() +{ + return (QColorDialog::customCount()); +} + +void PythonQtWrapper_QColorDialog::done(QColorDialog* theWrappedObject, int result) +{ + ( ((PythonQtPublicPromoter_QColorDialog*)theWrappedObject)->promoted_done(result)); +} + +QColor PythonQtWrapper_QColorDialog::static_QColorDialog_getColor(const QColor& initial, QWidget* parent) +{ + return (QColorDialog::getColor(initial, parent)); +} + +QColor PythonQtWrapper_QColorDialog::static_QColorDialog_getColor(const QColor& initial, QWidget* parent, const QString& title, QColorDialog::ColorDialogOptions options) +{ + return (QColorDialog::getColor(initial, parent, title, options)); +} + +unsigned int PythonQtWrapper_QColorDialog::static_QColorDialog_getRgba(unsigned int rgba, bool* ok, QWidget* parent) +{ + return (QColorDialog::getRgba(rgba, ok, parent)); +} + +void PythonQtWrapper_QColorDialog::open(QColorDialog* theWrappedObject) +{ + ( theWrappedObject->open()); +} + +void PythonQtWrapper_QColorDialog::open(QColorDialog* theWrappedObject, QObject* receiver, const char* member) +{ + ( theWrappedObject->open(receiver, member)); +} + +QColorDialog::ColorDialogOptions PythonQtWrapper_QColorDialog::options(QColorDialog* theWrappedObject) const +{ + return ( theWrappedObject->options()); +} + +QColor PythonQtWrapper_QColorDialog::selectedColor(QColorDialog* theWrappedObject) const +{ + return ( theWrappedObject->selectedColor()); +} + +void PythonQtWrapper_QColorDialog::setCurrentColor(QColorDialog* theWrappedObject, const QColor& color) +{ + ( theWrappedObject->setCurrentColor(color)); +} + +void PythonQtWrapper_QColorDialog::static_QColorDialog_setCustomColor(int index, unsigned int color) +{ + (QColorDialog::setCustomColor(index, color)); +} + +void PythonQtWrapper_QColorDialog::setOption(QColorDialog* theWrappedObject, QColorDialog::ColorDialogOption option, bool on) +{ + ( theWrappedObject->setOption(option, on)); +} + +void PythonQtWrapper_QColorDialog::setOptions(QColorDialog* theWrappedObject, QColorDialog::ColorDialogOptions options) +{ + ( theWrappedObject->setOptions(options)); +} + +void PythonQtWrapper_QColorDialog::static_QColorDialog_setStandardColor(int index, unsigned int color) +{ + (QColorDialog::setStandardColor(index, color)); +} + +void PythonQtWrapper_QColorDialog::setVisible(QColorDialog* theWrappedObject, bool visible) +{ + ( theWrappedObject->setVisible(visible)); +} + +bool PythonQtWrapper_QColorDialog::testOption(QColorDialog* theWrappedObject, QColorDialog::ColorDialogOption option) const +{ + return ( theWrappedObject->testOption(option)); +} + + + +void PythonQtShell_QColumnView::actionEvent(QActionEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "actionEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QActionEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QColumnView::actionEvent(arg__1); +} +void PythonQtShell_QColumnView::changeEvent(QEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "changeEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QColumnView::changeEvent(arg__1); +} +void PythonQtShell_QColumnView::childEvent(QChildEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "childEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QChildEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QColumnView::childEvent(arg__1); +} +void PythonQtShell_QColumnView::closeEditor(QWidget* editor, QAbstractItemDelegate::EndEditHint hint) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "closeEditor"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QWidget*" , "QAbstractItemDelegate::EndEditHint"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + void* args[3] = {NULL, (void*)&editor, (void*)&hint}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QColumnView::closeEditor(editor, hint); +} +void PythonQtShell_QColumnView::closeEvent(QCloseEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "closeEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QCloseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QColumnView::closeEvent(arg__1); +} +void PythonQtShell_QColumnView::commitData(QWidget* editor) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "commitData"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QWidget*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&editor}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QColumnView::commitData(editor); +} +void PythonQtShell_QColumnView::contextMenuEvent(QContextMenuEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "contextMenuEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QContextMenuEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QColumnView::contextMenuEvent(arg__1); +} +QAbstractItemView* PythonQtShell_QColumnView::createColumn(const QModelIndex& rootIndex) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "createColumn"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QAbstractItemView*" , "const QModelIndex&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + QAbstractItemView* returnValue; + void* args[2] = {NULL, (void*)&rootIndex}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("createColumn", methodInfo, result); + } else { + returnValue = *((QAbstractItemView**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QColumnView::createColumn(rootIndex); +} +void PythonQtShell_QColumnView::currentChanged(const QModelIndex& current, const QModelIndex& previous) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "currentChanged"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "const QModelIndex&" , "const QModelIndex&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + void* args[3] = {NULL, (void*)¤t, (void*)&previous}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QColumnView::currentChanged(current, previous); +} +void PythonQtShell_QColumnView::customEvent(QEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "customEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QColumnView::customEvent(arg__1); +} +void PythonQtShell_QColumnView::dataChanged(const QModelIndex& topLeft, const QModelIndex& bottomRight) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dataChanged"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "const QModelIndex&" , "const QModelIndex&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + void* args[3] = {NULL, (void*)&topLeft, (void*)&bottomRight}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QColumnView::dataChanged(topLeft, bottomRight); +} +int PythonQtShell_QColumnView::devType() const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "devType"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + int returnValue; + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("devType", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QColumnView::devType(); +} +void PythonQtShell_QColumnView::doItemsLayout() +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "doItemsLayout"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={""}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QColumnView::doItemsLayout(); +} +void PythonQtShell_QColumnView::dragEnterEvent(QDragEnterEvent* event) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dragEnterEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QDragEnterEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&event}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QColumnView::dragEnterEvent(event); +} +void PythonQtShell_QColumnView::dragLeaveEvent(QDragLeaveEvent* event) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dragLeaveEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QDragLeaveEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&event}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QColumnView::dragLeaveEvent(event); +} +void PythonQtShell_QColumnView::dragMoveEvent(QDragMoveEvent* event) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dragMoveEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QDragMoveEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&event}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QColumnView::dragMoveEvent(event); +} +void PythonQtShell_QColumnView::dropEvent(QDropEvent* event) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dropEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QDropEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&event}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QColumnView::dropEvent(event); +} +bool PythonQtShell_QColumnView::edit(const QModelIndex& index, QAbstractItemView::EditTrigger trigger, QEvent* event) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "edit"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "const QModelIndex&" , "QAbstractItemView::EditTrigger" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + bool returnValue; + void* args[4] = {NULL, (void*)&index, (void*)&trigger, (void*)&event}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("edit", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QColumnView::edit(index, trigger, event); +} +void PythonQtShell_QColumnView::editorDestroyed(QObject* editor) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "editorDestroyed"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QObject*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&editor}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QColumnView::editorDestroyed(editor); +} +void PythonQtShell_QColumnView::enterEvent(QEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "enterEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QColumnView::enterEvent(arg__1); +} +bool PythonQtShell_QColumnView::event(QEvent* event) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "event"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue; + void* args[2] = {NULL, (void*)&event}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QColumnView::event(event); +} +bool PythonQtShell_QColumnView::eventFilter(QObject* arg__1, QEvent* arg__2) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "eventFilter"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue; + void* args[3] = {NULL, (void*)&arg__1, (void*)&arg__2}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QColumnView::eventFilter(arg__1, arg__2); +} +void PythonQtShell_QColumnView::focusInEvent(QFocusEvent* event) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "focusInEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QFocusEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&event}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QColumnView::focusInEvent(event); +} +bool PythonQtShell_QColumnView::focusNextPrevChild(bool next) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "focusNextPrevChild"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue; + void* args[2] = {NULL, (void*)&next}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("focusNextPrevChild", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QColumnView::focusNextPrevChild(next); +} +void PythonQtShell_QColumnView::focusOutEvent(QFocusEvent* event) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "focusOutEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QFocusEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&event}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QColumnView::focusOutEvent(event); +} +int PythonQtShell_QColumnView::heightForWidth(int arg__1) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "heightForWidth"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"int" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + int returnValue; + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("heightForWidth", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QColumnView::heightForWidth(arg__1); +} +void PythonQtShell_QColumnView::hideEvent(QHideEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "hideEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QHideEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QColumnView::hideEvent(arg__1); +} +int PythonQtShell_QColumnView::horizontalOffset() const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "horizontalOffset"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + int returnValue; + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("horizontalOffset", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QColumnView::horizontalOffset(); +} +void PythonQtShell_QColumnView::horizontalScrollbarAction(int action) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "horizontalScrollbarAction"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&action}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QColumnView::horizontalScrollbarAction(action); +} +void PythonQtShell_QColumnView::horizontalScrollbarValueChanged(int value) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "horizontalScrollbarValueChanged"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&value}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QColumnView::horizontalScrollbarValueChanged(value); +} +QModelIndex PythonQtShell_QColumnView::indexAt(const QPoint& point) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "indexAt"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QModelIndex" , "const QPoint&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + QModelIndex returnValue; + void* args[2] = {NULL, (void*)&point}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("indexAt", methodInfo, result); + } else { + returnValue = *((QModelIndex*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QColumnView::indexAt(point); +} +void PythonQtShell_QColumnView::inputMethodEvent(QInputMethodEvent* event) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "inputMethodEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QInputMethodEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&event}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QColumnView::inputMethodEvent(event); +} +QVariant PythonQtShell_QColumnView::inputMethodQuery(Qt::InputMethodQuery query) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "inputMethodQuery"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QVariant" , "Qt::InputMethodQuery"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + QVariant returnValue; + void* args[2] = {NULL, (void*)&query}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result); + } else { + returnValue = *((QVariant*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QColumnView::inputMethodQuery(query); +} +bool PythonQtShell_QColumnView::isIndexHidden(const QModelIndex& index) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "isIndexHidden"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "const QModelIndex&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue; + void* args[2] = {NULL, (void*)&index}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("isIndexHidden", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QColumnView::isIndexHidden(index); +} +void PythonQtShell_QColumnView::keyPressEvent(QKeyEvent* event) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "keyPressEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QKeyEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&event}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QColumnView::keyPressEvent(event); +} +void PythonQtShell_QColumnView::keyReleaseEvent(QKeyEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "keyReleaseEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QKeyEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QColumnView::keyReleaseEvent(arg__1); +} +void PythonQtShell_QColumnView::keyboardSearch(const QString& search) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "keyboardSearch"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "const QString&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&search}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QColumnView::keyboardSearch(search); +} +void PythonQtShell_QColumnView::languageChange() +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "languageChange"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={""}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QColumnView::languageChange(); +} +void PythonQtShell_QColumnView::leaveEvent(QEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "leaveEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QColumnView::leaveEvent(arg__1); +} +int PythonQtShell_QColumnView::metric(QPaintDevice::PaintDeviceMetric arg__1) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "metric"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + int returnValue; + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("metric", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QColumnView::metric(arg__1); +} +void PythonQtShell_QColumnView::mouseDoubleClickEvent(QMouseEvent* event) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mouseDoubleClickEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&event}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QColumnView::mouseDoubleClickEvent(event); +} +void PythonQtShell_QColumnView::mouseMoveEvent(QMouseEvent* event) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mouseMoveEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&event}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QColumnView::mouseMoveEvent(event); +} +void PythonQtShell_QColumnView::mousePressEvent(QMouseEvent* event) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mousePressEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&event}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QColumnView::mousePressEvent(event); +} +void PythonQtShell_QColumnView::mouseReleaseEvent(QMouseEvent* event) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mouseReleaseEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&event}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QColumnView::mouseReleaseEvent(event); +} +void PythonQtShell_QColumnView::moveEvent(QMoveEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "moveEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QMoveEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QColumnView::moveEvent(arg__1); +} +QPaintEngine* PythonQtShell_QColumnView::paintEngine() const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "paintEngine"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QPaintEngine*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QPaintEngine* returnValue; + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); + } else { + returnValue = *((QPaintEngine**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QColumnView::paintEngine(); +} +void PythonQtShell_QColumnView::paintEvent(QPaintEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "paintEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QPaintEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QColumnView::paintEvent(arg__1); +} +void PythonQtShell_QColumnView::reset() +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "reset"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={""}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QColumnView::reset(); +} +void PythonQtShell_QColumnView::resizeEvent(QResizeEvent* event) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "resizeEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QResizeEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&event}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QColumnView::resizeEvent(event); +} +void PythonQtShell_QColumnView::rowsAboutToBeRemoved(const QModelIndex& parent, int start, int end) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "rowsAboutToBeRemoved"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "const QModelIndex&" , "int" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + void* args[4] = {NULL, (void*)&parent, (void*)&start, (void*)&end}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QColumnView::rowsAboutToBeRemoved(parent, start, end); +} +void PythonQtShell_QColumnView::rowsInserted(const QModelIndex& parent, int start, int end) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "rowsInserted"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "const QModelIndex&" , "int" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + void* args[4] = {NULL, (void*)&parent, (void*)&start, (void*)&end}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QColumnView::rowsInserted(parent, start, end); +} +void PythonQtShell_QColumnView::scrollContentsBy(int dx, int dy) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "scrollContentsBy"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "int" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + void* args[3] = {NULL, (void*)&dx, (void*)&dy}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QColumnView::scrollContentsBy(dx, dy); +} +void PythonQtShell_QColumnView::scrollTo(const QModelIndex& index, QAbstractItemView::ScrollHint hint) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "scrollTo"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "const QModelIndex&" , "QAbstractItemView::ScrollHint"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + void* args[3] = {NULL, (void*)&index, (void*)&hint}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QColumnView::scrollTo(index, hint); +} +void PythonQtShell_QColumnView::selectAll() +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "selectAll"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={""}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QColumnView::selectAll(); +} +QList PythonQtShell_QColumnView::selectedIndexes() const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "selectedIndexes"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QList"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QList returnValue; + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("selectedIndexes", methodInfo, result); + } else { + returnValue = *((QList*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QColumnView::selectedIndexes(); +} +void PythonQtShell_QColumnView::selectionChanged(const QItemSelection& selected, const QItemSelection& deselected) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "selectionChanged"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "const QItemSelection&" , "const QItemSelection&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + void* args[3] = {NULL, (void*)&selected, (void*)&deselected}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QColumnView::selectionChanged(selected, deselected); +} +QItemSelectionModel::SelectionFlags PythonQtShell_QColumnView::selectionCommand(const QModelIndex& index, const QEvent* event) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "selectionCommand"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QItemSelectionModel::SelectionFlags" , "const QModelIndex&" , "const QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + QItemSelectionModel::SelectionFlags returnValue; + void* args[3] = {NULL, (void*)&index, (void*)&event}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("selectionCommand", methodInfo, result); + } else { + returnValue = *((QItemSelectionModel::SelectionFlags*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QColumnView::selectionCommand(index, event); +} +void PythonQtShell_QColumnView::setModel(QAbstractItemModel* model) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "setModel"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QAbstractItemModel*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&model}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QColumnView::setModel(model); +} +void PythonQtShell_QColumnView::setRootIndex(const QModelIndex& index) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "setRootIndex"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "const QModelIndex&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&index}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QColumnView::setRootIndex(index); +} +void PythonQtShell_QColumnView::setSelection(const QRect& rect, QItemSelectionModel::SelectionFlags command) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "setSelection"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "const QRect&" , "QItemSelectionModel::SelectionFlags"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + void* args[3] = {NULL, (void*)&rect, (void*)&command}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QColumnView::setSelection(rect, command); +} +void PythonQtShell_QColumnView::setSelectionModel(QItemSelectionModel* selectionModel) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "setSelectionModel"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QItemSelectionModel*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&selectionModel}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QColumnView::setSelectionModel(selectionModel); +} +void PythonQtShell_QColumnView::showEvent(QShowEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "showEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QShowEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QColumnView::showEvent(arg__1); +} +int PythonQtShell_QColumnView::sizeHintForColumn(int column) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "sizeHintForColumn"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"int" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + int returnValue; + void* args[2] = {NULL, (void*)&column}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("sizeHintForColumn", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QColumnView::sizeHintForColumn(column); +} +int PythonQtShell_QColumnView::sizeHintForRow(int row) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "sizeHintForRow"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"int" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + int returnValue; + void* args[2] = {NULL, (void*)&row}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("sizeHintForRow", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QColumnView::sizeHintForRow(row); +} +void PythonQtShell_QColumnView::startDrag(Qt::DropActions supportedActions) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "startDrag"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "Qt::DropActions"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&supportedActions}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QColumnView::startDrag(supportedActions); +} +void PythonQtShell_QColumnView::tabletEvent(QTabletEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "tabletEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QTabletEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QColumnView::tabletEvent(arg__1); +} +void PythonQtShell_QColumnView::timerEvent(QTimerEvent* event) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "timerEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QTimerEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&event}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QColumnView::timerEvent(event); +} +void PythonQtShell_QColumnView::updateEditorData() +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "updateEditorData"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={""}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QColumnView::updateEditorData(); +} +void PythonQtShell_QColumnView::updateEditorGeometries() +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "updateEditorGeometries"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={""}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QColumnView::updateEditorGeometries(); +} +void PythonQtShell_QColumnView::updateGeometries() +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "updateGeometries"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={""}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QColumnView::updateGeometries(); +} +int PythonQtShell_QColumnView::verticalOffset() const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "verticalOffset"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + int returnValue; + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("verticalOffset", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QColumnView::verticalOffset(); +} +void PythonQtShell_QColumnView::verticalScrollbarAction(int action) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "verticalScrollbarAction"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&action}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QColumnView::verticalScrollbarAction(action); +} +void PythonQtShell_QColumnView::verticalScrollbarValueChanged(int value) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "verticalScrollbarValueChanged"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&value}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QColumnView::verticalScrollbarValueChanged(value); +} +QStyleOptionViewItem PythonQtShell_QColumnView::viewOptions() const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "viewOptions"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QStyleOptionViewItem"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QStyleOptionViewItem returnValue; + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("viewOptions", methodInfo, result); + } else { + returnValue = *((QStyleOptionViewItem*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QColumnView::viewOptions(); +} +bool PythonQtShell_QColumnView::viewportEvent(QEvent* event) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "viewportEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue; + void* args[2] = {NULL, (void*)&event}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("viewportEvent", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QColumnView::viewportEvent(event); +} +QRect PythonQtShell_QColumnView::visualRect(const QModelIndex& index) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "visualRect"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QRect" , "const QModelIndex&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + QRect returnValue; + void* args[2] = {NULL, (void*)&index}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("visualRect", methodInfo, result); + } else { + returnValue = *((QRect*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QColumnView::visualRect(index); +} +QRegion PythonQtShell_QColumnView::visualRegionForSelection(const QItemSelection& selection) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "visualRegionForSelection"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QRegion" , "const QItemSelection&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + QRegion returnValue; + void* args[2] = {NULL, (void*)&selection}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("visualRegionForSelection", methodInfo, result); + } else { + returnValue = *((QRegion*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QColumnView::visualRegionForSelection(selection); +} +void PythonQtShell_QColumnView::wheelEvent(QWheelEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "wheelEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QWheelEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QColumnView::wheelEvent(arg__1); +} +QColumnView* PythonQtWrapper_QColumnView::new_QColumnView(QWidget* parent) +{ +return new PythonQtShell_QColumnView(parent); } + +QList PythonQtWrapper_QColumnView::columnWidths(QColumnView* theWrappedObject) const +{ + return ( theWrappedObject->columnWidths()); +} + +QAbstractItemView* PythonQtWrapper_QColumnView::createColumn(QColumnView* theWrappedObject, const QModelIndex& rootIndex) +{ + return ( ((PythonQtPublicPromoter_QColumnView*)theWrappedObject)->promoted_createColumn(rootIndex)); +} + +void PythonQtWrapper_QColumnView::currentChanged(QColumnView* theWrappedObject, const QModelIndex& current, const QModelIndex& previous) +{ + ( ((PythonQtPublicPromoter_QColumnView*)theWrappedObject)->promoted_currentChanged(current, previous)); +} + +int PythonQtWrapper_QColumnView::horizontalOffset(QColumnView* theWrappedObject) const +{ + return ( ((PythonQtPublicPromoter_QColumnView*)theWrappedObject)->promoted_horizontalOffset()); +} + +QModelIndex PythonQtWrapper_QColumnView::indexAt(QColumnView* theWrappedObject, const QPoint& point) const +{ + return ( ((PythonQtPublicPromoter_QColumnView*)theWrappedObject)->promoted_indexAt(point)); +} + +bool PythonQtWrapper_QColumnView::isIndexHidden(QColumnView* theWrappedObject, const QModelIndex& index) const +{ + return ( ((PythonQtPublicPromoter_QColumnView*)theWrappedObject)->promoted_isIndexHidden(index)); +} + +QWidget* PythonQtWrapper_QColumnView::previewWidget(QColumnView* theWrappedObject) const +{ + return ( theWrappedObject->previewWidget()); +} + +void PythonQtWrapper_QColumnView::resizeEvent(QColumnView* theWrappedObject, QResizeEvent* event) +{ + ( ((PythonQtPublicPromoter_QColumnView*)theWrappedObject)->promoted_resizeEvent(event)); +} + +bool PythonQtWrapper_QColumnView::resizeGripsVisible(QColumnView* theWrappedObject) const +{ + return ( theWrappedObject->resizeGripsVisible()); +} + +void PythonQtWrapper_QColumnView::rowsInserted(QColumnView* theWrappedObject, const QModelIndex& parent, int start, int end) +{ + ( ((PythonQtPublicPromoter_QColumnView*)theWrappedObject)->promoted_rowsInserted(parent, start, end)); +} + +void PythonQtWrapper_QColumnView::scrollContentsBy(QColumnView* theWrappedObject, int dx, int dy) +{ + ( ((PythonQtPublicPromoter_QColumnView*)theWrappedObject)->promoted_scrollContentsBy(dx, dy)); +} + +void PythonQtWrapper_QColumnView::scrollTo(QColumnView* theWrappedObject, const QModelIndex& index, QAbstractItemView::ScrollHint hint) +{ + ( ((PythonQtPublicPromoter_QColumnView*)theWrappedObject)->promoted_scrollTo(index, hint)); +} + +void PythonQtWrapper_QColumnView::selectAll(QColumnView* theWrappedObject) +{ + ( ((PythonQtPublicPromoter_QColumnView*)theWrappedObject)->promoted_selectAll()); +} + +void PythonQtWrapper_QColumnView::setColumnWidths(QColumnView* theWrappedObject, const QList& list) +{ + ( theWrappedObject->setColumnWidths(list)); +} + +void PythonQtWrapper_QColumnView::setModel(QColumnView* theWrappedObject, QAbstractItemModel* model) +{ + ( ((PythonQtPublicPromoter_QColumnView*)theWrappedObject)->promoted_setModel(model)); +} + +void PythonQtWrapper_QColumnView::setPreviewWidget(QColumnView* theWrappedObject, QWidget* widget) +{ + ( theWrappedObject->setPreviewWidget(widget)); +} + +void PythonQtWrapper_QColumnView::setResizeGripsVisible(QColumnView* theWrappedObject, bool visible) +{ + ( theWrappedObject->setResizeGripsVisible(visible)); +} + +void PythonQtWrapper_QColumnView::setRootIndex(QColumnView* theWrappedObject, const QModelIndex& index) +{ + ( ((PythonQtPublicPromoter_QColumnView*)theWrappedObject)->promoted_setRootIndex(index)); +} + +void PythonQtWrapper_QColumnView::setSelection(QColumnView* theWrappedObject, const QRect& rect, QItemSelectionModel::SelectionFlags command) +{ + ( ((PythonQtPublicPromoter_QColumnView*)theWrappedObject)->promoted_setSelection(rect, command)); +} + +void PythonQtWrapper_QColumnView::setSelectionModel(QColumnView* theWrappedObject, QItemSelectionModel* selectionModel) +{ + ( ((PythonQtPublicPromoter_QColumnView*)theWrappedObject)->promoted_setSelectionModel(selectionModel)); +} + +QSize PythonQtWrapper_QColumnView::sizeHint(QColumnView* theWrappedObject) const +{ + return ( theWrappedObject->sizeHint()); +} + +int PythonQtWrapper_QColumnView::verticalOffset(QColumnView* theWrappedObject) const +{ + return ( ((PythonQtPublicPromoter_QColumnView*)theWrappedObject)->promoted_verticalOffset()); +} + +QRect PythonQtWrapper_QColumnView::visualRect(QColumnView* theWrappedObject, const QModelIndex& index) const +{ + return ( ((PythonQtPublicPromoter_QColumnView*)theWrappedObject)->promoted_visualRect(index)); +} + +QRegion PythonQtWrapper_QColumnView::visualRegionForSelection(QColumnView* theWrappedObject, const QItemSelection& selection) const +{ + return ( ((PythonQtPublicPromoter_QColumnView*)theWrappedObject)->promoted_visualRegionForSelection(selection)); +} + + + +void PythonQtShell_QComboBox::actionEvent(QActionEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "actionEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QActionEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QComboBox::actionEvent(arg__1); +} +void PythonQtShell_QComboBox::changeEvent(QEvent* e) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "changeEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&e}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QComboBox::changeEvent(e); +} +void PythonQtShell_QComboBox::childEvent(QChildEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "childEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QChildEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QComboBox::childEvent(arg__1); +} +void PythonQtShell_QComboBox::closeEvent(QCloseEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "closeEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QCloseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QComboBox::closeEvent(arg__1); +} +void PythonQtShell_QComboBox::contextMenuEvent(QContextMenuEvent* e) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "contextMenuEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QContextMenuEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&e}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QComboBox::contextMenuEvent(e); +} +void PythonQtShell_QComboBox::customEvent(QEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "customEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QComboBox::customEvent(arg__1); +} +int PythonQtShell_QComboBox::devType() const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "devType"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + int returnValue; + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("devType", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QComboBox::devType(); +} +void PythonQtShell_QComboBox::dragEnterEvent(QDragEnterEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dragEnterEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QDragEnterEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QComboBox::dragEnterEvent(arg__1); +} +void PythonQtShell_QComboBox::dragLeaveEvent(QDragLeaveEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dragLeaveEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QDragLeaveEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QComboBox::dragLeaveEvent(arg__1); +} +void PythonQtShell_QComboBox::dragMoveEvent(QDragMoveEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dragMoveEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QDragMoveEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QComboBox::dragMoveEvent(arg__1); +} +void PythonQtShell_QComboBox::dropEvent(QDropEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dropEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QDropEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QComboBox::dropEvent(arg__1); +} +void PythonQtShell_QComboBox::enterEvent(QEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "enterEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QComboBox::enterEvent(arg__1); +} +bool PythonQtShell_QComboBox::event(QEvent* event) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "event"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue; + void* args[2] = {NULL, (void*)&event}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QComboBox::event(event); +} +bool PythonQtShell_QComboBox::eventFilter(QObject* arg__1, QEvent* arg__2) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "eventFilter"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue; + void* args[3] = {NULL, (void*)&arg__1, (void*)&arg__2}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QComboBox::eventFilter(arg__1, arg__2); +} +void PythonQtShell_QComboBox::focusInEvent(QFocusEvent* e) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "focusInEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QFocusEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&e}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QComboBox::focusInEvent(e); +} +bool PythonQtShell_QComboBox::focusNextPrevChild(bool next) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "focusNextPrevChild"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue; + void* args[2] = {NULL, (void*)&next}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("focusNextPrevChild", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QComboBox::focusNextPrevChild(next); +} +void PythonQtShell_QComboBox::focusOutEvent(QFocusEvent* e) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "focusOutEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QFocusEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&e}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QComboBox::focusOutEvent(e); +} +int PythonQtShell_QComboBox::heightForWidth(int arg__1) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "heightForWidth"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"int" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + int returnValue; + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("heightForWidth", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QComboBox::heightForWidth(arg__1); +} +void PythonQtShell_QComboBox::hideEvent(QHideEvent* e) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "hideEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QHideEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&e}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QComboBox::hideEvent(e); +} +void PythonQtShell_QComboBox::hidePopup() +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "hidePopup"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={""}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QComboBox::hidePopup(); +} +void PythonQtShell_QComboBox::inputMethodEvent(QInputMethodEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "inputMethodEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QInputMethodEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QComboBox::inputMethodEvent(arg__1); +} +QVariant PythonQtShell_QComboBox::inputMethodQuery(Qt::InputMethodQuery arg__1) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "inputMethodQuery"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QVariant" , "Qt::InputMethodQuery"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + QVariant returnValue; + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result); + } else { + returnValue = *((QVariant*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QComboBox::inputMethodQuery(arg__1); +} +void PythonQtShell_QComboBox::keyPressEvent(QKeyEvent* e) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "keyPressEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QKeyEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&e}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QComboBox::keyPressEvent(e); +} +void PythonQtShell_QComboBox::keyReleaseEvent(QKeyEvent* e) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "keyReleaseEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QKeyEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&e}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QComboBox::keyReleaseEvent(e); +} +void PythonQtShell_QComboBox::languageChange() +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "languageChange"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={""}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QComboBox::languageChange(); +} +void PythonQtShell_QComboBox::leaveEvent(QEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "leaveEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QComboBox::leaveEvent(arg__1); +} +int PythonQtShell_QComboBox::metric(QPaintDevice::PaintDeviceMetric arg__1) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "metric"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + int returnValue; + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("metric", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QComboBox::metric(arg__1); +} +void PythonQtShell_QComboBox::mouseDoubleClickEvent(QMouseEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mouseDoubleClickEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QComboBox::mouseDoubleClickEvent(arg__1); +} +void PythonQtShell_QComboBox::mouseMoveEvent(QMouseEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mouseMoveEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QComboBox::mouseMoveEvent(arg__1); +} +void PythonQtShell_QComboBox::mousePressEvent(QMouseEvent* e) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mousePressEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&e}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QComboBox::mousePressEvent(e); +} +void PythonQtShell_QComboBox::mouseReleaseEvent(QMouseEvent* e) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mouseReleaseEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&e}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QComboBox::mouseReleaseEvent(e); +} +void PythonQtShell_QComboBox::moveEvent(QMoveEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "moveEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QMoveEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QComboBox::moveEvent(arg__1); +} +QPaintEngine* PythonQtShell_QComboBox::paintEngine() const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "paintEngine"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QPaintEngine*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QPaintEngine* returnValue; + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); + } else { + returnValue = *((QPaintEngine**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QComboBox::paintEngine(); +} +void PythonQtShell_QComboBox::paintEvent(QPaintEvent* e) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "paintEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QPaintEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&e}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QComboBox::paintEvent(e); +} +void PythonQtShell_QComboBox::resizeEvent(QResizeEvent* e) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "resizeEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QResizeEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&e}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QComboBox::resizeEvent(e); +} +void PythonQtShell_QComboBox::showEvent(QShowEvent* e) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "showEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QShowEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&e}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QComboBox::showEvent(e); +} +void PythonQtShell_QComboBox::showPopup() +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "showPopup"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={""}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QComboBox::showPopup(); +} +void PythonQtShell_QComboBox::tabletEvent(QTabletEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "tabletEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QTabletEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QComboBox::tabletEvent(arg__1); +} +void PythonQtShell_QComboBox::timerEvent(QTimerEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "timerEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QTimerEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QComboBox::timerEvent(arg__1); +} +void PythonQtShell_QComboBox::wheelEvent(QWheelEvent* e) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "wheelEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QWheelEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&e}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QComboBox::wheelEvent(e); +} +QComboBox* PythonQtWrapper_QComboBox::new_QComboBox(QWidget* parent) +{ +return new PythonQtShell_QComboBox(parent); } + +void PythonQtWrapper_QComboBox::addItem(QComboBox* theWrappedObject, const QIcon& icon, const QString& text, const QVariant& userData) +{ + ( theWrappedObject->addItem(icon, text, userData)); +} + +void PythonQtWrapper_QComboBox::addItem(QComboBox* theWrappedObject, const QString& text, const QVariant& userData) +{ + ( theWrappedObject->addItem(text, userData)); +} + +void PythonQtWrapper_QComboBox::addItems(QComboBox* theWrappedObject, const QStringList& texts) +{ + ( theWrappedObject->addItems(texts)); +} + +void PythonQtWrapper_QComboBox::changeEvent(QComboBox* theWrappedObject, QEvent* e) +{ + ( ((PythonQtPublicPromoter_QComboBox*)theWrappedObject)->promoted_changeEvent(e)); +} + +QCompleter* PythonQtWrapper_QComboBox::completer(QComboBox* theWrappedObject) const +{ + return ( theWrappedObject->completer()); +} + +void PythonQtWrapper_QComboBox::contextMenuEvent(QComboBox* theWrappedObject, QContextMenuEvent* e) +{ + ( ((PythonQtPublicPromoter_QComboBox*)theWrappedObject)->promoted_contextMenuEvent(e)); +} + +int PythonQtWrapper_QComboBox::count(QComboBox* theWrappedObject) const +{ + return ( theWrappedObject->count()); +} + +int PythonQtWrapper_QComboBox::currentIndex(QComboBox* theWrappedObject) const +{ + return ( theWrappedObject->currentIndex()); +} + +QString PythonQtWrapper_QComboBox::currentText(QComboBox* theWrappedObject) const +{ + return ( theWrappedObject->currentText()); +} + +bool PythonQtWrapper_QComboBox::duplicatesEnabled(QComboBox* theWrappedObject) const +{ + return ( theWrappedObject->duplicatesEnabled()); +} + +bool PythonQtWrapper_QComboBox::event(QComboBox* theWrappedObject, QEvent* event) +{ + return ( ((PythonQtPublicPromoter_QComboBox*)theWrappedObject)->promoted_event(event)); +} + +int PythonQtWrapper_QComboBox::findData(QComboBox* theWrappedObject, const QVariant& data, int role, Qt::MatchFlags flags) const +{ + return ( theWrappedObject->findData(data, role, flags)); +} + +int PythonQtWrapper_QComboBox::findText(QComboBox* theWrappedObject, const QString& text, Qt::MatchFlags flags) const +{ + return ( theWrappedObject->findText(text, flags)); +} + +void PythonQtWrapper_QComboBox::focusInEvent(QComboBox* theWrappedObject, QFocusEvent* e) +{ + ( ((PythonQtPublicPromoter_QComboBox*)theWrappedObject)->promoted_focusInEvent(e)); +} + +void PythonQtWrapper_QComboBox::focusOutEvent(QComboBox* theWrappedObject, QFocusEvent* e) +{ + ( ((PythonQtPublicPromoter_QComboBox*)theWrappedObject)->promoted_focusOutEvent(e)); +} + +bool PythonQtWrapper_QComboBox::hasFrame(QComboBox* theWrappedObject) const +{ + return ( theWrappedObject->hasFrame()); +} + +void PythonQtWrapper_QComboBox::hideEvent(QComboBox* theWrappedObject, QHideEvent* e) +{ + ( ((PythonQtPublicPromoter_QComboBox*)theWrappedObject)->promoted_hideEvent(e)); +} + +void PythonQtWrapper_QComboBox::hidePopup(QComboBox* theWrappedObject) +{ + ( ((PythonQtPublicPromoter_QComboBox*)theWrappedObject)->promoted_hidePopup()); +} + +QSize PythonQtWrapper_QComboBox::iconSize(QComboBox* theWrappedObject) const +{ + return ( theWrappedObject->iconSize()); +} + +void PythonQtWrapper_QComboBox::inputMethodEvent(QComboBox* theWrappedObject, QInputMethodEvent* arg__1) +{ + ( ((PythonQtPublicPromoter_QComboBox*)theWrappedObject)->promoted_inputMethodEvent(arg__1)); +} + +QVariant PythonQtWrapper_QComboBox::inputMethodQuery(QComboBox* theWrappedObject, Qt::InputMethodQuery arg__1) const +{ + return ( ((PythonQtPublicPromoter_QComboBox*)theWrappedObject)->promoted_inputMethodQuery(arg__1)); +} + +void PythonQtWrapper_QComboBox::insertItem(QComboBox* theWrappedObject, int index, const QIcon& icon, const QString& text, const QVariant& userData) +{ + ( theWrappedObject->insertItem(index, icon, text, userData)); +} + +void PythonQtWrapper_QComboBox::insertItem(QComboBox* theWrappedObject, int index, const QString& text, const QVariant& userData) +{ + ( theWrappedObject->insertItem(index, text, userData)); +} + +void PythonQtWrapper_QComboBox::insertItems(QComboBox* theWrappedObject, int index, const QStringList& texts) +{ + ( theWrappedObject->insertItems(index, texts)); +} + +QComboBox::InsertPolicy PythonQtWrapper_QComboBox::insertPolicy(QComboBox* theWrappedObject) const +{ + return ( theWrappedObject->insertPolicy()); +} + +void PythonQtWrapper_QComboBox::insertSeparator(QComboBox* theWrappedObject, int index) +{ + ( theWrappedObject->insertSeparator(index)); +} + +bool PythonQtWrapper_QComboBox::isEditable(QComboBox* theWrappedObject) const +{ + return ( theWrappedObject->isEditable()); +} + +QVariant PythonQtWrapper_QComboBox::itemData(QComboBox* theWrappedObject, int index, int role) const +{ + return ( theWrappedObject->itemData(index, role)); +} + +QAbstractItemDelegate* PythonQtWrapper_QComboBox::itemDelegate(QComboBox* theWrappedObject) const +{ + return ( theWrappedObject->itemDelegate()); +} + +QIcon PythonQtWrapper_QComboBox::itemIcon(QComboBox* theWrappedObject, int index) const +{ + return ( theWrappedObject->itemIcon(index)); +} + +QString PythonQtWrapper_QComboBox::itemText(QComboBox* theWrappedObject, int index) const +{ + return ( theWrappedObject->itemText(index)); +} + +void PythonQtWrapper_QComboBox::keyPressEvent(QComboBox* theWrappedObject, QKeyEvent* e) +{ + ( ((PythonQtPublicPromoter_QComboBox*)theWrappedObject)->promoted_keyPressEvent(e)); +} + +void PythonQtWrapper_QComboBox::keyReleaseEvent(QComboBox* theWrappedObject, QKeyEvent* e) +{ + ( ((PythonQtPublicPromoter_QComboBox*)theWrappedObject)->promoted_keyReleaseEvent(e)); +} + +QLineEdit* PythonQtWrapper_QComboBox::lineEdit(QComboBox* theWrappedObject) const +{ + return ( theWrappedObject->lineEdit()); +} + +int PythonQtWrapper_QComboBox::maxCount(QComboBox* theWrappedObject) const +{ + return ( theWrappedObject->maxCount()); +} + +int PythonQtWrapper_QComboBox::maxVisibleItems(QComboBox* theWrappedObject) const +{ + return ( theWrappedObject->maxVisibleItems()); +} + +int PythonQtWrapper_QComboBox::minimumContentsLength(QComboBox* theWrappedObject) const +{ + return ( theWrappedObject->minimumContentsLength()); +} + +QSize PythonQtWrapper_QComboBox::minimumSizeHint(QComboBox* theWrappedObject) const +{ + return ( theWrappedObject->minimumSizeHint()); +} + +QAbstractItemModel* PythonQtWrapper_QComboBox::model(QComboBox* theWrappedObject) const +{ + return ( theWrappedObject->model()); +} + +int PythonQtWrapper_QComboBox::modelColumn(QComboBox* theWrappedObject) const +{ + return ( theWrappedObject->modelColumn()); +} + +void PythonQtWrapper_QComboBox::mousePressEvent(QComboBox* theWrappedObject, QMouseEvent* e) +{ + ( ((PythonQtPublicPromoter_QComboBox*)theWrappedObject)->promoted_mousePressEvent(e)); +} + +void PythonQtWrapper_QComboBox::mouseReleaseEvent(QComboBox* theWrappedObject, QMouseEvent* e) +{ + ( ((PythonQtPublicPromoter_QComboBox*)theWrappedObject)->promoted_mouseReleaseEvent(e)); +} + +void PythonQtWrapper_QComboBox::paintEvent(QComboBox* theWrappedObject, QPaintEvent* e) +{ + ( ((PythonQtPublicPromoter_QComboBox*)theWrappedObject)->promoted_paintEvent(e)); +} + +void PythonQtWrapper_QComboBox::removeItem(QComboBox* theWrappedObject, int index) +{ + ( theWrappedObject->removeItem(index)); +} + +void PythonQtWrapper_QComboBox::resizeEvent(QComboBox* theWrappedObject, QResizeEvent* e) +{ + ( ((PythonQtPublicPromoter_QComboBox*)theWrappedObject)->promoted_resizeEvent(e)); +} + +QModelIndex PythonQtWrapper_QComboBox::rootModelIndex(QComboBox* theWrappedObject) const +{ + return ( theWrappedObject->rootModelIndex()); +} + +void PythonQtWrapper_QComboBox::setCompleter(QComboBox* theWrappedObject, QCompleter* c) +{ + ( theWrappedObject->setCompleter(c)); +} + +void PythonQtWrapper_QComboBox::setDuplicatesEnabled(QComboBox* theWrappedObject, bool enable) +{ + ( theWrappedObject->setDuplicatesEnabled(enable)); +} + +void PythonQtWrapper_QComboBox::setEditable(QComboBox* theWrappedObject, bool editable) +{ + ( theWrappedObject->setEditable(editable)); +} + +void PythonQtWrapper_QComboBox::setFrame(QComboBox* theWrappedObject, bool arg__1) +{ + ( theWrappedObject->setFrame(arg__1)); +} + +void PythonQtWrapper_QComboBox::setIconSize(QComboBox* theWrappedObject, const QSize& size) +{ + ( theWrappedObject->setIconSize(size)); +} + +void PythonQtWrapper_QComboBox::setInsertPolicy(QComboBox* theWrappedObject, QComboBox::InsertPolicy policy) +{ + ( theWrappedObject->setInsertPolicy(policy)); +} + +void PythonQtWrapper_QComboBox::setItemData(QComboBox* theWrappedObject, int index, const QVariant& value, int role) +{ + ( theWrappedObject->setItemData(index, value, role)); +} + +void PythonQtWrapper_QComboBox::setItemDelegate(QComboBox* theWrappedObject, QAbstractItemDelegate* delegate) +{ + ( theWrappedObject->setItemDelegate(delegate)); +} + +void PythonQtWrapper_QComboBox::setItemIcon(QComboBox* theWrappedObject, int index, const QIcon& icon) +{ + ( theWrappedObject->setItemIcon(index, icon)); +} + +void PythonQtWrapper_QComboBox::setItemText(QComboBox* theWrappedObject, int index, const QString& text) +{ + ( theWrappedObject->setItemText(index, text)); +} + +void PythonQtWrapper_QComboBox::setLineEdit(QComboBox* theWrappedObject, QLineEdit* edit) +{ + ( theWrappedObject->setLineEdit(edit)); +} + +void PythonQtWrapper_QComboBox::setMaxCount(QComboBox* theWrappedObject, int max) +{ + ( theWrappedObject->setMaxCount(max)); +} + +void PythonQtWrapper_QComboBox::setMaxVisibleItems(QComboBox* theWrappedObject, int maxItems) +{ + ( theWrappedObject->setMaxVisibleItems(maxItems)); +} + +void PythonQtWrapper_QComboBox::setMinimumContentsLength(QComboBox* theWrappedObject, int characters) +{ + ( theWrappedObject->setMinimumContentsLength(characters)); +} + +void PythonQtWrapper_QComboBox::setModel(QComboBox* theWrappedObject, QAbstractItemModel* model) +{ + ( theWrappedObject->setModel(model)); +} + +void PythonQtWrapper_QComboBox::setModelColumn(QComboBox* theWrappedObject, int visibleColumn) +{ + ( theWrappedObject->setModelColumn(visibleColumn)); +} + +void PythonQtWrapper_QComboBox::setRootModelIndex(QComboBox* theWrappedObject, const QModelIndex& index) +{ + ( theWrappedObject->setRootModelIndex(index)); +} + +void PythonQtWrapper_QComboBox::setSizeAdjustPolicy(QComboBox* theWrappedObject, QComboBox::SizeAdjustPolicy policy) +{ + ( theWrappedObject->setSizeAdjustPolicy(policy)); +} + +void PythonQtWrapper_QComboBox::setValidator(QComboBox* theWrappedObject, const QValidator* v) +{ + ( theWrappedObject->setValidator(v)); +} + +void PythonQtWrapper_QComboBox::setView(QComboBox* theWrappedObject, QAbstractItemView* itemView) +{ + ( theWrappedObject->setView(itemView)); +} + +void PythonQtWrapper_QComboBox::showEvent(QComboBox* theWrappedObject, QShowEvent* e) +{ + ( ((PythonQtPublicPromoter_QComboBox*)theWrappedObject)->promoted_showEvent(e)); +} + +void PythonQtWrapper_QComboBox::showPopup(QComboBox* theWrappedObject) +{ + ( ((PythonQtPublicPromoter_QComboBox*)theWrappedObject)->promoted_showPopup()); +} + +QComboBox::SizeAdjustPolicy PythonQtWrapper_QComboBox::sizeAdjustPolicy(QComboBox* theWrappedObject) const +{ + return ( theWrappedObject->sizeAdjustPolicy()); +} + +QSize PythonQtWrapper_QComboBox::sizeHint(QComboBox* theWrappedObject) const +{ + return ( theWrappedObject->sizeHint()); +} + +const QValidator* PythonQtWrapper_QComboBox::validator(QComboBox* theWrappedObject) const +{ + return ( theWrappedObject->validator()); +} + +QAbstractItemView* PythonQtWrapper_QComboBox::view(QComboBox* theWrappedObject) const +{ + return ( theWrappedObject->view()); +} + +void PythonQtWrapper_QComboBox::wheelEvent(QComboBox* theWrappedObject, QWheelEvent* e) +{ + ( ((PythonQtPublicPromoter_QComboBox*)theWrappedObject)->promoted_wheelEvent(e)); +} + + + +void PythonQtShell_QCommandLinkButton::actionEvent(QActionEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "actionEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QActionEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QCommandLinkButton::actionEvent(arg__1); +} +void PythonQtShell_QCommandLinkButton::changeEvent(QEvent* e) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "changeEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&e}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QCommandLinkButton::changeEvent(e); +} +void PythonQtShell_QCommandLinkButton::checkStateSet() +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "checkStateSet"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={""}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QCommandLinkButton::checkStateSet(); +} +void PythonQtShell_QCommandLinkButton::childEvent(QChildEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "childEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QChildEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QCommandLinkButton::childEvent(arg__1); +} +void PythonQtShell_QCommandLinkButton::closeEvent(QCloseEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "closeEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QCloseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QCommandLinkButton::closeEvent(arg__1); +} +void PythonQtShell_QCommandLinkButton::contextMenuEvent(QContextMenuEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "contextMenuEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QContextMenuEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QCommandLinkButton::contextMenuEvent(arg__1); +} +void PythonQtShell_QCommandLinkButton::customEvent(QEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "customEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QCommandLinkButton::customEvent(arg__1); +} +int PythonQtShell_QCommandLinkButton::devType() const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "devType"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + int returnValue; + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("devType", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QCommandLinkButton::devType(); +} +void PythonQtShell_QCommandLinkButton::dragEnterEvent(QDragEnterEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dragEnterEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QDragEnterEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QCommandLinkButton::dragEnterEvent(arg__1); +} +void PythonQtShell_QCommandLinkButton::dragLeaveEvent(QDragLeaveEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dragLeaveEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QDragLeaveEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QCommandLinkButton::dragLeaveEvent(arg__1); +} +void PythonQtShell_QCommandLinkButton::dragMoveEvent(QDragMoveEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dragMoveEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QDragMoveEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QCommandLinkButton::dragMoveEvent(arg__1); +} +void PythonQtShell_QCommandLinkButton::dropEvent(QDropEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dropEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QDropEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QCommandLinkButton::dropEvent(arg__1); +} +void PythonQtShell_QCommandLinkButton::enterEvent(QEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "enterEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QCommandLinkButton::enterEvent(arg__1); +} +bool PythonQtShell_QCommandLinkButton::event(QEvent* e) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "event"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue; + void* args[2] = {NULL, (void*)&e}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QCommandLinkButton::event(e); +} +bool PythonQtShell_QCommandLinkButton::eventFilter(QObject* arg__1, QEvent* arg__2) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "eventFilter"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue; + void* args[3] = {NULL, (void*)&arg__1, (void*)&arg__2}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QCommandLinkButton::eventFilter(arg__1, arg__2); +} +void PythonQtShell_QCommandLinkButton::focusInEvent(QFocusEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "focusInEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QFocusEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QCommandLinkButton::focusInEvent(arg__1); +} +bool PythonQtShell_QCommandLinkButton::focusNextPrevChild(bool next) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "focusNextPrevChild"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue; + void* args[2] = {NULL, (void*)&next}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("focusNextPrevChild", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QCommandLinkButton::focusNextPrevChild(next); +} +void PythonQtShell_QCommandLinkButton::focusOutEvent(QFocusEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "focusOutEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QFocusEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QCommandLinkButton::focusOutEvent(arg__1); +} +int PythonQtShell_QCommandLinkButton::heightForWidth(int arg__1) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "heightForWidth"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"int" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + int returnValue; + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("heightForWidth", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QCommandLinkButton::heightForWidth(arg__1); +} +void PythonQtShell_QCommandLinkButton::hideEvent(QHideEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "hideEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QHideEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QCommandLinkButton::hideEvent(arg__1); +} +bool PythonQtShell_QCommandLinkButton::hitButton(const QPoint& pos) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "hitButton"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "const QPoint&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue; + void* args[2] = {NULL, (void*)&pos}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("hitButton", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QCommandLinkButton::hitButton(pos); +} +void PythonQtShell_QCommandLinkButton::inputMethodEvent(QInputMethodEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "inputMethodEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QInputMethodEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QCommandLinkButton::inputMethodEvent(arg__1); +} +QVariant PythonQtShell_QCommandLinkButton::inputMethodQuery(Qt::InputMethodQuery arg__1) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "inputMethodQuery"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QVariant" , "Qt::InputMethodQuery"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + QVariant returnValue; + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result); + } else { + returnValue = *((QVariant*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QCommandLinkButton::inputMethodQuery(arg__1); +} +void PythonQtShell_QCommandLinkButton::keyPressEvent(QKeyEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "keyPressEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QKeyEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QCommandLinkButton::keyPressEvent(arg__1); +} +void PythonQtShell_QCommandLinkButton::keyReleaseEvent(QKeyEvent* e) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "keyReleaseEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QKeyEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&e}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QCommandLinkButton::keyReleaseEvent(e); +} +void PythonQtShell_QCommandLinkButton::languageChange() +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "languageChange"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={""}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QCommandLinkButton::languageChange(); +} +void PythonQtShell_QCommandLinkButton::leaveEvent(QEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "leaveEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QCommandLinkButton::leaveEvent(arg__1); +} +int PythonQtShell_QCommandLinkButton::metric(QPaintDevice::PaintDeviceMetric arg__1) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "metric"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + int returnValue; + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("metric", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QCommandLinkButton::metric(arg__1); +} +void PythonQtShell_QCommandLinkButton::mouseDoubleClickEvent(QMouseEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mouseDoubleClickEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QCommandLinkButton::mouseDoubleClickEvent(arg__1); +} +void PythonQtShell_QCommandLinkButton::mouseMoveEvent(QMouseEvent* e) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mouseMoveEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&e}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QCommandLinkButton::mouseMoveEvent(e); +} +void PythonQtShell_QCommandLinkButton::mousePressEvent(QMouseEvent* e) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mousePressEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&e}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QCommandLinkButton::mousePressEvent(e); +} +void PythonQtShell_QCommandLinkButton::mouseReleaseEvent(QMouseEvent* e) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mouseReleaseEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&e}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QCommandLinkButton::mouseReleaseEvent(e); +} +void PythonQtShell_QCommandLinkButton::moveEvent(QMoveEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "moveEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QMoveEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QCommandLinkButton::moveEvent(arg__1); +} +void PythonQtShell_QCommandLinkButton::nextCheckState() +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "nextCheckState"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={""}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QCommandLinkButton::nextCheckState(); +} +QPaintEngine* PythonQtShell_QCommandLinkButton::paintEngine() const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "paintEngine"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QPaintEngine*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QPaintEngine* returnValue; + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); + } else { + returnValue = *((QPaintEngine**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QCommandLinkButton::paintEngine(); +} +void PythonQtShell_QCommandLinkButton::paintEvent(QPaintEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "paintEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QPaintEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QCommandLinkButton::paintEvent(arg__1); +} +void PythonQtShell_QCommandLinkButton::resizeEvent(QResizeEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "resizeEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QResizeEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QCommandLinkButton::resizeEvent(arg__1); +} +void PythonQtShell_QCommandLinkButton::showEvent(QShowEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "showEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QShowEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QCommandLinkButton::showEvent(arg__1); +} +void PythonQtShell_QCommandLinkButton::tabletEvent(QTabletEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "tabletEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QTabletEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QCommandLinkButton::tabletEvent(arg__1); +} +void PythonQtShell_QCommandLinkButton::timerEvent(QTimerEvent* e) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "timerEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QTimerEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&e}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QCommandLinkButton::timerEvent(e); +} +void PythonQtShell_QCommandLinkButton::wheelEvent(QWheelEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "wheelEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QWheelEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QCommandLinkButton::wheelEvent(arg__1); +} +QCommandLinkButton* PythonQtWrapper_QCommandLinkButton::new_QCommandLinkButton(QWidget* parent) +{ +return new PythonQtShell_QCommandLinkButton(parent); } + +QCommandLinkButton* PythonQtWrapper_QCommandLinkButton::new_QCommandLinkButton(const QString& text, QWidget* parent) +{ +return new PythonQtShell_QCommandLinkButton(text, parent); } + +QCommandLinkButton* PythonQtWrapper_QCommandLinkButton::new_QCommandLinkButton(const QString& text, const QString& description, QWidget* parent) +{ +return new PythonQtShell_QCommandLinkButton(text, description, parent); } + +QString PythonQtWrapper_QCommandLinkButton::description(QCommandLinkButton* theWrappedObject) const +{ + return ( theWrappedObject->description()); +} + +bool PythonQtWrapper_QCommandLinkButton::event(QCommandLinkButton* theWrappedObject, QEvent* e) +{ + return ( ((PythonQtPublicPromoter_QCommandLinkButton*)theWrappedObject)->promoted_event(e)); +} + +int PythonQtWrapper_QCommandLinkButton::heightForWidth(QCommandLinkButton* theWrappedObject, int arg__1) const +{ + return ( ((PythonQtPublicPromoter_QCommandLinkButton*)theWrappedObject)->promoted_heightForWidth(arg__1)); +} + +void PythonQtWrapper_QCommandLinkButton::paintEvent(QCommandLinkButton* theWrappedObject, QPaintEvent* arg__1) +{ + ( ((PythonQtPublicPromoter_QCommandLinkButton*)theWrappedObject)->promoted_paintEvent(arg__1)); +} + +void PythonQtWrapper_QCommandLinkButton::setDescription(QCommandLinkButton* theWrappedObject, const QString& description) +{ + ( theWrappedObject->setDescription(description)); +} + + + +void PythonQtShell_QCommonStyle::childEvent(QChildEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "childEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QChildEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QCommonStyle::childEvent(arg__1); +} +void PythonQtShell_QCommonStyle::customEvent(QEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "customEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QCommonStyle::customEvent(arg__1); +} +void PythonQtShell_QCommonStyle::drawComplexControl(QStyle::ComplexControl cc, const QStyleOptionComplex* opt, QPainter* p, const QWidget* w) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "drawComplexControl"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QStyle::ComplexControl" , "const QStyleOptionComplex*" , "QPainter*" , "const QWidget*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(5, argumentList); + void* args[5] = {NULL, (void*)&cc, (void*)&opt, (void*)&p, (void*)&w}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QCommonStyle::drawComplexControl(cc, opt, p, w); +} +void PythonQtShell_QCommonStyle::drawControl(QStyle::ControlElement element, const QStyleOption* opt, QPainter* p, const QWidget* w) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "drawControl"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QStyle::ControlElement" , "const QStyleOption*" , "QPainter*" , "const QWidget*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(5, argumentList); + void* args[5] = {NULL, (void*)&element, (void*)&opt, (void*)&p, (void*)&w}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QCommonStyle::drawControl(element, opt, p, w); +} +void PythonQtShell_QCommonStyle::drawItemPixmap(QPainter* painter, const QRect& rect, int alignment, const QPixmap& pixmap) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "drawItemPixmap"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QPainter*" , "const QRect&" , "int" , "const QPixmap&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(5, argumentList); + void* args[5] = {NULL, (void*)&painter, (void*)&rect, (void*)&alignment, (void*)&pixmap}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QCommonStyle::drawItemPixmap(painter, rect, alignment, pixmap); +} +void PythonQtShell_QCommonStyle::drawItemText(QPainter* painter, const QRect& rect, int flags, const QPalette& pal, bool enabled, const QString& text, QPalette::ColorRole textRole) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "drawItemText"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QPainter*" , "const QRect&" , "int" , "const QPalette&" , "bool" , "const QString&" , "QPalette::ColorRole"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(8, argumentList); + void* args[8] = {NULL, (void*)&painter, (void*)&rect, (void*)&flags, (void*)&pal, (void*)&enabled, (void*)&text, (void*)&textRole}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QCommonStyle::drawItemText(painter, rect, flags, pal, enabled, text, textRole); +} +void PythonQtShell_QCommonStyle::drawPrimitive(QStyle::PrimitiveElement pe, const QStyleOption* opt, QPainter* p, const QWidget* w) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "drawPrimitive"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QStyle::PrimitiveElement" , "const QStyleOption*" , "QPainter*" , "const QWidget*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(5, argumentList); + void* args[5] = {NULL, (void*)&pe, (void*)&opt, (void*)&p, (void*)&w}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QCommonStyle::drawPrimitive(pe, opt, p, w); +} +bool PythonQtShell_QCommonStyle::event(QEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "event"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue; + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QCommonStyle::event(arg__1); +} +bool PythonQtShell_QCommonStyle::eventFilter(QObject* arg__1, QEvent* arg__2) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "eventFilter"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue; + void* args[3] = {NULL, (void*)&arg__1, (void*)&arg__2}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QCommonStyle::eventFilter(arg__1, arg__2); +} +QPixmap PythonQtShell_QCommonStyle::generatedIconPixmap(QIcon::Mode iconMode, const QPixmap& pixmap, const QStyleOption* opt) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "generatedIconPixmap"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QPixmap" , "QIcon::Mode" , "const QPixmap&" , "const QStyleOption*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + QPixmap returnValue; + void* args[4] = {NULL, (void*)&iconMode, (void*)&pixmap, (void*)&opt}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("generatedIconPixmap", methodInfo, result); + } else { + returnValue = *((QPixmap*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QCommonStyle::generatedIconPixmap(iconMode, pixmap, opt); +} +QStyle::SubControl PythonQtShell_QCommonStyle::hitTestComplexControl(QStyle::ComplexControl cc, const QStyleOptionComplex* opt, const QPoint& pt, const QWidget* w) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "hitTestComplexControl"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QStyle::SubControl" , "QStyle::ComplexControl" , "const QStyleOptionComplex*" , "const QPoint&" , "const QWidget*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(5, argumentList); + QStyle::SubControl returnValue; + void* args[5] = {NULL, (void*)&cc, (void*)&opt, (void*)&pt, (void*)&w}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("hitTestComplexControl", methodInfo, result); + } else { + returnValue = *((QStyle::SubControl*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QCommonStyle::hitTestComplexControl(cc, opt, pt, w); +} +QRect PythonQtShell_QCommonStyle::itemPixmapRect(const QRect& r, int flags, const QPixmap& pixmap) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "itemPixmapRect"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QRect" , "const QRect&" , "int" , "const QPixmap&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + QRect returnValue; + void* args[4] = {NULL, (void*)&r, (void*)&flags, (void*)&pixmap}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("itemPixmapRect", methodInfo, result); + } else { + returnValue = *((QRect*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QCommonStyle::itemPixmapRect(r, flags, pixmap); +} +int PythonQtShell_QCommonStyle::pixelMetric(QStyle::PixelMetric m, const QStyleOption* opt, const QWidget* widget) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "pixelMetric"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"int" , "QStyle::PixelMetric" , "const QStyleOption*" , "const QWidget*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + int returnValue; + void* args[4] = {NULL, (void*)&m, (void*)&opt, (void*)&widget}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("pixelMetric", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QCommonStyle::pixelMetric(m, opt, widget); +} +void PythonQtShell_QCommonStyle::polish(QApplication* app) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "polish"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QApplication*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&app}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QCommonStyle::polish(app); +} +void PythonQtShell_QCommonStyle::polish(QPalette& arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "polish"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QPalette&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QCommonStyle::polish(arg__1); +} +void PythonQtShell_QCommonStyle::polish(QWidget* widget) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "polish"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QWidget*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&widget}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QCommonStyle::polish(widget); +} +QSize PythonQtShell_QCommonStyle::sizeFromContents(QStyle::ContentsType ct, const QStyleOption* opt, const QSize& contentsSize, const QWidget* widget) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "sizeFromContents"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QSize" , "QStyle::ContentsType" , "const QStyleOption*" , "const QSize&" , "const QWidget*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(5, argumentList); + QSize returnValue; + void* args[5] = {NULL, (void*)&ct, (void*)&opt, (void*)&contentsSize, (void*)&widget}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("sizeFromContents", methodInfo, result); + } else { + returnValue = *((QSize*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QCommonStyle::sizeFromContents(ct, opt, contentsSize, widget); +} +QPalette PythonQtShell_QCommonStyle::standardPalette() const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "standardPalette"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QPalette"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QPalette returnValue; + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("standardPalette", methodInfo, result); + } else { + returnValue = *((QPalette*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QCommonStyle::standardPalette(); +} +QPixmap PythonQtShell_QCommonStyle::standardPixmap(QStyle::StandardPixmap standardPixmap, const QStyleOption* opt, const QWidget* widget) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "standardPixmap"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QPixmap" , "QStyle::StandardPixmap" , "const QStyleOption*" , "const QWidget*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + QPixmap returnValue; + void* args[4] = {NULL, (void*)&standardPixmap, (void*)&opt, (void*)&widget}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("standardPixmap", methodInfo, result); + } else { + returnValue = *((QPixmap*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QPixmap(); +} +int PythonQtShell_QCommonStyle::styleHint(QStyle::StyleHint sh, const QStyleOption* opt, const QWidget* w, QStyleHintReturn* shret) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "styleHint"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"int" , "QStyle::StyleHint" , "const QStyleOption*" , "const QWidget*" , "QStyleHintReturn*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(5, argumentList); + int returnValue; + void* args[5] = {NULL, (void*)&sh, (void*)&opt, (void*)&w, (void*)&shret}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("styleHint", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QCommonStyle::styleHint(sh, opt, w, shret); +} +QRect PythonQtShell_QCommonStyle::subControlRect(QStyle::ComplexControl cc, const QStyleOptionComplex* opt, QStyle::SubControl sc, const QWidget* w) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "subControlRect"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QRect" , "QStyle::ComplexControl" , "const QStyleOptionComplex*" , "QStyle::SubControl" , "const QWidget*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(5, argumentList); + QRect returnValue; + void* args[5] = {NULL, (void*)&cc, (void*)&opt, (void*)&sc, (void*)&w}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("subControlRect", methodInfo, result); + } else { + returnValue = *((QRect*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QCommonStyle::subControlRect(cc, opt, sc, w); +} +QRect PythonQtShell_QCommonStyle::subElementRect(QStyle::SubElement r, const QStyleOption* opt, const QWidget* widget) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "subElementRect"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QRect" , "QStyle::SubElement" , "const QStyleOption*" , "const QWidget*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + QRect returnValue; + void* args[4] = {NULL, (void*)&r, (void*)&opt, (void*)&widget}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("subElementRect", methodInfo, result); + } else { + returnValue = *((QRect*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QCommonStyle::subElementRect(r, opt, widget); +} +void PythonQtShell_QCommonStyle::timerEvent(QTimerEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "timerEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QTimerEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QCommonStyle::timerEvent(arg__1); +} +void PythonQtShell_QCommonStyle::unpolish(QApplication* application) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "unpolish"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QApplication*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&application}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QCommonStyle::unpolish(application); +} +void PythonQtShell_QCommonStyle::unpolish(QWidget* widget) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "unpolish"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QWidget*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&widget}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QCommonStyle::unpolish(widget); +} +QCommonStyle* PythonQtWrapper_QCommonStyle::new_QCommonStyle() +{ +return new PythonQtShell_QCommonStyle(); } + +void PythonQtWrapper_QCommonStyle::drawComplexControl(QCommonStyle* theWrappedObject, QStyle::ComplexControl cc, const QStyleOptionComplex* opt, QPainter* p, const QWidget* w) const +{ + ( ((PythonQtPublicPromoter_QCommonStyle*)theWrappedObject)->promoted_drawComplexControl(cc, opt, p, w)); +} + +void PythonQtWrapper_QCommonStyle::drawControl(QCommonStyle* theWrappedObject, QStyle::ControlElement element, const QStyleOption* opt, QPainter* p, const QWidget* w) const +{ + ( ((PythonQtPublicPromoter_QCommonStyle*)theWrappedObject)->promoted_drawControl(element, opt, p, w)); +} + +void PythonQtWrapper_QCommonStyle::drawPrimitive(QCommonStyle* theWrappedObject, QStyle::PrimitiveElement pe, const QStyleOption* opt, QPainter* p, const QWidget* w) const +{ + ( ((PythonQtPublicPromoter_QCommonStyle*)theWrappedObject)->promoted_drawPrimitive(pe, opt, p, w)); +} + +QPixmap PythonQtWrapper_QCommonStyle::generatedIconPixmap(QCommonStyle* theWrappedObject, QIcon::Mode iconMode, const QPixmap& pixmap, const QStyleOption* opt) const +{ + return ( ((PythonQtPublicPromoter_QCommonStyle*)theWrappedObject)->promoted_generatedIconPixmap(iconMode, pixmap, opt)); +} + +QStyle::SubControl PythonQtWrapper_QCommonStyle::hitTestComplexControl(QCommonStyle* theWrappedObject, QStyle::ComplexControl cc, const QStyleOptionComplex* opt, const QPoint& pt, const QWidget* w) const +{ + return ( ((PythonQtPublicPromoter_QCommonStyle*)theWrappedObject)->promoted_hitTestComplexControl(cc, opt, pt, w)); +} + +int PythonQtWrapper_QCommonStyle::pixelMetric(QCommonStyle* theWrappedObject, QStyle::PixelMetric m, const QStyleOption* opt, const QWidget* widget) const +{ + return ( ((PythonQtPublicPromoter_QCommonStyle*)theWrappedObject)->promoted_pixelMetric(m, opt, widget)); +} + +void PythonQtWrapper_QCommonStyle::polish(QCommonStyle* theWrappedObject, QApplication* app) +{ + ( ((PythonQtPublicPromoter_QCommonStyle*)theWrappedObject)->promoted_polish(app)); +} + +void PythonQtWrapper_QCommonStyle::polish(QCommonStyle* theWrappedObject, QPalette& arg__1) +{ + ( ((PythonQtPublicPromoter_QCommonStyle*)theWrappedObject)->promoted_polish(arg__1)); +} + +void PythonQtWrapper_QCommonStyle::polish(QCommonStyle* theWrappedObject, QWidget* widget) +{ + ( ((PythonQtPublicPromoter_QCommonStyle*)theWrappedObject)->promoted_polish(widget)); +} + +QSize PythonQtWrapper_QCommonStyle::sizeFromContents(QCommonStyle* theWrappedObject, QStyle::ContentsType ct, const QStyleOption* opt, const QSize& contentsSize, const QWidget* widget) const +{ + return ( ((PythonQtPublicPromoter_QCommonStyle*)theWrappedObject)->promoted_sizeFromContents(ct, opt, contentsSize, widget)); +} + +int PythonQtWrapper_QCommonStyle::styleHint(QCommonStyle* theWrappedObject, QStyle::StyleHint sh, const QStyleOption* opt, const QWidget* w, QStyleHintReturn* shret) const +{ + return ( ((PythonQtPublicPromoter_QCommonStyle*)theWrappedObject)->promoted_styleHint(sh, opt, w, shret)); +} + +QRect PythonQtWrapper_QCommonStyle::subControlRect(QCommonStyle* theWrappedObject, QStyle::ComplexControl cc, const QStyleOptionComplex* opt, QStyle::SubControl sc, const QWidget* w) const +{ + return ( ((PythonQtPublicPromoter_QCommonStyle*)theWrappedObject)->promoted_subControlRect(cc, opt, sc, w)); +} + +QRect PythonQtWrapper_QCommonStyle::subElementRect(QCommonStyle* theWrappedObject, QStyle::SubElement r, const QStyleOption* opt, const QWidget* widget) const +{ + return ( ((PythonQtPublicPromoter_QCommonStyle*)theWrappedObject)->promoted_subElementRect(r, opt, widget)); +} + +void PythonQtWrapper_QCommonStyle::unpolish(QCommonStyle* theWrappedObject, QApplication* application) +{ + ( ((PythonQtPublicPromoter_QCommonStyle*)theWrappedObject)->promoted_unpolish(application)); +} + +void PythonQtWrapper_QCommonStyle::unpolish(QCommonStyle* theWrappedObject, QWidget* widget) +{ + ( ((PythonQtPublicPromoter_QCommonStyle*)theWrappedObject)->promoted_unpolish(widget)); +} + + + +void PythonQtShell_QCompleter::childEvent(QChildEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "childEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QChildEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QCompleter::childEvent(arg__1); +} +void PythonQtShell_QCompleter::customEvent(QEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "customEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QCompleter::customEvent(arg__1); +} +bool PythonQtShell_QCompleter::event(QEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "event"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue; + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QCompleter::event(arg__1); +} +bool PythonQtShell_QCompleter::eventFilter(QObject* o, QEvent* e) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "eventFilter"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue; + void* args[3] = {NULL, (void*)&o, (void*)&e}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QCompleter::eventFilter(o, e); +} +QString PythonQtShell_QCompleter::pathFromIndex(const QModelIndex& index) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "pathFromIndex"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QString" , "const QModelIndex&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + QString returnValue; + void* args[2] = {NULL, (void*)&index}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("pathFromIndex", methodInfo, result); + } else { + returnValue = *((QString*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QCompleter::pathFromIndex(index); +} +QStringList PythonQtShell_QCompleter::splitPath(const QString& path) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "splitPath"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QStringList" , "const QString&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + QStringList returnValue; + void* args[2] = {NULL, (void*)&path}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("splitPath", methodInfo, result); + } else { + returnValue = *((QStringList*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QCompleter::splitPath(path); +} +void PythonQtShell_QCompleter::timerEvent(QTimerEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "timerEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QTimerEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QCompleter::timerEvent(arg__1); +} +QCompleter* PythonQtWrapper_QCompleter::new_QCompleter(QAbstractItemModel* model, QObject* parent) +{ +return new PythonQtShell_QCompleter(model, parent); } + +QCompleter* PythonQtWrapper_QCompleter::new_QCompleter(QObject* parent) +{ +return new PythonQtShell_QCompleter(parent); } + +QCompleter* PythonQtWrapper_QCompleter::new_QCompleter(const QStringList& completions, QObject* parent) +{ +return new PythonQtShell_QCompleter(completions, parent); } + +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)); +} + +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 ( ((PythonQtPublicPromoter_QCompleter*)theWrappedObject)->promoted_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::setMaxVisibleItems(QCompleter* theWrappedObject, int maxItems) +{ + ( theWrappedObject->setMaxVisibleItems(maxItems)); +} + +void PythonQtWrapper_QCompleter::setModel(QCompleter* theWrappedObject, QAbstractItemModel* c) +{ + ( theWrappedObject->setModel(c)); +} + +void PythonQtWrapper_QCompleter::setModelSorting(QCompleter* theWrappedObject, QCompleter::ModelSorting sorting) +{ + ( theWrappedObject->setModelSorting(sorting)); +} + +void PythonQtWrapper_QCompleter::setPopup(QCompleter* theWrappedObject, QAbstractItemView* 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 ( ((PythonQtPublicPromoter_QCompleter*)theWrappedObject)->promoted_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(); } + +QConicalGradient* PythonQtWrapper_QConicalGradient::new_QConicalGradient(const QPointF& center, qreal startAngle) +{ +return new QConicalGradient(center, startAngle); } + +QConicalGradient* PythonQtWrapper_QConicalGradient::new_QConicalGradient(qreal cx, qreal cy, qreal startAngle) +{ +return new QConicalGradient(cx, cy, startAngle); } + +qreal PythonQtWrapper_QConicalGradient::angle(QConicalGradient* theWrappedObject) const +{ + return ( theWrappedObject->angle()); +} + +QPointF PythonQtWrapper_QConicalGradient::center(QConicalGradient* theWrappedObject) const +{ + return ( theWrappedObject->center()); +} + +void PythonQtWrapper_QConicalGradient::setAngle(QConicalGradient* theWrappedObject, qreal angle) +{ + ( theWrappedObject->setAngle(angle)); +} + +void PythonQtWrapper_QConicalGradient::setCenter(QConicalGradient* theWrappedObject, const QPointF& center) +{ + ( theWrappedObject->setCenter(center)); +} + +void PythonQtWrapper_QConicalGradient::setCenter(QConicalGradient* theWrappedObject, qreal x, qreal y) +{ + ( theWrappedObject->setCenter(x, y)); +} + + + +QContextMenuEvent* PythonQtWrapper_QContextMenuEvent::new_QContextMenuEvent(QContextMenuEvent::Reason reason, const QPoint& pos) +{ +return new PythonQtShell_QContextMenuEvent(reason, pos); } + +QContextMenuEvent* PythonQtWrapper_QContextMenuEvent::new_QContextMenuEvent(QContextMenuEvent::Reason reason, const QPoint& pos, const QPoint& globalPos) +{ +return new PythonQtShell_QContextMenuEvent(reason, pos, globalPos); } + +QContextMenuEvent* PythonQtWrapper_QContextMenuEvent::new_QContextMenuEvent(QContextMenuEvent::Reason reason, const QPoint& pos, const QPoint& globalPos, Qt::KeyboardModifiers modifiers) +{ +return new PythonQtShell_QContextMenuEvent(reason, pos, globalPos, modifiers); } + +const QPoint* PythonQtWrapper_QContextMenuEvent::globalPos(QContextMenuEvent* theWrappedObject) const +{ + return &( theWrappedObject->globalPos()); +} + +int PythonQtWrapper_QContextMenuEvent::globalX(QContextMenuEvent* theWrappedObject) const +{ + return ( theWrappedObject->globalX()); +} + +int PythonQtWrapper_QContextMenuEvent::globalY(QContextMenuEvent* theWrappedObject) const +{ + return ( theWrappedObject->globalY()); +} + +const QPoint* PythonQtWrapper_QContextMenuEvent::pos(QContextMenuEvent* theWrappedObject) const +{ + return &( theWrappedObject->pos()); +} + +QContextMenuEvent::Reason PythonQtWrapper_QContextMenuEvent::reason(QContextMenuEvent* theWrappedObject) const +{ + return ( theWrappedObject->reason()); +} + +int PythonQtWrapper_QContextMenuEvent::x(QContextMenuEvent* theWrappedObject) const +{ + return ( theWrappedObject->x()); +} + +int PythonQtWrapper_QContextMenuEvent::y(QContextMenuEvent* theWrappedObject) const +{ + return ( theWrappedObject->y()); +} + + + +void PythonQtShell_QDataWidgetMapper::childEvent(QChildEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "childEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QChildEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QDataWidgetMapper::childEvent(arg__1); +} +void PythonQtShell_QDataWidgetMapper::customEvent(QEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "customEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QDataWidgetMapper::customEvent(arg__1); +} +bool PythonQtShell_QDataWidgetMapper::event(QEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "event"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue; + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QDataWidgetMapper::event(arg__1); +} +bool PythonQtShell_QDataWidgetMapper::eventFilter(QObject* arg__1, QEvent* arg__2) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "eventFilter"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue; + void* args[3] = {NULL, (void*)&arg__1, (void*)&arg__2}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QDataWidgetMapper::eventFilter(arg__1, arg__2); +} +void PythonQtShell_QDataWidgetMapper::setCurrentIndex(int index) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "setCurrentIndex"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&index}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QDataWidgetMapper::setCurrentIndex(index); +} +void PythonQtShell_QDataWidgetMapper::timerEvent(QTimerEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "timerEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QTimerEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QDataWidgetMapper::timerEvent(arg__1); +} +QDataWidgetMapper* PythonQtWrapper_QDataWidgetMapper::new_QDataWidgetMapper(QObject* parent) +{ +return new PythonQtShell_QDataWidgetMapper(parent); } + +void PythonQtWrapper_QDataWidgetMapper::addMapping(QDataWidgetMapper* theWrappedObject, QWidget* widget, int section) +{ + ( theWrappedObject->addMapping(widget, section)); +} + +void PythonQtWrapper_QDataWidgetMapper::addMapping(QDataWidgetMapper* theWrappedObject, QWidget* widget, int section, const QByteArray& propertyName) +{ + ( theWrappedObject->addMapping(widget, section, propertyName)); +} + +void PythonQtWrapper_QDataWidgetMapper::clearMapping(QDataWidgetMapper* theWrappedObject) +{ + ( theWrappedObject->clearMapping()); +} + +int PythonQtWrapper_QDataWidgetMapper::currentIndex(QDataWidgetMapper* theWrappedObject) const +{ + return ( theWrappedObject->currentIndex()); +} + +QAbstractItemDelegate* PythonQtWrapper_QDataWidgetMapper::itemDelegate(QDataWidgetMapper* theWrappedObject) const +{ + return ( theWrappedObject->itemDelegate()); +} + +QByteArray PythonQtWrapper_QDataWidgetMapper::mappedPropertyName(QDataWidgetMapper* theWrappedObject, QWidget* widget) const +{ + return ( theWrappedObject->mappedPropertyName(widget)); +} + +int PythonQtWrapper_QDataWidgetMapper::mappedSection(QDataWidgetMapper* theWrappedObject, QWidget* widget) const +{ + return ( theWrappedObject->mappedSection(widget)); +} + +QWidget* PythonQtWrapper_QDataWidgetMapper::mappedWidgetAt(QDataWidgetMapper* theWrappedObject, int section) const +{ + return ( theWrappedObject->mappedWidgetAt(section)); +} + +QAbstractItemModel* PythonQtWrapper_QDataWidgetMapper::model(QDataWidgetMapper* theWrappedObject) const +{ + return ( theWrappedObject->model()); +} + +Qt::Orientation PythonQtWrapper_QDataWidgetMapper::orientation(QDataWidgetMapper* theWrappedObject) const +{ + return ( theWrappedObject->orientation()); +} + +void PythonQtWrapper_QDataWidgetMapper::removeMapping(QDataWidgetMapper* theWrappedObject, QWidget* widget) +{ + ( theWrappedObject->removeMapping(widget)); +} + +QModelIndex PythonQtWrapper_QDataWidgetMapper::rootIndex(QDataWidgetMapper* theWrappedObject) const +{ + return ( theWrappedObject->rootIndex()); +} + +void PythonQtWrapper_QDataWidgetMapper::setItemDelegate(QDataWidgetMapper* theWrappedObject, QAbstractItemDelegate* delegate) +{ + ( theWrappedObject->setItemDelegate(delegate)); +} + +void PythonQtWrapper_QDataWidgetMapper::setModel(QDataWidgetMapper* theWrappedObject, QAbstractItemModel* model) +{ + ( theWrappedObject->setModel(model)); +} + +void PythonQtWrapper_QDataWidgetMapper::setOrientation(QDataWidgetMapper* theWrappedObject, Qt::Orientation aOrientation) +{ + ( theWrappedObject->setOrientation(aOrientation)); +} + +void PythonQtWrapper_QDataWidgetMapper::setRootIndex(QDataWidgetMapper* theWrappedObject, const QModelIndex& index) +{ + ( theWrappedObject->setRootIndex(index)); +} + +void PythonQtWrapper_QDataWidgetMapper::setSubmitPolicy(QDataWidgetMapper* theWrappedObject, QDataWidgetMapper::SubmitPolicy policy) +{ + ( theWrappedObject->setSubmitPolicy(policy)); +} + +QDataWidgetMapper::SubmitPolicy PythonQtWrapper_QDataWidgetMapper::submitPolicy(QDataWidgetMapper* theWrappedObject) const +{ + return ( theWrappedObject->submitPolicy()); +} + + + +void PythonQtShell_QDateEdit::actionEvent(QActionEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "actionEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QActionEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QDateEdit::actionEvent(arg__1); +} +void PythonQtShell_QDateEdit::changeEvent(QEvent* event) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "changeEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&event}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QDateEdit::changeEvent(event); +} +void PythonQtShell_QDateEdit::childEvent(QChildEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "childEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QChildEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QDateEdit::childEvent(arg__1); +} +void PythonQtShell_QDateEdit::clear() +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "clear"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={""}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QDateEdit::clear(); +} +void PythonQtShell_QDateEdit::closeEvent(QCloseEvent* event) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "closeEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QCloseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&event}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QDateEdit::closeEvent(event); +} +void PythonQtShell_QDateEdit::contextMenuEvent(QContextMenuEvent* event) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "contextMenuEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QContextMenuEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&event}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QDateEdit::contextMenuEvent(event); +} +void PythonQtShell_QDateEdit::customEvent(QEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "customEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QDateEdit::customEvent(arg__1); +} +QDateTime PythonQtShell_QDateEdit::dateTimeFromText(const QString& text) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dateTimeFromText"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QDateTime" , "const QString&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + QDateTime returnValue; + void* args[2] = {NULL, (void*)&text}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("dateTimeFromText", methodInfo, result); + } else { + returnValue = *((QDateTime*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QDateEdit::dateTimeFromText(text); +} +int PythonQtShell_QDateEdit::devType() const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "devType"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + int returnValue; + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("devType", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QDateEdit::devType(); +} +void PythonQtShell_QDateEdit::dragEnterEvent(QDragEnterEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dragEnterEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QDragEnterEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QDateEdit::dragEnterEvent(arg__1); +} +void PythonQtShell_QDateEdit::dragLeaveEvent(QDragLeaveEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dragLeaveEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QDragLeaveEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QDateEdit::dragLeaveEvent(arg__1); +} +void PythonQtShell_QDateEdit::dragMoveEvent(QDragMoveEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dragMoveEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QDragMoveEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QDateEdit::dragMoveEvent(arg__1); +} +void PythonQtShell_QDateEdit::dropEvent(QDropEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dropEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QDropEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QDateEdit::dropEvent(arg__1); +} +void PythonQtShell_QDateEdit::enterEvent(QEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "enterEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QDateEdit::enterEvent(arg__1); +} +bool PythonQtShell_QDateEdit::event(QEvent* event) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "event"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue; + void* args[2] = {NULL, (void*)&event}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QDateEdit::event(event); +} +bool PythonQtShell_QDateEdit::eventFilter(QObject* arg__1, QEvent* arg__2) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "eventFilter"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue; + void* args[3] = {NULL, (void*)&arg__1, (void*)&arg__2}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QDateEdit::eventFilter(arg__1, arg__2); +} +void PythonQtShell_QDateEdit::fixup(QString& input) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "fixup"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QString&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&input}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QDateEdit::fixup(input); +} +void PythonQtShell_QDateEdit::focusInEvent(QFocusEvent* event) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "focusInEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QFocusEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&event}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QDateEdit::focusInEvent(event); +} +bool PythonQtShell_QDateEdit::focusNextPrevChild(bool next) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "focusNextPrevChild"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue; + void* args[2] = {NULL, (void*)&next}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("focusNextPrevChild", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QDateEdit::focusNextPrevChild(next); +} +void PythonQtShell_QDateEdit::focusOutEvent(QFocusEvent* event) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "focusOutEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QFocusEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&event}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QDateEdit::focusOutEvent(event); +} +int PythonQtShell_QDateEdit::heightForWidth(int arg__1) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "heightForWidth"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"int" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + int returnValue; + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("heightForWidth", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QDateEdit::heightForWidth(arg__1); +} +void PythonQtShell_QDateEdit::hideEvent(QHideEvent* event) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "hideEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QHideEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&event}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QDateEdit::hideEvent(event); +} +void PythonQtShell_QDateEdit::inputMethodEvent(QInputMethodEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "inputMethodEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QInputMethodEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QDateEdit::inputMethodEvent(arg__1); +} +QVariant PythonQtShell_QDateEdit::inputMethodQuery(Qt::InputMethodQuery arg__1) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "inputMethodQuery"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QVariant" , "Qt::InputMethodQuery"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + QVariant returnValue; + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result); + } else { + returnValue = *((QVariant*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QDateEdit::inputMethodQuery(arg__1); +} +void PythonQtShell_QDateEdit::keyPressEvent(QKeyEvent* event) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "keyPressEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QKeyEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&event}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QDateEdit::keyPressEvent(event); +} +void PythonQtShell_QDateEdit::keyReleaseEvent(QKeyEvent* event) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "keyReleaseEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QKeyEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&event}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QDateEdit::keyReleaseEvent(event); +} +void PythonQtShell_QDateEdit::languageChange() +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "languageChange"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={""}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QDateEdit::languageChange(); +} +void PythonQtShell_QDateEdit::leaveEvent(QEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "leaveEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QDateEdit::leaveEvent(arg__1); +} +int PythonQtShell_QDateEdit::metric(QPaintDevice::PaintDeviceMetric arg__1) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "metric"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + int returnValue; + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("metric", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QDateEdit::metric(arg__1); +} +void PythonQtShell_QDateEdit::mouseDoubleClickEvent(QMouseEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mouseDoubleClickEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QDateEdit::mouseDoubleClickEvent(arg__1); +} +void PythonQtShell_QDateEdit::mouseMoveEvent(QMouseEvent* event) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mouseMoveEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&event}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QDateEdit::mouseMoveEvent(event); +} +void PythonQtShell_QDateEdit::mousePressEvent(QMouseEvent* event) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mousePressEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&event}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QDateEdit::mousePressEvent(event); +} +void PythonQtShell_QDateEdit::mouseReleaseEvent(QMouseEvent* event) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mouseReleaseEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&event}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QDateEdit::mouseReleaseEvent(event); +} +void PythonQtShell_QDateEdit::moveEvent(QMoveEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "moveEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QMoveEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QDateEdit::moveEvent(arg__1); +} +QPaintEngine* PythonQtShell_QDateEdit::paintEngine() const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "paintEngine"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QPaintEngine*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QPaintEngine* returnValue; + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); + } else { + returnValue = *((QPaintEngine**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QDateEdit::paintEngine(); +} +void PythonQtShell_QDateEdit::paintEvent(QPaintEvent* event) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "paintEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QPaintEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&event}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QDateEdit::paintEvent(event); +} +void PythonQtShell_QDateEdit::resizeEvent(QResizeEvent* event) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "resizeEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QResizeEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&event}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QDateEdit::resizeEvent(event); +} +void PythonQtShell_QDateEdit::showEvent(QShowEvent* event) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "showEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QShowEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&event}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QDateEdit::showEvent(event); +} +void PythonQtShell_QDateEdit::stepBy(int steps) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "stepBy"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&steps}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QDateEdit::stepBy(steps); +} +QAbstractSpinBox::StepEnabled PythonQtShell_QDateEdit::stepEnabled() const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "stepEnabled"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QAbstractSpinBox::StepEnabled"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QAbstractSpinBox::StepEnabled returnValue; + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("stepEnabled", methodInfo, result); + } else { + returnValue = *((QAbstractSpinBox::StepEnabled*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QDateEdit::stepEnabled(); +} +void PythonQtShell_QDateEdit::tabletEvent(QTabletEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "tabletEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QTabletEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QDateEdit::tabletEvent(arg__1); +} +QString PythonQtShell_QDateEdit::textFromDateTime(const QDateTime& dt) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "textFromDateTime"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QString" , "const QDateTime&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + QString returnValue; + void* args[2] = {NULL, (void*)&dt}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("textFromDateTime", methodInfo, result); + } else { + returnValue = *((QString*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QDateEdit::textFromDateTime(dt); +} +void PythonQtShell_QDateEdit::timerEvent(QTimerEvent* event) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "timerEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QTimerEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&event}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QDateEdit::timerEvent(event); +} +QValidator::State PythonQtShell_QDateEdit::validate(QString& input, int& pos) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "validate"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QValidator::State" , "QString&" , "int&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + QValidator::State returnValue; + void* args[3] = {NULL, (void*)&input, (void*)&pos}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("validate", methodInfo, result); + } else { + returnValue = *((QValidator::State*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QDateEdit::validate(input, pos); +} +void PythonQtShell_QDateEdit::wheelEvent(QWheelEvent* event) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "wheelEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QWheelEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&event}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QDateEdit::wheelEvent(event); +} +QDateEdit* PythonQtWrapper_QDateEdit::new_QDateEdit(QWidget* parent) +{ +return new PythonQtShell_QDateEdit(parent); } + +QDateEdit* PythonQtWrapper_QDateEdit::new_QDateEdit(const QDate& date, QWidget* parent) +{ +return new PythonQtShell_QDateEdit(date, parent); } + + + +void PythonQtShell_QDateTimeEdit::actionEvent(QActionEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "actionEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QActionEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QDateTimeEdit::actionEvent(arg__1); +} +void PythonQtShell_QDateTimeEdit::changeEvent(QEvent* event) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "changeEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&event}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QDateTimeEdit::changeEvent(event); +} +void PythonQtShell_QDateTimeEdit::childEvent(QChildEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "childEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QChildEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QDateTimeEdit::childEvent(arg__1); +} +void PythonQtShell_QDateTimeEdit::clear() +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "clear"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={""}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QDateTimeEdit::clear(); +} +void PythonQtShell_QDateTimeEdit::closeEvent(QCloseEvent* event) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "closeEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QCloseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&event}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QDateTimeEdit::closeEvent(event); +} +void PythonQtShell_QDateTimeEdit::contextMenuEvent(QContextMenuEvent* event) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "contextMenuEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QContextMenuEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&event}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QDateTimeEdit::contextMenuEvent(event); +} +void PythonQtShell_QDateTimeEdit::customEvent(QEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "customEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QDateTimeEdit::customEvent(arg__1); +} +QDateTime PythonQtShell_QDateTimeEdit::dateTimeFromText(const QString& text) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dateTimeFromText"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QDateTime" , "const QString&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + QDateTime returnValue; + void* args[2] = {NULL, (void*)&text}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("dateTimeFromText", methodInfo, result); + } else { + returnValue = *((QDateTime*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QDateTimeEdit::dateTimeFromText(text); +} +int PythonQtShell_QDateTimeEdit::devType() const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "devType"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + int returnValue; + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("devType", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QDateTimeEdit::devType(); +} +void PythonQtShell_QDateTimeEdit::dragEnterEvent(QDragEnterEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dragEnterEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QDragEnterEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QDateTimeEdit::dragEnterEvent(arg__1); +} +void PythonQtShell_QDateTimeEdit::dragLeaveEvent(QDragLeaveEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dragLeaveEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QDragLeaveEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QDateTimeEdit::dragLeaveEvent(arg__1); +} +void PythonQtShell_QDateTimeEdit::dragMoveEvent(QDragMoveEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dragMoveEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QDragMoveEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QDateTimeEdit::dragMoveEvent(arg__1); +} +void PythonQtShell_QDateTimeEdit::dropEvent(QDropEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dropEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QDropEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QDateTimeEdit::dropEvent(arg__1); +} +void PythonQtShell_QDateTimeEdit::enterEvent(QEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "enterEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QDateTimeEdit::enterEvent(arg__1); +} +bool PythonQtShell_QDateTimeEdit::event(QEvent* event) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "event"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue; + void* args[2] = {NULL, (void*)&event}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QDateTimeEdit::event(event); +} +bool PythonQtShell_QDateTimeEdit::eventFilter(QObject* arg__1, QEvent* arg__2) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "eventFilter"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue; + void* args[3] = {NULL, (void*)&arg__1, (void*)&arg__2}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QDateTimeEdit::eventFilter(arg__1, arg__2); +} +void PythonQtShell_QDateTimeEdit::fixup(QString& input) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "fixup"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QString&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&input}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QDateTimeEdit::fixup(input); +} +void PythonQtShell_QDateTimeEdit::focusInEvent(QFocusEvent* event) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "focusInEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QFocusEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&event}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QDateTimeEdit::focusInEvent(event); +} +bool PythonQtShell_QDateTimeEdit::focusNextPrevChild(bool next) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "focusNextPrevChild"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue; + void* args[2] = {NULL, (void*)&next}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("focusNextPrevChild", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QDateTimeEdit::focusNextPrevChild(next); +} +void PythonQtShell_QDateTimeEdit::focusOutEvent(QFocusEvent* event) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "focusOutEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QFocusEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&event}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QDateTimeEdit::focusOutEvent(event); +} +int PythonQtShell_QDateTimeEdit::heightForWidth(int arg__1) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "heightForWidth"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"int" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + int returnValue; + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("heightForWidth", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QDateTimeEdit::heightForWidth(arg__1); +} +void PythonQtShell_QDateTimeEdit::hideEvent(QHideEvent* event) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "hideEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QHideEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&event}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QDateTimeEdit::hideEvent(event); +} +void PythonQtShell_QDateTimeEdit::inputMethodEvent(QInputMethodEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "inputMethodEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QInputMethodEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QDateTimeEdit::inputMethodEvent(arg__1); +} +QVariant PythonQtShell_QDateTimeEdit::inputMethodQuery(Qt::InputMethodQuery arg__1) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "inputMethodQuery"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QVariant" , "Qt::InputMethodQuery"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + QVariant returnValue; + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result); + } else { + returnValue = *((QVariant*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QDateTimeEdit::inputMethodQuery(arg__1); +} +void PythonQtShell_QDateTimeEdit::keyPressEvent(QKeyEvent* event) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "keyPressEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QKeyEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&event}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QDateTimeEdit::keyPressEvent(event); +} +void PythonQtShell_QDateTimeEdit::keyReleaseEvent(QKeyEvent* event) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "keyReleaseEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QKeyEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&event}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QDateTimeEdit::keyReleaseEvent(event); +} +void PythonQtShell_QDateTimeEdit::languageChange() +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "languageChange"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={""}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QDateTimeEdit::languageChange(); +} +void PythonQtShell_QDateTimeEdit::leaveEvent(QEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "leaveEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QDateTimeEdit::leaveEvent(arg__1); +} +int PythonQtShell_QDateTimeEdit::metric(QPaintDevice::PaintDeviceMetric arg__1) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "metric"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + int returnValue; + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("metric", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QDateTimeEdit::metric(arg__1); +} +void PythonQtShell_QDateTimeEdit::mouseDoubleClickEvent(QMouseEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mouseDoubleClickEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QDateTimeEdit::mouseDoubleClickEvent(arg__1); +} +void PythonQtShell_QDateTimeEdit::mouseMoveEvent(QMouseEvent* event) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mouseMoveEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&event}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QDateTimeEdit::mouseMoveEvent(event); +} +void PythonQtShell_QDateTimeEdit::mousePressEvent(QMouseEvent* event) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mousePressEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&event}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QDateTimeEdit::mousePressEvent(event); +} +void PythonQtShell_QDateTimeEdit::mouseReleaseEvent(QMouseEvent* event) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mouseReleaseEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&event}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QDateTimeEdit::mouseReleaseEvent(event); +} +void PythonQtShell_QDateTimeEdit::moveEvent(QMoveEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "moveEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QMoveEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QDateTimeEdit::moveEvent(arg__1); +} +QPaintEngine* PythonQtShell_QDateTimeEdit::paintEngine() const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "paintEngine"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QPaintEngine*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QPaintEngine* returnValue; + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); + } else { + returnValue = *((QPaintEngine**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QDateTimeEdit::paintEngine(); +} +void PythonQtShell_QDateTimeEdit::paintEvent(QPaintEvent* event) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "paintEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QPaintEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&event}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QDateTimeEdit::paintEvent(event); +} +void PythonQtShell_QDateTimeEdit::resizeEvent(QResizeEvent* event) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "resizeEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QResizeEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&event}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QDateTimeEdit::resizeEvent(event); +} +void PythonQtShell_QDateTimeEdit::showEvent(QShowEvent* event) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "showEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QShowEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&event}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QDateTimeEdit::showEvent(event); +} +void PythonQtShell_QDateTimeEdit::stepBy(int steps) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "stepBy"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&steps}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QDateTimeEdit::stepBy(steps); +} +QAbstractSpinBox::StepEnabled PythonQtShell_QDateTimeEdit::stepEnabled() const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "stepEnabled"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QAbstractSpinBox::StepEnabled"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QAbstractSpinBox::StepEnabled returnValue; + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("stepEnabled", methodInfo, result); + } else { + returnValue = *((QAbstractSpinBox::StepEnabled*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QDateTimeEdit::stepEnabled(); +} +void PythonQtShell_QDateTimeEdit::tabletEvent(QTabletEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "tabletEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QTabletEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QDateTimeEdit::tabletEvent(arg__1); +} +QString PythonQtShell_QDateTimeEdit::textFromDateTime(const QDateTime& dt) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "textFromDateTime"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QString" , "const QDateTime&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + QString returnValue; + void* args[2] = {NULL, (void*)&dt}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("textFromDateTime", methodInfo, result); + } else { + returnValue = *((QString*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QDateTimeEdit::textFromDateTime(dt); +} +void PythonQtShell_QDateTimeEdit::timerEvent(QTimerEvent* event) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "timerEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QTimerEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&event}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QDateTimeEdit::timerEvent(event); +} +QValidator::State PythonQtShell_QDateTimeEdit::validate(QString& input, int& pos) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "validate"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QValidator::State" , "QString&" , "int&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + QValidator::State returnValue; + void* args[3] = {NULL, (void*)&input, (void*)&pos}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("validate", methodInfo, result); + } else { + returnValue = *((QValidator::State*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QDateTimeEdit::validate(input, pos); +} +void PythonQtShell_QDateTimeEdit::wheelEvent(QWheelEvent* event) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "wheelEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QWheelEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&event}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QDateTimeEdit::wheelEvent(event); +} +QDateTimeEdit* PythonQtWrapper_QDateTimeEdit::new_QDateTimeEdit(QWidget* parent) +{ +return new PythonQtShell_QDateTimeEdit(parent); } + +QDateTimeEdit* PythonQtWrapper_QDateTimeEdit::new_QDateTimeEdit(const QDate& d, QWidget* parent) +{ +return new PythonQtShell_QDateTimeEdit(d, parent); } + +QDateTimeEdit* PythonQtWrapper_QDateTimeEdit::new_QDateTimeEdit(const QDateTime& dt, QWidget* parent) +{ +return new PythonQtShell_QDateTimeEdit(dt, parent); } + +QDateTimeEdit* PythonQtWrapper_QDateTimeEdit::new_QDateTimeEdit(const QTime& t, QWidget* parent) +{ +return new PythonQtShell_QDateTimeEdit(t, parent); } + +bool PythonQtWrapper_QDateTimeEdit::calendarPopup(QDateTimeEdit* theWrappedObject) const +{ + return ( theWrappedObject->calendarPopup()); +} + +QCalendarWidget* PythonQtWrapper_QDateTimeEdit::calendarWidget(QDateTimeEdit* theWrappedObject) const +{ + return ( theWrappedObject->calendarWidget()); +} + +void PythonQtWrapper_QDateTimeEdit::clear(QDateTimeEdit* theWrappedObject) +{ + ( ((PythonQtPublicPromoter_QDateTimeEdit*)theWrappedObject)->promoted_clear()); +} + +void PythonQtWrapper_QDateTimeEdit::clearMaximumDate(QDateTimeEdit* theWrappedObject) +{ + ( theWrappedObject->clearMaximumDate()); +} + +void PythonQtWrapper_QDateTimeEdit::clearMaximumDateTime(QDateTimeEdit* theWrappedObject) +{ + ( theWrappedObject->clearMaximumDateTime()); +} + +void PythonQtWrapper_QDateTimeEdit::clearMaximumTime(QDateTimeEdit* theWrappedObject) +{ + ( theWrappedObject->clearMaximumTime()); +} + +void PythonQtWrapper_QDateTimeEdit::clearMinimumDate(QDateTimeEdit* theWrappedObject) +{ + ( theWrappedObject->clearMinimumDate()); +} + +void PythonQtWrapper_QDateTimeEdit::clearMinimumDateTime(QDateTimeEdit* theWrappedObject) +{ + ( theWrappedObject->clearMinimumDateTime()); +} + +void PythonQtWrapper_QDateTimeEdit::clearMinimumTime(QDateTimeEdit* theWrappedObject) +{ + ( theWrappedObject->clearMinimumTime()); +} + +QDateTimeEdit::Section PythonQtWrapper_QDateTimeEdit::currentSection(QDateTimeEdit* theWrappedObject) const +{ + return ( theWrappedObject->currentSection()); +} + +int PythonQtWrapper_QDateTimeEdit::currentSectionIndex(QDateTimeEdit* theWrappedObject) const +{ + return ( theWrappedObject->currentSectionIndex()); +} + +QDate PythonQtWrapper_QDateTimeEdit::date(QDateTimeEdit* theWrappedObject) const +{ + return ( theWrappedObject->date()); +} + +QDateTime PythonQtWrapper_QDateTimeEdit::dateTime(QDateTimeEdit* theWrappedObject) const +{ + return ( theWrappedObject->dateTime()); +} + +QDateTime PythonQtWrapper_QDateTimeEdit::dateTimeFromText(QDateTimeEdit* theWrappedObject, const QString& text) const +{ + return ( ((PythonQtPublicPromoter_QDateTimeEdit*)theWrappedObject)->promoted_dateTimeFromText(text)); +} + +QString PythonQtWrapper_QDateTimeEdit::displayFormat(QDateTimeEdit* theWrappedObject) const +{ + return ( theWrappedObject->displayFormat()); +} + +QDateTimeEdit::Sections PythonQtWrapper_QDateTimeEdit::displayedSections(QDateTimeEdit* theWrappedObject) const +{ + return ( theWrappedObject->displayedSections()); +} + +bool PythonQtWrapper_QDateTimeEdit::event(QDateTimeEdit* theWrappedObject, QEvent* event) +{ + return ( ((PythonQtPublicPromoter_QDateTimeEdit*)theWrappedObject)->promoted_event(event)); +} + +void PythonQtWrapper_QDateTimeEdit::fixup(QDateTimeEdit* theWrappedObject, QString& input) const +{ + ( ((PythonQtPublicPromoter_QDateTimeEdit*)theWrappedObject)->promoted_fixup(input)); +} + +void PythonQtWrapper_QDateTimeEdit::focusInEvent(QDateTimeEdit* theWrappedObject, QFocusEvent* event) +{ + ( ((PythonQtPublicPromoter_QDateTimeEdit*)theWrappedObject)->promoted_focusInEvent(event)); +} + +bool PythonQtWrapper_QDateTimeEdit::focusNextPrevChild(QDateTimeEdit* theWrappedObject, bool next) +{ + return ( ((PythonQtPublicPromoter_QDateTimeEdit*)theWrappedObject)->promoted_focusNextPrevChild(next)); +} + +void PythonQtWrapper_QDateTimeEdit::keyPressEvent(QDateTimeEdit* theWrappedObject, QKeyEvent* event) +{ + ( ((PythonQtPublicPromoter_QDateTimeEdit*)theWrappedObject)->promoted_keyPressEvent(event)); +} + +QDate PythonQtWrapper_QDateTimeEdit::maximumDate(QDateTimeEdit* theWrappedObject) const +{ + return ( theWrappedObject->maximumDate()); +} + +QDateTime PythonQtWrapper_QDateTimeEdit::maximumDateTime(QDateTimeEdit* theWrappedObject) const +{ + return ( theWrappedObject->maximumDateTime()); +} + +QTime PythonQtWrapper_QDateTimeEdit::maximumTime(QDateTimeEdit* theWrappedObject) const +{ + return ( theWrappedObject->maximumTime()); +} + +QDate PythonQtWrapper_QDateTimeEdit::minimumDate(QDateTimeEdit* theWrappedObject) const +{ + return ( theWrappedObject->minimumDate()); +} + +QDateTime PythonQtWrapper_QDateTimeEdit::minimumDateTime(QDateTimeEdit* theWrappedObject) const +{ + return ( theWrappedObject->minimumDateTime()); +} + +QTime PythonQtWrapper_QDateTimeEdit::minimumTime(QDateTimeEdit* theWrappedObject) const +{ + return ( theWrappedObject->minimumTime()); +} + +void PythonQtWrapper_QDateTimeEdit::mousePressEvent(QDateTimeEdit* theWrappedObject, QMouseEvent* event) +{ + ( ((PythonQtPublicPromoter_QDateTimeEdit*)theWrappedObject)->promoted_mousePressEvent(event)); +} + +void PythonQtWrapper_QDateTimeEdit::paintEvent(QDateTimeEdit* theWrappedObject, QPaintEvent* event) +{ + ( ((PythonQtPublicPromoter_QDateTimeEdit*)theWrappedObject)->promoted_paintEvent(event)); +} + +QDateTimeEdit::Section PythonQtWrapper_QDateTimeEdit::sectionAt(QDateTimeEdit* theWrappedObject, int index) const +{ + return ( theWrappedObject->sectionAt(index)); +} + +int PythonQtWrapper_QDateTimeEdit::sectionCount(QDateTimeEdit* theWrappedObject) const +{ + return ( theWrappedObject->sectionCount()); +} + +QString PythonQtWrapper_QDateTimeEdit::sectionText(QDateTimeEdit* theWrappedObject, QDateTimeEdit::Section section) const +{ + return ( theWrappedObject->sectionText(section)); +} + +void PythonQtWrapper_QDateTimeEdit::setCalendarPopup(QDateTimeEdit* theWrappedObject, bool enable) +{ + ( theWrappedObject->setCalendarPopup(enable)); +} + +void PythonQtWrapper_QDateTimeEdit::setCalendarWidget(QDateTimeEdit* theWrappedObject, QCalendarWidget* calendarWidget) +{ + ( theWrappedObject->setCalendarWidget(calendarWidget)); +} + +void PythonQtWrapper_QDateTimeEdit::setCurrentSection(QDateTimeEdit* theWrappedObject, QDateTimeEdit::Section section) +{ + ( theWrappedObject->setCurrentSection(section)); +} + +void PythonQtWrapper_QDateTimeEdit::setCurrentSectionIndex(QDateTimeEdit* theWrappedObject, int index) +{ + ( theWrappedObject->setCurrentSectionIndex(index)); +} + +void PythonQtWrapper_QDateTimeEdit::setDateRange(QDateTimeEdit* theWrappedObject, const QDate& min, const QDate& max) +{ + ( theWrappedObject->setDateRange(min, max)); +} + +void PythonQtWrapper_QDateTimeEdit::setDateTimeRange(QDateTimeEdit* theWrappedObject, const QDateTime& min, const QDateTime& max) +{ + ( theWrappedObject->setDateTimeRange(min, max)); +} + +void PythonQtWrapper_QDateTimeEdit::setDisplayFormat(QDateTimeEdit* theWrappedObject, const QString& format) +{ + ( theWrappedObject->setDisplayFormat(format)); +} + +void PythonQtWrapper_QDateTimeEdit::setMaximumDate(QDateTimeEdit* theWrappedObject, const QDate& max) +{ + ( theWrappedObject->setMaximumDate(max)); +} + +void PythonQtWrapper_QDateTimeEdit::setMaximumDateTime(QDateTimeEdit* theWrappedObject, const QDateTime& dt) +{ + ( theWrappedObject->setMaximumDateTime(dt)); +} + +void PythonQtWrapper_QDateTimeEdit::setMaximumTime(QDateTimeEdit* theWrappedObject, const QTime& max) +{ + ( theWrappedObject->setMaximumTime(max)); +} + +void PythonQtWrapper_QDateTimeEdit::setMinimumDate(QDateTimeEdit* theWrappedObject, const QDate& min) +{ + ( theWrappedObject->setMinimumDate(min)); +} + +void PythonQtWrapper_QDateTimeEdit::setMinimumDateTime(QDateTimeEdit* theWrappedObject, const QDateTime& dt) +{ + ( theWrappedObject->setMinimumDateTime(dt)); +} + +void PythonQtWrapper_QDateTimeEdit::setMinimumTime(QDateTimeEdit* theWrappedObject, const QTime& min) +{ + ( theWrappedObject->setMinimumTime(min)); +} + +void PythonQtWrapper_QDateTimeEdit::setSelectedSection(QDateTimeEdit* theWrappedObject, QDateTimeEdit::Section section) +{ + ( theWrappedObject->setSelectedSection(section)); +} + +void PythonQtWrapper_QDateTimeEdit::setTimeRange(QDateTimeEdit* theWrappedObject, const QTime& min, const QTime& max) +{ + ( theWrappedObject->setTimeRange(min, max)); +} + +void PythonQtWrapper_QDateTimeEdit::setTimeSpec(QDateTimeEdit* theWrappedObject, Qt::TimeSpec spec) +{ + ( theWrappedObject->setTimeSpec(spec)); +} + +QSize PythonQtWrapper_QDateTimeEdit::sizeHint(QDateTimeEdit* theWrappedObject) const +{ + return ( theWrappedObject->sizeHint()); +} + +void PythonQtWrapper_QDateTimeEdit::stepBy(QDateTimeEdit* theWrappedObject, int steps) +{ + ( ((PythonQtPublicPromoter_QDateTimeEdit*)theWrappedObject)->promoted_stepBy(steps)); +} + +QAbstractSpinBox::StepEnabled PythonQtWrapper_QDateTimeEdit::stepEnabled(QDateTimeEdit* theWrappedObject) const +{ + return ( ((PythonQtPublicPromoter_QDateTimeEdit*)theWrappedObject)->promoted_stepEnabled()); +} + +QString PythonQtWrapper_QDateTimeEdit::textFromDateTime(QDateTimeEdit* theWrappedObject, const QDateTime& dt) const +{ + return ( ((PythonQtPublicPromoter_QDateTimeEdit*)theWrappedObject)->promoted_textFromDateTime(dt)); +} + +QTime PythonQtWrapper_QDateTimeEdit::time(QDateTimeEdit* theWrappedObject) const +{ + return ( theWrappedObject->time()); +} + +Qt::TimeSpec PythonQtWrapper_QDateTimeEdit::timeSpec(QDateTimeEdit* theWrappedObject) const +{ + return ( theWrappedObject->timeSpec()); +} + +QValidator::State PythonQtWrapper_QDateTimeEdit::validate(QDateTimeEdit* theWrappedObject, QString& input, int& pos) const +{ + return ( ((PythonQtPublicPromoter_QDateTimeEdit*)theWrappedObject)->promoted_validate(input, pos)); +} + +void PythonQtWrapper_QDateTimeEdit::wheelEvent(QDateTimeEdit* theWrappedObject, QWheelEvent* event) +{ + ( ((PythonQtPublicPromoter_QDateTimeEdit*)theWrappedObject)->promoted_wheelEvent(event)); +} + + + +QDesktopServices* PythonQtWrapper_QDesktopServices::new_QDesktopServices() +{ +return new PythonQtShell_QDesktopServices(); } + +QString PythonQtWrapper_QDesktopServices::static_QDesktopServices_displayName(QDesktopServices::StandardLocation type) +{ + return (QDesktopServices::displayName(type)); +} + +bool PythonQtWrapper_QDesktopServices::static_QDesktopServices_openUrl(const QUrl& url) +{ + return (QDesktopServices::openUrl(url)); +} + +void PythonQtWrapper_QDesktopServices::static_QDesktopServices_setUrlHandler(const QString& scheme, QObject* receiver, const char* method) +{ + (QDesktopServices::setUrlHandler(scheme, receiver, method)); +} + +QString PythonQtWrapper_QDesktopServices::static_QDesktopServices_storageLocation(QDesktopServices::StandardLocation type) +{ + return (QDesktopServices::storageLocation(type)); +} + +void PythonQtWrapper_QDesktopServices::static_QDesktopServices_unsetUrlHandler(const QString& scheme) +{ + (QDesktopServices::unsetUrlHandler(scheme)); +} + + + +void PythonQtShell_QDesktopWidget::actionEvent(QActionEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "actionEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QActionEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QDesktopWidget::actionEvent(arg__1); +} +void PythonQtShell_QDesktopWidget::changeEvent(QEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "changeEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QDesktopWidget::changeEvent(arg__1); +} +void PythonQtShell_QDesktopWidget::childEvent(QChildEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "childEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QChildEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QDesktopWidget::childEvent(arg__1); +} +void PythonQtShell_QDesktopWidget::closeEvent(QCloseEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "closeEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QCloseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QDesktopWidget::closeEvent(arg__1); +} +void PythonQtShell_QDesktopWidget::contextMenuEvent(QContextMenuEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "contextMenuEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QContextMenuEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QDesktopWidget::contextMenuEvent(arg__1); +} +void PythonQtShell_QDesktopWidget::customEvent(QEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "customEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QDesktopWidget::customEvent(arg__1); +} +int PythonQtShell_QDesktopWidget::devType() const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "devType"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + int returnValue; + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("devType", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QDesktopWidget::devType(); +} +void PythonQtShell_QDesktopWidget::dragEnterEvent(QDragEnterEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dragEnterEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QDragEnterEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QDesktopWidget::dragEnterEvent(arg__1); +} +void PythonQtShell_QDesktopWidget::dragLeaveEvent(QDragLeaveEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dragLeaveEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QDragLeaveEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QDesktopWidget::dragLeaveEvent(arg__1); +} +void PythonQtShell_QDesktopWidget::dragMoveEvent(QDragMoveEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dragMoveEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QDragMoveEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QDesktopWidget::dragMoveEvent(arg__1); +} +void PythonQtShell_QDesktopWidget::dropEvent(QDropEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dropEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QDropEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QDesktopWidget::dropEvent(arg__1); +} +void PythonQtShell_QDesktopWidget::enterEvent(QEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "enterEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QDesktopWidget::enterEvent(arg__1); +} +bool PythonQtShell_QDesktopWidget::event(QEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "event"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue; + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QDesktopWidget::event(arg__1); +} +bool PythonQtShell_QDesktopWidget::eventFilter(QObject* arg__1, QEvent* arg__2) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "eventFilter"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue; + void* args[3] = {NULL, (void*)&arg__1, (void*)&arg__2}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QDesktopWidget::eventFilter(arg__1, arg__2); +} +void PythonQtShell_QDesktopWidget::focusInEvent(QFocusEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "focusInEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QFocusEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QDesktopWidget::focusInEvent(arg__1); +} +bool PythonQtShell_QDesktopWidget::focusNextPrevChild(bool next) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "focusNextPrevChild"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue; + void* args[2] = {NULL, (void*)&next}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("focusNextPrevChild", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QDesktopWidget::focusNextPrevChild(next); +} +void PythonQtShell_QDesktopWidget::focusOutEvent(QFocusEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "focusOutEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QFocusEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QDesktopWidget::focusOutEvent(arg__1); +} +int PythonQtShell_QDesktopWidget::heightForWidth(int arg__1) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "heightForWidth"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"int" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + int returnValue; + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("heightForWidth", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QDesktopWidget::heightForWidth(arg__1); +} +void PythonQtShell_QDesktopWidget::hideEvent(QHideEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "hideEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QHideEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QDesktopWidget::hideEvent(arg__1); +} +void PythonQtShell_QDesktopWidget::inputMethodEvent(QInputMethodEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "inputMethodEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QInputMethodEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QDesktopWidget::inputMethodEvent(arg__1); +} +QVariant PythonQtShell_QDesktopWidget::inputMethodQuery(Qt::InputMethodQuery arg__1) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "inputMethodQuery"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QVariant" , "Qt::InputMethodQuery"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + QVariant returnValue; + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result); + } else { + returnValue = *((QVariant*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QDesktopWidget::inputMethodQuery(arg__1); +} +void PythonQtShell_QDesktopWidget::keyPressEvent(QKeyEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "keyPressEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QKeyEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QDesktopWidget::keyPressEvent(arg__1); +} +void PythonQtShell_QDesktopWidget::keyReleaseEvent(QKeyEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "keyReleaseEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QKeyEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QDesktopWidget::keyReleaseEvent(arg__1); +} +void PythonQtShell_QDesktopWidget::languageChange() +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "languageChange"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={""}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QDesktopWidget::languageChange(); +} +void PythonQtShell_QDesktopWidget::leaveEvent(QEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "leaveEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QDesktopWidget::leaveEvent(arg__1); +} +int PythonQtShell_QDesktopWidget::metric(QPaintDevice::PaintDeviceMetric arg__1) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "metric"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + int returnValue; + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("metric", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QDesktopWidget::metric(arg__1); +} +QSize PythonQtShell_QDesktopWidget::minimumSizeHint() const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "getMinimumSizeHint"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QSize"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QSize returnValue; + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("getMinimumSizeHint", methodInfo, result); + } else { + returnValue = *((QSize*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QDesktopWidget::minimumSizeHint(); +} +void PythonQtShell_QDesktopWidget::mouseDoubleClickEvent(QMouseEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mouseDoubleClickEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QDesktopWidget::mouseDoubleClickEvent(arg__1); +} +void PythonQtShell_QDesktopWidget::mouseMoveEvent(QMouseEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mouseMoveEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QDesktopWidget::mouseMoveEvent(arg__1); +} +void PythonQtShell_QDesktopWidget::mousePressEvent(QMouseEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mousePressEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QDesktopWidget::mousePressEvent(arg__1); +} +void PythonQtShell_QDesktopWidget::mouseReleaseEvent(QMouseEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mouseReleaseEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QDesktopWidget::mouseReleaseEvent(arg__1); +} +void PythonQtShell_QDesktopWidget::moveEvent(QMoveEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "moveEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QMoveEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QDesktopWidget::moveEvent(arg__1); +} +QPaintEngine* PythonQtShell_QDesktopWidget::paintEngine() const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "paintEngine"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QPaintEngine*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QPaintEngine* returnValue; + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); + } else { + returnValue = *((QPaintEngine**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QDesktopWidget::paintEngine(); +} +void PythonQtShell_QDesktopWidget::paintEvent(QPaintEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "paintEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QPaintEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QDesktopWidget::paintEvent(arg__1); +} +void PythonQtShell_QDesktopWidget::resizeEvent(QResizeEvent* e) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "resizeEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QResizeEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&e}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QDesktopWidget::resizeEvent(e); +} +void PythonQtShell_QDesktopWidget::showEvent(QShowEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "showEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QShowEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QDesktopWidget::showEvent(arg__1); +} +QSize PythonQtShell_QDesktopWidget::sizeHint() const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "getSizeHint"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QSize"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QSize returnValue; + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("getSizeHint", methodInfo, result); + } else { + returnValue = *((QSize*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QDesktopWidget::sizeHint(); +} +void PythonQtShell_QDesktopWidget::tabletEvent(QTabletEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "tabletEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QTabletEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QDesktopWidget::tabletEvent(arg__1); +} +void PythonQtShell_QDesktopWidget::timerEvent(QTimerEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "timerEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QTimerEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QDesktopWidget::timerEvent(arg__1); +} +void PythonQtShell_QDesktopWidget::wheelEvent(QWheelEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "wheelEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QWheelEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QDesktopWidget::wheelEvent(arg__1); +} +QDesktopWidget* PythonQtWrapper_QDesktopWidget::new_QDesktopWidget() +{ +return new PythonQtShell_QDesktopWidget(); } + +const QRect PythonQtWrapper_QDesktopWidget::availableGeometry(QDesktopWidget* theWrappedObject, const QPoint& point) const +{ + return ( theWrappedObject->availableGeometry(point)); +} + +const QRect PythonQtWrapper_QDesktopWidget::availableGeometry(QDesktopWidget* theWrappedObject, const QWidget* widget) const +{ + return ( theWrappedObject->availableGeometry(widget)); +} + +const QRect PythonQtWrapper_QDesktopWidget::availableGeometry(QDesktopWidget* theWrappedObject, int screen) const +{ + return ( theWrappedObject->availableGeometry(screen)); +} + +bool PythonQtWrapper_QDesktopWidget::isVirtualDesktop(QDesktopWidget* theWrappedObject) const +{ + return ( theWrappedObject->isVirtualDesktop()); +} + +int PythonQtWrapper_QDesktopWidget::numScreens(QDesktopWidget* theWrappedObject) const +{ + return ( theWrappedObject->numScreens()); +} + +int PythonQtWrapper_QDesktopWidget::primaryScreen(QDesktopWidget* theWrappedObject) const +{ + return ( theWrappedObject->primaryScreen()); +} + +void PythonQtWrapper_QDesktopWidget::resizeEvent(QDesktopWidget* theWrappedObject, QResizeEvent* e) +{ + ( ((PythonQtPublicPromoter_QDesktopWidget*)theWrappedObject)->promoted_resizeEvent(e)); +} + +QWidget* PythonQtWrapper_QDesktopWidget::screen(QDesktopWidget* theWrappedObject, int screen) +{ + return ( theWrappedObject->screen(screen)); +} + +int PythonQtWrapper_QDesktopWidget::screenCount(QDesktopWidget* theWrappedObject) const +{ + return ( theWrappedObject->screenCount()); +} + +const QRect PythonQtWrapper_QDesktopWidget::screenGeometry(QDesktopWidget* theWrappedObject, const QPoint& point) const +{ + return ( theWrappedObject->screenGeometry(point)); +} + +const QRect PythonQtWrapper_QDesktopWidget::screenGeometry(QDesktopWidget* theWrappedObject, const QWidget* widget) const +{ + return ( theWrappedObject->screenGeometry(widget)); +} + +const QRect PythonQtWrapper_QDesktopWidget::screenGeometry(QDesktopWidget* theWrappedObject, int screen) const +{ + return ( theWrappedObject->screenGeometry(screen)); +} + +int PythonQtWrapper_QDesktopWidget::screenNumber(QDesktopWidget* theWrappedObject, const QPoint& arg__1) const +{ + return ( theWrappedObject->screenNumber(arg__1)); +} + +int PythonQtWrapper_QDesktopWidget::screenNumber(QDesktopWidget* theWrappedObject, const QWidget* widget) const +{ + return ( theWrappedObject->screenNumber(widget)); +} + + + +void PythonQtShell_QDial::actionEvent(QActionEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "actionEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QActionEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QDial::actionEvent(arg__1); +} +void PythonQtShell_QDial::changeEvent(QEvent* e) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "changeEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&e}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QDial::changeEvent(e); +} +void PythonQtShell_QDial::childEvent(QChildEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "childEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QChildEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QDial::childEvent(arg__1); +} +void PythonQtShell_QDial::closeEvent(QCloseEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "closeEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QCloseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QDial::closeEvent(arg__1); +} +void PythonQtShell_QDial::contextMenuEvent(QContextMenuEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "contextMenuEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QContextMenuEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QDial::contextMenuEvent(arg__1); +} +void PythonQtShell_QDial::customEvent(QEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "customEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QDial::customEvent(arg__1); +} +int PythonQtShell_QDial::devType() const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "devType"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + int returnValue; + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("devType", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QDial::devType(); +} +void PythonQtShell_QDial::dragEnterEvent(QDragEnterEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dragEnterEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QDragEnterEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QDial::dragEnterEvent(arg__1); +} +void PythonQtShell_QDial::dragLeaveEvent(QDragLeaveEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dragLeaveEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QDragLeaveEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QDial::dragLeaveEvent(arg__1); +} +void PythonQtShell_QDial::dragMoveEvent(QDragMoveEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dragMoveEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QDragMoveEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QDial::dragMoveEvent(arg__1); +} +void PythonQtShell_QDial::dropEvent(QDropEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dropEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QDropEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QDial::dropEvent(arg__1); +} +void PythonQtShell_QDial::enterEvent(QEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "enterEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QDial::enterEvent(arg__1); +} +bool PythonQtShell_QDial::event(QEvent* e) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "event"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue; + void* args[2] = {NULL, (void*)&e}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QDial::event(e); +} +bool PythonQtShell_QDial::eventFilter(QObject* arg__1, QEvent* arg__2) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "eventFilter"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue; + void* args[3] = {NULL, (void*)&arg__1, (void*)&arg__2}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QDial::eventFilter(arg__1, arg__2); +} +void PythonQtShell_QDial::focusInEvent(QFocusEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "focusInEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QFocusEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QDial::focusInEvent(arg__1); +} +bool PythonQtShell_QDial::focusNextPrevChild(bool next) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "focusNextPrevChild"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue; + void* args[2] = {NULL, (void*)&next}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("focusNextPrevChild", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QDial::focusNextPrevChild(next); +} +void PythonQtShell_QDial::focusOutEvent(QFocusEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "focusOutEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QFocusEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QDial::focusOutEvent(arg__1); +} +int PythonQtShell_QDial::heightForWidth(int arg__1) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "heightForWidth"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"int" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + int returnValue; + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("heightForWidth", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QDial::heightForWidth(arg__1); +} +void PythonQtShell_QDial::hideEvent(QHideEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "hideEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QHideEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QDial::hideEvent(arg__1); +} +void PythonQtShell_QDial::inputMethodEvent(QInputMethodEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "inputMethodEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QInputMethodEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QDial::inputMethodEvent(arg__1); +} +QVariant PythonQtShell_QDial::inputMethodQuery(Qt::InputMethodQuery arg__1) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "inputMethodQuery"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QVariant" , "Qt::InputMethodQuery"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + QVariant returnValue; + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result); + } else { + returnValue = *((QVariant*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QDial::inputMethodQuery(arg__1); +} +void PythonQtShell_QDial::keyPressEvent(QKeyEvent* ev) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "keyPressEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QKeyEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&ev}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QDial::keyPressEvent(ev); +} +void PythonQtShell_QDial::keyReleaseEvent(QKeyEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "keyReleaseEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QKeyEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QDial::keyReleaseEvent(arg__1); +} +void PythonQtShell_QDial::languageChange() +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "languageChange"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={""}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QDial::languageChange(); +} +void PythonQtShell_QDial::leaveEvent(QEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "leaveEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QDial::leaveEvent(arg__1); +} +int PythonQtShell_QDial::metric(QPaintDevice::PaintDeviceMetric arg__1) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "metric"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + int returnValue; + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("metric", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QDial::metric(arg__1); +} +void PythonQtShell_QDial::mouseDoubleClickEvent(QMouseEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mouseDoubleClickEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QDial::mouseDoubleClickEvent(arg__1); +} +void PythonQtShell_QDial::mouseMoveEvent(QMouseEvent* me) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mouseMoveEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&me}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QDial::mouseMoveEvent(me); +} +void PythonQtShell_QDial::mousePressEvent(QMouseEvent* me) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mousePressEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&me}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QDial::mousePressEvent(me); +} +void PythonQtShell_QDial::mouseReleaseEvent(QMouseEvent* me) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mouseReleaseEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&me}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QDial::mouseReleaseEvent(me); +} +void PythonQtShell_QDial::moveEvent(QMoveEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "moveEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QMoveEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QDial::moveEvent(arg__1); +} +QPaintEngine* PythonQtShell_QDial::paintEngine() const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "paintEngine"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QPaintEngine*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QPaintEngine* returnValue; + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); + } else { + returnValue = *((QPaintEngine**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QDial::paintEngine(); +} +void PythonQtShell_QDial::paintEvent(QPaintEvent* pe) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "paintEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QPaintEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&pe}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QDial::paintEvent(pe); +} +void PythonQtShell_QDial::resizeEvent(QResizeEvent* re) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "resizeEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QResizeEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&re}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QDial::resizeEvent(re); +} +void PythonQtShell_QDial::showEvent(QShowEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "showEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QShowEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QDial::showEvent(arg__1); +} +void PythonQtShell_QDial::tabletEvent(QTabletEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "tabletEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QTabletEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QDial::tabletEvent(arg__1); +} +void PythonQtShell_QDial::timerEvent(QTimerEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "timerEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QTimerEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QDial::timerEvent(arg__1); +} +void PythonQtShell_QDial::wheelEvent(QWheelEvent* e) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "wheelEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QWheelEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&e}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QDial::wheelEvent(e); +} +QDial* PythonQtWrapper_QDial::new_QDial(QWidget* parent) +{ +return new PythonQtShell_QDial(parent); } + +bool PythonQtWrapper_QDial::event(QDial* theWrappedObject, QEvent* e) +{ + return ( ((PythonQtPublicPromoter_QDial*)theWrappedObject)->promoted_event(e)); +} + +QSize PythonQtWrapper_QDial::minimumSizeHint(QDial* theWrappedObject) const +{ + return ( theWrappedObject->minimumSizeHint()); +} + +void PythonQtWrapper_QDial::mouseMoveEvent(QDial* theWrappedObject, QMouseEvent* me) +{ + ( ((PythonQtPublicPromoter_QDial*)theWrappedObject)->promoted_mouseMoveEvent(me)); +} + +void PythonQtWrapper_QDial::mousePressEvent(QDial* theWrappedObject, QMouseEvent* me) +{ + ( ((PythonQtPublicPromoter_QDial*)theWrappedObject)->promoted_mousePressEvent(me)); +} + +void PythonQtWrapper_QDial::mouseReleaseEvent(QDial* theWrappedObject, QMouseEvent* me) +{ + ( ((PythonQtPublicPromoter_QDial*)theWrappedObject)->promoted_mouseReleaseEvent(me)); +} + +int PythonQtWrapper_QDial::notchSize(QDial* theWrappedObject) const +{ + return ( theWrappedObject->notchSize()); +} + +qreal PythonQtWrapper_QDial::notchTarget(QDial* theWrappedObject) const +{ + return ( theWrappedObject->notchTarget()); +} + +bool PythonQtWrapper_QDial::notchesVisible(QDial* theWrappedObject) const +{ + return ( theWrappedObject->notchesVisible()); +} + +void PythonQtWrapper_QDial::paintEvent(QDial* theWrappedObject, QPaintEvent* pe) +{ + ( ((PythonQtPublicPromoter_QDial*)theWrappedObject)->promoted_paintEvent(pe)); +} + +void PythonQtWrapper_QDial::resizeEvent(QDial* theWrappedObject, QResizeEvent* re) +{ + ( ((PythonQtPublicPromoter_QDial*)theWrappedObject)->promoted_resizeEvent(re)); +} + +void PythonQtWrapper_QDial::setNotchTarget(QDial* theWrappedObject, double target) +{ + ( theWrappedObject->setNotchTarget(target)); +} + +QSize PythonQtWrapper_QDial::sizeHint(QDial* theWrappedObject) const +{ + return ( theWrappedObject->sizeHint()); +} + +bool PythonQtWrapper_QDial::wrapping(QDial* theWrappedObject) const +{ + return ( theWrappedObject->wrapping()); +} + + + +void PythonQtShell_QDialog::accept() +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "accept"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={""}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QDialog::accept(); +} +void PythonQtShell_QDialog::actionEvent(QActionEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "actionEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QActionEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QDialog::actionEvent(arg__1); +} +void PythonQtShell_QDialog::changeEvent(QEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "changeEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QDialog::changeEvent(arg__1); +} +void PythonQtShell_QDialog::childEvent(QChildEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "childEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QChildEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QDialog::childEvent(arg__1); +} +void PythonQtShell_QDialog::closeEvent(QCloseEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "closeEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QCloseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QDialog::closeEvent(arg__1); +} +void PythonQtShell_QDialog::contextMenuEvent(QContextMenuEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "contextMenuEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QContextMenuEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QDialog::contextMenuEvent(arg__1); +} +void PythonQtShell_QDialog::customEvent(QEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "customEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QDialog::customEvent(arg__1); +} +int PythonQtShell_QDialog::devType() const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "devType"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + int returnValue; + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("devType", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QDialog::devType(); +} +void PythonQtShell_QDialog::done(int arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "done"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QDialog::done(arg__1); +} +void PythonQtShell_QDialog::dragEnterEvent(QDragEnterEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dragEnterEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QDragEnterEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QDialog::dragEnterEvent(arg__1); +} +void PythonQtShell_QDialog::dragLeaveEvent(QDragLeaveEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dragLeaveEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QDragLeaveEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QDialog::dragLeaveEvent(arg__1); +} +void PythonQtShell_QDialog::dragMoveEvent(QDragMoveEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dragMoveEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QDragMoveEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QDialog::dragMoveEvent(arg__1); +} +void PythonQtShell_QDialog::dropEvent(QDropEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dropEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QDropEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QDialog::dropEvent(arg__1); +} +void PythonQtShell_QDialog::enterEvent(QEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "enterEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QDialog::enterEvent(arg__1); +} +bool PythonQtShell_QDialog::event(QEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "event"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue; + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QDialog::event(arg__1); +} +bool PythonQtShell_QDialog::eventFilter(QObject* arg__1, QEvent* arg__2) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "eventFilter"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue; + void* args[3] = {NULL, (void*)&arg__1, (void*)&arg__2}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QDialog::eventFilter(arg__1, arg__2); +} +void PythonQtShell_QDialog::focusInEvent(QFocusEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "focusInEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QFocusEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QDialog::focusInEvent(arg__1); +} +bool PythonQtShell_QDialog::focusNextPrevChild(bool next) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "focusNextPrevChild"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue; + void* args[2] = {NULL, (void*)&next}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("focusNextPrevChild", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QDialog::focusNextPrevChild(next); +} +void PythonQtShell_QDialog::focusOutEvent(QFocusEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "focusOutEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QFocusEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QDialog::focusOutEvent(arg__1); +} +int PythonQtShell_QDialog::heightForWidth(int arg__1) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "heightForWidth"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"int" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + int returnValue; + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("heightForWidth", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QDialog::heightForWidth(arg__1); +} +void PythonQtShell_QDialog::hideEvent(QHideEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "hideEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QHideEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QDialog::hideEvent(arg__1); +} +void PythonQtShell_QDialog::inputMethodEvent(QInputMethodEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "inputMethodEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QInputMethodEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QDialog::inputMethodEvent(arg__1); +} +QVariant PythonQtShell_QDialog::inputMethodQuery(Qt::InputMethodQuery arg__1) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "inputMethodQuery"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QVariant" , "Qt::InputMethodQuery"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + QVariant returnValue; + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result); + } else { + returnValue = *((QVariant*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QDialog::inputMethodQuery(arg__1); +} +void PythonQtShell_QDialog::keyPressEvent(QKeyEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "keyPressEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QKeyEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QDialog::keyPressEvent(arg__1); +} +void PythonQtShell_QDialog::keyReleaseEvent(QKeyEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "keyReleaseEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QKeyEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QDialog::keyReleaseEvent(arg__1); +} +void PythonQtShell_QDialog::languageChange() +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "languageChange"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={""}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QDialog::languageChange(); +} +void PythonQtShell_QDialog::leaveEvent(QEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "leaveEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QDialog::leaveEvent(arg__1); +} +int PythonQtShell_QDialog::metric(QPaintDevice::PaintDeviceMetric arg__1) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "metric"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + int returnValue; + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("metric", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QDialog::metric(arg__1); +} +void PythonQtShell_QDialog::mouseDoubleClickEvent(QMouseEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mouseDoubleClickEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QDialog::mouseDoubleClickEvent(arg__1); +} +void PythonQtShell_QDialog::mouseMoveEvent(QMouseEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mouseMoveEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QDialog::mouseMoveEvent(arg__1); +} +void PythonQtShell_QDialog::mousePressEvent(QMouseEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mousePressEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QDialog::mousePressEvent(arg__1); +} +void PythonQtShell_QDialog::mouseReleaseEvent(QMouseEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mouseReleaseEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QDialog::mouseReleaseEvent(arg__1); +} +void PythonQtShell_QDialog::moveEvent(QMoveEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "moveEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QMoveEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QDialog::moveEvent(arg__1); +} +QPaintEngine* PythonQtShell_QDialog::paintEngine() const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "paintEngine"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QPaintEngine*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QPaintEngine* returnValue; + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); + } else { + returnValue = *((QPaintEngine**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QDialog::paintEngine(); +} +void PythonQtShell_QDialog::paintEvent(QPaintEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "paintEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QPaintEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QDialog::paintEvent(arg__1); +} +void PythonQtShell_QDialog::reject() +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "reject"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={""}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QDialog::reject(); +} +void PythonQtShell_QDialog::resizeEvent(QResizeEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "resizeEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QResizeEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QDialog::resizeEvent(arg__1); +} +void PythonQtShell_QDialog::showEvent(QShowEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "showEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QShowEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QDialog::showEvent(arg__1); +} +void PythonQtShell_QDialog::tabletEvent(QTabletEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "tabletEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QTabletEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QDialog::tabletEvent(arg__1); +} +void PythonQtShell_QDialog::timerEvent(QTimerEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "timerEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QTimerEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QDialog::timerEvent(arg__1); +} +void PythonQtShell_QDialog::wheelEvent(QWheelEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "wheelEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QWheelEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QDialog::wheelEvent(arg__1); +} +QDialog* PythonQtWrapper_QDialog::new_QDialog(QWidget* parent, Qt::WindowFlags f) +{ +return new PythonQtShell_QDialog(parent, f); } + +void PythonQtWrapper_QDialog::closeEvent(QDialog* theWrappedObject, QCloseEvent* arg__1) +{ + ( ((PythonQtPublicPromoter_QDialog*)theWrappedObject)->promoted_closeEvent(arg__1)); +} + +void PythonQtWrapper_QDialog::contextMenuEvent(QDialog* theWrappedObject, QContextMenuEvent* arg__1) +{ + ( ((PythonQtPublicPromoter_QDialog*)theWrappedObject)->promoted_contextMenuEvent(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()); +} + +void PythonQtWrapper_QDialog::keyPressEvent(QDialog* theWrappedObject, QKeyEvent* arg__1) +{ + ( ((PythonQtPublicPromoter_QDialog*)theWrappedObject)->promoted_keyPressEvent(arg__1)); +} + +QSize PythonQtWrapper_QDialog::minimumSizeHint(QDialog* theWrappedObject) const +{ + return ( theWrappedObject->minimumSizeHint()); +} + +void PythonQtWrapper_QDialog::resizeEvent(QDialog* theWrappedObject, QResizeEvent* arg__1) +{ + ( ((PythonQtPublicPromoter_QDialog*)theWrappedObject)->promoted_resizeEvent(arg__1)); +} + +int PythonQtWrapper_QDialog::result(QDialog* theWrappedObject) const +{ + return ( theWrappedObject->result()); +} + +void PythonQtWrapper_QDialog::setModal(QDialog* theWrappedObject, bool modal) +{ + ( theWrappedObject->setModal(modal)); +} + +void PythonQtWrapper_QDialog::setResult(QDialog* theWrappedObject, int r) +{ + ( theWrappedObject->setResult(r)); +} + +void PythonQtWrapper_QDialog::setSizeGripEnabled(QDialog* theWrappedObject, bool arg__1) +{ + ( theWrappedObject->setSizeGripEnabled(arg__1)); +} + +void PythonQtWrapper_QDialog::setVisible(QDialog* theWrappedObject, bool visible) +{ + ( theWrappedObject->setVisible(visible)); +} + +void PythonQtWrapper_QDialog::showEvent(QDialog* theWrappedObject, QShowEvent* arg__1) +{ + ( ((PythonQtPublicPromoter_QDialog*)theWrappedObject)->promoted_showEvent(arg__1)); +} + +QSize PythonQtWrapper_QDialog::sizeHint(QDialog* theWrappedObject) const +{ + return ( theWrappedObject->sizeHint()); +} + + + +void PythonQtShell_QDialogButtonBox::actionEvent(QActionEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "actionEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QActionEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QDialogButtonBox::actionEvent(arg__1); +} +void PythonQtShell_QDialogButtonBox::changeEvent(QEvent* event) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "changeEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&event}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QDialogButtonBox::changeEvent(event); +} +void PythonQtShell_QDialogButtonBox::childEvent(QChildEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "childEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QChildEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QDialogButtonBox::childEvent(arg__1); +} +void PythonQtShell_QDialogButtonBox::closeEvent(QCloseEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "closeEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QCloseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QDialogButtonBox::closeEvent(arg__1); +} +void PythonQtShell_QDialogButtonBox::contextMenuEvent(QContextMenuEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "contextMenuEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QContextMenuEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QDialogButtonBox::contextMenuEvent(arg__1); +} +void PythonQtShell_QDialogButtonBox::customEvent(QEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "customEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QDialogButtonBox::customEvent(arg__1); +} +int PythonQtShell_QDialogButtonBox::devType() const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "devType"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + int returnValue; + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("devType", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QDialogButtonBox::devType(); +} +void PythonQtShell_QDialogButtonBox::dragEnterEvent(QDragEnterEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dragEnterEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QDragEnterEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QDialogButtonBox::dragEnterEvent(arg__1); +} +void PythonQtShell_QDialogButtonBox::dragLeaveEvent(QDragLeaveEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dragLeaveEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QDragLeaveEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QDialogButtonBox::dragLeaveEvent(arg__1); +} +void PythonQtShell_QDialogButtonBox::dragMoveEvent(QDragMoveEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dragMoveEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QDragMoveEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QDialogButtonBox::dragMoveEvent(arg__1); +} +void PythonQtShell_QDialogButtonBox::dropEvent(QDropEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dropEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QDropEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QDialogButtonBox::dropEvent(arg__1); +} +void PythonQtShell_QDialogButtonBox::enterEvent(QEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "enterEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QDialogButtonBox::enterEvent(arg__1); +} +bool PythonQtShell_QDialogButtonBox::event(QEvent* event) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "event"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue; + void* args[2] = {NULL, (void*)&event}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QDialogButtonBox::event(event); +} +bool PythonQtShell_QDialogButtonBox::eventFilter(QObject* arg__1, QEvent* arg__2) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "eventFilter"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue; + void* args[3] = {NULL, (void*)&arg__1, (void*)&arg__2}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QDialogButtonBox::eventFilter(arg__1, arg__2); +} +void PythonQtShell_QDialogButtonBox::focusInEvent(QFocusEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "focusInEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QFocusEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QDialogButtonBox::focusInEvent(arg__1); +} +bool PythonQtShell_QDialogButtonBox::focusNextPrevChild(bool next) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "focusNextPrevChild"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue; + void* args[2] = {NULL, (void*)&next}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("focusNextPrevChild", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QDialogButtonBox::focusNextPrevChild(next); +} +void PythonQtShell_QDialogButtonBox::focusOutEvent(QFocusEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "focusOutEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QFocusEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QDialogButtonBox::focusOutEvent(arg__1); +} +int PythonQtShell_QDialogButtonBox::heightForWidth(int arg__1) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "heightForWidth"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"int" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + int returnValue; + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("heightForWidth", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QDialogButtonBox::heightForWidth(arg__1); +} +void PythonQtShell_QDialogButtonBox::hideEvent(QHideEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "hideEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QHideEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QDialogButtonBox::hideEvent(arg__1); +} +void PythonQtShell_QDialogButtonBox::inputMethodEvent(QInputMethodEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "inputMethodEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QInputMethodEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QDialogButtonBox::inputMethodEvent(arg__1); +} +QVariant PythonQtShell_QDialogButtonBox::inputMethodQuery(Qt::InputMethodQuery arg__1) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "inputMethodQuery"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QVariant" , "Qt::InputMethodQuery"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + QVariant returnValue; + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result); + } else { + returnValue = *((QVariant*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QDialogButtonBox::inputMethodQuery(arg__1); +} +void PythonQtShell_QDialogButtonBox::keyPressEvent(QKeyEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "keyPressEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QKeyEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QDialogButtonBox::keyPressEvent(arg__1); +} +void PythonQtShell_QDialogButtonBox::keyReleaseEvent(QKeyEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "keyReleaseEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QKeyEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QDialogButtonBox::keyReleaseEvent(arg__1); +} +void PythonQtShell_QDialogButtonBox::languageChange() +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "languageChange"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={""}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QDialogButtonBox::languageChange(); +} +void PythonQtShell_QDialogButtonBox::leaveEvent(QEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "leaveEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QDialogButtonBox::leaveEvent(arg__1); +} +int PythonQtShell_QDialogButtonBox::metric(QPaintDevice::PaintDeviceMetric arg__1) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "metric"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + int returnValue; + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("metric", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QDialogButtonBox::metric(arg__1); +} +QSize PythonQtShell_QDialogButtonBox::minimumSizeHint() const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "getMinimumSizeHint"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QSize"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QSize returnValue; + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("getMinimumSizeHint", methodInfo, result); + } else { + returnValue = *((QSize*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QDialogButtonBox::minimumSizeHint(); +} +void PythonQtShell_QDialogButtonBox::mouseDoubleClickEvent(QMouseEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mouseDoubleClickEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QDialogButtonBox::mouseDoubleClickEvent(arg__1); +} +void PythonQtShell_QDialogButtonBox::mouseMoveEvent(QMouseEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mouseMoveEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QDialogButtonBox::mouseMoveEvent(arg__1); +} +void PythonQtShell_QDialogButtonBox::mousePressEvent(QMouseEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mousePressEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QDialogButtonBox::mousePressEvent(arg__1); +} +void PythonQtShell_QDialogButtonBox::mouseReleaseEvent(QMouseEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mouseReleaseEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QDialogButtonBox::mouseReleaseEvent(arg__1); +} +void PythonQtShell_QDialogButtonBox::moveEvent(QMoveEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "moveEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QMoveEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QDialogButtonBox::moveEvent(arg__1); +} +QPaintEngine* PythonQtShell_QDialogButtonBox::paintEngine() const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "paintEngine"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QPaintEngine*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QPaintEngine* returnValue; + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); + } else { + returnValue = *((QPaintEngine**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QDialogButtonBox::paintEngine(); +} +void PythonQtShell_QDialogButtonBox::paintEvent(QPaintEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "paintEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QPaintEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QDialogButtonBox::paintEvent(arg__1); +} +void PythonQtShell_QDialogButtonBox::resizeEvent(QResizeEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "resizeEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QResizeEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QDialogButtonBox::resizeEvent(arg__1); +} +void PythonQtShell_QDialogButtonBox::showEvent(QShowEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "showEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QShowEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QDialogButtonBox::showEvent(arg__1); +} +QSize PythonQtShell_QDialogButtonBox::sizeHint() const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "getSizeHint"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QSize"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QSize returnValue; + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("getSizeHint", methodInfo, result); + } else { + returnValue = *((QSize*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QDialogButtonBox::sizeHint(); +} +void PythonQtShell_QDialogButtonBox::tabletEvent(QTabletEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "tabletEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QTabletEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QDialogButtonBox::tabletEvent(arg__1); +} +void PythonQtShell_QDialogButtonBox::timerEvent(QTimerEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "timerEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QTimerEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QDialogButtonBox::timerEvent(arg__1); +} +void PythonQtShell_QDialogButtonBox::wheelEvent(QWheelEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "wheelEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QWheelEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QDialogButtonBox::wheelEvent(arg__1); +} +QDialogButtonBox* PythonQtWrapper_QDialogButtonBox::new_QDialogButtonBox(QDialogButtonBox::StandardButtons buttons, Qt::Orientation orientation, QWidget* parent) +{ +return new PythonQtShell_QDialogButtonBox(buttons, orientation, parent); } + +QDialogButtonBox* PythonQtWrapper_QDialogButtonBox::new_QDialogButtonBox(QWidget* parent) +{ +return new PythonQtShell_QDialogButtonBox(parent); } + +QDialogButtonBox* PythonQtWrapper_QDialogButtonBox::new_QDialogButtonBox(Qt::Orientation orientation, QWidget* parent) +{ +return new PythonQtShell_QDialogButtonBox(orientation, parent); } + +void PythonQtWrapper_QDialogButtonBox::addButton(QDialogButtonBox* theWrappedObject, QAbstractButton* button, QDialogButtonBox::ButtonRole role) +{ + ( theWrappedObject->addButton(button, role)); +} + +QPushButton* PythonQtWrapper_QDialogButtonBox::addButton(QDialogButtonBox* theWrappedObject, QDialogButtonBox::StandardButton button) +{ + return ( theWrappedObject->addButton(button)); +} + +QPushButton* PythonQtWrapper_QDialogButtonBox::addButton(QDialogButtonBox* theWrappedObject, const QString& text, QDialogButtonBox::ButtonRole role) +{ + return ( theWrappedObject->addButton(text, role)); +} + +QPushButton* PythonQtWrapper_QDialogButtonBox::button(QDialogButtonBox* theWrappedObject, QDialogButtonBox::StandardButton which) const +{ + return ( theWrappedObject->button(which)); +} + +QDialogButtonBox::ButtonRole PythonQtWrapper_QDialogButtonBox::buttonRole(QDialogButtonBox* theWrappedObject, QAbstractButton* button) const +{ + return ( theWrappedObject->buttonRole(button)); +} + +QList PythonQtWrapper_QDialogButtonBox::buttons(QDialogButtonBox* theWrappedObject) const +{ + return ( theWrappedObject->buttons()); +} + +bool PythonQtWrapper_QDialogButtonBox::centerButtons(QDialogButtonBox* theWrappedObject) const +{ + return ( theWrappedObject->centerButtons()); +} + +void PythonQtWrapper_QDialogButtonBox::changeEvent(QDialogButtonBox* theWrappedObject, QEvent* event) +{ + ( ((PythonQtPublicPromoter_QDialogButtonBox*)theWrappedObject)->promoted_changeEvent(event)); +} + +void PythonQtWrapper_QDialogButtonBox::clear(QDialogButtonBox* theWrappedObject) +{ + ( theWrappedObject->clear()); +} + +bool PythonQtWrapper_QDialogButtonBox::event(QDialogButtonBox* theWrappedObject, QEvent* event) +{ + return ( ((PythonQtPublicPromoter_QDialogButtonBox*)theWrappedObject)->promoted_event(event)); +} + +Qt::Orientation PythonQtWrapper_QDialogButtonBox::orientation(QDialogButtonBox* theWrappedObject) const +{ + return ( theWrappedObject->orientation()); +} + +void PythonQtWrapper_QDialogButtonBox::removeButton(QDialogButtonBox* theWrappedObject, QAbstractButton* button) +{ + ( theWrappedObject->removeButton(button)); +} + +void PythonQtWrapper_QDialogButtonBox::setCenterButtons(QDialogButtonBox* theWrappedObject, bool center) +{ + ( theWrappedObject->setCenterButtons(center)); +} + +void PythonQtWrapper_QDialogButtonBox::setOrientation(QDialogButtonBox* theWrappedObject, Qt::Orientation orientation) +{ + ( theWrappedObject->setOrientation(orientation)); +} + +void PythonQtWrapper_QDialogButtonBox::setStandardButtons(QDialogButtonBox* theWrappedObject, QDialogButtonBox::StandardButtons buttons) +{ + ( theWrappedObject->setStandardButtons(buttons)); +} + +QDialogButtonBox::StandardButton PythonQtWrapper_QDialogButtonBox::standardButton(QDialogButtonBox* theWrappedObject, QAbstractButton* button) const +{ + return ( theWrappedObject->standardButton(button)); +} + +QDialogButtonBox::StandardButtons PythonQtWrapper_QDialogButtonBox::standardButtons(QDialogButtonBox* theWrappedObject) const +{ + return ( theWrappedObject->standardButtons()); +} + + + +void PythonQtShell_QDockWidget::actionEvent(QActionEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "actionEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QActionEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QDockWidget::actionEvent(arg__1); +} +void PythonQtShell_QDockWidget::changeEvent(QEvent* event) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "changeEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&event}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QDockWidget::changeEvent(event); +} +void PythonQtShell_QDockWidget::childEvent(QChildEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "childEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QChildEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QDockWidget::childEvent(arg__1); +} +void PythonQtShell_QDockWidget::closeEvent(QCloseEvent* event) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "closeEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QCloseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&event}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QDockWidget::closeEvent(event); +} +void PythonQtShell_QDockWidget::contextMenuEvent(QContextMenuEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "contextMenuEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QContextMenuEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QDockWidget::contextMenuEvent(arg__1); +} +void PythonQtShell_QDockWidget::customEvent(QEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "customEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QDockWidget::customEvent(arg__1); +} +int PythonQtShell_QDockWidget::devType() const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "devType"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + int returnValue; + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("devType", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QDockWidget::devType(); +} +void PythonQtShell_QDockWidget::dragEnterEvent(QDragEnterEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dragEnterEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QDragEnterEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QDockWidget::dragEnterEvent(arg__1); +} +void PythonQtShell_QDockWidget::dragLeaveEvent(QDragLeaveEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dragLeaveEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QDragLeaveEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QDockWidget::dragLeaveEvent(arg__1); +} +void PythonQtShell_QDockWidget::dragMoveEvent(QDragMoveEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dragMoveEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QDragMoveEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QDockWidget::dragMoveEvent(arg__1); +} +void PythonQtShell_QDockWidget::dropEvent(QDropEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dropEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QDropEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QDockWidget::dropEvent(arg__1); +} +void PythonQtShell_QDockWidget::enterEvent(QEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "enterEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QDockWidget::enterEvent(arg__1); +} +bool PythonQtShell_QDockWidget::event(QEvent* event) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "event"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue; + void* args[2] = {NULL, (void*)&event}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QDockWidget::event(event); +} +bool PythonQtShell_QDockWidget::eventFilter(QObject* arg__1, QEvent* arg__2) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "eventFilter"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue; + void* args[3] = {NULL, (void*)&arg__1, (void*)&arg__2}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QDockWidget::eventFilter(arg__1, arg__2); +} +void PythonQtShell_QDockWidget::focusInEvent(QFocusEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "focusInEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QFocusEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QDockWidget::focusInEvent(arg__1); +} +bool PythonQtShell_QDockWidget::focusNextPrevChild(bool next) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "focusNextPrevChild"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue; + void* args[2] = {NULL, (void*)&next}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("focusNextPrevChild", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QDockWidget::focusNextPrevChild(next); +} +void PythonQtShell_QDockWidget::focusOutEvent(QFocusEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "focusOutEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QFocusEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QDockWidget::focusOutEvent(arg__1); +} +int PythonQtShell_QDockWidget::heightForWidth(int arg__1) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "heightForWidth"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"int" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + int returnValue; + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("heightForWidth", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QDockWidget::heightForWidth(arg__1); +} +void PythonQtShell_QDockWidget::hideEvent(QHideEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "hideEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QHideEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QDockWidget::hideEvent(arg__1); +} +void PythonQtShell_QDockWidget::inputMethodEvent(QInputMethodEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "inputMethodEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QInputMethodEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QDockWidget::inputMethodEvent(arg__1); +} +QVariant PythonQtShell_QDockWidget::inputMethodQuery(Qt::InputMethodQuery arg__1) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "inputMethodQuery"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QVariant" , "Qt::InputMethodQuery"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + QVariant returnValue; + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result); + } else { + returnValue = *((QVariant*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QDockWidget::inputMethodQuery(arg__1); +} +void PythonQtShell_QDockWidget::keyPressEvent(QKeyEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "keyPressEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QKeyEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QDockWidget::keyPressEvent(arg__1); +} +void PythonQtShell_QDockWidget::keyReleaseEvent(QKeyEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "keyReleaseEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QKeyEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QDockWidget::keyReleaseEvent(arg__1); +} +void PythonQtShell_QDockWidget::languageChange() +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "languageChange"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={""}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QDockWidget::languageChange(); +} +void PythonQtShell_QDockWidget::leaveEvent(QEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "leaveEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QDockWidget::leaveEvent(arg__1); +} +int PythonQtShell_QDockWidget::metric(QPaintDevice::PaintDeviceMetric arg__1) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "metric"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + int returnValue; + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("metric", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QDockWidget::metric(arg__1); +} +QSize PythonQtShell_QDockWidget::minimumSizeHint() const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "getMinimumSizeHint"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QSize"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QSize returnValue; + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("getMinimumSizeHint", methodInfo, result); + } else { + returnValue = *((QSize*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QDockWidget::minimumSizeHint(); +} +void PythonQtShell_QDockWidget::mouseDoubleClickEvent(QMouseEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mouseDoubleClickEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QDockWidget::mouseDoubleClickEvent(arg__1); +} +void PythonQtShell_QDockWidget::mouseMoveEvent(QMouseEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mouseMoveEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QDockWidget::mouseMoveEvent(arg__1); +} +void PythonQtShell_QDockWidget::mousePressEvent(QMouseEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mousePressEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QDockWidget::mousePressEvent(arg__1); +} +void PythonQtShell_QDockWidget::mouseReleaseEvent(QMouseEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mouseReleaseEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QDockWidget::mouseReleaseEvent(arg__1); +} +void PythonQtShell_QDockWidget::moveEvent(QMoveEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "moveEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QMoveEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QDockWidget::moveEvent(arg__1); +} +QPaintEngine* PythonQtShell_QDockWidget::paintEngine() const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "paintEngine"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QPaintEngine*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QPaintEngine* returnValue; + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); + } else { + returnValue = *((QPaintEngine**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QDockWidget::paintEngine(); +} +void PythonQtShell_QDockWidget::paintEvent(QPaintEvent* event) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "paintEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QPaintEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&event}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QDockWidget::paintEvent(event); +} +void PythonQtShell_QDockWidget::resizeEvent(QResizeEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "resizeEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QResizeEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QDockWidget::resizeEvent(arg__1); +} +void PythonQtShell_QDockWidget::showEvent(QShowEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "showEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QShowEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QDockWidget::showEvent(arg__1); +} +QSize PythonQtShell_QDockWidget::sizeHint() const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "getSizeHint"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QSize"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QSize returnValue; + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("getSizeHint", methodInfo, result); + } else { + returnValue = *((QSize*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QDockWidget::sizeHint(); +} +void PythonQtShell_QDockWidget::tabletEvent(QTabletEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "tabletEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QTabletEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QDockWidget::tabletEvent(arg__1); +} +void PythonQtShell_QDockWidget::timerEvent(QTimerEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "timerEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QTimerEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QDockWidget::timerEvent(arg__1); +} +void PythonQtShell_QDockWidget::wheelEvent(QWheelEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "wheelEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QWheelEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QDockWidget::wheelEvent(arg__1); +} +QDockWidget* PythonQtWrapper_QDockWidget::new_QDockWidget(QWidget* parent, Qt::WindowFlags flags) +{ +return new PythonQtShell_QDockWidget(parent, flags); } + +QDockWidget* PythonQtWrapper_QDockWidget::new_QDockWidget(const QString& title, QWidget* parent, Qt::WindowFlags flags) +{ +return new PythonQtShell_QDockWidget(title, parent, flags); } + +Qt::DockWidgetAreas PythonQtWrapper_QDockWidget::allowedAreas(QDockWidget* theWrappedObject) const +{ + return ( theWrappedObject->allowedAreas()); +} + +void PythonQtWrapper_QDockWidget::changeEvent(QDockWidget* theWrappedObject, QEvent* event) +{ + ( ((PythonQtPublicPromoter_QDockWidget*)theWrappedObject)->promoted_changeEvent(event)); +} + +void PythonQtWrapper_QDockWidget::closeEvent(QDockWidget* theWrappedObject, QCloseEvent* event) +{ + ( ((PythonQtPublicPromoter_QDockWidget*)theWrappedObject)->promoted_closeEvent(event)); +} + +bool PythonQtWrapper_QDockWidget::event(QDockWidget* theWrappedObject, QEvent* event) +{ + return ( ((PythonQtPublicPromoter_QDockWidget*)theWrappedObject)->promoted_event(event)); +} + +QDockWidget::DockWidgetFeatures PythonQtWrapper_QDockWidget::features(QDockWidget* theWrappedObject) const +{ + return ( theWrappedObject->features()); +} + +bool PythonQtWrapper_QDockWidget::isAreaAllowed(QDockWidget* theWrappedObject, Qt::DockWidgetArea area) const +{ + return ( theWrappedObject->isAreaAllowed(area)); +} + +bool PythonQtWrapper_QDockWidget::isFloating(QDockWidget* theWrappedObject) const +{ + return ( theWrappedObject->isFloating()); +} + +void PythonQtWrapper_QDockWidget::paintEvent(QDockWidget* theWrappedObject, QPaintEvent* event) +{ + ( ((PythonQtPublicPromoter_QDockWidget*)theWrappedObject)->promoted_paintEvent(event)); +} + +void PythonQtWrapper_QDockWidget::setAllowedAreas(QDockWidget* theWrappedObject, Qt::DockWidgetAreas areas) +{ + ( theWrappedObject->setAllowedAreas(areas)); +} + +void PythonQtWrapper_QDockWidget::setFeatures(QDockWidget* theWrappedObject, QDockWidget::DockWidgetFeatures features) +{ + ( theWrappedObject->setFeatures(features)); +} + +void PythonQtWrapper_QDockWidget::setFloating(QDockWidget* theWrappedObject, bool floating) +{ + ( theWrappedObject->setFloating(floating)); +} + +void PythonQtWrapper_QDockWidget::setTitleBarWidget(QDockWidget* theWrappedObject, QWidget* widget) +{ + ( theWrappedObject->setTitleBarWidget(widget)); +} + +void PythonQtWrapper_QDockWidget::setWidget(QDockWidget* theWrappedObject, QWidget* widget) +{ + ( theWrappedObject->setWidget(widget)); +} + +QWidget* PythonQtWrapper_QDockWidget::titleBarWidget(QDockWidget* theWrappedObject) const +{ + return ( theWrappedObject->titleBarWidget()); +} + +QAction* PythonQtWrapper_QDockWidget::toggleViewAction(QDockWidget* theWrappedObject) const +{ + return ( theWrappedObject->toggleViewAction()); +} + +QWidget* PythonQtWrapper_QDockWidget::widget(QDockWidget* theWrappedObject) const +{ + return ( theWrappedObject->widget()); +} + + + +void PythonQtShell_QDoubleSpinBox::actionEvent(QActionEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "actionEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QActionEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QDoubleSpinBox::actionEvent(arg__1); +} +void PythonQtShell_QDoubleSpinBox::changeEvent(QEvent* event) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "changeEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&event}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QDoubleSpinBox::changeEvent(event); +} +void PythonQtShell_QDoubleSpinBox::childEvent(QChildEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "childEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QChildEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QDoubleSpinBox::childEvent(arg__1); +} +void PythonQtShell_QDoubleSpinBox::clear() +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "clear"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={""}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QDoubleSpinBox::clear(); +} +void PythonQtShell_QDoubleSpinBox::closeEvent(QCloseEvent* event) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "closeEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QCloseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&event}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QDoubleSpinBox::closeEvent(event); +} +void PythonQtShell_QDoubleSpinBox::contextMenuEvent(QContextMenuEvent* event) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "contextMenuEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QContextMenuEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&event}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QDoubleSpinBox::contextMenuEvent(event); +} +void PythonQtShell_QDoubleSpinBox::customEvent(QEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "customEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QDoubleSpinBox::customEvent(arg__1); +} +int PythonQtShell_QDoubleSpinBox::devType() const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "devType"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + int returnValue; + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("devType", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QDoubleSpinBox::devType(); +} +void PythonQtShell_QDoubleSpinBox::dragEnterEvent(QDragEnterEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dragEnterEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QDragEnterEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QDoubleSpinBox::dragEnterEvent(arg__1); +} +void PythonQtShell_QDoubleSpinBox::dragLeaveEvent(QDragLeaveEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dragLeaveEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QDragLeaveEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QDoubleSpinBox::dragLeaveEvent(arg__1); +} +void PythonQtShell_QDoubleSpinBox::dragMoveEvent(QDragMoveEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dragMoveEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QDragMoveEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QDoubleSpinBox::dragMoveEvent(arg__1); +} +void PythonQtShell_QDoubleSpinBox::dropEvent(QDropEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dropEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QDropEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QDoubleSpinBox::dropEvent(arg__1); +} +void PythonQtShell_QDoubleSpinBox::enterEvent(QEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "enterEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QDoubleSpinBox::enterEvent(arg__1); +} +bool PythonQtShell_QDoubleSpinBox::event(QEvent* event) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "event"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue; + void* args[2] = {NULL, (void*)&event}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QDoubleSpinBox::event(event); +} +bool PythonQtShell_QDoubleSpinBox::eventFilter(QObject* arg__1, QEvent* arg__2) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "eventFilter"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue; + void* args[3] = {NULL, (void*)&arg__1, (void*)&arg__2}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QDoubleSpinBox::eventFilter(arg__1, arg__2); +} +void PythonQtShell_QDoubleSpinBox::fixup(QString& str) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "fixup"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QString&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&str}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QDoubleSpinBox::fixup(str); +} +void PythonQtShell_QDoubleSpinBox::focusInEvent(QFocusEvent* event) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "focusInEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QFocusEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&event}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QDoubleSpinBox::focusInEvent(event); +} +bool PythonQtShell_QDoubleSpinBox::focusNextPrevChild(bool next) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "focusNextPrevChild"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue; + void* args[2] = {NULL, (void*)&next}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("focusNextPrevChild", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QDoubleSpinBox::focusNextPrevChild(next); +} +void PythonQtShell_QDoubleSpinBox::focusOutEvent(QFocusEvent* event) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "focusOutEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QFocusEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&event}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QDoubleSpinBox::focusOutEvent(event); +} +int PythonQtShell_QDoubleSpinBox::heightForWidth(int arg__1) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "heightForWidth"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"int" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + int returnValue; + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("heightForWidth", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QDoubleSpinBox::heightForWidth(arg__1); +} +void PythonQtShell_QDoubleSpinBox::hideEvent(QHideEvent* event) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "hideEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QHideEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&event}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QDoubleSpinBox::hideEvent(event); +} +void PythonQtShell_QDoubleSpinBox::inputMethodEvent(QInputMethodEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "inputMethodEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QInputMethodEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QDoubleSpinBox::inputMethodEvent(arg__1); +} +QVariant PythonQtShell_QDoubleSpinBox::inputMethodQuery(Qt::InputMethodQuery arg__1) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "inputMethodQuery"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QVariant" , "Qt::InputMethodQuery"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + QVariant returnValue; + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result); + } else { + returnValue = *((QVariant*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QDoubleSpinBox::inputMethodQuery(arg__1); +} +void PythonQtShell_QDoubleSpinBox::keyPressEvent(QKeyEvent* event) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "keyPressEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QKeyEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&event}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QDoubleSpinBox::keyPressEvent(event); +} +void PythonQtShell_QDoubleSpinBox::keyReleaseEvent(QKeyEvent* event) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "keyReleaseEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QKeyEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&event}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QDoubleSpinBox::keyReleaseEvent(event); +} +void PythonQtShell_QDoubleSpinBox::languageChange() +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "languageChange"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={""}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QDoubleSpinBox::languageChange(); +} +void PythonQtShell_QDoubleSpinBox::leaveEvent(QEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "leaveEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QDoubleSpinBox::leaveEvent(arg__1); +} +int PythonQtShell_QDoubleSpinBox::metric(QPaintDevice::PaintDeviceMetric arg__1) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "metric"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + int returnValue; + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("metric", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QDoubleSpinBox::metric(arg__1); +} +void PythonQtShell_QDoubleSpinBox::mouseDoubleClickEvent(QMouseEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mouseDoubleClickEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QDoubleSpinBox::mouseDoubleClickEvent(arg__1); +} +void PythonQtShell_QDoubleSpinBox::mouseMoveEvent(QMouseEvent* event) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mouseMoveEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&event}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QDoubleSpinBox::mouseMoveEvent(event); +} +void PythonQtShell_QDoubleSpinBox::mousePressEvent(QMouseEvent* event) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mousePressEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&event}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QDoubleSpinBox::mousePressEvent(event); +} +void PythonQtShell_QDoubleSpinBox::mouseReleaseEvent(QMouseEvent* event) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mouseReleaseEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&event}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QDoubleSpinBox::mouseReleaseEvent(event); +} +void PythonQtShell_QDoubleSpinBox::moveEvent(QMoveEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "moveEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QMoveEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QDoubleSpinBox::moveEvent(arg__1); +} +QPaintEngine* PythonQtShell_QDoubleSpinBox::paintEngine() const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "paintEngine"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QPaintEngine*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QPaintEngine* returnValue; + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); + } else { + returnValue = *((QPaintEngine**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QDoubleSpinBox::paintEngine(); +} +void PythonQtShell_QDoubleSpinBox::paintEvent(QPaintEvent* event) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "paintEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QPaintEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&event}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QDoubleSpinBox::paintEvent(event); +} +void PythonQtShell_QDoubleSpinBox::resizeEvent(QResizeEvent* event) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "resizeEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QResizeEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&event}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QDoubleSpinBox::resizeEvent(event); +} +void PythonQtShell_QDoubleSpinBox::showEvent(QShowEvent* event) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "showEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QShowEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&event}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QDoubleSpinBox::showEvent(event); +} +void PythonQtShell_QDoubleSpinBox::stepBy(int steps) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "stepBy"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&steps}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QDoubleSpinBox::stepBy(steps); +} +QAbstractSpinBox::StepEnabled PythonQtShell_QDoubleSpinBox::stepEnabled() const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "stepEnabled"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QAbstractSpinBox::StepEnabled"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QAbstractSpinBox::StepEnabled returnValue; + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("stepEnabled", methodInfo, result); + } else { + returnValue = *((QAbstractSpinBox::StepEnabled*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QDoubleSpinBox::stepEnabled(); +} +void PythonQtShell_QDoubleSpinBox::tabletEvent(QTabletEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "tabletEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QTabletEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QDoubleSpinBox::tabletEvent(arg__1); +} +QString PythonQtShell_QDoubleSpinBox::textFromValue(double val) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "textFromValue"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QString" , "double"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + QString returnValue; + void* args[2] = {NULL, (void*)&val}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("textFromValue", methodInfo, result); + } else { + returnValue = *((QString*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QDoubleSpinBox::textFromValue(val); +} +void PythonQtShell_QDoubleSpinBox::timerEvent(QTimerEvent* event) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "timerEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QTimerEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&event}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QDoubleSpinBox::timerEvent(event); +} +QValidator::State PythonQtShell_QDoubleSpinBox::validate(QString& input, int& pos) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "validate"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QValidator::State" , "QString&" , "int&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + QValidator::State returnValue; + void* args[3] = {NULL, (void*)&input, (void*)&pos}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("validate", methodInfo, result); + } else { + returnValue = *((QValidator::State*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QDoubleSpinBox::validate(input, pos); +} +double PythonQtShell_QDoubleSpinBox::valueFromText(const QString& text) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "valueFromText"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"double" , "const QString&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + double returnValue; + void* args[2] = {NULL, (void*)&text}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("valueFromText", methodInfo, result); + } else { + returnValue = *((double*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QDoubleSpinBox::valueFromText(text); +} +void PythonQtShell_QDoubleSpinBox::wheelEvent(QWheelEvent* event) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "wheelEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QWheelEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&event}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QDoubleSpinBox::wheelEvent(event); +} +QDoubleSpinBox* PythonQtWrapper_QDoubleSpinBox::new_QDoubleSpinBox(QWidget* parent) +{ +return new PythonQtShell_QDoubleSpinBox(parent); } + +QString PythonQtWrapper_QDoubleSpinBox::cleanText(QDoubleSpinBox* theWrappedObject) const +{ + return ( theWrappedObject->cleanText()); +} + +int PythonQtWrapper_QDoubleSpinBox::decimals(QDoubleSpinBox* theWrappedObject) const +{ + return ( theWrappedObject->decimals()); +} + +void PythonQtWrapper_QDoubleSpinBox::fixup(QDoubleSpinBox* theWrappedObject, QString& str) const +{ + ( ((PythonQtPublicPromoter_QDoubleSpinBox*)theWrappedObject)->promoted_fixup(str)); +} + +double PythonQtWrapper_QDoubleSpinBox::maximum(QDoubleSpinBox* theWrappedObject) const +{ + return ( theWrappedObject->maximum()); +} + +double PythonQtWrapper_QDoubleSpinBox::minimum(QDoubleSpinBox* theWrappedObject) const +{ + return ( theWrappedObject->minimum()); +} + +QString PythonQtWrapper_QDoubleSpinBox::prefix(QDoubleSpinBox* theWrappedObject) const +{ + return ( theWrappedObject->prefix()); +} + +void PythonQtWrapper_QDoubleSpinBox::setDecimals(QDoubleSpinBox* theWrappedObject, int prec) +{ + ( theWrappedObject->setDecimals(prec)); +} + +void PythonQtWrapper_QDoubleSpinBox::setMaximum(QDoubleSpinBox* theWrappedObject, double max) +{ + ( theWrappedObject->setMaximum(max)); +} + +void PythonQtWrapper_QDoubleSpinBox::setMinimum(QDoubleSpinBox* theWrappedObject, double min) +{ + ( theWrappedObject->setMinimum(min)); +} + +void PythonQtWrapper_QDoubleSpinBox::setPrefix(QDoubleSpinBox* theWrappedObject, const QString& prefix) +{ + ( theWrappedObject->setPrefix(prefix)); +} + +void PythonQtWrapper_QDoubleSpinBox::setRange(QDoubleSpinBox* theWrappedObject, double min, double max) +{ + ( theWrappedObject->setRange(min, max)); +} + +void PythonQtWrapper_QDoubleSpinBox::setSingleStep(QDoubleSpinBox* theWrappedObject, double val) +{ + ( theWrappedObject->setSingleStep(val)); +} + +void PythonQtWrapper_QDoubleSpinBox::setSuffix(QDoubleSpinBox* theWrappedObject, const QString& suffix) +{ + ( theWrappedObject->setSuffix(suffix)); +} + +double PythonQtWrapper_QDoubleSpinBox::singleStep(QDoubleSpinBox* theWrappedObject) const +{ + return ( theWrappedObject->singleStep()); +} + +QString PythonQtWrapper_QDoubleSpinBox::suffix(QDoubleSpinBox* theWrappedObject) const +{ + return ( theWrappedObject->suffix()); +} + +QString PythonQtWrapper_QDoubleSpinBox::textFromValue(QDoubleSpinBox* theWrappedObject, double val) const +{ + return ( ((PythonQtPublicPromoter_QDoubleSpinBox*)theWrappedObject)->promoted_textFromValue(val)); +} + +QValidator::State PythonQtWrapper_QDoubleSpinBox::validate(QDoubleSpinBox* theWrappedObject, QString& input, int& pos) const +{ + return ( ((PythonQtPublicPromoter_QDoubleSpinBox*)theWrappedObject)->promoted_validate(input, pos)); +} + +double PythonQtWrapper_QDoubleSpinBox::value(QDoubleSpinBox* theWrappedObject) const +{ + return ( theWrappedObject->value()); +} + +double PythonQtWrapper_QDoubleSpinBox::valueFromText(QDoubleSpinBox* theWrappedObject, const QString& text) const +{ + return ( ((PythonQtPublicPromoter_QDoubleSpinBox*)theWrappedObject)->promoted_valueFromText(text)); +} + + + +void PythonQtShell_QDoubleValidator::childEvent(QChildEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "childEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QChildEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QDoubleValidator::childEvent(arg__1); +} +void PythonQtShell_QDoubleValidator::customEvent(QEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "customEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QDoubleValidator::customEvent(arg__1); +} +bool PythonQtShell_QDoubleValidator::event(QEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "event"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue; + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QDoubleValidator::event(arg__1); +} +bool PythonQtShell_QDoubleValidator::eventFilter(QObject* arg__1, QEvent* arg__2) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "eventFilter"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue; + void* args[3] = {NULL, (void*)&arg__1, (void*)&arg__2}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QDoubleValidator::eventFilter(arg__1, arg__2); +} +void PythonQtShell_QDoubleValidator::fixup(QString& arg__1) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "fixup"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QString&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QDoubleValidator::fixup(arg__1); +} +void PythonQtShell_QDoubleValidator::setRange(double bottom, double top, int decimals) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "setRange"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "double" , "double" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + void* args[4] = {NULL, (void*)&bottom, (void*)&top, (void*)&decimals}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QDoubleValidator::setRange(bottom, top, decimals); +} +void PythonQtShell_QDoubleValidator::timerEvent(QTimerEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "timerEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QTimerEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QDoubleValidator::timerEvent(arg__1); +} +QValidator::State PythonQtShell_QDoubleValidator::validate(QString& arg__1, int& arg__2) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "validate"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QValidator::State" , "QString&" , "int&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + QValidator::State returnValue; + void* args[3] = {NULL, (void*)&arg__1, (void*)&arg__2}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("validate", methodInfo, result); + } else { + returnValue = *((QValidator::State*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QDoubleValidator::validate(arg__1, arg__2); +} +QDoubleValidator* PythonQtWrapper_QDoubleValidator::new_QDoubleValidator(QObject* parent) +{ +return new PythonQtShell_QDoubleValidator(parent); } + +QDoubleValidator* PythonQtWrapper_QDoubleValidator::new_QDoubleValidator(double bottom, double top, int decimals, QObject* parent) +{ +return new PythonQtShell_QDoubleValidator(bottom, top, decimals, parent); } + +double PythonQtWrapper_QDoubleValidator::bottom(QDoubleValidator* theWrappedObject) const +{ + return ( theWrappedObject->bottom()); +} + +int PythonQtWrapper_QDoubleValidator::decimals(QDoubleValidator* theWrappedObject) const +{ + return ( theWrappedObject->decimals()); +} + +QDoubleValidator::Notation PythonQtWrapper_QDoubleValidator::notation(QDoubleValidator* theWrappedObject) const +{ + return ( theWrappedObject->notation()); +} + +void PythonQtWrapper_QDoubleValidator::setBottom(QDoubleValidator* theWrappedObject, double arg__1) +{ + ( theWrappedObject->setBottom(arg__1)); +} + +void PythonQtWrapper_QDoubleValidator::setDecimals(QDoubleValidator* theWrappedObject, int arg__1) +{ + ( theWrappedObject->setDecimals(arg__1)); +} + +void PythonQtWrapper_QDoubleValidator::setNotation(QDoubleValidator* theWrappedObject, QDoubleValidator::Notation arg__1) +{ + ( theWrappedObject->setNotation(arg__1)); +} + +void PythonQtWrapper_QDoubleValidator::setRange(QDoubleValidator* theWrappedObject, double bottom, double top, int decimals) +{ + ( ((PythonQtPublicPromoter_QDoubleValidator*)theWrappedObject)->promoted_setRange(bottom, top, decimals)); +} + +void PythonQtWrapper_QDoubleValidator::setTop(QDoubleValidator* theWrappedObject, double arg__1) +{ + ( theWrappedObject->setTop(arg__1)); +} + +double PythonQtWrapper_QDoubleValidator::top(QDoubleValidator* theWrappedObject) const +{ + return ( theWrappedObject->top()); +} + +QValidator::State PythonQtWrapper_QDoubleValidator::validate(QDoubleValidator* theWrappedObject, QString& arg__1, int& arg__2) const +{ + return ( ((PythonQtPublicPromoter_QDoubleValidator*)theWrappedObject)->promoted_validate(arg__1, arg__2)); +} + + + +void PythonQtShell_QDrag::childEvent(QChildEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "childEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QChildEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QDrag::childEvent(arg__1); +} +void PythonQtShell_QDrag::customEvent(QEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "customEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QDrag::customEvent(arg__1); +} +bool PythonQtShell_QDrag::event(QEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "event"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue; + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QDrag::event(arg__1); +} +bool PythonQtShell_QDrag::eventFilter(QObject* arg__1, QEvent* arg__2) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "eventFilter"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue; + void* args[3] = {NULL, (void*)&arg__1, (void*)&arg__2}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QDrag::eventFilter(arg__1, arg__2); +} +void PythonQtShell_QDrag::timerEvent(QTimerEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "timerEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QTimerEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QDrag::timerEvent(arg__1); +} +QDrag* PythonQtWrapper_QDrag::new_QDrag(QWidget* dragSource) +{ +return new PythonQtShell_QDrag(dragSource); } + +Qt::DropAction PythonQtWrapper_QDrag::exec(QDrag* theWrappedObject, Qt::DropActions supportedActions) +{ + return ( theWrappedObject->exec(supportedActions)); +} + +Qt::DropAction PythonQtWrapper_QDrag::exec(QDrag* theWrappedObject, Qt::DropActions supportedActions, Qt::DropAction defaultAction) +{ + return ( theWrappedObject->exec(supportedActions, defaultAction)); +} + +QPoint PythonQtWrapper_QDrag::hotSpot(QDrag* theWrappedObject) const +{ + return ( theWrappedObject->hotSpot()); +} + +QMimeData* PythonQtWrapper_QDrag::mimeData(QDrag* theWrappedObject) const +{ + return ( theWrappedObject->mimeData()); +} + +QPixmap PythonQtWrapper_QDrag::pixmap(QDrag* theWrappedObject) const +{ + return ( theWrappedObject->pixmap()); +} + +void PythonQtWrapper_QDrag::setDragCursor(QDrag* theWrappedObject, const QPixmap& cursor, Qt::DropAction action) +{ + ( theWrappedObject->setDragCursor(cursor, action)); +} + +void PythonQtWrapper_QDrag::setHotSpot(QDrag* theWrappedObject, const QPoint& hotspot) +{ + ( theWrappedObject->setHotSpot(hotspot)); +} + +void PythonQtWrapper_QDrag::setMimeData(QDrag* theWrappedObject, QMimeData* data) +{ + ( theWrappedObject->setMimeData(data)); +} + +void PythonQtWrapper_QDrag::setPixmap(QDrag* theWrappedObject, const QPixmap& arg__1) +{ + ( theWrappedObject->setPixmap(arg__1)); +} + +QWidget* PythonQtWrapper_QDrag::source(QDrag* theWrappedObject) const +{ + return ( theWrappedObject->source()); +} + +QWidget* PythonQtWrapper_QDrag::target(QDrag* theWrappedObject) const +{ + return ( theWrappedObject->target()); +} + + + +QDragEnterEvent* PythonQtWrapper_QDragEnterEvent::new_QDragEnterEvent(const QPoint& pos, Qt::DropActions actions, const QMimeData* data, Qt::MouseButtons buttons, Qt::KeyboardModifiers modifiers) +{ +return new QDragEnterEvent(pos, actions, data, buttons, modifiers); } + + + +QDragLeaveEvent* PythonQtWrapper_QDragLeaveEvent::new_QDragLeaveEvent() +{ +return new QDragLeaveEvent(); } + + + +QDragMoveEvent* PythonQtWrapper_QDragMoveEvent::new_QDragMoveEvent(const QPoint& pos, Qt::DropActions actions, const QMimeData* data, Qt::MouseButtons buttons, Qt::KeyboardModifiers modifiers, QEvent::Type type) +{ +return new PythonQtShell_QDragMoveEvent(pos, actions, data, buttons, modifiers, type); } + +void PythonQtWrapper_QDragMoveEvent::accept(QDragMoveEvent* theWrappedObject, const QRect& r) +{ + ( theWrappedObject->accept(r)); +} + +QRect PythonQtWrapper_QDragMoveEvent::answerRect(QDragMoveEvent* theWrappedObject) const +{ + return ( theWrappedObject->answerRect()); +} + +void PythonQtWrapper_QDragMoveEvent::ignore(QDragMoveEvent* theWrappedObject, const QRect& r) +{ + ( theWrappedObject->ignore(r)); +} + + + +QDragResponseEvent* PythonQtWrapper_QDragResponseEvent::new_QDragResponseEvent(bool accepted) +{ +return new PythonQtShell_QDragResponseEvent(accepted); } + +bool PythonQtWrapper_QDragResponseEvent::dragAccepted(QDragResponseEvent* theWrappedObject) const +{ + return ( theWrappedObject->dragAccepted()); +} + + + +QDropEvent* PythonQtWrapper_QDropEvent::new_QDropEvent(const QPoint& pos, Qt::DropActions actions, const QMimeData* data, Qt::MouseButtons buttons, Qt::KeyboardModifiers modifiers, QEvent::Type type) +{ +return new PythonQtShell_QDropEvent(pos, actions, data, buttons, modifiers, type); } + +void PythonQtWrapper_QDropEvent::acceptProposedAction(QDropEvent* theWrappedObject) +{ + ( theWrappedObject->acceptProposedAction()); +} + +Qt::DropAction PythonQtWrapper_QDropEvent::dropAction(QDropEvent* theWrappedObject) const +{ + return ( theWrappedObject->dropAction()); +} + +Qt::KeyboardModifiers PythonQtWrapper_QDropEvent::keyboardModifiers(QDropEvent* theWrappedObject) const +{ + return ( theWrappedObject->keyboardModifiers()); +} + +const QMimeData* PythonQtWrapper_QDropEvent::mimeData(QDropEvent* theWrappedObject) const +{ + return ( theWrappedObject->mimeData()); +} + +Qt::MouseButtons PythonQtWrapper_QDropEvent::mouseButtons(QDropEvent* theWrappedObject) const +{ + return ( theWrappedObject->mouseButtons()); +} + +const QPoint* PythonQtWrapper_QDropEvent::pos(QDropEvent* theWrappedObject) const +{ + return &( theWrappedObject->pos()); +} + +Qt::DropActions PythonQtWrapper_QDropEvent::possibleActions(QDropEvent* theWrappedObject) const +{ + return ( theWrappedObject->possibleActions()); +} + +Qt::DropAction PythonQtWrapper_QDropEvent::proposedAction(QDropEvent* theWrappedObject) const +{ + return ( theWrappedObject->proposedAction()); +} + +void PythonQtWrapper_QDropEvent::setDropAction(QDropEvent* theWrappedObject, Qt::DropAction action) +{ + ( theWrappedObject->setDropAction(action)); +} + +QWidget* PythonQtWrapper_QDropEvent::source(QDropEvent* theWrappedObject) const +{ + return ( theWrappedObject->source()); +} + + diff --git a/generated_cpp_47/com_trolltech_qt_gui/com_trolltech_qt_gui1.h b/generated_cpp_47/com_trolltech_qt_gui/com_trolltech_qt_gui1.h new file mode 100644 index 00000000..68138d72 --- /dev/null +++ b/generated_cpp_47/com_trolltech_qt_gui/com_trolltech_qt_gui1.h @@ -0,0 +1,2007 @@ +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include + + + +class PythonQtShell_QCheckBox : public QCheckBox +{ +public: + PythonQtShell_QCheckBox(QWidget* parent = 0):QCheckBox(parent),_wrapper(NULL) {}; + PythonQtShell_QCheckBox(const QString& text, QWidget* parent = 0):QCheckBox(text, parent),_wrapper(NULL) {}; + +virtual void actionEvent(QActionEvent* arg__1); +virtual void changeEvent(QEvent* e); +virtual void checkStateSet(); +virtual void childEvent(QChildEvent* arg__1); +virtual void closeEvent(QCloseEvent* arg__1); +virtual void contextMenuEvent(QContextMenuEvent* arg__1); +virtual void customEvent(QEvent* arg__1); +virtual int devType() const; +virtual void dragEnterEvent(QDragEnterEvent* arg__1); +virtual void dragLeaveEvent(QDragLeaveEvent* arg__1); +virtual void dragMoveEvent(QDragMoveEvent* arg__1); +virtual void dropEvent(QDropEvent* arg__1); +virtual void enterEvent(QEvent* arg__1); +virtual bool event(QEvent* e); +virtual bool eventFilter(QObject* arg__1, QEvent* arg__2); +virtual void focusInEvent(QFocusEvent* e); +virtual bool focusNextPrevChild(bool next); +virtual void focusOutEvent(QFocusEvent* e); +virtual int heightForWidth(int arg__1) const; +virtual void hideEvent(QHideEvent* arg__1); +virtual bool hitButton(const QPoint& pos) const; +virtual void inputMethodEvent(QInputMethodEvent* arg__1); +virtual QVariant inputMethodQuery(Qt::InputMethodQuery arg__1) const; +virtual void keyPressEvent(QKeyEvent* e); +virtual void keyReleaseEvent(QKeyEvent* e); +virtual void languageChange(); +virtual void leaveEvent(QEvent* arg__1); +virtual int metric(QPaintDevice::PaintDeviceMetric arg__1) const; +virtual QSize minimumSizeHint() const; +virtual void mouseDoubleClickEvent(QMouseEvent* arg__1); +virtual void mouseMoveEvent(QMouseEvent* arg__1); +virtual void mousePressEvent(QMouseEvent* e); +virtual void mouseReleaseEvent(QMouseEvent* e); +virtual void moveEvent(QMoveEvent* arg__1); +virtual void nextCheckState(); +virtual QPaintEngine* paintEngine() const; +virtual void paintEvent(QPaintEvent* arg__1); +virtual void resizeEvent(QResizeEvent* arg__1); +virtual void showEvent(QShowEvent* arg__1); +virtual void tabletEvent(QTabletEvent* arg__1); +virtual void timerEvent(QTimerEvent* e); +virtual void wheelEvent(QWheelEvent* arg__1); + + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtPublicPromoter_QCheckBox : public QCheckBox +{ public: +inline void promoted_checkStateSet() { QCheckBox::checkStateSet(); } +inline bool promoted_event(QEvent* e) { return QCheckBox::event(e); } +inline bool promoted_hitButton(const QPoint& pos) const { return QCheckBox::hitButton(pos); } +inline void promoted_mouseMoveEvent(QMouseEvent* arg__1) { QCheckBox::mouseMoveEvent(arg__1); } +inline void promoted_nextCheckState() { QCheckBox::nextCheckState(); } +inline void promoted_paintEvent(QPaintEvent* arg__1) { QCheckBox::paintEvent(arg__1); } +}; + +class PythonQtWrapper_QCheckBox : public QObject +{ Q_OBJECT +public: +public slots: +QCheckBox* new_QCheckBox(QWidget* parent = 0); +QCheckBox* new_QCheckBox(const QString& text, QWidget* parent = 0); +void delete_QCheckBox(QCheckBox* obj) { delete obj; } + Qt::CheckState checkState(QCheckBox* theWrappedObject) const; + void checkStateSet(QCheckBox* theWrappedObject); + bool event(QCheckBox* theWrappedObject, QEvent* e); + bool hitButton(QCheckBox* theWrappedObject, const QPoint& pos) const; + bool isTristate(QCheckBox* theWrappedObject) const; + void mouseMoveEvent(QCheckBox* theWrappedObject, QMouseEvent* arg__1); + void nextCheckState(QCheckBox* theWrappedObject); + void paintEvent(QCheckBox* theWrappedObject, QPaintEvent* arg__1); + void setCheckState(QCheckBox* theWrappedObject, Qt::CheckState state); + void setTristate(QCheckBox* theWrappedObject, bool y = true); + QSize sizeHint(QCheckBox* theWrappedObject) const; +}; + + + + + +class PythonQtShell_QCleanlooksStyle : public QCleanlooksStyle +{ +public: + PythonQtShell_QCleanlooksStyle():QCleanlooksStyle(),_wrapper(NULL) {}; + +virtual void childEvent(QChildEvent* arg__1); +virtual void customEvent(QEvent* arg__1); +virtual void drawComplexControl(QStyle::ComplexControl control, const QStyleOptionComplex* option, QPainter* painter, const QWidget* widget) const; +virtual void drawControl(QStyle::ControlElement ce, const QStyleOption* option, QPainter* painter, const QWidget* widget) const; +virtual void drawItemPixmap(QPainter* painter, const QRect& rect, int alignment, const QPixmap& pixmap) const; +virtual void drawItemText(QPainter* painter, const QRect& rect, int flags, const QPalette& pal, bool enabled, const QString& text, QPalette::ColorRole textRole = QPalette::NoRole) const; +virtual void drawPrimitive(QStyle::PrimitiveElement elem, const QStyleOption* option, QPainter* painter, const QWidget* widget = 0) const; +virtual bool event(QEvent* arg__1); +virtual bool eventFilter(QObject* o, QEvent* e); +virtual QPixmap generatedIconPixmap(QIcon::Mode iconMode, const QPixmap& pixmap, const QStyleOption* opt) const; +virtual QStyle::SubControl hitTestComplexControl(QStyle::ComplexControl cc, const QStyleOptionComplex* opt, const QPoint& pt, const QWidget* w = 0) const; +virtual QRect itemPixmapRect(const QRect& r, int flags, const QPixmap& pixmap) const; +virtual int pixelMetric(QStyle::PixelMetric metric, const QStyleOption* option = 0, const QWidget* widget = 0) const; +virtual void polish(QApplication* app); +virtual void polish(QPalette& pal); +virtual void polish(QWidget* widget); +virtual QSize sizeFromContents(QStyle::ContentsType type, const QStyleOption* option, const QSize& size, const QWidget* widget) const; +virtual QPalette standardPalette() const; +virtual QPixmap standardPixmap(QStyle::StandardPixmap standardPixmap, const QStyleOption* opt, const QWidget* widget) const; +virtual int styleHint(QStyle::StyleHint hint, const QStyleOption* option = 0, const QWidget* widget = 0, QStyleHintReturn* returnData = 0) const; +virtual QRect subControlRect(QStyle::ComplexControl cc, const QStyleOptionComplex* opt, QStyle::SubControl sc, const QWidget* widget) const; +virtual QRect subElementRect(QStyle::SubElement r, const QStyleOption* opt, const QWidget* widget = 0) const; +virtual void timerEvent(QTimerEvent* event); +virtual void unpolish(QApplication* app); +virtual void unpolish(QWidget* widget); + + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtPublicPromoter_QCleanlooksStyle : public QCleanlooksStyle +{ public: +inline void promoted_drawComplexControl(QStyle::ComplexControl control, const QStyleOptionComplex* option, QPainter* painter, const QWidget* widget) const { QCleanlooksStyle::drawComplexControl(control, option, painter, widget); } +inline void promoted_drawControl(QStyle::ControlElement ce, const QStyleOption* option, QPainter* painter, const QWidget* widget) const { QCleanlooksStyle::drawControl(ce, option, painter, widget); } +inline void promoted_drawItemPixmap(QPainter* painter, const QRect& rect, int alignment, const QPixmap& pixmap) const { QCleanlooksStyle::drawItemPixmap(painter, rect, alignment, pixmap); } +inline void promoted_drawItemText(QPainter* painter, const QRect& rect, int flags, const QPalette& pal, bool enabled, const QString& text, QPalette::ColorRole textRole = QPalette::NoRole) const { QCleanlooksStyle::drawItemText(painter, rect, flags, pal, enabled, text, textRole); } +inline void promoted_drawPrimitive(QStyle::PrimitiveElement elem, const QStyleOption* option, QPainter* painter, const QWidget* widget = 0) const { QCleanlooksStyle::drawPrimitive(elem, option, painter, widget); } +inline QPixmap promoted_generatedIconPixmap(QIcon::Mode iconMode, const QPixmap& pixmap, const QStyleOption* opt) const { return QCleanlooksStyle::generatedIconPixmap(iconMode, pixmap, opt); } +inline QStyle::SubControl promoted_hitTestComplexControl(QStyle::ComplexControl cc, const QStyleOptionComplex* opt, const QPoint& pt, const QWidget* w = 0) const { return QCleanlooksStyle::hitTestComplexControl(cc, opt, pt, w); } +inline QRect promoted_itemPixmapRect(const QRect& r, int flags, const QPixmap& pixmap) const { return QCleanlooksStyle::itemPixmapRect(r, flags, pixmap); } +inline int promoted_pixelMetric(QStyle::PixelMetric metric, const QStyleOption* option = 0, const QWidget* widget = 0) const { return QCleanlooksStyle::pixelMetric(metric, option, widget); } +inline void promoted_polish(QApplication* app) { QCleanlooksStyle::polish(app); } +inline void promoted_polish(QPalette& pal) { QCleanlooksStyle::polish(pal); } +inline void promoted_polish(QWidget* widget) { QCleanlooksStyle::polish(widget); } +inline QSize promoted_sizeFromContents(QStyle::ContentsType type, const QStyleOption* option, const QSize& size, const QWidget* widget) const { return QCleanlooksStyle::sizeFromContents(type, option, size, widget); } +inline QPalette promoted_standardPalette() const { return QCleanlooksStyle::standardPalette(); } +inline int promoted_styleHint(QStyle::StyleHint hint, const QStyleOption* option = 0, const QWidget* widget = 0, QStyleHintReturn* returnData = 0) const { return QCleanlooksStyle::styleHint(hint, option, widget, returnData); } +inline QRect promoted_subControlRect(QStyle::ComplexControl cc, const QStyleOptionComplex* opt, QStyle::SubControl sc, const QWidget* widget) const { return QCleanlooksStyle::subControlRect(cc, opt, sc, widget); } +inline QRect promoted_subElementRect(QStyle::SubElement r, const QStyleOption* opt, const QWidget* widget = 0) const { return QCleanlooksStyle::subElementRect(r, opt, widget); } +inline void promoted_unpolish(QApplication* app) { QCleanlooksStyle::unpolish(app); } +inline void promoted_unpolish(QWidget* widget) { QCleanlooksStyle::unpolish(widget); } +}; + +class PythonQtWrapper_QCleanlooksStyle : public QObject +{ Q_OBJECT +public: +public slots: +QCleanlooksStyle* new_QCleanlooksStyle(); +void delete_QCleanlooksStyle(QCleanlooksStyle* obj) { delete obj; } + void drawComplexControl(QCleanlooksStyle* theWrappedObject, QStyle::ComplexControl control, const QStyleOptionComplex* option, QPainter* painter, const QWidget* widget) const; + void drawControl(QCleanlooksStyle* theWrappedObject, QStyle::ControlElement ce, const QStyleOption* option, QPainter* painter, const QWidget* widget) const; + void drawItemPixmap(QCleanlooksStyle* theWrappedObject, QPainter* painter, const QRect& rect, int alignment, const QPixmap& pixmap) const; + void drawItemText(QCleanlooksStyle* theWrappedObject, QPainter* painter, const QRect& rect, int flags, const QPalette& pal, bool enabled, const QString& text, QPalette::ColorRole textRole = QPalette::NoRole) const; + void drawPrimitive(QCleanlooksStyle* theWrappedObject, QStyle::PrimitiveElement elem, const QStyleOption* option, QPainter* painter, const QWidget* widget = 0) const; + QPixmap generatedIconPixmap(QCleanlooksStyle* theWrappedObject, QIcon::Mode iconMode, const QPixmap& pixmap, const QStyleOption* opt) const; + QStyle::SubControl hitTestComplexControl(QCleanlooksStyle* theWrappedObject, QStyle::ComplexControl cc, const QStyleOptionComplex* opt, const QPoint& pt, const QWidget* w = 0) const; + QRect itemPixmapRect(QCleanlooksStyle* theWrappedObject, const QRect& r, int flags, const QPixmap& pixmap) const; + int pixelMetric(QCleanlooksStyle* theWrappedObject, QStyle::PixelMetric metric, const QStyleOption* option = 0, const QWidget* widget = 0) const; + void polish(QCleanlooksStyle* theWrappedObject, QApplication* app); + void polish(QCleanlooksStyle* theWrappedObject, QPalette& pal); + void polish(QCleanlooksStyle* theWrappedObject, QWidget* widget); + QSize sizeFromContents(QCleanlooksStyle* theWrappedObject, QStyle::ContentsType type, const QStyleOption* option, const QSize& size, const QWidget* widget) const; + QPalette standardPalette(QCleanlooksStyle* theWrappedObject) const; + int styleHint(QCleanlooksStyle* theWrappedObject, QStyle::StyleHint hint, const QStyleOption* option = 0, const QWidget* widget = 0, QStyleHintReturn* returnData = 0) const; + QRect subControlRect(QCleanlooksStyle* theWrappedObject, QStyle::ComplexControl cc, const QStyleOptionComplex* opt, QStyle::SubControl sc, const QWidget* widget) const; + QRect subElementRect(QCleanlooksStyle* theWrappedObject, QStyle::SubElement r, const QStyleOption* opt, const QWidget* widget = 0) const; + void unpolish(QCleanlooksStyle* theWrappedObject, QApplication* app); + void unpolish(QCleanlooksStyle* theWrappedObject, QWidget* widget); +}; + + + + + +class PythonQtPublicPromoter_QClipboard : public QClipboard +{ public: +inline bool promoted_event(QEvent* arg__1) { return QClipboard::event(arg__1); } +}; + +class PythonQtWrapper_QClipboard : public QObject +{ Q_OBJECT +public: +Q_ENUMS(Mode ) +enum Mode{ + Clipboard = QClipboard::Clipboard, Selection = QClipboard::Selection, FindBuffer = QClipboard::FindBuffer, LastMode = QClipboard::LastMode}; +public slots: + void clear(QClipboard* theWrappedObject, QClipboard::Mode mode = QClipboard::Clipboard); + bool event(QClipboard* theWrappedObject, QEvent* arg__1); + 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, QMimeData* 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_QClipboardEvent : public QObject +{ Q_OBJECT +public: +public slots: +void delete_QClipboardEvent(QClipboardEvent* obj) { delete obj; } +}; + + + + + +class PythonQtWrapper_QCloseEvent : public QObject +{ Q_OBJECT +public: +public slots: +QCloseEvent* new_QCloseEvent(); +void delete_QCloseEvent(QCloseEvent* obj) { delete obj; } +}; + + + + + +class PythonQtShell_QColorDialog : public QColorDialog +{ +public: + PythonQtShell_QColorDialog(QWidget* parent = 0):QColorDialog(parent),_wrapper(NULL) {}; + PythonQtShell_QColorDialog(const QColor& initial, QWidget* parent = 0):QColorDialog(initial, parent),_wrapper(NULL) {}; + +virtual void accept(); +virtual void actionEvent(QActionEvent* arg__1); +virtual void changeEvent(QEvent* event); +virtual void childEvent(QChildEvent* arg__1); +virtual void closeEvent(QCloseEvent* arg__1); +virtual void contextMenuEvent(QContextMenuEvent* arg__1); +virtual void customEvent(QEvent* arg__1); +virtual int devType() const; +virtual void done(int result); +virtual void dragEnterEvent(QDragEnterEvent* arg__1); +virtual void dragLeaveEvent(QDragLeaveEvent* arg__1); +virtual void dragMoveEvent(QDragMoveEvent* arg__1); +virtual void dropEvent(QDropEvent* arg__1); +virtual void enterEvent(QEvent* arg__1); +virtual bool event(QEvent* arg__1); +virtual bool eventFilter(QObject* arg__1, QEvent* arg__2); +virtual void focusInEvent(QFocusEvent* arg__1); +virtual bool focusNextPrevChild(bool next); +virtual void focusOutEvent(QFocusEvent* arg__1); +virtual int heightForWidth(int arg__1) const; +virtual void hideEvent(QHideEvent* arg__1); +virtual void inputMethodEvent(QInputMethodEvent* arg__1); +virtual QVariant inputMethodQuery(Qt::InputMethodQuery arg__1) const; +virtual void keyPressEvent(QKeyEvent* arg__1); +virtual void keyReleaseEvent(QKeyEvent* arg__1); +virtual void languageChange(); +virtual void leaveEvent(QEvent* arg__1); +virtual int metric(QPaintDevice::PaintDeviceMetric arg__1) const; +virtual void mouseDoubleClickEvent(QMouseEvent* arg__1); +virtual void mouseMoveEvent(QMouseEvent* arg__1); +virtual void mousePressEvent(QMouseEvent* arg__1); +virtual void mouseReleaseEvent(QMouseEvent* arg__1); +virtual void moveEvent(QMoveEvent* arg__1); +virtual QPaintEngine* paintEngine() const; +virtual void paintEvent(QPaintEvent* arg__1); +virtual void reject(); +virtual void resizeEvent(QResizeEvent* arg__1); +virtual void showEvent(QShowEvent* arg__1); +virtual void tabletEvent(QTabletEvent* arg__1); +virtual void timerEvent(QTimerEvent* arg__1); +virtual void wheelEvent(QWheelEvent* arg__1); + + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtPublicPromoter_QColorDialog : public QColorDialog +{ public: +inline void promoted_changeEvent(QEvent* event) { QColorDialog::changeEvent(event); } +inline void promoted_done(int result) { QColorDialog::done(result); } +}; + +class PythonQtWrapper_QColorDialog : public QObject +{ Q_OBJECT +public: +public slots: +QColorDialog* new_QColorDialog(QWidget* parent = 0); +QColorDialog* new_QColorDialog(const QColor& initial, QWidget* parent = 0); +void delete_QColorDialog(QColorDialog* obj) { delete obj; } + void changeEvent(QColorDialog* theWrappedObject, QEvent* event); + QColor currentColor(QColorDialog* theWrappedObject) const; + unsigned int static_QColorDialog_customColor(int index); + int static_QColorDialog_customCount(); + void done(QColorDialog* theWrappedObject, int result); + QColor static_QColorDialog_getColor(const QColor& initial = Qt::white, QWidget* parent = 0); + QColor static_QColorDialog_getColor(const QColor& initial, QWidget* parent, const QString& title, QColorDialog::ColorDialogOptions options = 0); + unsigned int static_QColorDialog_getRgba(unsigned int rgba = 0xffffffff, bool* ok = 0, QWidget* parent = 0); + void open(QColorDialog* theWrappedObject); + void open(QColorDialog* theWrappedObject, QObject* receiver, const char* member); + QColorDialog::ColorDialogOptions options(QColorDialog* theWrappedObject) const; + QColor selectedColor(QColorDialog* theWrappedObject) const; + void setCurrentColor(QColorDialog* theWrappedObject, const QColor& color); + void static_QColorDialog_setCustomColor(int index, unsigned int color); + void setOption(QColorDialog* theWrappedObject, QColorDialog::ColorDialogOption option, bool on = true); + void setOptions(QColorDialog* theWrappedObject, QColorDialog::ColorDialogOptions options); + void static_QColorDialog_setStandardColor(int index, unsigned int color); + void setVisible(QColorDialog* theWrappedObject, bool visible); + bool testOption(QColorDialog* theWrappedObject, QColorDialog::ColorDialogOption option) const; +}; + + + + + +class PythonQtShell_QColumnView : public QColumnView +{ +public: + PythonQtShell_QColumnView(QWidget* parent = 0):QColumnView(parent),_wrapper(NULL) {}; + +virtual void actionEvent(QActionEvent* arg__1); +virtual void changeEvent(QEvent* arg__1); +virtual void childEvent(QChildEvent* arg__1); +virtual void closeEditor(QWidget* editor, QAbstractItemDelegate::EndEditHint hint); +virtual void closeEvent(QCloseEvent* arg__1); +virtual void commitData(QWidget* editor); +virtual void contextMenuEvent(QContextMenuEvent* arg__1); +virtual QAbstractItemView* createColumn(const QModelIndex& rootIndex); +virtual void currentChanged(const QModelIndex& current, const QModelIndex& previous); +virtual void customEvent(QEvent* arg__1); +virtual void dataChanged(const QModelIndex& topLeft, const QModelIndex& bottomRight); +virtual int devType() const; +virtual void doItemsLayout(); +virtual void dragEnterEvent(QDragEnterEvent* event); +virtual void dragLeaveEvent(QDragLeaveEvent* event); +virtual void dragMoveEvent(QDragMoveEvent* event); +virtual void dropEvent(QDropEvent* event); +virtual bool edit(const QModelIndex& index, QAbstractItemView::EditTrigger trigger, QEvent* event); +virtual void editorDestroyed(QObject* editor); +virtual void enterEvent(QEvent* arg__1); +virtual bool event(QEvent* event); +virtual bool eventFilter(QObject* arg__1, QEvent* arg__2); +virtual void focusInEvent(QFocusEvent* event); +virtual bool focusNextPrevChild(bool next); +virtual void focusOutEvent(QFocusEvent* event); +virtual int heightForWidth(int arg__1) const; +virtual void hideEvent(QHideEvent* arg__1); +virtual int horizontalOffset() const; +virtual void horizontalScrollbarAction(int action); +virtual void horizontalScrollbarValueChanged(int value); +virtual QModelIndex indexAt(const QPoint& point) const; +virtual void inputMethodEvent(QInputMethodEvent* event); +virtual QVariant inputMethodQuery(Qt::InputMethodQuery query) const; +virtual bool isIndexHidden(const QModelIndex& index) const; +virtual void keyPressEvent(QKeyEvent* event); +virtual void keyReleaseEvent(QKeyEvent* arg__1); +virtual void keyboardSearch(const QString& search); +virtual void languageChange(); +virtual void leaveEvent(QEvent* arg__1); +virtual int metric(QPaintDevice::PaintDeviceMetric arg__1) const; +virtual void mouseDoubleClickEvent(QMouseEvent* event); +virtual void mouseMoveEvent(QMouseEvent* event); +virtual void mousePressEvent(QMouseEvent* event); +virtual void mouseReleaseEvent(QMouseEvent* event); +virtual void moveEvent(QMoveEvent* arg__1); +virtual QPaintEngine* paintEngine() const; +virtual void paintEvent(QPaintEvent* arg__1); +virtual void reset(); +virtual void resizeEvent(QResizeEvent* event); +virtual void rowsAboutToBeRemoved(const QModelIndex& parent, int start, int end); +virtual void rowsInserted(const QModelIndex& parent, int start, int end); +virtual void scrollContentsBy(int dx, int dy); +virtual void scrollTo(const QModelIndex& index, QAbstractItemView::ScrollHint hint = QAbstractItemView::EnsureVisible); +virtual void selectAll(); +virtual QList selectedIndexes() const; +virtual void selectionChanged(const QItemSelection& selected, const QItemSelection& deselected); +virtual QItemSelectionModel::SelectionFlags selectionCommand(const QModelIndex& index, const QEvent* event) const; +virtual void setModel(QAbstractItemModel* model); +virtual void setRootIndex(const QModelIndex& index); +virtual void setSelection(const QRect& rect, QItemSelectionModel::SelectionFlags command); +virtual void setSelectionModel(QItemSelectionModel* selectionModel); +virtual void showEvent(QShowEvent* arg__1); +virtual int sizeHintForColumn(int column) const; +virtual int sizeHintForRow(int row) const; +virtual void startDrag(Qt::DropActions supportedActions); +virtual void tabletEvent(QTabletEvent* arg__1); +virtual void timerEvent(QTimerEvent* event); +virtual void updateEditorData(); +virtual void updateEditorGeometries(); +virtual void updateGeometries(); +virtual int verticalOffset() const; +virtual void verticalScrollbarAction(int action); +virtual void verticalScrollbarValueChanged(int value); +virtual QStyleOptionViewItem viewOptions() const; +virtual bool viewportEvent(QEvent* event); +virtual QRect visualRect(const QModelIndex& index) const; +virtual QRegion visualRegionForSelection(const QItemSelection& selection) const; +virtual void wheelEvent(QWheelEvent* arg__1); + + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtPublicPromoter_QColumnView : public QColumnView +{ public: +inline QAbstractItemView* promoted_createColumn(const QModelIndex& rootIndex) { return QColumnView::createColumn(rootIndex); } +inline void promoted_currentChanged(const QModelIndex& current, const QModelIndex& previous) { QColumnView::currentChanged(current, previous); } +inline int promoted_horizontalOffset() const { return QColumnView::horizontalOffset(); } +inline QModelIndex promoted_indexAt(const QPoint& point) const { return QColumnView::indexAt(point); } +inline bool promoted_isIndexHidden(const QModelIndex& index) const { return QColumnView::isIndexHidden(index); } +inline void promoted_resizeEvent(QResizeEvent* event) { QColumnView::resizeEvent(event); } +inline void promoted_rowsInserted(const QModelIndex& parent, int start, int end) { QColumnView::rowsInserted(parent, start, end); } +inline void promoted_scrollContentsBy(int dx, int dy) { QColumnView::scrollContentsBy(dx, dy); } +inline void promoted_scrollTo(const QModelIndex& index, QAbstractItemView::ScrollHint hint = QAbstractItemView::EnsureVisible) { QColumnView::scrollTo(index, hint); } +inline void promoted_selectAll() { QColumnView::selectAll(); } +inline void promoted_setModel(QAbstractItemModel* model) { QColumnView::setModel(model); } +inline void promoted_setRootIndex(const QModelIndex& index) { QColumnView::setRootIndex(index); } +inline void promoted_setSelection(const QRect& rect, QItemSelectionModel::SelectionFlags command) { QColumnView::setSelection(rect, command); } +inline void promoted_setSelectionModel(QItemSelectionModel* selectionModel) { QColumnView::setSelectionModel(selectionModel); } +inline int promoted_verticalOffset() const { return QColumnView::verticalOffset(); } +inline QRect promoted_visualRect(const QModelIndex& index) const { return QColumnView::visualRect(index); } +inline QRegion promoted_visualRegionForSelection(const QItemSelection& selection) const { return QColumnView::visualRegionForSelection(selection); } +}; + +class PythonQtWrapper_QColumnView : public QObject +{ Q_OBJECT +public: +public slots: +QColumnView* new_QColumnView(QWidget* parent = 0); +void delete_QColumnView(QColumnView* obj) { delete obj; } + QList columnWidths(QColumnView* theWrappedObject) const; + QAbstractItemView* createColumn(QColumnView* theWrappedObject, const QModelIndex& rootIndex); + void currentChanged(QColumnView* theWrappedObject, const QModelIndex& current, const QModelIndex& previous); + int horizontalOffset(QColumnView* theWrappedObject) const; + QModelIndex indexAt(QColumnView* theWrappedObject, const QPoint& point) const; + bool isIndexHidden(QColumnView* theWrappedObject, const QModelIndex& index) const; + QWidget* previewWidget(QColumnView* theWrappedObject) const; + void resizeEvent(QColumnView* theWrappedObject, QResizeEvent* event); + bool resizeGripsVisible(QColumnView* theWrappedObject) const; + void rowsInserted(QColumnView* theWrappedObject, const QModelIndex& parent, int start, int end); + void scrollContentsBy(QColumnView* theWrappedObject, int dx, int dy); + void scrollTo(QColumnView* theWrappedObject, const QModelIndex& index, QAbstractItemView::ScrollHint hint = QAbstractItemView::EnsureVisible); + void selectAll(QColumnView* theWrappedObject); + void setColumnWidths(QColumnView* theWrappedObject, const QList& list); + void setModel(QColumnView* theWrappedObject, QAbstractItemModel* model); + void setPreviewWidget(QColumnView* theWrappedObject, QWidget* widget); + void setResizeGripsVisible(QColumnView* theWrappedObject, bool visible); + void setRootIndex(QColumnView* theWrappedObject, const QModelIndex& index); + void setSelection(QColumnView* theWrappedObject, const QRect& rect, QItemSelectionModel::SelectionFlags command); + void setSelectionModel(QColumnView* theWrappedObject, QItemSelectionModel* selectionModel); + QSize sizeHint(QColumnView* theWrappedObject) const; + int verticalOffset(QColumnView* theWrappedObject) const; + QRect visualRect(QColumnView* theWrappedObject, const QModelIndex& index) const; + QRegion visualRegionForSelection(QColumnView* theWrappedObject, const QItemSelection& selection) const; +}; + + + + + +class PythonQtShell_QComboBox : public QComboBox +{ +public: + PythonQtShell_QComboBox(QWidget* parent = 0):QComboBox(parent),_wrapper(NULL) {}; + +virtual void actionEvent(QActionEvent* arg__1); +virtual void changeEvent(QEvent* e); +virtual void childEvent(QChildEvent* arg__1); +virtual void closeEvent(QCloseEvent* arg__1); +virtual void contextMenuEvent(QContextMenuEvent* e); +virtual void customEvent(QEvent* arg__1); +virtual int devType() const; +virtual void dragEnterEvent(QDragEnterEvent* arg__1); +virtual void dragLeaveEvent(QDragLeaveEvent* arg__1); +virtual void dragMoveEvent(QDragMoveEvent* arg__1); +virtual void dropEvent(QDropEvent* arg__1); +virtual void enterEvent(QEvent* arg__1); +virtual bool event(QEvent* event); +virtual bool eventFilter(QObject* arg__1, QEvent* arg__2); +virtual void focusInEvent(QFocusEvent* e); +virtual bool focusNextPrevChild(bool next); +virtual void focusOutEvent(QFocusEvent* e); +virtual int heightForWidth(int arg__1) const; +virtual void hideEvent(QHideEvent* e); +virtual void hidePopup(); +virtual void inputMethodEvent(QInputMethodEvent* arg__1); +virtual QVariant inputMethodQuery(Qt::InputMethodQuery arg__1) const; +virtual void keyPressEvent(QKeyEvent* e); +virtual void keyReleaseEvent(QKeyEvent* e); +virtual void languageChange(); +virtual void leaveEvent(QEvent* arg__1); +virtual int metric(QPaintDevice::PaintDeviceMetric arg__1) const; +virtual void mouseDoubleClickEvent(QMouseEvent* arg__1); +virtual void mouseMoveEvent(QMouseEvent* arg__1); +virtual void mousePressEvent(QMouseEvent* e); +virtual void mouseReleaseEvent(QMouseEvent* e); +virtual void moveEvent(QMoveEvent* arg__1); +virtual QPaintEngine* paintEngine() const; +virtual void paintEvent(QPaintEvent* e); +virtual void resizeEvent(QResizeEvent* e); +virtual void showEvent(QShowEvent* e); +virtual void showPopup(); +virtual void tabletEvent(QTabletEvent* arg__1); +virtual void timerEvent(QTimerEvent* arg__1); +virtual void wheelEvent(QWheelEvent* e); + + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtPublicPromoter_QComboBox : public QComboBox +{ public: +inline void promoted_changeEvent(QEvent* e) { QComboBox::changeEvent(e); } +inline void promoted_contextMenuEvent(QContextMenuEvent* e) { QComboBox::contextMenuEvent(e); } +inline bool promoted_event(QEvent* event) { return QComboBox::event(event); } +inline void promoted_focusInEvent(QFocusEvent* e) { QComboBox::focusInEvent(e); } +inline void promoted_focusOutEvent(QFocusEvent* e) { QComboBox::focusOutEvent(e); } +inline void promoted_hideEvent(QHideEvent* e) { QComboBox::hideEvent(e); } +inline void promoted_hidePopup() { QComboBox::hidePopup(); } +inline void promoted_inputMethodEvent(QInputMethodEvent* arg__1) { QComboBox::inputMethodEvent(arg__1); } +inline QVariant promoted_inputMethodQuery(Qt::InputMethodQuery arg__1) const { return QComboBox::inputMethodQuery(arg__1); } +inline void promoted_keyPressEvent(QKeyEvent* e) { QComboBox::keyPressEvent(e); } +inline void promoted_keyReleaseEvent(QKeyEvent* e) { QComboBox::keyReleaseEvent(e); } +inline void promoted_mousePressEvent(QMouseEvent* e) { QComboBox::mousePressEvent(e); } +inline void promoted_mouseReleaseEvent(QMouseEvent* e) { QComboBox::mouseReleaseEvent(e); } +inline void promoted_paintEvent(QPaintEvent* e) { QComboBox::paintEvent(e); } +inline void promoted_resizeEvent(QResizeEvent* e) { QComboBox::resizeEvent(e); } +inline void promoted_showEvent(QShowEvent* e) { QComboBox::showEvent(e); } +inline void promoted_showPopup() { QComboBox::showPopup(); } +inline void promoted_wheelEvent(QWheelEvent* e) { QComboBox::wheelEvent(e); } +}; + +class PythonQtWrapper_QComboBox : public QObject +{ Q_OBJECT +public: +public slots: +QComboBox* new_QComboBox(QWidget* parent = 0); +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); + void changeEvent(QComboBox* theWrappedObject, QEvent* e); + QCompleter* completer(QComboBox* theWrappedObject) const; + void contextMenuEvent(QComboBox* theWrappedObject, QContextMenuEvent* e); + int count(QComboBox* theWrappedObject) const; + int currentIndex(QComboBox* theWrappedObject) const; + QString currentText(QComboBox* theWrappedObject) const; + bool duplicatesEnabled(QComboBox* theWrappedObject) const; + bool event(QComboBox* theWrappedObject, QEvent* event); + int findData(QComboBox* theWrappedObject, const QVariant& data, int role = Qt::UserRole, Qt::MatchFlags flags = Qt::MatchExactly|Qt::MatchCaseSensitive) const; + int findText(QComboBox* theWrappedObject, const QString& text, Qt::MatchFlags flags = Qt::MatchExactly|Qt::MatchCaseSensitive) const; + void focusInEvent(QComboBox* theWrappedObject, QFocusEvent* e); + void focusOutEvent(QComboBox* theWrappedObject, QFocusEvent* e); + bool hasFrame(QComboBox* theWrappedObject) const; + void hideEvent(QComboBox* theWrappedObject, QHideEvent* e); + void hidePopup(QComboBox* theWrappedObject); + QSize iconSize(QComboBox* theWrappedObject) const; + void inputMethodEvent(QComboBox* theWrappedObject, QInputMethodEvent* arg__1); + QVariant inputMethodQuery(QComboBox* theWrappedObject, Qt::InputMethodQuery arg__1) const; + void insertItem(QComboBox* theWrappedObject, int index, const QIcon& icon, const QString& text, const QVariant& userData = QVariant()); + void insertItem(QComboBox* theWrappedObject, int index, const QString& text, const QVariant& userData = QVariant()); + void insertItems(QComboBox* theWrappedObject, int index, const QStringList& texts); + QComboBox::InsertPolicy insertPolicy(QComboBox* theWrappedObject) const; + void insertSeparator(QComboBox* theWrappedObject, int index); + bool isEditable(QComboBox* theWrappedObject) const; + QVariant itemData(QComboBox* theWrappedObject, int index, int role = Qt::UserRole) const; + QAbstractItemDelegate* itemDelegate(QComboBox* theWrappedObject) const; + QIcon itemIcon(QComboBox* theWrappedObject, int index) const; + QString itemText(QComboBox* theWrappedObject, int index) const; + void keyPressEvent(QComboBox* theWrappedObject, QKeyEvent* e); + void keyReleaseEvent(QComboBox* theWrappedObject, QKeyEvent* e); + QLineEdit* lineEdit(QComboBox* theWrappedObject) const; + int maxCount(QComboBox* theWrappedObject) const; + int maxVisibleItems(QComboBox* theWrappedObject) const; + int minimumContentsLength(QComboBox* theWrappedObject) const; + QSize minimumSizeHint(QComboBox* theWrappedObject) const; + QAbstractItemModel* model(QComboBox* theWrappedObject) const; + int modelColumn(QComboBox* theWrappedObject) const; + void mousePressEvent(QComboBox* theWrappedObject, QMouseEvent* e); + void mouseReleaseEvent(QComboBox* theWrappedObject, QMouseEvent* e); + void paintEvent(QComboBox* theWrappedObject, QPaintEvent* e); + void removeItem(QComboBox* theWrappedObject, int index); + void resizeEvent(QComboBox* theWrappedObject, QResizeEvent* e); + QModelIndex rootModelIndex(QComboBox* theWrappedObject) const; + void setCompleter(QComboBox* theWrappedObject, QCompleter* c); + void setDuplicatesEnabled(QComboBox* theWrappedObject, bool enable); + void setEditable(QComboBox* theWrappedObject, bool editable); + void setFrame(QComboBox* theWrappedObject, bool arg__1); + void setIconSize(QComboBox* theWrappedObject, const QSize& size); + void setInsertPolicy(QComboBox* theWrappedObject, QComboBox::InsertPolicy policy); + void setItemData(QComboBox* theWrappedObject, int index, const QVariant& value, int role = Qt::UserRole); + void setItemDelegate(QComboBox* theWrappedObject, QAbstractItemDelegate* delegate); + void setItemIcon(QComboBox* theWrappedObject, int index, const QIcon& icon); + void setItemText(QComboBox* theWrappedObject, int index, const QString& text); + void setLineEdit(QComboBox* theWrappedObject, QLineEdit* edit); + void setMaxCount(QComboBox* theWrappedObject, int max); + void setMaxVisibleItems(QComboBox* theWrappedObject, int maxItems); + void setMinimumContentsLength(QComboBox* theWrappedObject, int characters); + void setModel(QComboBox* theWrappedObject, QAbstractItemModel* model); + void setModelColumn(QComboBox* theWrappedObject, int visibleColumn); + void setRootModelIndex(QComboBox* theWrappedObject, const QModelIndex& index); + void setSizeAdjustPolicy(QComboBox* theWrappedObject, QComboBox::SizeAdjustPolicy policy); + void setValidator(QComboBox* theWrappedObject, const QValidator* v); + void setView(QComboBox* theWrappedObject, QAbstractItemView* itemView); + void showEvent(QComboBox* theWrappedObject, QShowEvent* e); + void showPopup(QComboBox* theWrappedObject); + QComboBox::SizeAdjustPolicy sizeAdjustPolicy(QComboBox* theWrappedObject) const; + QSize sizeHint(QComboBox* theWrappedObject) const; + const QValidator* validator(QComboBox* theWrappedObject) const; + QAbstractItemView* view(QComboBox* theWrappedObject) const; + void wheelEvent(QComboBox* theWrappedObject, QWheelEvent* e); +}; + + + + + +class PythonQtShell_QCommandLinkButton : public QCommandLinkButton +{ +public: + PythonQtShell_QCommandLinkButton(QWidget* parent = 0):QCommandLinkButton(parent),_wrapper(NULL) {}; + PythonQtShell_QCommandLinkButton(const QString& text, QWidget* parent = 0):QCommandLinkButton(text, parent),_wrapper(NULL) {}; + PythonQtShell_QCommandLinkButton(const QString& text, const QString& description, QWidget* parent = 0):QCommandLinkButton(text, description, parent),_wrapper(NULL) {}; + +virtual void actionEvent(QActionEvent* arg__1); +virtual void changeEvent(QEvent* e); +virtual void checkStateSet(); +virtual void childEvent(QChildEvent* arg__1); +virtual void closeEvent(QCloseEvent* arg__1); +virtual void contextMenuEvent(QContextMenuEvent* arg__1); +virtual void customEvent(QEvent* arg__1); +virtual int devType() const; +virtual void dragEnterEvent(QDragEnterEvent* arg__1); +virtual void dragLeaveEvent(QDragLeaveEvent* arg__1); +virtual void dragMoveEvent(QDragMoveEvent* arg__1); +virtual void dropEvent(QDropEvent* arg__1); +virtual void enterEvent(QEvent* arg__1); +virtual bool event(QEvent* e); +virtual bool eventFilter(QObject* arg__1, QEvent* arg__2); +virtual void focusInEvent(QFocusEvent* arg__1); +virtual bool focusNextPrevChild(bool next); +virtual void focusOutEvent(QFocusEvent* arg__1); +virtual int heightForWidth(int arg__1) const; +virtual void hideEvent(QHideEvent* arg__1); +virtual bool hitButton(const QPoint& pos) const; +virtual void inputMethodEvent(QInputMethodEvent* arg__1); +virtual QVariant inputMethodQuery(Qt::InputMethodQuery arg__1) const; +virtual void keyPressEvent(QKeyEvent* arg__1); +virtual void keyReleaseEvent(QKeyEvent* e); +virtual void languageChange(); +virtual void leaveEvent(QEvent* arg__1); +virtual int metric(QPaintDevice::PaintDeviceMetric arg__1) const; +virtual void mouseDoubleClickEvent(QMouseEvent* arg__1); +virtual void mouseMoveEvent(QMouseEvent* e); +virtual void mousePressEvent(QMouseEvent* e); +virtual void mouseReleaseEvent(QMouseEvent* e); +virtual void moveEvent(QMoveEvent* arg__1); +virtual void nextCheckState(); +virtual QPaintEngine* paintEngine() const; +virtual void paintEvent(QPaintEvent* arg__1); +virtual void resizeEvent(QResizeEvent* arg__1); +virtual void showEvent(QShowEvent* arg__1); +virtual void tabletEvent(QTabletEvent* arg__1); +virtual void timerEvent(QTimerEvent* e); +virtual void wheelEvent(QWheelEvent* arg__1); + + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtPublicPromoter_QCommandLinkButton : public QCommandLinkButton +{ public: +inline bool promoted_event(QEvent* e) { return QCommandLinkButton::event(e); } +inline int promoted_heightForWidth(int arg__1) const { return QCommandLinkButton::heightForWidth(arg__1); } +inline void promoted_paintEvent(QPaintEvent* arg__1) { QCommandLinkButton::paintEvent(arg__1); } +}; + +class PythonQtWrapper_QCommandLinkButton : public QObject +{ Q_OBJECT +public: +public slots: +QCommandLinkButton* new_QCommandLinkButton(QWidget* parent = 0); +QCommandLinkButton* new_QCommandLinkButton(const QString& text, QWidget* parent = 0); +QCommandLinkButton* new_QCommandLinkButton(const QString& text, const QString& description, QWidget* parent = 0); +void delete_QCommandLinkButton(QCommandLinkButton* obj) { delete obj; } + QString description(QCommandLinkButton* theWrappedObject) const; + bool event(QCommandLinkButton* theWrappedObject, QEvent* e); + int heightForWidth(QCommandLinkButton* theWrappedObject, int arg__1) const; + void paintEvent(QCommandLinkButton* theWrappedObject, QPaintEvent* arg__1); + void setDescription(QCommandLinkButton* theWrappedObject, const QString& description); +}; + + + + + +class PythonQtShell_QCommonStyle : public QCommonStyle +{ +public: + PythonQtShell_QCommonStyle():QCommonStyle(),_wrapper(NULL) {}; + +virtual void childEvent(QChildEvent* arg__1); +virtual void customEvent(QEvent* arg__1); +virtual void drawComplexControl(QStyle::ComplexControl cc, const QStyleOptionComplex* opt, QPainter* p, const QWidget* w = 0) const; +virtual void drawControl(QStyle::ControlElement element, const QStyleOption* opt, QPainter* p, const QWidget* w = 0) const; +virtual void drawItemPixmap(QPainter* painter, const QRect& rect, int alignment, const QPixmap& pixmap) const; +virtual void drawItemText(QPainter* painter, const QRect& rect, int flags, const QPalette& pal, bool enabled, const QString& text, QPalette::ColorRole textRole) const; +virtual void drawPrimitive(QStyle::PrimitiveElement pe, const QStyleOption* opt, QPainter* p, const QWidget* w = 0) const; +virtual bool event(QEvent* arg__1); +virtual bool eventFilter(QObject* arg__1, QEvent* arg__2); +virtual QPixmap generatedIconPixmap(QIcon::Mode iconMode, const QPixmap& pixmap, const QStyleOption* opt) const; +virtual QStyle::SubControl hitTestComplexControl(QStyle::ComplexControl cc, const QStyleOptionComplex* opt, const QPoint& pt, const QWidget* w = 0) const; +virtual QRect itemPixmapRect(const QRect& r, int flags, const QPixmap& pixmap) const; +virtual int pixelMetric(QStyle::PixelMetric m, const QStyleOption* opt = 0, const QWidget* widget = 0) const; +virtual void polish(QApplication* 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 = 0) const; +virtual QPalette standardPalette() const; +virtual QPixmap standardPixmap(QStyle::StandardPixmap standardPixmap, const QStyleOption* opt, const QWidget* widget) const; +virtual int styleHint(QStyle::StyleHint sh, const QStyleOption* opt = 0, const QWidget* w = 0, QStyleHintReturn* shret = 0) const; +virtual QRect subControlRect(QStyle::ComplexControl cc, const QStyleOptionComplex* opt, QStyle::SubControl sc, const QWidget* w = 0) const; +virtual QRect subElementRect(QStyle::SubElement r, const QStyleOption* opt, const QWidget* widget = 0) const; +virtual void timerEvent(QTimerEvent* arg__1); +virtual void unpolish(QApplication* application); +virtual void unpolish(QWidget* widget); + + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtPublicPromoter_QCommonStyle : public QCommonStyle +{ public: +inline void promoted_drawComplexControl(QStyle::ComplexControl cc, const QStyleOptionComplex* opt, QPainter* p, const QWidget* w = 0) const { QCommonStyle::drawComplexControl(cc, opt, p, w); } +inline void promoted_drawControl(QStyle::ControlElement element, const QStyleOption* opt, QPainter* p, const QWidget* w = 0) const { QCommonStyle::drawControl(element, opt, p, w); } +inline void promoted_drawPrimitive(QStyle::PrimitiveElement pe, const QStyleOption* opt, QPainter* p, const QWidget* w = 0) const { QCommonStyle::drawPrimitive(pe, opt, p, w); } +inline QPixmap promoted_generatedIconPixmap(QIcon::Mode iconMode, const QPixmap& pixmap, const QStyleOption* opt) const { return QCommonStyle::generatedIconPixmap(iconMode, pixmap, opt); } +inline QStyle::SubControl promoted_hitTestComplexControl(QStyle::ComplexControl cc, const QStyleOptionComplex* opt, const QPoint& pt, const QWidget* w = 0) const { return QCommonStyle::hitTestComplexControl(cc, opt, pt, w); } +inline int promoted_pixelMetric(QStyle::PixelMetric m, const QStyleOption* opt = 0, const QWidget* widget = 0) const { return QCommonStyle::pixelMetric(m, opt, widget); } +inline void promoted_polish(QApplication* app) { QCommonStyle::polish(app); } +inline void promoted_polish(QPalette& arg__1) { QCommonStyle::polish(arg__1); } +inline void promoted_polish(QWidget* widget) { QCommonStyle::polish(widget); } +inline QSize promoted_sizeFromContents(QStyle::ContentsType ct, const QStyleOption* opt, const QSize& contentsSize, const QWidget* widget = 0) const { return QCommonStyle::sizeFromContents(ct, opt, contentsSize, widget); } +inline int promoted_styleHint(QStyle::StyleHint sh, const QStyleOption* opt = 0, const QWidget* w = 0, QStyleHintReturn* shret = 0) const { return QCommonStyle::styleHint(sh, opt, w, shret); } +inline QRect promoted_subControlRect(QStyle::ComplexControl cc, const QStyleOptionComplex* opt, QStyle::SubControl sc, const QWidget* w = 0) const { return QCommonStyle::subControlRect(cc, opt, sc, w); } +inline QRect promoted_subElementRect(QStyle::SubElement r, const QStyleOption* opt, const QWidget* widget = 0) const { return QCommonStyle::subElementRect(r, opt, widget); } +inline void promoted_unpolish(QApplication* application) { QCommonStyle::unpolish(application); } +inline void promoted_unpolish(QWidget* widget) { QCommonStyle::unpolish(widget); } +}; + +class PythonQtWrapper_QCommonStyle : public QObject +{ Q_OBJECT +public: +public slots: +QCommonStyle* new_QCommonStyle(); +void delete_QCommonStyle(QCommonStyle* obj) { delete obj; } + void drawComplexControl(QCommonStyle* theWrappedObject, QStyle::ComplexControl cc, const QStyleOptionComplex* opt, QPainter* p, const QWidget* w = 0) const; + void drawControl(QCommonStyle* theWrappedObject, QStyle::ControlElement element, const QStyleOption* opt, QPainter* p, const QWidget* w = 0) const; + void drawPrimitive(QCommonStyle* theWrappedObject, QStyle::PrimitiveElement pe, const QStyleOption* opt, QPainter* p, const QWidget* w = 0) const; + QPixmap generatedIconPixmap(QCommonStyle* theWrappedObject, QIcon::Mode iconMode, const QPixmap& pixmap, const QStyleOption* opt) const; + QStyle::SubControl hitTestComplexControl(QCommonStyle* theWrappedObject, QStyle::ComplexControl cc, const QStyleOptionComplex* opt, const QPoint& pt, const QWidget* w = 0) const; + int pixelMetric(QCommonStyle* theWrappedObject, QStyle::PixelMetric m, const QStyleOption* opt = 0, const QWidget* widget = 0) const; + void polish(QCommonStyle* theWrappedObject, QApplication* app); + void polish(QCommonStyle* theWrappedObject, QPalette& arg__1); + void polish(QCommonStyle* theWrappedObject, QWidget* widget); + QSize sizeFromContents(QCommonStyle* theWrappedObject, QStyle::ContentsType ct, const QStyleOption* opt, const QSize& contentsSize, const QWidget* widget = 0) const; + int styleHint(QCommonStyle* theWrappedObject, QStyle::StyleHint sh, const QStyleOption* opt = 0, const QWidget* w = 0, QStyleHintReturn* shret = 0) const; + QRect subControlRect(QCommonStyle* theWrappedObject, QStyle::ComplexControl cc, const QStyleOptionComplex* opt, QStyle::SubControl sc, const QWidget* w = 0) const; + QRect subElementRect(QCommonStyle* theWrappedObject, QStyle::SubElement r, const QStyleOption* opt, const QWidget* widget = 0) const; + void unpolish(QCommonStyle* theWrappedObject, QApplication* application); + void unpolish(QCommonStyle* theWrappedObject, QWidget* widget); +}; + + + + + +class PythonQtShell_QCompleter : public QCompleter +{ +public: + PythonQtShell_QCompleter(QAbstractItemModel* model, QObject* parent = 0):QCompleter(model, parent),_wrapper(NULL) {}; + PythonQtShell_QCompleter(QObject* parent = 0):QCompleter(parent),_wrapper(NULL) {}; + PythonQtShell_QCompleter(const QStringList& completions, QObject* parent = 0):QCompleter(completions, parent),_wrapper(NULL) {}; + +virtual void childEvent(QChildEvent* arg__1); +virtual void customEvent(QEvent* arg__1); +virtual bool event(QEvent* arg__1); +virtual bool eventFilter(QObject* o, QEvent* e); +virtual QString pathFromIndex(const QModelIndex& index) const; +virtual QStringList splitPath(const QString& path) const; +virtual void timerEvent(QTimerEvent* arg__1); + + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtPublicPromoter_QCompleter : public QCompleter +{ public: +inline bool promoted_event(QEvent* arg__1) { return QCompleter::event(arg__1); } +inline bool promoted_eventFilter(QObject* o, QEvent* e) { return QCompleter::eventFilter(o, e); } +inline QString promoted_pathFromIndex(const QModelIndex& index) const { return QCompleter::pathFromIndex(index); } +inline QStringList promoted_splitPath(const QString& path) const { return QCompleter::splitPath(path); } +}; + +class PythonQtWrapper_QCompleter : public QObject +{ Q_OBJECT +public: +Q_ENUMS(ModelSorting CompletionMode ) +enum ModelSorting{ + UnsortedModel = QCompleter::UnsortedModel, CaseSensitivelySortedModel = QCompleter::CaseSensitivelySortedModel, CaseInsensitivelySortedModel = QCompleter::CaseInsensitivelySortedModel}; +enum CompletionMode{ + PopupCompletion = QCompleter::PopupCompletion, UnfilteredPopupCompletion = QCompleter::UnfilteredPopupCompletion, InlineCompletion = QCompleter::InlineCompletion}; +public slots: +QCompleter* new_QCompleter(QAbstractItemModel* model, QObject* parent = 0); +QCompleter* new_QCompleter(QObject* parent = 0); +QCompleter* new_QCompleter(const QStringList& completions, QObject* parent = 0); +void delete_QCompleter(QCompleter* obj) { delete obj; } + 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 eventFilter(QCompleter* theWrappedObject, QObject* o, QEvent* e); + int maxVisibleItems(QCompleter* theWrappedObject) const; + QAbstractItemModel* model(QCompleter* theWrappedObject) const; + QCompleter::ModelSorting modelSorting(QCompleter* theWrappedObject) const; + QString pathFromIndex(QCompleter* theWrappedObject, const QModelIndex& index) const; + 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 setMaxVisibleItems(QCompleter* theWrappedObject, int maxItems); + void setModel(QCompleter* theWrappedObject, QAbstractItemModel* c); + void setModelSorting(QCompleter* theWrappedObject, QCompleter::ModelSorting sorting); + void setPopup(QCompleter* theWrappedObject, QAbstractItemView* popup); + void setWidget(QCompleter* theWrappedObject, QWidget* widget); + QStringList splitPath(QCompleter* theWrappedObject, const QString& path) const; + QWidget* widget(QCompleter* theWrappedObject) const; + bool wrapAround(QCompleter* theWrappedObject) const; +}; + + + + + +class PythonQtWrapper_QConicalGradient : public QObject +{ Q_OBJECT +public: +public slots: +QConicalGradient* new_QConicalGradient(); +QConicalGradient* new_QConicalGradient(const QPointF& center, qreal startAngle); +QConicalGradient* new_QConicalGradient(qreal cx, qreal cy, qreal startAngle); +QConicalGradient* new_QConicalGradient(const QConicalGradient& other) { +QConicalGradient* a = new QConicalGradient(); +*((QConicalGradient*)a) = other; +return a; } +void delete_QConicalGradient(QConicalGradient* obj) { delete obj; } + qreal angle(QConicalGradient* theWrappedObject) const; + QPointF center(QConicalGradient* theWrappedObject) const; + void setAngle(QConicalGradient* theWrappedObject, qreal angle); + void setCenter(QConicalGradient* theWrappedObject, const QPointF& center); + void setCenter(QConicalGradient* theWrappedObject, qreal x, qreal y); +}; + + + + + +class PythonQtShell_QContextMenuEvent : public QContextMenuEvent +{ +public: + PythonQtShell_QContextMenuEvent(QContextMenuEvent::Reason reason, const QPoint& pos):QContextMenuEvent(reason, pos),_wrapper(NULL) {}; + PythonQtShell_QContextMenuEvent(QContextMenuEvent::Reason reason, const QPoint& pos, const QPoint& globalPos):QContextMenuEvent(reason, pos, globalPos),_wrapper(NULL) {}; + PythonQtShell_QContextMenuEvent(QContextMenuEvent::Reason reason, const QPoint& pos, const QPoint& globalPos, Qt::KeyboardModifiers modifiers):QContextMenuEvent(reason, pos, globalPos, modifiers),_wrapper(NULL) {}; + + + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtWrapper_QContextMenuEvent : public QObject +{ Q_OBJECT +public: +Q_ENUMS(Reason ) +enum Reason{ + Mouse = QContextMenuEvent::Mouse, Keyboard = QContextMenuEvent::Keyboard, Other = QContextMenuEvent::Other}; +public slots: +QContextMenuEvent* new_QContextMenuEvent(QContextMenuEvent::Reason reason, const QPoint& pos); +QContextMenuEvent* new_QContextMenuEvent(QContextMenuEvent::Reason reason, const QPoint& pos, const QPoint& globalPos); +QContextMenuEvent* new_QContextMenuEvent(QContextMenuEvent::Reason reason, const QPoint& pos, const QPoint& globalPos, Qt::KeyboardModifiers modifiers); +void delete_QContextMenuEvent(QContextMenuEvent* obj) { delete obj; } + const QPoint* globalPos(QContextMenuEvent* theWrappedObject) const; + int globalX(QContextMenuEvent* theWrappedObject) const; + int globalY(QContextMenuEvent* theWrappedObject) const; + const QPoint* pos(QContextMenuEvent* theWrappedObject) const; + QContextMenuEvent::Reason reason(QContextMenuEvent* theWrappedObject) const; + int x(QContextMenuEvent* theWrappedObject) const; + int y(QContextMenuEvent* theWrappedObject) const; +}; + + + + + +class PythonQtShell_QDataWidgetMapper : public QDataWidgetMapper +{ +public: + PythonQtShell_QDataWidgetMapper(QObject* parent = 0):QDataWidgetMapper(parent),_wrapper(NULL) {}; + +virtual void childEvent(QChildEvent* arg__1); +virtual void customEvent(QEvent* arg__1); +virtual bool event(QEvent* arg__1); +virtual bool eventFilter(QObject* arg__1, QEvent* arg__2); +virtual void setCurrentIndex(int index); +virtual void timerEvent(QTimerEvent* arg__1); + + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtPublicPromoter_QDataWidgetMapper : public QDataWidgetMapper +{ public: +inline void promoted_setCurrentIndex(int index) { QDataWidgetMapper::setCurrentIndex(index); } +}; + +class PythonQtWrapper_QDataWidgetMapper : public QObject +{ Q_OBJECT +public: +public slots: +QDataWidgetMapper* new_QDataWidgetMapper(QObject* parent = 0); +void delete_QDataWidgetMapper(QDataWidgetMapper* obj) { delete obj; } + void addMapping(QDataWidgetMapper* theWrappedObject, QWidget* widget, int section); + void addMapping(QDataWidgetMapper* theWrappedObject, QWidget* widget, int section, const QByteArray& propertyName); + void clearMapping(QDataWidgetMapper* theWrappedObject); + int currentIndex(QDataWidgetMapper* theWrappedObject) const; + QAbstractItemDelegate* itemDelegate(QDataWidgetMapper* theWrappedObject) const; + QByteArray mappedPropertyName(QDataWidgetMapper* theWrappedObject, QWidget* widget) const; + int mappedSection(QDataWidgetMapper* theWrappedObject, QWidget* widget) const; + QWidget* mappedWidgetAt(QDataWidgetMapper* theWrappedObject, int section) const; + QAbstractItemModel* model(QDataWidgetMapper* theWrappedObject) const; + Qt::Orientation orientation(QDataWidgetMapper* theWrappedObject) const; + void removeMapping(QDataWidgetMapper* theWrappedObject, QWidget* widget); + QModelIndex rootIndex(QDataWidgetMapper* theWrappedObject) const; + void setItemDelegate(QDataWidgetMapper* theWrappedObject, QAbstractItemDelegate* delegate); + void setModel(QDataWidgetMapper* theWrappedObject, QAbstractItemModel* model); + void setOrientation(QDataWidgetMapper* theWrappedObject, Qt::Orientation aOrientation); + void setRootIndex(QDataWidgetMapper* theWrappedObject, const QModelIndex& index); + void setSubmitPolicy(QDataWidgetMapper* theWrappedObject, QDataWidgetMapper::SubmitPolicy policy); + QDataWidgetMapper::SubmitPolicy submitPolicy(QDataWidgetMapper* theWrappedObject) const; +}; + + + + + +class PythonQtShell_QDateEdit : public QDateEdit +{ +public: + PythonQtShell_QDateEdit(QWidget* parent = 0):QDateEdit(parent),_wrapper(NULL) {}; + PythonQtShell_QDateEdit(const QDate& date, QWidget* parent = 0):QDateEdit(date, parent),_wrapper(NULL) {}; + +virtual void actionEvent(QActionEvent* arg__1); +virtual void changeEvent(QEvent* event); +virtual void childEvent(QChildEvent* arg__1); +virtual void clear(); +virtual void closeEvent(QCloseEvent* event); +virtual void contextMenuEvent(QContextMenuEvent* event); +virtual void customEvent(QEvent* arg__1); +virtual QDateTime dateTimeFromText(const QString& text) const; +virtual int devType() const; +virtual void dragEnterEvent(QDragEnterEvent* arg__1); +virtual void dragLeaveEvent(QDragLeaveEvent* arg__1); +virtual void dragMoveEvent(QDragMoveEvent* arg__1); +virtual void dropEvent(QDropEvent* arg__1); +virtual void enterEvent(QEvent* arg__1); +virtual bool event(QEvent* event); +virtual bool eventFilter(QObject* arg__1, QEvent* arg__2); +virtual void fixup(QString& input) const; +virtual void focusInEvent(QFocusEvent* event); +virtual bool focusNextPrevChild(bool next); +virtual void focusOutEvent(QFocusEvent* event); +virtual int heightForWidth(int arg__1) const; +virtual void hideEvent(QHideEvent* event); +virtual void inputMethodEvent(QInputMethodEvent* arg__1); +virtual QVariant inputMethodQuery(Qt::InputMethodQuery arg__1) const; +virtual void keyPressEvent(QKeyEvent* event); +virtual void keyReleaseEvent(QKeyEvent* event); +virtual void languageChange(); +virtual void leaveEvent(QEvent* arg__1); +virtual int metric(QPaintDevice::PaintDeviceMetric arg__1) const; +virtual void mouseDoubleClickEvent(QMouseEvent* arg__1); +virtual void mouseMoveEvent(QMouseEvent* event); +virtual void mousePressEvent(QMouseEvent* event); +virtual void mouseReleaseEvent(QMouseEvent* event); +virtual void moveEvent(QMoveEvent* arg__1); +virtual QPaintEngine* paintEngine() const; +virtual void paintEvent(QPaintEvent* event); +virtual void resizeEvent(QResizeEvent* event); +virtual void showEvent(QShowEvent* event); +virtual void stepBy(int steps); +virtual QAbstractSpinBox::StepEnabled stepEnabled() const; +virtual void tabletEvent(QTabletEvent* arg__1); +virtual QString textFromDateTime(const QDateTime& dt) const; +virtual void timerEvent(QTimerEvent* event); +virtual QValidator::State validate(QString& input, int& pos) const; +virtual void wheelEvent(QWheelEvent* event); + + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtWrapper_QDateEdit : public QObject +{ Q_OBJECT +public: +public slots: +QDateEdit* new_QDateEdit(QWidget* parent = 0); +QDateEdit* new_QDateEdit(const QDate& date, QWidget* parent = 0); +void delete_QDateEdit(QDateEdit* obj) { delete obj; } +}; + + + + + +class PythonQtShell_QDateTimeEdit : public QDateTimeEdit +{ +public: + PythonQtShell_QDateTimeEdit(QWidget* parent = 0):QDateTimeEdit(parent),_wrapper(NULL) {}; + PythonQtShell_QDateTimeEdit(const QDate& d, QWidget* parent = 0):QDateTimeEdit(d, parent),_wrapper(NULL) {}; + PythonQtShell_QDateTimeEdit(const QDateTime& dt, QWidget* parent = 0):QDateTimeEdit(dt, parent),_wrapper(NULL) {}; + PythonQtShell_QDateTimeEdit(const QTime& t, QWidget* parent = 0):QDateTimeEdit(t, parent),_wrapper(NULL) {}; + PythonQtShell_QDateTimeEdit(const QVariant& val, QVariant::Type parserType, QWidget* parent = 0):QDateTimeEdit(val, parserType, parent),_wrapper(NULL) {}; + +virtual void actionEvent(QActionEvent* arg__1); +virtual void changeEvent(QEvent* event); +virtual void childEvent(QChildEvent* arg__1); +virtual void clear(); +virtual void closeEvent(QCloseEvent* event); +virtual void contextMenuEvent(QContextMenuEvent* event); +virtual void customEvent(QEvent* arg__1); +virtual QDateTime dateTimeFromText(const QString& text) const; +virtual int devType() const; +virtual void dragEnterEvent(QDragEnterEvent* arg__1); +virtual void dragLeaveEvent(QDragLeaveEvent* arg__1); +virtual void dragMoveEvent(QDragMoveEvent* arg__1); +virtual void dropEvent(QDropEvent* arg__1); +virtual void enterEvent(QEvent* arg__1); +virtual bool event(QEvent* event); +virtual bool eventFilter(QObject* arg__1, QEvent* arg__2); +virtual void fixup(QString& input) const; +virtual void focusInEvent(QFocusEvent* event); +virtual bool focusNextPrevChild(bool next); +virtual void focusOutEvent(QFocusEvent* event); +virtual int heightForWidth(int arg__1) const; +virtual void hideEvent(QHideEvent* event); +virtual void inputMethodEvent(QInputMethodEvent* arg__1); +virtual QVariant inputMethodQuery(Qt::InputMethodQuery arg__1) const; +virtual void keyPressEvent(QKeyEvent* event); +virtual void keyReleaseEvent(QKeyEvent* event); +virtual void languageChange(); +virtual void leaveEvent(QEvent* arg__1); +virtual int metric(QPaintDevice::PaintDeviceMetric arg__1) const; +virtual void mouseDoubleClickEvent(QMouseEvent* arg__1); +virtual void mouseMoveEvent(QMouseEvent* event); +virtual void mousePressEvent(QMouseEvent* event); +virtual void mouseReleaseEvent(QMouseEvent* event); +virtual void moveEvent(QMoveEvent* arg__1); +virtual QPaintEngine* paintEngine() const; +virtual void paintEvent(QPaintEvent* event); +virtual void resizeEvent(QResizeEvent* event); +virtual void showEvent(QShowEvent* event); +virtual void stepBy(int steps); +virtual QAbstractSpinBox::StepEnabled stepEnabled() const; +virtual void tabletEvent(QTabletEvent* arg__1); +virtual QString textFromDateTime(const QDateTime& dt) const; +virtual void timerEvent(QTimerEvent* event); +virtual QValidator::State validate(QString& input, int& pos) const; +virtual void wheelEvent(QWheelEvent* event); + + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtPublicPromoter_QDateTimeEdit : public QDateTimeEdit +{ public: +inline void promoted_clear() { QDateTimeEdit::clear(); } +inline QDateTime promoted_dateTimeFromText(const QString& text) const { return QDateTimeEdit::dateTimeFromText(text); } +inline bool promoted_event(QEvent* event) { return QDateTimeEdit::event(event); } +inline void promoted_fixup(QString& input) const { QDateTimeEdit::fixup(input); } +inline void promoted_focusInEvent(QFocusEvent* event) { QDateTimeEdit::focusInEvent(event); } +inline bool promoted_focusNextPrevChild(bool next) { return QDateTimeEdit::focusNextPrevChild(next); } +inline void promoted_keyPressEvent(QKeyEvent* event) { QDateTimeEdit::keyPressEvent(event); } +inline void promoted_mousePressEvent(QMouseEvent* event) { QDateTimeEdit::mousePressEvent(event); } +inline void promoted_paintEvent(QPaintEvent* event) { QDateTimeEdit::paintEvent(event); } +inline void promoted_stepBy(int steps) { QDateTimeEdit::stepBy(steps); } +inline QAbstractSpinBox::StepEnabled promoted_stepEnabled() const { return QDateTimeEdit::stepEnabled(); } +inline QString promoted_textFromDateTime(const QDateTime& dt) const { return QDateTimeEdit::textFromDateTime(dt); } +inline QValidator::State promoted_validate(QString& input, int& pos) const { return QDateTimeEdit::validate(input, pos); } +inline void promoted_wheelEvent(QWheelEvent* event) { QDateTimeEdit::wheelEvent(event); } +}; + +class PythonQtWrapper_QDateTimeEdit : public QObject +{ Q_OBJECT +public: +public slots: +QDateTimeEdit* new_QDateTimeEdit(QWidget* parent = 0); +QDateTimeEdit* new_QDateTimeEdit(const QDate& d, QWidget* parent = 0); +QDateTimeEdit* new_QDateTimeEdit(const QDateTime& dt, QWidget* parent = 0); +QDateTimeEdit* new_QDateTimeEdit(const QTime& t, QWidget* parent = 0); +void delete_QDateTimeEdit(QDateTimeEdit* obj) { delete obj; } + bool calendarPopup(QDateTimeEdit* theWrappedObject) const; + QCalendarWidget* calendarWidget(QDateTimeEdit* theWrappedObject) const; + void clear(QDateTimeEdit* theWrappedObject); + void clearMaximumDate(QDateTimeEdit* theWrappedObject); + void clearMaximumDateTime(QDateTimeEdit* theWrappedObject); + void clearMaximumTime(QDateTimeEdit* theWrappedObject); + void clearMinimumDate(QDateTimeEdit* theWrappedObject); + void clearMinimumDateTime(QDateTimeEdit* theWrappedObject); + void clearMinimumTime(QDateTimeEdit* theWrappedObject); + QDateTimeEdit::Section currentSection(QDateTimeEdit* theWrappedObject) const; + int currentSectionIndex(QDateTimeEdit* theWrappedObject) const; + QDate date(QDateTimeEdit* theWrappedObject) const; + QDateTime dateTime(QDateTimeEdit* theWrappedObject) const; + QDateTime dateTimeFromText(QDateTimeEdit* theWrappedObject, const QString& text) const; + QString displayFormat(QDateTimeEdit* theWrappedObject) const; + QDateTimeEdit::Sections displayedSections(QDateTimeEdit* theWrappedObject) const; + bool event(QDateTimeEdit* theWrappedObject, QEvent* event); + void fixup(QDateTimeEdit* theWrappedObject, QString& input) const; + void focusInEvent(QDateTimeEdit* theWrappedObject, QFocusEvent* event); + bool focusNextPrevChild(QDateTimeEdit* theWrappedObject, bool next); + void keyPressEvent(QDateTimeEdit* theWrappedObject, QKeyEvent* event); + QDate maximumDate(QDateTimeEdit* theWrappedObject) const; + QDateTime maximumDateTime(QDateTimeEdit* theWrappedObject) const; + QTime maximumTime(QDateTimeEdit* theWrappedObject) const; + QDate minimumDate(QDateTimeEdit* theWrappedObject) const; + QDateTime minimumDateTime(QDateTimeEdit* theWrappedObject) const; + QTime minimumTime(QDateTimeEdit* theWrappedObject) const; + void mousePressEvent(QDateTimeEdit* theWrappedObject, QMouseEvent* event); + void paintEvent(QDateTimeEdit* theWrappedObject, QPaintEvent* event); + QDateTimeEdit::Section sectionAt(QDateTimeEdit* theWrappedObject, int index) const; + int sectionCount(QDateTimeEdit* theWrappedObject) const; + QString sectionText(QDateTimeEdit* theWrappedObject, QDateTimeEdit::Section section) const; + void setCalendarPopup(QDateTimeEdit* theWrappedObject, bool enable); + void setCalendarWidget(QDateTimeEdit* theWrappedObject, QCalendarWidget* calendarWidget); + void setCurrentSection(QDateTimeEdit* theWrappedObject, QDateTimeEdit::Section section); + void setCurrentSectionIndex(QDateTimeEdit* theWrappedObject, int index); + void setDateRange(QDateTimeEdit* theWrappedObject, const QDate& min, const QDate& max); + void setDateTimeRange(QDateTimeEdit* theWrappedObject, const QDateTime& min, const QDateTime& max); + void setDisplayFormat(QDateTimeEdit* theWrappedObject, const QString& format); + void setMaximumDate(QDateTimeEdit* theWrappedObject, const QDate& max); + void setMaximumDateTime(QDateTimeEdit* theWrappedObject, const QDateTime& dt); + void setMaximumTime(QDateTimeEdit* theWrappedObject, const QTime& max); + void setMinimumDate(QDateTimeEdit* theWrappedObject, const QDate& min); + void setMinimumDateTime(QDateTimeEdit* theWrappedObject, const QDateTime& dt); + void setMinimumTime(QDateTimeEdit* theWrappedObject, const QTime& min); + void setSelectedSection(QDateTimeEdit* theWrappedObject, QDateTimeEdit::Section section); + void setTimeRange(QDateTimeEdit* theWrappedObject, const QTime& min, const QTime& max); + void setTimeSpec(QDateTimeEdit* theWrappedObject, Qt::TimeSpec spec); + QSize sizeHint(QDateTimeEdit* theWrappedObject) const; + void stepBy(QDateTimeEdit* theWrappedObject, int steps); + QAbstractSpinBox::StepEnabled stepEnabled(QDateTimeEdit* theWrappedObject) const; + QString textFromDateTime(QDateTimeEdit* theWrappedObject, const QDateTime& dt) const; + QTime time(QDateTimeEdit* theWrappedObject) const; + Qt::TimeSpec timeSpec(QDateTimeEdit* theWrappedObject) const; + QValidator::State validate(QDateTimeEdit* theWrappedObject, QString& input, int& pos) const; + void wheelEvent(QDateTimeEdit* theWrappedObject, QWheelEvent* event); +}; + + + + + +class PythonQtShell_QDesktopServices : public QDesktopServices +{ +public: + PythonQtShell_QDesktopServices():QDesktopServices(),_wrapper(NULL) {}; + + + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtWrapper_QDesktopServices : public QObject +{ Q_OBJECT +public: +Q_ENUMS(StandardLocation ) +enum StandardLocation{ + DesktopLocation = QDesktopServices::DesktopLocation, DocumentsLocation = QDesktopServices::DocumentsLocation, FontsLocation = QDesktopServices::FontsLocation, ApplicationsLocation = QDesktopServices::ApplicationsLocation, MusicLocation = QDesktopServices::MusicLocation, MoviesLocation = QDesktopServices::MoviesLocation, PicturesLocation = QDesktopServices::PicturesLocation, TempLocation = QDesktopServices::TempLocation, HomeLocation = QDesktopServices::HomeLocation, DataLocation = QDesktopServices::DataLocation, CacheLocation = QDesktopServices::CacheLocation}; +public slots: +QDesktopServices* new_QDesktopServices(); +void delete_QDesktopServices(QDesktopServices* obj) { delete obj; } + QString static_QDesktopServices_displayName(QDesktopServices::StandardLocation type); + bool static_QDesktopServices_openUrl(const QUrl& url); + void static_QDesktopServices_setUrlHandler(const QString& scheme, QObject* receiver, const char* method); + QString static_QDesktopServices_storageLocation(QDesktopServices::StandardLocation type); + void static_QDesktopServices_unsetUrlHandler(const QString& scheme); +}; + + + + + +class PythonQtShell_QDesktopWidget : public QDesktopWidget +{ +public: + PythonQtShell_QDesktopWidget():QDesktopWidget(),_wrapper(NULL) {}; + +virtual void actionEvent(QActionEvent* arg__1); +virtual void changeEvent(QEvent* arg__1); +virtual void childEvent(QChildEvent* arg__1); +virtual void closeEvent(QCloseEvent* arg__1); +virtual void contextMenuEvent(QContextMenuEvent* arg__1); +virtual void customEvent(QEvent* arg__1); +virtual int devType() const; +virtual void dragEnterEvent(QDragEnterEvent* arg__1); +virtual void dragLeaveEvent(QDragLeaveEvent* arg__1); +virtual void dragMoveEvent(QDragMoveEvent* arg__1); +virtual void dropEvent(QDropEvent* arg__1); +virtual void enterEvent(QEvent* arg__1); +virtual bool event(QEvent* arg__1); +virtual bool eventFilter(QObject* arg__1, QEvent* arg__2); +virtual void focusInEvent(QFocusEvent* arg__1); +virtual bool focusNextPrevChild(bool next); +virtual void focusOutEvent(QFocusEvent* arg__1); +virtual int heightForWidth(int arg__1) const; +virtual void hideEvent(QHideEvent* arg__1); +virtual void inputMethodEvent(QInputMethodEvent* arg__1); +virtual QVariant inputMethodQuery(Qt::InputMethodQuery arg__1) const; +virtual void keyPressEvent(QKeyEvent* arg__1); +virtual void keyReleaseEvent(QKeyEvent* arg__1); +virtual void languageChange(); +virtual void leaveEvent(QEvent* arg__1); +virtual int metric(QPaintDevice::PaintDeviceMetric arg__1) const; +virtual QSize minimumSizeHint() const; +virtual void mouseDoubleClickEvent(QMouseEvent* arg__1); +virtual void mouseMoveEvent(QMouseEvent* arg__1); +virtual void mousePressEvent(QMouseEvent* arg__1); +virtual void mouseReleaseEvent(QMouseEvent* arg__1); +virtual void moveEvent(QMoveEvent* arg__1); +virtual QPaintEngine* paintEngine() const; +virtual void paintEvent(QPaintEvent* arg__1); +virtual void resizeEvent(QResizeEvent* e); +virtual void showEvent(QShowEvent* arg__1); +virtual QSize sizeHint() const; +virtual void tabletEvent(QTabletEvent* arg__1); +virtual void timerEvent(QTimerEvent* arg__1); +virtual void wheelEvent(QWheelEvent* arg__1); + + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtPublicPromoter_QDesktopWidget : public QDesktopWidget +{ public: +inline void promoted_resizeEvent(QResizeEvent* e) { QDesktopWidget::resizeEvent(e); } +}; + +class PythonQtWrapper_QDesktopWidget : public QObject +{ Q_OBJECT +public: +public slots: +QDesktopWidget* new_QDesktopWidget(); +void delete_QDesktopWidget(QDesktopWidget* obj) { delete obj; } + 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; + bool isVirtualDesktop(QDesktopWidget* theWrappedObject) const; + int numScreens(QDesktopWidget* theWrappedObject) const; + int primaryScreen(QDesktopWidget* theWrappedObject) const; + void resizeEvent(QDesktopWidget* theWrappedObject, QResizeEvent* e); + QWidget* screen(QDesktopWidget* theWrappedObject, int screen = -1); + int screenCount(QDesktopWidget* theWrappedObject) const; + const QRect screenGeometry(QDesktopWidget* theWrappedObject, const QPoint& point) const; + const QRect screenGeometry(QDesktopWidget* theWrappedObject, const QWidget* widget) const; + const QRect screenGeometry(QDesktopWidget* theWrappedObject, int screen = -1) const; + int screenNumber(QDesktopWidget* theWrappedObject, const QPoint& arg__1) const; + int screenNumber(QDesktopWidget* theWrappedObject, const QWidget* widget = 0) const; +}; + + + + + +class PythonQtShell_QDial : public QDial +{ +public: + PythonQtShell_QDial(QWidget* parent = 0):QDial(parent),_wrapper(NULL) {}; + +virtual void actionEvent(QActionEvent* arg__1); +virtual void changeEvent(QEvent* e); +virtual void childEvent(QChildEvent* arg__1); +virtual void closeEvent(QCloseEvent* arg__1); +virtual void contextMenuEvent(QContextMenuEvent* arg__1); +virtual void customEvent(QEvent* arg__1); +virtual int devType() const; +virtual void dragEnterEvent(QDragEnterEvent* arg__1); +virtual void dragLeaveEvent(QDragLeaveEvent* arg__1); +virtual void dragMoveEvent(QDragMoveEvent* arg__1); +virtual void dropEvent(QDropEvent* arg__1); +virtual void enterEvent(QEvent* arg__1); +virtual bool event(QEvent* e); +virtual bool eventFilter(QObject* arg__1, QEvent* arg__2); +virtual void focusInEvent(QFocusEvent* arg__1); +virtual bool focusNextPrevChild(bool next); +virtual void focusOutEvent(QFocusEvent* arg__1); +virtual int heightForWidth(int arg__1) const; +virtual void hideEvent(QHideEvent* arg__1); +virtual void inputMethodEvent(QInputMethodEvent* arg__1); +virtual QVariant inputMethodQuery(Qt::InputMethodQuery arg__1) const; +virtual void keyPressEvent(QKeyEvent* ev); +virtual void keyReleaseEvent(QKeyEvent* arg__1); +virtual void languageChange(); +virtual void leaveEvent(QEvent* arg__1); +virtual int metric(QPaintDevice::PaintDeviceMetric arg__1) const; +virtual void mouseDoubleClickEvent(QMouseEvent* arg__1); +virtual void mouseMoveEvent(QMouseEvent* me); +virtual void mousePressEvent(QMouseEvent* me); +virtual void mouseReleaseEvent(QMouseEvent* me); +virtual void moveEvent(QMoveEvent* arg__1); +virtual QPaintEngine* paintEngine() const; +virtual void paintEvent(QPaintEvent* pe); +virtual void resizeEvent(QResizeEvent* re); +virtual void showEvent(QShowEvent* arg__1); +virtual void tabletEvent(QTabletEvent* arg__1); +virtual void timerEvent(QTimerEvent* arg__1); +virtual void wheelEvent(QWheelEvent* e); + + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtPublicPromoter_QDial : public QDial +{ public: +inline bool promoted_event(QEvent* e) { return QDial::event(e); } +inline void promoted_mouseMoveEvent(QMouseEvent* me) { QDial::mouseMoveEvent(me); } +inline void promoted_mousePressEvent(QMouseEvent* me) { QDial::mousePressEvent(me); } +inline void promoted_mouseReleaseEvent(QMouseEvent* me) { QDial::mouseReleaseEvent(me); } +inline void promoted_paintEvent(QPaintEvent* pe) { QDial::paintEvent(pe); } +inline void promoted_resizeEvent(QResizeEvent* re) { QDial::resizeEvent(re); } +}; + +class PythonQtWrapper_QDial : public QObject +{ Q_OBJECT +public: +public slots: +QDial* new_QDial(QWidget* parent = 0); +void delete_QDial(QDial* obj) { delete obj; } + bool event(QDial* theWrappedObject, QEvent* e); + QSize minimumSizeHint(QDial* theWrappedObject) const; + void mouseMoveEvent(QDial* theWrappedObject, QMouseEvent* me); + void mousePressEvent(QDial* theWrappedObject, QMouseEvent* me); + void mouseReleaseEvent(QDial* theWrappedObject, QMouseEvent* me); + int notchSize(QDial* theWrappedObject) const; + qreal notchTarget(QDial* theWrappedObject) const; + bool notchesVisible(QDial* theWrappedObject) const; + void paintEvent(QDial* theWrappedObject, QPaintEvent* pe); + void resizeEvent(QDial* theWrappedObject, QResizeEvent* re); + void setNotchTarget(QDial* theWrappedObject, double target); + QSize sizeHint(QDial* theWrappedObject) const; + bool wrapping(QDial* theWrappedObject) const; +}; + + + + + +class PythonQtShell_QDialog : public QDialog +{ +public: + PythonQtShell_QDialog(QWidget* parent = 0, Qt::WindowFlags f = 0):QDialog(parent, f),_wrapper(NULL) {}; + +virtual void accept(); +virtual void actionEvent(QActionEvent* arg__1); +virtual void changeEvent(QEvent* arg__1); +virtual void childEvent(QChildEvent* arg__1); +virtual void closeEvent(QCloseEvent* arg__1); +virtual void contextMenuEvent(QContextMenuEvent* arg__1); +virtual void customEvent(QEvent* arg__1); +virtual int devType() const; +virtual void done(int arg__1); +virtual void dragEnterEvent(QDragEnterEvent* arg__1); +virtual void dragLeaveEvent(QDragLeaveEvent* arg__1); +virtual void dragMoveEvent(QDragMoveEvent* arg__1); +virtual void dropEvent(QDropEvent* arg__1); +virtual void enterEvent(QEvent* arg__1); +virtual bool event(QEvent* arg__1); +virtual bool eventFilter(QObject* arg__1, QEvent* arg__2); +virtual void focusInEvent(QFocusEvent* arg__1); +virtual bool focusNextPrevChild(bool next); +virtual void focusOutEvent(QFocusEvent* arg__1); +virtual int heightForWidth(int arg__1) const; +virtual void hideEvent(QHideEvent* arg__1); +virtual void inputMethodEvent(QInputMethodEvent* arg__1); +virtual QVariant inputMethodQuery(Qt::InputMethodQuery arg__1) const; +virtual void keyPressEvent(QKeyEvent* arg__1); +virtual void keyReleaseEvent(QKeyEvent* arg__1); +virtual void languageChange(); +virtual void leaveEvent(QEvent* arg__1); +virtual int metric(QPaintDevice::PaintDeviceMetric arg__1) const; +virtual void mouseDoubleClickEvent(QMouseEvent* arg__1); +virtual void mouseMoveEvent(QMouseEvent* arg__1); +virtual void mousePressEvent(QMouseEvent* arg__1); +virtual void mouseReleaseEvent(QMouseEvent* arg__1); +virtual void moveEvent(QMoveEvent* arg__1); +virtual QPaintEngine* paintEngine() const; +virtual void paintEvent(QPaintEvent* arg__1); +virtual void reject(); +virtual void resizeEvent(QResizeEvent* arg__1); +virtual void showEvent(QShowEvent* arg__1); +virtual void tabletEvent(QTabletEvent* arg__1); +virtual void timerEvent(QTimerEvent* arg__1); +virtual void wheelEvent(QWheelEvent* arg__1); + + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtPublicPromoter_QDialog : public QDialog +{ public: +inline void promoted_accept() { QDialog::accept(); } +inline void promoted_closeEvent(QCloseEvent* arg__1) { QDialog::closeEvent(arg__1); } +inline void promoted_contextMenuEvent(QContextMenuEvent* arg__1) { QDialog::contextMenuEvent(arg__1); } +inline void promoted_done(int arg__1) { QDialog::done(arg__1); } +inline bool promoted_eventFilter(QObject* arg__1, QEvent* arg__2) { return QDialog::eventFilter(arg__1, arg__2); } +inline void promoted_keyPressEvent(QKeyEvent* arg__1) { QDialog::keyPressEvent(arg__1); } +inline void promoted_reject() { QDialog::reject(); } +inline void promoted_resizeEvent(QResizeEvent* arg__1) { QDialog::resizeEvent(arg__1); } +inline void promoted_showEvent(QShowEvent* arg__1) { QDialog::showEvent(arg__1); } +}; + +class PythonQtWrapper_QDialog : public QObject +{ Q_OBJECT +public: +Q_ENUMS(DialogCode ) +enum DialogCode{ + Rejected = QDialog::Rejected, Accepted = QDialog::Accepted}; +public slots: +QDialog* new_QDialog(QWidget* parent = 0, Qt::WindowFlags f = 0); +void delete_QDialog(QDialog* obj) { delete obj; } + void closeEvent(QDialog* theWrappedObject, QCloseEvent* arg__1); + void contextMenuEvent(QDialog* theWrappedObject, QContextMenuEvent* arg__1); + bool eventFilter(QDialog* theWrappedObject, QObject* arg__1, QEvent* arg__2); + bool isSizeGripEnabled(QDialog* theWrappedObject) const; + void keyPressEvent(QDialog* theWrappedObject, QKeyEvent* arg__1); + QSize minimumSizeHint(QDialog* theWrappedObject) const; + void resizeEvent(QDialog* theWrappedObject, QResizeEvent* arg__1); + int result(QDialog* theWrappedObject) const; + void setModal(QDialog* theWrappedObject, bool modal); + void setResult(QDialog* theWrappedObject, int r); + void setSizeGripEnabled(QDialog* theWrappedObject, bool arg__1); + void setVisible(QDialog* theWrappedObject, bool visible); + void showEvent(QDialog* theWrappedObject, QShowEvent* arg__1); + QSize sizeHint(QDialog* theWrappedObject) const; +}; + + + + + +class PythonQtShell_QDialogButtonBox : public QDialogButtonBox +{ +public: + PythonQtShell_QDialogButtonBox(QDialogButtonBox::StandardButtons buttons, Qt::Orientation orientation = Qt::Horizontal, QWidget* parent = 0):QDialogButtonBox(buttons, orientation, parent),_wrapper(NULL) {}; + PythonQtShell_QDialogButtonBox(QWidget* parent = 0):QDialogButtonBox(parent),_wrapper(NULL) {}; + PythonQtShell_QDialogButtonBox(Qt::Orientation orientation, QWidget* parent = 0):QDialogButtonBox(orientation, parent),_wrapper(NULL) {}; + +virtual void actionEvent(QActionEvent* arg__1); +virtual void changeEvent(QEvent* event); +virtual void childEvent(QChildEvent* arg__1); +virtual void closeEvent(QCloseEvent* arg__1); +virtual void contextMenuEvent(QContextMenuEvent* arg__1); +virtual void customEvent(QEvent* arg__1); +virtual int devType() const; +virtual void dragEnterEvent(QDragEnterEvent* arg__1); +virtual void dragLeaveEvent(QDragLeaveEvent* arg__1); +virtual void dragMoveEvent(QDragMoveEvent* arg__1); +virtual void dropEvent(QDropEvent* arg__1); +virtual void enterEvent(QEvent* arg__1); +virtual bool event(QEvent* event); +virtual bool eventFilter(QObject* arg__1, QEvent* arg__2); +virtual void focusInEvent(QFocusEvent* arg__1); +virtual bool focusNextPrevChild(bool next); +virtual void focusOutEvent(QFocusEvent* arg__1); +virtual int heightForWidth(int arg__1) const; +virtual void hideEvent(QHideEvent* arg__1); +virtual void inputMethodEvent(QInputMethodEvent* arg__1); +virtual QVariant inputMethodQuery(Qt::InputMethodQuery arg__1) const; +virtual void keyPressEvent(QKeyEvent* arg__1); +virtual void keyReleaseEvent(QKeyEvent* arg__1); +virtual void languageChange(); +virtual void leaveEvent(QEvent* arg__1); +virtual int metric(QPaintDevice::PaintDeviceMetric arg__1) const; +virtual QSize minimumSizeHint() const; +virtual void mouseDoubleClickEvent(QMouseEvent* arg__1); +virtual void mouseMoveEvent(QMouseEvent* arg__1); +virtual void mousePressEvent(QMouseEvent* arg__1); +virtual void mouseReleaseEvent(QMouseEvent* arg__1); +virtual void moveEvent(QMoveEvent* arg__1); +virtual QPaintEngine* paintEngine() const; +virtual void paintEvent(QPaintEvent* arg__1); +virtual void resizeEvent(QResizeEvent* arg__1); +virtual void showEvent(QShowEvent* arg__1); +virtual QSize sizeHint() const; +virtual void tabletEvent(QTabletEvent* arg__1); +virtual void timerEvent(QTimerEvent* arg__1); +virtual void wheelEvent(QWheelEvent* arg__1); + + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtPublicPromoter_QDialogButtonBox : public QDialogButtonBox +{ public: +inline void promoted_changeEvent(QEvent* event) { QDialogButtonBox::changeEvent(event); } +inline bool promoted_event(QEvent* event) { return QDialogButtonBox::event(event); } +}; + +class PythonQtWrapper_QDialogButtonBox : public QObject +{ Q_OBJECT +public: +Q_ENUMS(ButtonLayout ButtonRole StandardButton ) +Q_FLAGS(StandardButtons ) +enum ButtonLayout{ + WinLayout = QDialogButtonBox::WinLayout, MacLayout = QDialogButtonBox::MacLayout, KdeLayout = QDialogButtonBox::KdeLayout, GnomeLayout = QDialogButtonBox::GnomeLayout}; +enum ButtonRole{ + InvalidRole = QDialogButtonBox::InvalidRole, AcceptRole = QDialogButtonBox::AcceptRole, RejectRole = QDialogButtonBox::RejectRole, DestructiveRole = QDialogButtonBox::DestructiveRole, ActionRole = QDialogButtonBox::ActionRole, HelpRole = QDialogButtonBox::HelpRole, YesRole = QDialogButtonBox::YesRole, NoRole = QDialogButtonBox::NoRole, ResetRole = QDialogButtonBox::ResetRole, ApplyRole = QDialogButtonBox::ApplyRole, NRoles = QDialogButtonBox::NRoles}; +enum StandardButton{ + NoButton = QDialogButtonBox::NoButton, Ok = QDialogButtonBox::Ok, Save = QDialogButtonBox::Save, SaveAll = QDialogButtonBox::SaveAll, Open = QDialogButtonBox::Open, Yes = QDialogButtonBox::Yes, YesToAll = QDialogButtonBox::YesToAll, No = QDialogButtonBox::No, NoToAll = QDialogButtonBox::NoToAll, Abort = QDialogButtonBox::Abort, Retry = QDialogButtonBox::Retry, Ignore = QDialogButtonBox::Ignore, Close = QDialogButtonBox::Close, Cancel = QDialogButtonBox::Cancel, Discard = QDialogButtonBox::Discard, Help = QDialogButtonBox::Help, Apply = QDialogButtonBox::Apply, Reset = QDialogButtonBox::Reset, RestoreDefaults = QDialogButtonBox::RestoreDefaults, FirstButton = QDialogButtonBox::FirstButton, LastButton = QDialogButtonBox::LastButton}; +Q_DECLARE_FLAGS(StandardButtons, StandardButton) +public slots: +QDialogButtonBox* new_QDialogButtonBox(QDialogButtonBox::StandardButtons buttons, Qt::Orientation orientation = Qt::Horizontal, QWidget* parent = 0); +QDialogButtonBox* new_QDialogButtonBox(QWidget* parent = 0); +QDialogButtonBox* new_QDialogButtonBox(Qt::Orientation orientation, QWidget* parent = 0); +void delete_QDialogButtonBox(QDialogButtonBox* obj) { delete obj; } + void addButton(QDialogButtonBox* theWrappedObject, QAbstractButton* button, QDialogButtonBox::ButtonRole role); + QPushButton* addButton(QDialogButtonBox* theWrappedObject, QDialogButtonBox::StandardButton button); + QPushButton* addButton(QDialogButtonBox* theWrappedObject, const QString& text, QDialogButtonBox::ButtonRole role); + QPushButton* button(QDialogButtonBox* theWrappedObject, QDialogButtonBox::StandardButton which) const; + QDialogButtonBox::ButtonRole buttonRole(QDialogButtonBox* theWrappedObject, QAbstractButton* button) const; + QList buttons(QDialogButtonBox* theWrappedObject) const; + bool centerButtons(QDialogButtonBox* theWrappedObject) const; + void changeEvent(QDialogButtonBox* theWrappedObject, QEvent* event); + void clear(QDialogButtonBox* theWrappedObject); + bool event(QDialogButtonBox* theWrappedObject, QEvent* event); + Qt::Orientation orientation(QDialogButtonBox* theWrappedObject) const; + void removeButton(QDialogButtonBox* theWrappedObject, QAbstractButton* button); + void setCenterButtons(QDialogButtonBox* theWrappedObject, bool center); + void setOrientation(QDialogButtonBox* theWrappedObject, Qt::Orientation orientation); + void setStandardButtons(QDialogButtonBox* theWrappedObject, QDialogButtonBox::StandardButtons buttons); + QDialogButtonBox::StandardButton standardButton(QDialogButtonBox* theWrappedObject, QAbstractButton* button) const; + QDialogButtonBox::StandardButtons standardButtons(QDialogButtonBox* theWrappedObject) const; +}; + + + + + +class PythonQtShell_QDockWidget : public QDockWidget +{ +public: + PythonQtShell_QDockWidget(QWidget* parent = 0, Qt::WindowFlags flags = 0):QDockWidget(parent, flags),_wrapper(NULL) {}; + PythonQtShell_QDockWidget(const QString& title, QWidget* parent = 0, Qt::WindowFlags flags = 0):QDockWidget(title, parent, flags),_wrapper(NULL) {}; + +virtual void actionEvent(QActionEvent* arg__1); +virtual void changeEvent(QEvent* event); +virtual void childEvent(QChildEvent* arg__1); +virtual void closeEvent(QCloseEvent* event); +virtual void contextMenuEvent(QContextMenuEvent* arg__1); +virtual void customEvent(QEvent* arg__1); +virtual int devType() const; +virtual void dragEnterEvent(QDragEnterEvent* arg__1); +virtual void dragLeaveEvent(QDragLeaveEvent* arg__1); +virtual void dragMoveEvent(QDragMoveEvent* arg__1); +virtual void dropEvent(QDropEvent* arg__1); +virtual void enterEvent(QEvent* arg__1); +virtual bool event(QEvent* event); +virtual bool eventFilter(QObject* arg__1, QEvent* arg__2); +virtual void focusInEvent(QFocusEvent* arg__1); +virtual bool focusNextPrevChild(bool next); +virtual void focusOutEvent(QFocusEvent* arg__1); +virtual int heightForWidth(int arg__1) const; +virtual void hideEvent(QHideEvent* arg__1); +virtual void inputMethodEvent(QInputMethodEvent* arg__1); +virtual QVariant inputMethodQuery(Qt::InputMethodQuery arg__1) const; +virtual void keyPressEvent(QKeyEvent* arg__1); +virtual void keyReleaseEvent(QKeyEvent* arg__1); +virtual void languageChange(); +virtual void leaveEvent(QEvent* arg__1); +virtual int metric(QPaintDevice::PaintDeviceMetric arg__1) const; +virtual QSize minimumSizeHint() const; +virtual void mouseDoubleClickEvent(QMouseEvent* arg__1); +virtual void mouseMoveEvent(QMouseEvent* arg__1); +virtual void mousePressEvent(QMouseEvent* arg__1); +virtual void mouseReleaseEvent(QMouseEvent* arg__1); +virtual void moveEvent(QMoveEvent* arg__1); +virtual QPaintEngine* paintEngine() const; +virtual void paintEvent(QPaintEvent* event); +virtual void resizeEvent(QResizeEvent* arg__1); +virtual void showEvent(QShowEvent* arg__1); +virtual QSize sizeHint() const; +virtual void tabletEvent(QTabletEvent* arg__1); +virtual void timerEvent(QTimerEvent* arg__1); +virtual void wheelEvent(QWheelEvent* arg__1); + + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtPublicPromoter_QDockWidget : public QDockWidget +{ public: +inline void promoted_changeEvent(QEvent* event) { QDockWidget::changeEvent(event); } +inline void promoted_closeEvent(QCloseEvent* event) { QDockWidget::closeEvent(event); } +inline bool promoted_event(QEvent* event) { return QDockWidget::event(event); } +inline void promoted_paintEvent(QPaintEvent* event) { QDockWidget::paintEvent(event); } +}; + +class PythonQtWrapper_QDockWidget : public QObject +{ Q_OBJECT +public: +Q_ENUMS(DockWidgetFeature ) +Q_FLAGS(DockWidgetFeatures ) +enum DockWidgetFeature{ + DockWidgetClosable = QDockWidget::DockWidgetClosable, DockWidgetMovable = QDockWidget::DockWidgetMovable, DockWidgetFloatable = QDockWidget::DockWidgetFloatable, DockWidgetVerticalTitleBar = QDockWidget::DockWidgetVerticalTitleBar, DockWidgetFeatureMask = QDockWidget::DockWidgetFeatureMask, AllDockWidgetFeatures = QDockWidget::AllDockWidgetFeatures, NoDockWidgetFeatures = QDockWidget::NoDockWidgetFeatures, Reserved = QDockWidget::Reserved}; +Q_DECLARE_FLAGS(DockWidgetFeatures, DockWidgetFeature) +public slots: +QDockWidget* new_QDockWidget(QWidget* parent = 0, Qt::WindowFlags flags = 0); +QDockWidget* new_QDockWidget(const QString& title, QWidget* parent = 0, Qt::WindowFlags flags = 0); +void delete_QDockWidget(QDockWidget* obj) { delete obj; } + Qt::DockWidgetAreas allowedAreas(QDockWidget* theWrappedObject) const; + void changeEvent(QDockWidget* theWrappedObject, QEvent* event); + void closeEvent(QDockWidget* theWrappedObject, QCloseEvent* event); + bool event(QDockWidget* theWrappedObject, QEvent* event); + QDockWidget::DockWidgetFeatures features(QDockWidget* theWrappedObject) const; + bool isAreaAllowed(QDockWidget* theWrappedObject, Qt::DockWidgetArea area) const; + bool isFloating(QDockWidget* theWrappedObject) const; + void paintEvent(QDockWidget* theWrappedObject, QPaintEvent* event); + void setAllowedAreas(QDockWidget* theWrappedObject, Qt::DockWidgetAreas areas); + void setFeatures(QDockWidget* theWrappedObject, QDockWidget::DockWidgetFeatures features); + void setFloating(QDockWidget* theWrappedObject, bool floating); + void setTitleBarWidget(QDockWidget* theWrappedObject, QWidget* widget); + void setWidget(QDockWidget* theWrappedObject, QWidget* widget); + QWidget* titleBarWidget(QDockWidget* theWrappedObject) const; + QAction* toggleViewAction(QDockWidget* theWrappedObject) const; + QWidget* widget(QDockWidget* theWrappedObject) const; +}; + + + + + +class PythonQtShell_QDoubleSpinBox : public QDoubleSpinBox +{ +public: + PythonQtShell_QDoubleSpinBox(QWidget* parent = 0):QDoubleSpinBox(parent),_wrapper(NULL) {}; + +virtual void actionEvent(QActionEvent* arg__1); +virtual void changeEvent(QEvent* event); +virtual void childEvent(QChildEvent* arg__1); +virtual void clear(); +virtual void closeEvent(QCloseEvent* event); +virtual void contextMenuEvent(QContextMenuEvent* event); +virtual void customEvent(QEvent* arg__1); +virtual int devType() const; +virtual void dragEnterEvent(QDragEnterEvent* arg__1); +virtual void dragLeaveEvent(QDragLeaveEvent* arg__1); +virtual void dragMoveEvent(QDragMoveEvent* arg__1); +virtual void dropEvent(QDropEvent* arg__1); +virtual void enterEvent(QEvent* arg__1); +virtual bool event(QEvent* event); +virtual bool eventFilter(QObject* arg__1, QEvent* arg__2); +virtual void fixup(QString& str) const; +virtual void focusInEvent(QFocusEvent* event); +virtual bool focusNextPrevChild(bool next); +virtual void focusOutEvent(QFocusEvent* event); +virtual int heightForWidth(int arg__1) const; +virtual void hideEvent(QHideEvent* event); +virtual void inputMethodEvent(QInputMethodEvent* arg__1); +virtual QVariant inputMethodQuery(Qt::InputMethodQuery arg__1) const; +virtual void keyPressEvent(QKeyEvent* event); +virtual void keyReleaseEvent(QKeyEvent* event); +virtual void languageChange(); +virtual void leaveEvent(QEvent* arg__1); +virtual int metric(QPaintDevice::PaintDeviceMetric arg__1) const; +virtual void mouseDoubleClickEvent(QMouseEvent* arg__1); +virtual void mouseMoveEvent(QMouseEvent* event); +virtual void mousePressEvent(QMouseEvent* event); +virtual void mouseReleaseEvent(QMouseEvent* event); +virtual void moveEvent(QMoveEvent* arg__1); +virtual QPaintEngine* paintEngine() const; +virtual void paintEvent(QPaintEvent* event); +virtual void resizeEvent(QResizeEvent* event); +virtual void showEvent(QShowEvent* event); +virtual void stepBy(int steps); +virtual QAbstractSpinBox::StepEnabled stepEnabled() const; +virtual void tabletEvent(QTabletEvent* arg__1); +virtual QString textFromValue(double val) const; +virtual void timerEvent(QTimerEvent* event); +virtual QValidator::State validate(QString& input, int& pos) const; +virtual double valueFromText(const QString& text) const; +virtual void wheelEvent(QWheelEvent* event); + + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtPublicPromoter_QDoubleSpinBox : public QDoubleSpinBox +{ public: +inline void promoted_fixup(QString& str) const { QDoubleSpinBox::fixup(str); } +inline QString promoted_textFromValue(double val) const { return QDoubleSpinBox::textFromValue(val); } +inline QValidator::State promoted_validate(QString& input, int& pos) const { return QDoubleSpinBox::validate(input, pos); } +inline double promoted_valueFromText(const QString& text) const { return QDoubleSpinBox::valueFromText(text); } +}; + +class PythonQtWrapper_QDoubleSpinBox : public QObject +{ Q_OBJECT +public: +public slots: +QDoubleSpinBox* new_QDoubleSpinBox(QWidget* parent = 0); +void delete_QDoubleSpinBox(QDoubleSpinBox* obj) { delete obj; } + QString cleanText(QDoubleSpinBox* theWrappedObject) const; + int decimals(QDoubleSpinBox* theWrappedObject) const; + void fixup(QDoubleSpinBox* theWrappedObject, QString& str) const; + double maximum(QDoubleSpinBox* theWrappedObject) const; + double minimum(QDoubleSpinBox* theWrappedObject) const; + QString prefix(QDoubleSpinBox* theWrappedObject) const; + void setDecimals(QDoubleSpinBox* theWrappedObject, int prec); + void setMaximum(QDoubleSpinBox* theWrappedObject, double max); + void setMinimum(QDoubleSpinBox* theWrappedObject, double min); + void setPrefix(QDoubleSpinBox* theWrappedObject, const QString& prefix); + void setRange(QDoubleSpinBox* theWrappedObject, double min, double max); + void setSingleStep(QDoubleSpinBox* theWrappedObject, double val); + void setSuffix(QDoubleSpinBox* theWrappedObject, const QString& suffix); + double singleStep(QDoubleSpinBox* theWrappedObject) const; + QString suffix(QDoubleSpinBox* theWrappedObject) const; + QString textFromValue(QDoubleSpinBox* theWrappedObject, double val) const; + QValidator::State validate(QDoubleSpinBox* theWrappedObject, QString& input, int& pos) const; + double value(QDoubleSpinBox* theWrappedObject) const; + double valueFromText(QDoubleSpinBox* theWrappedObject, const QString& text) const; +}; + + + + + +class PythonQtShell_QDoubleValidator : public QDoubleValidator +{ +public: + PythonQtShell_QDoubleValidator(QObject* parent):QDoubleValidator(parent),_wrapper(NULL) {}; + PythonQtShell_QDoubleValidator(double bottom, double top, int decimals, QObject* parent):QDoubleValidator(bottom, top, decimals, parent),_wrapper(NULL) {}; + +virtual void childEvent(QChildEvent* arg__1); +virtual void customEvent(QEvent* arg__1); +virtual bool event(QEvent* arg__1); +virtual bool eventFilter(QObject* arg__1, QEvent* arg__2); +virtual void fixup(QString& arg__1) const; +virtual void setRange(double bottom, double top, int decimals = 0); +virtual void timerEvent(QTimerEvent* arg__1); +virtual QValidator::State validate(QString& arg__1, int& arg__2) const; + + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtPublicPromoter_QDoubleValidator : public QDoubleValidator +{ public: +inline void promoted_setRange(double bottom, double top, int decimals = 0) { QDoubleValidator::setRange(bottom, top, decimals); } +inline QValidator::State promoted_validate(QString& arg__1, int& arg__2) const { return QDoubleValidator::validate(arg__1, arg__2); } +}; + +class PythonQtWrapper_QDoubleValidator : public QObject +{ Q_OBJECT +public: +Q_ENUMS(Notation ) +enum Notation{ + StandardNotation = QDoubleValidator::StandardNotation, ScientificNotation = QDoubleValidator::ScientificNotation}; +public slots: +QDoubleValidator* new_QDoubleValidator(QObject* parent); +QDoubleValidator* new_QDoubleValidator(double bottom, double top, int decimals, QObject* parent); +void delete_QDoubleValidator(QDoubleValidator* obj) { delete obj; } + double bottom(QDoubleValidator* theWrappedObject) const; + int decimals(QDoubleValidator* theWrappedObject) const; + QDoubleValidator::Notation notation(QDoubleValidator* theWrappedObject) const; + void setBottom(QDoubleValidator* theWrappedObject, double arg__1); + void setDecimals(QDoubleValidator* theWrappedObject, int arg__1); + void setNotation(QDoubleValidator* theWrappedObject, QDoubleValidator::Notation arg__1); + void setRange(QDoubleValidator* theWrappedObject, double bottom, double top, int decimals = 0); + void setTop(QDoubleValidator* theWrappedObject, double arg__1); + double top(QDoubleValidator* theWrappedObject) const; + QValidator::State validate(QDoubleValidator* theWrappedObject, QString& arg__1, int& arg__2) const; +}; + + + + + +class PythonQtShell_QDrag : public QDrag +{ +public: + PythonQtShell_QDrag(QWidget* dragSource):QDrag(dragSource),_wrapper(NULL) {}; + +virtual void childEvent(QChildEvent* arg__1); +virtual void customEvent(QEvent* arg__1); +virtual bool event(QEvent* arg__1); +virtual bool eventFilter(QObject* arg__1, QEvent* arg__2); +virtual void timerEvent(QTimerEvent* arg__1); + + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtWrapper_QDrag : public QObject +{ Q_OBJECT +public: +public slots: +QDrag* new_QDrag(QWidget* dragSource); +void delete_QDrag(QDrag* obj) { delete obj; } + Qt::DropAction exec(QDrag* theWrappedObject, Qt::DropActions supportedActions = Qt::MoveAction); + Qt::DropAction exec(QDrag* theWrappedObject, Qt::DropActions supportedActions, Qt::DropAction defaultAction); + QPoint hotSpot(QDrag* theWrappedObject) const; + QMimeData* mimeData(QDrag* theWrappedObject) const; + QPixmap pixmap(QDrag* theWrappedObject) const; + void setDragCursor(QDrag* theWrappedObject, const QPixmap& cursor, Qt::DropAction action); + void setHotSpot(QDrag* theWrappedObject, const QPoint& hotspot); + void setMimeData(QDrag* theWrappedObject, QMimeData* data); + void setPixmap(QDrag* theWrappedObject, const QPixmap& arg__1); + QWidget* source(QDrag* theWrappedObject) const; + QWidget* target(QDrag* theWrappedObject) const; +}; + + + + + +class PythonQtWrapper_QDragEnterEvent : public QObject +{ Q_OBJECT +public: +public slots: +QDragEnterEvent* new_QDragEnterEvent(const QPoint& pos, Qt::DropActions actions, const QMimeData* data, Qt::MouseButtons buttons, Qt::KeyboardModifiers modifiers); +void delete_QDragEnterEvent(QDragEnterEvent* obj) { delete obj; } +}; + + + + + +class PythonQtWrapper_QDragLeaveEvent : public QObject +{ Q_OBJECT +public: +public slots: +QDragLeaveEvent* new_QDragLeaveEvent(); +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) {}; + + + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtWrapper_QDragMoveEvent : public QObject +{ Q_OBJECT +public: +public slots: +QDragMoveEvent* new_QDragMoveEvent(const QPoint& pos, Qt::DropActions actions, const QMimeData* data, Qt::MouseButtons buttons, Qt::KeyboardModifiers modifiers, QEvent::Type type = QEvent::DragMove); +void delete_QDragMoveEvent(QDragMoveEvent* obj) { delete obj; } + void accept(QDragMoveEvent* theWrappedObject, const QRect& r); + QRect answerRect(QDragMoveEvent* theWrappedObject) const; + void ignore(QDragMoveEvent* theWrappedObject, const QRect& r); +}; + + + + + +class PythonQtShell_QDragResponseEvent : public QDragResponseEvent +{ +public: + PythonQtShell_QDragResponseEvent(bool accepted):QDragResponseEvent(accepted),_wrapper(NULL) {}; + + + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtWrapper_QDragResponseEvent : public QObject +{ Q_OBJECT +public: +public slots: +QDragResponseEvent* new_QDragResponseEvent(bool accepted); +void delete_QDragResponseEvent(QDragResponseEvent* obj) { delete obj; } + bool dragAccepted(QDragResponseEvent* theWrappedObject) const; +}; + + + + + +class PythonQtShell_QDropEvent : public QDropEvent +{ +public: + PythonQtShell_QDropEvent(const QPoint& pos, Qt::DropActions actions, const QMimeData* data, Qt::MouseButtons buttons, Qt::KeyboardModifiers modifiers, QEvent::Type type = QEvent::Drop):QDropEvent(pos, actions, data, buttons, modifiers, type),_wrapper(NULL) {}; + + + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtWrapper_QDropEvent : public QObject +{ Q_OBJECT +public: +public slots: +QDropEvent* new_QDropEvent(const QPoint& pos, Qt::DropActions actions, const QMimeData* data, Qt::MouseButtons buttons, Qt::KeyboardModifiers modifiers, QEvent::Type type = QEvent::Drop); +void delete_QDropEvent(QDropEvent* obj) { delete obj; } + void acceptProposedAction(QDropEvent* theWrappedObject); + Qt::DropAction dropAction(QDropEvent* theWrappedObject) const; + Qt::KeyboardModifiers keyboardModifiers(QDropEvent* theWrappedObject) const; + const QMimeData* mimeData(QDropEvent* theWrappedObject) const; + Qt::MouseButtons mouseButtons(QDropEvent* theWrappedObject) const; + const QPoint* pos(QDropEvent* theWrappedObject) const; + Qt::DropActions possibleActions(QDropEvent* theWrappedObject) const; + Qt::DropAction proposedAction(QDropEvent* theWrappedObject) const; + void setDropAction(QDropEvent* theWrappedObject, Qt::DropAction action); + QWidget* source(QDropEvent* theWrappedObject) const; +}; + + diff --git a/generated_cpp_47/com_trolltech_qt_gui/com_trolltech_qt_gui10.cpp b/generated_cpp_47/com_trolltech_qt_gui/com_trolltech_qt_gui10.cpp new file mode 100644 index 00000000..391341f2 --- /dev/null +++ b/generated_cpp_47/com_trolltech_qt_gui/com_trolltech_qt_gui10.cpp @@ -0,0 +1,14700 @@ +#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 + +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)); +} + +QString PythonQtWrapper_QToolTip::static_QToolTip_text() +{ + return (QToolTip::text()); +} + + + +QTouchEvent* PythonQtWrapper_QTouchEvent::new_QTouchEvent(QEvent::Type eventType, QTouchEvent::DeviceType deviceType, Qt::KeyboardModifiers modifiers, Qt::TouchPointStates touchPointStates, const QList& touchPoints) +{ +return new PythonQtShell_QTouchEvent(eventType, deviceType, modifiers, touchPointStates, touchPoints); } + +QTouchEvent::DeviceType PythonQtWrapper_QTouchEvent::deviceType(QTouchEvent* theWrappedObject) const +{ + return ( theWrappedObject->deviceType()); +} + +void PythonQtWrapper_QTouchEvent::setDeviceType(QTouchEvent* theWrappedObject, QTouchEvent::DeviceType adeviceType) +{ + ( theWrappedObject->setDeviceType(adeviceType)); +} + +void PythonQtWrapper_QTouchEvent::setTouchPointStates(QTouchEvent* theWrappedObject, Qt::TouchPointStates aTouchPointStates) +{ + ( theWrappedObject->setTouchPointStates(aTouchPointStates)); +} + +void PythonQtWrapper_QTouchEvent::setTouchPoints(QTouchEvent* theWrappedObject, const QList& atouchPoints) +{ + ( theWrappedObject->setTouchPoints(atouchPoints)); +} + +void PythonQtWrapper_QTouchEvent::setWidget(QTouchEvent* theWrappedObject, QWidget* awidget) +{ + ( theWrappedObject->setWidget(awidget)); +} + +Qt::TouchPointStates PythonQtWrapper_QTouchEvent::touchPointStates(QTouchEvent* theWrappedObject) const +{ + return ( theWrappedObject->touchPointStates()); +} + +const QList* PythonQtWrapper_QTouchEvent::touchPoints(QTouchEvent* theWrappedObject) const +{ + return &( theWrappedObject->touchPoints()); +} + +QWidget* PythonQtWrapper_QTouchEvent::widget(QTouchEvent* theWrappedObject) const +{ + return ( theWrappedObject->widget()); +} + + + +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); } + +int PythonQtWrapper_QTouchEvent_TouchPoint::id(QTouchEvent::TouchPoint* theWrappedObject) const +{ + return ( theWrappedObject->id()); +} + +bool PythonQtWrapper_QTouchEvent_TouchPoint::isPrimary(QTouchEvent::TouchPoint* theWrappedObject) const +{ + return ( theWrappedObject->isPrimary()); +} + +QPointF PythonQtWrapper_QTouchEvent_TouchPoint::lastNormalizedPos(QTouchEvent::TouchPoint* theWrappedObject) const +{ + return ( theWrappedObject->lastNormalizedPos()); +} + +QPointF PythonQtWrapper_QTouchEvent_TouchPoint::lastPos(QTouchEvent::TouchPoint* theWrappedObject) const +{ + return ( theWrappedObject->lastPos()); +} + +QPointF PythonQtWrapper_QTouchEvent_TouchPoint::lastScenePos(QTouchEvent::TouchPoint* theWrappedObject) const +{ + return ( theWrappedObject->lastScenePos()); +} + +QPointF PythonQtWrapper_QTouchEvent_TouchPoint::lastScreenPos(QTouchEvent::TouchPoint* theWrappedObject) const +{ + return ( theWrappedObject->lastScreenPos()); +} + +QPointF PythonQtWrapper_QTouchEvent_TouchPoint::normalizedPos(QTouchEvent::TouchPoint* theWrappedObject) const +{ + return ( theWrappedObject->normalizedPos()); +} + +QTouchEvent::TouchPoint* PythonQtWrapper_QTouchEvent_TouchPoint::operator_assign(QTouchEvent::TouchPoint* theWrappedObject, const QTouchEvent::TouchPoint& other) +{ + return &( (*theWrappedObject)= other); +} + +QPointF PythonQtWrapper_QTouchEvent_TouchPoint::pos(QTouchEvent::TouchPoint* theWrappedObject) const +{ + return ( theWrappedObject->pos()); +} + +qreal PythonQtWrapper_QTouchEvent_TouchPoint::pressure(QTouchEvent::TouchPoint* theWrappedObject) const +{ + return ( theWrappedObject->pressure()); +} + +QRectF PythonQtWrapper_QTouchEvent_TouchPoint::rect(QTouchEvent::TouchPoint* theWrappedObject) const +{ + return ( theWrappedObject->rect()); +} + +QPointF PythonQtWrapper_QTouchEvent_TouchPoint::scenePos(QTouchEvent::TouchPoint* theWrappedObject) const +{ + return ( theWrappedObject->scenePos()); +} + +QRectF PythonQtWrapper_QTouchEvent_TouchPoint::sceneRect(QTouchEvent::TouchPoint* theWrappedObject) const +{ + return ( theWrappedObject->sceneRect()); +} + +QPointF PythonQtWrapper_QTouchEvent_TouchPoint::screenPos(QTouchEvent::TouchPoint* theWrappedObject) const +{ + return ( theWrappedObject->screenPos()); +} + +QRectF PythonQtWrapper_QTouchEvent_TouchPoint::screenRect(QTouchEvent::TouchPoint* theWrappedObject) const +{ + return ( theWrappedObject->screenRect()); +} + +void PythonQtWrapper_QTouchEvent_TouchPoint::setId(QTouchEvent::TouchPoint* theWrappedObject, int id) +{ + ( theWrappedObject->setId(id)); +} + +void PythonQtWrapper_QTouchEvent_TouchPoint::setLastNormalizedPos(QTouchEvent::TouchPoint* theWrappedObject, const QPointF& lastNormalizedPos) +{ + ( theWrappedObject->setLastNormalizedPos(lastNormalizedPos)); +} + +void PythonQtWrapper_QTouchEvent_TouchPoint::setLastPos(QTouchEvent::TouchPoint* theWrappedObject, const QPointF& lastPos) +{ + ( theWrappedObject->setLastPos(lastPos)); +} + +void PythonQtWrapper_QTouchEvent_TouchPoint::setLastScenePos(QTouchEvent::TouchPoint* theWrappedObject, const QPointF& lastScenePos) +{ + ( theWrappedObject->setLastScenePos(lastScenePos)); +} + +void PythonQtWrapper_QTouchEvent_TouchPoint::setLastScreenPos(QTouchEvent::TouchPoint* theWrappedObject, const QPointF& lastScreenPos) +{ + ( theWrappedObject->setLastScreenPos(lastScreenPos)); +} + +void PythonQtWrapper_QTouchEvent_TouchPoint::setNormalizedPos(QTouchEvent::TouchPoint* theWrappedObject, const QPointF& normalizedPos) +{ + ( theWrappedObject->setNormalizedPos(normalizedPos)); +} + +void PythonQtWrapper_QTouchEvent_TouchPoint::setPos(QTouchEvent::TouchPoint* theWrappedObject, const QPointF& pos) +{ + ( theWrappedObject->setPos(pos)); +} + +void PythonQtWrapper_QTouchEvent_TouchPoint::setPressure(QTouchEvent::TouchPoint* theWrappedObject, qreal pressure) +{ + ( theWrappedObject->setPressure(pressure)); +} + +void PythonQtWrapper_QTouchEvent_TouchPoint::setRect(QTouchEvent::TouchPoint* theWrappedObject, const QRectF& rect) +{ + ( theWrappedObject->setRect(rect)); +} + +void PythonQtWrapper_QTouchEvent_TouchPoint::setScenePos(QTouchEvent::TouchPoint* theWrappedObject, const QPointF& scenePos) +{ + ( theWrappedObject->setScenePos(scenePos)); +} + +void PythonQtWrapper_QTouchEvent_TouchPoint::setSceneRect(QTouchEvent::TouchPoint* theWrappedObject, const QRectF& sceneRect) +{ + ( theWrappedObject->setSceneRect(sceneRect)); +} + +void PythonQtWrapper_QTouchEvent_TouchPoint::setScreenPos(QTouchEvent::TouchPoint* theWrappedObject, const QPointF& screenPos) +{ + ( theWrappedObject->setScreenPos(screenPos)); +} + +void PythonQtWrapper_QTouchEvent_TouchPoint::setScreenRect(QTouchEvent::TouchPoint* theWrappedObject, const QRectF& screenRect) +{ + ( theWrappedObject->setScreenRect(screenRect)); +} + +void PythonQtWrapper_QTouchEvent_TouchPoint::setStartNormalizedPos(QTouchEvent::TouchPoint* theWrappedObject, const QPointF& startNormalizedPos) +{ + ( theWrappedObject->setStartNormalizedPos(startNormalizedPos)); +} + +void PythonQtWrapper_QTouchEvent_TouchPoint::setStartPos(QTouchEvent::TouchPoint* theWrappedObject, const QPointF& startPos) +{ + ( theWrappedObject->setStartPos(startPos)); +} + +void PythonQtWrapper_QTouchEvent_TouchPoint::setStartScenePos(QTouchEvent::TouchPoint* theWrappedObject, const QPointF& startScenePos) +{ + ( theWrappedObject->setStartScenePos(startScenePos)); +} + +void PythonQtWrapper_QTouchEvent_TouchPoint::setStartScreenPos(QTouchEvent::TouchPoint* theWrappedObject, const QPointF& startScreenPos) +{ + ( theWrappedObject->setStartScreenPos(startScreenPos)); +} + +void PythonQtWrapper_QTouchEvent_TouchPoint::setState(QTouchEvent::TouchPoint* theWrappedObject, Qt::TouchPointStates state) +{ + ( theWrappedObject->setState(state)); +} + +QPointF PythonQtWrapper_QTouchEvent_TouchPoint::startNormalizedPos(QTouchEvent::TouchPoint* theWrappedObject) const +{ + return ( theWrappedObject->startNormalizedPos()); +} + +QPointF PythonQtWrapper_QTouchEvent_TouchPoint::startPos(QTouchEvent::TouchPoint* theWrappedObject) const +{ + return ( theWrappedObject->startPos()); +} + +QPointF PythonQtWrapper_QTouchEvent_TouchPoint::startScenePos(QTouchEvent::TouchPoint* theWrappedObject) const +{ + return ( theWrappedObject->startScenePos()); +} + +QPointF PythonQtWrapper_QTouchEvent_TouchPoint::startScreenPos(QTouchEvent::TouchPoint* theWrappedObject) const +{ + return ( theWrappedObject->startScreenPos()); +} + +Qt::TouchPointState PythonQtWrapper_QTouchEvent_TouchPoint::state(QTouchEvent::TouchPoint* theWrappedObject) const +{ + return ( theWrappedObject->state()); +} + + + +QTransform* PythonQtWrapper_QTransform::new_QTransform() +{ +return new QTransform(); } + +QTransform* PythonQtWrapper_QTransform::new_QTransform(const QMatrix& mtx) +{ +return new QTransform(mtx); } + +QTransform* PythonQtWrapper_QTransform::new_QTransform(qreal h11, qreal h12, qreal h13, qreal h21, qreal h22, qreal h23, 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)); +} + +void PythonQtWrapper_QTransform::map(QTransform* theWrappedObject, qreal x, qreal y, qreal* tx, qreal* ty) const +{ + ( theWrappedObject->map(x, y, tx, ty)); +} + +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; +} + + + +void PythonQtShell_QTreeView::actionEvent(QActionEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "actionEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QActionEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QTreeView::actionEvent(arg__1); +} +void PythonQtShell_QTreeView::changeEvent(QEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "changeEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QTreeView::changeEvent(arg__1); +} +void PythonQtShell_QTreeView::childEvent(QChildEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "childEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QChildEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QTreeView::childEvent(arg__1); +} +void PythonQtShell_QTreeView::closeEditor(QWidget* editor, QAbstractItemDelegate::EndEditHint hint) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "closeEditor"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QWidget*" , "QAbstractItemDelegate::EndEditHint"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + void* args[3] = {NULL, (void*)&editor, (void*)&hint}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QTreeView::closeEditor(editor, hint); +} +void PythonQtShell_QTreeView::closeEvent(QCloseEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "closeEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QCloseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QTreeView::closeEvent(arg__1); +} +void PythonQtShell_QTreeView::commitData(QWidget* editor) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "commitData"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QWidget*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&editor}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QTreeView::commitData(editor); +} +void PythonQtShell_QTreeView::contextMenuEvent(QContextMenuEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "contextMenuEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QContextMenuEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QTreeView::contextMenuEvent(arg__1); +} +void PythonQtShell_QTreeView::currentChanged(const QModelIndex& current, const QModelIndex& previous) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "currentChanged"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "const QModelIndex&" , "const QModelIndex&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + void* args[3] = {NULL, (void*)¤t, (void*)&previous}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QTreeView::currentChanged(current, previous); +} +void PythonQtShell_QTreeView::customEvent(QEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "customEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QTreeView::customEvent(arg__1); +} +void PythonQtShell_QTreeView::dataChanged(const QModelIndex& topLeft, const QModelIndex& bottomRight) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dataChanged"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "const QModelIndex&" , "const QModelIndex&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + void* args[3] = {NULL, (void*)&topLeft, (void*)&bottomRight}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QTreeView::dataChanged(topLeft, bottomRight); +} +int PythonQtShell_QTreeView::devType() const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "devType"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + int returnValue; + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("devType", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QTreeView::devType(); +} +void PythonQtShell_QTreeView::doItemsLayout() +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "doItemsLayout"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={""}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QTreeView::doItemsLayout(); +} +void PythonQtShell_QTreeView::dragEnterEvent(QDragEnterEvent* event) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dragEnterEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QDragEnterEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&event}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QTreeView::dragEnterEvent(event); +} +void PythonQtShell_QTreeView::dragLeaveEvent(QDragLeaveEvent* event) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dragLeaveEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QDragLeaveEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&event}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QTreeView::dragLeaveEvent(event); +} +void PythonQtShell_QTreeView::dragMoveEvent(QDragMoveEvent* event) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dragMoveEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QDragMoveEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&event}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QTreeView::dragMoveEvent(event); +} +void PythonQtShell_QTreeView::drawBranches(QPainter* painter, const QRect& rect, const QModelIndex& index) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "drawBranches"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QPainter*" , "const QRect&" , "const QModelIndex&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + void* args[4] = {NULL, (void*)&painter, (void*)&rect, (void*)&index}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QTreeView::drawBranches(painter, rect, index); +} +void PythonQtShell_QTreeView::drawRow(QPainter* painter, const QStyleOptionViewItem& options, const QModelIndex& index) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "drawRow"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QPainter*" , "const QStyleOptionViewItem&" , "const QModelIndex&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + void* args[4] = {NULL, (void*)&painter, (void*)&options, (void*)&index}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QTreeView::drawRow(painter, options, index); +} +void PythonQtShell_QTreeView::dropEvent(QDropEvent* event) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dropEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QDropEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&event}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QTreeView::dropEvent(event); +} +bool PythonQtShell_QTreeView::edit(const QModelIndex& index, QAbstractItemView::EditTrigger trigger, QEvent* event) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "edit"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "const QModelIndex&" , "QAbstractItemView::EditTrigger" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + bool returnValue; + void* args[4] = {NULL, (void*)&index, (void*)&trigger, (void*)&event}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("edit", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QTreeView::edit(index, trigger, event); +} +void PythonQtShell_QTreeView::editorDestroyed(QObject* editor) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "editorDestroyed"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QObject*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&editor}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QTreeView::editorDestroyed(editor); +} +void PythonQtShell_QTreeView::enterEvent(QEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "enterEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QTreeView::enterEvent(arg__1); +} +bool PythonQtShell_QTreeView::event(QEvent* event) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "event"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue; + void* args[2] = {NULL, (void*)&event}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QTreeView::event(event); +} +bool PythonQtShell_QTreeView::eventFilter(QObject* arg__1, QEvent* arg__2) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "eventFilter"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue; + void* args[3] = {NULL, (void*)&arg__1, (void*)&arg__2}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QTreeView::eventFilter(arg__1, arg__2); +} +void PythonQtShell_QTreeView::focusInEvent(QFocusEvent* event) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "focusInEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QFocusEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&event}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QTreeView::focusInEvent(event); +} +bool PythonQtShell_QTreeView::focusNextPrevChild(bool next) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "focusNextPrevChild"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue; + void* args[2] = {NULL, (void*)&next}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("focusNextPrevChild", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QTreeView::focusNextPrevChild(next); +} +void PythonQtShell_QTreeView::focusOutEvent(QFocusEvent* event) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "focusOutEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QFocusEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&event}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QTreeView::focusOutEvent(event); +} +int PythonQtShell_QTreeView::heightForWidth(int arg__1) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "heightForWidth"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"int" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + int returnValue; + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("heightForWidth", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QTreeView::heightForWidth(arg__1); +} +void PythonQtShell_QTreeView::hideEvent(QHideEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "hideEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QHideEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QTreeView::hideEvent(arg__1); +} +int PythonQtShell_QTreeView::horizontalOffset() const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "horizontalOffset"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + int returnValue; + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("horizontalOffset", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QTreeView::horizontalOffset(); +} +void PythonQtShell_QTreeView::horizontalScrollbarAction(int action) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "horizontalScrollbarAction"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&action}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QTreeView::horizontalScrollbarAction(action); +} +void PythonQtShell_QTreeView::horizontalScrollbarValueChanged(int value) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "horizontalScrollbarValueChanged"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&value}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QTreeView::horizontalScrollbarValueChanged(value); +} +QModelIndex PythonQtShell_QTreeView::indexAt(const QPoint& p) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "indexAt"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QModelIndex" , "const QPoint&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + QModelIndex returnValue; + void* args[2] = {NULL, (void*)&p}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("indexAt", methodInfo, result); + } else { + returnValue = *((QModelIndex*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QTreeView::indexAt(p); +} +void PythonQtShell_QTreeView::inputMethodEvent(QInputMethodEvent* event) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "inputMethodEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QInputMethodEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&event}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QTreeView::inputMethodEvent(event); +} +QVariant PythonQtShell_QTreeView::inputMethodQuery(Qt::InputMethodQuery query) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "inputMethodQuery"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QVariant" , "Qt::InputMethodQuery"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + QVariant returnValue; + void* args[2] = {NULL, (void*)&query}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result); + } else { + returnValue = *((QVariant*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QTreeView::inputMethodQuery(query); +} +bool PythonQtShell_QTreeView::isIndexHidden(const QModelIndex& index) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "isIndexHidden"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "const QModelIndex&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue; + void* args[2] = {NULL, (void*)&index}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("isIndexHidden", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QTreeView::isIndexHidden(index); +} +void PythonQtShell_QTreeView::keyPressEvent(QKeyEvent* event) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "keyPressEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QKeyEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&event}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QTreeView::keyPressEvent(event); +} +void PythonQtShell_QTreeView::keyReleaseEvent(QKeyEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "keyReleaseEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QKeyEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QTreeView::keyReleaseEvent(arg__1); +} +void PythonQtShell_QTreeView::keyboardSearch(const QString& search) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "keyboardSearch"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "const QString&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&search}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QTreeView::keyboardSearch(search); +} +void PythonQtShell_QTreeView::languageChange() +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "languageChange"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={""}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QTreeView::languageChange(); +} +void PythonQtShell_QTreeView::leaveEvent(QEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "leaveEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QTreeView::leaveEvent(arg__1); +} +int PythonQtShell_QTreeView::metric(QPaintDevice::PaintDeviceMetric arg__1) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "metric"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + int returnValue; + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("metric", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QTreeView::metric(arg__1); +} +void PythonQtShell_QTreeView::mouseDoubleClickEvent(QMouseEvent* event) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mouseDoubleClickEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&event}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QTreeView::mouseDoubleClickEvent(event); +} +void PythonQtShell_QTreeView::mouseMoveEvent(QMouseEvent* event) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mouseMoveEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&event}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QTreeView::mouseMoveEvent(event); +} +void PythonQtShell_QTreeView::mousePressEvent(QMouseEvent* event) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mousePressEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&event}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QTreeView::mousePressEvent(event); +} +void PythonQtShell_QTreeView::mouseReleaseEvent(QMouseEvent* event) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mouseReleaseEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&event}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QTreeView::mouseReleaseEvent(event); +} +void PythonQtShell_QTreeView::moveEvent(QMoveEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "moveEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QMoveEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QTreeView::moveEvent(arg__1); +} +QPaintEngine* PythonQtShell_QTreeView::paintEngine() const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "paintEngine"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QPaintEngine*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QPaintEngine* returnValue; + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); + } else { + returnValue = *((QPaintEngine**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QTreeView::paintEngine(); +} +void PythonQtShell_QTreeView::paintEvent(QPaintEvent* event) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "paintEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QPaintEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&event}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QTreeView::paintEvent(event); +} +void PythonQtShell_QTreeView::reset() +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "reset"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={""}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QTreeView::reset(); +} +void PythonQtShell_QTreeView::resizeEvent(QResizeEvent* event) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "resizeEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QResizeEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&event}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QTreeView::resizeEvent(event); +} +void PythonQtShell_QTreeView::rowsAboutToBeRemoved(const QModelIndex& parent, int start, int end) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "rowsAboutToBeRemoved"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "const QModelIndex&" , "int" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + void* args[4] = {NULL, (void*)&parent, (void*)&start, (void*)&end}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QTreeView::rowsAboutToBeRemoved(parent, start, end); +} +void PythonQtShell_QTreeView::rowsInserted(const QModelIndex& parent, int start, int end) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "rowsInserted"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "const QModelIndex&" , "int" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + void* args[4] = {NULL, (void*)&parent, (void*)&start, (void*)&end}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QTreeView::rowsInserted(parent, start, end); +} +void PythonQtShell_QTreeView::scrollContentsBy(int dx, int dy) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "scrollContentsBy"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "int" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + void* args[3] = {NULL, (void*)&dx, (void*)&dy}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QTreeView::scrollContentsBy(dx, dy); +} +void PythonQtShell_QTreeView::scrollTo(const QModelIndex& index, QAbstractItemView::ScrollHint hint) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "scrollTo"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "const QModelIndex&" , "QAbstractItemView::ScrollHint"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + void* args[3] = {NULL, (void*)&index, (void*)&hint}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QTreeView::scrollTo(index, hint); +} +void PythonQtShell_QTreeView::selectAll() +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "selectAll"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={""}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QTreeView::selectAll(); +} +QList PythonQtShell_QTreeView::selectedIndexes() const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "selectedIndexes"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QList"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QList returnValue; + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("selectedIndexes", methodInfo, result); + } else { + returnValue = *((QList*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QTreeView::selectedIndexes(); +} +void PythonQtShell_QTreeView::selectionChanged(const QItemSelection& selected, const QItemSelection& deselected) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "selectionChanged"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "const QItemSelection&" , "const QItemSelection&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + void* args[3] = {NULL, (void*)&selected, (void*)&deselected}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QTreeView::selectionChanged(selected, deselected); +} +QItemSelectionModel::SelectionFlags PythonQtShell_QTreeView::selectionCommand(const QModelIndex& index, const QEvent* event) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "selectionCommand"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QItemSelectionModel::SelectionFlags" , "const QModelIndex&" , "const QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + QItemSelectionModel::SelectionFlags returnValue; + void* args[3] = {NULL, (void*)&index, (void*)&event}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("selectionCommand", methodInfo, result); + } else { + returnValue = *((QItemSelectionModel::SelectionFlags*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QTreeView::selectionCommand(index, event); +} +void PythonQtShell_QTreeView::setModel(QAbstractItemModel* model) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "setModel"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QAbstractItemModel*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&model}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QTreeView::setModel(model); +} +void PythonQtShell_QTreeView::setRootIndex(const QModelIndex& index) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "setRootIndex"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "const QModelIndex&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&index}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QTreeView::setRootIndex(index); +} +void PythonQtShell_QTreeView::setSelection(const QRect& rect, QItemSelectionModel::SelectionFlags command) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "setSelection"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "const QRect&" , "QItemSelectionModel::SelectionFlags"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + void* args[3] = {NULL, (void*)&rect, (void*)&command}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QTreeView::setSelection(rect, command); +} +void PythonQtShell_QTreeView::setSelectionModel(QItemSelectionModel* selectionModel) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "setSelectionModel"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QItemSelectionModel*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&selectionModel}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QTreeView::setSelectionModel(selectionModel); +} +void PythonQtShell_QTreeView::showEvent(QShowEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "showEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QShowEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QTreeView::showEvent(arg__1); +} +int PythonQtShell_QTreeView::sizeHintForColumn(int column) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "sizeHintForColumn"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"int" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + int returnValue; + void* args[2] = {NULL, (void*)&column}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("sizeHintForColumn", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QTreeView::sizeHintForColumn(column); +} +int PythonQtShell_QTreeView::sizeHintForRow(int row) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "sizeHintForRow"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"int" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + int returnValue; + void* args[2] = {NULL, (void*)&row}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("sizeHintForRow", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QTreeView::sizeHintForRow(row); +} +void PythonQtShell_QTreeView::startDrag(Qt::DropActions supportedActions) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "startDrag"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "Qt::DropActions"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&supportedActions}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QTreeView::startDrag(supportedActions); +} +void PythonQtShell_QTreeView::tabletEvent(QTabletEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "tabletEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QTabletEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QTreeView::tabletEvent(arg__1); +} +void PythonQtShell_QTreeView::timerEvent(QTimerEvent* event) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "timerEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QTimerEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&event}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QTreeView::timerEvent(event); +} +void PythonQtShell_QTreeView::updateEditorData() +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "updateEditorData"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={""}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QTreeView::updateEditorData(); +} +void PythonQtShell_QTreeView::updateEditorGeometries() +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "updateEditorGeometries"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={""}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QTreeView::updateEditorGeometries(); +} +void PythonQtShell_QTreeView::updateGeometries() +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "updateGeometries"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={""}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QTreeView::updateGeometries(); +} +int PythonQtShell_QTreeView::verticalOffset() const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "verticalOffset"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + int returnValue; + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("verticalOffset", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QTreeView::verticalOffset(); +} +void PythonQtShell_QTreeView::verticalScrollbarAction(int action) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "verticalScrollbarAction"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&action}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QTreeView::verticalScrollbarAction(action); +} +void PythonQtShell_QTreeView::verticalScrollbarValueChanged(int value) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "verticalScrollbarValueChanged"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&value}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QTreeView::verticalScrollbarValueChanged(value); +} +QStyleOptionViewItem PythonQtShell_QTreeView::viewOptions() const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "viewOptions"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QStyleOptionViewItem"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QStyleOptionViewItem returnValue; + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("viewOptions", methodInfo, result); + } else { + returnValue = *((QStyleOptionViewItem*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QTreeView::viewOptions(); +} +bool PythonQtShell_QTreeView::viewportEvent(QEvent* event) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "viewportEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue; + void* args[2] = {NULL, (void*)&event}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("viewportEvent", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QTreeView::viewportEvent(event); +} +QRect PythonQtShell_QTreeView::visualRect(const QModelIndex& index) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "visualRect"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QRect" , "const QModelIndex&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + QRect returnValue; + void* args[2] = {NULL, (void*)&index}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("visualRect", methodInfo, result); + } else { + returnValue = *((QRect*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QTreeView::visualRect(index); +} +QRegion PythonQtShell_QTreeView::visualRegionForSelection(const QItemSelection& selection) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "visualRegionForSelection"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QRegion" , "const QItemSelection&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + QRegion returnValue; + void* args[2] = {NULL, (void*)&selection}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("visualRegionForSelection", methodInfo, result); + } else { + returnValue = *((QRegion*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QTreeView::visualRegionForSelection(selection); +} +void PythonQtShell_QTreeView::wheelEvent(QWheelEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "wheelEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QWheelEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QTreeView::wheelEvent(arg__1); +} +QTreeView* PythonQtWrapper_QTreeView::new_QTreeView(QWidget* parent) +{ +return new PythonQtShell_QTreeView(parent); } + +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::currentChanged(QTreeView* theWrappedObject, const QModelIndex& current, const QModelIndex& previous) +{ + ( ((PythonQtPublicPromoter_QTreeView*)theWrappedObject)->promoted_currentChanged(current, previous)); +} + +void PythonQtWrapper_QTreeView::dataChanged(QTreeView* theWrappedObject, const QModelIndex& topLeft, const QModelIndex& bottomRight) +{ + ( ((PythonQtPublicPromoter_QTreeView*)theWrappedObject)->promoted_dataChanged(topLeft, bottomRight)); +} + +void PythonQtWrapper_QTreeView::doItemsLayout(QTreeView* theWrappedObject) +{ + ( ((PythonQtPublicPromoter_QTreeView*)theWrappedObject)->promoted_doItemsLayout()); +} + +void PythonQtWrapper_QTreeView::dragMoveEvent(QTreeView* theWrappedObject, QDragMoveEvent* event) +{ + ( ((PythonQtPublicPromoter_QTreeView*)theWrappedObject)->promoted_dragMoveEvent(event)); +} + +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)); +} + +bool PythonQtWrapper_QTreeView::expandsOnDoubleClick(QTreeView* theWrappedObject) const +{ + return ( theWrappedObject->expandsOnDoubleClick()); +} + +QHeaderView* PythonQtWrapper_QTreeView::header(QTreeView* theWrappedObject) const +{ + return ( theWrappedObject->header()); +} + +int PythonQtWrapper_QTreeView::horizontalOffset(QTreeView* theWrappedObject) const +{ + return ( ((PythonQtPublicPromoter_QTreeView*)theWrappedObject)->promoted_horizontalOffset()); +} + +void PythonQtWrapper_QTreeView::horizontalScrollbarAction(QTreeView* theWrappedObject, int action) +{ + ( ((PythonQtPublicPromoter_QTreeView*)theWrappedObject)->promoted_horizontalScrollbarAction(action)); +} + +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::indexAt(QTreeView* theWrappedObject, const QPoint& p) const +{ + return ( ((PythonQtPublicPromoter_QTreeView*)theWrappedObject)->promoted_indexAt(p)); +} + +QModelIndex PythonQtWrapper_QTreeView::indexBelow(QTreeView* theWrappedObject, const QModelIndex& index) const +{ + return ( theWrappedObject->indexBelow(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::isIndexHidden(QTreeView* theWrappedObject, const QModelIndex& index) const +{ + return ( ((PythonQtPublicPromoter_QTreeView*)theWrappedObject)->promoted_isIndexHidden(index)); +} + +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::keyPressEvent(QTreeView* theWrappedObject, QKeyEvent* event) +{ + ( ((PythonQtPublicPromoter_QTreeView*)theWrappedObject)->promoted_keyPressEvent(event)); +} + +void PythonQtWrapper_QTreeView::keyboardSearch(QTreeView* theWrappedObject, const QString& search) +{ + ( ((PythonQtPublicPromoter_QTreeView*)theWrappedObject)->promoted_keyboardSearch(search)); +} + +void PythonQtWrapper_QTreeView::mouseDoubleClickEvent(QTreeView* theWrappedObject, QMouseEvent* event) +{ + ( ((PythonQtPublicPromoter_QTreeView*)theWrappedObject)->promoted_mouseDoubleClickEvent(event)); +} + +void PythonQtWrapper_QTreeView::mouseMoveEvent(QTreeView* theWrappedObject, QMouseEvent* event) +{ + ( ((PythonQtPublicPromoter_QTreeView*)theWrappedObject)->promoted_mouseMoveEvent(event)); +} + +void PythonQtWrapper_QTreeView::mousePressEvent(QTreeView* theWrappedObject, QMouseEvent* event) +{ + ( ((PythonQtPublicPromoter_QTreeView*)theWrappedObject)->promoted_mousePressEvent(event)); +} + +void PythonQtWrapper_QTreeView::mouseReleaseEvent(QTreeView* theWrappedObject, QMouseEvent* event) +{ + ( ((PythonQtPublicPromoter_QTreeView*)theWrappedObject)->promoted_mouseReleaseEvent(event)); +} + +void PythonQtWrapper_QTreeView::paintEvent(QTreeView* theWrappedObject, QPaintEvent* event) +{ + ( ((PythonQtPublicPromoter_QTreeView*)theWrappedObject)->promoted_paintEvent(event)); +} + +void PythonQtWrapper_QTreeView::reset(QTreeView* theWrappedObject) +{ + ( ((PythonQtPublicPromoter_QTreeView*)theWrappedObject)->promoted_reset()); +} + +bool PythonQtWrapper_QTreeView::rootIsDecorated(QTreeView* theWrappedObject) const +{ + return ( theWrappedObject->rootIsDecorated()); +} + +void PythonQtWrapper_QTreeView::rowsAboutToBeRemoved(QTreeView* theWrappedObject, const QModelIndex& parent, int start, int end) +{ + ( ((PythonQtPublicPromoter_QTreeView*)theWrappedObject)->promoted_rowsAboutToBeRemoved(parent, start, end)); +} + +void PythonQtWrapper_QTreeView::rowsInserted(QTreeView* theWrappedObject, const QModelIndex& parent, int start, int end) +{ + ( ((PythonQtPublicPromoter_QTreeView*)theWrappedObject)->promoted_rowsInserted(parent, start, end)); +} + +void PythonQtWrapper_QTreeView::scrollContentsBy(QTreeView* theWrappedObject, int dx, int dy) +{ + ( ((PythonQtPublicPromoter_QTreeView*)theWrappedObject)->promoted_scrollContentsBy(dx, dy)); +} + +void PythonQtWrapper_QTreeView::scrollTo(QTreeView* theWrappedObject, const QModelIndex& index, QAbstractItemView::ScrollHint hint) +{ + ( ((PythonQtPublicPromoter_QTreeView*)theWrappedObject)->promoted_scrollTo(index, hint)); +} + +void PythonQtWrapper_QTreeView::selectAll(QTreeView* theWrappedObject) +{ + ( ((PythonQtPublicPromoter_QTreeView*)theWrappedObject)->promoted_selectAll()); +} + +QList PythonQtWrapper_QTreeView::selectedIndexes(QTreeView* theWrappedObject) const +{ + return ( ((PythonQtPublicPromoter_QTreeView*)theWrappedObject)->promoted_selectedIndexes()); +} + +void PythonQtWrapper_QTreeView::selectionChanged(QTreeView* theWrappedObject, const QItemSelection& selected, const QItemSelection& deselected) +{ + ( ((PythonQtPublicPromoter_QTreeView*)theWrappedObject)->promoted_selectionChanged(selected, deselected)); +} + +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 PythonQtWrapper_QTreeView::setItemsExpandable(QTreeView* theWrappedObject, bool enable) +{ + ( theWrappedObject->setItemsExpandable(enable)); +} + +void PythonQtWrapper_QTreeView::setModel(QTreeView* theWrappedObject, QAbstractItemModel* model) +{ + ( ((PythonQtPublicPromoter_QTreeView*)theWrappedObject)->promoted_setModel(model)); +} + +void PythonQtWrapper_QTreeView::setRootIndex(QTreeView* theWrappedObject, const QModelIndex& index) +{ + ( ((PythonQtPublicPromoter_QTreeView*)theWrappedObject)->promoted_setRootIndex(index)); +} + +void PythonQtWrapper_QTreeView::setRootIsDecorated(QTreeView* theWrappedObject, bool show) +{ + ( theWrappedObject->setRootIsDecorated(show)); +} + +void PythonQtWrapper_QTreeView::setRowHidden(QTreeView* theWrappedObject, int row, const QModelIndex& parent, bool hide) +{ + ( theWrappedObject->setRowHidden(row, parent, hide)); +} + +void PythonQtWrapper_QTreeView::setSelection(QTreeView* theWrappedObject, const QRect& rect, QItemSelectionModel::SelectionFlags command) +{ + ( ((PythonQtPublicPromoter_QTreeView*)theWrappedObject)->promoted_setSelection(rect, command)); +} + +void PythonQtWrapper_QTreeView::setSelectionModel(QTreeView* theWrappedObject, QItemSelectionModel* selectionModel) +{ + ( ((PythonQtPublicPromoter_QTreeView*)theWrappedObject)->promoted_setSelectionModel(selectionModel)); +} + +void PythonQtWrapper_QTreeView::setSortingEnabled(QTreeView* theWrappedObject, bool enable) +{ + ( theWrappedObject->setSortingEnabled(enable)); +} + +void PythonQtWrapper_QTreeView::setUniformRowHeights(QTreeView* theWrappedObject, bool uniform) +{ + ( theWrappedObject->setUniformRowHeights(uniform)); +} + +void PythonQtWrapper_QTreeView::setWordWrap(QTreeView* theWrappedObject, bool on) +{ + ( theWrappedObject->setWordWrap(on)); +} + +int PythonQtWrapper_QTreeView::sizeHintForColumn(QTreeView* theWrappedObject, int column) const +{ + return ( ((PythonQtPublicPromoter_QTreeView*)theWrappedObject)->promoted_sizeHintForColumn(column)); +} + +void PythonQtWrapper_QTreeView::sortByColumn(QTreeView* theWrappedObject, int column, Qt::SortOrder order) +{ + ( theWrappedObject->sortByColumn(column, order)); +} + +void PythonQtWrapper_QTreeView::timerEvent(QTreeView* theWrappedObject, QTimerEvent* event) +{ + ( ((PythonQtPublicPromoter_QTreeView*)theWrappedObject)->promoted_timerEvent(event)); +} + +bool PythonQtWrapper_QTreeView::uniformRowHeights(QTreeView* theWrappedObject) const +{ + return ( theWrappedObject->uniformRowHeights()); +} + +void PythonQtWrapper_QTreeView::updateGeometries(QTreeView* theWrappedObject) +{ + ( ((PythonQtPublicPromoter_QTreeView*)theWrappedObject)->promoted_updateGeometries()); +} + +int PythonQtWrapper_QTreeView::verticalOffset(QTreeView* theWrappedObject) const +{ + return ( ((PythonQtPublicPromoter_QTreeView*)theWrappedObject)->promoted_verticalOffset()); +} + +bool PythonQtWrapper_QTreeView::viewportEvent(QTreeView* theWrappedObject, QEvent* event) +{ + return ( ((PythonQtPublicPromoter_QTreeView*)theWrappedObject)->promoted_viewportEvent(event)); +} + +QRect PythonQtWrapper_QTreeView::visualRect(QTreeView* theWrappedObject, const QModelIndex& index) const +{ + return ( ((PythonQtPublicPromoter_QTreeView*)theWrappedObject)->promoted_visualRect(index)); +} + +QRegion PythonQtWrapper_QTreeView::visualRegionForSelection(QTreeView* theWrappedObject, const QItemSelection& selection) const +{ + return ( ((PythonQtPublicPromoter_QTreeView*)theWrappedObject)->promoted_visualRegionForSelection(selection)); +} + +bool PythonQtWrapper_QTreeView::wordWrap(QTreeView* theWrappedObject) const +{ + return ( theWrappedObject->wordWrap()); +} + + + +void PythonQtShell_QTreeWidget::actionEvent(QActionEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "actionEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QActionEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QTreeWidget::actionEvent(arg__1); +} +void PythonQtShell_QTreeWidget::changeEvent(QEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "changeEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QTreeWidget::changeEvent(arg__1); +} +void PythonQtShell_QTreeWidget::childEvent(QChildEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "childEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QChildEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QTreeWidget::childEvent(arg__1); +} +void PythonQtShell_QTreeWidget::closeEditor(QWidget* editor, QAbstractItemDelegate::EndEditHint hint) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "closeEditor"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QWidget*" , "QAbstractItemDelegate::EndEditHint"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + void* args[3] = {NULL, (void*)&editor, (void*)&hint}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QTreeWidget::closeEditor(editor, hint); +} +void PythonQtShell_QTreeWidget::closeEvent(QCloseEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "closeEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QCloseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QTreeWidget::closeEvent(arg__1); +} +void PythonQtShell_QTreeWidget::commitData(QWidget* editor) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "commitData"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QWidget*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&editor}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QTreeWidget::commitData(editor); +} +void PythonQtShell_QTreeWidget::contextMenuEvent(QContextMenuEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "contextMenuEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QContextMenuEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QTreeWidget::contextMenuEvent(arg__1); +} +void PythonQtShell_QTreeWidget::currentChanged(const QModelIndex& current, const QModelIndex& previous) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "currentChanged"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "const QModelIndex&" , "const QModelIndex&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + void* args[3] = {NULL, (void*)¤t, (void*)&previous}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QTreeWidget::currentChanged(current, previous); +} +void PythonQtShell_QTreeWidget::customEvent(QEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "customEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QTreeWidget::customEvent(arg__1); +} +void PythonQtShell_QTreeWidget::dataChanged(const QModelIndex& topLeft, const QModelIndex& bottomRight) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dataChanged"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "const QModelIndex&" , "const QModelIndex&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + void* args[3] = {NULL, (void*)&topLeft, (void*)&bottomRight}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QTreeWidget::dataChanged(topLeft, bottomRight); +} +int PythonQtShell_QTreeWidget::devType() const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "devType"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + int returnValue; + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("devType", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QTreeWidget::devType(); +} +void PythonQtShell_QTreeWidget::doItemsLayout() +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "doItemsLayout"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={""}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QTreeWidget::doItemsLayout(); +} +void PythonQtShell_QTreeWidget::dragEnterEvent(QDragEnterEvent* event) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dragEnterEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QDragEnterEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&event}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QTreeWidget::dragEnterEvent(event); +} +void PythonQtShell_QTreeWidget::dragLeaveEvent(QDragLeaveEvent* event) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dragLeaveEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QDragLeaveEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&event}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QTreeWidget::dragLeaveEvent(event); +} +void PythonQtShell_QTreeWidget::dragMoveEvent(QDragMoveEvent* event) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dragMoveEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QDragMoveEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&event}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QTreeWidget::dragMoveEvent(event); +} +void PythonQtShell_QTreeWidget::drawBranches(QPainter* painter, const QRect& rect, const QModelIndex& index) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "drawBranches"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QPainter*" , "const QRect&" , "const QModelIndex&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + void* args[4] = {NULL, (void*)&painter, (void*)&rect, (void*)&index}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QTreeWidget::drawBranches(painter, rect, index); +} +void PythonQtShell_QTreeWidget::drawRow(QPainter* painter, const QStyleOptionViewItem& options, const QModelIndex& index) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "drawRow"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QPainter*" , "const QStyleOptionViewItem&" , "const QModelIndex&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + void* args[4] = {NULL, (void*)&painter, (void*)&options, (void*)&index}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QTreeWidget::drawRow(painter, options, index); +} +void PythonQtShell_QTreeWidget::dropEvent(QDropEvent* event) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dropEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QDropEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&event}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QTreeWidget::dropEvent(event); +} +bool PythonQtShell_QTreeWidget::dropMimeData(QTreeWidgetItem* parent, int index, const QMimeData* data, Qt::DropAction action) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dropMimeData"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "QTreeWidgetItem*" , "int" , "const QMimeData*" , "Qt::DropAction"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(5, argumentList); + bool returnValue; + void* args[5] = {NULL, (void*)&parent, (void*)&index, (void*)&data, (void*)&action}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("dropMimeData", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QTreeWidget::dropMimeData(parent, index, data, action); +} +bool PythonQtShell_QTreeWidget::edit(const QModelIndex& index, QAbstractItemView::EditTrigger trigger, QEvent* event) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "edit"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "const QModelIndex&" , "QAbstractItemView::EditTrigger" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + bool returnValue; + void* args[4] = {NULL, (void*)&index, (void*)&trigger, (void*)&event}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("edit", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QTreeWidget::edit(index, trigger, event); +} +void PythonQtShell_QTreeWidget::editorDestroyed(QObject* editor) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "editorDestroyed"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QObject*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&editor}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QTreeWidget::editorDestroyed(editor); +} +void PythonQtShell_QTreeWidget::enterEvent(QEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "enterEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QTreeWidget::enterEvent(arg__1); +} +bool PythonQtShell_QTreeWidget::event(QEvent* e) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "event"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue; + void* args[2] = {NULL, (void*)&e}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QTreeWidget::event(e); +} +bool PythonQtShell_QTreeWidget::eventFilter(QObject* arg__1, QEvent* arg__2) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "eventFilter"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue; + void* args[3] = {NULL, (void*)&arg__1, (void*)&arg__2}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QTreeWidget::eventFilter(arg__1, arg__2); +} +void PythonQtShell_QTreeWidget::focusInEvent(QFocusEvent* event) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "focusInEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QFocusEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&event}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QTreeWidget::focusInEvent(event); +} +bool PythonQtShell_QTreeWidget::focusNextPrevChild(bool next) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "focusNextPrevChild"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue; + void* args[2] = {NULL, (void*)&next}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("focusNextPrevChild", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QTreeWidget::focusNextPrevChild(next); +} +void PythonQtShell_QTreeWidget::focusOutEvent(QFocusEvent* event) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "focusOutEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QFocusEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&event}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QTreeWidget::focusOutEvent(event); +} +int PythonQtShell_QTreeWidget::heightForWidth(int arg__1) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "heightForWidth"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"int" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + int returnValue; + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("heightForWidth", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QTreeWidget::heightForWidth(arg__1); +} +void PythonQtShell_QTreeWidget::hideEvent(QHideEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "hideEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QHideEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QTreeWidget::hideEvent(arg__1); +} +int PythonQtShell_QTreeWidget::horizontalOffset() const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "horizontalOffset"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + int returnValue; + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("horizontalOffset", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QTreeWidget::horizontalOffset(); +} +void PythonQtShell_QTreeWidget::horizontalScrollbarAction(int action) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "horizontalScrollbarAction"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&action}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QTreeWidget::horizontalScrollbarAction(action); +} +void PythonQtShell_QTreeWidget::horizontalScrollbarValueChanged(int value) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "horizontalScrollbarValueChanged"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&value}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QTreeWidget::horizontalScrollbarValueChanged(value); +} +QModelIndex PythonQtShell_QTreeWidget::indexAt(const QPoint& p) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "indexAt"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QModelIndex" , "const QPoint&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + QModelIndex returnValue; + void* args[2] = {NULL, (void*)&p}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("indexAt", methodInfo, result); + } else { + returnValue = *((QModelIndex*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QTreeWidget::indexAt(p); +} +void PythonQtShell_QTreeWidget::inputMethodEvent(QInputMethodEvent* event) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "inputMethodEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QInputMethodEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&event}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QTreeWidget::inputMethodEvent(event); +} +QVariant PythonQtShell_QTreeWidget::inputMethodQuery(Qt::InputMethodQuery query) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "inputMethodQuery"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QVariant" , "Qt::InputMethodQuery"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + QVariant returnValue; + void* args[2] = {NULL, (void*)&query}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result); + } else { + returnValue = *((QVariant*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QTreeWidget::inputMethodQuery(query); +} +bool PythonQtShell_QTreeWidget::isIndexHidden(const QModelIndex& index) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "isIndexHidden"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "const QModelIndex&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue; + void* args[2] = {NULL, (void*)&index}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("isIndexHidden", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QTreeWidget::isIndexHidden(index); +} +void PythonQtShell_QTreeWidget::keyPressEvent(QKeyEvent* event) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "keyPressEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QKeyEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&event}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QTreeWidget::keyPressEvent(event); +} +void PythonQtShell_QTreeWidget::keyReleaseEvent(QKeyEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "keyReleaseEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QKeyEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QTreeWidget::keyReleaseEvent(arg__1); +} +void PythonQtShell_QTreeWidget::keyboardSearch(const QString& search) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "keyboardSearch"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "const QString&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&search}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QTreeWidget::keyboardSearch(search); +} +void PythonQtShell_QTreeWidget::languageChange() +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "languageChange"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={""}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QTreeWidget::languageChange(); +} +void PythonQtShell_QTreeWidget::leaveEvent(QEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "leaveEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QTreeWidget::leaveEvent(arg__1); +} +int PythonQtShell_QTreeWidget::metric(QPaintDevice::PaintDeviceMetric arg__1) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "metric"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + int returnValue; + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("metric", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QTreeWidget::metric(arg__1); +} +QMimeData* PythonQtShell_QTreeWidget::mimeData(const QList items) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mimeData"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QMimeData*" , "const QList"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + QMimeData* returnValue; + void* args[2] = {NULL, (void*)&items}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("mimeData", methodInfo, result); + } else { + returnValue = *((QMimeData**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QTreeWidget::mimeData(items); +} +QStringList PythonQtShell_QTreeWidget::mimeTypes() const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mimeTypes"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QStringList"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QStringList returnValue; + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("mimeTypes", methodInfo, result); + } else { + returnValue = *((QStringList*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QTreeWidget::mimeTypes(); +} +void PythonQtShell_QTreeWidget::mouseDoubleClickEvent(QMouseEvent* event) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mouseDoubleClickEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&event}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QTreeWidget::mouseDoubleClickEvent(event); +} +void PythonQtShell_QTreeWidget::mouseMoveEvent(QMouseEvent* event) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mouseMoveEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&event}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QTreeWidget::mouseMoveEvent(event); +} +void PythonQtShell_QTreeWidget::mousePressEvent(QMouseEvent* event) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mousePressEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&event}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QTreeWidget::mousePressEvent(event); +} +void PythonQtShell_QTreeWidget::mouseReleaseEvent(QMouseEvent* event) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mouseReleaseEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&event}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QTreeWidget::mouseReleaseEvent(event); +} +void PythonQtShell_QTreeWidget::moveEvent(QMoveEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "moveEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QMoveEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QTreeWidget::moveEvent(arg__1); +} +QPaintEngine* PythonQtShell_QTreeWidget::paintEngine() const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "paintEngine"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QPaintEngine*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QPaintEngine* returnValue; + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); + } else { + returnValue = *((QPaintEngine**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QTreeWidget::paintEngine(); +} +void PythonQtShell_QTreeWidget::paintEvent(QPaintEvent* event) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "paintEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QPaintEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&event}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QTreeWidget::paintEvent(event); +} +void PythonQtShell_QTreeWidget::reset() +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "reset"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={""}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QTreeWidget::reset(); +} +void PythonQtShell_QTreeWidget::resizeEvent(QResizeEvent* event) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "resizeEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QResizeEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&event}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QTreeWidget::resizeEvent(event); +} +void PythonQtShell_QTreeWidget::rowsAboutToBeRemoved(const QModelIndex& parent, int start, int end) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "rowsAboutToBeRemoved"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "const QModelIndex&" , "int" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + void* args[4] = {NULL, (void*)&parent, (void*)&start, (void*)&end}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QTreeWidget::rowsAboutToBeRemoved(parent, start, end); +} +void PythonQtShell_QTreeWidget::rowsInserted(const QModelIndex& parent, int start, int end) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "rowsInserted"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "const QModelIndex&" , "int" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + void* args[4] = {NULL, (void*)&parent, (void*)&start, (void*)&end}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QTreeWidget::rowsInserted(parent, start, end); +} +void PythonQtShell_QTreeWidget::scrollContentsBy(int dx, int dy) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "scrollContentsBy"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "int" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + void* args[3] = {NULL, (void*)&dx, (void*)&dy}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QTreeWidget::scrollContentsBy(dx, dy); +} +void PythonQtShell_QTreeWidget::scrollTo(const QModelIndex& index, QAbstractItemView::ScrollHint hint) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "scrollTo"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "const QModelIndex&" , "QAbstractItemView::ScrollHint"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + void* args[3] = {NULL, (void*)&index, (void*)&hint}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QTreeWidget::scrollTo(index, hint); +} +void PythonQtShell_QTreeWidget::selectAll() +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "selectAll"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={""}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QTreeWidget::selectAll(); +} +QList PythonQtShell_QTreeWidget::selectedIndexes() const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "selectedIndexes"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QList"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QList returnValue; + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("selectedIndexes", methodInfo, result); + } else { + returnValue = *((QList*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QTreeWidget::selectedIndexes(); +} +void PythonQtShell_QTreeWidget::selectionChanged(const QItemSelection& selected, const QItemSelection& deselected) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "selectionChanged"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "const QItemSelection&" , "const QItemSelection&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + void* args[3] = {NULL, (void*)&selected, (void*)&deselected}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QTreeWidget::selectionChanged(selected, deselected); +} +QItemSelectionModel::SelectionFlags PythonQtShell_QTreeWidget::selectionCommand(const QModelIndex& index, const QEvent* event) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "selectionCommand"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QItemSelectionModel::SelectionFlags" , "const QModelIndex&" , "const QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + QItemSelectionModel::SelectionFlags returnValue; + void* args[3] = {NULL, (void*)&index, (void*)&event}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("selectionCommand", methodInfo, result); + } else { + returnValue = *((QItemSelectionModel::SelectionFlags*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QTreeWidget::selectionCommand(index, event); +} +void PythonQtShell_QTreeWidget::setRootIndex(const QModelIndex& index) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "setRootIndex"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "const QModelIndex&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&index}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QTreeWidget::setRootIndex(index); +} +void PythonQtShell_QTreeWidget::setSelection(const QRect& rect, QItemSelectionModel::SelectionFlags command) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "setSelection"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "const QRect&" , "QItemSelectionModel::SelectionFlags"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + void* args[3] = {NULL, (void*)&rect, (void*)&command}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QTreeWidget::setSelection(rect, command); +} +void PythonQtShell_QTreeWidget::setSelectionModel(QItemSelectionModel* selectionModel) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "setSelectionModel"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QItemSelectionModel*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&selectionModel}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QTreeWidget::setSelectionModel(selectionModel); +} +void PythonQtShell_QTreeWidget::showEvent(QShowEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "showEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QShowEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QTreeWidget::showEvent(arg__1); +} +int PythonQtShell_QTreeWidget::sizeHintForColumn(int column) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "sizeHintForColumn"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"int" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + int returnValue; + void* args[2] = {NULL, (void*)&column}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("sizeHintForColumn", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QTreeWidget::sizeHintForColumn(column); +} +int PythonQtShell_QTreeWidget::sizeHintForRow(int row) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "sizeHintForRow"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"int" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + int returnValue; + void* args[2] = {NULL, (void*)&row}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("sizeHintForRow", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QTreeWidget::sizeHintForRow(row); +} +void PythonQtShell_QTreeWidget::startDrag(Qt::DropActions supportedActions) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "startDrag"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "Qt::DropActions"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&supportedActions}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QTreeWidget::startDrag(supportedActions); +} +Qt::DropActions PythonQtShell_QTreeWidget::supportedDropActions() const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "supportedDropActions"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"Qt::DropActions"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + Qt::DropActions returnValue; + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("supportedDropActions", methodInfo, result); + } else { + returnValue = *((Qt::DropActions*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QTreeWidget::supportedDropActions(); +} +void PythonQtShell_QTreeWidget::tabletEvent(QTabletEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "tabletEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QTabletEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QTreeWidget::tabletEvent(arg__1); +} +void PythonQtShell_QTreeWidget::timerEvent(QTimerEvent* event) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "timerEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QTimerEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&event}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QTreeWidget::timerEvent(event); +} +void PythonQtShell_QTreeWidget::updateEditorData() +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "updateEditorData"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={""}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QTreeWidget::updateEditorData(); +} +void PythonQtShell_QTreeWidget::updateEditorGeometries() +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "updateEditorGeometries"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={""}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QTreeWidget::updateEditorGeometries(); +} +void PythonQtShell_QTreeWidget::updateGeometries() +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "updateGeometries"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={""}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QTreeWidget::updateGeometries(); +} +int PythonQtShell_QTreeWidget::verticalOffset() const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "verticalOffset"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + int returnValue; + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("verticalOffset", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QTreeWidget::verticalOffset(); +} +void PythonQtShell_QTreeWidget::verticalScrollbarAction(int action) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "verticalScrollbarAction"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&action}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QTreeWidget::verticalScrollbarAction(action); +} +void PythonQtShell_QTreeWidget::verticalScrollbarValueChanged(int value) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "verticalScrollbarValueChanged"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&value}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QTreeWidget::verticalScrollbarValueChanged(value); +} +QStyleOptionViewItem PythonQtShell_QTreeWidget::viewOptions() const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "viewOptions"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QStyleOptionViewItem"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QStyleOptionViewItem returnValue; + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("viewOptions", methodInfo, result); + } else { + returnValue = *((QStyleOptionViewItem*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QTreeWidget::viewOptions(); +} +bool PythonQtShell_QTreeWidget::viewportEvent(QEvent* event) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "viewportEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue; + void* args[2] = {NULL, (void*)&event}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("viewportEvent", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QTreeWidget::viewportEvent(event); +} +QRect PythonQtShell_QTreeWidget::visualRect(const QModelIndex& index) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "visualRect"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QRect" , "const QModelIndex&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + QRect returnValue; + void* args[2] = {NULL, (void*)&index}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("visualRect", methodInfo, result); + } else { + returnValue = *((QRect*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QTreeWidget::visualRect(index); +} +QRegion PythonQtShell_QTreeWidget::visualRegionForSelection(const QItemSelection& selection) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "visualRegionForSelection"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QRegion" , "const QItemSelection&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + QRegion returnValue; + void* args[2] = {NULL, (void*)&selection}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("visualRegionForSelection", methodInfo, result); + } else { + returnValue = *((QRegion*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QTreeWidget::visualRegionForSelection(selection); +} +void PythonQtShell_QTreeWidget::wheelEvent(QWheelEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "wheelEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QWheelEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QTreeWidget::wheelEvent(arg__1); +} +QTreeWidget* PythonQtWrapper_QTreeWidget::new_QTreeWidget(QWidget* parent) +{ +return new PythonQtShell_QTreeWidget(parent); } + +void PythonQtWrapper_QTreeWidget::addTopLevelItem(QTreeWidget* theWrappedObject, QTreeWidgetItem* item) +{ + ( theWrappedObject->addTopLevelItem(item)); +} + +void PythonQtWrapper_QTreeWidget::addTopLevelItems(QTreeWidget* theWrappedObject, const QList& 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()); +} + +void PythonQtWrapper_QTreeWidget::dropEvent(QTreeWidget* theWrappedObject, QDropEvent* event) +{ + ( ((PythonQtPublicPromoter_QTreeWidget*)theWrappedObject)->promoted_dropEvent(event)); +} + +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)); +} + +bool PythonQtWrapper_QTreeWidget::event(QTreeWidget* theWrappedObject, QEvent* e) +{ + return ( ((PythonQtPublicPromoter_QTreeWidget*)theWrappedObject)->promoted_event(e)); +} + +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()); +} + +int PythonQtWrapper_QTreeWidget::indexOfTopLevelItem(QTreeWidget* theWrappedObject, QTreeWidgetItem* item) const +{ + return ( theWrappedObject->indexOfTopLevelItem(item)); +} + +void PythonQtWrapper_QTreeWidget::insertTopLevelItem(QTreeWidget* theWrappedObject, int index, QTreeWidgetItem* item) +{ + ( theWrappedObject->insertTopLevelItem(index, item)); +} + +void PythonQtWrapper_QTreeWidget::insertTopLevelItems(QTreeWidget* theWrappedObject, int index, const QList& items) +{ + ( theWrappedObject->insertTopLevelItems(index, items)); +} + +QTreeWidgetItem* PythonQtWrapper_QTreeWidget::invisibleRootItem(QTreeWidget* theWrappedObject) const +{ + return ( theWrappedObject->invisibleRootItem()); +} + +bool PythonQtWrapper_QTreeWidget::isFirstItemColumnSpanned(QTreeWidget* theWrappedObject, const QTreeWidgetItem* item) const +{ + return ( theWrappedObject->isFirstItemColumnSpanned(item)); +} + +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)); +} + +QWidget* PythonQtWrapper_QTreeWidget::itemWidget(QTreeWidget* theWrappedObject, QTreeWidgetItem* item, int column) const +{ + return ( theWrappedObject->itemWidget(item, column)); +} + +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)); +} + +void PythonQtWrapper_QTreeWidget::setFirstItemColumnSpanned(QTreeWidget* theWrappedObject, const QTreeWidgetItem* item, bool span) +{ + ( theWrappedObject->setFirstItemColumnSpanned(item, span)); +} + +void PythonQtWrapper_QTreeWidget::setHeaderItem(QTreeWidget* theWrappedObject, QTreeWidgetItem* item) +{ + ( theWrappedObject->setHeaderItem(item)); +} + +void PythonQtWrapper_QTreeWidget::setHeaderLabel(QTreeWidget* theWrappedObject, const QString& label) +{ + ( theWrappedObject->setHeaderLabel(label)); +} + +void PythonQtWrapper_QTreeWidget::setHeaderLabels(QTreeWidget* theWrappedObject, const QStringList& labels) +{ + ( theWrappedObject->setHeaderLabels(labels)); +} + +void PythonQtWrapper_QTreeWidget::setItemWidget(QTreeWidget* theWrappedObject, QTreeWidgetItem* item, int column, QWidget* widget) +{ + ( theWrappedObject->setItemWidget(item, column, widget)); +} + +void PythonQtWrapper_QTreeWidget::setSelectionModel(QTreeWidget* theWrappedObject, QItemSelectionModel* selectionModel) +{ + ( ((PythonQtPublicPromoter_QTreeWidget*)theWrappedObject)->promoted_setSelectionModel(selectionModel)); +} + +int PythonQtWrapper_QTreeWidget::sortColumn(QTreeWidget* theWrappedObject) const +{ + return ( theWrappedObject->sortColumn()); +} + +void PythonQtWrapper_QTreeWidget::sortItems(QTreeWidget* theWrappedObject, int column, Qt::SortOrder order) +{ + ( theWrappedObject->sortItems(column, order)); +} + +Qt::DropActions PythonQtWrapper_QTreeWidget::supportedDropActions(QTreeWidget* theWrappedObject) const +{ + return ( ((PythonQtPublicPromoter_QTreeWidget*)theWrappedObject)->promoted_supportedDropActions()); +} + +QTreeWidgetItem* PythonQtWrapper_QTreeWidget::takeTopLevelItem(QTreeWidget* theWrappedObject, int index) +{ + return ( theWrappedObject->takeTopLevelItem(index)); +} + +QTreeWidgetItem* PythonQtWrapper_QTreeWidget::topLevelItem(QTreeWidget* theWrappedObject, int index) const +{ + return ( theWrappedObject->topLevelItem(index)); +} + +int PythonQtWrapper_QTreeWidget::topLevelItemCount(QTreeWidget* theWrappedObject) const +{ + return ( theWrappedObject->topLevelItemCount()); +} + +QRect PythonQtWrapper_QTreeWidget::visualItemRect(QTreeWidget* theWrappedObject, const QTreeWidgetItem* item) const +{ + return ( theWrappedObject->visualItemRect(item)); +} + + + +QTreeWidgetItem* PythonQtShell_QTreeWidgetItem::clone() const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "clone"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QTreeWidgetItem*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QTreeWidgetItem* returnValue; + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("clone", methodInfo, result); + } else { + returnValue = *((QTreeWidgetItem**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QTreeWidgetItem::clone(); +} +QVariant PythonQtShell_QTreeWidgetItem::data(int column, int role) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "data"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QVariant" , "int" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + QVariant returnValue; + void* args[3] = {NULL, (void*)&column, (void*)&role}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("data", methodInfo, result); + } else { + returnValue = *((QVariant*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QTreeWidgetItem::data(column, role); +} +bool PythonQtShell_QTreeWidgetItem::__lt__(const QTreeWidgetItem& other) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "__lt__"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "const QTreeWidgetItem&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue; + void* args[2] = {NULL, (void*)&other}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("__lt__", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QTreeWidgetItem::operator<(other); +} +void PythonQtShell_QTreeWidgetItem::read(QDataStream& in) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "read"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QDataStream&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&in}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QTreeWidgetItem::read(in); +} +void PythonQtShell_QTreeWidgetItem::setData(int column, int role, const QVariant& value) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "setData"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "int" , "int" , "const QVariant&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + void* args[4] = {NULL, (void*)&column, (void*)&role, (void*)&value}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QTreeWidgetItem::setData(column, role, value); +} +void PythonQtShell_QTreeWidgetItem::write(QDataStream& out) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "write"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QDataStream&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&out}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QTreeWidgetItem::write(out); +} +QTreeWidgetItem* PythonQtWrapper_QTreeWidgetItem::new_QTreeWidgetItem(QTreeWidget* view, QTreeWidgetItem* after, int type) +{ +return new PythonQtShell_QTreeWidgetItem(view, after, type); } + +QTreeWidgetItem* PythonQtWrapper_QTreeWidgetItem::new_QTreeWidgetItem(QTreeWidget* view, const QStringList& strings, int type) +{ +return new PythonQtShell_QTreeWidgetItem(view, strings, type); } + +QTreeWidgetItem* PythonQtWrapper_QTreeWidgetItem::new_QTreeWidgetItem(QTreeWidget* view, int type) +{ +return new PythonQtShell_QTreeWidgetItem(view, type); } + +QTreeWidgetItem* PythonQtWrapper_QTreeWidgetItem::new_QTreeWidgetItem(QTreeWidgetItem* parent, QTreeWidgetItem* after, int type) +{ +return new PythonQtShell_QTreeWidgetItem(parent, after, type); } + +QTreeWidgetItem* PythonQtWrapper_QTreeWidgetItem::new_QTreeWidgetItem(QTreeWidgetItem* parent, const QStringList& strings, int type) +{ +return new PythonQtShell_QTreeWidgetItem(parent, strings, type); } + +QTreeWidgetItem* PythonQtWrapper_QTreeWidgetItem::new_QTreeWidgetItem(QTreeWidgetItem* parent, int type) +{ +return new PythonQtShell_QTreeWidgetItem(parent, type); } + +QTreeWidgetItem* PythonQtWrapper_QTreeWidgetItem::new_QTreeWidgetItem(const QStringList& strings, int type) +{ +return new PythonQtShell_QTreeWidgetItem(strings, type); } + +QTreeWidgetItem* PythonQtWrapper_QTreeWidgetItem::new_QTreeWidgetItem(int type) +{ +return new PythonQtShell_QTreeWidgetItem(type); } + +void PythonQtWrapper_QTreeWidgetItem::addChild(QTreeWidgetItem* theWrappedObject, QTreeWidgetItem* child) +{ + ( theWrappedObject->addChild(child)); +} + +void PythonQtWrapper_QTreeWidgetItem::addChildren(QTreeWidgetItem* theWrappedObject, const QList& 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 ( ((PythonQtPublicPromoter_QTreeWidgetItem*)theWrappedObject)->promoted_clone()); +} + +int PythonQtWrapper_QTreeWidgetItem::columnCount(QTreeWidgetItem* theWrappedObject) const +{ + return ( theWrappedObject->columnCount()); +} + +QVariant PythonQtWrapper_QTreeWidgetItem::data(QTreeWidgetItem* theWrappedObject, int column, int role) const +{ + return ( ((PythonQtPublicPromoter_QTreeWidgetItem*)theWrappedObject)->promoted_data(column, role)); +} + +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, QTreeWidgetItem* child) +{ + ( theWrappedObject->insertChild(index, child)); +} + +void PythonQtWrapper_QTreeWidgetItem::insertChildren(QTreeWidgetItem* theWrappedObject, int index, const QList& 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::removeChild(QTreeWidgetItem* theWrappedObject, QTreeWidgetItem* 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) +{ + ( ((PythonQtPublicPromoter_QTreeWidgetItem*)theWrappedObject)->promoted_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)); +} + +void PythonQtWrapper_QTreeWidgetItem::setFlags(QTreeWidgetItem* theWrappedObject, Qt::ItemFlags flags) +{ + ( theWrappedObject->setFlags(flags)); +} + +void PythonQtWrapper_QTreeWidgetItem::setFont(QTreeWidgetItem* theWrappedObject, int column, const QFont& font) +{ + ( 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_QTreeWidgetItem::sortChildren(QTreeWidgetItem* theWrappedObject, int column, Qt::SortOrder order) +{ + ( theWrappedObject->sortChildren(column, order)); +} + +QString PythonQtWrapper_QTreeWidgetItem::statusTip(QTreeWidgetItem* theWrappedObject, int column) const +{ + return ( theWrappedObject->statusTip(column)); +} + +QTreeWidgetItem* PythonQtWrapper_QTreeWidgetItem::takeChild(QTreeWidgetItem* theWrappedObject, int index) +{ + return ( theWrappedObject->takeChild(index)); +} + +QList PythonQtWrapper_QTreeWidgetItem::takeChildren(QTreeWidgetItem* theWrappedObject) +{ + return ( theWrappedObject->takeChildren()); +} + +QString PythonQtWrapper_QTreeWidgetItem::text(QTreeWidgetItem* theWrappedObject, int column) const +{ + return ( theWrappedObject->text(column)); +} + +int PythonQtWrapper_QTreeWidgetItem::textAlignment(QTreeWidgetItem* theWrappedObject, int column) const +{ + return ( theWrappedObject->textAlignment(column)); +} + +QString PythonQtWrapper_QTreeWidgetItem::toolTip(QTreeWidgetItem* theWrappedObject, int column) const +{ + return ( theWrappedObject->toolTip(column)); +} + +QTreeWidget* PythonQtWrapper_QTreeWidgetItem::treeWidget(QTreeWidgetItem* theWrappedObject) const +{ + return ( theWrappedObject->treeWidget()); +} + +int PythonQtWrapper_QTreeWidgetItem::type(QTreeWidgetItem* theWrappedObject) const +{ + return ( theWrappedObject->type()); +} + +QString PythonQtWrapper_QTreeWidgetItem::whatsThis(QTreeWidgetItem* theWrappedObject, int column) const +{ + return ( theWrappedObject->whatsThis(column)); +} + + + +int PythonQtShell_QUndoCommand::id() const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "id"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + int returnValue; + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("id", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QUndoCommand::id(); +} +bool PythonQtShell_QUndoCommand::mergeWith(const QUndoCommand* other) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mergeWith"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "const QUndoCommand*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue; + void* args[2] = {NULL, (void*)&other}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("mergeWith", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QUndoCommand::mergeWith(other); +} +void PythonQtShell_QUndoCommand::redo() +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "redo"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={""}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QUndoCommand::redo(); +} +void PythonQtShell_QUndoCommand::undo() +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "undo"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={""}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QUndoCommand::undo(); +} +QUndoCommand* PythonQtWrapper_QUndoCommand::new_QUndoCommand(QUndoCommand* parent) +{ +return new PythonQtShell_QUndoCommand(parent); } + +QUndoCommand* PythonQtWrapper_QUndoCommand::new_QUndoCommand(const QString& text, QUndoCommand* parent) +{ +return new PythonQtShell_QUndoCommand(text, parent); } + +const QUndoCommand* PythonQtWrapper_QUndoCommand::child(QUndoCommand* theWrappedObject, int index) const +{ + return ( theWrappedObject->child(index)); +} + +int PythonQtWrapper_QUndoCommand::childCount(QUndoCommand* theWrappedObject) const +{ + return ( theWrappedObject->childCount()); +} + +int PythonQtWrapper_QUndoCommand::id(QUndoCommand* theWrappedObject) const +{ + return ( ((PythonQtPublicPromoter_QUndoCommand*)theWrappedObject)->promoted_id()); +} + +bool PythonQtWrapper_QUndoCommand::mergeWith(QUndoCommand* theWrappedObject, const QUndoCommand* other) +{ + return ( ((PythonQtPublicPromoter_QUndoCommand*)theWrappedObject)->promoted_mergeWith(other)); +} + +void PythonQtWrapper_QUndoCommand::redo(QUndoCommand* theWrappedObject) +{ + ( ((PythonQtPublicPromoter_QUndoCommand*)theWrappedObject)->promoted_redo()); +} + +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) +{ + ( ((PythonQtPublicPromoter_QUndoCommand*)theWrappedObject)->promoted_undo()); +} + + + +void PythonQtShell_QUndoGroup::childEvent(QChildEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "childEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QChildEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QUndoGroup::childEvent(arg__1); +} +void PythonQtShell_QUndoGroup::customEvent(QEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "customEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QUndoGroup::customEvent(arg__1); +} +bool PythonQtShell_QUndoGroup::event(QEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "event"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue; + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QUndoGroup::event(arg__1); +} +bool PythonQtShell_QUndoGroup::eventFilter(QObject* arg__1, QEvent* arg__2) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "eventFilter"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue; + void* args[3] = {NULL, (void*)&arg__1, (void*)&arg__2}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QUndoGroup::eventFilter(arg__1, arg__2); +} +void PythonQtShell_QUndoGroup::timerEvent(QTimerEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "timerEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QTimerEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QUndoGroup::timerEvent(arg__1); +} +QUndoGroup* PythonQtWrapper_QUndoGroup::new_QUndoGroup(QObject* parent) +{ +return new PythonQtShell_QUndoGroup(parent); } + +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()); +} + + + +void PythonQtShell_QUndoStack::childEvent(QChildEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "childEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QChildEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QUndoStack::childEvent(arg__1); +} +void PythonQtShell_QUndoStack::customEvent(QEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "customEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QUndoStack::customEvent(arg__1); +} +bool PythonQtShell_QUndoStack::event(QEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "event"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue; + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QUndoStack::event(arg__1); +} +bool PythonQtShell_QUndoStack::eventFilter(QObject* arg__1, QEvent* arg__2) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "eventFilter"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue; + void* args[3] = {NULL, (void*)&arg__1, (void*)&arg__2}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QUndoStack::eventFilter(arg__1, arg__2); +} +void PythonQtShell_QUndoStack::timerEvent(QTimerEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "timerEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QTimerEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QUndoStack::timerEvent(arg__1); +} +QUndoStack* PythonQtWrapper_QUndoStack::new_QUndoStack(QObject* parent) +{ +return new PythonQtShell_QUndoStack(parent); } + +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()); +} + + + +void PythonQtShell_QUndoView::actionEvent(QActionEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "actionEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QActionEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QUndoView::actionEvent(arg__1); +} +void PythonQtShell_QUndoView::changeEvent(QEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "changeEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QUndoView::changeEvent(arg__1); +} +void PythonQtShell_QUndoView::childEvent(QChildEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "childEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QChildEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QUndoView::childEvent(arg__1); +} +void PythonQtShell_QUndoView::closeEditor(QWidget* editor, QAbstractItemDelegate::EndEditHint hint) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "closeEditor"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QWidget*" , "QAbstractItemDelegate::EndEditHint"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + void* args[3] = {NULL, (void*)&editor, (void*)&hint}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QUndoView::closeEditor(editor, hint); +} +void PythonQtShell_QUndoView::closeEvent(QCloseEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "closeEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QCloseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QUndoView::closeEvent(arg__1); +} +void PythonQtShell_QUndoView::commitData(QWidget* editor) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "commitData"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QWidget*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&editor}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QUndoView::commitData(editor); +} +void PythonQtShell_QUndoView::contextMenuEvent(QContextMenuEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "contextMenuEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QContextMenuEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QUndoView::contextMenuEvent(arg__1); +} +void PythonQtShell_QUndoView::currentChanged(const QModelIndex& current, const QModelIndex& previous) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "currentChanged"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "const QModelIndex&" , "const QModelIndex&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + void* args[3] = {NULL, (void*)¤t, (void*)&previous}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QUndoView::currentChanged(current, previous); +} +void PythonQtShell_QUndoView::customEvent(QEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "customEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QUndoView::customEvent(arg__1); +} +void PythonQtShell_QUndoView::dataChanged(const QModelIndex& topLeft, const QModelIndex& bottomRight) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dataChanged"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "const QModelIndex&" , "const QModelIndex&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + void* args[3] = {NULL, (void*)&topLeft, (void*)&bottomRight}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QUndoView::dataChanged(topLeft, bottomRight); +} +int PythonQtShell_QUndoView::devType() const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "devType"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + int returnValue; + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("devType", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QUndoView::devType(); +} +void PythonQtShell_QUndoView::doItemsLayout() +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "doItemsLayout"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={""}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QUndoView::doItemsLayout(); +} +void PythonQtShell_QUndoView::dragEnterEvent(QDragEnterEvent* event) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dragEnterEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QDragEnterEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&event}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QUndoView::dragEnterEvent(event); +} +void PythonQtShell_QUndoView::dragLeaveEvent(QDragLeaveEvent* e) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dragLeaveEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QDragLeaveEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&e}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QUndoView::dragLeaveEvent(e); +} +void PythonQtShell_QUndoView::dragMoveEvent(QDragMoveEvent* e) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dragMoveEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QDragMoveEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&e}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QUndoView::dragMoveEvent(e); +} +void PythonQtShell_QUndoView::dropEvent(QDropEvent* e) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dropEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QDropEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&e}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QUndoView::dropEvent(e); +} +bool PythonQtShell_QUndoView::edit(const QModelIndex& index, QAbstractItemView::EditTrigger trigger, QEvent* event) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "edit"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "const QModelIndex&" , "QAbstractItemView::EditTrigger" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + bool returnValue; + void* args[4] = {NULL, (void*)&index, (void*)&trigger, (void*)&event}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("edit", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QUndoView::edit(index, trigger, event); +} +void PythonQtShell_QUndoView::editorDestroyed(QObject* editor) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "editorDestroyed"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QObject*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&editor}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QUndoView::editorDestroyed(editor); +} +void PythonQtShell_QUndoView::enterEvent(QEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "enterEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QUndoView::enterEvent(arg__1); +} +bool PythonQtShell_QUndoView::event(QEvent* e) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "event"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue; + void* args[2] = {NULL, (void*)&e}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QUndoView::event(e); +} +bool PythonQtShell_QUndoView::eventFilter(QObject* arg__1, QEvent* arg__2) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "eventFilter"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue; + void* args[3] = {NULL, (void*)&arg__1, (void*)&arg__2}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QUndoView::eventFilter(arg__1, arg__2); +} +void PythonQtShell_QUndoView::focusInEvent(QFocusEvent* event) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "focusInEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QFocusEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&event}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QUndoView::focusInEvent(event); +} +bool PythonQtShell_QUndoView::focusNextPrevChild(bool next) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "focusNextPrevChild"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue; + void* args[2] = {NULL, (void*)&next}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("focusNextPrevChild", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QUndoView::focusNextPrevChild(next); +} +void PythonQtShell_QUndoView::focusOutEvent(QFocusEvent* event) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "focusOutEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QFocusEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&event}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QUndoView::focusOutEvent(event); +} +int PythonQtShell_QUndoView::heightForWidth(int arg__1) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "heightForWidth"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"int" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + int returnValue; + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("heightForWidth", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QUndoView::heightForWidth(arg__1); +} +void PythonQtShell_QUndoView::hideEvent(QHideEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "hideEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QHideEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QUndoView::hideEvent(arg__1); +} +int PythonQtShell_QUndoView::horizontalOffset() const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "horizontalOffset"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + int returnValue; + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("horizontalOffset", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QUndoView::horizontalOffset(); +} +void PythonQtShell_QUndoView::horizontalScrollbarAction(int action) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "horizontalScrollbarAction"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&action}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QUndoView::horizontalScrollbarAction(action); +} +void PythonQtShell_QUndoView::horizontalScrollbarValueChanged(int value) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "horizontalScrollbarValueChanged"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&value}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QUndoView::horizontalScrollbarValueChanged(value); +} +QModelIndex PythonQtShell_QUndoView::indexAt(const QPoint& p) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "indexAt"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QModelIndex" , "const QPoint&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + QModelIndex returnValue; + void* args[2] = {NULL, (void*)&p}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("indexAt", methodInfo, result); + } else { + returnValue = *((QModelIndex*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QUndoView::indexAt(p); +} +void PythonQtShell_QUndoView::inputMethodEvent(QInputMethodEvent* event) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "inputMethodEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QInputMethodEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&event}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QUndoView::inputMethodEvent(event); +} +QVariant PythonQtShell_QUndoView::inputMethodQuery(Qt::InputMethodQuery query) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "inputMethodQuery"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QVariant" , "Qt::InputMethodQuery"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + QVariant returnValue; + void* args[2] = {NULL, (void*)&query}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result); + } else { + returnValue = *((QVariant*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QUndoView::inputMethodQuery(query); +} +bool PythonQtShell_QUndoView::isIndexHidden(const QModelIndex& index) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "isIndexHidden"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "const QModelIndex&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue; + void* args[2] = {NULL, (void*)&index}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("isIndexHidden", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QUndoView::isIndexHidden(index); +} +void PythonQtShell_QUndoView::keyPressEvent(QKeyEvent* event) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "keyPressEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QKeyEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&event}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QUndoView::keyPressEvent(event); +} +void PythonQtShell_QUndoView::keyReleaseEvent(QKeyEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "keyReleaseEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QKeyEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QUndoView::keyReleaseEvent(arg__1); +} +void PythonQtShell_QUndoView::keyboardSearch(const QString& search) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "keyboardSearch"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "const QString&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&search}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QUndoView::keyboardSearch(search); +} +void PythonQtShell_QUndoView::languageChange() +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "languageChange"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={""}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QUndoView::languageChange(); +} +void PythonQtShell_QUndoView::leaveEvent(QEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "leaveEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QUndoView::leaveEvent(arg__1); +} +int PythonQtShell_QUndoView::metric(QPaintDevice::PaintDeviceMetric arg__1) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "metric"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + int returnValue; + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("metric", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QUndoView::metric(arg__1); +} +void PythonQtShell_QUndoView::mouseDoubleClickEvent(QMouseEvent* event) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mouseDoubleClickEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&event}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QUndoView::mouseDoubleClickEvent(event); +} +void PythonQtShell_QUndoView::mouseMoveEvent(QMouseEvent* e) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mouseMoveEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&e}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QUndoView::mouseMoveEvent(e); +} +void PythonQtShell_QUndoView::mousePressEvent(QMouseEvent* event) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mousePressEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&event}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QUndoView::mousePressEvent(event); +} +void PythonQtShell_QUndoView::mouseReleaseEvent(QMouseEvent* e) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mouseReleaseEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&e}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QUndoView::mouseReleaseEvent(e); +} +void PythonQtShell_QUndoView::moveEvent(QMoveEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "moveEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QMoveEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QUndoView::moveEvent(arg__1); +} +QPaintEngine* PythonQtShell_QUndoView::paintEngine() const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "paintEngine"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QPaintEngine*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QPaintEngine* returnValue; + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); + } else { + returnValue = *((QPaintEngine**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QUndoView::paintEngine(); +} +void PythonQtShell_QUndoView::paintEvent(QPaintEvent* e) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "paintEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QPaintEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&e}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QUndoView::paintEvent(e); +} +void PythonQtShell_QUndoView::reset() +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "reset"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={""}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QUndoView::reset(); +} +void PythonQtShell_QUndoView::resizeEvent(QResizeEvent* e) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "resizeEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QResizeEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&e}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QUndoView::resizeEvent(e); +} +void PythonQtShell_QUndoView::rowsAboutToBeRemoved(const QModelIndex& parent, int start, int end) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "rowsAboutToBeRemoved"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "const QModelIndex&" , "int" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + void* args[4] = {NULL, (void*)&parent, (void*)&start, (void*)&end}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QUndoView::rowsAboutToBeRemoved(parent, start, end); +} +void PythonQtShell_QUndoView::rowsInserted(const QModelIndex& parent, int start, int end) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "rowsInserted"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "const QModelIndex&" , "int" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + void* args[4] = {NULL, (void*)&parent, (void*)&start, (void*)&end}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QUndoView::rowsInserted(parent, start, end); +} +void PythonQtShell_QUndoView::scrollContentsBy(int dx, int dy) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "scrollContentsBy"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "int" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + void* args[3] = {NULL, (void*)&dx, (void*)&dy}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QUndoView::scrollContentsBy(dx, dy); +} +void PythonQtShell_QUndoView::scrollTo(const QModelIndex& index, QAbstractItemView::ScrollHint hint) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "scrollTo"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "const QModelIndex&" , "QAbstractItemView::ScrollHint"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + void* args[3] = {NULL, (void*)&index, (void*)&hint}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QUndoView::scrollTo(index, hint); +} +void PythonQtShell_QUndoView::selectAll() +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "selectAll"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={""}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QUndoView::selectAll(); +} +QList PythonQtShell_QUndoView::selectedIndexes() const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "selectedIndexes"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QList"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QList returnValue; + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("selectedIndexes", methodInfo, result); + } else { + returnValue = *((QList*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QUndoView::selectedIndexes(); +} +void PythonQtShell_QUndoView::selectionChanged(const QItemSelection& selected, const QItemSelection& deselected) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "selectionChanged"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "const QItemSelection&" , "const QItemSelection&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + void* args[3] = {NULL, (void*)&selected, (void*)&deselected}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QUndoView::selectionChanged(selected, deselected); +} +QItemSelectionModel::SelectionFlags PythonQtShell_QUndoView::selectionCommand(const QModelIndex& index, const QEvent* event) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "selectionCommand"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QItemSelectionModel::SelectionFlags" , "const QModelIndex&" , "const QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + QItemSelectionModel::SelectionFlags returnValue; + void* args[3] = {NULL, (void*)&index, (void*)&event}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("selectionCommand", methodInfo, result); + } else { + returnValue = *((QItemSelectionModel::SelectionFlags*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QUndoView::selectionCommand(index, event); +} +void PythonQtShell_QUndoView::setModel(QAbstractItemModel* model) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "setModel"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QAbstractItemModel*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&model}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QUndoView::setModel(model); +} +void PythonQtShell_QUndoView::setRootIndex(const QModelIndex& index) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "setRootIndex"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "const QModelIndex&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&index}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QUndoView::setRootIndex(index); +} +void PythonQtShell_QUndoView::setSelection(const QRect& rect, QItemSelectionModel::SelectionFlags command) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "setSelection"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "const QRect&" , "QItemSelectionModel::SelectionFlags"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + void* args[3] = {NULL, (void*)&rect, (void*)&command}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QUndoView::setSelection(rect, command); +} +void PythonQtShell_QUndoView::setSelectionModel(QItemSelectionModel* selectionModel) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "setSelectionModel"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QItemSelectionModel*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&selectionModel}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QUndoView::setSelectionModel(selectionModel); +} +void PythonQtShell_QUndoView::showEvent(QShowEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "showEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QShowEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QUndoView::showEvent(arg__1); +} +int PythonQtShell_QUndoView::sizeHintForColumn(int column) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "sizeHintForColumn"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"int" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + int returnValue; + void* args[2] = {NULL, (void*)&column}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("sizeHintForColumn", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QUndoView::sizeHintForColumn(column); +} +int PythonQtShell_QUndoView::sizeHintForRow(int row) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "sizeHintForRow"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"int" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + int returnValue; + void* args[2] = {NULL, (void*)&row}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("sizeHintForRow", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QUndoView::sizeHintForRow(row); +} +void PythonQtShell_QUndoView::startDrag(Qt::DropActions supportedActions) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "startDrag"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "Qt::DropActions"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&supportedActions}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QUndoView::startDrag(supportedActions); +} +void PythonQtShell_QUndoView::tabletEvent(QTabletEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "tabletEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QTabletEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QUndoView::tabletEvent(arg__1); +} +void PythonQtShell_QUndoView::timerEvent(QTimerEvent* e) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "timerEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QTimerEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&e}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QUndoView::timerEvent(e); +} +void PythonQtShell_QUndoView::updateEditorData() +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "updateEditorData"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={""}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QUndoView::updateEditorData(); +} +void PythonQtShell_QUndoView::updateEditorGeometries() +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "updateEditorGeometries"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={""}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QUndoView::updateEditorGeometries(); +} +void PythonQtShell_QUndoView::updateGeometries() +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "updateGeometries"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={""}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QUndoView::updateGeometries(); +} +int PythonQtShell_QUndoView::verticalOffset() const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "verticalOffset"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + int returnValue; + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("verticalOffset", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QUndoView::verticalOffset(); +} +void PythonQtShell_QUndoView::verticalScrollbarAction(int action) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "verticalScrollbarAction"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&action}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QUndoView::verticalScrollbarAction(action); +} +void PythonQtShell_QUndoView::verticalScrollbarValueChanged(int value) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "verticalScrollbarValueChanged"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&value}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QUndoView::verticalScrollbarValueChanged(value); +} +QStyleOptionViewItem PythonQtShell_QUndoView::viewOptions() const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "viewOptions"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QStyleOptionViewItem"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QStyleOptionViewItem returnValue; + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("viewOptions", methodInfo, result); + } else { + returnValue = *((QStyleOptionViewItem*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QUndoView::viewOptions(); +} +bool PythonQtShell_QUndoView::viewportEvent(QEvent* event) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "viewportEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue; + void* args[2] = {NULL, (void*)&event}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("viewportEvent", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QUndoView::viewportEvent(event); +} +QRect PythonQtShell_QUndoView::visualRect(const QModelIndex& index) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "visualRect"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QRect" , "const QModelIndex&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + QRect returnValue; + void* args[2] = {NULL, (void*)&index}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("visualRect", methodInfo, result); + } else { + returnValue = *((QRect*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QUndoView::visualRect(index); +} +QRegion PythonQtShell_QUndoView::visualRegionForSelection(const QItemSelection& selection) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "visualRegionForSelection"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QRegion" , "const QItemSelection&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + QRegion returnValue; + void* args[2] = {NULL, (void*)&selection}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("visualRegionForSelection", methodInfo, result); + } else { + returnValue = *((QRegion*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QUndoView::visualRegionForSelection(selection); +} +void PythonQtShell_QUndoView::wheelEvent(QWheelEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "wheelEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QWheelEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QUndoView::wheelEvent(arg__1); +} +QUndoView* PythonQtWrapper_QUndoView::new_QUndoView(QUndoGroup* group, QWidget* parent) +{ +return new PythonQtShell_QUndoView(group, parent); } + +QUndoView* PythonQtWrapper_QUndoView::new_QUndoView(QUndoStack* stack, QWidget* parent) +{ +return new PythonQtShell_QUndoView(stack, parent); } + +QUndoView* PythonQtWrapper_QUndoView::new_QUndoView(QWidget* parent) +{ +return new PythonQtShell_QUndoView(parent); } + +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()); +} + + + +void PythonQtShell_QVBoxLayout::addItem(QLayoutItem* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "addItem"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QLayoutItem*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QVBoxLayout::addItem(arg__1); +} +void PythonQtShell_QVBoxLayout::childEvent(QChildEvent* e) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "childEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QChildEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&e}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QVBoxLayout::childEvent(e); +} +int PythonQtShell_QVBoxLayout::count() const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "count"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + int returnValue; + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("count", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QVBoxLayout::count(); +} +void PythonQtShell_QVBoxLayout::customEvent(QEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "customEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QVBoxLayout::customEvent(arg__1); +} +bool PythonQtShell_QVBoxLayout::event(QEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "event"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue; + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QVBoxLayout::event(arg__1); +} +bool PythonQtShell_QVBoxLayout::eventFilter(QObject* arg__1, QEvent* arg__2) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "eventFilter"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue; + void* args[3] = {NULL, (void*)&arg__1, (void*)&arg__2}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QVBoxLayout::eventFilter(arg__1, arg__2); +} +Qt::Orientations PythonQtShell_QVBoxLayout::expandingDirections() const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "expandingDirections"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"Qt::Orientations"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + Qt::Orientations returnValue; + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("expandingDirections", methodInfo, result); + } else { + returnValue = *((Qt::Orientations*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QVBoxLayout::expandingDirections(); +} +QRect PythonQtShell_QVBoxLayout::geometry() const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "geometry"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QRect"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QRect returnValue; + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("geometry", methodInfo, result); + } else { + returnValue = *((QRect*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QVBoxLayout::geometry(); +} +int PythonQtShell_QVBoxLayout::indexOf(QWidget* arg__1) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "indexOf"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"int" , "QWidget*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + int returnValue; + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("indexOf", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QVBoxLayout::indexOf(arg__1); +} +void PythonQtShell_QVBoxLayout::invalidate() +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "invalidate"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={""}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QVBoxLayout::invalidate(); +} +bool PythonQtShell_QVBoxLayout::isEmpty() const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "isEmpty"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + bool returnValue; + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("isEmpty", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QVBoxLayout::isEmpty(); +} +QLayoutItem* PythonQtShell_QVBoxLayout::itemAt(int arg__1) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "itemAt"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QLayoutItem*" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + QLayoutItem* returnValue; + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("itemAt", methodInfo, result); + } else { + returnValue = *((QLayoutItem**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QVBoxLayout::itemAt(arg__1); +} +QLayout* PythonQtShell_QVBoxLayout::layout() +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "layout"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QLayout*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QLayout* returnValue; + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("layout", methodInfo, result); + } else { + returnValue = *((QLayout**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QVBoxLayout::layout(); +} +QSize PythonQtShell_QVBoxLayout::maximumSize() const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "maximumSize"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QSize"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QSize returnValue; + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("maximumSize", methodInfo, result); + } else { + returnValue = *((QSize*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QVBoxLayout::maximumSize(); +} +QSize PythonQtShell_QVBoxLayout::minimumSize() const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "minimumSize"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QSize"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QSize returnValue; + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("minimumSize", methodInfo, result); + } else { + returnValue = *((QSize*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QVBoxLayout::minimumSize(); +} +void PythonQtShell_QVBoxLayout::setGeometry(const QRect& arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "setGeometry"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "const QRect&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QVBoxLayout::setGeometry(arg__1); +} +QLayoutItem* PythonQtShell_QVBoxLayout::takeAt(int arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "takeAt"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QLayoutItem*" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + QLayoutItem* returnValue; + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("takeAt", methodInfo, result); + } else { + returnValue = *((QLayoutItem**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QVBoxLayout::takeAt(arg__1); +} +void PythonQtShell_QVBoxLayout::timerEvent(QTimerEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "timerEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QTimerEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QVBoxLayout::timerEvent(arg__1); +} +QVBoxLayout* PythonQtWrapper_QVBoxLayout::new_QVBoxLayout() +{ +return new PythonQtShell_QVBoxLayout(); } + +QVBoxLayout* PythonQtWrapper_QVBoxLayout::new_QVBoxLayout(QWidget* parent) +{ +return new PythonQtShell_QVBoxLayout(parent); } + + + +void PythonQtShell_QValidator::childEvent(QChildEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "childEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QChildEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QValidator::childEvent(arg__1); +} +void PythonQtShell_QValidator::customEvent(QEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "customEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QValidator::customEvent(arg__1); +} +bool PythonQtShell_QValidator::event(QEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "event"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue; + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QValidator::event(arg__1); +} +bool PythonQtShell_QValidator::eventFilter(QObject* arg__1, QEvent* arg__2) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "eventFilter"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue; + void* args[3] = {NULL, (void*)&arg__1, (void*)&arg__2}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QValidator::eventFilter(arg__1, arg__2); +} +void PythonQtShell_QValidator::fixup(QString& arg__1) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "fixup"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QString&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QValidator::fixup(arg__1); +} +void PythonQtShell_QValidator::timerEvent(QTimerEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "timerEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QTimerEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QValidator::timerEvent(arg__1); +} +QValidator::State PythonQtShell_QValidator::validate(QString& arg__1, int& arg__2) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "validate"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QValidator::State" , "QString&" , "int&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + QValidator::State returnValue; + void* args[3] = {NULL, (void*)&arg__1, (void*)&arg__2}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("validate", methodInfo, result); + } else { + returnValue = *((QValidator::State*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QValidator::State(); +} +QValidator* PythonQtWrapper_QValidator::new_QValidator(QObject* parent) +{ +return new PythonQtShell_QValidator(parent); } + +void PythonQtWrapper_QValidator::fixup(QValidator* theWrappedObject, QString& arg__1) const +{ + ( ((PythonQtPublicPromoter_QValidator*)theWrappedObject)->promoted_fixup(arg__1)); +} + +QLocale PythonQtWrapper_QValidator::locale(QValidator* theWrappedObject) const +{ + return ( theWrappedObject->locale()); +} + +void PythonQtWrapper_QValidator::setLocale(QValidator* theWrappedObject, const QLocale& locale) +{ + ( theWrappedObject->setLocale(locale)); +} + + + +QVector2D* PythonQtWrapper_QVector2D::new_QVector2D() +{ +return new QVector2D(); } + +QVector2D* PythonQtWrapper_QVector2D::new_QVector2D(const QPoint& point) +{ +return new QVector2D(point); } + +QVector2D* PythonQtWrapper_QVector2D::new_QVector2D(const QPointF& point) +{ +return new QVector2D(point); } + +QVector2D* PythonQtWrapper_QVector2D::new_QVector2D(const QVector3D& vector) +{ +return new QVector2D(vector); } + +QVector2D* PythonQtWrapper_QVector2D::new_QVector2D(const QVector4D& vector) +{ +return new QVector2D(vector); } + +QVector2D* PythonQtWrapper_QVector2D::new_QVector2D(qreal xpos, qreal ypos) +{ +return new QVector2D(xpos, ypos); } + +qreal PythonQtWrapper_QVector2D::static_QVector2D_dotProduct(const QVector2D& v1, const QVector2D& v2) +{ + return (QVector2D::dotProduct(v1, v2)); +} + +bool PythonQtWrapper_QVector2D::isNull(QVector2D* theWrappedObject) const +{ + return ( theWrappedObject->isNull()); +} + +qreal PythonQtWrapper_QVector2D::length(QVector2D* theWrappedObject) const +{ + return ( theWrappedObject->length()); +} + +qreal PythonQtWrapper_QVector2D::lengthSquared(QVector2D* theWrappedObject) const +{ + return ( theWrappedObject->lengthSquared()); +} + +void PythonQtWrapper_QVector2D::normalize(QVector2D* theWrappedObject) +{ + ( theWrappedObject->normalize()); +} + +QVector2D PythonQtWrapper_QVector2D::normalized(QVector2D* theWrappedObject) const +{ + return ( theWrappedObject->normalized()); +} + +const QVector2D PythonQtWrapper_QVector2D::__mul__(QVector2D* theWrappedObject, const QVector2D& v2) +{ + return ( (*theWrappedObject)* v2); +} + +const QVector2D PythonQtWrapper_QVector2D::__mul__(QVector2D* theWrappedObject, qreal factor) +{ + return ( (*theWrappedObject)* factor); +} + +QVector2D* PythonQtWrapper_QVector2D::__imul__(QVector2D* theWrappedObject, const QVector2D& vector) +{ + return &( (*theWrappedObject)*= vector); +} + +QVector2D* PythonQtWrapper_QVector2D::__imul__(QVector2D* theWrappedObject, qreal factor) +{ + return &( (*theWrappedObject)*= factor); +} + +const QVector2D PythonQtWrapper_QVector2D::__add__(QVector2D* theWrappedObject, const QVector2D& v2) +{ + return ( (*theWrappedObject)+ v2); +} + +QVector2D* PythonQtWrapper_QVector2D::__iadd__(QVector2D* theWrappedObject, const QVector2D& vector) +{ + return &( (*theWrappedObject)+= vector); +} + +const QVector2D PythonQtWrapper_QVector2D::__sub__(QVector2D* theWrappedObject, const QVector2D& v2) +{ + return ( (*theWrappedObject)- v2); +} + +QVector2D* PythonQtWrapper_QVector2D::__isub__(QVector2D* theWrappedObject, const QVector2D& vector) +{ + return &( (*theWrappedObject)-= vector); +} + +const QVector2D PythonQtWrapper_QVector2D::__div__(QVector2D* theWrappedObject, qreal divisor) +{ + return ( (*theWrappedObject)/ divisor); +} + +QVector2D* PythonQtWrapper_QVector2D::__idiv__(QVector2D* theWrappedObject, qreal divisor) +{ + return &( (*theWrappedObject)/= divisor); +} + +void PythonQtWrapper_QVector2D::writeTo(QVector2D* theWrappedObject, QDataStream& arg__1) +{ + arg__1 << (*theWrappedObject); +} + +bool PythonQtWrapper_QVector2D::__eq__(QVector2D* theWrappedObject, const QVector2D& v2) +{ + return ( (*theWrappedObject)== v2); +} + +void PythonQtWrapper_QVector2D::readFrom(QVector2D* theWrappedObject, QDataStream& arg__1) +{ + arg__1 >> (*theWrappedObject); +} + +void PythonQtWrapper_QVector2D::setX(QVector2D* theWrappedObject, qreal x) +{ + ( theWrappedObject->setX(x)); +} + +void PythonQtWrapper_QVector2D::setY(QVector2D* theWrappedObject, qreal y) +{ + ( theWrappedObject->setY(y)); +} + +QPoint PythonQtWrapper_QVector2D::toPoint(QVector2D* theWrappedObject) const +{ + return ( theWrappedObject->toPoint()); +} + +QPointF PythonQtWrapper_QVector2D::toPointF(QVector2D* theWrappedObject) const +{ + return ( theWrappedObject->toPointF()); +} + +QVector3D PythonQtWrapper_QVector2D::toVector3D(QVector2D* theWrappedObject) const +{ + return ( theWrappedObject->toVector3D()); +} + +QVector4D PythonQtWrapper_QVector2D::toVector4D(QVector2D* theWrappedObject) const +{ + return ( theWrappedObject->toVector4D()); +} + +qreal PythonQtWrapper_QVector2D::x(QVector2D* theWrappedObject) const +{ + return ( theWrappedObject->x()); +} + +qreal PythonQtWrapper_QVector2D::y(QVector2D* theWrappedObject) const +{ + return ( theWrappedObject->y()); +} + +QString PythonQtWrapper_QVector2D::py_toString(QVector2D* obj) { + QString result; + QDebug d(&result); + d << *obj; + return result; +} + + + +QVector3D* PythonQtWrapper_QVector3D::new_QVector3D() +{ +return new QVector3D(); } + +QVector3D* PythonQtWrapper_QVector3D::new_QVector3D(const QPoint& point) +{ +return new QVector3D(point); } + +QVector3D* PythonQtWrapper_QVector3D::new_QVector3D(const QPointF& point) +{ +return new QVector3D(point); } + +QVector3D* PythonQtWrapper_QVector3D::new_QVector3D(const QVector2D& vector) +{ +return new QVector3D(vector); } + +QVector3D* PythonQtWrapper_QVector3D::new_QVector3D(const QVector2D& vector, qreal zpos) +{ +return new QVector3D(vector, zpos); } + +QVector3D* PythonQtWrapper_QVector3D::new_QVector3D(const QVector4D& vector) +{ +return new QVector3D(vector); } + +QVector3D* PythonQtWrapper_QVector3D::new_QVector3D(qreal xpos, qreal ypos, qreal zpos) +{ +return new QVector3D(xpos, ypos, zpos); } + +QVector3D PythonQtWrapper_QVector3D::static_QVector3D_crossProduct(const QVector3D& v1, const QVector3D& v2) +{ + return (QVector3D::crossProduct(v1, v2)); +} + +qreal PythonQtWrapper_QVector3D::distanceToLine(QVector3D* theWrappedObject, const QVector3D& point, const QVector3D& direction) const +{ + return ( theWrappedObject->distanceToLine(point, direction)); +} + +qreal PythonQtWrapper_QVector3D::distanceToPlane(QVector3D* theWrappedObject, const QVector3D& plane, const QVector3D& normal) const +{ + return ( theWrappedObject->distanceToPlane(plane, normal)); +} + +qreal PythonQtWrapper_QVector3D::distanceToPlane(QVector3D* theWrappedObject, const QVector3D& plane1, const QVector3D& plane2, const QVector3D& plane3) const +{ + return ( theWrappedObject->distanceToPlane(plane1, plane2, plane3)); +} + +qreal PythonQtWrapper_QVector3D::static_QVector3D_dotProduct(const QVector3D& v1, const QVector3D& v2) +{ + return (QVector3D::dotProduct(v1, v2)); +} + +bool PythonQtWrapper_QVector3D::isNull(QVector3D* theWrappedObject) const +{ + return ( theWrappedObject->isNull()); +} + +qreal PythonQtWrapper_QVector3D::length(QVector3D* theWrappedObject) const +{ + return ( theWrappedObject->length()); +} + +qreal PythonQtWrapper_QVector3D::lengthSquared(QVector3D* theWrappedObject) const +{ + return ( theWrappedObject->lengthSquared()); +} + +QVector3D PythonQtWrapper_QVector3D::static_QVector3D_normal(const QVector3D& v1, const QVector3D& v2) +{ + return (QVector3D::normal(v1, v2)); +} + +QVector3D PythonQtWrapper_QVector3D::static_QVector3D_normal(const QVector3D& v1, const QVector3D& v2, const QVector3D& v3) +{ + return (QVector3D::normal(v1, v2, v3)); +} + +void PythonQtWrapper_QVector3D::normalize(QVector3D* theWrappedObject) +{ + ( theWrappedObject->normalize()); +} + +QVector3D PythonQtWrapper_QVector3D::normalized(QVector3D* theWrappedObject) const +{ + return ( theWrappedObject->normalized()); +} + +QVector3D PythonQtWrapper_QVector3D::__mul__(QVector3D* theWrappedObject, const QMatrix4x4& matrix) +{ + return ( (*theWrappedObject)* matrix); +} + +const QVector3D PythonQtWrapper_QVector3D::__mul__(QVector3D* theWrappedObject, const QVector3D& v2) +{ + return ( (*theWrappedObject)* v2); +} + +const QVector3D PythonQtWrapper_QVector3D::__mul__(QVector3D* theWrappedObject, qreal factor) +{ + return ( (*theWrappedObject)* factor); +} + +QVector3D* PythonQtWrapper_QVector3D::__imul__(QVector3D* theWrappedObject, const QVector3D& vector) +{ + return &( (*theWrappedObject)*= vector); +} + +QVector3D* PythonQtWrapper_QVector3D::__imul__(QVector3D* theWrappedObject, qreal factor) +{ + return &( (*theWrappedObject)*= factor); +} + +const QVector3D PythonQtWrapper_QVector3D::__add__(QVector3D* theWrappedObject, const QVector3D& v2) +{ + return ( (*theWrappedObject)+ v2); +} + +QVector3D* PythonQtWrapper_QVector3D::__iadd__(QVector3D* theWrappedObject, const QVector3D& vector) +{ + return &( (*theWrappedObject)+= vector); +} + +const QVector3D PythonQtWrapper_QVector3D::__sub__(QVector3D* theWrappedObject, const QVector3D& v2) +{ + return ( (*theWrappedObject)- v2); +} + +QVector3D* PythonQtWrapper_QVector3D::__isub__(QVector3D* theWrappedObject, const QVector3D& vector) +{ + return &( (*theWrappedObject)-= vector); +} + +const QVector3D PythonQtWrapper_QVector3D::__div__(QVector3D* theWrappedObject, qreal divisor) +{ + return ( (*theWrappedObject)/ divisor); +} + +QVector3D* PythonQtWrapper_QVector3D::__idiv__(QVector3D* theWrappedObject, qreal divisor) +{ + return &( (*theWrappedObject)/= divisor); +} + +void PythonQtWrapper_QVector3D::writeTo(QVector3D* theWrappedObject, QDataStream& arg__1) +{ + arg__1 << (*theWrappedObject); +} + +bool PythonQtWrapper_QVector3D::__eq__(QVector3D* theWrappedObject, const QVector3D& v2) +{ + return ( (*theWrappedObject)== v2); +} + +void PythonQtWrapper_QVector3D::readFrom(QVector3D* theWrappedObject, QDataStream& arg__1) +{ + arg__1 >> (*theWrappedObject); +} + +void PythonQtWrapper_QVector3D::setX(QVector3D* theWrappedObject, qreal x) +{ + ( theWrappedObject->setX(x)); +} + +void PythonQtWrapper_QVector3D::setY(QVector3D* theWrappedObject, qreal y) +{ + ( theWrappedObject->setY(y)); +} + +void PythonQtWrapper_QVector3D::setZ(QVector3D* theWrappedObject, qreal z) +{ + ( theWrappedObject->setZ(z)); +} + +QPoint PythonQtWrapper_QVector3D::toPoint(QVector3D* theWrappedObject) const +{ + return ( theWrappedObject->toPoint()); +} + +QPointF PythonQtWrapper_QVector3D::toPointF(QVector3D* theWrappedObject) const +{ + return ( theWrappedObject->toPointF()); +} + +QVector2D PythonQtWrapper_QVector3D::toVector2D(QVector3D* theWrappedObject) const +{ + return ( theWrappedObject->toVector2D()); +} + +QVector4D PythonQtWrapper_QVector3D::toVector4D(QVector3D* theWrappedObject) const +{ + return ( theWrappedObject->toVector4D()); +} + +qreal PythonQtWrapper_QVector3D::x(QVector3D* theWrappedObject) const +{ + return ( theWrappedObject->x()); +} + +qreal PythonQtWrapper_QVector3D::y(QVector3D* theWrappedObject) const +{ + return ( theWrappedObject->y()); +} + +qreal PythonQtWrapper_QVector3D::z(QVector3D* theWrappedObject) const +{ + return ( theWrappedObject->z()); +} + +QString PythonQtWrapper_QVector3D::py_toString(QVector3D* obj) { + QString result; + QDebug d(&result); + d << *obj; + return result; +} + + + +QVector4D* PythonQtWrapper_QVector4D::new_QVector4D() +{ +return new QVector4D(); } + +QVector4D* PythonQtWrapper_QVector4D::new_QVector4D(const QPoint& point) +{ +return new QVector4D(point); } + +QVector4D* PythonQtWrapper_QVector4D::new_QVector4D(const QPointF& point) +{ +return new QVector4D(point); } + +QVector4D* PythonQtWrapper_QVector4D::new_QVector4D(const QVector2D& vector) +{ +return new QVector4D(vector); } + +QVector4D* PythonQtWrapper_QVector4D::new_QVector4D(const QVector2D& vector, qreal zpos, qreal wpos) +{ +return new QVector4D(vector, zpos, wpos); } + +QVector4D* PythonQtWrapper_QVector4D::new_QVector4D(const QVector3D& vector) +{ +return new QVector4D(vector); } + +QVector4D* PythonQtWrapper_QVector4D::new_QVector4D(const QVector3D& vector, qreal wpos) +{ +return new QVector4D(vector, wpos); } + +QVector4D* PythonQtWrapper_QVector4D::new_QVector4D(qreal xpos, qreal ypos, qreal zpos, qreal wpos) +{ +return new QVector4D(xpos, ypos, zpos, wpos); } + +qreal PythonQtWrapper_QVector4D::static_QVector4D_dotProduct(const QVector4D& v1, const QVector4D& v2) +{ + return (QVector4D::dotProduct(v1, v2)); +} + +bool PythonQtWrapper_QVector4D::isNull(QVector4D* theWrappedObject) const +{ + return ( theWrappedObject->isNull()); +} + +qreal PythonQtWrapper_QVector4D::length(QVector4D* theWrappedObject) const +{ + return ( theWrappedObject->length()); +} + +qreal PythonQtWrapper_QVector4D::lengthSquared(QVector4D* theWrappedObject) const +{ + return ( theWrappedObject->lengthSquared()); +} + +void PythonQtWrapper_QVector4D::normalize(QVector4D* theWrappedObject) +{ + ( theWrappedObject->normalize()); +} + +QVector4D PythonQtWrapper_QVector4D::normalized(QVector4D* theWrappedObject) const +{ + return ( theWrappedObject->normalized()); +} + +QVector4D PythonQtWrapper_QVector4D::__mul__(QVector4D* theWrappedObject, const QMatrix4x4& matrix) +{ + return ( (*theWrappedObject)* matrix); +} + +const QVector4D PythonQtWrapper_QVector4D::__mul__(QVector4D* theWrappedObject, const QVector4D& v2) +{ + return ( (*theWrappedObject)* v2); +} + +const QVector4D PythonQtWrapper_QVector4D::__mul__(QVector4D* theWrappedObject, qreal factor) +{ + return ( (*theWrappedObject)* factor); +} + +QVector4D* PythonQtWrapper_QVector4D::__imul__(QVector4D* theWrappedObject, const QVector4D& vector) +{ + return &( (*theWrappedObject)*= vector); +} + +QVector4D* PythonQtWrapper_QVector4D::__imul__(QVector4D* theWrappedObject, qreal factor) +{ + return &( (*theWrappedObject)*= factor); +} + +const QVector4D PythonQtWrapper_QVector4D::__add__(QVector4D* theWrappedObject, const QVector4D& v2) +{ + return ( (*theWrappedObject)+ v2); +} + +QVector4D* PythonQtWrapper_QVector4D::__iadd__(QVector4D* theWrappedObject, const QVector4D& vector) +{ + return &( (*theWrappedObject)+= vector); +} + +const QVector4D PythonQtWrapper_QVector4D::__sub__(QVector4D* theWrappedObject, const QVector4D& v2) +{ + return ( (*theWrappedObject)- v2); +} + +QVector4D* PythonQtWrapper_QVector4D::__isub__(QVector4D* theWrappedObject, const QVector4D& vector) +{ + return &( (*theWrappedObject)-= vector); +} + +const QVector4D PythonQtWrapper_QVector4D::__div__(QVector4D* theWrappedObject, qreal divisor) +{ + return ( (*theWrappedObject)/ divisor); +} + +QVector4D* PythonQtWrapper_QVector4D::__idiv__(QVector4D* theWrappedObject, qreal divisor) +{ + return &( (*theWrappedObject)/= divisor); +} + +void PythonQtWrapper_QVector4D::writeTo(QVector4D* theWrappedObject, QDataStream& arg__1) +{ + arg__1 << (*theWrappedObject); +} + +bool PythonQtWrapper_QVector4D::__eq__(QVector4D* theWrappedObject, const QVector4D& v2) +{ + return ( (*theWrappedObject)== v2); +} + +void PythonQtWrapper_QVector4D::readFrom(QVector4D* theWrappedObject, QDataStream& arg__1) +{ + arg__1 >> (*theWrappedObject); +} + +void PythonQtWrapper_QVector4D::setW(QVector4D* theWrappedObject, qreal w) +{ + ( theWrappedObject->setW(w)); +} + +void PythonQtWrapper_QVector4D::setX(QVector4D* theWrappedObject, qreal x) +{ + ( theWrappedObject->setX(x)); +} + +void PythonQtWrapper_QVector4D::setY(QVector4D* theWrappedObject, qreal y) +{ + ( theWrappedObject->setY(y)); +} + +void PythonQtWrapper_QVector4D::setZ(QVector4D* theWrappedObject, qreal z) +{ + ( theWrappedObject->setZ(z)); +} + +QPoint PythonQtWrapper_QVector4D::toPoint(QVector4D* theWrappedObject) const +{ + return ( theWrappedObject->toPoint()); +} + +QPointF PythonQtWrapper_QVector4D::toPointF(QVector4D* theWrappedObject) const +{ + return ( theWrappedObject->toPointF()); +} + +QVector2D PythonQtWrapper_QVector4D::toVector2D(QVector4D* theWrappedObject) const +{ + return ( theWrappedObject->toVector2D()); +} + +QVector2D PythonQtWrapper_QVector4D::toVector2DAffine(QVector4D* theWrappedObject) const +{ + return ( theWrappedObject->toVector2DAffine()); +} + +QVector3D PythonQtWrapper_QVector4D::toVector3D(QVector4D* theWrappedObject) const +{ + return ( theWrappedObject->toVector3D()); +} + +QVector3D PythonQtWrapper_QVector4D::toVector3DAffine(QVector4D* theWrappedObject) const +{ + return ( theWrappedObject->toVector3DAffine()); +} + +qreal PythonQtWrapper_QVector4D::w(QVector4D* theWrappedObject) const +{ + return ( theWrappedObject->w()); +} + +qreal PythonQtWrapper_QVector4D::x(QVector4D* theWrappedObject) const +{ + return ( theWrappedObject->x()); +} + +qreal PythonQtWrapper_QVector4D::y(QVector4D* theWrappedObject) const +{ + return ( theWrappedObject->y()); +} + +qreal PythonQtWrapper_QVector4D::z(QVector4D* theWrappedObject) const +{ + return ( theWrappedObject->z()); +} + +QString PythonQtWrapper_QVector4D::py_toString(QVector4D* obj) { + QString result; + QDebug d(&result); + d << *obj; + return result; +} + + + +QAction* PythonQtWrapper_QWhatsThis::static_QWhatsThis_createAction(QObject* parent) +{ + return (QWhatsThis::createAction(parent)); +} + +void PythonQtWrapper_QWhatsThis::static_QWhatsThis_enterWhatsThisMode() +{ + (QWhatsThis::enterWhatsThisMode()); +} + +void PythonQtWrapper_QWhatsThis::static_QWhatsThis_hideText() +{ + (QWhatsThis::hideText()); +} + +bool PythonQtWrapper_QWhatsThis::static_QWhatsThis_inWhatsThisMode() +{ + return (QWhatsThis::inWhatsThisMode()); +} + +void PythonQtWrapper_QWhatsThis::static_QWhatsThis_leaveWhatsThisMode() +{ + (QWhatsThis::leaveWhatsThisMode()); +} + +void PythonQtWrapper_QWhatsThis::static_QWhatsThis_showText(const QPoint& pos, const QString& text, QWidget* w) +{ + (QWhatsThis::showText(pos, text, w)); +} + + + +QWhatsThisClickedEvent* PythonQtWrapper_QWhatsThisClickedEvent::new_QWhatsThisClickedEvent(const QString& href) +{ +return new QWhatsThisClickedEvent(href); } + +QString PythonQtWrapper_QWhatsThisClickedEvent::href(QWhatsThisClickedEvent* theWrappedObject) const +{ + return ( theWrappedObject->href()); +} + + + +QWheelEvent* PythonQtWrapper_QWheelEvent::new_QWheelEvent(const QPoint& pos, const QPoint& globalPos, int delta, Qt::MouseButtons buttons, Qt::KeyboardModifiers modifiers, Qt::Orientation orient) +{ +return new PythonQtShell_QWheelEvent(pos, globalPos, delta, buttons, modifiers, orient); } + +QWheelEvent* PythonQtWrapper_QWheelEvent::new_QWheelEvent(const QPoint& pos, int delta, Qt::MouseButtons buttons, Qt::KeyboardModifiers modifiers, Qt::Orientation orient) +{ +return new PythonQtShell_QWheelEvent(pos, delta, buttons, modifiers, orient); } + +Qt::MouseButtons PythonQtWrapper_QWheelEvent::buttons(QWheelEvent* theWrappedObject) const +{ + return ( theWrappedObject->buttons()); +} + +int PythonQtWrapper_QWheelEvent::delta(QWheelEvent* theWrappedObject) const +{ + return ( theWrappedObject->delta()); +} + +const QPoint* PythonQtWrapper_QWheelEvent::globalPos(QWheelEvent* theWrappedObject) const +{ + return &( theWrappedObject->globalPos()); +} + +int PythonQtWrapper_QWheelEvent::globalX(QWheelEvent* theWrappedObject) const +{ + return ( theWrappedObject->globalX()); +} + +int PythonQtWrapper_QWheelEvent::globalY(QWheelEvent* theWrappedObject) const +{ + return ( theWrappedObject->globalY()); +} + +Qt::Orientation PythonQtWrapper_QWheelEvent::orientation(QWheelEvent* theWrappedObject) const +{ + return ( theWrappedObject->orientation()); +} + +const QPoint* PythonQtWrapper_QWheelEvent::pos(QWheelEvent* theWrappedObject) const +{ + return &( theWrappedObject->pos()); +} + +int PythonQtWrapper_QWheelEvent::x(QWheelEvent* theWrappedObject) const +{ + return ( theWrappedObject->x()); +} + +int PythonQtWrapper_QWheelEvent::y(QWheelEvent* theWrappedObject) const +{ + return ( theWrappedObject->y()); +} + + + +void PythonQtShell_QWidget::actionEvent(QActionEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "actionEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QActionEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QWidget::actionEvent(arg__1); +} +void PythonQtShell_QWidget::changeEvent(QEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "changeEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QWidget::changeEvent(arg__1); +} +void PythonQtShell_QWidget::childEvent(QChildEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "childEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QChildEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QWidget::childEvent(arg__1); +} +void PythonQtShell_QWidget::closeEvent(QCloseEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "closeEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QCloseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QWidget::closeEvent(arg__1); +} +void PythonQtShell_QWidget::contextMenuEvent(QContextMenuEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "contextMenuEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QContextMenuEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QWidget::contextMenuEvent(arg__1); +} +void PythonQtShell_QWidget::customEvent(QEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "customEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QWidget::customEvent(arg__1); +} +int PythonQtShell_QWidget::devType() const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "devType"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + int returnValue; + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("devType", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QWidget::devType(); +} +void PythonQtShell_QWidget::dragEnterEvent(QDragEnterEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dragEnterEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QDragEnterEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QWidget::dragEnterEvent(arg__1); +} +void PythonQtShell_QWidget::dragLeaveEvent(QDragLeaveEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dragLeaveEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QDragLeaveEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QWidget::dragLeaveEvent(arg__1); +} +void PythonQtShell_QWidget::dragMoveEvent(QDragMoveEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dragMoveEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QDragMoveEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QWidget::dragMoveEvent(arg__1); +} +void PythonQtShell_QWidget::dropEvent(QDropEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dropEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QDropEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QWidget::dropEvent(arg__1); +} +void PythonQtShell_QWidget::enabledChange(bool arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "enabledChange"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QWidget::enabledChange(arg__1); +} +void PythonQtShell_QWidget::enterEvent(QEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "enterEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QWidget::enterEvent(arg__1); +} +bool PythonQtShell_QWidget::event(QEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "event"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue; + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QWidget::event(arg__1); +} +bool PythonQtShell_QWidget::eventFilter(QObject* arg__1, QEvent* arg__2) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "eventFilter"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue; + void* args[3] = {NULL, (void*)&arg__1, (void*)&arg__2}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QWidget::eventFilter(arg__1, arg__2); +} +void PythonQtShell_QWidget::focusInEvent(QFocusEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "focusInEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QFocusEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QWidget::focusInEvent(arg__1); +} +bool PythonQtShell_QWidget::focusNextPrevChild(bool next) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "focusNextPrevChild"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue; + void* args[2] = {NULL, (void*)&next}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("focusNextPrevChild", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QWidget::focusNextPrevChild(next); +} +void PythonQtShell_QWidget::focusOutEvent(QFocusEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "focusOutEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QFocusEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QWidget::focusOutEvent(arg__1); +} +void PythonQtShell_QWidget::fontChange(const QFont& arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "fontChange"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "const QFont&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QWidget::fontChange(arg__1); +} +int PythonQtShell_QWidget::heightForWidth(int arg__1) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "heightForWidth"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"int" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + int returnValue; + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("heightForWidth", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QWidget::heightForWidth(arg__1); +} +void PythonQtShell_QWidget::hideEvent(QHideEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "hideEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QHideEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QWidget::hideEvent(arg__1); +} +void PythonQtShell_QWidget::inputMethodEvent(QInputMethodEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "inputMethodEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QInputMethodEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QWidget::inputMethodEvent(arg__1); +} +QVariant PythonQtShell_QWidget::inputMethodQuery(Qt::InputMethodQuery arg__1) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "inputMethodQuery"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QVariant" , "Qt::InputMethodQuery"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + QVariant returnValue; + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result); + } else { + returnValue = *((QVariant*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QWidget::inputMethodQuery(arg__1); +} +void PythonQtShell_QWidget::keyPressEvent(QKeyEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "keyPressEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QKeyEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QWidget::keyPressEvent(arg__1); +} +void PythonQtShell_QWidget::keyReleaseEvent(QKeyEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "keyReleaseEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QKeyEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QWidget::keyReleaseEvent(arg__1); +} +void PythonQtShell_QWidget::languageChange() +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "languageChange"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={""}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QWidget::languageChange(); +} +void PythonQtShell_QWidget::leaveEvent(QEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "leaveEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QWidget::leaveEvent(arg__1); +} +int PythonQtShell_QWidget::metric(QPaintDevice::PaintDeviceMetric arg__1) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "metric"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + int returnValue; + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("metric", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QWidget::metric(arg__1); +} +QSize PythonQtShell_QWidget::minimumSizeHint() const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "getMinimumSizeHint"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QSize"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QSize returnValue; + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("getMinimumSizeHint", methodInfo, result); + } else { + returnValue = *((QSize*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QWidget::minimumSizeHint(); +} +void PythonQtShell_QWidget::mouseDoubleClickEvent(QMouseEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mouseDoubleClickEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QWidget::mouseDoubleClickEvent(arg__1); +} +void PythonQtShell_QWidget::mouseMoveEvent(QMouseEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mouseMoveEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QWidget::mouseMoveEvent(arg__1); +} +void PythonQtShell_QWidget::mousePressEvent(QMouseEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mousePressEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QWidget::mousePressEvent(arg__1); +} +void PythonQtShell_QWidget::mouseReleaseEvent(QMouseEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mouseReleaseEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QWidget::mouseReleaseEvent(arg__1); +} +void PythonQtShell_QWidget::moveEvent(QMoveEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "moveEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QMoveEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QWidget::moveEvent(arg__1); +} +QPaintEngine* PythonQtShell_QWidget::paintEngine() const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "paintEngine"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QPaintEngine*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QPaintEngine* returnValue; + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); + } else { + returnValue = *((QPaintEngine**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QWidget::paintEngine(); +} +void PythonQtShell_QWidget::paintEvent(QPaintEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "paintEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QPaintEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QWidget::paintEvent(arg__1); +} +void PythonQtShell_QWidget::paletteChange(const QPalette& arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "paletteChange"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "const QPalette&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QWidget::paletteChange(arg__1); +} +void PythonQtShell_QWidget::resizeEvent(QResizeEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "resizeEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QResizeEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QWidget::resizeEvent(arg__1); +} +void PythonQtShell_QWidget::setVisible(bool visible) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "setVisible"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&visible}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QWidget::setVisible(visible); +} +void PythonQtShell_QWidget::showEvent(QShowEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "showEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QShowEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QWidget::showEvent(arg__1); +} +QSize PythonQtShell_QWidget::sizeHint() const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "getSizeHint"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QSize"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QSize returnValue; + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("getSizeHint", methodInfo, result); + } else { + returnValue = *((QSize*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QWidget::sizeHint(); +} +void PythonQtShell_QWidget::tabletEvent(QTabletEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "tabletEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QTabletEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QWidget::tabletEvent(arg__1); +} +void PythonQtShell_QWidget::timerEvent(QTimerEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "timerEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QTimerEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QWidget::timerEvent(arg__1); +} +void PythonQtShell_QWidget::wheelEvent(QWheelEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "wheelEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QWheelEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QWidget::wheelEvent(arg__1); +} +void PythonQtShell_QWidget::windowActivationChange(bool arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "windowActivationChange"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QWidget::windowActivationChange(arg__1); +} +QWidget* PythonQtWrapper_QWidget::new_QWidget(QWidget* parent, Qt::WindowFlags f) +{ +return new PythonQtShell_QWidget(parent, f); } + +bool PythonQtWrapper_QWidget::acceptDrops(QWidget* theWrappedObject) const +{ + return ( theWrappedObject->acceptDrops()); +} + +QString PythonQtWrapper_QWidget::accessibleDescription(QWidget* theWrappedObject) const +{ + return ( theWrappedObject->accessibleDescription()); +} + +QString PythonQtWrapper_QWidget::accessibleName(QWidget* theWrappedObject) const +{ + return ( theWrappedObject->accessibleName()); +} + +void PythonQtWrapper_QWidget::actionEvent(QWidget* theWrappedObject, QActionEvent* arg__1) +{ + ( ((PythonQtPublicPromoter_QWidget*)theWrappedObject)->promoted_actionEvent(arg__1)); +} + +QList PythonQtWrapper_QWidget::actions(QWidget* theWrappedObject) const +{ + return ( theWrappedObject->actions()); +} + +void PythonQtWrapper_QWidget::activateWindow(QWidget* theWrappedObject) +{ + ( theWrappedObject->activateWindow()); +} + +void PythonQtWrapper_QWidget::addAction(QWidget* theWrappedObject, QAction* action) +{ + ( theWrappedObject->addAction(action)); +} + +void PythonQtWrapper_QWidget::addActions(QWidget* theWrappedObject, QList actions) +{ + ( theWrappedObject->addActions(actions)); +} + +void PythonQtWrapper_QWidget::adjustSize(QWidget* theWrappedObject) +{ + ( theWrappedObject->adjustSize()); +} + +bool PythonQtWrapper_QWidget::autoFillBackground(QWidget* theWrappedObject) const +{ + return ( theWrappedObject->autoFillBackground()); +} + +QPalette::ColorRole PythonQtWrapper_QWidget::backgroundRole(QWidget* theWrappedObject) const +{ + return ( theWrappedObject->backgroundRole()); +} + +QSize PythonQtWrapper_QWidget::baseSize(QWidget* theWrappedObject) const +{ + return ( theWrappedObject->baseSize()); +} + +void PythonQtWrapper_QWidget::changeEvent(QWidget* theWrappedObject, QEvent* arg__1) +{ + ( ((PythonQtPublicPromoter_QWidget*)theWrappedObject)->promoted_changeEvent(arg__1)); +} + +QWidget* PythonQtWrapper_QWidget::childAt(QWidget* theWrappedObject, const QPoint& p) const +{ + return ( theWrappedObject->childAt(p)); +} + +QWidget* PythonQtWrapper_QWidget::childAt(QWidget* theWrappedObject, int x, int y) const +{ + return ( theWrappedObject->childAt(x, y)); +} + +QRect PythonQtWrapper_QWidget::childrenRect(QWidget* theWrappedObject) const +{ + return ( theWrappedObject->childrenRect()); +} + +QRegion PythonQtWrapper_QWidget::childrenRegion(QWidget* theWrappedObject) const +{ + return ( theWrappedObject->childrenRegion()); +} + +void PythonQtWrapper_QWidget::clearFocus(QWidget* theWrappedObject) +{ + ( theWrappedObject->clearFocus()); +} + +void PythonQtWrapper_QWidget::clearMask(QWidget* theWrappedObject) +{ + ( theWrappedObject->clearMask()); +} + +void PythonQtWrapper_QWidget::closeEvent(QWidget* theWrappedObject, QCloseEvent* arg__1) +{ + ( ((PythonQtPublicPromoter_QWidget*)theWrappedObject)->promoted_closeEvent(arg__1)); +} + +QMargins PythonQtWrapper_QWidget::contentsMargins(QWidget* theWrappedObject) const +{ + return ( theWrappedObject->contentsMargins()); +} + +QRect PythonQtWrapper_QWidget::contentsRect(QWidget* theWrappedObject) const +{ + return ( theWrappedObject->contentsRect()); +} + +void PythonQtWrapper_QWidget::contextMenuEvent(QWidget* theWrappedObject, QContextMenuEvent* arg__1) +{ + ( ((PythonQtPublicPromoter_QWidget*)theWrappedObject)->promoted_contextMenuEvent(arg__1)); +} + +Qt::ContextMenuPolicy PythonQtWrapper_QWidget::contextMenuPolicy(QWidget* theWrappedObject) const +{ + return ( theWrappedObject->contextMenuPolicy()); +} + +void PythonQtWrapper_QWidget::createWinId(QWidget* theWrappedObject) +{ + ( theWrappedObject->createWinId()); +} + +QCursor PythonQtWrapper_QWidget::cursor(QWidget* theWrappedObject) const +{ + return ( theWrappedObject->cursor()); +} + +int PythonQtWrapper_QWidget::devType(QWidget* theWrappedObject) const +{ + return ( ((PythonQtPublicPromoter_QWidget*)theWrappedObject)->promoted_devType()); +} + +void PythonQtWrapper_QWidget::dragEnterEvent(QWidget* theWrappedObject, QDragEnterEvent* arg__1) +{ + ( ((PythonQtPublicPromoter_QWidget*)theWrappedObject)->promoted_dragEnterEvent(arg__1)); +} + +void PythonQtWrapper_QWidget::dragLeaveEvent(QWidget* theWrappedObject, QDragLeaveEvent* arg__1) +{ + ( ((PythonQtPublicPromoter_QWidget*)theWrappedObject)->promoted_dragLeaveEvent(arg__1)); +} + +void PythonQtWrapper_QWidget::dragMoveEvent(QWidget* theWrappedObject, QDragMoveEvent* arg__1) +{ + ( ((PythonQtPublicPromoter_QWidget*)theWrappedObject)->promoted_dragMoveEvent(arg__1)); +} + +void PythonQtWrapper_QWidget::dropEvent(QWidget* theWrappedObject, QDropEvent* arg__1) +{ + ( ((PythonQtPublicPromoter_QWidget*)theWrappedObject)->promoted_dropEvent(arg__1)); +} + +WId PythonQtWrapper_QWidget::effectiveWinId(QWidget* theWrappedObject) const +{ + return ( theWrappedObject->effectiveWinId()); +} + +void PythonQtWrapper_QWidget::ensurePolished(QWidget* theWrappedObject) const +{ + ( theWrappedObject->ensurePolished()); +} + +void PythonQtWrapper_QWidget::enterEvent(QWidget* theWrappedObject, QEvent* arg__1) +{ + ( ((PythonQtPublicPromoter_QWidget*)theWrappedObject)->promoted_enterEvent(arg__1)); +} + +bool PythonQtWrapper_QWidget::event(QWidget* theWrappedObject, QEvent* arg__1) +{ + return ( ((PythonQtPublicPromoter_QWidget*)theWrappedObject)->promoted_event(arg__1)); +} + +void PythonQtWrapper_QWidget::focusInEvent(QWidget* theWrappedObject, QFocusEvent* arg__1) +{ + ( ((PythonQtPublicPromoter_QWidget*)theWrappedObject)->promoted_focusInEvent(arg__1)); +} + +bool PythonQtWrapper_QWidget::focusNextPrevChild(QWidget* theWrappedObject, bool next) +{ + return ( ((PythonQtPublicPromoter_QWidget*)theWrappedObject)->promoted_focusNextPrevChild(next)); +} + +void PythonQtWrapper_QWidget::focusOutEvent(QWidget* theWrappedObject, QFocusEvent* arg__1) +{ + ( ((PythonQtPublicPromoter_QWidget*)theWrappedObject)->promoted_focusOutEvent(arg__1)); +} + +Qt::FocusPolicy PythonQtWrapper_QWidget::focusPolicy(QWidget* theWrappedObject) const +{ + return ( theWrappedObject->focusPolicy()); +} + +QWidget* PythonQtWrapper_QWidget::focusProxy(QWidget* theWrappedObject) const +{ + return ( theWrappedObject->focusProxy()); +} + +QWidget* PythonQtWrapper_QWidget::focusWidget(QWidget* theWrappedObject) const +{ + return ( theWrappedObject->focusWidget()); +} + +const QFont* PythonQtWrapper_QWidget::font(QWidget* theWrappedObject) const +{ + return &( theWrappedObject->font()); +} + +QPalette::ColorRole PythonQtWrapper_QWidget::foregroundRole(QWidget* theWrappedObject) const +{ + return ( theWrappedObject->foregroundRole()); +} + +QRect PythonQtWrapper_QWidget::frameGeometry(QWidget* theWrappedObject) const +{ + return ( theWrappedObject->frameGeometry()); +} + +QSize PythonQtWrapper_QWidget::frameSize(QWidget* theWrappedObject) const +{ + return ( theWrappedObject->frameSize()); +} + +const QRect* PythonQtWrapper_QWidget::geometry(QWidget* theWrappedObject) const +{ + return &( theWrappedObject->geometry()); +} + +void PythonQtWrapper_QWidget::getContentsMargins(QWidget* theWrappedObject, int* left, int* top, int* right, int* bottom) const +{ + ( theWrappedObject->getContentsMargins(left, top, right, bottom)); +} + +void PythonQtWrapper_QWidget::grabKeyboard(QWidget* theWrappedObject) +{ + ( theWrappedObject->grabKeyboard()); +} + +void PythonQtWrapper_QWidget::grabMouse(QWidget* theWrappedObject) +{ + ( theWrappedObject->grabMouse()); +} + +void PythonQtWrapper_QWidget::grabMouse(QWidget* theWrappedObject, const QCursor& arg__1) +{ + ( theWrappedObject->grabMouse(arg__1)); +} + +int PythonQtWrapper_QWidget::grabShortcut(QWidget* theWrappedObject, const QKeySequence& key, Qt::ShortcutContext context) +{ + return ( theWrappedObject->grabShortcut(key, context)); +} + +QGraphicsEffect* PythonQtWrapper_QWidget::graphicsEffect(QWidget* theWrappedObject) const +{ + return ( theWrappedObject->graphicsEffect()); +} + +QGraphicsProxyWidget* PythonQtWrapper_QWidget::graphicsProxyWidget(QWidget* theWrappedObject) const +{ + return ( theWrappedObject->graphicsProxyWidget()); +} + +bool PythonQtWrapper_QWidget::hasFocus(QWidget* theWrappedObject) const +{ + return ( theWrappedObject->hasFocus()); +} + +bool PythonQtWrapper_QWidget::hasMouseTracking(QWidget* theWrappedObject) const +{ + return ( theWrappedObject->hasMouseTracking()); +} + +int PythonQtWrapper_QWidget::height(QWidget* theWrappedObject) const +{ + return ( theWrappedObject->height()); +} + +int PythonQtWrapper_QWidget::heightForWidth(QWidget* theWrappedObject, int arg__1) const +{ + return ( ((PythonQtPublicPromoter_QWidget*)theWrappedObject)->promoted_heightForWidth(arg__1)); +} + +void PythonQtWrapper_QWidget::hideEvent(QWidget* theWrappedObject, QHideEvent* arg__1) +{ + ( ((PythonQtPublicPromoter_QWidget*)theWrappedObject)->promoted_hideEvent(arg__1)); +} + +QInputContext* PythonQtWrapper_QWidget::inputContext(QWidget* theWrappedObject) +{ + return ( theWrappedObject->inputContext()); +} + +void PythonQtWrapper_QWidget::inputMethodEvent(QWidget* theWrappedObject, QInputMethodEvent* arg__1) +{ + ( ((PythonQtPublicPromoter_QWidget*)theWrappedObject)->promoted_inputMethodEvent(arg__1)); +} + +Qt::InputMethodHints PythonQtWrapper_QWidget::inputMethodHints(QWidget* theWrappedObject) const +{ + return ( theWrappedObject->inputMethodHints()); +} + +QVariant PythonQtWrapper_QWidget::inputMethodQuery(QWidget* theWrappedObject, Qt::InputMethodQuery arg__1) const +{ + return ( ((PythonQtPublicPromoter_QWidget*)theWrappedObject)->promoted_inputMethodQuery(arg__1)); +} + +void PythonQtWrapper_QWidget::insertAction(QWidget* theWrappedObject, QAction* before, QAction* action) +{ + ( theWrappedObject->insertAction(before, action)); +} + +void PythonQtWrapper_QWidget::insertActions(QWidget* theWrappedObject, QAction* before, QList actions) +{ + ( theWrappedObject->insertActions(before, actions)); +} + +bool PythonQtWrapper_QWidget::isActiveWindow(QWidget* theWrappedObject) const +{ + return ( theWrappedObject->isActiveWindow()); +} + +bool PythonQtWrapper_QWidget::isAncestorOf(QWidget* theWrappedObject, const QWidget* child) const +{ + return ( theWrappedObject->isAncestorOf(child)); +} + +bool PythonQtWrapper_QWidget::isEnabled(QWidget* theWrappedObject) const +{ + return ( theWrappedObject->isEnabled()); +} + +bool PythonQtWrapper_QWidget::isEnabledTo(QWidget* theWrappedObject, QWidget* arg__1) const +{ + return ( theWrappedObject->isEnabledTo(arg__1)); +} + +bool PythonQtWrapper_QWidget::isFullScreen(QWidget* theWrappedObject) const +{ + return ( theWrappedObject->isFullScreen()); +} + +bool PythonQtWrapper_QWidget::isHidden(QWidget* theWrappedObject) const +{ + return ( theWrappedObject->isHidden()); +} + +bool PythonQtWrapper_QWidget::isLeftToRight(QWidget* theWrappedObject) const +{ + return ( theWrappedObject->isLeftToRight()); +} + +bool PythonQtWrapper_QWidget::isMaximized(QWidget* theWrappedObject) const +{ + return ( theWrappedObject->isMaximized()); +} + +bool PythonQtWrapper_QWidget::isMinimized(QWidget* theWrappedObject) const +{ + return ( theWrappedObject->isMinimized()); +} + +bool PythonQtWrapper_QWidget::isModal(QWidget* theWrappedObject) const +{ + return ( theWrappedObject->isModal()); +} + +bool PythonQtWrapper_QWidget::isRightToLeft(QWidget* theWrappedObject) const +{ + return ( theWrappedObject->isRightToLeft()); +} + +bool PythonQtWrapper_QWidget::isVisible(QWidget* theWrappedObject) const +{ + return ( theWrappedObject->isVisible()); +} + +bool PythonQtWrapper_QWidget::isVisibleTo(QWidget* theWrappedObject, QWidget* arg__1) const +{ + return ( theWrappedObject->isVisibleTo(arg__1)); +} + +bool PythonQtWrapper_QWidget::isWindow(QWidget* theWrappedObject) const +{ + return ( theWrappedObject->isWindow()); +} + +bool PythonQtWrapper_QWidget::isWindowModified(QWidget* theWrappedObject) const +{ + return ( theWrappedObject->isWindowModified()); +} + +void PythonQtWrapper_QWidget::keyPressEvent(QWidget* theWrappedObject, QKeyEvent* arg__1) +{ + ( ((PythonQtPublicPromoter_QWidget*)theWrappedObject)->promoted_keyPressEvent(arg__1)); +} + +void PythonQtWrapper_QWidget::keyReleaseEvent(QWidget* theWrappedObject, QKeyEvent* arg__1) +{ + ( ((PythonQtPublicPromoter_QWidget*)theWrappedObject)->promoted_keyReleaseEvent(arg__1)); +} + +QWidget* PythonQtWrapper_QWidget::static_QWidget_keyboardGrabber() +{ + return (QWidget::keyboardGrabber()); +} + +void PythonQtWrapper_QWidget::languageChange(QWidget* theWrappedObject) +{ + ( ((PythonQtPublicPromoter_QWidget*)theWrappedObject)->promoted_languageChange()); +} + +QLayout* PythonQtWrapper_QWidget::layout(QWidget* theWrappedObject) const +{ + return ( theWrappedObject->layout()); +} + +Qt::LayoutDirection PythonQtWrapper_QWidget::layoutDirection(QWidget* theWrappedObject) const +{ + return ( theWrappedObject->layoutDirection()); +} + +void PythonQtWrapper_QWidget::leaveEvent(QWidget* theWrappedObject, QEvent* arg__1) +{ + ( ((PythonQtPublicPromoter_QWidget*)theWrappedObject)->promoted_leaveEvent(arg__1)); +} + +QLocale PythonQtWrapper_QWidget::locale(QWidget* theWrappedObject) const +{ + return ( theWrappedObject->locale()); +} + +QPoint PythonQtWrapper_QWidget::mapFrom(QWidget* theWrappedObject, QWidget* arg__1, const QPoint& arg__2) const +{ + return ( theWrappedObject->mapFrom(arg__1, arg__2)); +} + +QPoint PythonQtWrapper_QWidget::mapFromGlobal(QWidget* theWrappedObject, const QPoint& arg__1) const +{ + return ( theWrappedObject->mapFromGlobal(arg__1)); +} + +QPoint PythonQtWrapper_QWidget::mapFromParent(QWidget* theWrappedObject, const QPoint& arg__1) const +{ + return ( theWrappedObject->mapFromParent(arg__1)); +} + +QPoint PythonQtWrapper_QWidget::mapTo(QWidget* theWrappedObject, QWidget* arg__1, const QPoint& arg__2) const +{ + return ( theWrappedObject->mapTo(arg__1, arg__2)); +} + +QPoint PythonQtWrapper_QWidget::mapToGlobal(QWidget* theWrappedObject, const QPoint& arg__1) const +{ + return ( theWrappedObject->mapToGlobal(arg__1)); +} + +QPoint PythonQtWrapper_QWidget::mapToParent(QWidget* theWrappedObject, const QPoint& arg__1) const +{ + return ( theWrappedObject->mapToParent(arg__1)); +} + +QRegion PythonQtWrapper_QWidget::mask(QWidget* theWrappedObject) const +{ + return ( theWrappedObject->mask()); +} + +int PythonQtWrapper_QWidget::maximumHeight(QWidget* theWrappedObject) const +{ + return ( theWrappedObject->maximumHeight()); +} + +QSize PythonQtWrapper_QWidget::maximumSize(QWidget* theWrappedObject) const +{ + return ( theWrappedObject->maximumSize()); +} + +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()); +} + +QSize PythonQtWrapper_QWidget::minimumSize(QWidget* theWrappedObject) const +{ + return ( theWrappedObject->minimumSize()); +} + +QSize PythonQtWrapper_QWidget::minimumSizeHint(QWidget* theWrappedObject) const +{ + return ( ((PythonQtPublicPromoter_QWidget*)theWrappedObject)->promoted_minimumSizeHint()); +} + +int PythonQtWrapper_QWidget::minimumWidth(QWidget* theWrappedObject) const +{ + return ( theWrappedObject->minimumWidth()); +} + +void PythonQtWrapper_QWidget::mouseDoubleClickEvent(QWidget* theWrappedObject, QMouseEvent* arg__1) +{ + ( ((PythonQtPublicPromoter_QWidget*)theWrappedObject)->promoted_mouseDoubleClickEvent(arg__1)); +} + +QWidget* PythonQtWrapper_QWidget::static_QWidget_mouseGrabber() +{ + return (QWidget::mouseGrabber()); +} + +void PythonQtWrapper_QWidget::mouseMoveEvent(QWidget* theWrappedObject, QMouseEvent* arg__1) +{ + ( ((PythonQtPublicPromoter_QWidget*)theWrappedObject)->promoted_mouseMoveEvent(arg__1)); +} + +void PythonQtWrapper_QWidget::mousePressEvent(QWidget* theWrappedObject, QMouseEvent* arg__1) +{ + ( ((PythonQtPublicPromoter_QWidget*)theWrappedObject)->promoted_mousePressEvent(arg__1)); +} + +void PythonQtWrapper_QWidget::mouseReleaseEvent(QWidget* theWrappedObject, QMouseEvent* arg__1) +{ + ( ((PythonQtPublicPromoter_QWidget*)theWrappedObject)->promoted_mouseReleaseEvent(arg__1)); +} + +void PythonQtWrapper_QWidget::move(QWidget* theWrappedObject, const QPoint& arg__1) +{ + ( theWrappedObject->move(arg__1)); +} + +void PythonQtWrapper_QWidget::move(QWidget* theWrappedObject, int x, int y) +{ + ( theWrappedObject->move(x, y)); +} + +void PythonQtWrapper_QWidget::moveEvent(QWidget* theWrappedObject, QMoveEvent* arg__1) +{ + ( ((PythonQtPublicPromoter_QWidget*)theWrappedObject)->promoted_moveEvent(arg__1)); +} + +QWidget* PythonQtWrapper_QWidget::nativeParentWidget(QWidget* theWrappedObject) const +{ + return ( theWrappedObject->nativeParentWidget()); +} + +QWidget* PythonQtWrapper_QWidget::nextInFocusChain(QWidget* theWrappedObject) const +{ + return ( theWrappedObject->nextInFocusChain()); +} + +QRect PythonQtWrapper_QWidget::normalGeometry(QWidget* theWrappedObject) const +{ + return ( theWrappedObject->normalGeometry()); +} + +void PythonQtWrapper_QWidget::overrideWindowFlags(QWidget* theWrappedObject, Qt::WindowFlags type) +{ + ( theWrappedObject->overrideWindowFlags(type)); +} + +void PythonQtWrapper_QWidget::overrideWindowState(QWidget* theWrappedObject, Qt::WindowStates state) +{ + ( theWrappedObject->overrideWindowState(state)); +} + +QPaintEngine* PythonQtWrapper_QWidget::paintEngine(QWidget* theWrappedObject) const +{ + return ( ((PythonQtPublicPromoter_QWidget*)theWrappedObject)->promoted_paintEngine()); +} + +void PythonQtWrapper_QWidget::paintEvent(QWidget* theWrappedObject, QPaintEvent* arg__1) +{ + ( ((PythonQtPublicPromoter_QWidget*)theWrappedObject)->promoted_paintEvent(arg__1)); +} + +const QPalette* PythonQtWrapper_QWidget::palette(QWidget* theWrappedObject) const +{ + return &( theWrappedObject->palette()); +} + +QWidget* PythonQtWrapper_QWidget::parentWidget(QWidget* theWrappedObject) const +{ + return ( theWrappedObject->parentWidget()); +} + +QPoint PythonQtWrapper_QWidget::pos(QWidget* theWrappedObject) const +{ + return ( theWrappedObject->pos()); +} + +QWidget* PythonQtWrapper_QWidget::previousInFocusChain(QWidget* theWrappedObject) const +{ + return ( theWrappedObject->previousInFocusChain()); +} + +QRect PythonQtWrapper_QWidget::rect(QWidget* theWrappedObject) const +{ + return ( theWrappedObject->rect()); +} + +void PythonQtWrapper_QWidget::releaseKeyboard(QWidget* theWrappedObject) +{ + ( theWrappedObject->releaseKeyboard()); +} + +void PythonQtWrapper_QWidget::releaseMouse(QWidget* theWrappedObject) +{ + ( theWrappedObject->releaseMouse()); +} + +void PythonQtWrapper_QWidget::releaseShortcut(QWidget* theWrappedObject, int id) +{ + ( theWrappedObject->releaseShortcut(id)); +} + +void PythonQtWrapper_QWidget::removeAction(QWidget* theWrappedObject, QAction* action) +{ + ( theWrappedObject->removeAction(action)); +} + +void PythonQtWrapper_QWidget::render(QWidget* theWrappedObject, QPaintDevice* target, const QPoint& targetOffset, const QRegion& sourceRegion, QWidget::RenderFlags renderFlags) +{ + ( theWrappedObject->render(target, targetOffset, sourceRegion, renderFlags)); +} + +void PythonQtWrapper_QWidget::render(QWidget* theWrappedObject, QPainter* painter, const QPoint& targetOffset, const QRegion& sourceRegion, QWidget::RenderFlags renderFlags) +{ + ( theWrappedObject->render(painter, targetOffset, sourceRegion, renderFlags)); +} + +void PythonQtWrapper_QWidget::repaint(QWidget* theWrappedObject, const QRect& arg__1) +{ + ( theWrappedObject->repaint(arg__1)); +} + +void PythonQtWrapper_QWidget::repaint(QWidget* theWrappedObject, const QRegion& arg__1) +{ + ( theWrappedObject->repaint(arg__1)); +} + +void PythonQtWrapper_QWidget::repaint(QWidget* theWrappedObject, int x, int y, int w, int h) +{ + ( theWrappedObject->repaint(x, y, w, h)); +} + +void PythonQtWrapper_QWidget::resize(QWidget* theWrappedObject, const QSize& arg__1) +{ + ( theWrappedObject->resize(arg__1)); +} + +void PythonQtWrapper_QWidget::resize(QWidget* theWrappedObject, int w, int h) +{ + ( theWrappedObject->resize(w, h)); +} + +void PythonQtWrapper_QWidget::resizeEvent(QWidget* theWrappedObject, QResizeEvent* arg__1) +{ + ( ((PythonQtPublicPromoter_QWidget*)theWrappedObject)->promoted_resizeEvent(arg__1)); +} + +bool PythonQtWrapper_QWidget::restoreGeometry(QWidget* theWrappedObject, const QByteArray& geometry) +{ + return ( theWrappedObject->restoreGeometry(geometry)); +} + +QByteArray PythonQtWrapper_QWidget::saveGeometry(QWidget* theWrappedObject) const +{ + return ( theWrappedObject->saveGeometry()); +} + +void PythonQtWrapper_QWidget::scroll(QWidget* theWrappedObject, int dx, int dy) +{ + ( theWrappedObject->scroll(dx, dy)); +} + +void PythonQtWrapper_QWidget::scroll(QWidget* theWrappedObject, int dx, int dy, const QRect& arg__3) +{ + ( theWrappedObject->scroll(dx, dy, arg__3)); +} + +void PythonQtWrapper_QWidget::setAcceptDrops(QWidget* theWrappedObject, bool on) +{ + ( theWrappedObject->setAcceptDrops(on)); +} + +void PythonQtWrapper_QWidget::setAccessibleDescription(QWidget* theWrappedObject, const QString& description) +{ + ( theWrappedObject->setAccessibleDescription(description)); +} + +void PythonQtWrapper_QWidget::setAccessibleName(QWidget* theWrappedObject, const QString& name) +{ + ( theWrappedObject->setAccessibleName(name)); +} + +void PythonQtWrapper_QWidget::setAttribute(QWidget* theWrappedObject, Qt::WidgetAttribute arg__1, bool on) +{ + ( theWrappedObject->setAttribute(arg__1, on)); +} + +void PythonQtWrapper_QWidget::setAutoFillBackground(QWidget* theWrappedObject, bool enabled) +{ + ( theWrappedObject->setAutoFillBackground(enabled)); +} + +void PythonQtWrapper_QWidget::setBackgroundRole(QWidget* theWrappedObject, QPalette::ColorRole arg__1) +{ + ( theWrappedObject->setBackgroundRole(arg__1)); +} + +void PythonQtWrapper_QWidget::setBaseSize(QWidget* theWrappedObject, const QSize& arg__1) +{ + ( theWrappedObject->setBaseSize(arg__1)); +} + +void PythonQtWrapper_QWidget::setBaseSize(QWidget* theWrappedObject, int basew, int baseh) +{ + ( theWrappedObject->setBaseSize(basew, baseh)); +} + +void PythonQtWrapper_QWidget::setContentsMargins(QWidget* theWrappedObject, const QMargins& margins) +{ + ( theWrappedObject->setContentsMargins(margins)); +} + +void PythonQtWrapper_QWidget::setContentsMargins(QWidget* theWrappedObject, int left, int top, int right, int bottom) +{ + ( theWrappedObject->setContentsMargins(left, top, right, bottom)); +} + +void PythonQtWrapper_QWidget::setContextMenuPolicy(QWidget* theWrappedObject, Qt::ContextMenuPolicy policy) +{ + ( theWrappedObject->setContextMenuPolicy(policy)); +} + +void PythonQtWrapper_QWidget::setCursor(QWidget* theWrappedObject, const QCursor& arg__1) +{ + ( theWrappedObject->setCursor(arg__1)); +} + +void PythonQtWrapper_QWidget::setFixedHeight(QWidget* theWrappedObject, int h) +{ + ( theWrappedObject->setFixedHeight(h)); +} + +void PythonQtWrapper_QWidget::setFixedSize(QWidget* theWrappedObject, const QSize& arg__1) +{ + ( theWrappedObject->setFixedSize(arg__1)); +} + +void PythonQtWrapper_QWidget::setFixedSize(QWidget* theWrappedObject, int w, int h) +{ + ( theWrappedObject->setFixedSize(w, h)); +} + +void PythonQtWrapper_QWidget::setFixedWidth(QWidget* theWrappedObject, int w) +{ + ( theWrappedObject->setFixedWidth(w)); +} + +void PythonQtWrapper_QWidget::setFocus(QWidget* theWrappedObject, Qt::FocusReason reason) +{ + ( theWrappedObject->setFocus(reason)); +} + +void PythonQtWrapper_QWidget::setFocusPolicy(QWidget* theWrappedObject, Qt::FocusPolicy policy) +{ + ( theWrappedObject->setFocusPolicy(policy)); +} + +void PythonQtWrapper_QWidget::setFocusProxy(QWidget* theWrappedObject, QWidget* arg__1) +{ + ( theWrappedObject->setFocusProxy(arg__1)); +} + +void PythonQtWrapper_QWidget::setFont(QWidget* theWrappedObject, const QFont& arg__1) +{ + ( theWrappedObject->setFont(arg__1)); +} + +void PythonQtWrapper_QWidget::setForegroundRole(QWidget* theWrappedObject, QPalette::ColorRole arg__1) +{ + ( theWrappedObject->setForegroundRole(arg__1)); +} + +void PythonQtWrapper_QWidget::setGeometry(QWidget* theWrappedObject, const QRect& arg__1) +{ + ( theWrappedObject->setGeometry(arg__1)); +} + +void PythonQtWrapper_QWidget::setGeometry(QWidget* theWrappedObject, int x, int y, int w, int h) +{ + ( theWrappedObject->setGeometry(x, y, w, h)); +} + +void PythonQtWrapper_QWidget::setGraphicsEffect(QWidget* theWrappedObject, QGraphicsEffect* effect) +{ + ( theWrappedObject->setGraphicsEffect(effect)); +} + +void PythonQtWrapper_QWidget::setInputContext(QWidget* theWrappedObject, QInputContext* arg__1) +{ + ( theWrappedObject->setInputContext(arg__1)); +} + +void PythonQtWrapper_QWidget::setInputMethodHints(QWidget* theWrappedObject, Qt::InputMethodHints hints) +{ + ( theWrappedObject->setInputMethodHints(hints)); +} + +void PythonQtWrapper_QWidget::setLayout(QWidget* theWrappedObject, QLayout* arg__1) +{ + ( theWrappedObject->setLayout(arg__1)); +} + +void PythonQtWrapper_QWidget::setLayoutDirection(QWidget* theWrappedObject, Qt::LayoutDirection direction) +{ + ( theWrappedObject->setLayoutDirection(direction)); +} + +void PythonQtWrapper_QWidget::setLocale(QWidget* theWrappedObject, const QLocale& locale) +{ + ( theWrappedObject->setLocale(locale)); +} + +void PythonQtWrapper_QWidget::setMask(QWidget* theWrappedObject, const QBitmap& arg__1) +{ + ( theWrappedObject->setMask(arg__1)); +} + +void PythonQtWrapper_QWidget::setMask(QWidget* theWrappedObject, const QRegion& arg__1) +{ + ( theWrappedObject->setMask(arg__1)); +} + +void PythonQtWrapper_QWidget::setMaximumHeight(QWidget* theWrappedObject, int maxh) +{ + ( theWrappedObject->setMaximumHeight(maxh)); +} + +void PythonQtWrapper_QWidget::setMaximumSize(QWidget* theWrappedObject, const QSize& arg__1) +{ + ( theWrappedObject->setMaximumSize(arg__1)); +} + +void PythonQtWrapper_QWidget::setMaximumSize(QWidget* theWrappedObject, int maxw, int maxh) +{ + ( theWrappedObject->setMaximumSize(maxw, maxh)); +} + +void PythonQtWrapper_QWidget::setMaximumWidth(QWidget* theWrappedObject, int maxw) +{ + ( theWrappedObject->setMaximumWidth(maxw)); +} + +void PythonQtWrapper_QWidget::setMinimumHeight(QWidget* theWrappedObject, int minh) +{ + ( theWrappedObject->setMinimumHeight(minh)); +} + +void PythonQtWrapper_QWidget::setMinimumSize(QWidget* theWrappedObject, const QSize& arg__1) +{ + ( theWrappedObject->setMinimumSize(arg__1)); +} + +void PythonQtWrapper_QWidget::setMinimumSize(QWidget* theWrappedObject, int minw, int minh) +{ + ( theWrappedObject->setMinimumSize(minw, minh)); +} + +void PythonQtWrapper_QWidget::setMinimumWidth(QWidget* theWrappedObject, int minw) +{ + ( theWrappedObject->setMinimumWidth(minw)); +} + +void PythonQtWrapper_QWidget::setMouseTracking(QWidget* theWrappedObject, bool enable) +{ + ( theWrappedObject->setMouseTracking(enable)); +} + +void PythonQtWrapper_QWidget::setPalette(QWidget* theWrappedObject, const QPalette& arg__1) +{ + ( theWrappedObject->setPalette(arg__1)); +} + +void PythonQtWrapper_QWidget::setParent(QWidget* theWrappedObject, QWidget* parent) +{ + ( theWrappedObject->setParent(parent)); +} + +void PythonQtWrapper_QWidget::setParent(QWidget* theWrappedObject, QWidget* parent, Qt::WindowFlags f) +{ + ( theWrappedObject->setParent(parent, f)); +} + +void PythonQtWrapper_QWidget::setShortcutAutoRepeat(QWidget* theWrappedObject, int id, bool enable) +{ + ( theWrappedObject->setShortcutAutoRepeat(id, enable)); +} + +void PythonQtWrapper_QWidget::setShortcutEnabled(QWidget* theWrappedObject, int id, bool enable) +{ + ( theWrappedObject->setShortcutEnabled(id, enable)); +} + +void PythonQtWrapper_QWidget::setSizeIncrement(QWidget* theWrappedObject, const QSize& arg__1) +{ + ( theWrappedObject->setSizeIncrement(arg__1)); +} + +void PythonQtWrapper_QWidget::setSizeIncrement(QWidget* theWrappedObject, int w, int h) +{ + ( theWrappedObject->setSizeIncrement(w, h)); +} + +void PythonQtWrapper_QWidget::setSizePolicy(QWidget* theWrappedObject, QSizePolicy arg__1) +{ + ( theWrappedObject->setSizePolicy(arg__1)); +} + +void PythonQtWrapper_QWidget::setSizePolicy(QWidget* theWrappedObject, QSizePolicy::Policy horizontal, QSizePolicy::Policy vertical) +{ + ( theWrappedObject->setSizePolicy(horizontal, vertical)); +} + +void PythonQtWrapper_QWidget::setStatusTip(QWidget* theWrappedObject, const QString& arg__1) +{ + ( theWrappedObject->setStatusTip(arg__1)); +} + +void PythonQtWrapper_QWidget::setStyle(QWidget* theWrappedObject, QStyle* arg__1) +{ + ( theWrappedObject->setStyle(arg__1)); +} + +void PythonQtWrapper_QWidget::static_QWidget_setTabOrder(QWidget* arg__1, QWidget* arg__2) +{ + (QWidget::setTabOrder(arg__1, arg__2)); +} + +void PythonQtWrapper_QWidget::setToolTip(QWidget* theWrappedObject, const QString& arg__1) +{ + ( theWrappedObject->setToolTip(arg__1)); +} + +void PythonQtWrapper_QWidget::setUpdatesEnabled(QWidget* theWrappedObject, bool enable) +{ + ( theWrappedObject->setUpdatesEnabled(enable)); +} + +void PythonQtWrapper_QWidget::setWhatsThis(QWidget* theWrappedObject, const QString& arg__1) +{ + ( theWrappedObject->setWhatsThis(arg__1)); +} + +void PythonQtWrapper_QWidget::setWindowFilePath(QWidget* theWrappedObject, const QString& filePath) +{ + ( theWrappedObject->setWindowFilePath(filePath)); +} + +void PythonQtWrapper_QWidget::setWindowFlags(QWidget* theWrappedObject, Qt::WindowFlags type) +{ + ( theWrappedObject->setWindowFlags(type)); +} + +void PythonQtWrapper_QWidget::setWindowIcon(QWidget* theWrappedObject, const QIcon& icon) +{ + ( theWrappedObject->setWindowIcon(icon)); +} + +void PythonQtWrapper_QWidget::setWindowIconText(QWidget* theWrappedObject, const QString& arg__1) +{ + ( theWrappedObject->setWindowIconText(arg__1)); +} + +void PythonQtWrapper_QWidget::setWindowModality(QWidget* theWrappedObject, Qt::WindowModality windowModality) +{ + ( theWrappedObject->setWindowModality(windowModality)); +} + +void PythonQtWrapper_QWidget::setWindowOpacity(QWidget* theWrappedObject, qreal level) +{ + ( theWrappedObject->setWindowOpacity(level)); +} + +void PythonQtWrapper_QWidget::setWindowRole(QWidget* theWrappedObject, const QString& arg__1) +{ + ( theWrappedObject->setWindowRole(arg__1)); +} + +void PythonQtWrapper_QWidget::setWindowState(QWidget* theWrappedObject, Qt::WindowStates state) +{ + ( theWrappedObject->setWindowState(state)); +} + +void PythonQtWrapper_QWidget::showEvent(QWidget* theWrappedObject, QShowEvent* arg__1) +{ + ( ((PythonQtPublicPromoter_QWidget*)theWrappedObject)->promoted_showEvent(arg__1)); +} + +QSize PythonQtWrapper_QWidget::size(QWidget* theWrappedObject) const +{ + return ( theWrappedObject->size()); +} + +QSize PythonQtWrapper_QWidget::sizeHint(QWidget* theWrappedObject) const +{ + return ( ((PythonQtPublicPromoter_QWidget*)theWrappedObject)->promoted_sizeHint()); +} + +QSize PythonQtWrapper_QWidget::sizeIncrement(QWidget* theWrappedObject) const +{ + return ( theWrappedObject->sizeIncrement()); +} + +QSizePolicy PythonQtWrapper_QWidget::sizePolicy(QWidget* theWrappedObject) const +{ + return ( theWrappedObject->sizePolicy()); +} + +void PythonQtWrapper_QWidget::stackUnder(QWidget* theWrappedObject, QWidget* arg__1) +{ + ( theWrappedObject->stackUnder(arg__1)); +} + +QString PythonQtWrapper_QWidget::statusTip(QWidget* theWrappedObject) const +{ + return ( theWrappedObject->statusTip()); +} + +QStyle* PythonQtWrapper_QWidget::style(QWidget* theWrappedObject) const +{ + return ( theWrappedObject->style()); +} + +QString PythonQtWrapper_QWidget::styleSheet(QWidget* theWrappedObject) const +{ + return ( theWrappedObject->styleSheet()); +} + +void PythonQtWrapper_QWidget::tabletEvent(QWidget* theWrappedObject, QTabletEvent* arg__1) +{ + ( ((PythonQtPublicPromoter_QWidget*)theWrappedObject)->promoted_tabletEvent(arg__1)); +} + +bool PythonQtWrapper_QWidget::testAttribute(QWidget* theWrappedObject, Qt::WidgetAttribute arg__1) const +{ + return ( theWrappedObject->testAttribute(arg__1)); +} + +QString PythonQtWrapper_QWidget::toolTip(QWidget* theWrappedObject) const +{ + return ( theWrappedObject->toolTip()); +} + +bool PythonQtWrapper_QWidget::underMouse(QWidget* theWrappedObject) const +{ + return ( theWrappedObject->underMouse()); +} + +void PythonQtWrapper_QWidget::unsetCursor(QWidget* theWrappedObject) +{ + ( theWrappedObject->unsetCursor()); +} + +void PythonQtWrapper_QWidget::unsetLayoutDirection(QWidget* theWrappedObject) +{ + ( theWrappedObject->unsetLayoutDirection()); +} + +void PythonQtWrapper_QWidget::unsetLocale(QWidget* theWrappedObject) +{ + ( theWrappedObject->unsetLocale()); +} + +void PythonQtWrapper_QWidget::update(QWidget* theWrappedObject, const QRect& arg__1) +{ + ( theWrappedObject->update(arg__1)); +} + +void PythonQtWrapper_QWidget::update(QWidget* theWrappedObject, const QRegion& arg__1) +{ + ( theWrappedObject->update(arg__1)); +} + +void PythonQtWrapper_QWidget::update(QWidget* theWrappedObject, int x, int y, int w, int h) +{ + ( theWrappedObject->update(x, y, w, h)); +} + +void PythonQtWrapper_QWidget::updateGeometry(QWidget* theWrappedObject) +{ + ( theWrappedObject->updateGeometry()); +} + +bool PythonQtWrapper_QWidget::updatesEnabled(QWidget* theWrappedObject) const +{ + return ( theWrappedObject->updatesEnabled()); +} + +QRegion PythonQtWrapper_QWidget::visibleRegion(QWidget* theWrappedObject) const +{ + return ( theWrappedObject->visibleRegion()); +} + +QString PythonQtWrapper_QWidget::whatsThis(QWidget* theWrappedObject) const +{ + return ( theWrappedObject->whatsThis()); +} + +void PythonQtWrapper_QWidget::wheelEvent(QWidget* theWrappedObject, QWheelEvent* arg__1) +{ + ( ((PythonQtPublicPromoter_QWidget*)theWrappedObject)->promoted_wheelEvent(arg__1)); +} + +int PythonQtWrapper_QWidget::width(QWidget* theWrappedObject) const +{ + return ( theWrappedObject->width()); +} + +WId PythonQtWrapper_QWidget::winId(QWidget* theWrappedObject) const +{ + return ( theWrappedObject->winId()); +} + +QWidget* PythonQtWrapper_QWidget::window(QWidget* theWrappedObject) const +{ + return ( theWrappedObject->window()); +} + +QString PythonQtWrapper_QWidget::windowFilePath(QWidget* theWrappedObject) const +{ + return ( theWrappedObject->windowFilePath()); +} + +Qt::WindowFlags PythonQtWrapper_QWidget::windowFlags(QWidget* theWrappedObject) const +{ + return ( theWrappedObject->windowFlags()); +} + +QIcon PythonQtWrapper_QWidget::windowIcon(QWidget* theWrappedObject) const +{ + return ( theWrappedObject->windowIcon()); +} + +QString PythonQtWrapper_QWidget::windowIconText(QWidget* theWrappedObject) const +{ + return ( theWrappedObject->windowIconText()); +} + +Qt::WindowModality PythonQtWrapper_QWidget::windowModality(QWidget* theWrappedObject) const +{ + return ( theWrappedObject->windowModality()); +} + +qreal PythonQtWrapper_QWidget::windowOpacity(QWidget* theWrappedObject) const +{ + return ( theWrappedObject->windowOpacity()); +} + +QString PythonQtWrapper_QWidget::windowRole(QWidget* theWrappedObject) const +{ + return ( theWrappedObject->windowRole()); +} + +Qt::WindowStates PythonQtWrapper_QWidget::windowState(QWidget* theWrappedObject) const +{ + return ( theWrappedObject->windowState()); +} + +QString PythonQtWrapper_QWidget::windowTitle(QWidget* theWrappedObject) const +{ + return ( theWrappedObject->windowTitle()); +} + +Qt::WindowType PythonQtWrapper_QWidget::windowType(QWidget* theWrappedObject) const +{ + return ( theWrappedObject->windowType()); +} + +int PythonQtWrapper_QWidget::x(QWidget* theWrappedObject) const +{ + return ( theWrappedObject->x()); +} + +int PythonQtWrapper_QWidget::y(QWidget* theWrappedObject) const +{ + return ( theWrappedObject->y()); +} + + + +void PythonQtShell_QWidgetAction::childEvent(QChildEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "childEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QChildEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QWidgetAction::childEvent(arg__1); +} +QWidget* PythonQtShell_QWidgetAction::createWidget(QWidget* parent) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "createWidget"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QWidget*" , "QWidget*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + QWidget* returnValue; + void* args[2] = {NULL, (void*)&parent}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("createWidget", methodInfo, result); + } else { + returnValue = *((QWidget**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QWidgetAction::createWidget(parent); +} +void PythonQtShell_QWidgetAction::customEvent(QEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "customEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QWidgetAction::customEvent(arg__1); +} +void PythonQtShell_QWidgetAction::deleteWidget(QWidget* widget) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "deleteWidget"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QWidget*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&widget}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QWidgetAction::deleteWidget(widget); +} +bool PythonQtShell_QWidgetAction::event(QEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "event"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue; + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QWidgetAction::event(arg__1); +} +bool PythonQtShell_QWidgetAction::eventFilter(QObject* arg__1, QEvent* arg__2) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "eventFilter"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue; + void* args[3] = {NULL, (void*)&arg__1, (void*)&arg__2}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QWidgetAction::eventFilter(arg__1, arg__2); +} +void PythonQtShell_QWidgetAction::timerEvent(QTimerEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "timerEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QTimerEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QWidgetAction::timerEvent(arg__1); +} +QWidgetAction* PythonQtWrapper_QWidgetAction::new_QWidgetAction(QObject* parent) +{ +return new PythonQtShell_QWidgetAction(parent); } + +QWidget* PythonQtWrapper_QWidgetAction::createWidget(QWidgetAction* theWrappedObject, QWidget* parent) +{ + return ( ((PythonQtPublicPromoter_QWidgetAction*)theWrappedObject)->promoted_createWidget(parent)); +} + +QWidget* PythonQtWrapper_QWidgetAction::defaultWidget(QWidgetAction* theWrappedObject) const +{ + return ( theWrappedObject->defaultWidget()); +} + +void PythonQtWrapper_QWidgetAction::deleteWidget(QWidgetAction* theWrappedObject, QWidget* widget) +{ + ( ((PythonQtPublicPromoter_QWidgetAction*)theWrappedObject)->promoted_deleteWidget(widget)); +} + +bool PythonQtWrapper_QWidgetAction::event(QWidgetAction* theWrappedObject, QEvent* arg__1) +{ + return ( ((PythonQtPublicPromoter_QWidgetAction*)theWrappedObject)->promoted_event(arg__1)); +} + +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)); +} + +QWidget* PythonQtWrapper_QWidgetAction::requestWidget(QWidgetAction* theWrappedObject, QWidget* parent) +{ + return ( theWrappedObject->requestWidget(parent)); +} + +void PythonQtWrapper_QWidgetAction::setDefaultWidget(QWidgetAction* theWrappedObject, QWidget* w) +{ + ( theWrappedObject->setDefaultWidget(w)); +} + + + +Qt::Orientations PythonQtShell_QWidgetItem::expandingDirections() const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "expandingDirections"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"Qt::Orientations"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + Qt::Orientations returnValue; + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("expandingDirections", methodInfo, result); + } else { + returnValue = *((Qt::Orientations*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QWidgetItem::expandingDirections(); +} +QRect PythonQtShell_QWidgetItem::geometry() const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "geometry"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QRect"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QRect returnValue; + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("geometry", methodInfo, result); + } else { + returnValue = *((QRect*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QWidgetItem::geometry(); +} +bool PythonQtShell_QWidgetItem::hasHeightForWidth() const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "hasHeightForWidth"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + bool returnValue; + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("hasHeightForWidth", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QWidgetItem::hasHeightForWidth(); +} +int PythonQtShell_QWidgetItem::heightForWidth(int arg__1) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "heightForWidth"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"int" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + int returnValue; + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("heightForWidth", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QWidgetItem::heightForWidth(arg__1); +} +void PythonQtShell_QWidgetItem::invalidate() +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "invalidate"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={""}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QWidgetItem::invalidate(); +} +bool PythonQtShell_QWidgetItem::isEmpty() const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "isEmpty"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + bool returnValue; + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("isEmpty", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QWidgetItem::isEmpty(); +} +QLayout* PythonQtShell_QWidgetItem::layout() +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "layout"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QLayout*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QLayout* returnValue; + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("layout", methodInfo, result); + } else { + returnValue = *((QLayout**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QWidgetItem::layout(); +} +QSize PythonQtShell_QWidgetItem::maximumSize() const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "maximumSize"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QSize"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QSize returnValue; + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("maximumSize", methodInfo, result); + } else { + returnValue = *((QSize*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QWidgetItem::maximumSize(); +} +int PythonQtShell_QWidgetItem::minimumHeightForWidth(int arg__1) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "minimumHeightForWidth"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"int" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + int returnValue; + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("minimumHeightForWidth", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QWidgetItem::minimumHeightForWidth(arg__1); +} +QSize PythonQtShell_QWidgetItem::minimumSize() const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "minimumSize"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QSize"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QSize returnValue; + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("minimumSize", methodInfo, result); + } else { + returnValue = *((QSize*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QWidgetItem::minimumSize(); +} +void PythonQtShell_QWidgetItem::setGeometry(const QRect& arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "setGeometry"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "const QRect&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QWidgetItem::setGeometry(arg__1); +} +QSize PythonQtShell_QWidgetItem::sizeHint() const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "sizeHint"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QSize"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QSize returnValue; + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("sizeHint", methodInfo, result); + } else { + returnValue = *((QSize*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QWidgetItem::sizeHint(); +} +QSpacerItem* PythonQtShell_QWidgetItem::spacerItem() +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "spacerItem"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QSpacerItem*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QSpacerItem* returnValue; + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("spacerItem", methodInfo, result); + } else { + returnValue = *((QSpacerItem**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QWidgetItem::spacerItem(); +} +QWidget* PythonQtShell_QWidgetItem::widget() +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "widget"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QWidget*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QWidget* returnValue; + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("widget", methodInfo, result); + } else { + returnValue = *((QWidget**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QWidgetItem::widget(); +} +QWidgetItem* PythonQtWrapper_QWidgetItem::new_QWidgetItem(QWidget* w) +{ +return new PythonQtShell_QWidgetItem(w); } + +Qt::Orientations PythonQtWrapper_QWidgetItem::expandingDirections(QWidgetItem* theWrappedObject) const +{ + return ( ((PythonQtPublicPromoter_QWidgetItem*)theWrappedObject)->promoted_expandingDirections()); +} + +QRect PythonQtWrapper_QWidgetItem::geometry(QWidgetItem* theWrappedObject) const +{ + return ( ((PythonQtPublicPromoter_QWidgetItem*)theWrappedObject)->promoted_geometry()); +} + +bool PythonQtWrapper_QWidgetItem::hasHeightForWidth(QWidgetItem* theWrappedObject) const +{ + return ( ((PythonQtPublicPromoter_QWidgetItem*)theWrappedObject)->promoted_hasHeightForWidth()); +} + +int PythonQtWrapper_QWidgetItem::heightForWidth(QWidgetItem* theWrappedObject, int arg__1) const +{ + return ( ((PythonQtPublicPromoter_QWidgetItem*)theWrappedObject)->promoted_heightForWidth(arg__1)); +} + +bool PythonQtWrapper_QWidgetItem::isEmpty(QWidgetItem* theWrappedObject) const +{ + return ( ((PythonQtPublicPromoter_QWidgetItem*)theWrappedObject)->promoted_isEmpty()); +} + +QSize PythonQtWrapper_QWidgetItem::maximumSize(QWidgetItem* theWrappedObject) const +{ + return ( ((PythonQtPublicPromoter_QWidgetItem*)theWrappedObject)->promoted_maximumSize()); +} + +QSize PythonQtWrapper_QWidgetItem::minimumSize(QWidgetItem* theWrappedObject) const +{ + return ( ((PythonQtPublicPromoter_QWidgetItem*)theWrappedObject)->promoted_minimumSize()); +} + +void PythonQtWrapper_QWidgetItem::setGeometry(QWidgetItem* theWrappedObject, const QRect& arg__1) +{ + ( ((PythonQtPublicPromoter_QWidgetItem*)theWrappedObject)->promoted_setGeometry(arg__1)); +} + +QSize PythonQtWrapper_QWidgetItem::sizeHint(QWidgetItem* theWrappedObject) const +{ + return ( ((PythonQtPublicPromoter_QWidgetItem*)theWrappedObject)->promoted_sizeHint()); +} + +QWidget* PythonQtWrapper_QWidgetItem::widget(QWidgetItem* theWrappedObject) +{ + return ( ((PythonQtPublicPromoter_QWidgetItem*)theWrappedObject)->promoted_widget()); +} + + + +QWindowStateChangeEvent* PythonQtWrapper_QWindowStateChangeEvent::new_QWindowStateChangeEvent(Qt::WindowStates aOldState) +{ +return new QWindowStateChangeEvent(aOldState); } + +QWindowStateChangeEvent* PythonQtWrapper_QWindowStateChangeEvent::new_QWindowStateChangeEvent(Qt::WindowStates aOldState, bool isOverride) +{ +return new QWindowStateChangeEvent(aOldState, isOverride); } + +bool PythonQtWrapper_QWindowStateChangeEvent::isOverride(QWindowStateChangeEvent* theWrappedObject) const +{ + return ( theWrappedObject->isOverride()); +} + +Qt::WindowStates PythonQtWrapper_QWindowStateChangeEvent::oldState(QWindowStateChangeEvent* theWrappedObject) const +{ + return ( theWrappedObject->oldState()); +} + + + +void PythonQtShell_QWindowsStyle::childEvent(QChildEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "childEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QChildEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QWindowsStyle::childEvent(arg__1); +} +void PythonQtShell_QWindowsStyle::customEvent(QEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "customEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QWindowsStyle::customEvent(arg__1); +} +void PythonQtShell_QWindowsStyle::drawComplexControl(QStyle::ComplexControl cc, const QStyleOptionComplex* opt, QPainter* p, const QWidget* w) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "drawComplexControl"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QStyle::ComplexControl" , "const QStyleOptionComplex*" , "QPainter*" , "const QWidget*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(5, argumentList); + void* args[5] = {NULL, (void*)&cc, (void*)&opt, (void*)&p, (void*)&w}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QWindowsStyle::drawComplexControl(cc, opt, p, w); +} +void PythonQtShell_QWindowsStyle::drawControl(QStyle::ControlElement element, const QStyleOption* opt, QPainter* p, const QWidget* w) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "drawControl"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QStyle::ControlElement" , "const QStyleOption*" , "QPainter*" , "const QWidget*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(5, argumentList); + void* args[5] = {NULL, (void*)&element, (void*)&opt, (void*)&p, (void*)&w}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QWindowsStyle::drawControl(element, opt, p, w); +} +void PythonQtShell_QWindowsStyle::drawItemPixmap(QPainter* painter, const QRect& rect, int alignment, const QPixmap& pixmap) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "drawItemPixmap"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QPainter*" , "const QRect&" , "int" , "const QPixmap&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(5, argumentList); + void* args[5] = {NULL, (void*)&painter, (void*)&rect, (void*)&alignment, (void*)&pixmap}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QWindowsStyle::drawItemPixmap(painter, rect, alignment, pixmap); +} +void PythonQtShell_QWindowsStyle::drawItemText(QPainter* painter, const QRect& rect, int flags, const QPalette& pal, bool enabled, const QString& text, QPalette::ColorRole textRole) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "drawItemText"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QPainter*" , "const QRect&" , "int" , "const QPalette&" , "bool" , "const QString&" , "QPalette::ColorRole"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(8, argumentList); + void* args[8] = {NULL, (void*)&painter, (void*)&rect, (void*)&flags, (void*)&pal, (void*)&enabled, (void*)&text, (void*)&textRole}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QWindowsStyle::drawItemText(painter, rect, flags, pal, enabled, text, textRole); +} +void PythonQtShell_QWindowsStyle::drawPrimitive(QStyle::PrimitiveElement pe, const QStyleOption* opt, QPainter* p, const QWidget* w) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "drawPrimitive"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QStyle::PrimitiveElement" , "const QStyleOption*" , "QPainter*" , "const QWidget*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(5, argumentList); + void* args[5] = {NULL, (void*)&pe, (void*)&opt, (void*)&p, (void*)&w}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QWindowsStyle::drawPrimitive(pe, opt, p, w); +} +bool PythonQtShell_QWindowsStyle::event(QEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "event"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue; + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QWindowsStyle::event(arg__1); +} +bool PythonQtShell_QWindowsStyle::eventFilter(QObject* o, QEvent* e) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "eventFilter"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue; + void* args[3] = {NULL, (void*)&o, (void*)&e}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QWindowsStyle::eventFilter(o, e); +} +QPixmap PythonQtShell_QWindowsStyle::generatedIconPixmap(QIcon::Mode iconMode, const QPixmap& pixmap, const QStyleOption* opt) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "generatedIconPixmap"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QPixmap" , "QIcon::Mode" , "const QPixmap&" , "const QStyleOption*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + QPixmap returnValue; + void* args[4] = {NULL, (void*)&iconMode, (void*)&pixmap, (void*)&opt}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("generatedIconPixmap", methodInfo, result); + } else { + returnValue = *((QPixmap*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QWindowsStyle::generatedIconPixmap(iconMode, pixmap, opt); +} +QStyle::SubControl PythonQtShell_QWindowsStyle::hitTestComplexControl(QStyle::ComplexControl cc, const QStyleOptionComplex* opt, const QPoint& pt, const QWidget* w) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "hitTestComplexControl"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QStyle::SubControl" , "QStyle::ComplexControl" , "const QStyleOptionComplex*" , "const QPoint&" , "const QWidget*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(5, argumentList); + QStyle::SubControl returnValue; + void* args[5] = {NULL, (void*)&cc, (void*)&opt, (void*)&pt, (void*)&w}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("hitTestComplexControl", methodInfo, result); + } else { + returnValue = *((QStyle::SubControl*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QWindowsStyle::hitTestComplexControl(cc, opt, pt, w); +} +QRect PythonQtShell_QWindowsStyle::itemPixmapRect(const QRect& r, int flags, const QPixmap& pixmap) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "itemPixmapRect"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QRect" , "const QRect&" , "int" , "const QPixmap&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + QRect returnValue; + void* args[4] = {NULL, (void*)&r, (void*)&flags, (void*)&pixmap}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("itemPixmapRect", methodInfo, result); + } else { + returnValue = *((QRect*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QWindowsStyle::itemPixmapRect(r, flags, pixmap); +} +int PythonQtShell_QWindowsStyle::pixelMetric(QStyle::PixelMetric pm, const QStyleOption* option, const QWidget* widget) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "pixelMetric"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"int" , "QStyle::PixelMetric" , "const QStyleOption*" , "const QWidget*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + int returnValue; + void* args[4] = {NULL, (void*)&pm, (void*)&option, (void*)&widget}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("pixelMetric", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QWindowsStyle::pixelMetric(pm, option, widget); +} +void PythonQtShell_QWindowsStyle::polish(QApplication* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "polish"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QApplication*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QWindowsStyle::polish(arg__1); +} +void PythonQtShell_QWindowsStyle::polish(QPalette& arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "polish"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QPalette&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QWindowsStyle::polish(arg__1); +} +void PythonQtShell_QWindowsStyle::polish(QWidget* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "polish"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QWidget*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QWindowsStyle::polish(arg__1); +} +QSize PythonQtShell_QWindowsStyle::sizeFromContents(QStyle::ContentsType ct, const QStyleOption* opt, const QSize& contentsSize, const QWidget* widget) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "sizeFromContents"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QSize" , "QStyle::ContentsType" , "const QStyleOption*" , "const QSize&" , "const QWidget*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(5, argumentList); + QSize returnValue; + void* args[5] = {NULL, (void*)&ct, (void*)&opt, (void*)&contentsSize, (void*)&widget}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("sizeFromContents", methodInfo, result); + } else { + returnValue = *((QSize*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QWindowsStyle::sizeFromContents(ct, opt, contentsSize, widget); +} +QPalette PythonQtShell_QWindowsStyle::standardPalette() const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "standardPalette"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QPalette"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QPalette returnValue; + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("standardPalette", methodInfo, result); + } else { + returnValue = *((QPalette*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QWindowsStyle::standardPalette(); +} +QPixmap PythonQtShell_QWindowsStyle::standardPixmap(QStyle::StandardPixmap standardPixmap, const QStyleOption* opt, const QWidget* widget) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "standardPixmap"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QPixmap" , "QStyle::StandardPixmap" , "const QStyleOption*" , "const QWidget*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + QPixmap returnValue; + void* args[4] = {NULL, (void*)&standardPixmap, (void*)&opt, (void*)&widget}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("standardPixmap", methodInfo, result); + } else { + returnValue = *((QPixmap*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QPixmap(); +} +int PythonQtShell_QWindowsStyle::styleHint(QStyle::StyleHint hint, const QStyleOption* opt, const QWidget* widget, QStyleHintReturn* returnData) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "styleHint"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"int" , "QStyle::StyleHint" , "const QStyleOption*" , "const QWidget*" , "QStyleHintReturn*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(5, argumentList); + int returnValue; + void* args[5] = {NULL, (void*)&hint, (void*)&opt, (void*)&widget, (void*)&returnData}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("styleHint", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QWindowsStyle::styleHint(hint, opt, widget, returnData); +} +QRect PythonQtShell_QWindowsStyle::subControlRect(QStyle::ComplexControl cc, const QStyleOptionComplex* opt, QStyle::SubControl sc, const QWidget* w) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "subControlRect"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QRect" , "QStyle::ComplexControl" , "const QStyleOptionComplex*" , "QStyle::SubControl" , "const QWidget*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(5, argumentList); + QRect returnValue; + void* args[5] = {NULL, (void*)&cc, (void*)&opt, (void*)&sc, (void*)&w}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("subControlRect", methodInfo, result); + } else { + returnValue = *((QRect*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QWindowsStyle::subControlRect(cc, opt, sc, w); +} +QRect PythonQtShell_QWindowsStyle::subElementRect(QStyle::SubElement r, const QStyleOption* opt, const QWidget* widget) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "subElementRect"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QRect" , "QStyle::SubElement" , "const QStyleOption*" , "const QWidget*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + QRect returnValue; + void* args[4] = {NULL, (void*)&r, (void*)&opt, (void*)&widget}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("subElementRect", methodInfo, result); + } else { + returnValue = *((QRect*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QWindowsStyle::subElementRect(r, opt, widget); +} +void PythonQtShell_QWindowsStyle::timerEvent(QTimerEvent* event) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "timerEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QTimerEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&event}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QWindowsStyle::timerEvent(event); +} +void PythonQtShell_QWindowsStyle::unpolish(QApplication* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "unpolish"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QApplication*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QWindowsStyle::unpolish(arg__1); +} +void PythonQtShell_QWindowsStyle::unpolish(QWidget* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "unpolish"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QWidget*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QWindowsStyle::unpolish(arg__1); +} +QWindowsStyle* PythonQtWrapper_QWindowsStyle::new_QWindowsStyle() +{ +return new PythonQtShell_QWindowsStyle(); } + +void PythonQtWrapper_QWindowsStyle::drawComplexControl(QWindowsStyle* theWrappedObject, QStyle::ComplexControl cc, const QStyleOptionComplex* opt, QPainter* p, const QWidget* w) const +{ + ( ((PythonQtPublicPromoter_QWindowsStyle*)theWrappedObject)->promoted_drawComplexControl(cc, opt, p, w)); +} + +void PythonQtWrapper_QWindowsStyle::drawControl(QWindowsStyle* theWrappedObject, QStyle::ControlElement element, const QStyleOption* opt, QPainter* p, const QWidget* w) const +{ + ( ((PythonQtPublicPromoter_QWindowsStyle*)theWrappedObject)->promoted_drawControl(element, opt, p, w)); +} + +void PythonQtWrapper_QWindowsStyle::drawPrimitive(QWindowsStyle* theWrappedObject, QStyle::PrimitiveElement pe, const QStyleOption* opt, QPainter* p, const QWidget* w) const +{ + ( ((PythonQtPublicPromoter_QWindowsStyle*)theWrappedObject)->promoted_drawPrimitive(pe, opt, p, w)); +} + +bool PythonQtWrapper_QWindowsStyle::eventFilter(QWindowsStyle* theWrappedObject, QObject* o, QEvent* e) +{ + return ( ((PythonQtPublicPromoter_QWindowsStyle*)theWrappedObject)->promoted_eventFilter(o, e)); +} + +int PythonQtWrapper_QWindowsStyle::pixelMetric(QWindowsStyle* theWrappedObject, QStyle::PixelMetric pm, const QStyleOption* option, const QWidget* widget) const +{ + return ( ((PythonQtPublicPromoter_QWindowsStyle*)theWrappedObject)->promoted_pixelMetric(pm, option, widget)); +} + +void PythonQtWrapper_QWindowsStyle::polish(QWindowsStyle* theWrappedObject, QApplication* arg__1) +{ + ( ((PythonQtPublicPromoter_QWindowsStyle*)theWrappedObject)->promoted_polish(arg__1)); +} + +void PythonQtWrapper_QWindowsStyle::polish(QWindowsStyle* theWrappedObject, QPalette& arg__1) +{ + ( ((PythonQtPublicPromoter_QWindowsStyle*)theWrappedObject)->promoted_polish(arg__1)); +} + +void PythonQtWrapper_QWindowsStyle::polish(QWindowsStyle* theWrappedObject, QWidget* arg__1) +{ + ( ((PythonQtPublicPromoter_QWindowsStyle*)theWrappedObject)->promoted_polish(arg__1)); +} + +QSize PythonQtWrapper_QWindowsStyle::sizeFromContents(QWindowsStyle* theWrappedObject, QStyle::ContentsType ct, const QStyleOption* opt, const QSize& contentsSize, const QWidget* widget) const +{ + return ( ((PythonQtPublicPromoter_QWindowsStyle*)theWrappedObject)->promoted_sizeFromContents(ct, opt, contentsSize, widget)); +} + +int PythonQtWrapper_QWindowsStyle::styleHint(QWindowsStyle* theWrappedObject, QStyle::StyleHint hint, const QStyleOption* opt, const QWidget* widget, QStyleHintReturn* returnData) const +{ + return ( ((PythonQtPublicPromoter_QWindowsStyle*)theWrappedObject)->promoted_styleHint(hint, opt, widget, returnData)); +} + +QRect PythonQtWrapper_QWindowsStyle::subElementRect(QWindowsStyle* theWrappedObject, QStyle::SubElement r, const QStyleOption* opt, const QWidget* widget) const +{ + return ( ((PythonQtPublicPromoter_QWindowsStyle*)theWrappedObject)->promoted_subElementRect(r, opt, widget)); +} + +void PythonQtWrapper_QWindowsStyle::timerEvent(QWindowsStyle* theWrappedObject, QTimerEvent* event) +{ + ( ((PythonQtPublicPromoter_QWindowsStyle*)theWrappedObject)->promoted_timerEvent(event)); +} + +void PythonQtWrapper_QWindowsStyle::unpolish(QWindowsStyle* theWrappedObject, QApplication* arg__1) +{ + ( ((PythonQtPublicPromoter_QWindowsStyle*)theWrappedObject)->promoted_unpolish(arg__1)); +} + +void PythonQtWrapper_QWindowsStyle::unpolish(QWindowsStyle* theWrappedObject, QWidget* arg__1) +{ + ( ((PythonQtPublicPromoter_QWindowsStyle*)theWrappedObject)->promoted_unpolish(arg__1)); +} + + + +void PythonQtShell_QWizard::accept() +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "accept"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={""}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QWizard::accept(); +} +void PythonQtShell_QWizard::actionEvent(QActionEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "actionEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QActionEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QWizard::actionEvent(arg__1); +} +void PythonQtShell_QWizard::changeEvent(QEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "changeEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QWizard::changeEvent(arg__1); +} +void PythonQtShell_QWizard::childEvent(QChildEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "childEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QChildEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QWizard::childEvent(arg__1); +} +void PythonQtShell_QWizard::cleanupPage(int id) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "cleanupPage"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&id}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QWizard::cleanupPage(id); +} +void PythonQtShell_QWizard::closeEvent(QCloseEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "closeEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QCloseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QWizard::closeEvent(arg__1); +} +void PythonQtShell_QWizard::contextMenuEvent(QContextMenuEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "contextMenuEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QContextMenuEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QWizard::contextMenuEvent(arg__1); +} +void PythonQtShell_QWizard::customEvent(QEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "customEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QWizard::customEvent(arg__1); +} +int PythonQtShell_QWizard::devType() const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "devType"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + int returnValue; + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("devType", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QWizard::devType(); +} +void PythonQtShell_QWizard::done(int result) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "done"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&result}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QWizard::done(result); +} +void PythonQtShell_QWizard::dragEnterEvent(QDragEnterEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dragEnterEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QDragEnterEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QWizard::dragEnterEvent(arg__1); +} +void PythonQtShell_QWizard::dragLeaveEvent(QDragLeaveEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dragLeaveEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QDragLeaveEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QWizard::dragLeaveEvent(arg__1); +} +void PythonQtShell_QWizard::dragMoveEvent(QDragMoveEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dragMoveEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QDragMoveEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QWizard::dragMoveEvent(arg__1); +} +void PythonQtShell_QWizard::dropEvent(QDropEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dropEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QDropEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QWizard::dropEvent(arg__1); +} +void PythonQtShell_QWizard::enterEvent(QEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "enterEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QWizard::enterEvent(arg__1); +} +bool PythonQtShell_QWizard::event(QEvent* event) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "event"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue; + void* args[2] = {NULL, (void*)&event}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QWizard::event(event); +} +bool PythonQtShell_QWizard::eventFilter(QObject* arg__1, QEvent* arg__2) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "eventFilter"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue; + void* args[3] = {NULL, (void*)&arg__1, (void*)&arg__2}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QWizard::eventFilter(arg__1, arg__2); +} +void PythonQtShell_QWizard::focusInEvent(QFocusEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "focusInEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QFocusEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QWizard::focusInEvent(arg__1); +} +bool PythonQtShell_QWizard::focusNextPrevChild(bool next) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "focusNextPrevChild"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue; + void* args[2] = {NULL, (void*)&next}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("focusNextPrevChild", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QWizard::focusNextPrevChild(next); +} +void PythonQtShell_QWizard::focusOutEvent(QFocusEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "focusOutEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QFocusEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QWizard::focusOutEvent(arg__1); +} +int PythonQtShell_QWizard::heightForWidth(int arg__1) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "heightForWidth"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"int" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + int returnValue; + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("heightForWidth", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QWizard::heightForWidth(arg__1); +} +void PythonQtShell_QWizard::hideEvent(QHideEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "hideEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QHideEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QWizard::hideEvent(arg__1); +} +void PythonQtShell_QWizard::initializePage(int id) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "initializePage"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&id}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QWizard::initializePage(id); +} +void PythonQtShell_QWizard::inputMethodEvent(QInputMethodEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "inputMethodEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QInputMethodEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QWizard::inputMethodEvent(arg__1); +} +QVariant PythonQtShell_QWizard::inputMethodQuery(Qt::InputMethodQuery arg__1) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "inputMethodQuery"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QVariant" , "Qt::InputMethodQuery"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + QVariant returnValue; + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result); + } else { + returnValue = *((QVariant*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QWizard::inputMethodQuery(arg__1); +} +void PythonQtShell_QWizard::keyPressEvent(QKeyEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "keyPressEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QKeyEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QWizard::keyPressEvent(arg__1); +} +void PythonQtShell_QWizard::keyReleaseEvent(QKeyEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "keyReleaseEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QKeyEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QWizard::keyReleaseEvent(arg__1); +} +void PythonQtShell_QWizard::languageChange() +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "languageChange"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={""}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QWizard::languageChange(); +} +void PythonQtShell_QWizard::leaveEvent(QEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "leaveEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QWizard::leaveEvent(arg__1); +} +int PythonQtShell_QWizard::metric(QPaintDevice::PaintDeviceMetric arg__1) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "metric"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + int returnValue; + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("metric", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QWizard::metric(arg__1); +} +void PythonQtShell_QWizard::mouseDoubleClickEvent(QMouseEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mouseDoubleClickEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QWizard::mouseDoubleClickEvent(arg__1); +} +void PythonQtShell_QWizard::mouseMoveEvent(QMouseEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mouseMoveEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QWizard::mouseMoveEvent(arg__1); +} +void PythonQtShell_QWizard::mousePressEvent(QMouseEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mousePressEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QWizard::mousePressEvent(arg__1); +} +void PythonQtShell_QWizard::mouseReleaseEvent(QMouseEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mouseReleaseEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QWizard::mouseReleaseEvent(arg__1); +} +void PythonQtShell_QWizard::moveEvent(QMoveEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "moveEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QMoveEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QWizard::moveEvent(arg__1); +} +int PythonQtShell_QWizard::nextId() const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "nextId"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + int returnValue; + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("nextId", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QWizard::nextId(); +} +QPaintEngine* PythonQtShell_QWizard::paintEngine() const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "paintEngine"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QPaintEngine*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QPaintEngine* returnValue; + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); + } else { + returnValue = *((QPaintEngine**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QWizard::paintEngine(); +} +void PythonQtShell_QWizard::paintEvent(QPaintEvent* event) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "paintEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QPaintEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&event}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QWizard::paintEvent(event); +} +void PythonQtShell_QWizard::reject() +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "reject"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={""}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QWizard::reject(); +} +void PythonQtShell_QWizard::resizeEvent(QResizeEvent* event) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "resizeEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QResizeEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&event}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QWizard::resizeEvent(event); +} +void PythonQtShell_QWizard::showEvent(QShowEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "showEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QShowEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QWizard::showEvent(arg__1); +} +void PythonQtShell_QWizard::tabletEvent(QTabletEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "tabletEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QTabletEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QWizard::tabletEvent(arg__1); +} +void PythonQtShell_QWizard::timerEvent(QTimerEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "timerEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QTimerEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QWizard::timerEvent(arg__1); +} +bool PythonQtShell_QWizard::validateCurrentPage() +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "validateCurrentPage"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + bool returnValue; + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("validateCurrentPage", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QWizard::validateCurrentPage(); +} +void PythonQtShell_QWizard::wheelEvent(QWheelEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "wheelEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QWheelEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QWizard::wheelEvent(arg__1); +} +QWizard* PythonQtWrapper_QWizard::new_QWizard(QWidget* parent, Qt::WindowFlags flags) +{ +return new PythonQtShell_QWizard(parent, flags); } + +int PythonQtWrapper_QWizard::addPage(QWizard* theWrappedObject, QWizardPage* page) +{ + return ( theWrappedObject->addPage(page)); +} + +QAbstractButton* PythonQtWrapper_QWizard::button(QWizard* theWrappedObject, QWizard::WizardButton which) const +{ + return ( theWrappedObject->button(which)); +} + +QString PythonQtWrapper_QWizard::buttonText(QWizard* theWrappedObject, QWizard::WizardButton which) const +{ + return ( theWrappedObject->buttonText(which)); +} + +void PythonQtWrapper_QWizard::cleanupPage(QWizard* theWrappedObject, int id) +{ + ( ((PythonQtPublicPromoter_QWizard*)theWrappedObject)->promoted_cleanupPage(id)); +} + +int PythonQtWrapper_QWizard::currentId(QWizard* theWrappedObject) const +{ + return ( theWrappedObject->currentId()); +} + +QWizardPage* PythonQtWrapper_QWizard::currentPage(QWizard* theWrappedObject) const +{ + return ( theWrappedObject->currentPage()); +} + +void PythonQtWrapper_QWizard::done(QWizard* theWrappedObject, int result) +{ + ( ((PythonQtPublicPromoter_QWizard*)theWrappedObject)->promoted_done(result)); +} + +bool PythonQtWrapper_QWizard::event(QWizard* theWrappedObject, QEvent* event) +{ + return ( ((PythonQtPublicPromoter_QWizard*)theWrappedObject)->promoted_event(event)); +} + +QVariant PythonQtWrapper_QWizard::field(QWizard* theWrappedObject, const QString& name) const +{ + return ( theWrappedObject->field(name)); +} + +bool PythonQtWrapper_QWizard::hasVisitedPage(QWizard* theWrappedObject, int id) const +{ + return ( theWrappedObject->hasVisitedPage(id)); +} + +void PythonQtWrapper_QWizard::initializePage(QWizard* theWrappedObject, int id) +{ + ( ((PythonQtPublicPromoter_QWizard*)theWrappedObject)->promoted_initializePage(id)); +} + +int PythonQtWrapper_QWizard::nextId(QWizard* theWrappedObject) const +{ + return ( ((PythonQtPublicPromoter_QWizard*)theWrappedObject)->promoted_nextId()); +} + +QWizard::WizardOptions PythonQtWrapper_QWizard::options(QWizard* theWrappedObject) const +{ + return ( theWrappedObject->options()); +} + +QWizardPage* PythonQtWrapper_QWizard::page(QWizard* theWrappedObject, int id) const +{ + return ( theWrappedObject->page(id)); +} + +QList PythonQtWrapper_QWizard::pageIds(QWizard* theWrappedObject) const +{ + return ( theWrappedObject->pageIds()); +} + +void PythonQtWrapper_QWizard::paintEvent(QWizard* theWrappedObject, QPaintEvent* event) +{ + ( ((PythonQtPublicPromoter_QWizard*)theWrappedObject)->promoted_paintEvent(event)); +} + +QPixmap PythonQtWrapper_QWizard::pixmap(QWizard* theWrappedObject, QWizard::WizardPixmap which) const +{ + return ( theWrappedObject->pixmap(which)); +} + +void PythonQtWrapper_QWizard::removePage(QWizard* theWrappedObject, int id) +{ + ( theWrappedObject->removePage(id)); +} + +void PythonQtWrapper_QWizard::resizeEvent(QWizard* theWrappedObject, QResizeEvent* event) +{ + ( ((PythonQtPublicPromoter_QWizard*)theWrappedObject)->promoted_resizeEvent(event)); +} + +void PythonQtWrapper_QWizard::setButton(QWizard* theWrappedObject, QWizard::WizardButton which, QAbstractButton* button) +{ + ( theWrappedObject->setButton(which, button)); +} + +void PythonQtWrapper_QWizard::setButtonLayout(QWizard* theWrappedObject, const QList& layout) +{ + ( theWrappedObject->setButtonLayout(layout)); +} + +void PythonQtWrapper_QWizard::setButtonText(QWizard* theWrappedObject, QWizard::WizardButton which, const QString& text) +{ + ( theWrappedObject->setButtonText(which, text)); +} + +void PythonQtWrapper_QWizard::setField(QWizard* theWrappedObject, const QString& name, const QVariant& value) +{ + ( theWrappedObject->setField(name, value)); +} + +void PythonQtWrapper_QWizard::setOption(QWizard* theWrappedObject, QWizard::WizardOption option, bool on) +{ + ( theWrappedObject->setOption(option, on)); +} + +void PythonQtWrapper_QWizard::setOptions(QWizard* theWrappedObject, QWizard::WizardOptions options) +{ + ( theWrappedObject->setOptions(options)); +} + +void PythonQtWrapper_QWizard::setPage(QWizard* theWrappedObject, int id, QWizardPage* page) +{ + ( theWrappedObject->setPage(id, page)); +} + +void PythonQtWrapper_QWizard::setPixmap(QWizard* theWrappedObject, QWizard::WizardPixmap which, const QPixmap& pixmap) +{ + ( theWrappedObject->setPixmap(which, pixmap)); +} + +void PythonQtWrapper_QWizard::setStartId(QWizard* theWrappedObject, int id) +{ + ( theWrappedObject->setStartId(id)); +} + +void PythonQtWrapper_QWizard::setSubTitleFormat(QWizard* theWrappedObject, Qt::TextFormat format) +{ + ( theWrappedObject->setSubTitleFormat(format)); +} + +void PythonQtWrapper_QWizard::setTitleFormat(QWizard* theWrappedObject, Qt::TextFormat format) +{ + ( theWrappedObject->setTitleFormat(format)); +} + +void PythonQtWrapper_QWizard::setVisible(QWizard* theWrappedObject, bool visible) +{ + ( theWrappedObject->setVisible(visible)); +} + +void PythonQtWrapper_QWizard::setWizardStyle(QWizard* theWrappedObject, QWizard::WizardStyle style) +{ + ( theWrappedObject->setWizardStyle(style)); +} + +QSize PythonQtWrapper_QWizard::sizeHint(QWizard* theWrappedObject) const +{ + return ( theWrappedObject->sizeHint()); +} + +int PythonQtWrapper_QWizard::startId(QWizard* theWrappedObject) const +{ + return ( theWrappedObject->startId()); +} + +Qt::TextFormat PythonQtWrapper_QWizard::subTitleFormat(QWizard* theWrappedObject) const +{ + return ( theWrappedObject->subTitleFormat()); +} + +bool PythonQtWrapper_QWizard::testOption(QWizard* theWrappedObject, QWizard::WizardOption option) const +{ + return ( theWrappedObject->testOption(option)); +} + +Qt::TextFormat PythonQtWrapper_QWizard::titleFormat(QWizard* theWrappedObject) const +{ + return ( theWrappedObject->titleFormat()); +} + +bool PythonQtWrapper_QWizard::validateCurrentPage(QWizard* theWrappedObject) +{ + return ( ((PythonQtPublicPromoter_QWizard*)theWrappedObject)->promoted_validateCurrentPage()); +} + +QList PythonQtWrapper_QWizard::visitedPages(QWizard* theWrappedObject) const +{ + return ( theWrappedObject->visitedPages()); +} + +QWizard::WizardStyle PythonQtWrapper_QWizard::wizardStyle(QWizard* theWrappedObject) const +{ + return ( theWrappedObject->wizardStyle()); +} + + + +void PythonQtShell_QWizardPage::actionEvent(QActionEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "actionEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QActionEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QWizardPage::actionEvent(arg__1); +} +void PythonQtShell_QWizardPage::changeEvent(QEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "changeEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QWizardPage::changeEvent(arg__1); +} +void PythonQtShell_QWizardPage::childEvent(QChildEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "childEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QChildEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QWizardPage::childEvent(arg__1); +} +void PythonQtShell_QWizardPage::cleanupPage() +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "cleanupPage"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={""}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QWizardPage::cleanupPage(); +} +void PythonQtShell_QWizardPage::closeEvent(QCloseEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "closeEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QCloseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QWizardPage::closeEvent(arg__1); +} +void PythonQtShell_QWizardPage::contextMenuEvent(QContextMenuEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "contextMenuEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QContextMenuEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QWizardPage::contextMenuEvent(arg__1); +} +void PythonQtShell_QWizardPage::customEvent(QEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "customEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QWizardPage::customEvent(arg__1); +} +int PythonQtShell_QWizardPage::devType() const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "devType"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + int returnValue; + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("devType", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QWizardPage::devType(); +} +void PythonQtShell_QWizardPage::dragEnterEvent(QDragEnterEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dragEnterEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QDragEnterEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QWizardPage::dragEnterEvent(arg__1); +} +void PythonQtShell_QWizardPage::dragLeaveEvent(QDragLeaveEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dragLeaveEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QDragLeaveEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QWizardPage::dragLeaveEvent(arg__1); +} +void PythonQtShell_QWizardPage::dragMoveEvent(QDragMoveEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dragMoveEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QDragMoveEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QWizardPage::dragMoveEvent(arg__1); +} +void PythonQtShell_QWizardPage::dropEvent(QDropEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dropEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QDropEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QWizardPage::dropEvent(arg__1); +} +void PythonQtShell_QWizardPage::enterEvent(QEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "enterEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QWizardPage::enterEvent(arg__1); +} +bool PythonQtShell_QWizardPage::event(QEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "event"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue; + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QWizardPage::event(arg__1); +} +bool PythonQtShell_QWizardPage::eventFilter(QObject* arg__1, QEvent* arg__2) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "eventFilter"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue; + void* args[3] = {NULL, (void*)&arg__1, (void*)&arg__2}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QWizardPage::eventFilter(arg__1, arg__2); +} +void PythonQtShell_QWizardPage::focusInEvent(QFocusEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "focusInEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QFocusEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QWizardPage::focusInEvent(arg__1); +} +bool PythonQtShell_QWizardPage::focusNextPrevChild(bool next) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "focusNextPrevChild"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue; + void* args[2] = {NULL, (void*)&next}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("focusNextPrevChild", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QWizardPage::focusNextPrevChild(next); +} +void PythonQtShell_QWizardPage::focusOutEvent(QFocusEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "focusOutEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QFocusEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QWizardPage::focusOutEvent(arg__1); +} +int PythonQtShell_QWizardPage::heightForWidth(int arg__1) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "heightForWidth"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"int" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + int returnValue; + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("heightForWidth", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QWizardPage::heightForWidth(arg__1); +} +void PythonQtShell_QWizardPage::hideEvent(QHideEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "hideEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QHideEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QWizardPage::hideEvent(arg__1); +} +void PythonQtShell_QWizardPage::initializePage() +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "initializePage"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={""}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QWizardPage::initializePage(); +} +void PythonQtShell_QWizardPage::inputMethodEvent(QInputMethodEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "inputMethodEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QInputMethodEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QWizardPage::inputMethodEvent(arg__1); +} +QVariant PythonQtShell_QWizardPage::inputMethodQuery(Qt::InputMethodQuery arg__1) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "inputMethodQuery"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QVariant" , "Qt::InputMethodQuery"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + QVariant returnValue; + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result); + } else { + returnValue = *((QVariant*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QWizardPage::inputMethodQuery(arg__1); +} +bool PythonQtShell_QWizardPage::isComplete() const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "isComplete"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + bool returnValue; + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("isComplete", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QWizardPage::isComplete(); +} +void PythonQtShell_QWizardPage::keyPressEvent(QKeyEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "keyPressEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QKeyEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QWizardPage::keyPressEvent(arg__1); +} +void PythonQtShell_QWizardPage::keyReleaseEvent(QKeyEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "keyReleaseEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QKeyEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QWizardPage::keyReleaseEvent(arg__1); +} +void PythonQtShell_QWizardPage::languageChange() +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "languageChange"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={""}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QWizardPage::languageChange(); +} +void PythonQtShell_QWizardPage::leaveEvent(QEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "leaveEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QWizardPage::leaveEvent(arg__1); +} +int PythonQtShell_QWizardPage::metric(QPaintDevice::PaintDeviceMetric arg__1) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "metric"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + int returnValue; + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("metric", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QWizardPage::metric(arg__1); +} +QSize PythonQtShell_QWizardPage::minimumSizeHint() const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "getMinimumSizeHint"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QSize"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QSize returnValue; + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("getMinimumSizeHint", methodInfo, result); + } else { + returnValue = *((QSize*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QWizardPage::minimumSizeHint(); +} +void PythonQtShell_QWizardPage::mouseDoubleClickEvent(QMouseEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mouseDoubleClickEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QWizardPage::mouseDoubleClickEvent(arg__1); +} +void PythonQtShell_QWizardPage::mouseMoveEvent(QMouseEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mouseMoveEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QWizardPage::mouseMoveEvent(arg__1); +} +void PythonQtShell_QWizardPage::mousePressEvent(QMouseEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mousePressEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QWizardPage::mousePressEvent(arg__1); +} +void PythonQtShell_QWizardPage::mouseReleaseEvent(QMouseEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mouseReleaseEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QWizardPage::mouseReleaseEvent(arg__1); +} +void PythonQtShell_QWizardPage::moveEvent(QMoveEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "moveEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QMoveEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QWizardPage::moveEvent(arg__1); +} +int PythonQtShell_QWizardPage::nextId() const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "nextId"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + int returnValue; + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("nextId", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QWizardPage::nextId(); +} +QPaintEngine* PythonQtShell_QWizardPage::paintEngine() const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "paintEngine"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QPaintEngine*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QPaintEngine* returnValue; + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); + } else { + returnValue = *((QPaintEngine**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QWizardPage::paintEngine(); +} +void PythonQtShell_QWizardPage::paintEvent(QPaintEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "paintEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QPaintEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QWizardPage::paintEvent(arg__1); +} +void PythonQtShell_QWizardPage::resizeEvent(QResizeEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "resizeEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QResizeEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QWizardPage::resizeEvent(arg__1); +} +void PythonQtShell_QWizardPage::showEvent(QShowEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "showEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QShowEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QWizardPage::showEvent(arg__1); +} +QSize PythonQtShell_QWizardPage::sizeHint() const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "getSizeHint"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QSize"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QSize returnValue; + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("getSizeHint", methodInfo, result); + } else { + returnValue = *((QSize*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QWizardPage::sizeHint(); +} +void PythonQtShell_QWizardPage::tabletEvent(QTabletEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "tabletEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QTabletEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QWizardPage::tabletEvent(arg__1); +} +void PythonQtShell_QWizardPage::timerEvent(QTimerEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "timerEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QTimerEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QWizardPage::timerEvent(arg__1); +} +bool PythonQtShell_QWizardPage::validatePage() +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "validatePage"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + bool returnValue; + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("validatePage", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QWizardPage::validatePage(); +} +void PythonQtShell_QWizardPage::wheelEvent(QWheelEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "wheelEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QWheelEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QWizardPage::wheelEvent(arg__1); +} +QWizardPage* PythonQtWrapper_QWizardPage::new_QWizardPage(QWidget* parent) +{ +return new PythonQtShell_QWizardPage(parent); } + +QString PythonQtWrapper_QWizardPage::buttonText(QWizardPage* theWrappedObject, QWizard::WizardButton which) const +{ + return ( theWrappedObject->buttonText(which)); +} + +void PythonQtWrapper_QWizardPage::cleanupPage(QWizardPage* theWrappedObject) +{ + ( ((PythonQtPublicPromoter_QWizardPage*)theWrappedObject)->promoted_cleanupPage()); +} + +void PythonQtWrapper_QWizardPage::initializePage(QWizardPage* theWrappedObject) +{ + ( ((PythonQtPublicPromoter_QWizardPage*)theWrappedObject)->promoted_initializePage()); +} + +bool PythonQtWrapper_QWizardPage::isCommitPage(QWizardPage* theWrappedObject) const +{ + return ( theWrappedObject->isCommitPage()); +} + +bool PythonQtWrapper_QWizardPage::isComplete(QWizardPage* theWrappedObject) const +{ + return ( ((PythonQtPublicPromoter_QWizardPage*)theWrappedObject)->promoted_isComplete()); +} + +bool PythonQtWrapper_QWizardPage::isFinalPage(QWizardPage* theWrappedObject) const +{ + return ( theWrappedObject->isFinalPage()); +} + +int PythonQtWrapper_QWizardPage::nextId(QWizardPage* theWrappedObject) const +{ + return ( ((PythonQtPublicPromoter_QWizardPage*)theWrappedObject)->promoted_nextId()); +} + +QPixmap PythonQtWrapper_QWizardPage::pixmap(QWizardPage* theWrappedObject, QWizard::WizardPixmap which) const +{ + return ( theWrappedObject->pixmap(which)); +} + +void PythonQtWrapper_QWizardPage::setButtonText(QWizardPage* theWrappedObject, QWizard::WizardButton which, const QString& text) +{ + ( theWrappedObject->setButtonText(which, text)); +} + +void PythonQtWrapper_QWizardPage::setCommitPage(QWizardPage* theWrappedObject, bool commitPage) +{ + ( theWrappedObject->setCommitPage(commitPage)); +} + +void PythonQtWrapper_QWizardPage::setFinalPage(QWizardPage* theWrappedObject, bool finalPage) +{ + ( theWrappedObject->setFinalPage(finalPage)); +} + +void PythonQtWrapper_QWizardPage::setPixmap(QWizardPage* theWrappedObject, QWizard::WizardPixmap which, const QPixmap& pixmap) +{ + ( theWrappedObject->setPixmap(which, pixmap)); +} + +void PythonQtWrapper_QWizardPage::setSubTitle(QWizardPage* theWrappedObject, const QString& subTitle) +{ + ( theWrappedObject->setSubTitle(subTitle)); +} + +void PythonQtWrapper_QWizardPage::setTitle(QWizardPage* theWrappedObject, const QString& title) +{ + ( theWrappedObject->setTitle(title)); +} + +QString PythonQtWrapper_QWizardPage::subTitle(QWizardPage* theWrappedObject) const +{ + return ( theWrappedObject->subTitle()); +} + +QString PythonQtWrapper_QWizardPage::title(QWizardPage* theWrappedObject) const +{ + return ( theWrappedObject->title()); +} + +bool PythonQtWrapper_QWizardPage::validatePage(QWizardPage* theWrappedObject) +{ + return ( ((PythonQtPublicPromoter_QWizardPage*)theWrappedObject)->promoted_validatePage()); +} + + + +void PythonQtShell_QWorkspace::actionEvent(QActionEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "actionEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QActionEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QWorkspace::actionEvent(arg__1); +} +void PythonQtShell_QWorkspace::changeEvent(QEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "changeEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QWorkspace::changeEvent(arg__1); +} +void PythonQtShell_QWorkspace::childEvent(QChildEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "childEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QChildEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QWorkspace::childEvent(arg__1); +} +void PythonQtShell_QWorkspace::closeEvent(QCloseEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "closeEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QCloseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QWorkspace::closeEvent(arg__1); +} +void PythonQtShell_QWorkspace::contextMenuEvent(QContextMenuEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "contextMenuEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QContextMenuEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QWorkspace::contextMenuEvent(arg__1); +} +void PythonQtShell_QWorkspace::customEvent(QEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "customEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QWorkspace::customEvent(arg__1); +} +int PythonQtShell_QWorkspace::devType() const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "devType"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + int returnValue; + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("devType", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QWorkspace::devType(); +} +void PythonQtShell_QWorkspace::dragEnterEvent(QDragEnterEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dragEnterEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QDragEnterEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QWorkspace::dragEnterEvent(arg__1); +} +void PythonQtShell_QWorkspace::dragLeaveEvent(QDragLeaveEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dragLeaveEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QDragLeaveEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QWorkspace::dragLeaveEvent(arg__1); +} +void PythonQtShell_QWorkspace::dragMoveEvent(QDragMoveEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dragMoveEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QDragMoveEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QWorkspace::dragMoveEvent(arg__1); +} +void PythonQtShell_QWorkspace::dropEvent(QDropEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dropEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QDropEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QWorkspace::dropEvent(arg__1); +} +void PythonQtShell_QWorkspace::enterEvent(QEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "enterEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QWorkspace::enterEvent(arg__1); +} +bool PythonQtShell_QWorkspace::event(QEvent* e) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "event"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue; + void* args[2] = {NULL, (void*)&e}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QWorkspace::event(e); +} +bool PythonQtShell_QWorkspace::eventFilter(QObject* arg__1, QEvent* arg__2) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "eventFilter"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue; + void* args[3] = {NULL, (void*)&arg__1, (void*)&arg__2}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QWorkspace::eventFilter(arg__1, arg__2); +} +void PythonQtShell_QWorkspace::focusInEvent(QFocusEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "focusInEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QFocusEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QWorkspace::focusInEvent(arg__1); +} +bool PythonQtShell_QWorkspace::focusNextPrevChild(bool next) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "focusNextPrevChild"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue; + void* args[2] = {NULL, (void*)&next}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("focusNextPrevChild", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QWorkspace::focusNextPrevChild(next); +} +void PythonQtShell_QWorkspace::focusOutEvent(QFocusEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "focusOutEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QFocusEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QWorkspace::focusOutEvent(arg__1); +} +int PythonQtShell_QWorkspace::heightForWidth(int arg__1) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "heightForWidth"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"int" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + int returnValue; + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("heightForWidth", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QWorkspace::heightForWidth(arg__1); +} +void PythonQtShell_QWorkspace::hideEvent(QHideEvent* e) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "hideEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QHideEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&e}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QWorkspace::hideEvent(e); +} +void PythonQtShell_QWorkspace::inputMethodEvent(QInputMethodEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "inputMethodEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QInputMethodEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QWorkspace::inputMethodEvent(arg__1); +} +QVariant PythonQtShell_QWorkspace::inputMethodQuery(Qt::InputMethodQuery arg__1) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "inputMethodQuery"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QVariant" , "Qt::InputMethodQuery"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + QVariant returnValue; + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result); + } else { + returnValue = *((QVariant*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QWorkspace::inputMethodQuery(arg__1); +} +void PythonQtShell_QWorkspace::keyPressEvent(QKeyEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "keyPressEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QKeyEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QWorkspace::keyPressEvent(arg__1); +} +void PythonQtShell_QWorkspace::keyReleaseEvent(QKeyEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "keyReleaseEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QKeyEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QWorkspace::keyReleaseEvent(arg__1); +} +void PythonQtShell_QWorkspace::languageChange() +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "languageChange"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={""}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QWorkspace::languageChange(); +} +void PythonQtShell_QWorkspace::leaveEvent(QEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "leaveEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QWorkspace::leaveEvent(arg__1); +} +int PythonQtShell_QWorkspace::metric(QPaintDevice::PaintDeviceMetric arg__1) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "metric"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + int returnValue; + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("metric", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QWorkspace::metric(arg__1); +} +QSize PythonQtShell_QWorkspace::minimumSizeHint() const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "getMinimumSizeHint"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QSize"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QSize returnValue; + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("getMinimumSizeHint", methodInfo, result); + } else { + returnValue = *((QSize*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QWorkspace::minimumSizeHint(); +} +void PythonQtShell_QWorkspace::mouseDoubleClickEvent(QMouseEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mouseDoubleClickEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QWorkspace::mouseDoubleClickEvent(arg__1); +} +void PythonQtShell_QWorkspace::mouseMoveEvent(QMouseEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mouseMoveEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QWorkspace::mouseMoveEvent(arg__1); +} +void PythonQtShell_QWorkspace::mousePressEvent(QMouseEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mousePressEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QWorkspace::mousePressEvent(arg__1); +} +void PythonQtShell_QWorkspace::mouseReleaseEvent(QMouseEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mouseReleaseEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QWorkspace::mouseReleaseEvent(arg__1); +} +void PythonQtShell_QWorkspace::moveEvent(QMoveEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "moveEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QMoveEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QWorkspace::moveEvent(arg__1); +} +QPaintEngine* PythonQtShell_QWorkspace::paintEngine() const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "paintEngine"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QPaintEngine*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QPaintEngine* returnValue; + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); + } else { + returnValue = *((QPaintEngine**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QWorkspace::paintEngine(); +} +void PythonQtShell_QWorkspace::paintEvent(QPaintEvent* e) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "paintEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QPaintEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&e}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QWorkspace::paintEvent(e); +} +void PythonQtShell_QWorkspace::resizeEvent(QResizeEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "resizeEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QResizeEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QWorkspace::resizeEvent(arg__1); +} +void PythonQtShell_QWorkspace::showEvent(QShowEvent* e) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "showEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QShowEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&e}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QWorkspace::showEvent(e); +} +void PythonQtShell_QWorkspace::tabletEvent(QTabletEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "tabletEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QTabletEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QWorkspace::tabletEvent(arg__1); +} +void PythonQtShell_QWorkspace::timerEvent(QTimerEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "timerEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QTimerEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QWorkspace::timerEvent(arg__1); +} +void PythonQtShell_QWorkspace::wheelEvent(QWheelEvent* e) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "wheelEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QWheelEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&e}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QWorkspace::wheelEvent(e); +} +QWorkspace* PythonQtWrapper_QWorkspace::new_QWorkspace(QWidget* parent) +{ +return new PythonQtShell_QWorkspace(parent); } + +QWidget* PythonQtWrapper_QWorkspace::activeWindow(QWorkspace* theWrappedObject) const +{ + return ( theWrappedObject->activeWindow()); +} + +QWidget* PythonQtWrapper_QWorkspace::addWindow(QWorkspace* theWrappedObject, QWidget* w, Qt::WindowFlags flags) +{ + return ( theWrappedObject->addWindow(w, flags)); +} + +QBrush PythonQtWrapper_QWorkspace::background(QWorkspace* theWrappedObject) const +{ + return ( theWrappedObject->background()); +} + +void PythonQtWrapper_QWorkspace::changeEvent(QWorkspace* theWrappedObject, QEvent* arg__1) +{ + ( ((PythonQtPublicPromoter_QWorkspace*)theWrappedObject)->promoted_changeEvent(arg__1)); +} + +void PythonQtWrapper_QWorkspace::childEvent(QWorkspace* theWrappedObject, QChildEvent* arg__1) +{ + ( ((PythonQtPublicPromoter_QWorkspace*)theWrappedObject)->promoted_childEvent(arg__1)); +} + +bool PythonQtWrapper_QWorkspace::event(QWorkspace* theWrappedObject, QEvent* e) +{ + return ( ((PythonQtPublicPromoter_QWorkspace*)theWrappedObject)->promoted_event(e)); +} + +bool PythonQtWrapper_QWorkspace::eventFilter(QWorkspace* theWrappedObject, QObject* arg__1, QEvent* arg__2) +{ + return ( ((PythonQtPublicPromoter_QWorkspace*)theWrappedObject)->promoted_eventFilter(arg__1, arg__2)); +} + +void PythonQtWrapper_QWorkspace::hideEvent(QWorkspace* theWrappedObject, QHideEvent* e) +{ + ( ((PythonQtPublicPromoter_QWorkspace*)theWrappedObject)->promoted_hideEvent(e)); +} + +void PythonQtWrapper_QWorkspace::paintEvent(QWorkspace* theWrappedObject, QPaintEvent* e) +{ + ( ((PythonQtPublicPromoter_QWorkspace*)theWrappedObject)->promoted_paintEvent(e)); +} + +void PythonQtWrapper_QWorkspace::resizeEvent(QWorkspace* theWrappedObject, QResizeEvent* arg__1) +{ + ( ((PythonQtPublicPromoter_QWorkspace*)theWrappedObject)->promoted_resizeEvent(arg__1)); +} + +bool PythonQtWrapper_QWorkspace::scrollBarsEnabled(QWorkspace* theWrappedObject) const +{ + return ( theWrappedObject->scrollBarsEnabled()); +} + +void PythonQtWrapper_QWorkspace::setBackground(QWorkspace* theWrappedObject, const QBrush& background) +{ + ( theWrappedObject->setBackground(background)); +} + +void PythonQtWrapper_QWorkspace::setScrollBarsEnabled(QWorkspace* theWrappedObject, bool enable) +{ + ( theWrappedObject->setScrollBarsEnabled(enable)); +} + +void PythonQtWrapper_QWorkspace::showEvent(QWorkspace* theWrappedObject, QShowEvent* e) +{ + ( ((PythonQtPublicPromoter_QWorkspace*)theWrappedObject)->promoted_showEvent(e)); +} + +QSize PythonQtWrapper_QWorkspace::sizeHint(QWorkspace* theWrappedObject) const +{ + return ( theWrappedObject->sizeHint()); +} + +void PythonQtWrapper_QWorkspace::wheelEvent(QWorkspace* theWrappedObject, QWheelEvent* e) +{ + ( ((PythonQtPublicPromoter_QWorkspace*)theWrappedObject)->promoted_wheelEvent(e)); +} + +QList PythonQtWrapper_QWorkspace::windowList(QWorkspace* theWrappedObject, QWorkspace::WindowOrder order) const +{ + return ( theWrappedObject->windowList(order)); +} + + diff --git a/generated_cpp_47/com_trolltech_qt_gui/com_trolltech_qt_gui10.h b/generated_cpp_47/com_trolltech_qt_gui/com_trolltech_qt_gui10.h new file mode 100644 index 00000000..aa8d1ab2 --- /dev/null +++ b/generated_cpp_47/com_trolltech_qt_gui/com_trolltech_qt_gui10.h @@ -0,0 +1,2140 @@ +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#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_QToolTip : public QObject +{ Q_OBJECT +public: +public slots: +void delete_QToolTip(QToolTip* obj) { delete obj; } + QFont static_QToolTip_font(); + void static_QToolTip_hideText(); + bool static_QToolTip_isVisible(); + QPalette static_QToolTip_palette(); + void static_QToolTip_setFont(const QFont& arg__1); + void static_QToolTip_setPalette(const QPalette& arg__1); + void static_QToolTip_showText(const QPoint& pos, const QString& text, QWidget* w = 0); + void static_QToolTip_showText(const QPoint& pos, const QString& text, QWidget* w, const QRect& rect); + QString static_QToolTip_text(); +}; + + + + + +class PythonQtShell_QTouchEvent : public QTouchEvent +{ +public: + PythonQtShell_QTouchEvent(QEvent::Type eventType, QTouchEvent::DeviceType deviceType = QTouchEvent::TouchScreen, Qt::KeyboardModifiers modifiers = Qt::NoModifier, Qt::TouchPointStates touchPointStates = 0, const QList& touchPoints = QList()):QTouchEvent(eventType, deviceType, modifiers, touchPointStates, touchPoints),_wrapper(NULL) {}; + + + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtWrapper_QTouchEvent : public QObject +{ Q_OBJECT +public: +Q_ENUMS(DeviceType ) +enum DeviceType{ + TouchScreen = QTouchEvent::TouchScreen, TouchPad = QTouchEvent::TouchPad}; +public slots: +QTouchEvent* new_QTouchEvent(QEvent::Type eventType, QTouchEvent::DeviceType deviceType = QTouchEvent::TouchScreen, Qt::KeyboardModifiers modifiers = Qt::NoModifier, Qt::TouchPointStates touchPointStates = 0, const QList& touchPoints = QList()); +void delete_QTouchEvent(QTouchEvent* obj) { delete obj; } + QTouchEvent::DeviceType deviceType(QTouchEvent* theWrappedObject) const; + void setDeviceType(QTouchEvent* theWrappedObject, QTouchEvent::DeviceType adeviceType); + void setTouchPointStates(QTouchEvent* theWrappedObject, Qt::TouchPointStates aTouchPointStates); + void setTouchPoints(QTouchEvent* theWrappedObject, const QList& atouchPoints); + void setWidget(QTouchEvent* theWrappedObject, QWidget* awidget); + Qt::TouchPointStates touchPointStates(QTouchEvent* theWrappedObject) const; + const QList* touchPoints(QTouchEvent* theWrappedObject) const; + QWidget* widget(QTouchEvent* theWrappedObject) const; +}; + + + + + +class PythonQtWrapper_QTouchEvent_TouchPoint : public QObject +{ Q_OBJECT +public: +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; } + int id(QTouchEvent::TouchPoint* theWrappedObject) const; + bool isPrimary(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; + QRectF rect(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 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 setRect(QTouchEvent::TouchPoint* theWrappedObject, const QRectF& rect); + 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); + 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; +}; + + + + + +class PythonQtWrapper_QTransform : public QObject +{ Q_OBJECT +public: +Q_ENUMS(TransformationType ) +enum TransformationType{ + TxNone = QTransform::TxNone, TxTranslate = QTransform::TxTranslate, TxScale = QTransform::TxScale, TxRotate = QTransform::TxRotate, TxShear = QTransform::TxShear, TxProject = QTransform::TxProject}; +public slots: +QTransform* new_QTransform(); +QTransform* new_QTransform(const QMatrix& mtx); +QTransform* new_QTransform(qreal h11, qreal h12, qreal h13, qreal h21, qreal h22, qreal h23, qreal h31, qreal h32, qreal h33 = 1.0); +QTransform* new_QTransform(qreal h11, qreal h12, qreal h21, qreal h22, qreal dx, qreal dy); +QTransform* new_QTransform(const QTransform& other) { +QTransform* a = new QTransform(); +*((QTransform*)a) = other; +return a; } +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 = 0) 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; + void map(QTransform* theWrappedObject, qreal x, qreal y, qreal* tx, qreal* ty) 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*); +}; + + + + + +class PythonQtShell_QTreeView : public QTreeView +{ +public: + PythonQtShell_QTreeView(QWidget* parent = 0):QTreeView(parent),_wrapper(NULL) {}; + +virtual void actionEvent(QActionEvent* arg__1); +virtual void changeEvent(QEvent* arg__1); +virtual void childEvent(QChildEvent* arg__1); +virtual void closeEditor(QWidget* editor, QAbstractItemDelegate::EndEditHint hint); +virtual void closeEvent(QCloseEvent* arg__1); +virtual void commitData(QWidget* editor); +virtual void contextMenuEvent(QContextMenuEvent* arg__1); +virtual void currentChanged(const QModelIndex& current, const QModelIndex& previous); +virtual void customEvent(QEvent* arg__1); +virtual void dataChanged(const QModelIndex& topLeft, const QModelIndex& bottomRight); +virtual int devType() const; +virtual void doItemsLayout(); +virtual void dragEnterEvent(QDragEnterEvent* event); +virtual void dragLeaveEvent(QDragLeaveEvent* event); +virtual void dragMoveEvent(QDragMoveEvent* event); +virtual void drawBranches(QPainter* painter, const QRect& rect, const QModelIndex& index) const; +virtual void drawRow(QPainter* painter, const QStyleOptionViewItem& options, const QModelIndex& index) const; +virtual void dropEvent(QDropEvent* event); +virtual bool edit(const QModelIndex& index, QAbstractItemView::EditTrigger trigger, QEvent* event); +virtual void editorDestroyed(QObject* editor); +virtual void enterEvent(QEvent* arg__1); +virtual bool event(QEvent* event); +virtual bool eventFilter(QObject* arg__1, QEvent* arg__2); +virtual void focusInEvent(QFocusEvent* event); +virtual bool focusNextPrevChild(bool next); +virtual void focusOutEvent(QFocusEvent* event); +virtual int heightForWidth(int arg__1) const; +virtual void hideEvent(QHideEvent* arg__1); +virtual int horizontalOffset() const; +virtual void horizontalScrollbarAction(int action); +virtual void horizontalScrollbarValueChanged(int value); +virtual QModelIndex indexAt(const QPoint& p) const; +virtual void inputMethodEvent(QInputMethodEvent* event); +virtual QVariant inputMethodQuery(Qt::InputMethodQuery query) const; +virtual bool isIndexHidden(const QModelIndex& index) const; +virtual void keyPressEvent(QKeyEvent* event); +virtual void keyReleaseEvent(QKeyEvent* arg__1); +virtual void keyboardSearch(const QString& search); +virtual void languageChange(); +virtual void leaveEvent(QEvent* arg__1); +virtual int metric(QPaintDevice::PaintDeviceMetric arg__1) const; +virtual void mouseDoubleClickEvent(QMouseEvent* event); +virtual void mouseMoveEvent(QMouseEvent* event); +virtual void mousePressEvent(QMouseEvent* event); +virtual void mouseReleaseEvent(QMouseEvent* event); +virtual void moveEvent(QMoveEvent* arg__1); +virtual QPaintEngine* paintEngine() const; +virtual void paintEvent(QPaintEvent* event); +virtual void reset(); +virtual void resizeEvent(QResizeEvent* event); +virtual void rowsAboutToBeRemoved(const QModelIndex& parent, int start, int end); +virtual void rowsInserted(const QModelIndex& parent, int start, int end); +virtual void scrollContentsBy(int dx, int dy); +virtual void scrollTo(const QModelIndex& index, QAbstractItemView::ScrollHint hint = QAbstractItemView::EnsureVisible); +virtual void selectAll(); +virtual QList selectedIndexes() const; +virtual void selectionChanged(const QItemSelection& selected, const QItemSelection& deselected); +virtual QItemSelectionModel::SelectionFlags selectionCommand(const QModelIndex& index, const QEvent* event) const; +virtual void setModel(QAbstractItemModel* model); +virtual void setRootIndex(const QModelIndex& index); +virtual void setSelection(const QRect& rect, QItemSelectionModel::SelectionFlags command); +virtual void setSelectionModel(QItemSelectionModel* selectionModel); +virtual void showEvent(QShowEvent* arg__1); +virtual int sizeHintForColumn(int column) const; +virtual int sizeHintForRow(int row) const; +virtual void startDrag(Qt::DropActions supportedActions); +virtual void tabletEvent(QTabletEvent* arg__1); +virtual void timerEvent(QTimerEvent* event); +virtual void updateEditorData(); +virtual void updateEditorGeometries(); +virtual void updateGeometries(); +virtual int verticalOffset() const; +virtual void verticalScrollbarAction(int action); +virtual void verticalScrollbarValueChanged(int value); +virtual QStyleOptionViewItem viewOptions() const; +virtual bool viewportEvent(QEvent* event); +virtual QRect visualRect(const QModelIndex& index) const; +virtual QRegion visualRegionForSelection(const QItemSelection& selection) const; +virtual void wheelEvent(QWheelEvent* arg__1); + + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtPublicPromoter_QTreeView : public QTreeView +{ public: +inline void promoted_currentChanged(const QModelIndex& current, const QModelIndex& previous) { QTreeView::currentChanged(current, previous); } +inline void promoted_dataChanged(const QModelIndex& topLeft, const QModelIndex& bottomRight) { QTreeView::dataChanged(topLeft, bottomRight); } +inline void promoted_doItemsLayout() { QTreeView::doItemsLayout(); } +inline void promoted_dragMoveEvent(QDragMoveEvent* event) { QTreeView::dragMoveEvent(event); } +inline void promoted_drawBranches(QPainter* painter, const QRect& rect, const QModelIndex& index) const { QTreeView::drawBranches(painter, rect, index); } +inline void promoted_drawRow(QPainter* painter, const QStyleOptionViewItem& options, const QModelIndex& index) const { QTreeView::drawRow(painter, options, index); } +inline int promoted_horizontalOffset() const { return QTreeView::horizontalOffset(); } +inline void promoted_horizontalScrollbarAction(int action) { QTreeView::horizontalScrollbarAction(action); } +inline QModelIndex promoted_indexAt(const QPoint& p) const { return QTreeView::indexAt(p); } +inline bool promoted_isIndexHidden(const QModelIndex& index) const { return QTreeView::isIndexHidden(index); } +inline void promoted_keyPressEvent(QKeyEvent* event) { QTreeView::keyPressEvent(event); } +inline void promoted_keyboardSearch(const QString& search) { QTreeView::keyboardSearch(search); } +inline void promoted_mouseDoubleClickEvent(QMouseEvent* event) { QTreeView::mouseDoubleClickEvent(event); } +inline void promoted_mouseMoveEvent(QMouseEvent* event) { QTreeView::mouseMoveEvent(event); } +inline void promoted_mousePressEvent(QMouseEvent* event) { QTreeView::mousePressEvent(event); } +inline void promoted_mouseReleaseEvent(QMouseEvent* event) { QTreeView::mouseReleaseEvent(event); } +inline void promoted_paintEvent(QPaintEvent* event) { QTreeView::paintEvent(event); } +inline void promoted_reset() { QTreeView::reset(); } +inline void promoted_rowsAboutToBeRemoved(const QModelIndex& parent, int start, int end) { QTreeView::rowsAboutToBeRemoved(parent, start, end); } +inline void promoted_rowsInserted(const QModelIndex& parent, int start, int end) { QTreeView::rowsInserted(parent, start, end); } +inline void promoted_scrollContentsBy(int dx, int dy) { QTreeView::scrollContentsBy(dx, dy); } +inline void promoted_scrollTo(const QModelIndex& index, QAbstractItemView::ScrollHint hint = QAbstractItemView::EnsureVisible) { QTreeView::scrollTo(index, hint); } +inline void promoted_selectAll() { QTreeView::selectAll(); } +inline QList promoted_selectedIndexes() const { return QTreeView::selectedIndexes(); } +inline void promoted_selectionChanged(const QItemSelection& selected, const QItemSelection& deselected) { QTreeView::selectionChanged(selected, deselected); } +inline void promoted_setModel(QAbstractItemModel* model) { QTreeView::setModel(model); } +inline void promoted_setRootIndex(const QModelIndex& index) { QTreeView::setRootIndex(index); } +inline void promoted_setSelection(const QRect& rect, QItemSelectionModel::SelectionFlags command) { QTreeView::setSelection(rect, command); } +inline void promoted_setSelectionModel(QItemSelectionModel* selectionModel) { QTreeView::setSelectionModel(selectionModel); } +inline int promoted_sizeHintForColumn(int column) const { return QTreeView::sizeHintForColumn(column); } +inline void promoted_timerEvent(QTimerEvent* event) { QTreeView::timerEvent(event); } +inline void promoted_updateGeometries() { QTreeView::updateGeometries(); } +inline int promoted_verticalOffset() const { return QTreeView::verticalOffset(); } +inline bool promoted_viewportEvent(QEvent* event) { return QTreeView::viewportEvent(event); } +inline QRect promoted_visualRect(const QModelIndex& index) const { return QTreeView::visualRect(index); } +inline QRegion promoted_visualRegionForSelection(const QItemSelection& selection) const { return QTreeView::visualRegionForSelection(selection); } +}; + +class PythonQtWrapper_QTreeView : public QObject +{ Q_OBJECT +public: +public slots: +QTreeView* new_QTreeView(QWidget* parent = 0); +void delete_QTreeView(QTreeView* obj) { delete obj; } + bool allColumnsShowFocus(QTreeView* theWrappedObject) const; + int autoExpandDelay(QTreeView* theWrappedObject) const; + int columnAt(QTreeView* theWrappedObject, int x) const; + int columnViewportPosition(QTreeView* theWrappedObject, int column) const; + int columnWidth(QTreeView* theWrappedObject, int column) const; + void currentChanged(QTreeView* theWrappedObject, const QModelIndex& current, const QModelIndex& previous); + void dataChanged(QTreeView* theWrappedObject, const QModelIndex& topLeft, const QModelIndex& bottomRight); + void doItemsLayout(QTreeView* theWrappedObject); + void dragMoveEvent(QTreeView* theWrappedObject, QDragMoveEvent* event); + void drawBranches(QTreeView* theWrappedObject, QPainter* painter, const QRect& rect, const QModelIndex& index) const; + void drawRow(QTreeView* theWrappedObject, QPainter* painter, const QStyleOptionViewItem& options, const QModelIndex& index) const; + bool expandsOnDoubleClick(QTreeView* theWrappedObject) const; + QHeaderView* header(QTreeView* theWrappedObject) const; + int horizontalOffset(QTreeView* theWrappedObject) const; + void horizontalScrollbarAction(QTreeView* theWrappedObject, int action); + int indentation(QTreeView* theWrappedObject) const; + QModelIndex indexAbove(QTreeView* theWrappedObject, const QModelIndex& index) const; + QModelIndex indexAt(QTreeView* theWrappedObject, const QPoint& p) const; + QModelIndex indexBelow(QTreeView* theWrappedObject, const QModelIndex& index) const; + bool isAnimated(QTreeView* theWrappedObject) const; + bool isColumnHidden(QTreeView* theWrappedObject, int column) const; + bool isExpanded(QTreeView* theWrappedObject, const QModelIndex& index) const; + bool isFirstColumnSpanned(QTreeView* theWrappedObject, int row, const QModelIndex& parent) const; + bool isHeaderHidden(QTreeView* theWrappedObject) const; + bool isIndexHidden(QTreeView* theWrappedObject, const QModelIndex& index) const; + bool isRowHidden(QTreeView* theWrappedObject, int row, const QModelIndex& parent) const; + bool isSortingEnabled(QTreeView* theWrappedObject) const; + bool itemsExpandable(QTreeView* theWrappedObject) const; + void keyPressEvent(QTreeView* theWrappedObject, QKeyEvent* event); + void keyboardSearch(QTreeView* theWrappedObject, const QString& search); + void mouseDoubleClickEvent(QTreeView* theWrappedObject, QMouseEvent* event); + void mouseMoveEvent(QTreeView* theWrappedObject, QMouseEvent* event); + void mousePressEvent(QTreeView* theWrappedObject, QMouseEvent* event); + void mouseReleaseEvent(QTreeView* theWrappedObject, QMouseEvent* event); + void paintEvent(QTreeView* theWrappedObject, QPaintEvent* event); + void reset(QTreeView* theWrappedObject); + bool rootIsDecorated(QTreeView* theWrappedObject) const; + void rowsAboutToBeRemoved(QTreeView* theWrappedObject, const QModelIndex& parent, int start, int end); + void rowsInserted(QTreeView* theWrappedObject, const QModelIndex& parent, int start, int end); + void scrollContentsBy(QTreeView* theWrappedObject, int dx, int dy); + void scrollTo(QTreeView* theWrappedObject, const QModelIndex& index, QAbstractItemView::ScrollHint hint = QAbstractItemView::EnsureVisible); + void selectAll(QTreeView* theWrappedObject); + QList selectedIndexes(QTreeView* theWrappedObject) const; + void selectionChanged(QTreeView* theWrappedObject, const QItemSelection& selected, const QItemSelection& deselected); + void setAllColumnsShowFocus(QTreeView* theWrappedObject, bool enable); + void setAnimated(QTreeView* theWrappedObject, bool enable); + void setAutoExpandDelay(QTreeView* theWrappedObject, int delay); + void setColumnHidden(QTreeView* theWrappedObject, int column, bool hide); + void setColumnWidth(QTreeView* theWrappedObject, int column, int width); + void setExpanded(QTreeView* theWrappedObject, const QModelIndex& index, bool expand); + void setExpandsOnDoubleClick(QTreeView* theWrappedObject, bool enable); + void setFirstColumnSpanned(QTreeView* theWrappedObject, int row, const QModelIndex& parent, bool span); + void setHeader(QTreeView* theWrappedObject, QHeaderView* header); + void setHeaderHidden(QTreeView* theWrappedObject, bool hide); + void setIndentation(QTreeView* theWrappedObject, int i); + void setItemsExpandable(QTreeView* theWrappedObject, bool enable); + void setModel(QTreeView* theWrappedObject, QAbstractItemModel* model); + void setRootIndex(QTreeView* theWrappedObject, const QModelIndex& index); + void setRootIsDecorated(QTreeView* theWrappedObject, bool show); + void setRowHidden(QTreeView* theWrappedObject, int row, const QModelIndex& parent, bool hide); + void setSelection(QTreeView* theWrappedObject, const QRect& rect, QItemSelectionModel::SelectionFlags command); + void setSelectionModel(QTreeView* theWrappedObject, QItemSelectionModel* selectionModel); + void setSortingEnabled(QTreeView* theWrappedObject, bool enable); + void setUniformRowHeights(QTreeView* theWrappedObject, bool uniform); + void setWordWrap(QTreeView* theWrappedObject, bool on); + int sizeHintForColumn(QTreeView* theWrappedObject, int column) const; + void sortByColumn(QTreeView* theWrappedObject, int column, Qt::SortOrder order); + void timerEvent(QTreeView* theWrappedObject, QTimerEvent* event); + bool uniformRowHeights(QTreeView* theWrappedObject) const; + void updateGeometries(QTreeView* theWrappedObject); + int verticalOffset(QTreeView* theWrappedObject) const; + bool viewportEvent(QTreeView* theWrappedObject, QEvent* event); + QRect visualRect(QTreeView* theWrappedObject, const QModelIndex& index) const; + QRegion visualRegionForSelection(QTreeView* theWrappedObject, const QItemSelection& selection) const; + bool wordWrap(QTreeView* theWrappedObject) const; +}; + + + + + +class PythonQtShell_QTreeWidget : public QTreeWidget +{ +public: + PythonQtShell_QTreeWidget(QWidget* parent = 0):QTreeWidget(parent),_wrapper(NULL) {}; + +virtual void actionEvent(QActionEvent* arg__1); +virtual void changeEvent(QEvent* arg__1); +virtual void childEvent(QChildEvent* arg__1); +virtual void closeEditor(QWidget* editor, QAbstractItemDelegate::EndEditHint hint); +virtual void closeEvent(QCloseEvent* arg__1); +virtual void commitData(QWidget* editor); +virtual void contextMenuEvent(QContextMenuEvent* arg__1); +virtual void currentChanged(const QModelIndex& current, const QModelIndex& previous); +virtual void customEvent(QEvent* arg__1); +virtual void dataChanged(const QModelIndex& topLeft, const QModelIndex& bottomRight); +virtual int devType() const; +virtual void doItemsLayout(); +virtual void dragEnterEvent(QDragEnterEvent* event); +virtual void dragLeaveEvent(QDragLeaveEvent* event); +virtual void dragMoveEvent(QDragMoveEvent* event); +virtual void drawBranches(QPainter* painter, const QRect& rect, const QModelIndex& index) const; +virtual void drawRow(QPainter* painter, const QStyleOptionViewItem& options, const QModelIndex& index) const; +virtual void dropEvent(QDropEvent* event); +virtual bool dropMimeData(QTreeWidgetItem* parent, int index, const QMimeData* data, Qt::DropAction action); +virtual bool edit(const QModelIndex& index, QAbstractItemView::EditTrigger trigger, QEvent* event); +virtual void editorDestroyed(QObject* editor); +virtual void enterEvent(QEvent* arg__1); +virtual bool event(QEvent* e); +virtual bool eventFilter(QObject* arg__1, QEvent* arg__2); +virtual void focusInEvent(QFocusEvent* event); +virtual bool focusNextPrevChild(bool next); +virtual void focusOutEvent(QFocusEvent* event); +virtual int heightForWidth(int arg__1) const; +virtual void hideEvent(QHideEvent* arg__1); +virtual int horizontalOffset() const; +virtual void horizontalScrollbarAction(int action); +virtual void horizontalScrollbarValueChanged(int value); +virtual QModelIndex indexAt(const QPoint& p) const; +virtual void inputMethodEvent(QInputMethodEvent* event); +virtual QVariant inputMethodQuery(Qt::InputMethodQuery query) const; +virtual bool isIndexHidden(const QModelIndex& index) const; +virtual void keyPressEvent(QKeyEvent* event); +virtual void keyReleaseEvent(QKeyEvent* arg__1); +virtual void keyboardSearch(const QString& search); +virtual void languageChange(); +virtual void leaveEvent(QEvent* arg__1); +virtual int metric(QPaintDevice::PaintDeviceMetric arg__1) const; +virtual QMimeData* mimeData(const QList items) const; +virtual QStringList mimeTypes() const; +virtual void mouseDoubleClickEvent(QMouseEvent* event); +virtual void mouseMoveEvent(QMouseEvent* event); +virtual void mousePressEvent(QMouseEvent* event); +virtual void mouseReleaseEvent(QMouseEvent* event); +virtual void moveEvent(QMoveEvent* arg__1); +virtual QPaintEngine* paintEngine() const; +virtual void paintEvent(QPaintEvent* event); +virtual void reset(); +virtual void resizeEvent(QResizeEvent* event); +virtual void rowsAboutToBeRemoved(const QModelIndex& parent, int start, int end); +virtual void rowsInserted(const QModelIndex& parent, int start, int end); +virtual void scrollContentsBy(int dx, int dy); +virtual void scrollTo(const QModelIndex& index, QAbstractItemView::ScrollHint hint); +virtual void selectAll(); +virtual QList selectedIndexes() const; +virtual void selectionChanged(const QItemSelection& selected, const QItemSelection& deselected); +virtual QItemSelectionModel::SelectionFlags selectionCommand(const QModelIndex& index, const QEvent* event) const; +virtual void setRootIndex(const QModelIndex& index); +virtual void setSelection(const QRect& rect, QItemSelectionModel::SelectionFlags command); +virtual void setSelectionModel(QItemSelectionModel* selectionModel); +virtual void showEvent(QShowEvent* arg__1); +virtual int sizeHintForColumn(int column) const; +virtual int sizeHintForRow(int row) const; +virtual void startDrag(Qt::DropActions supportedActions); +virtual Qt::DropActions supportedDropActions() const; +virtual void tabletEvent(QTabletEvent* arg__1); +virtual void timerEvent(QTimerEvent* event); +virtual void updateEditorData(); +virtual void updateEditorGeometries(); +virtual void updateGeometries(); +virtual int verticalOffset() const; +virtual void verticalScrollbarAction(int action); +virtual void verticalScrollbarValueChanged(int value); +virtual QStyleOptionViewItem viewOptions() const; +virtual bool viewportEvent(QEvent* event); +virtual QRect visualRect(const QModelIndex& index) const; +virtual QRegion visualRegionForSelection(const QItemSelection& selection) const; +virtual void wheelEvent(QWheelEvent* arg__1); + + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtPublicPromoter_QTreeWidget : public QTreeWidget +{ public: +inline void promoted_dropEvent(QDropEvent* event) { QTreeWidget::dropEvent(event); } +inline bool promoted_dropMimeData(QTreeWidgetItem* parent, int index, const QMimeData* data, Qt::DropAction action) { return QTreeWidget::dropMimeData(parent, index, data, action); } +inline bool promoted_event(QEvent* e) { return QTreeWidget::event(e); } +inline QStringList promoted_mimeTypes() const { return QTreeWidget::mimeTypes(); } +inline void promoted_setSelectionModel(QItemSelectionModel* selectionModel) { QTreeWidget::setSelectionModel(selectionModel); } +inline Qt::DropActions promoted_supportedDropActions() const { return QTreeWidget::supportedDropActions(); } +}; + +class PythonQtWrapper_QTreeWidget : public QObject +{ Q_OBJECT +public: +public slots: +QTreeWidget* new_QTreeWidget(QWidget* parent = 0); +void delete_QTreeWidget(QTreeWidget* obj) { delete obj; } + void addTopLevelItem(QTreeWidget* theWrappedObject, QTreeWidgetItem* item); + void addTopLevelItems(QTreeWidget* theWrappedObject, const QList& items); + void closePersistentEditor(QTreeWidget* theWrappedObject, QTreeWidgetItem* item, int column = 0); + int columnCount(QTreeWidget* theWrappedObject) const; + int currentColumn(QTreeWidget* theWrappedObject) const; + QTreeWidgetItem* currentItem(QTreeWidget* theWrappedObject) const; + void dropEvent(QTreeWidget* theWrappedObject, QDropEvent* event); + bool dropMimeData(QTreeWidget* theWrappedObject, QTreeWidgetItem* parent, int index, const QMimeData* data, Qt::DropAction action); + void editItem(QTreeWidget* theWrappedObject, QTreeWidgetItem* item, int column = 0); + bool event(QTreeWidget* theWrappedObject, QEvent* e); + QList findItems(QTreeWidget* theWrappedObject, const QString& text, Qt::MatchFlags flags, int column = 0) const; + QTreeWidgetItem* headerItem(QTreeWidget* theWrappedObject) const; + int indexOfTopLevelItem(QTreeWidget* theWrappedObject, QTreeWidgetItem* item) const; + void insertTopLevelItem(QTreeWidget* theWrappedObject, int index, QTreeWidgetItem* item); + void insertTopLevelItems(QTreeWidget* theWrappedObject, int index, const QList& items); + QTreeWidgetItem* invisibleRootItem(QTreeWidget* theWrappedObject) const; + bool isFirstItemColumnSpanned(QTreeWidget* theWrappedObject, const QTreeWidgetItem* item) const; + QTreeWidgetItem* itemAbove(QTreeWidget* theWrappedObject, const QTreeWidgetItem* item) const; + QTreeWidgetItem* itemAt(QTreeWidget* theWrappedObject, const QPoint& p) const; + QTreeWidgetItem* itemAt(QTreeWidget* theWrappedObject, int x, int y) const; + QTreeWidgetItem* itemBelow(QTreeWidget* theWrappedObject, const QTreeWidgetItem* item) const; + QWidget* itemWidget(QTreeWidget* theWrappedObject, QTreeWidgetItem* item, int column) const; + QStringList mimeTypes(QTreeWidget* theWrappedObject) const; + void openPersistentEditor(QTreeWidget* theWrappedObject, QTreeWidgetItem* item, int column = 0); + void removeItemWidget(QTreeWidget* theWrappedObject, QTreeWidgetItem* item, int column); + QList selectedItems(QTreeWidget* theWrappedObject) const; + void setColumnCount(QTreeWidget* theWrappedObject, int columns); + void setCurrentItem(QTreeWidget* theWrappedObject, QTreeWidgetItem* item); + void setCurrentItem(QTreeWidget* theWrappedObject, QTreeWidgetItem* item, int column); + void setCurrentItem(QTreeWidget* theWrappedObject, QTreeWidgetItem* item, int column, QItemSelectionModel::SelectionFlags command); + void setFirstItemColumnSpanned(QTreeWidget* theWrappedObject, const QTreeWidgetItem* item, bool span); + void setHeaderItem(QTreeWidget* theWrappedObject, QTreeWidgetItem* item); + void setHeaderLabel(QTreeWidget* theWrappedObject, const QString& label); + void setHeaderLabels(QTreeWidget* theWrappedObject, const QStringList& labels); + void setItemWidget(QTreeWidget* theWrappedObject, QTreeWidgetItem* item, int column, QWidget* widget); + void setSelectionModel(QTreeWidget* theWrappedObject, QItemSelectionModel* selectionModel); + int sortColumn(QTreeWidget* theWrappedObject) const; + void sortItems(QTreeWidget* theWrappedObject, int column, Qt::SortOrder order); + Qt::DropActions supportedDropActions(QTreeWidget* theWrappedObject) const; + QTreeWidgetItem* takeTopLevelItem(QTreeWidget* theWrappedObject, int index); + QTreeWidgetItem* topLevelItem(QTreeWidget* theWrappedObject, int index) const; + int topLevelItemCount(QTreeWidget* theWrappedObject) const; + QRect visualItemRect(QTreeWidget* theWrappedObject, const QTreeWidgetItem* item) const; +}; + + + + + +class PythonQtShell_QTreeWidgetItem : public QTreeWidgetItem +{ +public: + PythonQtShell_QTreeWidgetItem(QTreeWidget* view, QTreeWidgetItem* after, int type = Type):QTreeWidgetItem(view, after, type),_wrapper(NULL) {}; + PythonQtShell_QTreeWidgetItem(QTreeWidget* view, const QStringList& strings, int type = Type):QTreeWidgetItem(view, strings, type),_wrapper(NULL) {}; + PythonQtShell_QTreeWidgetItem(QTreeWidget* view, int type = Type):QTreeWidgetItem(view, type),_wrapper(NULL) {}; + PythonQtShell_QTreeWidgetItem(QTreeWidgetItem* parent, QTreeWidgetItem* after, int type = Type):QTreeWidgetItem(parent, after, type),_wrapper(NULL) {}; + PythonQtShell_QTreeWidgetItem(QTreeWidgetItem* parent, const QStringList& strings, int type = Type):QTreeWidgetItem(parent, strings, type),_wrapper(NULL) {}; + PythonQtShell_QTreeWidgetItem(QTreeWidgetItem* parent, int type = Type):QTreeWidgetItem(parent, type),_wrapper(NULL) {}; + PythonQtShell_QTreeWidgetItem(const QStringList& strings, int type = Type):QTreeWidgetItem(strings, type),_wrapper(NULL) {}; + PythonQtShell_QTreeWidgetItem(int type = Type):QTreeWidgetItem(type),_wrapper(NULL) {}; + +virtual QTreeWidgetItem* clone() const; +virtual QVariant data(int column, int role) const; +virtual bool __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; +}; + +class PythonQtPublicPromoter_QTreeWidgetItem : public QTreeWidgetItem +{ public: +inline QTreeWidgetItem* promoted_clone() const { return QTreeWidgetItem::clone(); } +inline QVariant promoted_data(int column, int role) const { return QTreeWidgetItem::data(column, role); } +inline void promoted_setData(int column, int role, const QVariant& value) { QTreeWidgetItem::setData(column, role, value); } +}; + +class PythonQtWrapper_QTreeWidgetItem : public QObject +{ Q_OBJECT +public: +Q_ENUMS(ItemType ChildIndicatorPolicy ) +enum ItemType{ + Type = QTreeWidgetItem::Type, UserType = QTreeWidgetItem::UserType}; +enum ChildIndicatorPolicy{ + ShowIndicator = QTreeWidgetItem::ShowIndicator, DontShowIndicator = QTreeWidgetItem::DontShowIndicator, DontShowIndicatorWhenChildless = QTreeWidgetItem::DontShowIndicatorWhenChildless}; +public slots: +QTreeWidgetItem* new_QTreeWidgetItem(QTreeWidget* view, QTreeWidgetItem* after, int type = Type); +QTreeWidgetItem* new_QTreeWidgetItem(QTreeWidget* view, const QStringList& strings, int type = Type); +QTreeWidgetItem* new_QTreeWidgetItem(QTreeWidget* view, int type = Type); +QTreeWidgetItem* new_QTreeWidgetItem(QTreeWidgetItem* parent, QTreeWidgetItem* after, int type = Type); +QTreeWidgetItem* new_QTreeWidgetItem(QTreeWidgetItem* parent, const QStringList& strings, int type = Type); +QTreeWidgetItem* new_QTreeWidgetItem(QTreeWidgetItem* parent, int type = Type); +QTreeWidgetItem* new_QTreeWidgetItem(const QStringList& strings, int type = Type); +QTreeWidgetItem* new_QTreeWidgetItem(int type = Type); +void delete_QTreeWidgetItem(QTreeWidgetItem* obj) { delete obj; } +bool py_hasOwner(QTreeWidgetItem* theWrappedObject) { return theWrappedObject->treeWidget()!=NULL || theWrappedObject->parent()!=NULL; } + void addChild(QTreeWidgetItem* theWrappedObject, QTreeWidgetItem* child); + void addChildren(QTreeWidgetItem* theWrappedObject, const QList& children); + QBrush background(QTreeWidgetItem* theWrappedObject, int column) const; + Qt::CheckState checkState(QTreeWidgetItem* theWrappedObject, int column) const; + QTreeWidgetItem* child(QTreeWidgetItem* theWrappedObject, int index) const; + int childCount(QTreeWidgetItem* theWrappedObject) const; + QTreeWidgetItem::ChildIndicatorPolicy childIndicatorPolicy(QTreeWidgetItem* theWrappedObject) const; + QTreeWidgetItem* clone(QTreeWidgetItem* theWrappedObject) const; + int columnCount(QTreeWidgetItem* theWrappedObject) const; + QVariant data(QTreeWidgetItem* theWrappedObject, int column, int role) const; + Qt::ItemFlags flags(QTreeWidgetItem* theWrappedObject) const; + QFont font(QTreeWidgetItem* theWrappedObject, int column) const; + QBrush foreground(QTreeWidgetItem* theWrappedObject, int column) const; + QIcon icon(QTreeWidgetItem* theWrappedObject, int column) const; + int indexOfChild(QTreeWidgetItem* theWrappedObject, QTreeWidgetItem* child) const; + void insertChild(QTreeWidgetItem* theWrappedObject, int index, QTreeWidgetItem* child); + void insertChildren(QTreeWidgetItem* theWrappedObject, int index, const QList& children); + bool isDisabled(QTreeWidgetItem* theWrappedObject) const; + bool isExpanded(QTreeWidgetItem* theWrappedObject) const; + bool isFirstColumnSpanned(QTreeWidgetItem* theWrappedObject) const; + bool isHidden(QTreeWidgetItem* theWrappedObject) const; + bool isSelected(QTreeWidgetItem* theWrappedObject) const; + void writeTo(QTreeWidgetItem* theWrappedObject, QDataStream& out); + void readFrom(QTreeWidgetItem* theWrappedObject, QDataStream& in); + QTreeWidgetItem* parent(QTreeWidgetItem* theWrappedObject) const; + void removeChild(QTreeWidgetItem* theWrappedObject, QTreeWidgetItem* child); + void setBackground(QTreeWidgetItem* theWrappedObject, int column, const QBrush& brush); + void setCheckState(QTreeWidgetItem* theWrappedObject, int column, Qt::CheckState state); + void setChildIndicatorPolicy(QTreeWidgetItem* theWrappedObject, QTreeWidgetItem::ChildIndicatorPolicy policy); + void setData(QTreeWidgetItem* theWrappedObject, int column, int role, const QVariant& value); + void setDisabled(QTreeWidgetItem* theWrappedObject, bool disabled); + void setExpanded(QTreeWidgetItem* theWrappedObject, bool expand); + void setFirstColumnSpanned(QTreeWidgetItem* theWrappedObject, bool span); + void setFlags(QTreeWidgetItem* theWrappedObject, Qt::ItemFlags flags); + void setFont(QTreeWidgetItem* theWrappedObject, int column, const QFont& font); + void setForeground(QTreeWidgetItem* theWrappedObject, int column, const QBrush& brush); + void setHidden(QTreeWidgetItem* theWrappedObject, bool hide); + void setIcon(QTreeWidgetItem* theWrappedObject, int column, const QIcon& icon); + void setSelected(QTreeWidgetItem* theWrappedObject, bool select); + void setSizeHint(QTreeWidgetItem* theWrappedObject, int column, const QSize& size); + void setStatusTip(QTreeWidgetItem* theWrappedObject, int column, const QString& statusTip); + void setText(QTreeWidgetItem* theWrappedObject, int column, const QString& text); + void setTextAlignment(QTreeWidgetItem* theWrappedObject, int column, int alignment); + void setToolTip(QTreeWidgetItem* theWrappedObject, int column, const QString& toolTip); + void setWhatsThis(QTreeWidgetItem* theWrappedObject, int column, const QString& whatsThis); + QSize sizeHint(QTreeWidgetItem* theWrappedObject, int column) const; + void sortChildren(QTreeWidgetItem* theWrappedObject, int column, Qt::SortOrder order); + QString statusTip(QTreeWidgetItem* theWrappedObject, int column) const; + QTreeWidgetItem* takeChild(QTreeWidgetItem* theWrappedObject, int index); + QList takeChildren(QTreeWidgetItem* theWrappedObject); + QString text(QTreeWidgetItem* theWrappedObject, int column) const; + int textAlignment(QTreeWidgetItem* theWrappedObject, int column) const; + QString toolTip(QTreeWidgetItem* theWrappedObject, int column) const; + QTreeWidget* treeWidget(QTreeWidgetItem* theWrappedObject) const; + int type(QTreeWidgetItem* theWrappedObject) const; + QString whatsThis(QTreeWidgetItem* theWrappedObject, int column) const; +}; + + + + + +class PythonQtShell_QUndoCommand : public QUndoCommand +{ +public: + PythonQtShell_QUndoCommand(QUndoCommand* parent = 0):QUndoCommand(parent),_wrapper(NULL) {}; + PythonQtShell_QUndoCommand(const QString& text, QUndoCommand* parent = 0):QUndoCommand(text, parent),_wrapper(NULL) {}; + +virtual int id() const; +virtual bool mergeWith(const QUndoCommand* other); +virtual void redo(); +virtual void undo(); + + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtPublicPromoter_QUndoCommand : public QUndoCommand +{ public: +inline int promoted_id() const { return QUndoCommand::id(); } +inline bool promoted_mergeWith(const QUndoCommand* other) { return QUndoCommand::mergeWith(other); } +inline void promoted_redo() { QUndoCommand::redo(); } +inline void promoted_undo() { QUndoCommand::undo(); } +}; + +class PythonQtWrapper_QUndoCommand : public QObject +{ Q_OBJECT +public: +public slots: +QUndoCommand* new_QUndoCommand(QUndoCommand* parent = 0); +QUndoCommand* new_QUndoCommand(const QString& text, QUndoCommand* parent = 0); +void delete_QUndoCommand(QUndoCommand* obj) { delete obj; } + const QUndoCommand* child(QUndoCommand* theWrappedObject, int index) const; + int childCount(QUndoCommand* theWrappedObject) const; + int id(QUndoCommand* theWrappedObject) const; + bool mergeWith(QUndoCommand* theWrappedObject, const QUndoCommand* other); + void redo(QUndoCommand* theWrappedObject); + void setText(QUndoCommand* theWrappedObject, const QString& text); + QString text(QUndoCommand* theWrappedObject) const; + void undo(QUndoCommand* theWrappedObject); +}; + + + + + +class PythonQtShell_QUndoGroup : public QUndoGroup +{ +public: + PythonQtShell_QUndoGroup(QObject* parent = 0):QUndoGroup(parent),_wrapper(NULL) {}; + +virtual void childEvent(QChildEvent* arg__1); +virtual void customEvent(QEvent* arg__1); +virtual bool event(QEvent* arg__1); +virtual bool eventFilter(QObject* arg__1, QEvent* arg__2); +virtual void timerEvent(QTimerEvent* arg__1); + + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtWrapper_QUndoGroup : public QObject +{ Q_OBJECT +public: +public slots: +QUndoGroup* new_QUndoGroup(QObject* parent = 0); +void delete_QUndoGroup(QUndoGroup* obj) { delete obj; } + 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 = 0):QUndoStack(parent),_wrapper(NULL) {}; + +virtual void childEvent(QChildEvent* arg__1); +virtual void customEvent(QEvent* arg__1); +virtual bool event(QEvent* arg__1); +virtual bool eventFilter(QObject* arg__1, QEvent* arg__2); +virtual void timerEvent(QTimerEvent* arg__1); + + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtWrapper_QUndoStack : public QObject +{ Q_OBJECT +public: +public slots: +QUndoStack* new_QUndoStack(QObject* parent = 0); +void delete_QUndoStack(QUndoStack* obj) { delete obj; } + 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 = 0):QUndoView(group, parent),_wrapper(NULL) {}; + PythonQtShell_QUndoView(QUndoStack* stack, QWidget* parent = 0):QUndoView(stack, parent),_wrapper(NULL) {}; + PythonQtShell_QUndoView(QWidget* parent = 0):QUndoView(parent),_wrapper(NULL) {}; + +virtual void actionEvent(QActionEvent* arg__1); +virtual void changeEvent(QEvent* arg__1); +virtual void childEvent(QChildEvent* arg__1); +virtual void closeEditor(QWidget* editor, QAbstractItemDelegate::EndEditHint hint); +virtual void closeEvent(QCloseEvent* arg__1); +virtual void commitData(QWidget* editor); +virtual void contextMenuEvent(QContextMenuEvent* arg__1); +virtual void currentChanged(const QModelIndex& current, const QModelIndex& previous); +virtual void customEvent(QEvent* arg__1); +virtual void dataChanged(const QModelIndex& topLeft, const QModelIndex& bottomRight); +virtual int devType() const; +virtual void doItemsLayout(); +virtual void dragEnterEvent(QDragEnterEvent* event); +virtual void dragLeaveEvent(QDragLeaveEvent* e); +virtual void dragMoveEvent(QDragMoveEvent* e); +virtual void dropEvent(QDropEvent* e); +virtual bool edit(const QModelIndex& index, QAbstractItemView::EditTrigger trigger, QEvent* event); +virtual void editorDestroyed(QObject* editor); +virtual void enterEvent(QEvent* arg__1); +virtual bool event(QEvent* e); +virtual bool eventFilter(QObject* arg__1, QEvent* arg__2); +virtual void focusInEvent(QFocusEvent* event); +virtual bool focusNextPrevChild(bool next); +virtual void focusOutEvent(QFocusEvent* event); +virtual int heightForWidth(int arg__1) const; +virtual void hideEvent(QHideEvent* arg__1); +virtual int horizontalOffset() const; +virtual void horizontalScrollbarAction(int action); +virtual void horizontalScrollbarValueChanged(int value); +virtual QModelIndex indexAt(const QPoint& p) const; +virtual void inputMethodEvent(QInputMethodEvent* event); +virtual QVariant inputMethodQuery(Qt::InputMethodQuery query) const; +virtual bool isIndexHidden(const QModelIndex& index) const; +virtual void keyPressEvent(QKeyEvent* event); +virtual void keyReleaseEvent(QKeyEvent* arg__1); +virtual void keyboardSearch(const QString& search); +virtual void languageChange(); +virtual void leaveEvent(QEvent* arg__1); +virtual int metric(QPaintDevice::PaintDeviceMetric arg__1) const; +virtual void mouseDoubleClickEvent(QMouseEvent* event); +virtual void mouseMoveEvent(QMouseEvent* e); +virtual void mousePressEvent(QMouseEvent* event); +virtual void mouseReleaseEvent(QMouseEvent* e); +virtual void moveEvent(QMoveEvent* arg__1); +virtual QPaintEngine* paintEngine() const; +virtual void paintEvent(QPaintEvent* e); +virtual void reset(); +virtual void resizeEvent(QResizeEvent* e); +virtual void rowsAboutToBeRemoved(const QModelIndex& parent, int start, int end); +virtual void rowsInserted(const QModelIndex& parent, int start, int end); +virtual void scrollContentsBy(int dx, int dy); +virtual void scrollTo(const QModelIndex& index, QAbstractItemView::ScrollHint hint); +virtual void selectAll(); +virtual QList selectedIndexes() const; +virtual void selectionChanged(const QItemSelection& selected, const QItemSelection& deselected); +virtual QItemSelectionModel::SelectionFlags selectionCommand(const QModelIndex& index, const QEvent* event) const; +virtual void setModel(QAbstractItemModel* model); +virtual void setRootIndex(const QModelIndex& index); +virtual void setSelection(const QRect& rect, QItemSelectionModel::SelectionFlags command); +virtual void setSelectionModel(QItemSelectionModel* selectionModel); +virtual void showEvent(QShowEvent* arg__1); +virtual int sizeHintForColumn(int column) const; +virtual int sizeHintForRow(int row) const; +virtual void startDrag(Qt::DropActions supportedActions); +virtual void tabletEvent(QTabletEvent* arg__1); +virtual void timerEvent(QTimerEvent* e); +virtual void updateEditorData(); +virtual void updateEditorGeometries(); +virtual void updateGeometries(); +virtual int verticalOffset() const; +virtual void verticalScrollbarAction(int action); +virtual void verticalScrollbarValueChanged(int value); +virtual QStyleOptionViewItem viewOptions() const; +virtual bool viewportEvent(QEvent* event); +virtual QRect visualRect(const QModelIndex& index) const; +virtual QRegion visualRegionForSelection(const QItemSelection& selection) const; +virtual void wheelEvent(QWheelEvent* arg__1); + + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtWrapper_QUndoView : public QObject +{ Q_OBJECT +public: +public slots: +QUndoView* new_QUndoView(QUndoGroup* group, QWidget* parent = 0); +QUndoView* new_QUndoView(QUndoStack* stack, QWidget* parent = 0); +QUndoView* new_QUndoView(QWidget* parent = 0); +void delete_QUndoView(QUndoView* obj) { delete obj; } + 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) {}; + +virtual void addItem(QLayoutItem* arg__1); +virtual void childEvent(QChildEvent* e); +virtual int count() const; +virtual void customEvent(QEvent* arg__1); +virtual bool event(QEvent* arg__1); +virtual bool eventFilter(QObject* arg__1, QEvent* arg__2); +virtual Qt::Orientations expandingDirections() const; +virtual QRect geometry() const; +virtual int indexOf(QWidget* arg__1) const; +virtual void invalidate(); +virtual bool isEmpty() const; +virtual QLayoutItem* itemAt(int arg__1) const; +virtual QLayout* layout(); +virtual QSize maximumSize() const; +virtual QSize minimumSize() const; +virtual void setGeometry(const QRect& arg__1); +virtual QLayoutItem* takeAt(int arg__1); +virtual void timerEvent(QTimerEvent* arg__1); + + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtWrapper_QVBoxLayout : public QObject +{ Q_OBJECT +public: +public slots: +QVBoxLayout* new_QVBoxLayout(); +QVBoxLayout* new_QVBoxLayout(QWidget* parent); +void delete_QVBoxLayout(QVBoxLayout* obj) { delete obj; } +}; + + + + + +class PythonQtShell_QValidator : public QValidator +{ +public: + PythonQtShell_QValidator(QObject* parent = 0):QValidator(parent),_wrapper(NULL) {}; + +virtual void childEvent(QChildEvent* arg__1); +virtual void customEvent(QEvent* arg__1); +virtual bool event(QEvent* arg__1); +virtual bool eventFilter(QObject* arg__1, QEvent* arg__2); +virtual void fixup(QString& arg__1) const; +virtual void timerEvent(QTimerEvent* arg__1); +virtual QValidator::State validate(QString& arg__1, int& arg__2) const; + + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtPublicPromoter_QValidator : public QValidator +{ public: +inline void promoted_fixup(QString& arg__1) const { QValidator::fixup(arg__1); } +}; + +class PythonQtWrapper_QValidator : public QObject +{ Q_OBJECT +public: +Q_ENUMS(State ) +enum State{ + Invalid = QValidator::Invalid, Intermediate = QValidator::Intermediate, Acceptable = QValidator::Acceptable}; +public slots: +QValidator* new_QValidator(QObject* parent = 0); +void delete_QValidator(QValidator* obj) { delete obj; } + void fixup(QValidator* theWrappedObject, QString& arg__1) const; + QLocale locale(QValidator* theWrappedObject) const; + void setLocale(QValidator* theWrappedObject, const QLocale& locale); +}; + + + + + +class PythonQtWrapper_QVector2D : public QObject +{ Q_OBJECT +public: +public slots: +QVector2D* new_QVector2D(); +QVector2D* new_QVector2D(const QPoint& point); +QVector2D* new_QVector2D(const QPointF& point); +QVector2D* new_QVector2D(const QVector3D& vector); +QVector2D* new_QVector2D(const QVector4D& vector); +QVector2D* new_QVector2D(qreal xpos, qreal ypos); +QVector2D* new_QVector2D(const QVector2D& other) { +QVector2D* a = new QVector2D(); +*((QVector2D*)a) = other; +return a; } +void delete_QVector2D(QVector2D* obj) { delete obj; } + qreal static_QVector2D_dotProduct(const QVector2D& v1, const QVector2D& v2); + bool isNull(QVector2D* theWrappedObject) const; + qreal length(QVector2D* theWrappedObject) const; + qreal lengthSquared(QVector2D* theWrappedObject) const; + void normalize(QVector2D* theWrappedObject); + QVector2D normalized(QVector2D* theWrappedObject) const; + const QVector2D __mul__(QVector2D* theWrappedObject, const QVector2D& v2); + const QVector2D __mul__(QVector2D* theWrappedObject, qreal factor); + QVector2D* __imul__(QVector2D* theWrappedObject, const QVector2D& vector); + QVector2D* __imul__(QVector2D* theWrappedObject, qreal factor); + const QVector2D __add__(QVector2D* theWrappedObject, const QVector2D& v2); + QVector2D* __iadd__(QVector2D* theWrappedObject, const QVector2D& vector); + const QVector2D __sub__(QVector2D* theWrappedObject, const QVector2D& v2); + QVector2D* __isub__(QVector2D* theWrappedObject, const QVector2D& vector); + const QVector2D __div__(QVector2D* theWrappedObject, qreal divisor); + QVector2D* __idiv__(QVector2D* theWrappedObject, qreal divisor); + void writeTo(QVector2D* theWrappedObject, QDataStream& arg__1); + bool __eq__(QVector2D* theWrappedObject, const QVector2D& v2); + void readFrom(QVector2D* theWrappedObject, QDataStream& arg__1); + void setX(QVector2D* theWrappedObject, qreal x); + void setY(QVector2D* theWrappedObject, qreal y); + QPoint toPoint(QVector2D* theWrappedObject) const; + QPointF toPointF(QVector2D* theWrappedObject) const; + QVector3D toVector3D(QVector2D* theWrappedObject) const; + QVector4D toVector4D(QVector2D* theWrappedObject) const; + qreal x(QVector2D* theWrappedObject) const; + qreal y(QVector2D* theWrappedObject) const; + QString py_toString(QVector2D*); + bool __nonzero__(QVector2D* obj) { return !obj->isNull(); } +}; + + + + + +class PythonQtWrapper_QVector3D : public QObject +{ Q_OBJECT +public: +public slots: +QVector3D* new_QVector3D(); +QVector3D* new_QVector3D(const QPoint& point); +QVector3D* new_QVector3D(const QPointF& point); +QVector3D* new_QVector3D(const QVector2D& vector); +QVector3D* new_QVector3D(const QVector2D& vector, qreal zpos); +QVector3D* new_QVector3D(const QVector4D& vector); +QVector3D* new_QVector3D(qreal xpos, qreal ypos, qreal zpos); +QVector3D* new_QVector3D(const QVector3D& other) { +QVector3D* a = new QVector3D(); +*((QVector3D*)a) = other; +return a; } +void delete_QVector3D(QVector3D* obj) { delete obj; } + QVector3D static_QVector3D_crossProduct(const QVector3D& v1, const QVector3D& v2); + qreal distanceToLine(QVector3D* theWrappedObject, const QVector3D& point, const QVector3D& direction) const; + qreal distanceToPlane(QVector3D* theWrappedObject, const QVector3D& plane, const QVector3D& normal) const; + qreal distanceToPlane(QVector3D* theWrappedObject, const QVector3D& plane1, const QVector3D& plane2, const QVector3D& plane3) const; + qreal static_QVector3D_dotProduct(const QVector3D& v1, const QVector3D& v2); + bool isNull(QVector3D* theWrappedObject) const; + qreal length(QVector3D* theWrappedObject) const; + qreal lengthSquared(QVector3D* theWrappedObject) const; + QVector3D static_QVector3D_normal(const QVector3D& v1, const QVector3D& v2); + QVector3D static_QVector3D_normal(const QVector3D& v1, const QVector3D& v2, const QVector3D& v3); + void normalize(QVector3D* theWrappedObject); + QVector3D normalized(QVector3D* theWrappedObject) const; + QVector3D __mul__(QVector3D* theWrappedObject, const QMatrix4x4& matrix); + const QVector3D __mul__(QVector3D* theWrappedObject, const QVector3D& v2); + const QVector3D __mul__(QVector3D* theWrappedObject, qreal factor); + QVector3D* __imul__(QVector3D* theWrappedObject, const QVector3D& vector); + QVector3D* __imul__(QVector3D* theWrappedObject, qreal factor); + const QVector3D __add__(QVector3D* theWrappedObject, const QVector3D& v2); + QVector3D* __iadd__(QVector3D* theWrappedObject, const QVector3D& vector); + const QVector3D __sub__(QVector3D* theWrappedObject, const QVector3D& v2); + QVector3D* __isub__(QVector3D* theWrappedObject, const QVector3D& vector); + const QVector3D __div__(QVector3D* theWrappedObject, qreal divisor); + QVector3D* __idiv__(QVector3D* theWrappedObject, qreal divisor); + void writeTo(QVector3D* theWrappedObject, QDataStream& arg__1); + bool __eq__(QVector3D* theWrappedObject, const QVector3D& v2); + void readFrom(QVector3D* theWrappedObject, QDataStream& arg__1); + void setX(QVector3D* theWrappedObject, qreal x); + void setY(QVector3D* theWrappedObject, qreal y); + void setZ(QVector3D* theWrappedObject, qreal z); + QPoint toPoint(QVector3D* theWrappedObject) const; + QPointF toPointF(QVector3D* theWrappedObject) const; + QVector2D toVector2D(QVector3D* theWrappedObject) const; + QVector4D toVector4D(QVector3D* theWrappedObject) const; + qreal x(QVector3D* theWrappedObject) const; + qreal y(QVector3D* theWrappedObject) const; + qreal z(QVector3D* theWrappedObject) const; + QString py_toString(QVector3D*); + bool __nonzero__(QVector3D* obj) { return !obj->isNull(); } +}; + + + + + +class PythonQtWrapper_QVector4D : public QObject +{ Q_OBJECT +public: +public slots: +QVector4D* new_QVector4D(); +QVector4D* new_QVector4D(const QPoint& point); +QVector4D* new_QVector4D(const QPointF& point); +QVector4D* new_QVector4D(const QVector2D& vector); +QVector4D* new_QVector4D(const QVector2D& vector, qreal zpos, qreal wpos); +QVector4D* new_QVector4D(const QVector3D& vector); +QVector4D* new_QVector4D(const QVector3D& vector, qreal wpos); +QVector4D* new_QVector4D(qreal xpos, qreal ypos, qreal zpos, qreal wpos); +QVector4D* new_QVector4D(const QVector4D& other) { +QVector4D* a = new QVector4D(); +*((QVector4D*)a) = other; +return a; } +void delete_QVector4D(QVector4D* obj) { delete obj; } + qreal static_QVector4D_dotProduct(const QVector4D& v1, const QVector4D& v2); + bool isNull(QVector4D* theWrappedObject) const; + qreal length(QVector4D* theWrappedObject) const; + qreal lengthSquared(QVector4D* theWrappedObject) const; + void normalize(QVector4D* theWrappedObject); + QVector4D normalized(QVector4D* theWrappedObject) const; + QVector4D __mul__(QVector4D* theWrappedObject, const QMatrix4x4& matrix); + const QVector4D __mul__(QVector4D* theWrappedObject, const QVector4D& v2); + const QVector4D __mul__(QVector4D* theWrappedObject, qreal factor); + QVector4D* __imul__(QVector4D* theWrappedObject, const QVector4D& vector); + QVector4D* __imul__(QVector4D* theWrappedObject, qreal factor); + const QVector4D __add__(QVector4D* theWrappedObject, const QVector4D& v2); + QVector4D* __iadd__(QVector4D* theWrappedObject, const QVector4D& vector); + const QVector4D __sub__(QVector4D* theWrappedObject, const QVector4D& v2); + QVector4D* __isub__(QVector4D* theWrappedObject, const QVector4D& vector); + const QVector4D __div__(QVector4D* theWrappedObject, qreal divisor); + QVector4D* __idiv__(QVector4D* theWrappedObject, qreal divisor); + void writeTo(QVector4D* theWrappedObject, QDataStream& arg__1); + bool __eq__(QVector4D* theWrappedObject, const QVector4D& v2); + void readFrom(QVector4D* theWrappedObject, QDataStream& arg__1); + void setW(QVector4D* theWrappedObject, qreal w); + void setX(QVector4D* theWrappedObject, qreal x); + void setY(QVector4D* theWrappedObject, qreal y); + void setZ(QVector4D* theWrappedObject, qreal z); + QPoint toPoint(QVector4D* theWrappedObject) const; + QPointF toPointF(QVector4D* theWrappedObject) const; + QVector2D toVector2D(QVector4D* theWrappedObject) const; + QVector2D toVector2DAffine(QVector4D* theWrappedObject) const; + QVector3D toVector3D(QVector4D* theWrappedObject) const; + QVector3D toVector3DAffine(QVector4D* theWrappedObject) const; + qreal w(QVector4D* theWrappedObject) const; + qreal x(QVector4D* theWrappedObject) const; + qreal y(QVector4D* theWrappedObject) const; + qreal z(QVector4D* theWrappedObject) const; + QString py_toString(QVector4D*); + bool __nonzero__(QVector4D* obj) { return !obj->isNull(); } +}; + + + + + +class PythonQtWrapper_QWhatsThis : public QObject +{ Q_OBJECT +public: +public slots: +void delete_QWhatsThis(QWhatsThis* obj) { delete obj; } + QAction* static_QWhatsThis_createAction(QObject* parent = 0); + void static_QWhatsThis_enterWhatsThisMode(); + void static_QWhatsThis_hideText(); + bool static_QWhatsThis_inWhatsThisMode(); + void static_QWhatsThis_leaveWhatsThisMode(); + void static_QWhatsThis_showText(const QPoint& pos, const QString& text, QWidget* w = 0); +}; + + + + + +class PythonQtWrapper_QWhatsThisClickedEvent : public QObject +{ Q_OBJECT +public: +public slots: +QWhatsThisClickedEvent* new_QWhatsThisClickedEvent(const QString& href); +void delete_QWhatsThisClickedEvent(QWhatsThisClickedEvent* obj) { delete obj; } + QString href(QWhatsThisClickedEvent* theWrappedObject) const; +}; + + + + + +class PythonQtShell_QWheelEvent : public QWheelEvent +{ +public: + PythonQtShell_QWheelEvent(const QPoint& pos, const QPoint& globalPos, int delta, Qt::MouseButtons buttons, Qt::KeyboardModifiers modifiers, Qt::Orientation orient = Qt::Vertical):QWheelEvent(pos, globalPos, delta, buttons, modifiers, orient),_wrapper(NULL) {}; + PythonQtShell_QWheelEvent(const QPoint& pos, int delta, Qt::MouseButtons buttons, Qt::KeyboardModifiers modifiers, Qt::Orientation orient = Qt::Vertical):QWheelEvent(pos, delta, buttons, modifiers, orient),_wrapper(NULL) {}; + + + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtWrapper_QWheelEvent : public QObject +{ Q_OBJECT +public: +public slots: +QWheelEvent* new_QWheelEvent(const QPoint& pos, const QPoint& globalPos, int delta, Qt::MouseButtons buttons, Qt::KeyboardModifiers modifiers, Qt::Orientation orient = Qt::Vertical); +QWheelEvent* new_QWheelEvent(const QPoint& pos, int delta, Qt::MouseButtons buttons, Qt::KeyboardModifiers modifiers, Qt::Orientation orient = Qt::Vertical); +void delete_QWheelEvent(QWheelEvent* obj) { delete obj; } + Qt::MouseButtons buttons(QWheelEvent* theWrappedObject) const; + int delta(QWheelEvent* theWrappedObject) const; + const QPoint* globalPos(QWheelEvent* theWrappedObject) const; + int globalX(QWheelEvent* theWrappedObject) const; + int globalY(QWheelEvent* theWrappedObject) const; + Qt::Orientation orientation(QWheelEvent* theWrappedObject) const; + const QPoint* pos(QWheelEvent* theWrappedObject) const; + int x(QWheelEvent* theWrappedObject) const; + int y(QWheelEvent* theWrappedObject) const; +}; + + + + + +class PythonQtShell_QWidget : public QWidget +{ +public: + PythonQtShell_QWidget(QWidget* parent = 0, Qt::WindowFlags f = 0):QWidget(parent, f),_wrapper(NULL) {}; + +virtual void actionEvent(QActionEvent* arg__1); +virtual void changeEvent(QEvent* arg__1); +virtual void childEvent(QChildEvent* arg__1); +virtual void closeEvent(QCloseEvent* arg__1); +virtual void contextMenuEvent(QContextMenuEvent* arg__1); +virtual void customEvent(QEvent* arg__1); +virtual int devType() const; +virtual void dragEnterEvent(QDragEnterEvent* arg__1); +virtual void dragLeaveEvent(QDragLeaveEvent* arg__1); +virtual void dragMoveEvent(QDragMoveEvent* arg__1); +virtual void dropEvent(QDropEvent* arg__1); +virtual void enabledChange(bool arg__1); +virtual void enterEvent(QEvent* arg__1); +virtual bool event(QEvent* arg__1); +virtual bool eventFilter(QObject* arg__1, QEvent* arg__2); +virtual void focusInEvent(QFocusEvent* arg__1); +virtual bool focusNextPrevChild(bool next); +virtual void focusOutEvent(QFocusEvent* arg__1); +virtual void fontChange(const QFont& arg__1); +virtual int heightForWidth(int arg__1) const; +virtual void hideEvent(QHideEvent* arg__1); +virtual void inputMethodEvent(QInputMethodEvent* arg__1); +virtual QVariant inputMethodQuery(Qt::InputMethodQuery arg__1) const; +virtual void keyPressEvent(QKeyEvent* arg__1); +virtual void keyReleaseEvent(QKeyEvent* arg__1); +virtual void languageChange(); +virtual void leaveEvent(QEvent* arg__1); +virtual int metric(QPaintDevice::PaintDeviceMetric arg__1) const; +virtual QSize minimumSizeHint() const; +virtual void mouseDoubleClickEvent(QMouseEvent* arg__1); +virtual void mouseMoveEvent(QMouseEvent* arg__1); +virtual void mousePressEvent(QMouseEvent* arg__1); +virtual void mouseReleaseEvent(QMouseEvent* arg__1); +virtual void moveEvent(QMoveEvent* arg__1); +virtual QPaintEngine* paintEngine() const; +virtual void paintEvent(QPaintEvent* arg__1); +virtual void paletteChange(const QPalette& arg__1); +virtual void resizeEvent(QResizeEvent* arg__1); +virtual void setVisible(bool visible); +virtual void showEvent(QShowEvent* arg__1); +virtual QSize sizeHint() const; +virtual void tabletEvent(QTabletEvent* arg__1); +virtual void timerEvent(QTimerEvent* arg__1); +virtual void wheelEvent(QWheelEvent* arg__1); +virtual void windowActivationChange(bool arg__1); + + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtPublicPromoter_QWidget : public QWidget +{ public: +inline void promoted_actionEvent(QActionEvent* arg__1) { QWidget::actionEvent(arg__1); } +inline void promoted_changeEvent(QEvent* arg__1) { QWidget::changeEvent(arg__1); } +inline void promoted_closeEvent(QCloseEvent* arg__1) { QWidget::closeEvent(arg__1); } +inline void promoted_contextMenuEvent(QContextMenuEvent* arg__1) { QWidget::contextMenuEvent(arg__1); } +inline int promoted_devType() const { return QWidget::devType(); } +inline void promoted_dragEnterEvent(QDragEnterEvent* arg__1) { QWidget::dragEnterEvent(arg__1); } +inline void promoted_dragLeaveEvent(QDragLeaveEvent* arg__1) { QWidget::dragLeaveEvent(arg__1); } +inline void promoted_dragMoveEvent(QDragMoveEvent* arg__1) { QWidget::dragMoveEvent(arg__1); } +inline void promoted_dropEvent(QDropEvent* arg__1) { QWidget::dropEvent(arg__1); } +inline void promoted_enterEvent(QEvent* arg__1) { QWidget::enterEvent(arg__1); } +inline bool promoted_event(QEvent* arg__1) { return QWidget::event(arg__1); } +inline void promoted_focusInEvent(QFocusEvent* arg__1) { QWidget::focusInEvent(arg__1); } +inline bool promoted_focusNextPrevChild(bool next) { return QWidget::focusNextPrevChild(next); } +inline void promoted_focusOutEvent(QFocusEvent* arg__1) { QWidget::focusOutEvent(arg__1); } +inline int promoted_heightForWidth(int arg__1) const { return QWidget::heightForWidth(arg__1); } +inline void promoted_hideEvent(QHideEvent* arg__1) { QWidget::hideEvent(arg__1); } +inline void promoted_inputMethodEvent(QInputMethodEvent* arg__1) { QWidget::inputMethodEvent(arg__1); } +inline QVariant promoted_inputMethodQuery(Qt::InputMethodQuery arg__1) const { return QWidget::inputMethodQuery(arg__1); } +inline void promoted_keyPressEvent(QKeyEvent* arg__1) { QWidget::keyPressEvent(arg__1); } +inline void promoted_keyReleaseEvent(QKeyEvent* arg__1) { QWidget::keyReleaseEvent(arg__1); } +inline void promoted_languageChange() { QWidget::languageChange(); } +inline void promoted_leaveEvent(QEvent* arg__1) { QWidget::leaveEvent(arg__1); } +inline int promoted_metric(QPaintDevice::PaintDeviceMetric arg__1) const { return QWidget::metric(arg__1); } +inline QSize promoted_minimumSizeHint() const { return QWidget::minimumSizeHint(); } +inline void promoted_mouseDoubleClickEvent(QMouseEvent* arg__1) { QWidget::mouseDoubleClickEvent(arg__1); } +inline void promoted_mouseMoveEvent(QMouseEvent* arg__1) { QWidget::mouseMoveEvent(arg__1); } +inline void promoted_mousePressEvent(QMouseEvent* arg__1) { QWidget::mousePressEvent(arg__1); } +inline void promoted_mouseReleaseEvent(QMouseEvent* arg__1) { QWidget::mouseReleaseEvent(arg__1); } +inline void promoted_moveEvent(QMoveEvent* arg__1) { QWidget::moveEvent(arg__1); } +inline QPaintEngine* promoted_paintEngine() const { return QWidget::paintEngine(); } +inline void promoted_paintEvent(QPaintEvent* arg__1) { QWidget::paintEvent(arg__1); } +inline void promoted_resizeEvent(QResizeEvent* arg__1) { QWidget::resizeEvent(arg__1); } +inline void promoted_showEvent(QShowEvent* arg__1) { QWidget::showEvent(arg__1); } +inline QSize promoted_sizeHint() const { return QWidget::sizeHint(); } +inline void promoted_tabletEvent(QTabletEvent* arg__1) { QWidget::tabletEvent(arg__1); } +inline void promoted_wheelEvent(QWheelEvent* arg__1) { QWidget::wheelEvent(arg__1); } +}; + +class PythonQtWrapper_QWidget : public QObject +{ Q_OBJECT +public: +Q_ENUMS(RenderFlag ) +Q_FLAGS(RenderFlags ) +enum RenderFlag{ + DrawWindowBackground = QWidget::DrawWindowBackground, DrawChildren = QWidget::DrawChildren, IgnoreMask = QWidget::IgnoreMask}; +Q_DECLARE_FLAGS(RenderFlags, RenderFlag) +public slots: +QWidget* new_QWidget(QWidget* parent = 0, Qt::WindowFlags f = 0); +void delete_QWidget(QWidget* obj) { delete obj; } + bool acceptDrops(QWidget* theWrappedObject) const; + QString accessibleDescription(QWidget* theWrappedObject) const; + QString accessibleName(QWidget* theWrappedObject) const; + void actionEvent(QWidget* theWrappedObject, QActionEvent* arg__1); + QList actions(QWidget* theWrappedObject) const; + void activateWindow(QWidget* theWrappedObject); + void addAction(QWidget* theWrappedObject, QAction* action); + void addActions(QWidget* theWrappedObject, QList actions); + void adjustSize(QWidget* theWrappedObject); + bool autoFillBackground(QWidget* theWrappedObject) const; + QPalette::ColorRole backgroundRole(QWidget* theWrappedObject) const; + QSize baseSize(QWidget* theWrappedObject) const; + void changeEvent(QWidget* theWrappedObject, QEvent* arg__1); + QWidget* childAt(QWidget* theWrappedObject, const QPoint& p) const; + QWidget* childAt(QWidget* theWrappedObject, int x, int y) const; + QRect childrenRect(QWidget* theWrappedObject) const; + QRegion childrenRegion(QWidget* theWrappedObject) const; + void clearFocus(QWidget* theWrappedObject); + void clearMask(QWidget* theWrappedObject); + void closeEvent(QWidget* theWrappedObject, QCloseEvent* arg__1); + QMargins contentsMargins(QWidget* theWrappedObject) const; + QRect contentsRect(QWidget* theWrappedObject) const; + void contextMenuEvent(QWidget* theWrappedObject, QContextMenuEvent* arg__1); + Qt::ContextMenuPolicy contextMenuPolicy(QWidget* theWrappedObject) const; + void createWinId(QWidget* theWrappedObject); + QCursor cursor(QWidget* theWrappedObject) const; + int devType(QWidget* theWrappedObject) const; + void dragEnterEvent(QWidget* theWrappedObject, QDragEnterEvent* arg__1); + void dragLeaveEvent(QWidget* theWrappedObject, QDragLeaveEvent* arg__1); + void dragMoveEvent(QWidget* theWrappedObject, QDragMoveEvent* arg__1); + void dropEvent(QWidget* theWrappedObject, QDropEvent* arg__1); + WId effectiveWinId(QWidget* theWrappedObject) const; + void ensurePolished(QWidget* theWrappedObject) const; + void enterEvent(QWidget* theWrappedObject, QEvent* arg__1); + bool event(QWidget* theWrappedObject, QEvent* arg__1); + void focusInEvent(QWidget* theWrappedObject, QFocusEvent* arg__1); + bool focusNextPrevChild(QWidget* theWrappedObject, bool next); + void focusOutEvent(QWidget* theWrappedObject, QFocusEvent* arg__1); + Qt::FocusPolicy focusPolicy(QWidget* theWrappedObject) const; + QWidget* focusProxy(QWidget* theWrappedObject) const; + QWidget* focusWidget(QWidget* theWrappedObject) const; + const QFont* font(QWidget* theWrappedObject) const; + QPalette::ColorRole foregroundRole(QWidget* theWrappedObject) const; + QRect frameGeometry(QWidget* theWrappedObject) const; + QSize frameSize(QWidget* theWrappedObject) const; + const QRect* geometry(QWidget* theWrappedObject) const; + void getContentsMargins(QWidget* theWrappedObject, int* left, int* top, int* right, int* bottom) const; + void grabKeyboard(QWidget* theWrappedObject); + void grabMouse(QWidget* theWrappedObject); + void grabMouse(QWidget* theWrappedObject, const QCursor& arg__1); + int grabShortcut(QWidget* theWrappedObject, const QKeySequence& key, Qt::ShortcutContext context = Qt::WindowShortcut); + QGraphicsEffect* graphicsEffect(QWidget* theWrappedObject) const; + QGraphicsProxyWidget* graphicsProxyWidget(QWidget* theWrappedObject) const; + bool hasFocus(QWidget* theWrappedObject) const; + bool hasMouseTracking(QWidget* theWrappedObject) const; + int height(QWidget* theWrappedObject) const; + int heightForWidth(QWidget* theWrappedObject, int arg__1) const; + void hideEvent(QWidget* theWrappedObject, QHideEvent* arg__1); + QInputContext* inputContext(QWidget* theWrappedObject); + void inputMethodEvent(QWidget* theWrappedObject, QInputMethodEvent* arg__1); + Qt::InputMethodHints inputMethodHints(QWidget* theWrappedObject) const; + QVariant inputMethodQuery(QWidget* theWrappedObject, Qt::InputMethodQuery arg__1) const; + void insertAction(QWidget* theWrappedObject, QAction* before, QAction* action); + void insertActions(QWidget* theWrappedObject, QAction* before, QList actions); + bool isActiveWindow(QWidget* theWrappedObject) const; + bool isAncestorOf(QWidget* theWrappedObject, const QWidget* child) const; + bool isEnabled(QWidget* theWrappedObject) const; + bool isEnabledTo(QWidget* theWrappedObject, QWidget* arg__1) const; + bool isFullScreen(QWidget* theWrappedObject) const; + bool isHidden(QWidget* theWrappedObject) const; + bool isLeftToRight(QWidget* theWrappedObject) const; + bool isMaximized(QWidget* theWrappedObject) const; + bool isMinimized(QWidget* theWrappedObject) const; + bool isModal(QWidget* theWrappedObject) const; + bool isRightToLeft(QWidget* theWrappedObject) const; + bool isVisible(QWidget* theWrappedObject) const; + bool isVisibleTo(QWidget* theWrappedObject, QWidget* arg__1) const; + bool isWindow(QWidget* theWrappedObject) const; + bool isWindowModified(QWidget* theWrappedObject) const; + void keyPressEvent(QWidget* theWrappedObject, QKeyEvent* arg__1); + void keyReleaseEvent(QWidget* theWrappedObject, QKeyEvent* arg__1); + QWidget* static_QWidget_keyboardGrabber(); + void languageChange(QWidget* theWrappedObject); + QLayout* layout(QWidget* theWrappedObject) const; + Qt::LayoutDirection layoutDirection(QWidget* theWrappedObject) const; + void leaveEvent(QWidget* theWrappedObject, QEvent* arg__1); + QLocale locale(QWidget* theWrappedObject) const; + QPoint mapFrom(QWidget* theWrappedObject, QWidget* arg__1, const QPoint& arg__2) const; + QPoint mapFromGlobal(QWidget* theWrappedObject, const QPoint& arg__1) const; + QPoint mapFromParent(QWidget* theWrappedObject, const QPoint& arg__1) const; + QPoint mapTo(QWidget* theWrappedObject, QWidget* arg__1, const QPoint& arg__2) const; + QPoint mapToGlobal(QWidget* theWrappedObject, const QPoint& arg__1) const; + QPoint mapToParent(QWidget* theWrappedObject, const QPoint& arg__1) const; + QRegion mask(QWidget* theWrappedObject) const; + 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 minimumHeight(QWidget* theWrappedObject) const; + QSize minimumSize(QWidget* theWrappedObject) const; + QSize minimumSizeHint(QWidget* theWrappedObject) const; + int minimumWidth(QWidget* theWrappedObject) const; + void mouseDoubleClickEvent(QWidget* theWrappedObject, QMouseEvent* arg__1); + QWidget* static_QWidget_mouseGrabber(); + void mouseMoveEvent(QWidget* theWrappedObject, QMouseEvent* arg__1); + void mousePressEvent(QWidget* theWrappedObject, QMouseEvent* arg__1); + void mouseReleaseEvent(QWidget* theWrappedObject, QMouseEvent* arg__1); + void move(QWidget* theWrappedObject, const QPoint& arg__1); + void move(QWidget* theWrappedObject, int x, int y); + void moveEvent(QWidget* theWrappedObject, QMoveEvent* arg__1); + QWidget* nativeParentWidget(QWidget* theWrappedObject) const; + QWidget* nextInFocusChain(QWidget* theWrappedObject) const; + QRect normalGeometry(QWidget* theWrappedObject) const; + void overrideWindowFlags(QWidget* theWrappedObject, Qt::WindowFlags type); + void overrideWindowState(QWidget* theWrappedObject, Qt::WindowStates state); + QPaintEngine* paintEngine(QWidget* theWrappedObject) const; + void paintEvent(QWidget* theWrappedObject, QPaintEvent* arg__1); + const QPalette* palette(QWidget* theWrappedObject) const; + QWidget* parentWidget(QWidget* theWrappedObject) const; + QPoint pos(QWidget* theWrappedObject) const; + QWidget* previousInFocusChain(QWidget* theWrappedObject) const; + QRect rect(QWidget* theWrappedObject) const; + void releaseKeyboard(QWidget* theWrappedObject); + void releaseMouse(QWidget* theWrappedObject); + void releaseShortcut(QWidget* theWrappedObject, int id); + void removeAction(QWidget* theWrappedObject, QAction* action); + void render(QWidget* theWrappedObject, QPaintDevice* target, const QPoint& targetOffset = QPoint(), const QRegion& sourceRegion = QRegion(), QWidget::RenderFlags renderFlags = QWidget::RenderFlags(DrawWindowBackground | DrawChildren)); + void render(QWidget* theWrappedObject, QPainter* painter, const QPoint& targetOffset = QPoint(), const QRegion& sourceRegion = QRegion(), QWidget::RenderFlags renderFlags = QWidget::RenderFlags(DrawWindowBackground | DrawChildren)); + void repaint(QWidget* theWrappedObject, const QRect& arg__1); + void repaint(QWidget* theWrappedObject, const QRegion& arg__1); + void repaint(QWidget* theWrappedObject, int x, int y, int w, int h); + void resize(QWidget* theWrappedObject, const QSize& arg__1); + void resize(QWidget* theWrappedObject, int w, int h); + void resizeEvent(QWidget* theWrappedObject, QResizeEvent* arg__1); + bool restoreGeometry(QWidget* theWrappedObject, const QByteArray& geometry); + QByteArray saveGeometry(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); + void setAccessibleDescription(QWidget* theWrappedObject, const QString& description); + void setAccessibleName(QWidget* theWrappedObject, const QString& name); + void setAttribute(QWidget* theWrappedObject, Qt::WidgetAttribute arg__1, bool on = true); + void setAutoFillBackground(QWidget* theWrappedObject, bool enabled); + void setBackgroundRole(QWidget* theWrappedObject, QPalette::ColorRole arg__1); + void setBaseSize(QWidget* theWrappedObject, const QSize& arg__1); + void setBaseSize(QWidget* theWrappedObject, int basew, int baseh); + void setContentsMargins(QWidget* theWrappedObject, const QMargins& margins); + void setContentsMargins(QWidget* theWrappedObject, int left, int top, int right, int bottom); + void setContextMenuPolicy(QWidget* theWrappedObject, Qt::ContextMenuPolicy policy); + void setCursor(QWidget* theWrappedObject, const QCursor& arg__1); + void setFixedHeight(QWidget* theWrappedObject, int h); + void setFixedSize(QWidget* theWrappedObject, const QSize& arg__1); + void setFixedSize(QWidget* theWrappedObject, int w, int h); + void setFixedWidth(QWidget* theWrappedObject, int w); + void setFocus(QWidget* theWrappedObject, Qt::FocusReason reason); + void setFocusPolicy(QWidget* theWrappedObject, Qt::FocusPolicy policy); + void setFocusProxy(QWidget* theWrappedObject, QWidget* arg__1); + void setFont(QWidget* theWrappedObject, const QFont& arg__1); + void setForegroundRole(QWidget* theWrappedObject, QPalette::ColorRole arg__1); + void setGeometry(QWidget* theWrappedObject, const QRect& arg__1); + void setGeometry(QWidget* theWrappedObject, int x, int y, int w, int h); + void setGraphicsEffect(QWidget* theWrappedObject, QGraphicsEffect* effect); + void setInputContext(QWidget* theWrappedObject, QInputContext* arg__1); + void setInputMethodHints(QWidget* theWrappedObject, Qt::InputMethodHints hints); + void setLayout(QWidget* theWrappedObject, QLayout* arg__1); + void setLayoutDirection(QWidget* theWrappedObject, Qt::LayoutDirection direction); + void setLocale(QWidget* theWrappedObject, const QLocale& locale); + void setMask(QWidget* theWrappedObject, const QBitmap& arg__1); + void setMask(QWidget* theWrappedObject, const QRegion& arg__1); + void setMaximumHeight(QWidget* theWrappedObject, int maxh); + void setMaximumSize(QWidget* theWrappedObject, const QSize& arg__1); + void setMaximumSize(QWidget* theWrappedObject, int maxw, int maxh); + void setMaximumWidth(QWidget* theWrappedObject, int maxw); + void setMinimumHeight(QWidget* theWrappedObject, int minh); + void setMinimumSize(QWidget* theWrappedObject, const QSize& arg__1); + void setMinimumSize(QWidget* theWrappedObject, int minw, int minh); + void setMinimumWidth(QWidget* theWrappedObject, int minw); + void setMouseTracking(QWidget* theWrappedObject, bool enable); + void setPalette(QWidget* theWrappedObject, const QPalette& arg__1); + void setParent(QWidget* theWrappedObject, QWidget* parent); + void setParent(QWidget* theWrappedObject, QWidget* parent, Qt::WindowFlags f); + void setShortcutAutoRepeat(QWidget* theWrappedObject, int id, bool enable = true); + void setShortcutEnabled(QWidget* theWrappedObject, int id, bool enable = true); + void setSizeIncrement(QWidget* theWrappedObject, const QSize& arg__1); + void setSizeIncrement(QWidget* theWrappedObject, int w, int h); + void setSizePolicy(QWidget* theWrappedObject, QSizePolicy arg__1); + void setSizePolicy(QWidget* theWrappedObject, QSizePolicy::Policy horizontal, QSizePolicy::Policy vertical); + void setStatusTip(QWidget* theWrappedObject, const QString& arg__1); + void setStyle(QWidget* theWrappedObject, QStyle* arg__1); + void static_QWidget_setTabOrder(QWidget* arg__1, QWidget* arg__2); + void setToolTip(QWidget* theWrappedObject, const QString& arg__1); + void setUpdatesEnabled(QWidget* theWrappedObject, bool enable); + void setWhatsThis(QWidget* theWrappedObject, const QString& arg__1); + void setWindowFilePath(QWidget* theWrappedObject, const QString& filePath); + void setWindowFlags(QWidget* theWrappedObject, Qt::WindowFlags type); + void setWindowIcon(QWidget* theWrappedObject, const QIcon& icon); + void setWindowIconText(QWidget* theWrappedObject, const QString& arg__1); + void setWindowModality(QWidget* theWrappedObject, Qt::WindowModality windowModality); + void setWindowOpacity(QWidget* theWrappedObject, qreal level); + void setWindowRole(QWidget* theWrappedObject, const QString& arg__1); + void setWindowState(QWidget* theWrappedObject, Qt::WindowStates state); + void showEvent(QWidget* theWrappedObject, QShowEvent* arg__1); + QSize size(QWidget* theWrappedObject) const; + QSize sizeHint(QWidget* theWrappedObject) const; + QSize sizeIncrement(QWidget* theWrappedObject) const; + QSizePolicy sizePolicy(QWidget* theWrappedObject) const; + void stackUnder(QWidget* theWrappedObject, QWidget* arg__1); + QString statusTip(QWidget* theWrappedObject) const; + QStyle* style(QWidget* theWrappedObject) const; + QString styleSheet(QWidget* theWrappedObject) const; + void tabletEvent(QWidget* theWrappedObject, QTabletEvent* arg__1); + bool testAttribute(QWidget* theWrappedObject, Qt::WidgetAttribute arg__1) const; + QString toolTip(QWidget* theWrappedObject) const; + bool underMouse(QWidget* theWrappedObject) const; + void unsetCursor(QWidget* theWrappedObject); + void unsetLayoutDirection(QWidget* theWrappedObject); + void unsetLocale(QWidget* theWrappedObject); + void update(QWidget* theWrappedObject, const QRect& arg__1); + void update(QWidget* theWrappedObject, const QRegion& arg__1); + void update(QWidget* theWrappedObject, int x, int y, int w, int h); + void updateGeometry(QWidget* theWrappedObject); + bool updatesEnabled(QWidget* theWrappedObject) const; + QRegion visibleRegion(QWidget* theWrappedObject) const; + QString whatsThis(QWidget* theWrappedObject) const; + void wheelEvent(QWidget* theWrappedObject, QWheelEvent* arg__1); + int width(QWidget* theWrappedObject) const; + WId winId(QWidget* theWrappedObject) const; + QWidget* window(QWidget* theWrappedObject) const; + QString windowFilePath(QWidget* theWrappedObject) const; + Qt::WindowFlags windowFlags(QWidget* theWrappedObject) const; + QIcon windowIcon(QWidget* theWrappedObject) const; + QString windowIconText(QWidget* theWrappedObject) const; + Qt::WindowModality windowModality(QWidget* theWrappedObject) const; + qreal windowOpacity(QWidget* theWrappedObject) const; + QString windowRole(QWidget* theWrappedObject) const; + Qt::WindowStates windowState(QWidget* theWrappedObject) const; + QString windowTitle(QWidget* theWrappedObject) const; + Qt::WindowType windowType(QWidget* theWrappedObject) const; + int x(QWidget* theWrappedObject) const; + int y(QWidget* theWrappedObject) const; +}; + + + + + +class PythonQtShell_QWidgetAction : public QWidgetAction +{ +public: + PythonQtShell_QWidgetAction(QObject* parent):QWidgetAction(parent),_wrapper(NULL) {}; + +virtual void childEvent(QChildEvent* arg__1); +virtual QWidget* createWidget(QWidget* parent); +virtual void customEvent(QEvent* arg__1); +virtual void deleteWidget(QWidget* widget); +virtual bool event(QEvent* arg__1); +virtual bool eventFilter(QObject* arg__1, QEvent* arg__2); +virtual void timerEvent(QTimerEvent* arg__1); + + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtPublicPromoter_QWidgetAction : public QWidgetAction +{ public: +inline QWidget* promoted_createWidget(QWidget* parent) { return QWidgetAction::createWidget(parent); } +inline void promoted_deleteWidget(QWidget* widget) { QWidgetAction::deleteWidget(widget); } +inline bool promoted_event(QEvent* arg__1) { return QWidgetAction::event(arg__1); } +inline bool promoted_eventFilter(QObject* arg__1, QEvent* arg__2) { return QWidgetAction::eventFilter(arg__1, arg__2); } +}; + +class PythonQtWrapper_QWidgetAction : public QObject +{ Q_OBJECT +public: +public slots: +QWidgetAction* new_QWidgetAction(QObject* parent); +void delete_QWidgetAction(QWidgetAction* obj) { delete obj; } + QWidget* createWidget(QWidgetAction* theWrappedObject, QWidget* parent); + QWidget* defaultWidget(QWidgetAction* theWrappedObject) const; + void deleteWidget(QWidgetAction* theWrappedObject, QWidget* widget); + bool event(QWidgetAction* theWrappedObject, QEvent* arg__1); + bool eventFilter(QWidgetAction* theWrappedObject, QObject* arg__1, QEvent* arg__2); + void releaseWidget(QWidgetAction* theWrappedObject, QWidget* widget); + QWidget* requestWidget(QWidgetAction* theWrappedObject, QWidget* parent); + void setDefaultWidget(QWidgetAction* theWrappedObject, QWidget* w); +}; + + + + + +class PythonQtShell_QWidgetItem : public QWidgetItem +{ +public: + PythonQtShell_QWidgetItem(QWidget* w):QWidgetItem(w),_wrapper(NULL) {}; + +virtual Qt::Orientations expandingDirections() const; +virtual QRect geometry() const; +virtual bool hasHeightForWidth() const; +virtual int heightForWidth(int arg__1) const; +virtual void invalidate(); +virtual bool isEmpty() const; +virtual QLayout* layout(); +virtual QSize maximumSize() const; +virtual int minimumHeightForWidth(int arg__1) const; +virtual QSize minimumSize() const; +virtual void setGeometry(const QRect& arg__1); +virtual QSize sizeHint() const; +virtual QSpacerItem* spacerItem(); +virtual QWidget* widget(); + + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtPublicPromoter_QWidgetItem : public QWidgetItem +{ public: +inline Qt::Orientations promoted_expandingDirections() const { return QWidgetItem::expandingDirections(); } +inline QRect promoted_geometry() const { return QWidgetItem::geometry(); } +inline bool promoted_hasHeightForWidth() const { return QWidgetItem::hasHeightForWidth(); } +inline int promoted_heightForWidth(int arg__1) const { return QWidgetItem::heightForWidth(arg__1); } +inline bool promoted_isEmpty() const { return QWidgetItem::isEmpty(); } +inline QSize promoted_maximumSize() const { return QWidgetItem::maximumSize(); } +inline QSize promoted_minimumSize() const { return QWidgetItem::minimumSize(); } +inline void promoted_setGeometry(const QRect& arg__1) { QWidgetItem::setGeometry(arg__1); } +inline QSize promoted_sizeHint() const { return QWidgetItem::sizeHint(); } +inline QWidget* promoted_widget() { return QWidgetItem::widget(); } +}; + +class PythonQtWrapper_QWidgetItem : public QObject +{ Q_OBJECT +public: +public slots: +QWidgetItem* new_QWidgetItem(QWidget* w); +void delete_QWidgetItem(QWidgetItem* obj) { delete obj; } + Qt::Orientations expandingDirections(QWidgetItem* theWrappedObject) const; + QRect geometry(QWidgetItem* theWrappedObject) const; + bool hasHeightForWidth(QWidgetItem* theWrappedObject) const; + int heightForWidth(QWidgetItem* theWrappedObject, int arg__1) const; + bool isEmpty(QWidgetItem* theWrappedObject) const; + QSize maximumSize(QWidgetItem* theWrappedObject) const; + QSize minimumSize(QWidgetItem* theWrappedObject) const; + void setGeometry(QWidgetItem* theWrappedObject, const QRect& arg__1); + QSize sizeHint(QWidgetItem* theWrappedObject) const; + QWidget* widget(QWidgetItem* theWrappedObject); +}; + + + + + +class PythonQtWrapper_QWindowStateChangeEvent : public QObject +{ Q_OBJECT +public: +public slots: +QWindowStateChangeEvent* new_QWindowStateChangeEvent(Qt::WindowStates aOldState); +QWindowStateChangeEvent* new_QWindowStateChangeEvent(Qt::WindowStates aOldState, bool isOverride); +void delete_QWindowStateChangeEvent(QWindowStateChangeEvent* obj) { delete obj; } + bool isOverride(QWindowStateChangeEvent* theWrappedObject) const; + Qt::WindowStates oldState(QWindowStateChangeEvent* theWrappedObject) const; +}; + + + + + +class PythonQtShell_QWindowsStyle : public QWindowsStyle +{ +public: + PythonQtShell_QWindowsStyle():QWindowsStyle(),_wrapper(NULL) {}; + +virtual void childEvent(QChildEvent* arg__1); +virtual void customEvent(QEvent* arg__1); +virtual void drawComplexControl(QStyle::ComplexControl cc, const QStyleOptionComplex* opt, QPainter* p, const QWidget* w = 0) const; +virtual void drawControl(QStyle::ControlElement element, const QStyleOption* opt, QPainter* p, const QWidget* w = 0) const; +virtual void drawItemPixmap(QPainter* painter, const QRect& rect, int alignment, const QPixmap& pixmap) const; +virtual void drawItemText(QPainter* painter, const QRect& rect, int flags, const QPalette& pal, bool enabled, const QString& text, QPalette::ColorRole textRole) const; +virtual void drawPrimitive(QStyle::PrimitiveElement pe, const QStyleOption* opt, QPainter* p, const QWidget* w = 0) const; +virtual bool event(QEvent* arg__1); +virtual bool eventFilter(QObject* o, QEvent* e); +virtual QPixmap generatedIconPixmap(QIcon::Mode iconMode, const QPixmap& pixmap, const QStyleOption* opt) const; +virtual QStyle::SubControl hitTestComplexControl(QStyle::ComplexControl cc, const QStyleOptionComplex* opt, const QPoint& pt, const QWidget* w) const; +virtual QRect itemPixmapRect(const QRect& r, int flags, const QPixmap& pixmap) const; +virtual int pixelMetric(QStyle::PixelMetric pm, const QStyleOption* option = 0, const QWidget* widget = 0) const; +virtual void polish(QApplication* arg__1); +virtual void polish(QPalette& arg__1); +virtual void polish(QWidget* arg__1); +virtual QSize sizeFromContents(QStyle::ContentsType ct, const QStyleOption* opt, const QSize& contentsSize, const QWidget* widget = 0) const; +virtual QPalette standardPalette() const; +virtual QPixmap standardPixmap(QStyle::StandardPixmap standardPixmap, const QStyleOption* opt, const QWidget* widget) const; +virtual int styleHint(QStyle::StyleHint hint, const QStyleOption* opt = 0, const QWidget* widget = 0, QStyleHintReturn* returnData = 0) const; +virtual QRect subControlRect(QStyle::ComplexControl cc, const QStyleOptionComplex* opt, QStyle::SubControl sc, const QWidget* w) const; +virtual QRect subElementRect(QStyle::SubElement r, const QStyleOption* opt, const QWidget* widget = 0) const; +virtual void timerEvent(QTimerEvent* event); +virtual void unpolish(QApplication* arg__1); +virtual void unpolish(QWidget* arg__1); + + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtPublicPromoter_QWindowsStyle : public QWindowsStyle +{ public: +inline void promoted_drawComplexControl(QStyle::ComplexControl cc, const QStyleOptionComplex* opt, QPainter* p, const QWidget* w = 0) const { QWindowsStyle::drawComplexControl(cc, opt, p, w); } +inline void promoted_drawControl(QStyle::ControlElement element, const QStyleOption* opt, QPainter* p, const QWidget* w = 0) const { QWindowsStyle::drawControl(element, opt, p, w); } +inline void promoted_drawPrimitive(QStyle::PrimitiveElement pe, const QStyleOption* opt, QPainter* p, const QWidget* w = 0) const { QWindowsStyle::drawPrimitive(pe, opt, p, w); } +inline bool promoted_eventFilter(QObject* o, QEvent* e) { return QWindowsStyle::eventFilter(o, e); } +inline int promoted_pixelMetric(QStyle::PixelMetric pm, const QStyleOption* option = 0, const QWidget* widget = 0) const { return QWindowsStyle::pixelMetric(pm, option, widget); } +inline void promoted_polish(QApplication* arg__1) { QWindowsStyle::polish(arg__1); } +inline void promoted_polish(QPalette& arg__1) { QWindowsStyle::polish(arg__1); } +inline void promoted_polish(QWidget* arg__1) { QWindowsStyle::polish(arg__1); } +inline QSize promoted_sizeFromContents(QStyle::ContentsType ct, const QStyleOption* opt, const QSize& contentsSize, const QWidget* widget = 0) const { return QWindowsStyle::sizeFromContents(ct, opt, contentsSize, widget); } +inline int promoted_styleHint(QStyle::StyleHint hint, const QStyleOption* opt = 0, const QWidget* widget = 0, QStyleHintReturn* returnData = 0) const { return QWindowsStyle::styleHint(hint, opt, widget, returnData); } +inline QRect promoted_subElementRect(QStyle::SubElement r, const QStyleOption* opt, const QWidget* widget = 0) const { return QWindowsStyle::subElementRect(r, opt, widget); } +inline void promoted_timerEvent(QTimerEvent* event) { QWindowsStyle::timerEvent(event); } +inline void promoted_unpolish(QApplication* arg__1) { QWindowsStyle::unpolish(arg__1); } +inline void promoted_unpolish(QWidget* arg__1) { QWindowsStyle::unpolish(arg__1); } +}; + +class PythonQtWrapper_QWindowsStyle : public QObject +{ Q_OBJECT +public: +public slots: +QWindowsStyle* new_QWindowsStyle(); +void delete_QWindowsStyle(QWindowsStyle* obj) { delete obj; } + void drawComplexControl(QWindowsStyle* theWrappedObject, QStyle::ComplexControl cc, const QStyleOptionComplex* opt, QPainter* p, const QWidget* w = 0) const; + void drawControl(QWindowsStyle* theWrappedObject, QStyle::ControlElement element, const QStyleOption* opt, QPainter* p, const QWidget* w = 0) const; + void drawPrimitive(QWindowsStyle* theWrappedObject, QStyle::PrimitiveElement pe, const QStyleOption* opt, QPainter* p, const QWidget* w = 0) const; + bool eventFilter(QWindowsStyle* theWrappedObject, QObject* o, QEvent* e); + int pixelMetric(QWindowsStyle* theWrappedObject, QStyle::PixelMetric pm, const QStyleOption* option = 0, const QWidget* widget = 0) const; + void polish(QWindowsStyle* theWrappedObject, QApplication* arg__1); + void polish(QWindowsStyle* theWrappedObject, QPalette& arg__1); + void polish(QWindowsStyle* theWrappedObject, QWidget* arg__1); + QSize sizeFromContents(QWindowsStyle* theWrappedObject, QStyle::ContentsType ct, const QStyleOption* opt, const QSize& contentsSize, const QWidget* widget = 0) const; + int styleHint(QWindowsStyle* theWrappedObject, QStyle::StyleHint hint, const QStyleOption* opt = 0, const QWidget* widget = 0, QStyleHintReturn* returnData = 0) const; + QRect subElementRect(QWindowsStyle* theWrappedObject, QStyle::SubElement r, const QStyleOption* opt, const QWidget* widget = 0) const; + void timerEvent(QWindowsStyle* theWrappedObject, QTimerEvent* event); + void unpolish(QWindowsStyle* theWrappedObject, QApplication* arg__1); + void unpolish(QWindowsStyle* theWrappedObject, QWidget* arg__1); +}; + + + + + +class PythonQtShell_QWizard : public QWizard +{ +public: + PythonQtShell_QWizard(QWidget* parent = 0, Qt::WindowFlags flags = 0):QWizard(parent, flags),_wrapper(NULL) {}; + +virtual void accept(); +virtual void actionEvent(QActionEvent* arg__1); +virtual void changeEvent(QEvent* arg__1); +virtual void childEvent(QChildEvent* arg__1); +virtual void cleanupPage(int id); +virtual void closeEvent(QCloseEvent* arg__1); +virtual void contextMenuEvent(QContextMenuEvent* arg__1); +virtual void customEvent(QEvent* arg__1); +virtual int devType() const; +virtual void done(int result); +virtual void dragEnterEvent(QDragEnterEvent* arg__1); +virtual void dragLeaveEvent(QDragLeaveEvent* arg__1); +virtual void dragMoveEvent(QDragMoveEvent* arg__1); +virtual void dropEvent(QDropEvent* arg__1); +virtual void enterEvent(QEvent* arg__1); +virtual bool event(QEvent* event); +virtual bool eventFilter(QObject* arg__1, QEvent* arg__2); +virtual void focusInEvent(QFocusEvent* arg__1); +virtual bool focusNextPrevChild(bool next); +virtual void focusOutEvent(QFocusEvent* arg__1); +virtual int heightForWidth(int arg__1) const; +virtual void hideEvent(QHideEvent* arg__1); +virtual void initializePage(int id); +virtual void inputMethodEvent(QInputMethodEvent* arg__1); +virtual QVariant inputMethodQuery(Qt::InputMethodQuery arg__1) const; +virtual void keyPressEvent(QKeyEvent* arg__1); +virtual void keyReleaseEvent(QKeyEvent* arg__1); +virtual void languageChange(); +virtual void leaveEvent(QEvent* arg__1); +virtual int metric(QPaintDevice::PaintDeviceMetric arg__1) const; +virtual void mouseDoubleClickEvent(QMouseEvent* arg__1); +virtual void mouseMoveEvent(QMouseEvent* arg__1); +virtual void mousePressEvent(QMouseEvent* arg__1); +virtual void mouseReleaseEvent(QMouseEvent* arg__1); +virtual void moveEvent(QMoveEvent* arg__1); +virtual int nextId() const; +virtual QPaintEngine* paintEngine() const; +virtual void paintEvent(QPaintEvent* event); +virtual void reject(); +virtual void resizeEvent(QResizeEvent* event); +virtual void showEvent(QShowEvent* arg__1); +virtual void tabletEvent(QTabletEvent* arg__1); +virtual void timerEvent(QTimerEvent* arg__1); +virtual bool validateCurrentPage(); +virtual void wheelEvent(QWheelEvent* arg__1); + + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtPublicPromoter_QWizard : public QWizard +{ public: +inline void promoted_cleanupPage(int id) { QWizard::cleanupPage(id); } +inline void promoted_done(int result) { QWizard::done(result); } +inline bool promoted_event(QEvent* event) { return QWizard::event(event); } +inline void promoted_initializePage(int id) { QWizard::initializePage(id); } +inline int promoted_nextId() const { return QWizard::nextId(); } +inline void promoted_paintEvent(QPaintEvent* event) { QWizard::paintEvent(event); } +inline void promoted_resizeEvent(QResizeEvent* event) { QWizard::resizeEvent(event); } +inline bool promoted_validateCurrentPage() { return QWizard::validateCurrentPage(); } +}; + +class PythonQtWrapper_QWizard : public QObject +{ Q_OBJECT +public: +Q_ENUMS(WizardButton WizardPixmap ) +enum WizardButton{ + BackButton = QWizard::BackButton, NextButton = QWizard::NextButton, CommitButton = QWizard::CommitButton, FinishButton = QWizard::FinishButton, CancelButton = QWizard::CancelButton, HelpButton = QWizard::HelpButton, CustomButton1 = QWizard::CustomButton1, CustomButton2 = QWizard::CustomButton2, CustomButton3 = QWizard::CustomButton3, Stretch = QWizard::Stretch, NoButton = QWizard::NoButton, NStandardButtons = QWizard::NStandardButtons, NButtons = QWizard::NButtons}; +enum WizardPixmap{ + WatermarkPixmap = QWizard::WatermarkPixmap, LogoPixmap = QWizard::LogoPixmap, BannerPixmap = QWizard::BannerPixmap, BackgroundPixmap = QWizard::BackgroundPixmap, NPixmaps = QWizard::NPixmaps}; +public slots: +QWizard* new_QWizard(QWidget* parent = 0, Qt::WindowFlags flags = 0); +void delete_QWizard(QWizard* obj) { delete obj; } + int addPage(QWizard* theWrappedObject, QWizardPage* page); + QAbstractButton* button(QWizard* theWrappedObject, QWizard::WizardButton which) const; + QString buttonText(QWizard* theWrappedObject, QWizard::WizardButton which) const; + void cleanupPage(QWizard* theWrappedObject, int id); + int currentId(QWizard* theWrappedObject) const; + QWizardPage* currentPage(QWizard* theWrappedObject) const; + void done(QWizard* theWrappedObject, int result); + bool event(QWizard* theWrappedObject, QEvent* event); + QVariant field(QWizard* theWrappedObject, const QString& name) const; + bool hasVisitedPage(QWizard* theWrappedObject, int id) const; + void initializePage(QWizard* theWrappedObject, int id); + int nextId(QWizard* theWrappedObject) const; + QWizard::WizardOptions options(QWizard* theWrappedObject) const; + QWizardPage* page(QWizard* theWrappedObject, int id) const; + QList pageIds(QWizard* theWrappedObject) const; + void paintEvent(QWizard* theWrappedObject, QPaintEvent* event); + QPixmap pixmap(QWizard* theWrappedObject, QWizard::WizardPixmap which) const; + void removePage(QWizard* theWrappedObject, int id); + void resizeEvent(QWizard* theWrappedObject, QResizeEvent* event); + void setButton(QWizard* theWrappedObject, QWizard::WizardButton which, QAbstractButton* button); + void setButtonLayout(QWizard* theWrappedObject, const QList& layout); + void setButtonText(QWizard* theWrappedObject, QWizard::WizardButton which, const QString& text); + void setField(QWizard* theWrappedObject, const QString& name, const QVariant& value); + void setOption(QWizard* theWrappedObject, QWizard::WizardOption option, bool on = true); + void setOptions(QWizard* theWrappedObject, QWizard::WizardOptions options); + void setPage(QWizard* theWrappedObject, int id, QWizardPage* page); + void setPixmap(QWizard* theWrappedObject, QWizard::WizardPixmap which, const QPixmap& pixmap); + void setStartId(QWizard* theWrappedObject, int id); + void setSubTitleFormat(QWizard* theWrappedObject, Qt::TextFormat format); + void setTitleFormat(QWizard* theWrappedObject, Qt::TextFormat format); + void setVisible(QWizard* theWrappedObject, bool visible); + void setWizardStyle(QWizard* theWrappedObject, QWizard::WizardStyle style); + QSize sizeHint(QWizard* theWrappedObject) const; + int startId(QWizard* theWrappedObject) const; + Qt::TextFormat subTitleFormat(QWizard* theWrappedObject) const; + bool testOption(QWizard* theWrappedObject, QWizard::WizardOption option) const; + Qt::TextFormat titleFormat(QWizard* theWrappedObject) const; + bool validateCurrentPage(QWizard* theWrappedObject); + QList visitedPages(QWizard* theWrappedObject) const; + QWizard::WizardStyle wizardStyle(QWizard* theWrappedObject) const; +}; + + + + + +class PythonQtShell_QWizardPage : public QWizardPage +{ +public: + PythonQtShell_QWizardPage(QWidget* parent = 0):QWizardPage(parent),_wrapper(NULL) {}; + +virtual void actionEvent(QActionEvent* arg__1); +virtual void changeEvent(QEvent* arg__1); +virtual void childEvent(QChildEvent* arg__1); +virtual void cleanupPage(); +virtual void closeEvent(QCloseEvent* arg__1); +virtual void contextMenuEvent(QContextMenuEvent* arg__1); +virtual void customEvent(QEvent* arg__1); +virtual int devType() const; +virtual void dragEnterEvent(QDragEnterEvent* arg__1); +virtual void dragLeaveEvent(QDragLeaveEvent* arg__1); +virtual void dragMoveEvent(QDragMoveEvent* arg__1); +virtual void dropEvent(QDropEvent* arg__1); +virtual void enterEvent(QEvent* arg__1); +virtual bool event(QEvent* arg__1); +virtual bool eventFilter(QObject* arg__1, QEvent* arg__2); +virtual void focusInEvent(QFocusEvent* arg__1); +virtual bool focusNextPrevChild(bool next); +virtual void focusOutEvent(QFocusEvent* arg__1); +virtual int heightForWidth(int arg__1) const; +virtual void hideEvent(QHideEvent* arg__1); +virtual void initializePage(); +virtual void inputMethodEvent(QInputMethodEvent* arg__1); +virtual QVariant inputMethodQuery(Qt::InputMethodQuery arg__1) const; +virtual bool isComplete() const; +virtual void keyPressEvent(QKeyEvent* arg__1); +virtual void keyReleaseEvent(QKeyEvent* arg__1); +virtual void languageChange(); +virtual void leaveEvent(QEvent* arg__1); +virtual int metric(QPaintDevice::PaintDeviceMetric arg__1) const; +virtual QSize minimumSizeHint() const; +virtual void mouseDoubleClickEvent(QMouseEvent* arg__1); +virtual void mouseMoveEvent(QMouseEvent* arg__1); +virtual void mousePressEvent(QMouseEvent* arg__1); +virtual void mouseReleaseEvent(QMouseEvent* arg__1); +virtual void moveEvent(QMoveEvent* arg__1); +virtual int nextId() const; +virtual QPaintEngine* paintEngine() const; +virtual void paintEvent(QPaintEvent* arg__1); +virtual void resizeEvent(QResizeEvent* arg__1); +virtual void showEvent(QShowEvent* arg__1); +virtual QSize sizeHint() const; +virtual void tabletEvent(QTabletEvent* arg__1); +virtual void timerEvent(QTimerEvent* arg__1); +virtual bool validatePage(); +virtual void wheelEvent(QWheelEvent* arg__1); + + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtPublicPromoter_QWizardPage : public QWizardPage +{ public: +inline void promoted_cleanupPage() { QWizardPage::cleanupPage(); } +inline void promoted_initializePage() { QWizardPage::initializePage(); } +inline bool promoted_isComplete() const { return QWizardPage::isComplete(); } +inline int promoted_nextId() const { return QWizardPage::nextId(); } +inline bool promoted_validatePage() { return QWizardPage::validatePage(); } +}; + +class PythonQtWrapper_QWizardPage : public QObject +{ Q_OBJECT +public: +public slots: +QWizardPage* new_QWizardPage(QWidget* parent = 0); +void delete_QWizardPage(QWizardPage* obj) { delete obj; } + QString buttonText(QWizardPage* theWrappedObject, QWizard::WizardButton which) const; + void cleanupPage(QWizardPage* theWrappedObject); + void initializePage(QWizardPage* theWrappedObject); + bool isCommitPage(QWizardPage* theWrappedObject) const; + bool isComplete(QWizardPage* theWrappedObject) const; + bool isFinalPage(QWizardPage* theWrappedObject) const; + int nextId(QWizardPage* theWrappedObject) const; + QPixmap pixmap(QWizardPage* theWrappedObject, QWizard::WizardPixmap which) const; + void setButtonText(QWizardPage* theWrappedObject, QWizard::WizardButton which, const QString& text); + void setCommitPage(QWizardPage* theWrappedObject, bool commitPage); + void setFinalPage(QWizardPage* theWrappedObject, bool finalPage); + void setPixmap(QWizardPage* theWrappedObject, QWizard::WizardPixmap which, const QPixmap& pixmap); + void setSubTitle(QWizardPage* theWrappedObject, const QString& subTitle); + void setTitle(QWizardPage* theWrappedObject, const QString& title); + QString subTitle(QWizardPage* theWrappedObject) const; + QString title(QWizardPage* theWrappedObject) const; + bool validatePage(QWizardPage* theWrappedObject); +}; + + + + + +class PythonQtShell_QWorkspace : public QWorkspace +{ +public: + PythonQtShell_QWorkspace(QWidget* parent = 0):QWorkspace(parent),_wrapper(NULL) {}; + +virtual void actionEvent(QActionEvent* arg__1); +virtual void changeEvent(QEvent* arg__1); +virtual void childEvent(QChildEvent* arg__1); +virtual void closeEvent(QCloseEvent* arg__1); +virtual void contextMenuEvent(QContextMenuEvent* arg__1); +virtual void customEvent(QEvent* arg__1); +virtual int devType() const; +virtual void dragEnterEvent(QDragEnterEvent* arg__1); +virtual void dragLeaveEvent(QDragLeaveEvent* arg__1); +virtual void dragMoveEvent(QDragMoveEvent* arg__1); +virtual void dropEvent(QDropEvent* arg__1); +virtual void enterEvent(QEvent* arg__1); +virtual bool event(QEvent* e); +virtual bool eventFilter(QObject* arg__1, QEvent* arg__2); +virtual void focusInEvent(QFocusEvent* arg__1); +virtual bool focusNextPrevChild(bool next); +virtual void focusOutEvent(QFocusEvent* arg__1); +virtual int heightForWidth(int arg__1) const; +virtual void hideEvent(QHideEvent* e); +virtual void inputMethodEvent(QInputMethodEvent* arg__1); +virtual QVariant inputMethodQuery(Qt::InputMethodQuery arg__1) const; +virtual void keyPressEvent(QKeyEvent* arg__1); +virtual void keyReleaseEvent(QKeyEvent* arg__1); +virtual void languageChange(); +virtual void leaveEvent(QEvent* arg__1); +virtual int metric(QPaintDevice::PaintDeviceMetric arg__1) const; +virtual QSize minimumSizeHint() const; +virtual void mouseDoubleClickEvent(QMouseEvent* arg__1); +virtual void mouseMoveEvent(QMouseEvent* arg__1); +virtual void mousePressEvent(QMouseEvent* arg__1); +virtual void mouseReleaseEvent(QMouseEvent* arg__1); +virtual void moveEvent(QMoveEvent* arg__1); +virtual QPaintEngine* paintEngine() const; +virtual void paintEvent(QPaintEvent* e); +virtual void resizeEvent(QResizeEvent* arg__1); +virtual void showEvent(QShowEvent* e); +virtual void tabletEvent(QTabletEvent* arg__1); +virtual void timerEvent(QTimerEvent* arg__1); +virtual void wheelEvent(QWheelEvent* e); + + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtPublicPromoter_QWorkspace : public QWorkspace +{ public: +inline void promoted_changeEvent(QEvent* arg__1) { QWorkspace::changeEvent(arg__1); } +inline void promoted_childEvent(QChildEvent* arg__1) { QWorkspace::childEvent(arg__1); } +inline bool promoted_event(QEvent* e) { return QWorkspace::event(e); } +inline bool promoted_eventFilter(QObject* arg__1, QEvent* arg__2) { return QWorkspace::eventFilter(arg__1, arg__2); } +inline void promoted_hideEvent(QHideEvent* e) { QWorkspace::hideEvent(e); } +inline void promoted_paintEvent(QPaintEvent* e) { QWorkspace::paintEvent(e); } +inline void promoted_resizeEvent(QResizeEvent* arg__1) { QWorkspace::resizeEvent(arg__1); } +inline void promoted_showEvent(QShowEvent* e) { QWorkspace::showEvent(e); } +inline void promoted_wheelEvent(QWheelEvent* e) { QWorkspace::wheelEvent(e); } +}; + +class PythonQtWrapper_QWorkspace : public QObject +{ Q_OBJECT +public: +Q_ENUMS(WindowOrder ) +enum WindowOrder{ + CreationOrder = QWorkspace::CreationOrder, StackingOrder = QWorkspace::StackingOrder}; +public slots: +QWorkspace* new_QWorkspace(QWidget* parent = 0); +void delete_QWorkspace(QWorkspace* obj) { delete obj; } + QWidget* activeWindow(QWorkspace* theWrappedObject) const; + QWidget* addWindow(QWorkspace* theWrappedObject, QWidget* w, Qt::WindowFlags flags = 0); + QBrush background(QWorkspace* theWrappedObject) const; + void changeEvent(QWorkspace* theWrappedObject, QEvent* arg__1); + void childEvent(QWorkspace* theWrappedObject, QChildEvent* arg__1); + bool event(QWorkspace* theWrappedObject, QEvent* e); + bool eventFilter(QWorkspace* theWrappedObject, QObject* arg__1, QEvent* arg__2); + void hideEvent(QWorkspace* theWrappedObject, QHideEvent* e); + void paintEvent(QWorkspace* theWrappedObject, QPaintEvent* e); + void resizeEvent(QWorkspace* theWrappedObject, QResizeEvent* arg__1); + bool scrollBarsEnabled(QWorkspace* theWrappedObject) const; + void setBackground(QWorkspace* theWrappedObject, const QBrush& background); + void setScrollBarsEnabled(QWorkspace* theWrappedObject, bool enable); + void showEvent(QWorkspace* theWrappedObject, QShowEvent* e); + QSize sizeHint(QWorkspace* theWrappedObject) const; + void wheelEvent(QWorkspace* theWrappedObject, QWheelEvent* e); + QList windowList(QWorkspace* theWrappedObject, QWorkspace::WindowOrder order = QWorkspace::CreationOrder) const; +}; + + diff --git a/generated_cpp_47/com_trolltech_qt_gui/com_trolltech_qt_gui2.cpp b/generated_cpp_47/com_trolltech_qt_gui/com_trolltech_qt_gui2.cpp new file mode 100644 index 00000000..796919d6 --- /dev/null +++ b/generated_cpp_47/com_trolltech_qt_gui/com_trolltech_qt_gui2.cpp @@ -0,0 +1,13203 @@ +#include "com_trolltech_qt_gui2.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 + +void PythonQtShell_QErrorMessage::accept() +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "accept"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={""}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QErrorMessage::accept(); +} +void PythonQtShell_QErrorMessage::actionEvent(QActionEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "actionEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QActionEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QErrorMessage::actionEvent(arg__1); +} +void PythonQtShell_QErrorMessage::changeEvent(QEvent* e) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "changeEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&e}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QErrorMessage::changeEvent(e); +} +void PythonQtShell_QErrorMessage::childEvent(QChildEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "childEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QChildEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QErrorMessage::childEvent(arg__1); +} +void PythonQtShell_QErrorMessage::closeEvent(QCloseEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "closeEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QCloseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QErrorMessage::closeEvent(arg__1); +} +void PythonQtShell_QErrorMessage::contextMenuEvent(QContextMenuEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "contextMenuEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QContextMenuEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QErrorMessage::contextMenuEvent(arg__1); +} +void PythonQtShell_QErrorMessage::customEvent(QEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "customEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QErrorMessage::customEvent(arg__1); +} +int PythonQtShell_QErrorMessage::devType() const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "devType"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + int returnValue; + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("devType", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QErrorMessage::devType(); +} +void PythonQtShell_QErrorMessage::done(int arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "done"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QErrorMessage::done(arg__1); +} +void PythonQtShell_QErrorMessage::dragEnterEvent(QDragEnterEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dragEnterEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QDragEnterEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QErrorMessage::dragEnterEvent(arg__1); +} +void PythonQtShell_QErrorMessage::dragLeaveEvent(QDragLeaveEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dragLeaveEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QDragLeaveEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QErrorMessage::dragLeaveEvent(arg__1); +} +void PythonQtShell_QErrorMessage::dragMoveEvent(QDragMoveEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dragMoveEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QDragMoveEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QErrorMessage::dragMoveEvent(arg__1); +} +void PythonQtShell_QErrorMessage::dropEvent(QDropEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dropEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QDropEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QErrorMessage::dropEvent(arg__1); +} +void PythonQtShell_QErrorMessage::enterEvent(QEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "enterEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QErrorMessage::enterEvent(arg__1); +} +bool PythonQtShell_QErrorMessage::event(QEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "event"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue; + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QErrorMessage::event(arg__1); +} +bool PythonQtShell_QErrorMessage::eventFilter(QObject* arg__1, QEvent* arg__2) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "eventFilter"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue; + void* args[3] = {NULL, (void*)&arg__1, (void*)&arg__2}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QErrorMessage::eventFilter(arg__1, arg__2); +} +void PythonQtShell_QErrorMessage::focusInEvent(QFocusEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "focusInEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QFocusEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QErrorMessage::focusInEvent(arg__1); +} +bool PythonQtShell_QErrorMessage::focusNextPrevChild(bool next) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "focusNextPrevChild"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue; + void* args[2] = {NULL, (void*)&next}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("focusNextPrevChild", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QErrorMessage::focusNextPrevChild(next); +} +void PythonQtShell_QErrorMessage::focusOutEvent(QFocusEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "focusOutEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QFocusEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QErrorMessage::focusOutEvent(arg__1); +} +int PythonQtShell_QErrorMessage::heightForWidth(int arg__1) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "heightForWidth"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"int" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + int returnValue; + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("heightForWidth", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QErrorMessage::heightForWidth(arg__1); +} +void PythonQtShell_QErrorMessage::hideEvent(QHideEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "hideEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QHideEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QErrorMessage::hideEvent(arg__1); +} +void PythonQtShell_QErrorMessage::inputMethodEvent(QInputMethodEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "inputMethodEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QInputMethodEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QErrorMessage::inputMethodEvent(arg__1); +} +QVariant PythonQtShell_QErrorMessage::inputMethodQuery(Qt::InputMethodQuery arg__1) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "inputMethodQuery"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QVariant" , "Qt::InputMethodQuery"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + QVariant returnValue; + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result); + } else { + returnValue = *((QVariant*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QErrorMessage::inputMethodQuery(arg__1); +} +void PythonQtShell_QErrorMessage::keyPressEvent(QKeyEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "keyPressEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QKeyEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QErrorMessage::keyPressEvent(arg__1); +} +void PythonQtShell_QErrorMessage::keyReleaseEvent(QKeyEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "keyReleaseEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QKeyEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QErrorMessage::keyReleaseEvent(arg__1); +} +void PythonQtShell_QErrorMessage::languageChange() +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "languageChange"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={""}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QErrorMessage::languageChange(); +} +void PythonQtShell_QErrorMessage::leaveEvent(QEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "leaveEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QErrorMessage::leaveEvent(arg__1); +} +int PythonQtShell_QErrorMessage::metric(QPaintDevice::PaintDeviceMetric arg__1) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "metric"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + int returnValue; + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("metric", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QErrorMessage::metric(arg__1); +} +void PythonQtShell_QErrorMessage::mouseDoubleClickEvent(QMouseEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mouseDoubleClickEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QErrorMessage::mouseDoubleClickEvent(arg__1); +} +void PythonQtShell_QErrorMessage::mouseMoveEvent(QMouseEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mouseMoveEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QErrorMessage::mouseMoveEvent(arg__1); +} +void PythonQtShell_QErrorMessage::mousePressEvent(QMouseEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mousePressEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QErrorMessage::mousePressEvent(arg__1); +} +void PythonQtShell_QErrorMessage::mouseReleaseEvent(QMouseEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mouseReleaseEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QErrorMessage::mouseReleaseEvent(arg__1); +} +void PythonQtShell_QErrorMessage::moveEvent(QMoveEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "moveEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QMoveEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QErrorMessage::moveEvent(arg__1); +} +QPaintEngine* PythonQtShell_QErrorMessage::paintEngine() const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "paintEngine"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QPaintEngine*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QPaintEngine* returnValue; + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); + } else { + returnValue = *((QPaintEngine**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QErrorMessage::paintEngine(); +} +void PythonQtShell_QErrorMessage::paintEvent(QPaintEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "paintEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QPaintEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QErrorMessage::paintEvent(arg__1); +} +void PythonQtShell_QErrorMessage::reject() +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "reject"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={""}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QErrorMessage::reject(); +} +void PythonQtShell_QErrorMessage::resizeEvent(QResizeEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "resizeEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QResizeEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QErrorMessage::resizeEvent(arg__1); +} +void PythonQtShell_QErrorMessage::showEvent(QShowEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "showEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QShowEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QErrorMessage::showEvent(arg__1); +} +void PythonQtShell_QErrorMessage::tabletEvent(QTabletEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "tabletEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QTabletEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QErrorMessage::tabletEvent(arg__1); +} +void PythonQtShell_QErrorMessage::timerEvent(QTimerEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "timerEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QTimerEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QErrorMessage::timerEvent(arg__1); +} +void PythonQtShell_QErrorMessage::wheelEvent(QWheelEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "wheelEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QWheelEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QErrorMessage::wheelEvent(arg__1); +} +QErrorMessage* PythonQtWrapper_QErrorMessage::new_QErrorMessage(QWidget* parent) +{ +return new PythonQtShell_QErrorMessage(parent); } + +void PythonQtWrapper_QErrorMessage::changeEvent(QErrorMessage* theWrappedObject, QEvent* e) +{ + ( ((PythonQtPublicPromoter_QErrorMessage*)theWrappedObject)->promoted_changeEvent(e)); +} + +void PythonQtWrapper_QErrorMessage::done(QErrorMessage* theWrappedObject, int arg__1) +{ + ( ((PythonQtPublicPromoter_QErrorMessage*)theWrappedObject)->promoted_done(arg__1)); +} + +QErrorMessage* PythonQtWrapper_QErrorMessage::static_QErrorMessage_qtHandler() +{ + return (QErrorMessage::qtHandler()); +} + + + +void PythonQtShell_QFileDialog::accept() +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "accept"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={""}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QFileDialog::accept(); +} +void PythonQtShell_QFileDialog::actionEvent(QActionEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "actionEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QActionEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QFileDialog::actionEvent(arg__1); +} +void PythonQtShell_QFileDialog::changeEvent(QEvent* e) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "changeEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&e}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QFileDialog::changeEvent(e); +} +void PythonQtShell_QFileDialog::childEvent(QChildEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "childEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QChildEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QFileDialog::childEvent(arg__1); +} +void PythonQtShell_QFileDialog::closeEvent(QCloseEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "closeEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QCloseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QFileDialog::closeEvent(arg__1); +} +void PythonQtShell_QFileDialog::contextMenuEvent(QContextMenuEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "contextMenuEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QContextMenuEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QFileDialog::contextMenuEvent(arg__1); +} +void PythonQtShell_QFileDialog::customEvent(QEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "customEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QFileDialog::customEvent(arg__1); +} +int PythonQtShell_QFileDialog::devType() const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "devType"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + int returnValue; + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("devType", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QFileDialog::devType(); +} +void PythonQtShell_QFileDialog::done(int result) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "done"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&result}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QFileDialog::done(result); +} +void PythonQtShell_QFileDialog::dragEnterEvent(QDragEnterEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dragEnterEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QDragEnterEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QFileDialog::dragEnterEvent(arg__1); +} +void PythonQtShell_QFileDialog::dragLeaveEvent(QDragLeaveEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dragLeaveEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QDragLeaveEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QFileDialog::dragLeaveEvent(arg__1); +} +void PythonQtShell_QFileDialog::dragMoveEvent(QDragMoveEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dragMoveEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QDragMoveEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QFileDialog::dragMoveEvent(arg__1); +} +void PythonQtShell_QFileDialog::dropEvent(QDropEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dropEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QDropEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QFileDialog::dropEvent(arg__1); +} +void PythonQtShell_QFileDialog::enterEvent(QEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "enterEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QFileDialog::enterEvent(arg__1); +} +bool PythonQtShell_QFileDialog::event(QEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "event"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue; + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QFileDialog::event(arg__1); +} +bool PythonQtShell_QFileDialog::eventFilter(QObject* arg__1, QEvent* arg__2) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "eventFilter"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue; + void* args[3] = {NULL, (void*)&arg__1, (void*)&arg__2}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QFileDialog::eventFilter(arg__1, arg__2); +} +void PythonQtShell_QFileDialog::focusInEvent(QFocusEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "focusInEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QFocusEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QFileDialog::focusInEvent(arg__1); +} +bool PythonQtShell_QFileDialog::focusNextPrevChild(bool next) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "focusNextPrevChild"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue; + void* args[2] = {NULL, (void*)&next}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("focusNextPrevChild", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QFileDialog::focusNextPrevChild(next); +} +void PythonQtShell_QFileDialog::focusOutEvent(QFocusEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "focusOutEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QFocusEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QFileDialog::focusOutEvent(arg__1); +} +int PythonQtShell_QFileDialog::heightForWidth(int arg__1) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "heightForWidth"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"int" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + int returnValue; + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("heightForWidth", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QFileDialog::heightForWidth(arg__1); +} +void PythonQtShell_QFileDialog::hideEvent(QHideEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "hideEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QHideEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QFileDialog::hideEvent(arg__1); +} +void PythonQtShell_QFileDialog::inputMethodEvent(QInputMethodEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "inputMethodEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QInputMethodEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QFileDialog::inputMethodEvent(arg__1); +} +QVariant PythonQtShell_QFileDialog::inputMethodQuery(Qt::InputMethodQuery arg__1) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "inputMethodQuery"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QVariant" , "Qt::InputMethodQuery"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + QVariant returnValue; + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result); + } else { + returnValue = *((QVariant*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QFileDialog::inputMethodQuery(arg__1); +} +void PythonQtShell_QFileDialog::keyPressEvent(QKeyEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "keyPressEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QKeyEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QFileDialog::keyPressEvent(arg__1); +} +void PythonQtShell_QFileDialog::keyReleaseEvent(QKeyEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "keyReleaseEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QKeyEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QFileDialog::keyReleaseEvent(arg__1); +} +void PythonQtShell_QFileDialog::languageChange() +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "languageChange"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={""}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QFileDialog::languageChange(); +} +void PythonQtShell_QFileDialog::leaveEvent(QEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "leaveEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QFileDialog::leaveEvent(arg__1); +} +int PythonQtShell_QFileDialog::metric(QPaintDevice::PaintDeviceMetric arg__1) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "metric"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + int returnValue; + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("metric", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QFileDialog::metric(arg__1); +} +void PythonQtShell_QFileDialog::mouseDoubleClickEvent(QMouseEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mouseDoubleClickEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QFileDialog::mouseDoubleClickEvent(arg__1); +} +void PythonQtShell_QFileDialog::mouseMoveEvent(QMouseEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mouseMoveEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QFileDialog::mouseMoveEvent(arg__1); +} +void PythonQtShell_QFileDialog::mousePressEvent(QMouseEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mousePressEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QFileDialog::mousePressEvent(arg__1); +} +void PythonQtShell_QFileDialog::mouseReleaseEvent(QMouseEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mouseReleaseEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QFileDialog::mouseReleaseEvent(arg__1); +} +void PythonQtShell_QFileDialog::moveEvent(QMoveEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "moveEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QMoveEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QFileDialog::moveEvent(arg__1); +} +QPaintEngine* PythonQtShell_QFileDialog::paintEngine() const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "paintEngine"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QPaintEngine*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QPaintEngine* returnValue; + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); + } else { + returnValue = *((QPaintEngine**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QFileDialog::paintEngine(); +} +void PythonQtShell_QFileDialog::paintEvent(QPaintEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "paintEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QPaintEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QFileDialog::paintEvent(arg__1); +} +void PythonQtShell_QFileDialog::reject() +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "reject"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={""}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QFileDialog::reject(); +} +void PythonQtShell_QFileDialog::resizeEvent(QResizeEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "resizeEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QResizeEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QFileDialog::resizeEvent(arg__1); +} +void PythonQtShell_QFileDialog::showEvent(QShowEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "showEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QShowEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QFileDialog::showEvent(arg__1); +} +void PythonQtShell_QFileDialog::tabletEvent(QTabletEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "tabletEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QTabletEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QFileDialog::tabletEvent(arg__1); +} +void PythonQtShell_QFileDialog::timerEvent(QTimerEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "timerEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QTimerEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QFileDialog::timerEvent(arg__1); +} +void PythonQtShell_QFileDialog::wheelEvent(QWheelEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "wheelEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QWheelEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QFileDialog::wheelEvent(arg__1); +} +QFileDialog* PythonQtWrapper_QFileDialog::new_QFileDialog(QWidget* parent, Qt::WindowFlags f) +{ +return new PythonQtShell_QFileDialog(parent, f); } + +QFileDialog* PythonQtWrapper_QFileDialog::new_QFileDialog(QWidget* parent, const QString& caption, const QString& directory, const QString& filter) +{ +return new PythonQtShell_QFileDialog(parent, caption, directory, filter); } + +void PythonQtWrapper_QFileDialog::accept(QFileDialog* theWrappedObject) +{ + ( ((PythonQtPublicPromoter_QFileDialog*)theWrappedObject)->promoted_accept()); +} + +QFileDialog::AcceptMode PythonQtWrapper_QFileDialog::acceptMode(QFileDialog* theWrappedObject) const +{ + return ( theWrappedObject->acceptMode()); +} + +void PythonQtWrapper_QFileDialog::changeEvent(QFileDialog* theWrappedObject, QEvent* e) +{ + ( ((PythonQtPublicPromoter_QFileDialog*)theWrappedObject)->promoted_changeEvent(e)); +} + +bool PythonQtWrapper_QFileDialog::confirmOverwrite(QFileDialog* theWrappedObject) const +{ + return ( theWrappedObject->confirmOverwrite()); +} + +QString PythonQtWrapper_QFileDialog::defaultSuffix(QFileDialog* theWrappedObject) const +{ + return ( theWrappedObject->defaultSuffix()); +} + +QDir PythonQtWrapper_QFileDialog::directory(QFileDialog* theWrappedObject) const +{ + return ( theWrappedObject->directory()); +} + +void PythonQtWrapper_QFileDialog::done(QFileDialog* theWrappedObject, int result) +{ + ( ((PythonQtPublicPromoter_QFileDialog*)theWrappedObject)->promoted_done(result)); +} + +QFileDialog::FileMode PythonQtWrapper_QFileDialog::fileMode(QFileDialog* theWrappedObject) const +{ + return ( theWrappedObject->fileMode()); +} + +QDir::Filters PythonQtWrapper_QFileDialog::filter(QFileDialog* theWrappedObject) const +{ + return ( theWrappedObject->filter()); +} + +QStringList PythonQtWrapper_QFileDialog::filters(QFileDialog* theWrappedObject) const +{ + return ( theWrappedObject->filters()); +} + +QString PythonQtWrapper_QFileDialog::static_QFileDialog_getExistingDirectory(QWidget* parent, const QString& caption, const QString& dir, QFileDialog::Options options) +{ + return (QFileDialog::getExistingDirectory(parent, caption, dir, options)); +} + +QString PythonQtWrapper_QFileDialog::static_QFileDialog_getOpenFileName(QWidget* parent, const QString& caption, const QString& dir, const QString& filter, QString* selectedFilter, QFileDialog::Options options) +{ + return (QFileDialog::getOpenFileName(parent, caption, dir, filter, selectedFilter, options)); +} + +QStringList PythonQtWrapper_QFileDialog::static_QFileDialog_getOpenFileNames(QWidget* parent, const QString& caption, const QString& dir, const QString& filter, QString* selectedFilter, QFileDialog::Options options) +{ + return (QFileDialog::getOpenFileNames(parent, caption, dir, filter, selectedFilter, options)); +} + +QString PythonQtWrapper_QFileDialog::static_QFileDialog_getSaveFileName(QWidget* parent, const QString& caption, const QString& dir, const QString& filter, QString* selectedFilter, QFileDialog::Options options) +{ + return (QFileDialog::getSaveFileName(parent, caption, dir, filter, selectedFilter, options)); +} + +QStringList PythonQtWrapper_QFileDialog::history(QFileDialog* theWrappedObject) const +{ + return ( theWrappedObject->history()); +} + +QFileIconProvider* PythonQtWrapper_QFileDialog::iconProvider(QFileDialog* theWrappedObject) const +{ + return ( theWrappedObject->iconProvider()); +} + +bool PythonQtWrapper_QFileDialog::isNameFilterDetailsVisible(QFileDialog* theWrappedObject) const +{ + return ( theWrappedObject->isNameFilterDetailsVisible()); +} + +bool PythonQtWrapper_QFileDialog::isReadOnly(QFileDialog* theWrappedObject) const +{ + return ( theWrappedObject->isReadOnly()); +} + +QAbstractItemDelegate* PythonQtWrapper_QFileDialog::itemDelegate(QFileDialog* theWrappedObject) const +{ + return ( theWrappedObject->itemDelegate()); +} + +QString PythonQtWrapper_QFileDialog::labelText(QFileDialog* theWrappedObject, QFileDialog::DialogLabel label) const +{ + return ( theWrappedObject->labelText(label)); +} + +QStringList PythonQtWrapper_QFileDialog::nameFilters(QFileDialog* theWrappedObject) const +{ + return ( theWrappedObject->nameFilters()); +} + +void PythonQtWrapper_QFileDialog::open(QFileDialog* theWrappedObject) +{ + ( theWrappedObject->open()); +} + +void PythonQtWrapper_QFileDialog::open(QFileDialog* theWrappedObject, QObject* receiver, const char* member) +{ + ( theWrappedObject->open(receiver, member)); +} + +QFileDialog::Options PythonQtWrapper_QFileDialog::options(QFileDialog* theWrappedObject) const +{ + return ( theWrappedObject->options()); +} + +QAbstractProxyModel* PythonQtWrapper_QFileDialog::proxyModel(QFileDialog* theWrappedObject) const +{ + return ( theWrappedObject->proxyModel()); +} + +bool PythonQtWrapper_QFileDialog::resolveSymlinks(QFileDialog* theWrappedObject) const +{ + return ( theWrappedObject->resolveSymlinks()); +} + +bool PythonQtWrapper_QFileDialog::restoreState(QFileDialog* theWrappedObject, const QByteArray& state) +{ + return ( theWrappedObject->restoreState(state)); +} + +QByteArray PythonQtWrapper_QFileDialog::saveState(QFileDialog* theWrappedObject) const +{ + return ( theWrappedObject->saveState()); +} + +void PythonQtWrapper_QFileDialog::selectFile(QFileDialog* theWrappedObject, const QString& filename) +{ + ( theWrappedObject->selectFile(filename)); +} + +void PythonQtWrapper_QFileDialog::selectFilter(QFileDialog* theWrappedObject, const QString& filter) +{ + ( theWrappedObject->selectFilter(filter)); +} + +void PythonQtWrapper_QFileDialog::selectNameFilter(QFileDialog* theWrappedObject, const QString& filter) +{ + ( theWrappedObject->selectNameFilter(filter)); +} + +QStringList PythonQtWrapper_QFileDialog::selectedFiles(QFileDialog* theWrappedObject) const +{ + return ( theWrappedObject->selectedFiles()); +} + +QString PythonQtWrapper_QFileDialog::selectedFilter(QFileDialog* theWrappedObject) const +{ + return ( theWrappedObject->selectedFilter()); +} + +QString PythonQtWrapper_QFileDialog::selectedNameFilter(QFileDialog* theWrappedObject) const +{ + return ( theWrappedObject->selectedNameFilter()); +} + +void PythonQtWrapper_QFileDialog::setAcceptMode(QFileDialog* theWrappedObject, QFileDialog::AcceptMode mode) +{ + ( theWrappedObject->setAcceptMode(mode)); +} + +void PythonQtWrapper_QFileDialog::setConfirmOverwrite(QFileDialog* theWrappedObject, bool enabled) +{ + ( theWrappedObject->setConfirmOverwrite(enabled)); +} + +void PythonQtWrapper_QFileDialog::setDefaultSuffix(QFileDialog* theWrappedObject, const QString& suffix) +{ + ( theWrappedObject->setDefaultSuffix(suffix)); +} + +void PythonQtWrapper_QFileDialog::setDirectory(QFileDialog* theWrappedObject, const QDir& directory) +{ + ( theWrappedObject->setDirectory(directory)); +} + +void PythonQtWrapper_QFileDialog::setDirectory(QFileDialog* theWrappedObject, const QString& directory) +{ + ( theWrappedObject->setDirectory(directory)); +} + +void PythonQtWrapper_QFileDialog::setFileMode(QFileDialog* theWrappedObject, QFileDialog::FileMode mode) +{ + ( theWrappedObject->setFileMode(mode)); +} + +void PythonQtWrapper_QFileDialog::setFilter(QFileDialog* theWrappedObject, QDir::Filters filters) +{ + ( theWrappedObject->setFilter(filters)); +} + +void PythonQtWrapper_QFileDialog::setFilter(QFileDialog* theWrappedObject, const QString& filter) +{ + ( theWrappedObject->setFilter(filter)); +} + +void PythonQtWrapper_QFileDialog::setFilters(QFileDialog* theWrappedObject, const QStringList& filters) +{ + ( theWrappedObject->setFilters(filters)); +} + +void PythonQtWrapper_QFileDialog::setHistory(QFileDialog* theWrappedObject, const QStringList& paths) +{ + ( theWrappedObject->setHistory(paths)); +} + +void PythonQtWrapper_QFileDialog::setIconProvider(QFileDialog* theWrappedObject, QFileIconProvider* provider) +{ + ( theWrappedObject->setIconProvider(provider)); +} + +void PythonQtWrapper_QFileDialog::setItemDelegate(QFileDialog* theWrappedObject, QAbstractItemDelegate* delegate) +{ + ( theWrappedObject->setItemDelegate(delegate)); +} + +void PythonQtWrapper_QFileDialog::setLabelText(QFileDialog* theWrappedObject, QFileDialog::DialogLabel label, const QString& text) +{ + ( theWrappedObject->setLabelText(label, text)); +} + +void PythonQtWrapper_QFileDialog::setNameFilter(QFileDialog* theWrappedObject, const QString& filter) +{ + ( theWrappedObject->setNameFilter(filter)); +} + +void PythonQtWrapper_QFileDialog::setNameFilterDetailsVisible(QFileDialog* theWrappedObject, bool enabled) +{ + ( theWrappedObject->setNameFilterDetailsVisible(enabled)); +} + +void PythonQtWrapper_QFileDialog::setNameFilters(QFileDialog* theWrappedObject, const QStringList& filters) +{ + ( theWrappedObject->setNameFilters(filters)); +} + +void PythonQtWrapper_QFileDialog::setOption(QFileDialog* theWrappedObject, QFileDialog::Option option, bool on) +{ + ( theWrappedObject->setOption(option, on)); +} + +void PythonQtWrapper_QFileDialog::setOptions(QFileDialog* theWrappedObject, QFileDialog::Options options) +{ + ( theWrappedObject->setOptions(options)); +} + +void PythonQtWrapper_QFileDialog::setProxyModel(QFileDialog* theWrappedObject, QAbstractProxyModel* model) +{ + ( theWrappedObject->setProxyModel(model)); +} + +void PythonQtWrapper_QFileDialog::setReadOnly(QFileDialog* theWrappedObject, bool enabled) +{ + ( theWrappedObject->setReadOnly(enabled)); +} + +void PythonQtWrapper_QFileDialog::setResolveSymlinks(QFileDialog* theWrappedObject, bool enabled) +{ + ( theWrappedObject->setResolveSymlinks(enabled)); +} + +void PythonQtWrapper_QFileDialog::setSidebarUrls(QFileDialog* theWrappedObject, const QList& urls) +{ + ( theWrappedObject->setSidebarUrls(urls)); +} + +void PythonQtWrapper_QFileDialog::setViewMode(QFileDialog* theWrappedObject, QFileDialog::ViewMode mode) +{ + ( theWrappedObject->setViewMode(mode)); +} + +void PythonQtWrapper_QFileDialog::setVisible(QFileDialog* theWrappedObject, bool visible) +{ + ( theWrappedObject->setVisible(visible)); +} + +QList PythonQtWrapper_QFileDialog::sidebarUrls(QFileDialog* theWrappedObject) const +{ + return ( theWrappedObject->sidebarUrls()); +} + +bool PythonQtWrapper_QFileDialog::testOption(QFileDialog* theWrappedObject, QFileDialog::Option option) const +{ + return ( theWrappedObject->testOption(option)); +} + +QFileDialog::ViewMode PythonQtWrapper_QFileDialog::viewMode(QFileDialog* theWrappedObject) const +{ + return ( theWrappedObject->viewMode()); +} + + + +QIcon PythonQtShell_QFileIconProvider::icon(QFileIconProvider::IconType type) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "icon"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QIcon" , "QFileIconProvider::IconType"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + QIcon returnValue; + void* args[2] = {NULL, (void*)&type}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("icon", methodInfo, result); + } else { + returnValue = *((QIcon*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QFileIconProvider::icon(type); +} +QIcon PythonQtShell_QFileIconProvider::icon(const QFileInfo& info) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "icon"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QIcon" , "const QFileInfo&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + QIcon returnValue; + void* args[2] = {NULL, (void*)&info}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("icon", methodInfo, result); + } else { + returnValue = *((QIcon*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QFileIconProvider::icon(info); +} +QString PythonQtShell_QFileIconProvider::type(const QFileInfo& info) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "type"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QString" , "const QFileInfo&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + QString returnValue; + void* args[2] = {NULL, (void*)&info}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("type", methodInfo, result); + } else { + returnValue = *((QString*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QFileIconProvider::type(info); +} +QFileIconProvider* PythonQtWrapper_QFileIconProvider::new_QFileIconProvider() +{ +return new PythonQtShell_QFileIconProvider(); } + +QIcon PythonQtWrapper_QFileIconProvider::icon(QFileIconProvider* theWrappedObject, QFileIconProvider::IconType type) const +{ + return ( ((PythonQtPublicPromoter_QFileIconProvider*)theWrappedObject)->promoted_icon(type)); +} + +QIcon PythonQtWrapper_QFileIconProvider::icon(QFileIconProvider* theWrappedObject, const QFileInfo& info) const +{ + return ( ((PythonQtPublicPromoter_QFileIconProvider*)theWrappedObject)->promoted_icon(info)); +} + +QString PythonQtWrapper_QFileIconProvider::type(QFileIconProvider* theWrappedObject, const QFileInfo& info) const +{ + return ( ((PythonQtPublicPromoter_QFileIconProvider*)theWrappedObject)->promoted_type(info)); +} + + + +QFileOpenEvent* PythonQtWrapper_QFileOpenEvent::new_QFileOpenEvent(const QString& file) +{ +return new QFileOpenEvent(file); } + +QFileOpenEvent* PythonQtWrapper_QFileOpenEvent::new_QFileOpenEvent(const QUrl& url) +{ +return new QFileOpenEvent(url); } + +QString PythonQtWrapper_QFileOpenEvent::file(QFileOpenEvent* theWrappedObject) const +{ + return ( theWrappedObject->file()); +} + +QUrl PythonQtWrapper_QFileOpenEvent::url(QFileOpenEvent* theWrappedObject) const +{ + return ( theWrappedObject->url()); +} + + + +QFocusEvent* PythonQtWrapper_QFocusEvent::new_QFocusEvent(QEvent::Type type, Qt::FocusReason reason) +{ +return new QFocusEvent(type, reason); } + +bool PythonQtWrapper_QFocusEvent::gotFocus(QFocusEvent* theWrappedObject) const +{ + return ( theWrappedObject->gotFocus()); +} + +bool PythonQtWrapper_QFocusEvent::lostFocus(QFocusEvent* theWrappedObject) const +{ + return ( theWrappedObject->lostFocus()); +} + +Qt::FocusReason PythonQtWrapper_QFocusEvent::reason(QFocusEvent* theWrappedObject) +{ + return ( theWrappedObject->reason()); +} + + + +void PythonQtShell_QFocusFrame::actionEvent(QActionEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "actionEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QActionEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QFocusFrame::actionEvent(arg__1); +} +void PythonQtShell_QFocusFrame::changeEvent(QEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "changeEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QFocusFrame::changeEvent(arg__1); +} +void PythonQtShell_QFocusFrame::childEvent(QChildEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "childEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QChildEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QFocusFrame::childEvent(arg__1); +} +void PythonQtShell_QFocusFrame::closeEvent(QCloseEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "closeEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QCloseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QFocusFrame::closeEvent(arg__1); +} +void PythonQtShell_QFocusFrame::contextMenuEvent(QContextMenuEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "contextMenuEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QContextMenuEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QFocusFrame::contextMenuEvent(arg__1); +} +void PythonQtShell_QFocusFrame::customEvent(QEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "customEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QFocusFrame::customEvent(arg__1); +} +int PythonQtShell_QFocusFrame::devType() const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "devType"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + int returnValue; + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("devType", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QFocusFrame::devType(); +} +void PythonQtShell_QFocusFrame::dragEnterEvent(QDragEnterEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dragEnterEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QDragEnterEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QFocusFrame::dragEnterEvent(arg__1); +} +void PythonQtShell_QFocusFrame::dragLeaveEvent(QDragLeaveEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dragLeaveEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QDragLeaveEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QFocusFrame::dragLeaveEvent(arg__1); +} +void PythonQtShell_QFocusFrame::dragMoveEvent(QDragMoveEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dragMoveEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QDragMoveEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QFocusFrame::dragMoveEvent(arg__1); +} +void PythonQtShell_QFocusFrame::dropEvent(QDropEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dropEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QDropEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QFocusFrame::dropEvent(arg__1); +} +void PythonQtShell_QFocusFrame::enterEvent(QEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "enterEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QFocusFrame::enterEvent(arg__1); +} +bool PythonQtShell_QFocusFrame::event(QEvent* e) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "event"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue; + void* args[2] = {NULL, (void*)&e}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QFocusFrame::event(e); +} +bool PythonQtShell_QFocusFrame::eventFilter(QObject* arg__1, QEvent* arg__2) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "eventFilter"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue; + void* args[3] = {NULL, (void*)&arg__1, (void*)&arg__2}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QFocusFrame::eventFilter(arg__1, arg__2); +} +void PythonQtShell_QFocusFrame::focusInEvent(QFocusEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "focusInEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QFocusEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QFocusFrame::focusInEvent(arg__1); +} +bool PythonQtShell_QFocusFrame::focusNextPrevChild(bool next) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "focusNextPrevChild"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue; + void* args[2] = {NULL, (void*)&next}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("focusNextPrevChild", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QFocusFrame::focusNextPrevChild(next); +} +void PythonQtShell_QFocusFrame::focusOutEvent(QFocusEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "focusOutEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QFocusEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QFocusFrame::focusOutEvent(arg__1); +} +int PythonQtShell_QFocusFrame::heightForWidth(int arg__1) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "heightForWidth"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"int" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + int returnValue; + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("heightForWidth", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QFocusFrame::heightForWidth(arg__1); +} +void PythonQtShell_QFocusFrame::hideEvent(QHideEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "hideEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QHideEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QFocusFrame::hideEvent(arg__1); +} +void PythonQtShell_QFocusFrame::inputMethodEvent(QInputMethodEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "inputMethodEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QInputMethodEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QFocusFrame::inputMethodEvent(arg__1); +} +QVariant PythonQtShell_QFocusFrame::inputMethodQuery(Qt::InputMethodQuery arg__1) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "inputMethodQuery"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QVariant" , "Qt::InputMethodQuery"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + QVariant returnValue; + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result); + } else { + returnValue = *((QVariant*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QFocusFrame::inputMethodQuery(arg__1); +} +void PythonQtShell_QFocusFrame::keyPressEvent(QKeyEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "keyPressEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QKeyEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QFocusFrame::keyPressEvent(arg__1); +} +void PythonQtShell_QFocusFrame::keyReleaseEvent(QKeyEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "keyReleaseEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QKeyEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QFocusFrame::keyReleaseEvent(arg__1); +} +void PythonQtShell_QFocusFrame::languageChange() +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "languageChange"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={""}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QFocusFrame::languageChange(); +} +void PythonQtShell_QFocusFrame::leaveEvent(QEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "leaveEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QFocusFrame::leaveEvent(arg__1); +} +int PythonQtShell_QFocusFrame::metric(QPaintDevice::PaintDeviceMetric arg__1) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "metric"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + int returnValue; + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("metric", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QFocusFrame::metric(arg__1); +} +QSize PythonQtShell_QFocusFrame::minimumSizeHint() const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "getMinimumSizeHint"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QSize"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QSize returnValue; + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("getMinimumSizeHint", methodInfo, result); + } else { + returnValue = *((QSize*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QFocusFrame::minimumSizeHint(); +} +void PythonQtShell_QFocusFrame::mouseDoubleClickEvent(QMouseEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mouseDoubleClickEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QFocusFrame::mouseDoubleClickEvent(arg__1); +} +void PythonQtShell_QFocusFrame::mouseMoveEvent(QMouseEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mouseMoveEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QFocusFrame::mouseMoveEvent(arg__1); +} +void PythonQtShell_QFocusFrame::mousePressEvent(QMouseEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mousePressEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QFocusFrame::mousePressEvent(arg__1); +} +void PythonQtShell_QFocusFrame::mouseReleaseEvent(QMouseEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mouseReleaseEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QFocusFrame::mouseReleaseEvent(arg__1); +} +void PythonQtShell_QFocusFrame::moveEvent(QMoveEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "moveEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QMoveEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QFocusFrame::moveEvent(arg__1); +} +QPaintEngine* PythonQtShell_QFocusFrame::paintEngine() const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "paintEngine"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QPaintEngine*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QPaintEngine* returnValue; + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); + } else { + returnValue = *((QPaintEngine**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QFocusFrame::paintEngine(); +} +void PythonQtShell_QFocusFrame::paintEvent(QPaintEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "paintEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QPaintEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QFocusFrame::paintEvent(arg__1); +} +void PythonQtShell_QFocusFrame::resizeEvent(QResizeEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "resizeEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QResizeEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QFocusFrame::resizeEvent(arg__1); +} +void PythonQtShell_QFocusFrame::showEvent(QShowEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "showEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QShowEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QFocusFrame::showEvent(arg__1); +} +QSize PythonQtShell_QFocusFrame::sizeHint() const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "getSizeHint"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QSize"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QSize returnValue; + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("getSizeHint", methodInfo, result); + } else { + returnValue = *((QSize*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QFocusFrame::sizeHint(); +} +void PythonQtShell_QFocusFrame::tabletEvent(QTabletEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "tabletEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QTabletEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QFocusFrame::tabletEvent(arg__1); +} +void PythonQtShell_QFocusFrame::timerEvent(QTimerEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "timerEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QTimerEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QFocusFrame::timerEvent(arg__1); +} +void PythonQtShell_QFocusFrame::wheelEvent(QWheelEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "wheelEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QWheelEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QFocusFrame::wheelEvent(arg__1); +} +QFocusFrame* PythonQtWrapper_QFocusFrame::new_QFocusFrame(QWidget* parent) +{ +return new PythonQtShell_QFocusFrame(parent); } + +bool PythonQtWrapper_QFocusFrame::event(QFocusFrame* theWrappedObject, QEvent* e) +{ + return ( ((PythonQtPublicPromoter_QFocusFrame*)theWrappedObject)->promoted_event(e)); +} + +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::paintEvent(QFocusFrame* theWrappedObject, QPaintEvent* arg__1) +{ + ( ((PythonQtPublicPromoter_QFocusFrame*)theWrappedObject)->promoted_paintEvent(arg__1)); +} + +void PythonQtWrapper_QFocusFrame::setWidget(QFocusFrame* theWrappedObject, QWidget* widget) +{ + ( theWrappedObject->setWidget(widget)); +} + +QWidget* PythonQtWrapper_QFocusFrame::widget(QFocusFrame* theWrappedObject) const +{ + return ( theWrappedObject->widget()); +} + + + +void PythonQtShell_QFontComboBox::actionEvent(QActionEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "actionEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QActionEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QFontComboBox::actionEvent(arg__1); +} +void PythonQtShell_QFontComboBox::changeEvent(QEvent* e) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "changeEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&e}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QFontComboBox::changeEvent(e); +} +void PythonQtShell_QFontComboBox::childEvent(QChildEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "childEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QChildEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QFontComboBox::childEvent(arg__1); +} +void PythonQtShell_QFontComboBox::closeEvent(QCloseEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "closeEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QCloseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QFontComboBox::closeEvent(arg__1); +} +void PythonQtShell_QFontComboBox::contextMenuEvent(QContextMenuEvent* e) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "contextMenuEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QContextMenuEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&e}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QFontComboBox::contextMenuEvent(e); +} +void PythonQtShell_QFontComboBox::customEvent(QEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "customEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QFontComboBox::customEvent(arg__1); +} +int PythonQtShell_QFontComboBox::devType() const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "devType"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + int returnValue; + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("devType", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QFontComboBox::devType(); +} +void PythonQtShell_QFontComboBox::dragEnterEvent(QDragEnterEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dragEnterEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QDragEnterEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QFontComboBox::dragEnterEvent(arg__1); +} +void PythonQtShell_QFontComboBox::dragLeaveEvent(QDragLeaveEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dragLeaveEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QDragLeaveEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QFontComboBox::dragLeaveEvent(arg__1); +} +void PythonQtShell_QFontComboBox::dragMoveEvent(QDragMoveEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dragMoveEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QDragMoveEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QFontComboBox::dragMoveEvent(arg__1); +} +void PythonQtShell_QFontComboBox::dropEvent(QDropEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dropEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QDropEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QFontComboBox::dropEvent(arg__1); +} +void PythonQtShell_QFontComboBox::enterEvent(QEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "enterEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QFontComboBox::enterEvent(arg__1); +} +bool PythonQtShell_QFontComboBox::event(QEvent* e) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "event"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue; + void* args[2] = {NULL, (void*)&e}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QFontComboBox::event(e); +} +bool PythonQtShell_QFontComboBox::eventFilter(QObject* arg__1, QEvent* arg__2) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "eventFilter"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue; + void* args[3] = {NULL, (void*)&arg__1, (void*)&arg__2}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QFontComboBox::eventFilter(arg__1, arg__2); +} +void PythonQtShell_QFontComboBox::focusInEvent(QFocusEvent* e) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "focusInEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QFocusEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&e}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QFontComboBox::focusInEvent(e); +} +bool PythonQtShell_QFontComboBox::focusNextPrevChild(bool next) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "focusNextPrevChild"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue; + void* args[2] = {NULL, (void*)&next}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("focusNextPrevChild", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QFontComboBox::focusNextPrevChild(next); +} +void PythonQtShell_QFontComboBox::focusOutEvent(QFocusEvent* e) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "focusOutEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QFocusEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&e}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QFontComboBox::focusOutEvent(e); +} +int PythonQtShell_QFontComboBox::heightForWidth(int arg__1) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "heightForWidth"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"int" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + int returnValue; + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("heightForWidth", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QFontComboBox::heightForWidth(arg__1); +} +void PythonQtShell_QFontComboBox::hideEvent(QHideEvent* e) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "hideEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QHideEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&e}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QFontComboBox::hideEvent(e); +} +void PythonQtShell_QFontComboBox::hidePopup() +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "hidePopup"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={""}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QFontComboBox::hidePopup(); +} +void PythonQtShell_QFontComboBox::inputMethodEvent(QInputMethodEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "inputMethodEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QInputMethodEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QFontComboBox::inputMethodEvent(arg__1); +} +QVariant PythonQtShell_QFontComboBox::inputMethodQuery(Qt::InputMethodQuery arg__1) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "inputMethodQuery"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QVariant" , "Qt::InputMethodQuery"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + QVariant returnValue; + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result); + } else { + returnValue = *((QVariant*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QFontComboBox::inputMethodQuery(arg__1); +} +void PythonQtShell_QFontComboBox::keyPressEvent(QKeyEvent* e) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "keyPressEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QKeyEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&e}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QFontComboBox::keyPressEvent(e); +} +void PythonQtShell_QFontComboBox::keyReleaseEvent(QKeyEvent* e) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "keyReleaseEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QKeyEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&e}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QFontComboBox::keyReleaseEvent(e); +} +void PythonQtShell_QFontComboBox::languageChange() +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "languageChange"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={""}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QFontComboBox::languageChange(); +} +void PythonQtShell_QFontComboBox::leaveEvent(QEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "leaveEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QFontComboBox::leaveEvent(arg__1); +} +int PythonQtShell_QFontComboBox::metric(QPaintDevice::PaintDeviceMetric arg__1) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "metric"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + int returnValue; + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("metric", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QFontComboBox::metric(arg__1); +} +void PythonQtShell_QFontComboBox::mouseDoubleClickEvent(QMouseEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mouseDoubleClickEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QFontComboBox::mouseDoubleClickEvent(arg__1); +} +void PythonQtShell_QFontComboBox::mouseMoveEvent(QMouseEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mouseMoveEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QFontComboBox::mouseMoveEvent(arg__1); +} +void PythonQtShell_QFontComboBox::mousePressEvent(QMouseEvent* e) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mousePressEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&e}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QFontComboBox::mousePressEvent(e); +} +void PythonQtShell_QFontComboBox::mouseReleaseEvent(QMouseEvent* e) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mouseReleaseEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&e}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QFontComboBox::mouseReleaseEvent(e); +} +void PythonQtShell_QFontComboBox::moveEvent(QMoveEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "moveEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QMoveEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QFontComboBox::moveEvent(arg__1); +} +QPaintEngine* PythonQtShell_QFontComboBox::paintEngine() const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "paintEngine"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QPaintEngine*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QPaintEngine* returnValue; + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); + } else { + returnValue = *((QPaintEngine**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QFontComboBox::paintEngine(); +} +void PythonQtShell_QFontComboBox::paintEvent(QPaintEvent* e) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "paintEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QPaintEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&e}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QFontComboBox::paintEvent(e); +} +void PythonQtShell_QFontComboBox::resizeEvent(QResizeEvent* e) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "resizeEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QResizeEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&e}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QFontComboBox::resizeEvent(e); +} +void PythonQtShell_QFontComboBox::showEvent(QShowEvent* e) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "showEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QShowEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&e}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QFontComboBox::showEvent(e); +} +void PythonQtShell_QFontComboBox::showPopup() +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "showPopup"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={""}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QFontComboBox::showPopup(); +} +void PythonQtShell_QFontComboBox::tabletEvent(QTabletEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "tabletEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QTabletEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QFontComboBox::tabletEvent(arg__1); +} +void PythonQtShell_QFontComboBox::timerEvent(QTimerEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "timerEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QTimerEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QFontComboBox::timerEvent(arg__1); +} +void PythonQtShell_QFontComboBox::wheelEvent(QWheelEvent* e) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "wheelEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QWheelEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&e}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QFontComboBox::wheelEvent(e); +} +QFontComboBox* PythonQtWrapper_QFontComboBox::new_QFontComboBox(QWidget* parent) +{ +return new PythonQtShell_QFontComboBox(parent); } + +QFont PythonQtWrapper_QFontComboBox::currentFont(QFontComboBox* theWrappedObject) const +{ + return ( theWrappedObject->currentFont()); +} + +bool PythonQtWrapper_QFontComboBox::event(QFontComboBox* theWrappedObject, QEvent* e) +{ + return ( ((PythonQtPublicPromoter_QFontComboBox*)theWrappedObject)->promoted_event(e)); +} + +QFontComboBox::FontFilters PythonQtWrapper_QFontComboBox::fontFilters(QFontComboBox* theWrappedObject) const +{ + return ( theWrappedObject->fontFilters()); +} + +void PythonQtWrapper_QFontComboBox::setFontFilters(QFontComboBox* theWrappedObject, QFontComboBox::FontFilters filters) +{ + ( theWrappedObject->setFontFilters(filters)); +} + +void PythonQtWrapper_QFontComboBox::setWritingSystem(QFontComboBox* theWrappedObject, QFontDatabase::WritingSystem arg__1) +{ + ( theWrappedObject->setWritingSystem(arg__1)); +} + +QSize PythonQtWrapper_QFontComboBox::sizeHint(QFontComboBox* theWrappedObject) const +{ + return ( theWrappedObject->sizeHint()); +} + +QFontDatabase::WritingSystem PythonQtWrapper_QFontComboBox::writingSystem(QFontComboBox* theWrappedObject) const +{ + return ( theWrappedObject->writingSystem()); +} + + + +void PythonQtShell_QFontDialog::accept() +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "accept"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={""}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QFontDialog::accept(); +} +void PythonQtShell_QFontDialog::actionEvent(QActionEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "actionEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QActionEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QFontDialog::actionEvent(arg__1); +} +void PythonQtShell_QFontDialog::changeEvent(QEvent* event) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "changeEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&event}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QFontDialog::changeEvent(event); +} +void PythonQtShell_QFontDialog::childEvent(QChildEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "childEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QChildEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QFontDialog::childEvent(arg__1); +} +void PythonQtShell_QFontDialog::closeEvent(QCloseEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "closeEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QCloseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QFontDialog::closeEvent(arg__1); +} +void PythonQtShell_QFontDialog::contextMenuEvent(QContextMenuEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "contextMenuEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QContextMenuEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QFontDialog::contextMenuEvent(arg__1); +} +void PythonQtShell_QFontDialog::customEvent(QEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "customEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QFontDialog::customEvent(arg__1); +} +int PythonQtShell_QFontDialog::devType() const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "devType"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + int returnValue; + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("devType", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QFontDialog::devType(); +} +void PythonQtShell_QFontDialog::done(int result) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "done"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&result}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QFontDialog::done(result); +} +void PythonQtShell_QFontDialog::dragEnterEvent(QDragEnterEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dragEnterEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QDragEnterEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QFontDialog::dragEnterEvent(arg__1); +} +void PythonQtShell_QFontDialog::dragLeaveEvent(QDragLeaveEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dragLeaveEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QDragLeaveEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QFontDialog::dragLeaveEvent(arg__1); +} +void PythonQtShell_QFontDialog::dragMoveEvent(QDragMoveEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dragMoveEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QDragMoveEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QFontDialog::dragMoveEvent(arg__1); +} +void PythonQtShell_QFontDialog::dropEvent(QDropEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dropEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QDropEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QFontDialog::dropEvent(arg__1); +} +void PythonQtShell_QFontDialog::enterEvent(QEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "enterEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QFontDialog::enterEvent(arg__1); +} +bool PythonQtShell_QFontDialog::event(QEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "event"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue; + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QFontDialog::event(arg__1); +} +void PythonQtShell_QFontDialog::focusInEvent(QFocusEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "focusInEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QFocusEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QFontDialog::focusInEvent(arg__1); +} +bool PythonQtShell_QFontDialog::focusNextPrevChild(bool next) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "focusNextPrevChild"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue; + void* args[2] = {NULL, (void*)&next}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("focusNextPrevChild", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QFontDialog::focusNextPrevChild(next); +} +void PythonQtShell_QFontDialog::focusOutEvent(QFocusEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "focusOutEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QFocusEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QFontDialog::focusOutEvent(arg__1); +} +int PythonQtShell_QFontDialog::heightForWidth(int arg__1) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "heightForWidth"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"int" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + int returnValue; + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("heightForWidth", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QFontDialog::heightForWidth(arg__1); +} +void PythonQtShell_QFontDialog::hideEvent(QHideEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "hideEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QHideEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QFontDialog::hideEvent(arg__1); +} +void PythonQtShell_QFontDialog::inputMethodEvent(QInputMethodEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "inputMethodEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QInputMethodEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QFontDialog::inputMethodEvent(arg__1); +} +QVariant PythonQtShell_QFontDialog::inputMethodQuery(Qt::InputMethodQuery arg__1) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "inputMethodQuery"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QVariant" , "Qt::InputMethodQuery"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + QVariant returnValue; + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result); + } else { + returnValue = *((QVariant*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QFontDialog::inputMethodQuery(arg__1); +} +void PythonQtShell_QFontDialog::keyPressEvent(QKeyEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "keyPressEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QKeyEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QFontDialog::keyPressEvent(arg__1); +} +void PythonQtShell_QFontDialog::keyReleaseEvent(QKeyEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "keyReleaseEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QKeyEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QFontDialog::keyReleaseEvent(arg__1); +} +void PythonQtShell_QFontDialog::languageChange() +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "languageChange"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={""}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QFontDialog::languageChange(); +} +void PythonQtShell_QFontDialog::leaveEvent(QEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "leaveEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QFontDialog::leaveEvent(arg__1); +} +int PythonQtShell_QFontDialog::metric(QPaintDevice::PaintDeviceMetric arg__1) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "metric"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + int returnValue; + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("metric", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QFontDialog::metric(arg__1); +} +void PythonQtShell_QFontDialog::mouseDoubleClickEvent(QMouseEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mouseDoubleClickEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QFontDialog::mouseDoubleClickEvent(arg__1); +} +void PythonQtShell_QFontDialog::mouseMoveEvent(QMouseEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mouseMoveEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QFontDialog::mouseMoveEvent(arg__1); +} +void PythonQtShell_QFontDialog::mousePressEvent(QMouseEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mousePressEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QFontDialog::mousePressEvent(arg__1); +} +void PythonQtShell_QFontDialog::mouseReleaseEvent(QMouseEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mouseReleaseEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QFontDialog::mouseReleaseEvent(arg__1); +} +void PythonQtShell_QFontDialog::moveEvent(QMoveEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "moveEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QMoveEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QFontDialog::moveEvent(arg__1); +} +QPaintEngine* PythonQtShell_QFontDialog::paintEngine() const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "paintEngine"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QPaintEngine*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QPaintEngine* returnValue; + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); + } else { + returnValue = *((QPaintEngine**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QFontDialog::paintEngine(); +} +void PythonQtShell_QFontDialog::paintEvent(QPaintEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "paintEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QPaintEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QFontDialog::paintEvent(arg__1); +} +void PythonQtShell_QFontDialog::reject() +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "reject"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={""}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QFontDialog::reject(); +} +void PythonQtShell_QFontDialog::resizeEvent(QResizeEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "resizeEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QResizeEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QFontDialog::resizeEvent(arg__1); +} +void PythonQtShell_QFontDialog::showEvent(QShowEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "showEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QShowEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QFontDialog::showEvent(arg__1); +} +void PythonQtShell_QFontDialog::tabletEvent(QTabletEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "tabletEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QTabletEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QFontDialog::tabletEvent(arg__1); +} +void PythonQtShell_QFontDialog::timerEvent(QTimerEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "timerEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QTimerEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QFontDialog::timerEvent(arg__1); +} +void PythonQtShell_QFontDialog::wheelEvent(QWheelEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "wheelEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QWheelEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QFontDialog::wheelEvent(arg__1); +} +QFontDialog* PythonQtWrapper_QFontDialog::new_QFontDialog(QWidget* parent) +{ +return new PythonQtShell_QFontDialog(parent); } + +QFontDialog* PythonQtWrapper_QFontDialog::new_QFontDialog(const QFont& initial, QWidget* parent) +{ +return new PythonQtShell_QFontDialog(initial, parent); } + +void PythonQtWrapper_QFontDialog::changeEvent(QFontDialog* theWrappedObject, QEvent* event) +{ + ( ((PythonQtPublicPromoter_QFontDialog*)theWrappedObject)->promoted_changeEvent(event)); +} + +QFont PythonQtWrapper_QFontDialog::currentFont(QFontDialog* theWrappedObject) const +{ + return ( theWrappedObject->currentFont()); +} + +void PythonQtWrapper_QFontDialog::done(QFontDialog* theWrappedObject, int result) +{ + ( ((PythonQtPublicPromoter_QFontDialog*)theWrappedObject)->promoted_done(result)); +} + +QFont PythonQtWrapper_QFontDialog::static_QFontDialog_getFont(bool* ok, QWidget* parent) +{ + return (QFontDialog::getFont(ok, parent)); +} + +QFont PythonQtWrapper_QFontDialog::static_QFontDialog_getFont(bool* ok, const QFont& initial, QWidget* parent) +{ + return (QFontDialog::getFont(ok, initial, parent)); +} + +QFont PythonQtWrapper_QFontDialog::static_QFontDialog_getFont(bool* ok, const QFont& initial, QWidget* parent, const QString& title) +{ + return (QFontDialog::getFont(ok, initial, parent, title)); +} + +QFont PythonQtWrapper_QFontDialog::static_QFontDialog_getFont(bool* ok, const QFont& initial, QWidget* parent, const QString& title, QFontDialog::FontDialogOptions options) +{ + return (QFontDialog::getFont(ok, initial, parent, title, options)); +} + +void PythonQtWrapper_QFontDialog::open(QFontDialog* theWrappedObject) +{ + ( theWrappedObject->open()); +} + +void PythonQtWrapper_QFontDialog::open(QFontDialog* theWrappedObject, QObject* receiver, const char* member) +{ + ( theWrappedObject->open(receiver, member)); +} + +QFontDialog::FontDialogOptions PythonQtWrapper_QFontDialog::options(QFontDialog* theWrappedObject) const +{ + return ( theWrappedObject->options()); +} + +QFont PythonQtWrapper_QFontDialog::selectedFont(QFontDialog* theWrappedObject) const +{ + return ( theWrappedObject->selectedFont()); +} + +void PythonQtWrapper_QFontDialog::setCurrentFont(QFontDialog* theWrappedObject, const QFont& font) +{ + ( theWrappedObject->setCurrentFont(font)); +} + +void PythonQtWrapper_QFontDialog::setOption(QFontDialog* theWrappedObject, QFontDialog::FontDialogOption option, bool on) +{ + ( theWrappedObject->setOption(option, on)); +} + +void PythonQtWrapper_QFontDialog::setOptions(QFontDialog* theWrappedObject, QFontDialog::FontDialogOptions options) +{ + ( theWrappedObject->setOptions(options)); +} + +void PythonQtWrapper_QFontDialog::setVisible(QFontDialog* theWrappedObject, bool visible) +{ + ( theWrappedObject->setVisible(visible)); +} + +bool PythonQtWrapper_QFontDialog::testOption(QFontDialog* theWrappedObject, QFontDialog::FontDialogOption option) const +{ + return ( theWrappedObject->testOption(option)); +} + + + +QFontInfo* PythonQtWrapper_QFontInfo::new_QFontInfo(const QFont& arg__1) +{ +return new QFontInfo(arg__1); } + +QFontInfo* PythonQtWrapper_QFontInfo::new_QFontInfo(const QFontInfo& arg__1) +{ +return new QFontInfo(arg__1); } + +bool PythonQtWrapper_QFontInfo::bold(QFontInfo* theWrappedObject) const +{ + return ( theWrappedObject->bold()); +} + +bool PythonQtWrapper_QFontInfo::exactMatch(QFontInfo* theWrappedObject) const +{ + return ( theWrappedObject->exactMatch()); +} + +QString PythonQtWrapper_QFontInfo::family(QFontInfo* theWrappedObject) const +{ + return ( theWrappedObject->family()); +} + +bool PythonQtWrapper_QFontInfo::fixedPitch(QFontInfo* theWrappedObject) const +{ + return ( theWrappedObject->fixedPitch()); +} + +bool PythonQtWrapper_QFontInfo::italic(QFontInfo* theWrappedObject) const +{ + return ( theWrappedObject->italic()); +} + +bool PythonQtWrapper_QFontInfo::overline(QFontInfo* theWrappedObject) const +{ + return ( theWrappedObject->overline()); +} + +int PythonQtWrapper_QFontInfo::pixelSize(QFontInfo* theWrappedObject) const +{ + return ( theWrappedObject->pixelSize()); +} + +int PythonQtWrapper_QFontInfo::pointSize(QFontInfo* theWrappedObject) const +{ + return ( theWrappedObject->pointSize()); +} + +qreal PythonQtWrapper_QFontInfo::pointSizeF(QFontInfo* theWrappedObject) const +{ + return ( theWrappedObject->pointSizeF()); +} + +bool PythonQtWrapper_QFontInfo::rawMode(QFontInfo* theWrappedObject) const +{ + return ( theWrappedObject->rawMode()); +} + +bool PythonQtWrapper_QFontInfo::strikeOut(QFontInfo* theWrappedObject) const +{ + return ( theWrappedObject->strikeOut()); +} + +QFont::Style PythonQtWrapper_QFontInfo::style(QFontInfo* theWrappedObject) const +{ + return ( theWrappedObject->style()); +} + +QFont::StyleHint PythonQtWrapper_QFontInfo::styleHint(QFontInfo* theWrappedObject) const +{ + return ( theWrappedObject->styleHint()); +} + +bool PythonQtWrapper_QFontInfo::underline(QFontInfo* theWrappedObject) const +{ + return ( theWrappedObject->underline()); +} + +int PythonQtWrapper_QFontInfo::weight(QFontInfo* theWrappedObject) const +{ + return ( theWrappedObject->weight()); +} + + + +QFontMetrics* PythonQtWrapper_QFontMetrics::new_QFontMetrics(const QFont& arg__1) +{ +return new QFontMetrics(arg__1); } + +QFontMetrics* PythonQtWrapper_QFontMetrics::new_QFontMetrics(const QFont& arg__1, QPaintDevice* pd) +{ +return new QFontMetrics(arg__1, pd); } + +int PythonQtWrapper_QFontMetrics::ascent(QFontMetrics* theWrappedObject) const +{ + return ( theWrappedObject->ascent()); +} + +int PythonQtWrapper_QFontMetrics::averageCharWidth(QFontMetrics* theWrappedObject) const +{ + return ( theWrappedObject->averageCharWidth()); +} + +QRect PythonQtWrapper_QFontMetrics::boundingRect(QFontMetrics* theWrappedObject, QChar arg__1) const +{ + return ( theWrappedObject->boundingRect(arg__1)); +} + +QRect PythonQtWrapper_QFontMetrics::boundingRect(QFontMetrics* theWrappedObject, const QRect& r, int flags, const QString& text, int tabstops, int* tabarray) const +{ + return ( theWrappedObject->boundingRect(r, flags, text, tabstops, tabarray)); +} + +QRect PythonQtWrapper_QFontMetrics::boundingRect(QFontMetrics* theWrappedObject, const QString& text) const +{ + return ( theWrappedObject->boundingRect(text)); +} + +QRect PythonQtWrapper_QFontMetrics::boundingRect(QFontMetrics* theWrappedObject, int x, int y, int w, int h, int flags, const QString& text, int tabstops, int* tabarray) const +{ + return ( theWrappedObject->boundingRect(x, y, w, h, flags, text, tabstops, tabarray)); +} + +int PythonQtWrapper_QFontMetrics::charWidth(QFontMetrics* theWrappedObject, const QString& str, int pos) const +{ + return ( theWrappedObject->charWidth(str, pos)); +} + +int PythonQtWrapper_QFontMetrics::descent(QFontMetrics* theWrappedObject) const +{ + return ( theWrappedObject->descent()); +} + +QString PythonQtWrapper_QFontMetrics::elidedText(QFontMetrics* theWrappedObject, const QString& text, Qt::TextElideMode mode, int width, int flags) const +{ + return ( theWrappedObject->elidedText(text, mode, width, flags)); +} + +int PythonQtWrapper_QFontMetrics::height(QFontMetrics* theWrappedObject) const +{ + return ( theWrappedObject->height()); +} + +bool PythonQtWrapper_QFontMetrics::inFont(QFontMetrics* theWrappedObject, QChar arg__1) const +{ + return ( theWrappedObject->inFont(arg__1)); +} + +int PythonQtWrapper_QFontMetrics::leading(QFontMetrics* theWrappedObject) const +{ + return ( theWrappedObject->leading()); +} + +int PythonQtWrapper_QFontMetrics::leftBearing(QFontMetrics* theWrappedObject, QChar arg__1) const +{ + return ( theWrappedObject->leftBearing(arg__1)); +} + +int PythonQtWrapper_QFontMetrics::lineSpacing(QFontMetrics* theWrappedObject) const +{ + return ( theWrappedObject->lineSpacing()); +} + +int PythonQtWrapper_QFontMetrics::lineWidth(QFontMetrics* theWrappedObject) const +{ + return ( theWrappedObject->lineWidth()); +} + +int PythonQtWrapper_QFontMetrics::maxWidth(QFontMetrics* theWrappedObject) const +{ + return ( theWrappedObject->maxWidth()); +} + +int PythonQtWrapper_QFontMetrics::minLeftBearing(QFontMetrics* theWrappedObject) const +{ + return ( theWrappedObject->minLeftBearing()); +} + +int PythonQtWrapper_QFontMetrics::minRightBearing(QFontMetrics* theWrappedObject) const +{ + return ( theWrappedObject->minRightBearing()); +} + +int PythonQtWrapper_QFontMetrics::overlinePos(QFontMetrics* theWrappedObject) const +{ + return ( theWrappedObject->overlinePos()); +} + +int PythonQtWrapper_QFontMetrics::rightBearing(QFontMetrics* theWrappedObject, QChar arg__1) const +{ + return ( theWrappedObject->rightBearing(arg__1)); +} + +QSize PythonQtWrapper_QFontMetrics::size(QFontMetrics* theWrappedObject, int flags, const QString& str, int tabstops, int* tabarray) const +{ + return ( theWrappedObject->size(flags, str, tabstops, tabarray)); +} + +int PythonQtWrapper_QFontMetrics::strikeOutPos(QFontMetrics* theWrappedObject) const +{ + return ( theWrappedObject->strikeOutPos()); +} + +QRect PythonQtWrapper_QFontMetrics::tightBoundingRect(QFontMetrics* theWrappedObject, const QString& text) const +{ + return ( theWrappedObject->tightBoundingRect(text)); +} + +int PythonQtWrapper_QFontMetrics::underlinePos(QFontMetrics* theWrappedObject) const +{ + return ( theWrappedObject->underlinePos()); +} + +int PythonQtWrapper_QFontMetrics::width(QFontMetrics* theWrappedObject, QChar arg__1) const +{ + return ( theWrappedObject->width(arg__1)); +} + +int PythonQtWrapper_QFontMetrics::width(QFontMetrics* theWrappedObject, const QString& arg__1, int len) const +{ + return ( theWrappedObject->width(arg__1, len)); +} + +int PythonQtWrapper_QFontMetrics::xHeight(QFontMetrics* theWrappedObject) const +{ + return ( theWrappedObject->xHeight()); +} + + + +QFontMetricsF* PythonQtWrapper_QFontMetricsF::new_QFontMetricsF(const QFont& arg__1) +{ +return new QFontMetricsF(arg__1); } + +QFontMetricsF* PythonQtWrapper_QFontMetricsF::new_QFontMetricsF(const QFont& arg__1, QPaintDevice* pd) +{ +return new QFontMetricsF(arg__1, pd); } + +qreal PythonQtWrapper_QFontMetricsF::ascent(QFontMetricsF* theWrappedObject) const +{ + return ( theWrappedObject->ascent()); +} + +qreal PythonQtWrapper_QFontMetricsF::averageCharWidth(QFontMetricsF* theWrappedObject) const +{ + return ( theWrappedObject->averageCharWidth()); +} + +QRectF PythonQtWrapper_QFontMetricsF::boundingRect(QFontMetricsF* theWrappedObject, QChar arg__1) const +{ + return ( theWrappedObject->boundingRect(arg__1)); +} + +QRectF PythonQtWrapper_QFontMetricsF::boundingRect(QFontMetricsF* theWrappedObject, const QRectF& r, int flags, const QString& string, int tabstops, int* tabarray) const +{ + return ( theWrappedObject->boundingRect(r, flags, string, tabstops, tabarray)); +} + +QRectF PythonQtWrapper_QFontMetricsF::boundingRect(QFontMetricsF* theWrappedObject, const QString& string) const +{ + return ( theWrappedObject->boundingRect(string)); +} + +qreal PythonQtWrapper_QFontMetricsF::descent(QFontMetricsF* theWrappedObject) const +{ + return ( theWrappedObject->descent()); +} + +QString PythonQtWrapper_QFontMetricsF::elidedText(QFontMetricsF* theWrappedObject, const QString& text, Qt::TextElideMode mode, qreal width, int flags) const +{ + return ( theWrappedObject->elidedText(text, mode, width, flags)); +} + +qreal PythonQtWrapper_QFontMetricsF::height(QFontMetricsF* theWrappedObject) const +{ + return ( theWrappedObject->height()); +} + +bool PythonQtWrapper_QFontMetricsF::inFont(QFontMetricsF* theWrappedObject, QChar arg__1) const +{ + return ( theWrappedObject->inFont(arg__1)); +} + +qreal PythonQtWrapper_QFontMetricsF::leading(QFontMetricsF* theWrappedObject) const +{ + return ( theWrappedObject->leading()); +} + +qreal PythonQtWrapper_QFontMetricsF::leftBearing(QFontMetricsF* theWrappedObject, QChar arg__1) const +{ + return ( theWrappedObject->leftBearing(arg__1)); +} + +qreal PythonQtWrapper_QFontMetricsF::lineSpacing(QFontMetricsF* theWrappedObject) const +{ + return ( theWrappedObject->lineSpacing()); +} + +qreal PythonQtWrapper_QFontMetricsF::lineWidth(QFontMetricsF* theWrappedObject) const +{ + return ( theWrappedObject->lineWidth()); +} + +qreal PythonQtWrapper_QFontMetricsF::maxWidth(QFontMetricsF* theWrappedObject) const +{ + return ( theWrappedObject->maxWidth()); +} + +qreal PythonQtWrapper_QFontMetricsF::minLeftBearing(QFontMetricsF* theWrappedObject) const +{ + return ( theWrappedObject->minLeftBearing()); +} + +qreal PythonQtWrapper_QFontMetricsF::minRightBearing(QFontMetricsF* theWrappedObject) const +{ + return ( theWrappedObject->minRightBearing()); +} + +qreal PythonQtWrapper_QFontMetricsF::overlinePos(QFontMetricsF* theWrappedObject) const +{ + 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)); +} + +qreal PythonQtWrapper_QFontMetricsF::strikeOutPos(QFontMetricsF* theWrappedObject) const +{ + return ( theWrappedObject->strikeOutPos()); +} + +QRectF PythonQtWrapper_QFontMetricsF::tightBoundingRect(QFontMetricsF* theWrappedObject, const QString& text) const +{ + return ( theWrappedObject->tightBoundingRect(text)); +} + +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()); +} + + + +void PythonQtShell_QFormLayout::addItem(QLayoutItem* item) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "addItem"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QLayoutItem*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&item}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QFormLayout::addItem(item); +} +void PythonQtShell_QFormLayout::childEvent(QChildEvent* e) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "childEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QChildEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&e}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QFormLayout::childEvent(e); +} +int PythonQtShell_QFormLayout::count() const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "count"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + int returnValue; + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("count", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QFormLayout::count(); +} +void PythonQtShell_QFormLayout::customEvent(QEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "customEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QFormLayout::customEvent(arg__1); +} +bool PythonQtShell_QFormLayout::event(QEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "event"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue; + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QFormLayout::event(arg__1); +} +bool PythonQtShell_QFormLayout::eventFilter(QObject* arg__1, QEvent* arg__2) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "eventFilter"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue; + void* args[3] = {NULL, (void*)&arg__1, (void*)&arg__2}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QFormLayout::eventFilter(arg__1, arg__2); +} +Qt::Orientations PythonQtShell_QFormLayout::expandingDirections() const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "expandingDirections"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"Qt::Orientations"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + Qt::Orientations returnValue; + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("expandingDirections", methodInfo, result); + } else { + returnValue = *((Qt::Orientations*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QFormLayout::expandingDirections(); +} +QRect PythonQtShell_QFormLayout::geometry() const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "geometry"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QRect"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QRect returnValue; + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("geometry", methodInfo, result); + } else { + returnValue = *((QRect*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QFormLayout::geometry(); +} +int PythonQtShell_QFormLayout::indexOf(QWidget* arg__1) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "indexOf"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"int" , "QWidget*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + int returnValue; + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("indexOf", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QFormLayout::indexOf(arg__1); +} +void PythonQtShell_QFormLayout::invalidate() +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "invalidate"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={""}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QFormLayout::invalidate(); +} +bool PythonQtShell_QFormLayout::isEmpty() const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "isEmpty"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + bool returnValue; + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("isEmpty", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QFormLayout::isEmpty(); +} +QLayoutItem* PythonQtShell_QFormLayout::itemAt(int index) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "itemAt"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QLayoutItem*" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + QLayoutItem* returnValue; + void* args[2] = {NULL, (void*)&index}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("itemAt", methodInfo, result); + } else { + returnValue = *((QLayoutItem**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QFormLayout::itemAt(index); +} +QLayout* PythonQtShell_QFormLayout::layout() +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "layout"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QLayout*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QLayout* returnValue; + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("layout", methodInfo, result); + } else { + returnValue = *((QLayout**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QFormLayout::layout(); +} +QSize PythonQtShell_QFormLayout::maximumSize() const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "maximumSize"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QSize"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QSize returnValue; + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("maximumSize", methodInfo, result); + } else { + returnValue = *((QSize*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QFormLayout::maximumSize(); +} +QSize PythonQtShell_QFormLayout::minimumSize() const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "minimumSize"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QSize"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QSize returnValue; + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("minimumSize", methodInfo, result); + } else { + returnValue = *((QSize*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QFormLayout::minimumSize(); +} +void PythonQtShell_QFormLayout::setGeometry(const QRect& rect) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "setGeometry"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "const QRect&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&rect}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QFormLayout::setGeometry(rect); +} +QLayoutItem* PythonQtShell_QFormLayout::takeAt(int index) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "takeAt"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QLayoutItem*" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + QLayoutItem* returnValue; + void* args[2] = {NULL, (void*)&index}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("takeAt", methodInfo, result); + } else { + returnValue = *((QLayoutItem**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QFormLayout::takeAt(index); +} +void PythonQtShell_QFormLayout::timerEvent(QTimerEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "timerEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QTimerEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QFormLayout::timerEvent(arg__1); +} +QFormLayout* PythonQtWrapper_QFormLayout::new_QFormLayout(QWidget* parent) +{ +return new PythonQtShell_QFormLayout(parent); } + +void PythonQtWrapper_QFormLayout::addItem(QFormLayout* theWrappedObject, QLayoutItem* item) +{ + ( ((PythonQtPublicPromoter_QFormLayout*)theWrappedObject)->promoted_addItem(item)); +} + +void PythonQtWrapper_QFormLayout::addRow(QFormLayout* theWrappedObject, QLayout* layout) +{ + ( theWrappedObject->addRow(layout)); +} + +void PythonQtWrapper_QFormLayout::addRow(QFormLayout* theWrappedObject, QWidget* label, QLayout* field) +{ + ( theWrappedObject->addRow(label, field)); +} + +void PythonQtWrapper_QFormLayout::addRow(QFormLayout* theWrappedObject, QWidget* label, QWidget* field) +{ + ( theWrappedObject->addRow(label, field)); +} + +void PythonQtWrapper_QFormLayout::addRow(QFormLayout* theWrappedObject, QWidget* widget) +{ + ( theWrappedObject->addRow(widget)); +} + +void PythonQtWrapper_QFormLayout::addRow(QFormLayout* theWrappedObject, const QString& labelText, QLayout* field) +{ + ( theWrappedObject->addRow(labelText, field)); +} + +void PythonQtWrapper_QFormLayout::addRow(QFormLayout* theWrappedObject, const QString& labelText, QWidget* field) +{ + ( theWrappedObject->addRow(labelText, field)); +} + +int PythonQtWrapper_QFormLayout::count(QFormLayout* theWrappedObject) const +{ + return ( ((PythonQtPublicPromoter_QFormLayout*)theWrappedObject)->promoted_count()); +} + +Qt::Orientations PythonQtWrapper_QFormLayout::expandingDirections(QFormLayout* theWrappedObject) const +{ + return ( ((PythonQtPublicPromoter_QFormLayout*)theWrappedObject)->promoted_expandingDirections()); +} + +QFormLayout::FieldGrowthPolicy PythonQtWrapper_QFormLayout::fieldGrowthPolicy(QFormLayout* theWrappedObject) const +{ + return ( theWrappedObject->fieldGrowthPolicy()); +} + +Qt::Alignment PythonQtWrapper_QFormLayout::formAlignment(QFormLayout* theWrappedObject) const +{ + return ( theWrappedObject->formAlignment()); +} + +void PythonQtWrapper_QFormLayout::getItemPosition(QFormLayout* theWrappedObject, int index, int* rowPtr, QFormLayout::ItemRole* rolePtr) const +{ + ( theWrappedObject->getItemPosition(index, rowPtr, rolePtr)); +} + +void PythonQtWrapper_QFormLayout::getLayoutPosition(QFormLayout* theWrappedObject, QLayout* layout, int* rowPtr, QFormLayout::ItemRole* rolePtr) const +{ + ( theWrappedObject->getLayoutPosition(layout, rowPtr, rolePtr)); +} + +void PythonQtWrapper_QFormLayout::getWidgetPosition(QFormLayout* theWrappedObject, QWidget* widget, int* rowPtr, QFormLayout::ItemRole* rolePtr) const +{ + ( theWrappedObject->getWidgetPosition(widget, rowPtr, rolePtr)); +} + +bool PythonQtWrapper_QFormLayout::hasHeightForWidth(QFormLayout* theWrappedObject) const +{ + return ( theWrappedObject->hasHeightForWidth()); +} + +int PythonQtWrapper_QFormLayout::heightForWidth(QFormLayout* theWrappedObject, int width) const +{ + return ( theWrappedObject->heightForWidth(width)); +} + +int PythonQtWrapper_QFormLayout::horizontalSpacing(QFormLayout* theWrappedObject) const +{ + return ( theWrappedObject->horizontalSpacing()); +} + +void PythonQtWrapper_QFormLayout::insertRow(QFormLayout* theWrappedObject, int row, QLayout* layout) +{ + ( theWrappedObject->insertRow(row, layout)); +} + +void PythonQtWrapper_QFormLayout::insertRow(QFormLayout* theWrappedObject, int row, QWidget* label, QLayout* field) +{ + ( theWrappedObject->insertRow(row, label, field)); +} + +void PythonQtWrapper_QFormLayout::insertRow(QFormLayout* theWrappedObject, int row, QWidget* label, QWidget* field) +{ + ( theWrappedObject->insertRow(row, label, field)); +} + +void PythonQtWrapper_QFormLayout::insertRow(QFormLayout* theWrappedObject, int row, QWidget* widget) +{ + ( theWrappedObject->insertRow(row, widget)); +} + +void PythonQtWrapper_QFormLayout::insertRow(QFormLayout* theWrappedObject, int row, const QString& labelText, QLayout* field) +{ + ( theWrappedObject->insertRow(row, labelText, field)); +} + +void PythonQtWrapper_QFormLayout::insertRow(QFormLayout* theWrappedObject, int row, const QString& labelText, QWidget* field) +{ + ( theWrappedObject->insertRow(row, labelText, field)); +} + +void PythonQtWrapper_QFormLayout::invalidate(QFormLayout* theWrappedObject) +{ + ( ((PythonQtPublicPromoter_QFormLayout*)theWrappedObject)->promoted_invalidate()); +} + +QLayoutItem* PythonQtWrapper_QFormLayout::itemAt(QFormLayout* theWrappedObject, int index) const +{ + return ( ((PythonQtPublicPromoter_QFormLayout*)theWrappedObject)->promoted_itemAt(index)); +} + +QLayoutItem* PythonQtWrapper_QFormLayout::itemAt(QFormLayout* theWrappedObject, int row, QFormLayout::ItemRole role) const +{ + return ( theWrappedObject->itemAt(row, role)); +} + +Qt::Alignment PythonQtWrapper_QFormLayout::labelAlignment(QFormLayout* theWrappedObject) const +{ + return ( theWrappedObject->labelAlignment()); +} + +QWidget* PythonQtWrapper_QFormLayout::labelForField(QFormLayout* theWrappedObject, QLayout* field) const +{ + return ( theWrappedObject->labelForField(field)); +} + +QWidget* PythonQtWrapper_QFormLayout::labelForField(QFormLayout* theWrappedObject, QWidget* field) const +{ + return ( theWrappedObject->labelForField(field)); +} + +QSize PythonQtWrapper_QFormLayout::minimumSize(QFormLayout* theWrappedObject) const +{ + return ( ((PythonQtPublicPromoter_QFormLayout*)theWrappedObject)->promoted_minimumSize()); +} + +int PythonQtWrapper_QFormLayout::rowCount(QFormLayout* theWrappedObject) const +{ + return ( theWrappedObject->rowCount()); +} + +QFormLayout::RowWrapPolicy PythonQtWrapper_QFormLayout::rowWrapPolicy(QFormLayout* theWrappedObject) const +{ + return ( theWrappedObject->rowWrapPolicy()); +} + +void PythonQtWrapper_QFormLayout::setFieldGrowthPolicy(QFormLayout* theWrappedObject, QFormLayout::FieldGrowthPolicy policy) +{ + ( theWrappedObject->setFieldGrowthPolicy(policy)); +} + +void PythonQtWrapper_QFormLayout::setFormAlignment(QFormLayout* theWrappedObject, Qt::Alignment alignment) +{ + ( theWrappedObject->setFormAlignment(alignment)); +} + +void PythonQtWrapper_QFormLayout::setGeometry(QFormLayout* theWrappedObject, const QRect& rect) +{ + ( ((PythonQtPublicPromoter_QFormLayout*)theWrappedObject)->promoted_setGeometry(rect)); +} + +void PythonQtWrapper_QFormLayout::setHorizontalSpacing(QFormLayout* theWrappedObject, int spacing) +{ + ( theWrappedObject->setHorizontalSpacing(spacing)); +} + +void PythonQtWrapper_QFormLayout::setItem(QFormLayout* theWrappedObject, int row, QFormLayout::ItemRole role, QLayoutItem* item) +{ + ( theWrappedObject->setItem(row, role, item)); +} + +void PythonQtWrapper_QFormLayout::setLabelAlignment(QFormLayout* theWrappedObject, Qt::Alignment alignment) +{ + ( theWrappedObject->setLabelAlignment(alignment)); +} + +void PythonQtWrapper_QFormLayout::setLayout(QFormLayout* theWrappedObject, int row, QFormLayout::ItemRole role, QLayout* layout) +{ + ( theWrappedObject->setLayout(row, role, layout)); +} + +void PythonQtWrapper_QFormLayout::setRowWrapPolicy(QFormLayout* theWrappedObject, QFormLayout::RowWrapPolicy policy) +{ + ( theWrappedObject->setRowWrapPolicy(policy)); +} + +void PythonQtWrapper_QFormLayout::setSpacing(QFormLayout* theWrappedObject, int arg__1) +{ + ( theWrappedObject->setSpacing(arg__1)); +} + +void PythonQtWrapper_QFormLayout::setVerticalSpacing(QFormLayout* theWrappedObject, int spacing) +{ + ( theWrappedObject->setVerticalSpacing(spacing)); +} + +void PythonQtWrapper_QFormLayout::setWidget(QFormLayout* theWrappedObject, int row, QFormLayout::ItemRole role, QWidget* widget) +{ + ( theWrappedObject->setWidget(row, role, widget)); +} + +QSize PythonQtWrapper_QFormLayout::sizeHint(QFormLayout* theWrappedObject) const +{ + return ( theWrappedObject->sizeHint()); +} + +int PythonQtWrapper_QFormLayout::spacing(QFormLayout* theWrappedObject) const +{ + return ( theWrappedObject->spacing()); +} + +QLayoutItem* PythonQtWrapper_QFormLayout::takeAt(QFormLayout* theWrappedObject, int index) +{ + return ( ((PythonQtPublicPromoter_QFormLayout*)theWrappedObject)->promoted_takeAt(index)); +} + +int PythonQtWrapper_QFormLayout::verticalSpacing(QFormLayout* theWrappedObject) const +{ + return ( theWrappedObject->verticalSpacing()); +} + + + +void PythonQtShell_QFrame::actionEvent(QActionEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "actionEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QActionEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QFrame::actionEvent(arg__1); +} +void PythonQtShell_QFrame::changeEvent(QEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "changeEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QFrame::changeEvent(arg__1); +} +void PythonQtShell_QFrame::childEvent(QChildEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "childEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QChildEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QFrame::childEvent(arg__1); +} +void PythonQtShell_QFrame::closeEvent(QCloseEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "closeEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QCloseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QFrame::closeEvent(arg__1); +} +void PythonQtShell_QFrame::contextMenuEvent(QContextMenuEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "contextMenuEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QContextMenuEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QFrame::contextMenuEvent(arg__1); +} +void PythonQtShell_QFrame::customEvent(QEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "customEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QFrame::customEvent(arg__1); +} +int PythonQtShell_QFrame::devType() const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "devType"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + int returnValue; + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("devType", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QFrame::devType(); +} +void PythonQtShell_QFrame::dragEnterEvent(QDragEnterEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dragEnterEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QDragEnterEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QFrame::dragEnterEvent(arg__1); +} +void PythonQtShell_QFrame::dragLeaveEvent(QDragLeaveEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dragLeaveEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QDragLeaveEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QFrame::dragLeaveEvent(arg__1); +} +void PythonQtShell_QFrame::dragMoveEvent(QDragMoveEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dragMoveEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QDragMoveEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QFrame::dragMoveEvent(arg__1); +} +void PythonQtShell_QFrame::dropEvent(QDropEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dropEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QDropEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QFrame::dropEvent(arg__1); +} +void PythonQtShell_QFrame::enterEvent(QEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "enterEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QFrame::enterEvent(arg__1); +} +bool PythonQtShell_QFrame::event(QEvent* e) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "event"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue; + void* args[2] = {NULL, (void*)&e}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QFrame::event(e); +} +bool PythonQtShell_QFrame::eventFilter(QObject* arg__1, QEvent* arg__2) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "eventFilter"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue; + void* args[3] = {NULL, (void*)&arg__1, (void*)&arg__2}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QFrame::eventFilter(arg__1, arg__2); +} +void PythonQtShell_QFrame::focusInEvent(QFocusEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "focusInEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QFocusEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QFrame::focusInEvent(arg__1); +} +bool PythonQtShell_QFrame::focusNextPrevChild(bool next) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "focusNextPrevChild"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue; + void* args[2] = {NULL, (void*)&next}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("focusNextPrevChild", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QFrame::focusNextPrevChild(next); +} +void PythonQtShell_QFrame::focusOutEvent(QFocusEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "focusOutEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QFocusEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QFrame::focusOutEvent(arg__1); +} +int PythonQtShell_QFrame::heightForWidth(int arg__1) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "heightForWidth"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"int" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + int returnValue; + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("heightForWidth", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QFrame::heightForWidth(arg__1); +} +void PythonQtShell_QFrame::hideEvent(QHideEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "hideEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QHideEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QFrame::hideEvent(arg__1); +} +void PythonQtShell_QFrame::inputMethodEvent(QInputMethodEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "inputMethodEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QInputMethodEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QFrame::inputMethodEvent(arg__1); +} +QVariant PythonQtShell_QFrame::inputMethodQuery(Qt::InputMethodQuery arg__1) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "inputMethodQuery"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QVariant" , "Qt::InputMethodQuery"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + QVariant returnValue; + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result); + } else { + returnValue = *((QVariant*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QFrame::inputMethodQuery(arg__1); +} +void PythonQtShell_QFrame::keyPressEvent(QKeyEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "keyPressEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QKeyEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QFrame::keyPressEvent(arg__1); +} +void PythonQtShell_QFrame::keyReleaseEvent(QKeyEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "keyReleaseEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QKeyEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QFrame::keyReleaseEvent(arg__1); +} +void PythonQtShell_QFrame::languageChange() +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "languageChange"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={""}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QFrame::languageChange(); +} +void PythonQtShell_QFrame::leaveEvent(QEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "leaveEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QFrame::leaveEvent(arg__1); +} +int PythonQtShell_QFrame::metric(QPaintDevice::PaintDeviceMetric arg__1) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "metric"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + int returnValue; + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("metric", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QFrame::metric(arg__1); +} +QSize PythonQtShell_QFrame::minimumSizeHint() const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "getMinimumSizeHint"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QSize"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QSize returnValue; + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("getMinimumSizeHint", methodInfo, result); + } else { + returnValue = *((QSize*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QFrame::minimumSizeHint(); +} +void PythonQtShell_QFrame::mouseDoubleClickEvent(QMouseEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mouseDoubleClickEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QFrame::mouseDoubleClickEvent(arg__1); +} +void PythonQtShell_QFrame::mouseMoveEvent(QMouseEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mouseMoveEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QFrame::mouseMoveEvent(arg__1); +} +void PythonQtShell_QFrame::mousePressEvent(QMouseEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mousePressEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QFrame::mousePressEvent(arg__1); +} +void PythonQtShell_QFrame::mouseReleaseEvent(QMouseEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mouseReleaseEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QFrame::mouseReleaseEvent(arg__1); +} +void PythonQtShell_QFrame::moveEvent(QMoveEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "moveEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QMoveEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QFrame::moveEvent(arg__1); +} +QPaintEngine* PythonQtShell_QFrame::paintEngine() const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "paintEngine"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QPaintEngine*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QPaintEngine* returnValue; + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); + } else { + returnValue = *((QPaintEngine**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QFrame::paintEngine(); +} +void PythonQtShell_QFrame::paintEvent(QPaintEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "paintEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QPaintEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QFrame::paintEvent(arg__1); +} +void PythonQtShell_QFrame::resizeEvent(QResizeEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "resizeEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QResizeEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QFrame::resizeEvent(arg__1); +} +void PythonQtShell_QFrame::showEvent(QShowEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "showEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QShowEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QFrame::showEvent(arg__1); +} +void PythonQtShell_QFrame::tabletEvent(QTabletEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "tabletEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QTabletEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QFrame::tabletEvent(arg__1); +} +void PythonQtShell_QFrame::timerEvent(QTimerEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "timerEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QTimerEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QFrame::timerEvent(arg__1); +} +void PythonQtShell_QFrame::wheelEvent(QWheelEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "wheelEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QWheelEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QFrame::wheelEvent(arg__1); +} +QFrame* PythonQtWrapper_QFrame::new_QFrame(QWidget* parent, Qt::WindowFlags f) +{ +return new PythonQtShell_QFrame(parent, f); } + +void PythonQtWrapper_QFrame::changeEvent(QFrame* theWrappedObject, QEvent* arg__1) +{ + ( ((PythonQtPublicPromoter_QFrame*)theWrappedObject)->promoted_changeEvent(arg__1)); +} + +bool PythonQtWrapper_QFrame::event(QFrame* theWrappedObject, QEvent* e) +{ + return ( ((PythonQtPublicPromoter_QFrame*)theWrappedObject)->promoted_event(e)); +} + +QRect PythonQtWrapper_QFrame::frameRect(QFrame* theWrappedObject) const +{ + return ( theWrappedObject->frameRect()); +} + +QFrame::Shadow PythonQtWrapper_QFrame::frameShadow(QFrame* theWrappedObject) const +{ + return ( theWrappedObject->frameShadow()); +} + +QFrame::Shape PythonQtWrapper_QFrame::frameShape(QFrame* theWrappedObject) const +{ + return ( theWrappedObject->frameShape()); +} + +int PythonQtWrapper_QFrame::frameStyle(QFrame* theWrappedObject) const +{ + return ( theWrappedObject->frameStyle()); +} + +int PythonQtWrapper_QFrame::frameWidth(QFrame* theWrappedObject) const +{ + return ( theWrappedObject->frameWidth()); +} + +int PythonQtWrapper_QFrame::lineWidth(QFrame* theWrappedObject) const +{ + return ( theWrappedObject->lineWidth()); +} + +int PythonQtWrapper_QFrame::midLineWidth(QFrame* theWrappedObject) const +{ + return ( theWrappedObject->midLineWidth()); +} + +void PythonQtWrapper_QFrame::paintEvent(QFrame* theWrappedObject, QPaintEvent* arg__1) +{ + ( ((PythonQtPublicPromoter_QFrame*)theWrappedObject)->promoted_paintEvent(arg__1)); +} + +void PythonQtWrapper_QFrame::setFrameRect(QFrame* theWrappedObject, const QRect& arg__1) +{ + ( theWrappedObject->setFrameRect(arg__1)); +} + +void PythonQtWrapper_QFrame::setFrameShadow(QFrame* theWrappedObject, QFrame::Shadow arg__1) +{ + ( theWrappedObject->setFrameShadow(arg__1)); +} + +void PythonQtWrapper_QFrame::setFrameShape(QFrame* theWrappedObject, QFrame::Shape arg__1) +{ + ( theWrappedObject->setFrameShape(arg__1)); +} + +void PythonQtWrapper_QFrame::setFrameStyle(QFrame* theWrappedObject, int arg__1) +{ + ( theWrappedObject->setFrameStyle(arg__1)); +} + +void PythonQtWrapper_QFrame::setLineWidth(QFrame* theWrappedObject, int arg__1) +{ + ( theWrappedObject->setLineWidth(arg__1)); +} + +void PythonQtWrapper_QFrame::setMidLineWidth(QFrame* theWrappedObject, int arg__1) +{ + ( theWrappedObject->setMidLineWidth(arg__1)); +} + +QSize PythonQtWrapper_QFrame::sizeHint(QFrame* theWrappedObject) const +{ + return ( theWrappedObject->sizeHint()); +} + + + +void PythonQtShell_QGesture::childEvent(QChildEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "childEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QChildEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QGesture::childEvent(arg__1); +} +void PythonQtShell_QGesture::customEvent(QEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "customEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QGesture::customEvent(arg__1); +} +bool PythonQtShell_QGesture::event(QEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "event"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue; + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QGesture::event(arg__1); +} +bool PythonQtShell_QGesture::eventFilter(QObject* arg__1, QEvent* arg__2) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "eventFilter"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue; + void* args[3] = {NULL, (void*)&arg__1, (void*)&arg__2}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QGesture::eventFilter(arg__1, arg__2); +} +void PythonQtShell_QGesture::timerEvent(QTimerEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "timerEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QTimerEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QGesture::timerEvent(arg__1); +} +QGesture* PythonQtWrapper_QGesture::new_QGesture(QObject* parent) +{ +return new PythonQtShell_QGesture(parent); } + +bool PythonQtWrapper_QGesture::hasHotSpot(QGesture* theWrappedObject) const +{ + return ( theWrappedObject->hasHotSpot()); +} + +QPointF PythonQtWrapper_QGesture::hotSpot(QGesture* theWrappedObject) const +{ + return ( theWrappedObject->hotSpot()); +} + +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()); +} + + + +QGradient* PythonQtWrapper_QGradient::new_QGradient() +{ +return new QGradient(); } + +QGradient::CoordinateMode PythonQtWrapper_QGradient::coordinateMode(QGradient* theWrappedObject) const +{ + return ( theWrappedObject->coordinateMode()); +} + +bool PythonQtWrapper_QGradient::__ne__(QGradient* theWrappedObject, const QGradient& other) const +{ + return ( (*theWrappedObject)!= other); +} + +bool PythonQtWrapper_QGradient::__eq__(QGradient* theWrappedObject, const QGradient& gradient) const +{ + return ( (*theWrappedObject)== gradient); +} + +void PythonQtWrapper_QGradient::setColorAt(QGradient* theWrappedObject, qreal pos, const QColor& color) +{ + ( theWrappedObject->setColorAt(pos, color)); +} + +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()); +} + +QVector > PythonQtWrapper_QGradient::stops(QGradient* theWrappedObject) const +{ + return ( theWrappedObject->stops()); +} + +QGradient::Type PythonQtWrapper_QGradient::type(QGradient* theWrappedObject) const +{ + return ( theWrappedObject->type()); +} + + + +void PythonQtWrapper_QGraphicsAnchor::setSizePolicy(QGraphicsAnchor* theWrappedObject, QSizePolicy::Policy policy) +{ + ( theWrappedObject->setSizePolicy(policy)); +} + +void PythonQtWrapper_QGraphicsAnchor::setSpacing(QGraphicsAnchor* theWrappedObject, qreal spacing) +{ + ( theWrappedObject->setSpacing(spacing)); +} + +QSizePolicy::Policy PythonQtWrapper_QGraphicsAnchor::sizePolicy(QGraphicsAnchor* theWrappedObject) const +{ + return ( theWrappedObject->sizePolicy()); +} + +qreal PythonQtWrapper_QGraphicsAnchor::spacing(QGraphicsAnchor* theWrappedObject) const +{ + return ( theWrappedObject->spacing()); +} + +void PythonQtWrapper_QGraphicsAnchor::unsetSpacing(QGraphicsAnchor* theWrappedObject) +{ + ( theWrappedObject->unsetSpacing()); +} + + + +int PythonQtShell_QGraphicsAnchorLayout::count() const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "count"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + int returnValue; + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("count", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QGraphicsAnchorLayout::count(); +} +void PythonQtShell_QGraphicsAnchorLayout::getContentsMargins(qreal* left, qreal* top, qreal* right, qreal* bottom) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "getContentsMargins"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "qreal*" , "qreal*" , "qreal*" , "qreal*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(5, argumentList); + void* args[5] = {NULL, (void*)&left, (void*)&top, (void*)&right, (void*)&bottom}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QGraphicsAnchorLayout::getContentsMargins(left, top, right, bottom); +} +void PythonQtShell_QGraphicsAnchorLayout::invalidate() +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "invalidate"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={""}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QGraphicsAnchorLayout::invalidate(); +} +QGraphicsLayoutItem* PythonQtShell_QGraphicsAnchorLayout::itemAt(int index) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "itemAt"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QGraphicsLayoutItem*" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + QGraphicsLayoutItem* returnValue; + void* args[2] = {NULL, (void*)&index}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("itemAt", methodInfo, result); + } else { + returnValue = *((QGraphicsLayoutItem**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QGraphicsAnchorLayout::itemAt(index); +} +void PythonQtShell_QGraphicsAnchorLayout::removeAt(int index) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "removeAt"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&index}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QGraphicsAnchorLayout::removeAt(index); +} +void PythonQtShell_QGraphicsAnchorLayout::updateGeometry() +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "updateGeometry"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={""}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QGraphicsAnchorLayout::updateGeometry(); +} +void PythonQtShell_QGraphicsAnchorLayout::widgetEvent(QEvent* e) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "widgetEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&e}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QGraphicsAnchorLayout::widgetEvent(e); +} +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)); +} + +int PythonQtWrapper_QGraphicsAnchorLayout::count(QGraphicsAnchorLayout* theWrappedObject) const +{ + return ( ((PythonQtPublicPromoter_QGraphicsAnchorLayout*)theWrappedObject)->promoted_count()); +} + +qreal PythonQtWrapper_QGraphicsAnchorLayout::horizontalSpacing(QGraphicsAnchorLayout* theWrappedObject) const +{ + return ( theWrappedObject->horizontalSpacing()); +} + +void PythonQtWrapper_QGraphicsAnchorLayout::invalidate(QGraphicsAnchorLayout* theWrappedObject) +{ + ( ((PythonQtPublicPromoter_QGraphicsAnchorLayout*)theWrappedObject)->promoted_invalidate()); +} + +QGraphicsLayoutItem* PythonQtWrapper_QGraphicsAnchorLayout::itemAt(QGraphicsAnchorLayout* theWrappedObject, int index) const +{ + return ( ((PythonQtPublicPromoter_QGraphicsAnchorLayout*)theWrappedObject)->promoted_itemAt(index)); +} + +void PythonQtWrapper_QGraphicsAnchorLayout::removeAt(QGraphicsAnchorLayout* theWrappedObject, int index) +{ + ( ((PythonQtPublicPromoter_QGraphicsAnchorLayout*)theWrappedObject)->promoted_removeAt(index)); +} + +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)); +} + +qreal PythonQtWrapper_QGraphicsAnchorLayout::verticalSpacing(QGraphicsAnchorLayout* theWrappedObject) const +{ + return ( theWrappedObject->verticalSpacing()); +} + + + +QRectF PythonQtShell_QGraphicsEffect::boundingRectFor(const QRectF& sourceRect) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "boundingRectFor"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QRectF" , "const QRectF&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + QRectF returnValue; + void* args[2] = {NULL, (void*)&sourceRect}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (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); } + Py_DECREF(obj); + return returnValue; + } +} + return QGraphicsEffect::boundingRectFor(sourceRect); +} +void PythonQtShell_QGraphicsEffect::childEvent(QChildEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "childEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QChildEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QGraphicsEffect::childEvent(arg__1); +} +void PythonQtShell_QGraphicsEffect::customEvent(QEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "customEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QGraphicsEffect::customEvent(arg__1); +} +void PythonQtShell_QGraphicsEffect::draw(QPainter* painter) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "draw"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QPainter*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&painter}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + +} +bool PythonQtShell_QGraphicsEffect::event(QEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "event"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue; + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QGraphicsEffect::event(arg__1); +} +bool PythonQtShell_QGraphicsEffect::eventFilter(QObject* arg__1, QEvent* arg__2) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "eventFilter"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue; + void* args[3] = {NULL, (void*)&arg__1, (void*)&arg__2}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QGraphicsEffect::eventFilter(arg__1, arg__2); +} +void PythonQtShell_QGraphicsEffect::sourceChanged(QGraphicsEffect::ChangeFlags flags) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "sourceChanged"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QGraphicsEffect::ChangeFlags"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&flags}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QGraphicsEffect::sourceChanged(flags); +} +void PythonQtShell_QGraphicsEffect::timerEvent(QTimerEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "timerEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QTimerEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QGraphicsEffect::timerEvent(arg__1); +} +QGraphicsEffect* PythonQtWrapper_QGraphicsEffect::new_QGraphicsEffect(QObject* parent) +{ +return new PythonQtShell_QGraphicsEffect(parent); } + +QRectF PythonQtWrapper_QGraphicsEffect::boundingRect(QGraphicsEffect* theWrappedObject) const +{ + return ( theWrappedObject->boundingRect()); +} + +QRectF PythonQtWrapper_QGraphicsEffect::boundingRectFor(QGraphicsEffect* theWrappedObject, const QRectF& sourceRect) const +{ + return ( ((PythonQtPublicPromoter_QGraphicsEffect*)theWrappedObject)->promoted_boundingRectFor(sourceRect)); +} + +bool PythonQtWrapper_QGraphicsEffect::isEnabled(QGraphicsEffect* theWrappedObject) const +{ + return ( theWrappedObject->isEnabled()); +} + +void PythonQtWrapper_QGraphicsEffect::sourceChanged(QGraphicsEffect* theWrappedObject, QGraphicsEffect::ChangeFlags flags) +{ + ( ((PythonQtPublicPromoter_QGraphicsEffect*)theWrappedObject)->promoted_sourceChanged(flags)); +} + + + +bool PythonQtShell_QGraphicsEllipseItem::isObscuredBy(const QGraphicsItem* item) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "isObscuredBy"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "const QGraphicsItem*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue; + void* args[2] = {NULL, (void*)&item}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("isObscuredBy", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QGraphicsEllipseItem::isObscuredBy(item); +} +QPainterPath PythonQtShell_QGraphicsEllipseItem::opaqueArea() const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "opaqueArea"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QPainterPath"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QPainterPath returnValue; + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("opaqueArea", methodInfo, result); + } else { + returnValue = *((QPainterPath*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QGraphicsEllipseItem::opaqueArea(); +} +QGraphicsEllipseItem* PythonQtWrapper_QGraphicsEllipseItem::new_QGraphicsEllipseItem(QGraphicsItem* parent, QGraphicsScene* scene) +{ +return new PythonQtShell_QGraphicsEllipseItem(parent, scene); } + +QGraphicsEllipseItem* PythonQtWrapper_QGraphicsEllipseItem::new_QGraphicsEllipseItem(const QRectF& rect, QGraphicsItem* parent, QGraphicsScene* scene) +{ +return new PythonQtShell_QGraphicsEllipseItem(rect, parent, scene); } + +QGraphicsEllipseItem* PythonQtWrapper_QGraphicsEllipseItem::new_QGraphicsEllipseItem(qreal x, qreal y, qreal w, qreal h, QGraphicsItem* parent, QGraphicsScene* scene) +{ +return new PythonQtShell_QGraphicsEllipseItem(x, y, w, h, parent, scene); } + +QRectF PythonQtWrapper_QGraphicsEllipseItem::boundingRect(QGraphicsEllipseItem* theWrappedObject) const +{ + return ( theWrappedObject->boundingRect()); +} + +bool PythonQtWrapper_QGraphicsEllipseItem::contains(QGraphicsEllipseItem* theWrappedObject, const QPointF& point) const +{ + return ( theWrappedObject->contains(point)); +} + +bool PythonQtWrapper_QGraphicsEllipseItem::isObscuredBy(QGraphicsEllipseItem* theWrappedObject, const QGraphicsItem* item) const +{ + return ( ((PythonQtPublicPromoter_QGraphicsEllipseItem*)theWrappedObject)->promoted_isObscuredBy(item)); +} + +QPainterPath PythonQtWrapper_QGraphicsEllipseItem::opaqueArea(QGraphicsEllipseItem* theWrappedObject) const +{ + return ( ((PythonQtPublicPromoter_QGraphicsEllipseItem*)theWrappedObject)->promoted_opaqueArea()); +} + +void PythonQtWrapper_QGraphicsEllipseItem::paint(QGraphicsEllipseItem* theWrappedObject, QPainter* painter, const QStyleOptionGraphicsItem* option, QWidget* widget) +{ + ( theWrappedObject->paint(painter, option, widget)); +} + +QRectF PythonQtWrapper_QGraphicsEllipseItem::rect(QGraphicsEllipseItem* theWrappedObject) const +{ + return ( theWrappedObject->rect()); +} + +void PythonQtWrapper_QGraphicsEllipseItem::setRect(QGraphicsEllipseItem* theWrappedObject, const QRectF& rect) +{ + ( theWrappedObject->setRect(rect)); +} + +void PythonQtWrapper_QGraphicsEllipseItem::setRect(QGraphicsEllipseItem* theWrappedObject, qreal x, qreal y, qreal w, qreal h) +{ + ( theWrappedObject->setRect(x, y, w, h)); +} + +void PythonQtWrapper_QGraphicsEllipseItem::setSpanAngle(QGraphicsEllipseItem* theWrappedObject, int angle) +{ + ( theWrappedObject->setSpanAngle(angle)); +} + +void PythonQtWrapper_QGraphicsEllipseItem::setStartAngle(QGraphicsEllipseItem* theWrappedObject, int angle) +{ + ( theWrappedObject->setStartAngle(angle)); +} + +QPainterPath PythonQtWrapper_QGraphicsEllipseItem::shape(QGraphicsEllipseItem* theWrappedObject) const +{ + return ( theWrappedObject->shape()); +} + +int PythonQtWrapper_QGraphicsEllipseItem::spanAngle(QGraphicsEllipseItem* theWrappedObject) const +{ + return ( theWrappedObject->spanAngle()); +} + +int PythonQtWrapper_QGraphicsEllipseItem::startAngle(QGraphicsEllipseItem* theWrappedObject) const +{ + return ( theWrappedObject->startAngle()); +} + +int PythonQtWrapper_QGraphicsEllipseItem::type(QGraphicsEllipseItem* theWrappedObject) const +{ + return ( theWrappedObject->type()); +} + + + +int PythonQtShell_QGraphicsGridLayout::count() const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "count"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + int returnValue; + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("count", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QGraphicsGridLayout::count(); +} +void PythonQtShell_QGraphicsGridLayout::getContentsMargins(qreal* left, qreal* top, qreal* right, qreal* bottom) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "getContentsMargins"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "qreal*" , "qreal*" , "qreal*" , "qreal*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(5, argumentList); + void* args[5] = {NULL, (void*)&left, (void*)&top, (void*)&right, (void*)&bottom}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QGraphicsGridLayout::getContentsMargins(left, top, right, bottom); +} +void PythonQtShell_QGraphicsGridLayout::invalidate() +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "invalidate"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={""}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QGraphicsGridLayout::invalidate(); +} +QGraphicsLayoutItem* PythonQtShell_QGraphicsGridLayout::itemAt(int index) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "itemAt"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QGraphicsLayoutItem*" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + QGraphicsLayoutItem* returnValue; + void* args[2] = {NULL, (void*)&index}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("itemAt", methodInfo, result); + } else { + returnValue = *((QGraphicsLayoutItem**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QGraphicsGridLayout::itemAt(index); +} +void PythonQtShell_QGraphicsGridLayout::removeAt(int index) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "removeAt"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&index}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QGraphicsGridLayout::removeAt(index); +} +void PythonQtShell_QGraphicsGridLayout::updateGeometry() +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "updateGeometry"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={""}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QGraphicsGridLayout::updateGeometry(); +} +void PythonQtShell_QGraphicsGridLayout::widgetEvent(QEvent* e) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "widgetEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&e}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QGraphicsGridLayout::widgetEvent(e); +} +QGraphicsGridLayout* PythonQtWrapper_QGraphicsGridLayout::new_QGraphicsGridLayout(QGraphicsLayoutItem* parent) +{ +return new PythonQtShell_QGraphicsGridLayout(parent); } + +void PythonQtWrapper_QGraphicsGridLayout::addItem(QGraphicsGridLayout* theWrappedObject, QGraphicsLayoutItem* item, int row, int column, Qt::Alignment alignment) +{ + ( theWrappedObject->addItem(item, row, column, alignment)); +} + +void PythonQtWrapper_QGraphicsGridLayout::addItem(QGraphicsGridLayout* theWrappedObject, QGraphicsLayoutItem* item, int row, int column, int rowSpan, int columnSpan, Qt::Alignment alignment) +{ + ( theWrappedObject->addItem(item, row, column, rowSpan, columnSpan, alignment)); +} + +Qt::Alignment PythonQtWrapper_QGraphicsGridLayout::alignment(QGraphicsGridLayout* theWrappedObject, QGraphicsLayoutItem* item) const +{ + return ( theWrappedObject->alignment(item)); +} + +Qt::Alignment PythonQtWrapper_QGraphicsGridLayout::columnAlignment(QGraphicsGridLayout* theWrappedObject, int column) const +{ + return ( theWrappedObject->columnAlignment(column)); +} + +int PythonQtWrapper_QGraphicsGridLayout::columnCount(QGraphicsGridLayout* theWrappedObject) const +{ + return ( theWrappedObject->columnCount()); +} + +qreal PythonQtWrapper_QGraphicsGridLayout::columnMaximumWidth(QGraphicsGridLayout* theWrappedObject, int column) const +{ + return ( theWrappedObject->columnMaximumWidth(column)); +} + +qreal PythonQtWrapper_QGraphicsGridLayout::columnMinimumWidth(QGraphicsGridLayout* theWrappedObject, int column) const +{ + return ( theWrappedObject->columnMinimumWidth(column)); +} + +qreal PythonQtWrapper_QGraphicsGridLayout::columnPreferredWidth(QGraphicsGridLayout* theWrappedObject, int column) const +{ + return ( theWrappedObject->columnPreferredWidth(column)); +} + +qreal PythonQtWrapper_QGraphicsGridLayout::columnSpacing(QGraphicsGridLayout* theWrappedObject, int column) const +{ + return ( theWrappedObject->columnSpacing(column)); +} + +int PythonQtWrapper_QGraphicsGridLayout::columnStretchFactor(QGraphicsGridLayout* theWrappedObject, int column) const +{ + return ( theWrappedObject->columnStretchFactor(column)); +} + +int PythonQtWrapper_QGraphicsGridLayout::count(QGraphicsGridLayout* theWrappedObject) const +{ + return ( ((PythonQtPublicPromoter_QGraphicsGridLayout*)theWrappedObject)->promoted_count()); +} + +qreal PythonQtWrapper_QGraphicsGridLayout::horizontalSpacing(QGraphicsGridLayout* theWrappedObject) const +{ + return ( theWrappedObject->horizontalSpacing()); +} + +void PythonQtWrapper_QGraphicsGridLayout::invalidate(QGraphicsGridLayout* theWrappedObject) +{ + ( ((PythonQtPublicPromoter_QGraphicsGridLayout*)theWrappedObject)->promoted_invalidate()); +} + +QGraphicsLayoutItem* PythonQtWrapper_QGraphicsGridLayout::itemAt(QGraphicsGridLayout* theWrappedObject, int index) const +{ + return ( ((PythonQtPublicPromoter_QGraphicsGridLayout*)theWrappedObject)->promoted_itemAt(index)); +} + +QGraphicsLayoutItem* PythonQtWrapper_QGraphicsGridLayout::itemAt(QGraphicsGridLayout* theWrappedObject, int row, int column) const +{ + return ( theWrappedObject->itemAt(row, column)); +} + +void PythonQtWrapper_QGraphicsGridLayout::removeAt(QGraphicsGridLayout* theWrappedObject, int index) +{ + ( ((PythonQtPublicPromoter_QGraphicsGridLayout*)theWrappedObject)->promoted_removeAt(index)); +} + +Qt::Alignment PythonQtWrapper_QGraphicsGridLayout::rowAlignment(QGraphicsGridLayout* theWrappedObject, int row) const +{ + return ( theWrappedObject->rowAlignment(row)); +} + +int PythonQtWrapper_QGraphicsGridLayout::rowCount(QGraphicsGridLayout* theWrappedObject) const +{ + return ( theWrappedObject->rowCount()); +} + +qreal PythonQtWrapper_QGraphicsGridLayout::rowMaximumHeight(QGraphicsGridLayout* theWrappedObject, int row) const +{ + return ( theWrappedObject->rowMaximumHeight(row)); +} + +qreal PythonQtWrapper_QGraphicsGridLayout::rowMinimumHeight(QGraphicsGridLayout* theWrappedObject, int row) const +{ + return ( theWrappedObject->rowMinimumHeight(row)); +} + +qreal PythonQtWrapper_QGraphicsGridLayout::rowPreferredHeight(QGraphicsGridLayout* theWrappedObject, int row) const +{ + return ( theWrappedObject->rowPreferredHeight(row)); +} + +qreal PythonQtWrapper_QGraphicsGridLayout::rowSpacing(QGraphicsGridLayout* theWrappedObject, int row) const +{ + return ( theWrappedObject->rowSpacing(row)); +} + +int PythonQtWrapper_QGraphicsGridLayout::rowStretchFactor(QGraphicsGridLayout* theWrappedObject, int row) const +{ + return ( theWrappedObject->rowStretchFactor(row)); +} + +void PythonQtWrapper_QGraphicsGridLayout::setAlignment(QGraphicsGridLayout* theWrappedObject, QGraphicsLayoutItem* item, Qt::Alignment alignment) +{ + ( theWrappedObject->setAlignment(item, alignment)); +} + +void PythonQtWrapper_QGraphicsGridLayout::setColumnAlignment(QGraphicsGridLayout* theWrappedObject, int column, Qt::Alignment alignment) +{ + ( theWrappedObject->setColumnAlignment(column, alignment)); +} + +void PythonQtWrapper_QGraphicsGridLayout::setColumnFixedWidth(QGraphicsGridLayout* theWrappedObject, int column, qreal width) +{ + ( theWrappedObject->setColumnFixedWidth(column, width)); +} + +void PythonQtWrapper_QGraphicsGridLayout::setColumnMaximumWidth(QGraphicsGridLayout* theWrappedObject, int column, qreal width) +{ + ( theWrappedObject->setColumnMaximumWidth(column, width)); +} + +void PythonQtWrapper_QGraphicsGridLayout::setColumnMinimumWidth(QGraphicsGridLayout* theWrappedObject, int column, qreal width) +{ + ( theWrappedObject->setColumnMinimumWidth(column, width)); +} + +void PythonQtWrapper_QGraphicsGridLayout::setColumnPreferredWidth(QGraphicsGridLayout* theWrappedObject, int column, qreal width) +{ + ( theWrappedObject->setColumnPreferredWidth(column, width)); +} + +void PythonQtWrapper_QGraphicsGridLayout::setColumnSpacing(QGraphicsGridLayout* theWrappedObject, int column, qreal spacing) +{ + ( theWrappedObject->setColumnSpacing(column, spacing)); +} + +void PythonQtWrapper_QGraphicsGridLayout::setColumnStretchFactor(QGraphicsGridLayout* theWrappedObject, int column, int stretch) +{ + ( theWrappedObject->setColumnStretchFactor(column, stretch)); +} + +void PythonQtWrapper_QGraphicsGridLayout::setGeometry(QGraphicsGridLayout* theWrappedObject, const QRectF& rect) +{ + ( theWrappedObject->setGeometry(rect)); +} + +void PythonQtWrapper_QGraphicsGridLayout::setHorizontalSpacing(QGraphicsGridLayout* theWrappedObject, qreal spacing) +{ + ( theWrappedObject->setHorizontalSpacing(spacing)); +} + +void PythonQtWrapper_QGraphicsGridLayout::setRowAlignment(QGraphicsGridLayout* theWrappedObject, int row, Qt::Alignment alignment) +{ + ( theWrappedObject->setRowAlignment(row, alignment)); +} + +void PythonQtWrapper_QGraphicsGridLayout::setRowFixedHeight(QGraphicsGridLayout* theWrappedObject, int row, qreal height) +{ + ( theWrappedObject->setRowFixedHeight(row, height)); +} + +void PythonQtWrapper_QGraphicsGridLayout::setRowMaximumHeight(QGraphicsGridLayout* theWrappedObject, int row, qreal height) +{ + ( theWrappedObject->setRowMaximumHeight(row, height)); +} + +void PythonQtWrapper_QGraphicsGridLayout::setRowMinimumHeight(QGraphicsGridLayout* theWrappedObject, int row, qreal height) +{ + ( theWrappedObject->setRowMinimumHeight(row, height)); +} + +void PythonQtWrapper_QGraphicsGridLayout::setRowPreferredHeight(QGraphicsGridLayout* theWrappedObject, int row, qreal height) +{ + ( theWrappedObject->setRowPreferredHeight(row, height)); +} + +void PythonQtWrapper_QGraphicsGridLayout::setRowSpacing(QGraphicsGridLayout* theWrappedObject, int row, qreal spacing) +{ + ( theWrappedObject->setRowSpacing(row, spacing)); +} + +void PythonQtWrapper_QGraphicsGridLayout::setRowStretchFactor(QGraphicsGridLayout* theWrappedObject, int row, int stretch) +{ + ( theWrappedObject->setRowStretchFactor(row, stretch)); +} + +void PythonQtWrapper_QGraphicsGridLayout::setSpacing(QGraphicsGridLayout* theWrappedObject, qreal spacing) +{ + ( theWrappedObject->setSpacing(spacing)); +} + +void PythonQtWrapper_QGraphicsGridLayout::setVerticalSpacing(QGraphicsGridLayout* theWrappedObject, qreal spacing) +{ + ( theWrappedObject->setVerticalSpacing(spacing)); +} + +QSizeF PythonQtWrapper_QGraphicsGridLayout::sizeHint(QGraphicsGridLayout* theWrappedObject, Qt::SizeHint which, const QSizeF& constraint) const +{ + return ( theWrappedObject->sizeHint(which, constraint)); +} + +qreal PythonQtWrapper_QGraphicsGridLayout::verticalSpacing(QGraphicsGridLayout* theWrappedObject) const +{ + return ( theWrappedObject->verticalSpacing()); +} + + + +void PythonQtShell_QGraphicsItem::advance(int phase) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "advance"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&phase}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QGraphicsItem::advance(phase); +} +QRectF PythonQtShell_QGraphicsItem::boundingRect() const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "boundingRect"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QRectF"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QRectF returnValue; + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("boundingRect", methodInfo, result); + } else { + returnValue = *((QRectF*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QRectF(); +} +bool PythonQtShell_QGraphicsItem::collidesWithItem(const QGraphicsItem* other, Qt::ItemSelectionMode mode) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "collidesWithItem"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "const QGraphicsItem*" , "Qt::ItemSelectionMode"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue; + void* args[3] = {NULL, (void*)&other, (void*)&mode}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("collidesWithItem", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QGraphicsItem::collidesWithItem(other, mode); +} +bool PythonQtShell_QGraphicsItem::collidesWithPath(const QPainterPath& path, Qt::ItemSelectionMode mode) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "collidesWithPath"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "const QPainterPath&" , "Qt::ItemSelectionMode"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue; + void* args[3] = {NULL, (void*)&path, (void*)&mode}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("collidesWithPath", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QGraphicsItem::collidesWithPath(path, mode); +} +bool PythonQtShell_QGraphicsItem::contains(const QPointF& point) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "contains"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "const QPointF&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue; + void* args[2] = {NULL, (void*)&point}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("contains", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QGraphicsItem::contains(point); +} +void PythonQtShell_QGraphicsItem::contextMenuEvent(QGraphicsSceneContextMenuEvent* event) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "contextMenuEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QGraphicsSceneContextMenuEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&event}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QGraphicsItem::contextMenuEvent(event); +} +void PythonQtShell_QGraphicsItem::dragEnterEvent(QGraphicsSceneDragDropEvent* event) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dragEnterEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QGraphicsSceneDragDropEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&event}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QGraphicsItem::dragEnterEvent(event); +} +void PythonQtShell_QGraphicsItem::dragLeaveEvent(QGraphicsSceneDragDropEvent* event) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dragLeaveEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QGraphicsSceneDragDropEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&event}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QGraphicsItem::dragLeaveEvent(event); +} +void PythonQtShell_QGraphicsItem::dragMoveEvent(QGraphicsSceneDragDropEvent* event) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dragMoveEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QGraphicsSceneDragDropEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&event}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QGraphicsItem::dragMoveEvent(event); +} +void PythonQtShell_QGraphicsItem::dropEvent(QGraphicsSceneDragDropEvent* event) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dropEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QGraphicsSceneDragDropEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&event}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QGraphicsItem::dropEvent(event); +} +QVariant PythonQtShell_QGraphicsItem::extension(const QVariant& variant) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "extension"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QVariant" , "const QVariant&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + QVariant returnValue; + void* args[2] = {NULL, (void*)&variant}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("extension", methodInfo, result); + } else { + returnValue = *((QVariant*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QGraphicsItem::extension(variant); +} +void PythonQtShell_QGraphicsItem::focusInEvent(QFocusEvent* event) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "focusInEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QFocusEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&event}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QGraphicsItem::focusInEvent(event); +} +void PythonQtShell_QGraphicsItem::focusOutEvent(QFocusEvent* event) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "focusOutEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QFocusEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&event}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QGraphicsItem::focusOutEvent(event); +} +void PythonQtShell_QGraphicsItem::hoverEnterEvent(QGraphicsSceneHoverEvent* event) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "hoverEnterEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QGraphicsSceneHoverEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&event}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QGraphicsItem::hoverEnterEvent(event); +} +void PythonQtShell_QGraphicsItem::hoverLeaveEvent(QGraphicsSceneHoverEvent* event) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "hoverLeaveEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QGraphicsSceneHoverEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&event}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QGraphicsItem::hoverLeaveEvent(event); +} +void PythonQtShell_QGraphicsItem::hoverMoveEvent(QGraphicsSceneHoverEvent* event) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "hoverMoveEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QGraphicsSceneHoverEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&event}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QGraphicsItem::hoverMoveEvent(event); +} +void PythonQtShell_QGraphicsItem::inputMethodEvent(QInputMethodEvent* event) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "inputMethodEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QInputMethodEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&event}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QGraphicsItem::inputMethodEvent(event); +} +QVariant PythonQtShell_QGraphicsItem::inputMethodQuery(Qt::InputMethodQuery query) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "inputMethodQuery"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QVariant" , "Qt::InputMethodQuery"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + QVariant returnValue; + void* args[2] = {NULL, (void*)&query}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result); + } else { + returnValue = *((QVariant*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QGraphicsItem::inputMethodQuery(query); +} +bool PythonQtShell_QGraphicsItem::isObscuredBy(const QGraphicsItem* item) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "isObscuredBy"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "const QGraphicsItem*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue; + void* args[2] = {NULL, (void*)&item}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("isObscuredBy", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QGraphicsItem::isObscuredBy(item); +} +QVariant PythonQtShell_QGraphicsItem::itemChange(QGraphicsItem::GraphicsItemChange change, const QVariant& value) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "itemChange"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QVariant" , "QGraphicsItem::GraphicsItemChange" , "const QVariant&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + QVariant returnValue; + void* args[3] = {NULL, (void*)&change, (void*)&value}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("itemChange", methodInfo, result); + } else { + returnValue = *((QVariant*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QGraphicsItem::itemChange(change, value); +} +void PythonQtShell_QGraphicsItem::keyPressEvent(QKeyEvent* event) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "keyPressEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QKeyEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&event}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QGraphicsItem::keyPressEvent(event); +} +void PythonQtShell_QGraphicsItem::keyReleaseEvent(QKeyEvent* event) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "keyReleaseEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QKeyEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&event}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QGraphicsItem::keyReleaseEvent(event); +} +void PythonQtShell_QGraphicsItem::mouseDoubleClickEvent(QGraphicsSceneMouseEvent* event) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mouseDoubleClickEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QGraphicsSceneMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&event}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QGraphicsItem::mouseDoubleClickEvent(event); +} +void PythonQtShell_QGraphicsItem::mouseMoveEvent(QGraphicsSceneMouseEvent* event) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mouseMoveEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QGraphicsSceneMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&event}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QGraphicsItem::mouseMoveEvent(event); +} +void PythonQtShell_QGraphicsItem::mousePressEvent(QGraphicsSceneMouseEvent* event) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mousePressEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QGraphicsSceneMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&event}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QGraphicsItem::mousePressEvent(event); +} +void PythonQtShell_QGraphicsItem::mouseReleaseEvent(QGraphicsSceneMouseEvent* event) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mouseReleaseEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QGraphicsSceneMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&event}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QGraphicsItem::mouseReleaseEvent(event); +} +QPainterPath PythonQtShell_QGraphicsItem::opaqueArea() const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "opaqueArea"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QPainterPath"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QPainterPath returnValue; + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("opaqueArea", methodInfo, result); + } else { + returnValue = *((QPainterPath*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QGraphicsItem::opaqueArea(); +} +void PythonQtShell_QGraphicsItem::paint(QPainter* painter, const QStyleOptionGraphicsItem* option, QWidget* widget) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "paint"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QPainter*" , "const QStyleOptionGraphicsItem*" , "QWidget*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + void* args[4] = {NULL, (void*)&painter, (void*)&option, (void*)&widget}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + +} +bool PythonQtShell_QGraphicsItem::sceneEvent(QEvent* event) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "sceneEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue; + void* args[2] = {NULL, (void*)&event}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("sceneEvent", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QGraphicsItem::sceneEvent(event); +} +bool PythonQtShell_QGraphicsItem::sceneEventFilter(QGraphicsItem* watched, QEvent* event) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "sceneEventFilter"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "QGraphicsItem*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue; + void* args[3] = {NULL, (void*)&watched, (void*)&event}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("sceneEventFilter", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QGraphicsItem::sceneEventFilter(watched, event); +} +void PythonQtShell_QGraphicsItem::setExtension(QGraphicsItem::Extension extension, const QVariant& variant) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "setExtension"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QGraphicsItem::Extension" , "const QVariant&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + void* args[3] = {NULL, (void*)&extension, (void*)&variant}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QGraphicsItem::setExtension(extension, variant); +} +QPainterPath PythonQtShell_QGraphicsItem::shape() const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "shape"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QPainterPath"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QPainterPath returnValue; + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("shape", methodInfo, result); + } else { + returnValue = *((QPainterPath*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QGraphicsItem::shape(); +} +bool PythonQtShell_QGraphicsItem::supportsExtension(QGraphicsItem::Extension extension) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "supportsExtension"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "QGraphicsItem::Extension"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue; + void* args[2] = {NULL, (void*)&extension}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("supportsExtension", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QGraphicsItem::supportsExtension(extension); +} +int PythonQtShell_QGraphicsItem::type() const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "type"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + int returnValue; + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("type", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QGraphicsItem::type(); +} +void PythonQtShell_QGraphicsItem::wheelEvent(QGraphicsSceneWheelEvent* event) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "wheelEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QGraphicsSceneWheelEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&event}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QGraphicsItem::wheelEvent(event); +} +QGraphicsItem* PythonQtWrapper_QGraphicsItem::new_QGraphicsItem(QGraphicsItem* parent, QGraphicsScene* scene) +{ +return new PythonQtShell_QGraphicsItem(parent, scene); } + +bool PythonQtWrapper_QGraphicsItem::acceptDrops(QGraphicsItem* theWrappedObject) const +{ + return ( theWrappedObject->acceptDrops()); +} + +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()); +} + +bool PythonQtWrapper_QGraphicsItem::acceptsHoverEvents(QGraphicsItem* theWrappedObject) const +{ + return ( theWrappedObject->acceptsHoverEvents()); +} + +void PythonQtWrapper_QGraphicsItem::advance(QGraphicsItem* theWrappedObject, int phase) +{ + ( ((PythonQtPublicPromoter_QGraphicsItem*)theWrappedObject)->promoted_advance(phase)); +} + +QRegion PythonQtWrapper_QGraphicsItem::boundingRegion(QGraphicsItem* theWrappedObject, const QTransform& itemToDeviceTransform) const +{ + return ( theWrappedObject->boundingRegion(itemToDeviceTransform)); +} + +qreal PythonQtWrapper_QGraphicsItem::boundingRegionGranularity(QGraphicsItem* theWrappedObject) const +{ + return ( theWrappedObject->boundingRegionGranularity()); +} + +QGraphicsItem::CacheMode PythonQtWrapper_QGraphicsItem::cacheMode(QGraphicsItem* theWrappedObject) const +{ + return ( theWrappedObject->cacheMode()); +} + +QList PythonQtWrapper_QGraphicsItem::childItems(QGraphicsItem* theWrappedObject) const +{ + return ( theWrappedObject->childItems()); +} + +QRectF PythonQtWrapper_QGraphicsItem::childrenBoundingRect(QGraphicsItem* theWrappedObject) const +{ + return ( theWrappedObject->childrenBoundingRect()); +} + +void PythonQtWrapper_QGraphicsItem::clearFocus(QGraphicsItem* theWrappedObject) +{ + ( theWrappedObject->clearFocus()); +} + +QPainterPath PythonQtWrapper_QGraphicsItem::clipPath(QGraphicsItem* theWrappedObject) const +{ + return ( theWrappedObject->clipPath()); +} + +bool PythonQtWrapper_QGraphicsItem::collidesWithItem(QGraphicsItem* theWrappedObject, const QGraphicsItem* other, Qt::ItemSelectionMode mode) const +{ + return ( ((PythonQtPublicPromoter_QGraphicsItem*)theWrappedObject)->promoted_collidesWithItem(other, mode)); +} + +bool PythonQtWrapper_QGraphicsItem::collidesWithPath(QGraphicsItem* theWrappedObject, const QPainterPath& path, Qt::ItemSelectionMode mode) const +{ + return ( ((PythonQtPublicPromoter_QGraphicsItem*)theWrappedObject)->promoted_collidesWithPath(path, mode)); +} + +QList PythonQtWrapper_QGraphicsItem::collidingItems(QGraphicsItem* theWrappedObject, Qt::ItemSelectionMode mode) const +{ + return ( theWrappedObject->collidingItems(mode)); +} + +QGraphicsItem* PythonQtWrapper_QGraphicsItem::commonAncestorItem(QGraphicsItem* theWrappedObject, const QGraphicsItem* other) const +{ + return ( theWrappedObject->commonAncestorItem(other)); +} + +bool PythonQtWrapper_QGraphicsItem::contains(QGraphicsItem* theWrappedObject, const QPointF& point) const +{ + return ( ((PythonQtPublicPromoter_QGraphicsItem*)theWrappedObject)->promoted_contains(point)); +} + +void PythonQtWrapper_QGraphicsItem::contextMenuEvent(QGraphicsItem* theWrappedObject, QGraphicsSceneContextMenuEvent* event) +{ + ( ((PythonQtPublicPromoter_QGraphicsItem*)theWrappedObject)->promoted_contextMenuEvent(event)); +} + +QCursor PythonQtWrapper_QGraphicsItem::cursor(QGraphicsItem* theWrappedObject) const +{ + 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 +{ + return ( theWrappedObject->isObscured()); +} + +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 ( ((PythonQtPublicPromoter_QGraphicsItem*)theWrappedObject)->promoted_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 ( ((PythonQtPublicPromoter_QGraphicsItem*)theWrappedObject)->promoted_opaqueArea()); +} + +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::removeSceneEventFilter(QGraphicsItem* theWrappedObject, QGraphicsItem* filterItem) +{ + ( theWrappedObject->removeSceneEventFilter(filterItem)); +} + +void PythonQtWrapper_QGraphicsItem::resetTransform(QGraphicsItem* theWrappedObject) +{ + ( theWrappedObject->resetTransform()); +} + +void PythonQtWrapper_QGraphicsItem::rotate(QGraphicsItem* theWrappedObject, qreal angle) +{ + ( theWrappedObject->rotate(angle)); +} + +qreal PythonQtWrapper_QGraphicsItem::rotation(QGraphicsItem* theWrappedObject) const +{ + return ( theWrappedObject->rotation()); +} + +qreal PythonQtWrapper_QGraphicsItem::scale(QGraphicsItem* theWrappedObject) const +{ + return ( theWrappedObject->scale()); +} + +void PythonQtWrapper_QGraphicsItem::scale(QGraphicsItem* theWrappedObject, qreal sx, qreal sy) +{ + ( theWrappedObject->scale(sx, sy)); +} + +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::setAcceptsHoverEvents(QGraphicsItem* theWrappedObject, bool enabled) +{ + ( theWrappedObject->setAcceptsHoverEvents(enabled)); +} + +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::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)); +} + +void PythonQtWrapper_QGraphicsItem::setGroup(QGraphicsItem* theWrappedObject, QGraphicsItemGroup* group) +{ + ( theWrappedObject->setGroup(group)); +} + +void PythonQtWrapper_QGraphicsItem::setHandlesChildEvents(QGraphicsItem* theWrappedObject, bool enabled) +{ + ( theWrappedObject->setHandlesChildEvents(enabled)); +} + +void PythonQtWrapper_QGraphicsItem::setInputMethodHints(QGraphicsItem* theWrappedObject, Qt::InputMethodHints hints) +{ + ( theWrappedObject->setInputMethodHints(hints)); +} + +void PythonQtWrapper_QGraphicsItem::setOpacity(QGraphicsItem* theWrappedObject, qreal opacity) +{ + ( theWrappedObject->setOpacity(opacity)); +} + +void PythonQtWrapper_QGraphicsItem::setPanelModality(QGraphicsItem* theWrappedObject, QGraphicsItem::PanelModality panelModality) +{ + ( theWrappedObject->setPanelModality(panelModality)); +} + +void PythonQtWrapper_QGraphicsItem::setParentItem(QGraphicsItem* theWrappedObject, QGraphicsItem* 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)); +} + +void PythonQtWrapper_QGraphicsItem::setRotation(QGraphicsItem* theWrappedObject, qreal angle) +{ + ( theWrappedObject->setRotation(angle)); +} + +void PythonQtWrapper_QGraphicsItem::setScale(QGraphicsItem* theWrappedObject, qreal scale) +{ + ( theWrappedObject->setScale(scale)); +} + +void PythonQtWrapper_QGraphicsItem::setSelected(QGraphicsItem* theWrappedObject, bool selected) +{ + ( theWrappedObject->setSelected(selected)); +} + +void PythonQtWrapper_QGraphicsItem::setToolTip(QGraphicsItem* theWrappedObject, const QString& toolTip) +{ + ( theWrappedObject->setToolTip(toolTip)); +} + +void PythonQtWrapper_QGraphicsItem::setTransform(QGraphicsItem* theWrappedObject, const QTransform& matrix, bool combine) +{ + ( theWrappedObject->setTransform(matrix, combine)); +} + +void PythonQtWrapper_QGraphicsItem::setTransformOriginPoint(QGraphicsItem* theWrappedObject, const QPointF& origin) +{ + ( theWrappedObject->setTransformOriginPoint(origin)); +} + +void PythonQtWrapper_QGraphicsItem::setTransformOriginPoint(QGraphicsItem* theWrappedObject, qreal ax, qreal ay) +{ + ( theWrappedObject->setTransformOriginPoint(ax, ay)); +} + +void PythonQtWrapper_QGraphicsItem::setTransformations(QGraphicsItem* theWrappedObject, const QList& transformations) +{ + ( theWrappedObject->setTransformations(transformations)); +} + +void PythonQtWrapper_QGraphicsItem::setVisible(QGraphicsItem* theWrappedObject, bool visible) +{ + ( theWrappedObject->setVisible(visible)); +} + +void PythonQtWrapper_QGraphicsItem::setX(QGraphicsItem* theWrappedObject, qreal x) +{ + ( theWrappedObject->setX(x)); +} + +void PythonQtWrapper_QGraphicsItem::setY(QGraphicsItem* theWrappedObject, qreal y) +{ + ( theWrappedObject->setY(y)); +} + +void PythonQtWrapper_QGraphicsItem::setZValue(QGraphicsItem* theWrappedObject, qreal z) +{ + ( theWrappedObject->setZValue(z)); +} + +QPainterPath PythonQtWrapper_QGraphicsItem::shape(QGraphicsItem* theWrappedObject) const +{ + return ( ((PythonQtPublicPromoter_QGraphicsItem*)theWrappedObject)->promoted_shape()); +} + +void PythonQtWrapper_QGraphicsItem::shear(QGraphicsItem* theWrappedObject, qreal sh, qreal sv) +{ + ( theWrappedObject->shear(sh, sv)); +} + +void PythonQtWrapper_QGraphicsItem::show(QGraphicsItem* theWrappedObject) +{ + ( theWrappedObject->show()); +} + +void PythonQtWrapper_QGraphicsItem::stackBefore(QGraphicsItem* theWrappedObject, const QGraphicsItem* sibling) +{ + ( theWrappedObject->stackBefore(sibling)); +} + +QGraphicsObject* PythonQtWrapper_QGraphicsItem::toGraphicsObject(QGraphicsItem* theWrappedObject) +{ + return ( theWrappedObject->toGraphicsObject()); +} + +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()); +} + +QPointF PythonQtWrapper_QGraphicsItem::transformOriginPoint(QGraphicsItem* theWrappedObject) const +{ + return ( theWrappedObject->transformOriginPoint()); +} + +QList PythonQtWrapper_QGraphicsItem::transformations(QGraphicsItem* theWrappedObject) const +{ + return ( theWrappedObject->transformations()); +} + +void PythonQtWrapper_QGraphicsItem::translate(QGraphicsItem* theWrappedObject, qreal dx, qreal dy) +{ + ( theWrappedObject->translate(dx, dy)); +} + +int PythonQtWrapper_QGraphicsItem::type(QGraphicsItem* theWrappedObject) const +{ + return ( ((PythonQtPublicPromoter_QGraphicsItem*)theWrappedObject)->promoted_type()); +} + +void PythonQtWrapper_QGraphicsItem::ungrabKeyboard(QGraphicsItem* theWrappedObject) +{ + ( theWrappedObject->ungrabKeyboard()); +} + +void PythonQtWrapper_QGraphicsItem::ungrabMouse(QGraphicsItem* theWrappedObject) +{ + ( theWrappedObject->ungrabMouse()); +} + +void PythonQtWrapper_QGraphicsItem::unsetCursor(QGraphicsItem* theWrappedObject) +{ + ( theWrappedObject->unsetCursor()); +} + +void PythonQtWrapper_QGraphicsItem::update(QGraphicsItem* theWrappedObject, const QRectF& rect) +{ + ( theWrappedObject->update(rect)); +} + +void PythonQtWrapper_QGraphicsItem::update(QGraphicsItem* theWrappedObject, qreal x, qreal y, qreal width, qreal height) +{ + ( theWrappedObject->update(x, y, width, height)); +} + +void PythonQtWrapper_QGraphicsItem::wheelEvent(QGraphicsItem* theWrappedObject, QGraphicsSceneWheelEvent* event) +{ + ( ((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()); +} + +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; +} + + + +void PythonQtShell_QGraphicsItemAnimation::afterAnimationStep(qreal step) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "afterAnimationStep"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "qreal"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&step}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QGraphicsItemAnimation::afterAnimationStep(step); +} +void PythonQtShell_QGraphicsItemAnimation::beforeAnimationStep(qreal step) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "beforeAnimationStep"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "qreal"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&step}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QGraphicsItemAnimation::beforeAnimationStep(step); +} +void PythonQtShell_QGraphicsItemAnimation::childEvent(QChildEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "childEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QChildEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QGraphicsItemAnimation::childEvent(arg__1); +} +void PythonQtShell_QGraphicsItemAnimation::customEvent(QEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "customEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QGraphicsItemAnimation::customEvent(arg__1); +} +bool PythonQtShell_QGraphicsItemAnimation::event(QEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "event"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue; + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QGraphicsItemAnimation::event(arg__1); +} +bool PythonQtShell_QGraphicsItemAnimation::eventFilter(QObject* arg__1, QEvent* arg__2) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "eventFilter"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue; + void* args[3] = {NULL, (void*)&arg__1, (void*)&arg__2}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QGraphicsItemAnimation::eventFilter(arg__1, arg__2); +} +void PythonQtShell_QGraphicsItemAnimation::timerEvent(QTimerEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "timerEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QTimerEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QGraphicsItemAnimation::timerEvent(arg__1); +} +QGraphicsItemAnimation* PythonQtWrapper_QGraphicsItemAnimation::new_QGraphicsItemAnimation(QObject* parent) +{ +return new PythonQtShell_QGraphicsItemAnimation(parent); } + +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()); +} + +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)); +} + + + +void PythonQtShell_QGraphicsItemGroup::advance(int phase) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "advance"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&phase}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QGraphicsItemGroup::advance(phase); +} +QRectF PythonQtShell_QGraphicsItemGroup::boundingRect() const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "boundingRect"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QRectF"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QRectF returnValue; + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("boundingRect", methodInfo, result); + } else { + returnValue = *((QRectF*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QGraphicsItemGroup::boundingRect(); +} +bool PythonQtShell_QGraphicsItemGroup::collidesWithItem(const QGraphicsItem* other, Qt::ItemSelectionMode mode) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "collidesWithItem"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "const QGraphicsItem*" , "Qt::ItemSelectionMode"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue; + void* args[3] = {NULL, (void*)&other, (void*)&mode}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("collidesWithItem", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QGraphicsItemGroup::collidesWithItem(other, mode); +} +bool PythonQtShell_QGraphicsItemGroup::collidesWithPath(const QPainterPath& path, Qt::ItemSelectionMode mode) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "collidesWithPath"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "const QPainterPath&" , "Qt::ItemSelectionMode"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue; + void* args[3] = {NULL, (void*)&path, (void*)&mode}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("collidesWithPath", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QGraphicsItemGroup::collidesWithPath(path, mode); +} +bool PythonQtShell_QGraphicsItemGroup::contains(const QPointF& point) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "contains"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "const QPointF&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue; + void* args[2] = {NULL, (void*)&point}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("contains", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QGraphicsItemGroup::contains(point); +} +void PythonQtShell_QGraphicsItemGroup::contextMenuEvent(QGraphicsSceneContextMenuEvent* event) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "contextMenuEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QGraphicsSceneContextMenuEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&event}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QGraphicsItemGroup::contextMenuEvent(event); +} +void PythonQtShell_QGraphicsItemGroup::dragEnterEvent(QGraphicsSceneDragDropEvent* event) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dragEnterEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QGraphicsSceneDragDropEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&event}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QGraphicsItemGroup::dragEnterEvent(event); +} +void PythonQtShell_QGraphicsItemGroup::dragLeaveEvent(QGraphicsSceneDragDropEvent* event) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dragLeaveEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QGraphicsSceneDragDropEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&event}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QGraphicsItemGroup::dragLeaveEvent(event); +} +void PythonQtShell_QGraphicsItemGroup::dragMoveEvent(QGraphicsSceneDragDropEvent* event) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dragMoveEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QGraphicsSceneDragDropEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&event}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QGraphicsItemGroup::dragMoveEvent(event); +} +void PythonQtShell_QGraphicsItemGroup::dropEvent(QGraphicsSceneDragDropEvent* event) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dropEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QGraphicsSceneDragDropEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&event}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QGraphicsItemGroup::dropEvent(event); +} +QVariant PythonQtShell_QGraphicsItemGroup::extension(const QVariant& variant) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "extension"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QVariant" , "const QVariant&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + QVariant returnValue; + void* args[2] = {NULL, (void*)&variant}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("extension", methodInfo, result); + } else { + returnValue = *((QVariant*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QGraphicsItemGroup::extension(variant); +} +void PythonQtShell_QGraphicsItemGroup::focusInEvent(QFocusEvent* event) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "focusInEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QFocusEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&event}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QGraphicsItemGroup::focusInEvent(event); +} +void PythonQtShell_QGraphicsItemGroup::focusOutEvent(QFocusEvent* event) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "focusOutEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QFocusEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&event}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QGraphicsItemGroup::focusOutEvent(event); +} +void PythonQtShell_QGraphicsItemGroup::hoverEnterEvent(QGraphicsSceneHoverEvent* event) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "hoverEnterEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QGraphicsSceneHoverEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&event}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QGraphicsItemGroup::hoverEnterEvent(event); +} +void PythonQtShell_QGraphicsItemGroup::hoverLeaveEvent(QGraphicsSceneHoverEvent* event) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "hoverLeaveEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QGraphicsSceneHoverEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&event}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QGraphicsItemGroup::hoverLeaveEvent(event); +} +void PythonQtShell_QGraphicsItemGroup::hoverMoveEvent(QGraphicsSceneHoverEvent* event) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "hoverMoveEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QGraphicsSceneHoverEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&event}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QGraphicsItemGroup::hoverMoveEvent(event); +} +void PythonQtShell_QGraphicsItemGroup::inputMethodEvent(QInputMethodEvent* event) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "inputMethodEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QInputMethodEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&event}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QGraphicsItemGroup::inputMethodEvent(event); +} +QVariant PythonQtShell_QGraphicsItemGroup::inputMethodQuery(Qt::InputMethodQuery query) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "inputMethodQuery"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QVariant" , "Qt::InputMethodQuery"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + QVariant returnValue; + void* args[2] = {NULL, (void*)&query}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result); + } else { + returnValue = *((QVariant*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QGraphicsItemGroup::inputMethodQuery(query); +} +bool PythonQtShell_QGraphicsItemGroup::isObscuredBy(const QGraphicsItem* item) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "isObscuredBy"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "const QGraphicsItem*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue; + void* args[2] = {NULL, (void*)&item}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("isObscuredBy", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QGraphicsItemGroup::isObscuredBy(item); +} +QVariant PythonQtShell_QGraphicsItemGroup::itemChange(QGraphicsItem::GraphicsItemChange change, const QVariant& value) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "itemChange"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QVariant" , "QGraphicsItem::GraphicsItemChange" , "const QVariant&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + QVariant returnValue; + void* args[3] = {NULL, (void*)&change, (void*)&value}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("itemChange", methodInfo, result); + } else { + returnValue = *((QVariant*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QGraphicsItemGroup::itemChange(change, value); +} +void PythonQtShell_QGraphicsItemGroup::keyPressEvent(QKeyEvent* event) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "keyPressEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QKeyEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&event}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QGraphicsItemGroup::keyPressEvent(event); +} +void PythonQtShell_QGraphicsItemGroup::keyReleaseEvent(QKeyEvent* event) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "keyReleaseEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QKeyEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&event}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QGraphicsItemGroup::keyReleaseEvent(event); +} +void PythonQtShell_QGraphicsItemGroup::mouseDoubleClickEvent(QGraphicsSceneMouseEvent* event) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mouseDoubleClickEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QGraphicsSceneMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&event}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QGraphicsItemGroup::mouseDoubleClickEvent(event); +} +void PythonQtShell_QGraphicsItemGroup::mouseMoveEvent(QGraphicsSceneMouseEvent* event) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mouseMoveEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QGraphicsSceneMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&event}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QGraphicsItemGroup::mouseMoveEvent(event); +} +void PythonQtShell_QGraphicsItemGroup::mousePressEvent(QGraphicsSceneMouseEvent* event) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mousePressEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QGraphicsSceneMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&event}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QGraphicsItemGroup::mousePressEvent(event); +} +void PythonQtShell_QGraphicsItemGroup::mouseReleaseEvent(QGraphicsSceneMouseEvent* event) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mouseReleaseEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QGraphicsSceneMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&event}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QGraphicsItemGroup::mouseReleaseEvent(event); +} +QPainterPath PythonQtShell_QGraphicsItemGroup::opaqueArea() const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "opaqueArea"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QPainterPath"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QPainterPath returnValue; + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("opaqueArea", methodInfo, result); + } else { + returnValue = *((QPainterPath*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QGraphicsItemGroup::opaqueArea(); +} +void PythonQtShell_QGraphicsItemGroup::paint(QPainter* painter, const QStyleOptionGraphicsItem* option, QWidget* widget) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "paint"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QPainter*" , "const QStyleOptionGraphicsItem*" , "QWidget*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + void* args[4] = {NULL, (void*)&painter, (void*)&option, (void*)&widget}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QGraphicsItemGroup::paint(painter, option, widget); +} +bool PythonQtShell_QGraphicsItemGroup::sceneEvent(QEvent* event) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "sceneEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue; + void* args[2] = {NULL, (void*)&event}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("sceneEvent", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QGraphicsItemGroup::sceneEvent(event); +} +bool PythonQtShell_QGraphicsItemGroup::sceneEventFilter(QGraphicsItem* watched, QEvent* event) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "sceneEventFilter"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "QGraphicsItem*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue; + void* args[3] = {NULL, (void*)&watched, (void*)&event}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("sceneEventFilter", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QGraphicsItemGroup::sceneEventFilter(watched, event); +} +void PythonQtShell_QGraphicsItemGroup::setExtension(QGraphicsItem::Extension extension, const QVariant& variant) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "setExtension"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QGraphicsItem::Extension" , "const QVariant&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + void* args[3] = {NULL, (void*)&extension, (void*)&variant}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QGraphicsItemGroup::setExtension(extension, variant); +} +QPainterPath PythonQtShell_QGraphicsItemGroup::shape() const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "shape"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QPainterPath"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QPainterPath returnValue; + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("shape", methodInfo, result); + } else { + returnValue = *((QPainterPath*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QGraphicsItemGroup::shape(); +} +bool PythonQtShell_QGraphicsItemGroup::supportsExtension(QGraphicsItem::Extension extension) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "supportsExtension"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "QGraphicsItem::Extension"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue; + void* args[2] = {NULL, (void*)&extension}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("supportsExtension", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QGraphicsItemGroup::supportsExtension(extension); +} +int PythonQtShell_QGraphicsItemGroup::type() const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "type"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + int returnValue; + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("type", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QGraphicsItemGroup::type(); +} +void PythonQtShell_QGraphicsItemGroup::wheelEvent(QGraphicsSceneWheelEvent* event) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "wheelEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QGraphicsSceneWheelEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&event}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QGraphicsItemGroup::wheelEvent(event); +} +QGraphicsItemGroup* PythonQtWrapper_QGraphicsItemGroup::new_QGraphicsItemGroup(QGraphicsItem* parent, QGraphicsScene* scene) +{ +return new PythonQtShell_QGraphicsItemGroup(parent, scene); } + +void PythonQtWrapper_QGraphicsItemGroup::addToGroup(QGraphicsItemGroup* theWrappedObject, QGraphicsItem* item) +{ + ( theWrappedObject->addToGroup(item)); +} + +QRectF PythonQtWrapper_QGraphicsItemGroup::boundingRect(QGraphicsItemGroup* theWrappedObject) const +{ + return ( ((PythonQtPublicPromoter_QGraphicsItemGroup*)theWrappedObject)->promoted_boundingRect()); +} + +bool PythonQtWrapper_QGraphicsItemGroup::isObscuredBy(QGraphicsItemGroup* theWrappedObject, const QGraphicsItem* item) const +{ + return ( ((PythonQtPublicPromoter_QGraphicsItemGroup*)theWrappedObject)->promoted_isObscuredBy(item)); +} + +QPainterPath PythonQtWrapper_QGraphicsItemGroup::opaqueArea(QGraphicsItemGroup* theWrappedObject) const +{ + return ( ((PythonQtPublicPromoter_QGraphicsItemGroup*)theWrappedObject)->promoted_opaqueArea()); +} + +void PythonQtWrapper_QGraphicsItemGroup::paint(QGraphicsItemGroup* theWrappedObject, QPainter* painter, const QStyleOptionGraphicsItem* option, QWidget* widget) +{ + ( ((PythonQtPublicPromoter_QGraphicsItemGroup*)theWrappedObject)->promoted_paint(painter, option, widget)); +} + +void PythonQtWrapper_QGraphicsItemGroup::removeFromGroup(QGraphicsItemGroup* theWrappedObject, QGraphicsItem* item) +{ + ( theWrappedObject->removeFromGroup(item)); +} + +int PythonQtWrapper_QGraphicsItemGroup::type(QGraphicsItemGroup* theWrappedObject) const +{ + return ( ((PythonQtPublicPromoter_QGraphicsItemGroup*)theWrappedObject)->promoted_type()); +} + + + +int PythonQtShell_QGraphicsLayout::count() const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "count"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + int returnValue; + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("count", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return int(); +} +void PythonQtShell_QGraphicsLayout::getContentsMargins(qreal* left, qreal* top, qreal* right, qreal* bottom) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "getContentsMargins"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "qreal*" , "qreal*" , "qreal*" , "qreal*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(5, argumentList); + void* args[5] = {NULL, (void*)&left, (void*)&top, (void*)&right, (void*)&bottom}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QGraphicsLayout::getContentsMargins(left, top, right, bottom); +} +void PythonQtShell_QGraphicsLayout::invalidate() +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "invalidate"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={""}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QGraphicsLayout::invalidate(); +} +QGraphicsLayoutItem* PythonQtShell_QGraphicsLayout::itemAt(int i) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "itemAt"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QGraphicsLayoutItem*" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + QGraphicsLayoutItem* returnValue; + void* args[2] = {NULL, (void*)&i}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("itemAt", methodInfo, result); + } else { + returnValue = *((QGraphicsLayoutItem**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return 0; +} +void PythonQtShell_QGraphicsLayout::removeAt(int index) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "removeAt"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&index}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + +} +void PythonQtShell_QGraphicsLayout::setGeometry(const QRectF& rect) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "setGeometry"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "const QRectF&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&rect}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QGraphicsLayout::setGeometry(rect); +} +QSizeF PythonQtShell_QGraphicsLayout::sizeHint(Qt::SizeHint which, const QSizeF& constraint) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "sizeHint"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QSizeF" , "Qt::SizeHint" , "const QSizeF&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + QSizeF returnValue; + void* args[3] = {NULL, (void*)&which, (void*)&constraint}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("sizeHint", methodInfo, result); + } else { + returnValue = *((QSizeF*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QSizeF(); +} +void PythonQtShell_QGraphicsLayout::updateGeometry() +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "updateGeometry"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={""}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QGraphicsLayout::updateGeometry(); +} +void PythonQtShell_QGraphicsLayout::widgetEvent(QEvent* e) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "widgetEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&e}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QGraphicsLayout::widgetEvent(e); +} +QGraphicsLayout* PythonQtWrapper_QGraphicsLayout::new_QGraphicsLayout(QGraphicsLayoutItem* parent) +{ +return new PythonQtShell_QGraphicsLayout(parent); } + +void PythonQtWrapper_QGraphicsLayout::activate(QGraphicsLayout* theWrappedObject) +{ + ( theWrappedObject->activate()); +} + +void PythonQtWrapper_QGraphicsLayout::getContentsMargins(QGraphicsLayout* theWrappedObject, qreal* left, qreal* top, qreal* right, qreal* bottom) const +{ + ( ((PythonQtPublicPromoter_QGraphicsLayout*)theWrappedObject)->promoted_getContentsMargins(left, top, right, bottom)); +} + +void PythonQtWrapper_QGraphicsLayout::invalidate(QGraphicsLayout* theWrappedObject) +{ + ( ((PythonQtPublicPromoter_QGraphicsLayout*)theWrappedObject)->promoted_invalidate()); +} + +bool PythonQtWrapper_QGraphicsLayout::isActivated(QGraphicsLayout* theWrappedObject) const +{ + return ( theWrappedObject->isActivated()); +} + +void PythonQtWrapper_QGraphicsLayout::setContentsMargins(QGraphicsLayout* theWrappedObject, qreal left, qreal top, qreal right, qreal bottom) +{ + ( theWrappedObject->setContentsMargins(left, top, right, bottom)); +} + +void PythonQtWrapper_QGraphicsLayout::updateGeometry(QGraphicsLayout* theWrappedObject) +{ + ( ((PythonQtPublicPromoter_QGraphicsLayout*)theWrappedObject)->promoted_updateGeometry()); +} + +void PythonQtWrapper_QGraphicsLayout::widgetEvent(QGraphicsLayout* theWrappedObject, QEvent* e) +{ + ( ((PythonQtPublicPromoter_QGraphicsLayout*)theWrappedObject)->promoted_widgetEvent(e)); +} + + + +void PythonQtShell_QGraphicsLayoutItem::getContentsMargins(qreal* left, qreal* top, qreal* right, qreal* bottom) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "getContentsMargins"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "qreal*" , "qreal*" , "qreal*" , "qreal*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(5, argumentList); + void* args[5] = {NULL, (void*)&left, (void*)&top, (void*)&right, (void*)&bottom}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QGraphicsLayoutItem::getContentsMargins(left, top, right, bottom); +} +void PythonQtShell_QGraphicsLayoutItem::setGeometry(const QRectF& rect) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "setGeometry"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "const QRectF&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&rect}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QGraphicsLayoutItem::setGeometry(rect); +} +QSizeF PythonQtShell_QGraphicsLayoutItem::sizeHint(Qt::SizeHint which, const QSizeF& constraint) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "sizeHint"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QSizeF" , "Qt::SizeHint" , "const QSizeF&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + QSizeF returnValue; + void* args[3] = {NULL, (void*)&which, (void*)&constraint}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("sizeHint", methodInfo, result); + } else { + returnValue = *((QSizeF*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QSizeF(); +} +void PythonQtShell_QGraphicsLayoutItem::updateGeometry() +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "updateGeometry"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={""}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QGraphicsLayoutItem::updateGeometry(); +} +QGraphicsLayoutItem* PythonQtWrapper_QGraphicsLayoutItem::new_QGraphicsLayoutItem(QGraphicsLayoutItem* parent, bool isLayout) +{ +return new PythonQtShell_QGraphicsLayoutItem(parent, isLayout); } + +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()); +} + +void PythonQtWrapper_QGraphicsLayoutItem::getContentsMargins(QGraphicsLayoutItem* theWrappedObject, qreal* left, qreal* top, qreal* right, qreal* bottom) const +{ + ( ((PythonQtPublicPromoter_QGraphicsLayoutItem*)theWrappedObject)->promoted_getContentsMargins(left, top, right, bottom)); +} + +QGraphicsItem* PythonQtWrapper_QGraphicsLayoutItem::graphicsItem(QGraphicsLayoutItem* theWrappedObject) const +{ + return ( theWrappedObject->graphicsItem()); +} + +bool PythonQtWrapper_QGraphicsLayoutItem::isLayout(QGraphicsLayoutItem* theWrappedObject) const +{ + return ( theWrappedObject->isLayout()); +} + +qreal PythonQtWrapper_QGraphicsLayoutItem::maximumHeight(QGraphicsLayoutItem* theWrappedObject) const +{ + return ( theWrappedObject->maximumHeight()); +} + +QSizeF PythonQtWrapper_QGraphicsLayoutItem::maximumSize(QGraphicsLayoutItem* theWrappedObject) const +{ + return ( theWrappedObject->maximumSize()); +} + +qreal PythonQtWrapper_QGraphicsLayoutItem::maximumWidth(QGraphicsLayoutItem* theWrappedObject) const +{ + return ( theWrappedObject->maximumWidth()); +} + +qreal PythonQtWrapper_QGraphicsLayoutItem::minimumHeight(QGraphicsLayoutItem* theWrappedObject) const +{ + return ( theWrappedObject->minimumHeight()); +} + +QSizeF PythonQtWrapper_QGraphicsLayoutItem::minimumSize(QGraphicsLayoutItem* theWrappedObject) const +{ + return ( theWrappedObject->minimumSize()); +} + +qreal PythonQtWrapper_QGraphicsLayoutItem::minimumWidth(QGraphicsLayoutItem* theWrappedObject) const +{ + return ( theWrappedObject->minimumWidth()); +} + +bool PythonQtWrapper_QGraphicsLayoutItem::ownedByLayout(QGraphicsLayoutItem* theWrappedObject) const +{ + 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_QGraphicsLayoutItem::setGeometry(QGraphicsLayoutItem* theWrappedObject, const QRectF& rect) +{ + ( ((PythonQtPublicPromoter_QGraphicsLayoutItem*)theWrappedObject)->promoted_setGeometry(rect)); +} + +void PythonQtWrapper_QGraphicsLayoutItem::setMaximumHeight(QGraphicsLayoutItem* theWrappedObject, qreal height) +{ + ( theWrappedObject->setMaximumHeight(height)); +} + +void PythonQtWrapper_QGraphicsLayoutItem::setMaximumSize(QGraphicsLayoutItem* theWrappedObject, const QSizeF& size) +{ + ( 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::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)); +} + +QSizePolicy PythonQtWrapper_QGraphicsLayoutItem::sizePolicy(QGraphicsLayoutItem* theWrappedObject) const +{ + return ( theWrappedObject->sizePolicy()); +} + +void PythonQtWrapper_QGraphicsLayoutItem::updateGeometry(QGraphicsLayoutItem* theWrappedObject) +{ + ( ((PythonQtPublicPromoter_QGraphicsLayoutItem*)theWrappedObject)->promoted_updateGeometry()); +} + + + +void PythonQtShell_QGraphicsLineItem::advance(int phase) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "advance"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&phase}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QGraphicsLineItem::advance(phase); +} +QRectF PythonQtShell_QGraphicsLineItem::boundingRect() const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "boundingRect"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QRectF"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QRectF returnValue; + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("boundingRect", methodInfo, result); + } else { + returnValue = *((QRectF*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QGraphicsLineItem::boundingRect(); +} +bool PythonQtShell_QGraphicsLineItem::collidesWithItem(const QGraphicsItem* other, Qt::ItemSelectionMode mode) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "collidesWithItem"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "const QGraphicsItem*" , "Qt::ItemSelectionMode"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue; + void* args[3] = {NULL, (void*)&other, (void*)&mode}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("collidesWithItem", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QGraphicsLineItem::collidesWithItem(other, mode); +} +bool PythonQtShell_QGraphicsLineItem::collidesWithPath(const QPainterPath& path, Qt::ItemSelectionMode mode) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "collidesWithPath"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "const QPainterPath&" , "Qt::ItemSelectionMode"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue; + void* args[3] = {NULL, (void*)&path, (void*)&mode}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("collidesWithPath", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QGraphicsLineItem::collidesWithPath(path, mode); +} +bool PythonQtShell_QGraphicsLineItem::contains(const QPointF& point) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "contains"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "const QPointF&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue; + void* args[2] = {NULL, (void*)&point}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("contains", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QGraphicsLineItem::contains(point); +} +void PythonQtShell_QGraphicsLineItem::contextMenuEvent(QGraphicsSceneContextMenuEvent* event) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "contextMenuEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QGraphicsSceneContextMenuEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&event}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QGraphicsLineItem::contextMenuEvent(event); +} +void PythonQtShell_QGraphicsLineItem::dragEnterEvent(QGraphicsSceneDragDropEvent* event) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dragEnterEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QGraphicsSceneDragDropEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&event}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QGraphicsLineItem::dragEnterEvent(event); +} +void PythonQtShell_QGraphicsLineItem::dragLeaveEvent(QGraphicsSceneDragDropEvent* event) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dragLeaveEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QGraphicsSceneDragDropEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&event}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QGraphicsLineItem::dragLeaveEvent(event); +} +void PythonQtShell_QGraphicsLineItem::dragMoveEvent(QGraphicsSceneDragDropEvent* event) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dragMoveEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QGraphicsSceneDragDropEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&event}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QGraphicsLineItem::dragMoveEvent(event); +} +void PythonQtShell_QGraphicsLineItem::dropEvent(QGraphicsSceneDragDropEvent* event) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dropEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QGraphicsSceneDragDropEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&event}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QGraphicsLineItem::dropEvent(event); +} +QVariant PythonQtShell_QGraphicsLineItem::extension(const QVariant& variant) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "extension"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QVariant" , "const QVariant&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + QVariant returnValue; + void* args[2] = {NULL, (void*)&variant}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("extension", methodInfo, result); + } else { + returnValue = *((QVariant*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QGraphicsLineItem::extension(variant); +} +void PythonQtShell_QGraphicsLineItem::focusInEvent(QFocusEvent* event) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "focusInEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QFocusEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&event}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QGraphicsLineItem::focusInEvent(event); +} +void PythonQtShell_QGraphicsLineItem::focusOutEvent(QFocusEvent* event) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "focusOutEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QFocusEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&event}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QGraphicsLineItem::focusOutEvent(event); +} +void PythonQtShell_QGraphicsLineItem::hoverEnterEvent(QGraphicsSceneHoverEvent* event) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "hoverEnterEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QGraphicsSceneHoverEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&event}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QGraphicsLineItem::hoverEnterEvent(event); +} +void PythonQtShell_QGraphicsLineItem::hoverLeaveEvent(QGraphicsSceneHoverEvent* event) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "hoverLeaveEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QGraphicsSceneHoverEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&event}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QGraphicsLineItem::hoverLeaveEvent(event); +} +void PythonQtShell_QGraphicsLineItem::hoverMoveEvent(QGraphicsSceneHoverEvent* event) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "hoverMoveEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QGraphicsSceneHoverEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&event}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QGraphicsLineItem::hoverMoveEvent(event); +} +void PythonQtShell_QGraphicsLineItem::inputMethodEvent(QInputMethodEvent* event) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "inputMethodEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QInputMethodEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&event}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QGraphicsLineItem::inputMethodEvent(event); +} +QVariant PythonQtShell_QGraphicsLineItem::inputMethodQuery(Qt::InputMethodQuery query) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "inputMethodQuery"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QVariant" , "Qt::InputMethodQuery"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + QVariant returnValue; + void* args[2] = {NULL, (void*)&query}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result); + } else { + returnValue = *((QVariant*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QGraphicsLineItem::inputMethodQuery(query); +} +bool PythonQtShell_QGraphicsLineItem::isObscuredBy(const QGraphicsItem* item) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "isObscuredBy"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "const QGraphicsItem*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue; + void* args[2] = {NULL, (void*)&item}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("isObscuredBy", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QGraphicsLineItem::isObscuredBy(item); +} +QVariant PythonQtShell_QGraphicsLineItem::itemChange(QGraphicsItem::GraphicsItemChange change, const QVariant& value) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "itemChange"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QVariant" , "QGraphicsItem::GraphicsItemChange" , "const QVariant&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + QVariant returnValue; + void* args[3] = {NULL, (void*)&change, (void*)&value}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("itemChange", methodInfo, result); + } else { + returnValue = *((QVariant*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QGraphicsLineItem::itemChange(change, value); +} +void PythonQtShell_QGraphicsLineItem::keyPressEvent(QKeyEvent* event) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "keyPressEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QKeyEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&event}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QGraphicsLineItem::keyPressEvent(event); +} +void PythonQtShell_QGraphicsLineItem::keyReleaseEvent(QKeyEvent* event) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "keyReleaseEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QKeyEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&event}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QGraphicsLineItem::keyReleaseEvent(event); +} +void PythonQtShell_QGraphicsLineItem::mouseDoubleClickEvent(QGraphicsSceneMouseEvent* event) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mouseDoubleClickEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QGraphicsSceneMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&event}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QGraphicsLineItem::mouseDoubleClickEvent(event); +} +void PythonQtShell_QGraphicsLineItem::mouseMoveEvent(QGraphicsSceneMouseEvent* event) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mouseMoveEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QGraphicsSceneMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&event}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QGraphicsLineItem::mouseMoveEvent(event); +} +void PythonQtShell_QGraphicsLineItem::mousePressEvent(QGraphicsSceneMouseEvent* event) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mousePressEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QGraphicsSceneMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&event}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QGraphicsLineItem::mousePressEvent(event); +} +void PythonQtShell_QGraphicsLineItem::mouseReleaseEvent(QGraphicsSceneMouseEvent* event) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mouseReleaseEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QGraphicsSceneMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&event}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QGraphicsLineItem::mouseReleaseEvent(event); +} +QPainterPath PythonQtShell_QGraphicsLineItem::opaqueArea() const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "opaqueArea"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QPainterPath"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QPainterPath returnValue; + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("opaqueArea", methodInfo, result); + } else { + returnValue = *((QPainterPath*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QGraphicsLineItem::opaqueArea(); +} +void PythonQtShell_QGraphicsLineItem::paint(QPainter* painter, const QStyleOptionGraphicsItem* option, QWidget* widget) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "paint"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QPainter*" , "const QStyleOptionGraphicsItem*" , "QWidget*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + void* args[4] = {NULL, (void*)&painter, (void*)&option, (void*)&widget}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QGraphicsLineItem::paint(painter, option, widget); +} +bool PythonQtShell_QGraphicsLineItem::sceneEvent(QEvent* event) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "sceneEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue; + void* args[2] = {NULL, (void*)&event}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("sceneEvent", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QGraphicsLineItem::sceneEvent(event); +} +bool PythonQtShell_QGraphicsLineItem::sceneEventFilter(QGraphicsItem* watched, QEvent* event) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "sceneEventFilter"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "QGraphicsItem*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue; + void* args[3] = {NULL, (void*)&watched, (void*)&event}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("sceneEventFilter", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QGraphicsLineItem::sceneEventFilter(watched, event); +} +QPainterPath PythonQtShell_QGraphicsLineItem::shape() const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "shape"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QPainterPath"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QPainterPath returnValue; + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("shape", methodInfo, result); + } else { + returnValue = *((QPainterPath*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QGraphicsLineItem::shape(); +} +int PythonQtShell_QGraphicsLineItem::type() const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "type"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + int returnValue; + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("type", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QGraphicsLineItem::type(); +} +void PythonQtShell_QGraphicsLineItem::wheelEvent(QGraphicsSceneWheelEvent* event) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "wheelEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QGraphicsSceneWheelEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&event}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QGraphicsLineItem::wheelEvent(event); +} +QGraphicsLineItem* PythonQtWrapper_QGraphicsLineItem::new_QGraphicsLineItem(QGraphicsItem* parent, QGraphicsScene* scene) +{ +return new PythonQtShell_QGraphicsLineItem(parent, scene); } + +QGraphicsLineItem* PythonQtWrapper_QGraphicsLineItem::new_QGraphicsLineItem(const QLineF& line, QGraphicsItem* parent, QGraphicsScene* scene) +{ +return new PythonQtShell_QGraphicsLineItem(line, parent, scene); } + +QGraphicsLineItem* PythonQtWrapper_QGraphicsLineItem::new_QGraphicsLineItem(qreal x1, qreal y1, qreal x2, qreal y2, QGraphicsItem* parent, QGraphicsScene* scene) +{ +return new PythonQtShell_QGraphicsLineItem(x1, y1, x2, y2, parent, scene); } + +QRectF PythonQtWrapper_QGraphicsLineItem::boundingRect(QGraphicsLineItem* theWrappedObject) const +{ + return ( ((PythonQtPublicPromoter_QGraphicsLineItem*)theWrappedObject)->promoted_boundingRect()); +} + +bool PythonQtWrapper_QGraphicsLineItem::contains(QGraphicsLineItem* theWrappedObject, const QPointF& point) const +{ + return ( ((PythonQtPublicPromoter_QGraphicsLineItem*)theWrappedObject)->promoted_contains(point)); +} + +QVariant PythonQtWrapper_QGraphicsLineItem::extension(QGraphicsLineItem* theWrappedObject, const QVariant& variant) const +{ + return ( ((PythonQtPublicPromoter_QGraphicsLineItem*)theWrappedObject)->promoted_extension(variant)); +} + +bool PythonQtWrapper_QGraphicsLineItem::isObscuredBy(QGraphicsLineItem* theWrappedObject, const QGraphicsItem* item) const +{ + return ( ((PythonQtPublicPromoter_QGraphicsLineItem*)theWrappedObject)->promoted_isObscuredBy(item)); +} + +QLineF PythonQtWrapper_QGraphicsLineItem::line(QGraphicsLineItem* theWrappedObject) const +{ + return ( theWrappedObject->line()); +} + +QPainterPath PythonQtWrapper_QGraphicsLineItem::opaqueArea(QGraphicsLineItem* theWrappedObject) const +{ + return ( ((PythonQtPublicPromoter_QGraphicsLineItem*)theWrappedObject)->promoted_opaqueArea()); +} + +void PythonQtWrapper_QGraphicsLineItem::paint(QGraphicsLineItem* theWrappedObject, QPainter* painter, const QStyleOptionGraphicsItem* option, QWidget* widget) +{ + ( ((PythonQtPublicPromoter_QGraphicsLineItem*)theWrappedObject)->promoted_paint(painter, option, widget)); +} + +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)); +} + +QPainterPath PythonQtWrapper_QGraphicsLineItem::shape(QGraphicsLineItem* theWrappedObject) const +{ + return ( ((PythonQtPublicPromoter_QGraphicsLineItem*)theWrappedObject)->promoted_shape()); +} + +int PythonQtWrapper_QGraphicsLineItem::type(QGraphicsLineItem* theWrappedObject) const +{ + return ( ((PythonQtPublicPromoter_QGraphicsLineItem*)theWrappedObject)->promoted_type()); +} + + + +int PythonQtShell_QGraphicsLinearLayout::count() const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "count"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + int returnValue; + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("count", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QGraphicsLinearLayout::count(); +} +void PythonQtShell_QGraphicsLinearLayout::getContentsMargins(qreal* left, qreal* top, qreal* right, qreal* bottom) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "getContentsMargins"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "qreal*" , "qreal*" , "qreal*" , "qreal*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(5, argumentList); + void* args[5] = {NULL, (void*)&left, (void*)&top, (void*)&right, (void*)&bottom}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QGraphicsLinearLayout::getContentsMargins(left, top, right, bottom); +} +void PythonQtShell_QGraphicsLinearLayout::invalidate() +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "invalidate"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={""}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QGraphicsLinearLayout::invalidate(); +} +QGraphicsLayoutItem* PythonQtShell_QGraphicsLinearLayout::itemAt(int index) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "itemAt"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QGraphicsLayoutItem*" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + QGraphicsLayoutItem* returnValue; + void* args[2] = {NULL, (void*)&index}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("itemAt", methodInfo, result); + } else { + returnValue = *((QGraphicsLayoutItem**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QGraphicsLinearLayout::itemAt(index); +} +void PythonQtShell_QGraphicsLinearLayout::removeAt(int index) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "removeAt"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&index}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QGraphicsLinearLayout::removeAt(index); +} +void PythonQtShell_QGraphicsLinearLayout::updateGeometry() +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "updateGeometry"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={""}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QGraphicsLinearLayout::updateGeometry(); +} +void PythonQtShell_QGraphicsLinearLayout::widgetEvent(QEvent* e) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "widgetEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&e}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QGraphicsLinearLayout::widgetEvent(e); +} +QGraphicsLinearLayout* PythonQtWrapper_QGraphicsLinearLayout::new_QGraphicsLinearLayout(QGraphicsLayoutItem* parent) +{ +return new PythonQtShell_QGraphicsLinearLayout(parent); } + +QGraphicsLinearLayout* PythonQtWrapper_QGraphicsLinearLayout::new_QGraphicsLinearLayout(Qt::Orientation orientation, QGraphicsLayoutItem* parent) +{ +return new PythonQtShell_QGraphicsLinearLayout(orientation, parent); } + +void PythonQtWrapper_QGraphicsLinearLayout::addItem(QGraphicsLinearLayout* theWrappedObject, QGraphicsLayoutItem* 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)); +} + +int PythonQtWrapper_QGraphicsLinearLayout::count(QGraphicsLinearLayout* theWrappedObject) const +{ + return ( ((PythonQtPublicPromoter_QGraphicsLinearLayout*)theWrappedObject)->promoted_count()); +} + +void PythonQtWrapper_QGraphicsLinearLayout::dump(QGraphicsLinearLayout* theWrappedObject, int indent) const +{ + ( theWrappedObject->dump(indent)); +} + +void PythonQtWrapper_QGraphicsLinearLayout::insertItem(QGraphicsLinearLayout* theWrappedObject, int index, QGraphicsLayoutItem* item) +{ + ( theWrappedObject->insertItem(index, item)); +} + +void PythonQtWrapper_QGraphicsLinearLayout::insertStretch(QGraphicsLinearLayout* theWrappedObject, int index, int stretch) +{ + ( theWrappedObject->insertStretch(index, stretch)); +} + +void PythonQtWrapper_QGraphicsLinearLayout::invalidate(QGraphicsLinearLayout* theWrappedObject) +{ + ( ((PythonQtPublicPromoter_QGraphicsLinearLayout*)theWrappedObject)->promoted_invalidate()); +} + +QGraphicsLayoutItem* PythonQtWrapper_QGraphicsLinearLayout::itemAt(QGraphicsLinearLayout* theWrappedObject, int index) const +{ + return ( ((PythonQtPublicPromoter_QGraphicsLinearLayout*)theWrappedObject)->promoted_itemAt(index)); +} + +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::removeAt(QGraphicsLinearLayout* theWrappedObject, int index) +{ + ( ((PythonQtPublicPromoter_QGraphicsLinearLayout*)theWrappedObject)->promoted_removeAt(index)); +} + +void PythonQtWrapper_QGraphicsLinearLayout::removeItem(QGraphicsLinearLayout* theWrappedObject, QGraphicsLayoutItem* item) +{ + ( theWrappedObject->removeItem(item)); +} + +void PythonQtWrapper_QGraphicsLinearLayout::setAlignment(QGraphicsLinearLayout* theWrappedObject, QGraphicsLayoutItem* item, Qt::Alignment alignment) +{ + ( theWrappedObject->setAlignment(item, alignment)); +} + +void PythonQtWrapper_QGraphicsLinearLayout::setGeometry(QGraphicsLinearLayout* theWrappedObject, const QRectF& rect) +{ + ( theWrappedObject->setGeometry(rect)); +} + +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)); +} + +QSizeF PythonQtWrapper_QGraphicsLinearLayout::sizeHint(QGraphicsLinearLayout* theWrappedObject, Qt::SizeHint which, const QSizeF& constraint) const +{ + return ( theWrappedObject->sizeHint(which, constraint)); +} + +qreal PythonQtWrapper_QGraphicsLinearLayout::spacing(QGraphicsLinearLayout* theWrappedObject) const +{ + return ( theWrappedObject->spacing()); +} + +int PythonQtWrapper_QGraphicsLinearLayout::stretchFactor(QGraphicsLinearLayout* theWrappedObject, QGraphicsLayoutItem* item) const +{ + return ( theWrappedObject->stretchFactor(item)); +} + + + +void PythonQtShell_QGraphicsObject::advance(int phase) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "advance"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&phase}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QGraphicsObject::advance(phase); +} +QRectF PythonQtShell_QGraphicsObject::boundingRect() const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "boundingRect"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QRectF"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QRectF returnValue; + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("boundingRect", methodInfo, result); + } else { + returnValue = *((QRectF*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QRectF(); +} +void PythonQtShell_QGraphicsObject::childEvent(QChildEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "childEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QChildEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QGraphicsObject::childEvent(arg__1); +} +bool PythonQtShell_QGraphicsObject::collidesWithItem(const QGraphicsItem* other, Qt::ItemSelectionMode mode) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "collidesWithItem"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "const QGraphicsItem*" , "Qt::ItemSelectionMode"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue; + void* args[3] = {NULL, (void*)&other, (void*)&mode}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("collidesWithItem", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QGraphicsObject::collidesWithItem(other, mode); +} +bool PythonQtShell_QGraphicsObject::collidesWithPath(const QPainterPath& path, Qt::ItemSelectionMode mode) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "collidesWithPath"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "const QPainterPath&" , "Qt::ItemSelectionMode"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue; + void* args[3] = {NULL, (void*)&path, (void*)&mode}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("collidesWithPath", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QGraphicsObject::collidesWithPath(path, mode); +} +bool PythonQtShell_QGraphicsObject::contains(const QPointF& point) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "contains"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "const QPointF&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue; + void* args[2] = {NULL, (void*)&point}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("contains", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QGraphicsObject::contains(point); +} +void PythonQtShell_QGraphicsObject::contextMenuEvent(QGraphicsSceneContextMenuEvent* event) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "contextMenuEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QGraphicsSceneContextMenuEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&event}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QGraphicsObject::contextMenuEvent(event); +} +void PythonQtShell_QGraphicsObject::customEvent(QEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "customEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QGraphicsObject::customEvent(arg__1); +} +void PythonQtShell_QGraphicsObject::dragEnterEvent(QGraphicsSceneDragDropEvent* event) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dragEnterEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QGraphicsSceneDragDropEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&event}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QGraphicsObject::dragEnterEvent(event); +} +void PythonQtShell_QGraphicsObject::dragLeaveEvent(QGraphicsSceneDragDropEvent* event) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dragLeaveEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QGraphicsSceneDragDropEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&event}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QGraphicsObject::dragLeaveEvent(event); +} +void PythonQtShell_QGraphicsObject::dragMoveEvent(QGraphicsSceneDragDropEvent* event) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dragMoveEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QGraphicsSceneDragDropEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&event}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QGraphicsObject::dragMoveEvent(event); +} +void PythonQtShell_QGraphicsObject::dropEvent(QGraphicsSceneDragDropEvent* event) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dropEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QGraphicsSceneDragDropEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&event}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QGraphicsObject::dropEvent(event); +} +bool PythonQtShell_QGraphicsObject::event(QEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "event"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue; + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QGraphicsObject::event(arg__1); +} +bool PythonQtShell_QGraphicsObject::eventFilter(QObject* arg__1, QEvent* arg__2) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "eventFilter"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue; + void* args[3] = {NULL, (void*)&arg__1, (void*)&arg__2}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QGraphicsObject::eventFilter(arg__1, arg__2); +} +QVariant PythonQtShell_QGraphicsObject::extension(const QVariant& variant) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "extension"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QVariant" , "const QVariant&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + QVariant returnValue; + void* args[2] = {NULL, (void*)&variant}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("extension", methodInfo, result); + } else { + returnValue = *((QVariant*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QGraphicsObject::extension(variant); +} +void PythonQtShell_QGraphicsObject::focusInEvent(QFocusEvent* event) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "focusInEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QFocusEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&event}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QGraphicsObject::focusInEvent(event); +} +void PythonQtShell_QGraphicsObject::focusOutEvent(QFocusEvent* event) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "focusOutEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QFocusEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&event}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QGraphicsObject::focusOutEvent(event); +} +void PythonQtShell_QGraphicsObject::hoverEnterEvent(QGraphicsSceneHoverEvent* event) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "hoverEnterEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QGraphicsSceneHoverEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&event}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QGraphicsObject::hoverEnterEvent(event); +} +void PythonQtShell_QGraphicsObject::hoverLeaveEvent(QGraphicsSceneHoverEvent* event) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "hoverLeaveEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QGraphicsSceneHoverEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&event}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QGraphicsObject::hoverLeaveEvent(event); +} +void PythonQtShell_QGraphicsObject::hoverMoveEvent(QGraphicsSceneHoverEvent* event) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "hoverMoveEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QGraphicsSceneHoverEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&event}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QGraphicsObject::hoverMoveEvent(event); +} +void PythonQtShell_QGraphicsObject::inputMethodEvent(QInputMethodEvent* event) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "inputMethodEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QInputMethodEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&event}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QGraphicsObject::inputMethodEvent(event); +} +QVariant PythonQtShell_QGraphicsObject::inputMethodQuery(Qt::InputMethodQuery query) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "inputMethodQuery"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QVariant" , "Qt::InputMethodQuery"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + QVariant returnValue; + void* args[2] = {NULL, (void*)&query}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result); + } else { + returnValue = *((QVariant*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QGraphicsObject::inputMethodQuery(query); +} +bool PythonQtShell_QGraphicsObject::isObscuredBy(const QGraphicsItem* item) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "isObscuredBy"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "const QGraphicsItem*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue; + void* args[2] = {NULL, (void*)&item}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("isObscuredBy", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QGraphicsObject::isObscuredBy(item); +} +QVariant PythonQtShell_QGraphicsObject::itemChange(QGraphicsItem::GraphicsItemChange change, const QVariant& value) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "itemChange"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QVariant" , "QGraphicsItem::GraphicsItemChange" , "const QVariant&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + QVariant returnValue; + void* args[3] = {NULL, (void*)&change, (void*)&value}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("itemChange", methodInfo, result); + } else { + returnValue = *((QVariant*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QGraphicsObject::itemChange(change, value); +} +void PythonQtShell_QGraphicsObject::keyPressEvent(QKeyEvent* event) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "keyPressEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QKeyEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&event}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QGraphicsObject::keyPressEvent(event); +} +void PythonQtShell_QGraphicsObject::keyReleaseEvent(QKeyEvent* event) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "keyReleaseEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QKeyEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&event}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QGraphicsObject::keyReleaseEvent(event); +} +void PythonQtShell_QGraphicsObject::mouseDoubleClickEvent(QGraphicsSceneMouseEvent* event) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mouseDoubleClickEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QGraphicsSceneMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&event}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QGraphicsObject::mouseDoubleClickEvent(event); +} +void PythonQtShell_QGraphicsObject::mouseMoveEvent(QGraphicsSceneMouseEvent* event) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mouseMoveEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QGraphicsSceneMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&event}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QGraphicsObject::mouseMoveEvent(event); +} +void PythonQtShell_QGraphicsObject::mousePressEvent(QGraphicsSceneMouseEvent* event) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mousePressEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QGraphicsSceneMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&event}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QGraphicsObject::mousePressEvent(event); +} +void PythonQtShell_QGraphicsObject::mouseReleaseEvent(QGraphicsSceneMouseEvent* event) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mouseReleaseEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QGraphicsSceneMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&event}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QGraphicsObject::mouseReleaseEvent(event); +} +QPainterPath PythonQtShell_QGraphicsObject::opaqueArea() const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "opaqueArea"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QPainterPath"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QPainterPath returnValue; + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("opaqueArea", methodInfo, result); + } else { + returnValue = *((QPainterPath*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QGraphicsObject::opaqueArea(); +} +void PythonQtShell_QGraphicsObject::paint(QPainter* painter, const QStyleOptionGraphicsItem* option, QWidget* widget) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "paint"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QPainter*" , "const QStyleOptionGraphicsItem*" , "QWidget*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + void* args[4] = {NULL, (void*)&painter, (void*)&option, (void*)&widget}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + +} +bool PythonQtShell_QGraphicsObject::sceneEvent(QEvent* event) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "sceneEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue; + void* args[2] = {NULL, (void*)&event}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("sceneEvent", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QGraphicsObject::sceneEvent(event); +} +bool PythonQtShell_QGraphicsObject::sceneEventFilter(QGraphicsItem* watched, QEvent* event) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "sceneEventFilter"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "QGraphicsItem*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue; + void* args[3] = {NULL, (void*)&watched, (void*)&event}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("sceneEventFilter", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QGraphicsObject::sceneEventFilter(watched, event); +} +void PythonQtShell_QGraphicsObject::setExtension(QGraphicsItem::Extension extension, const QVariant& variant) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "setExtension"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QGraphicsItem::Extension" , "const QVariant&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + void* args[3] = {NULL, (void*)&extension, (void*)&variant}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QGraphicsObject::setExtension(extension, variant); +} +QPainterPath PythonQtShell_QGraphicsObject::shape() const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "shape"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QPainterPath"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QPainterPath returnValue; + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("shape", methodInfo, result); + } else { + returnValue = *((QPainterPath*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QGraphicsObject::shape(); +} +bool PythonQtShell_QGraphicsObject::supportsExtension(QGraphicsItem::Extension extension) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "supportsExtension"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "QGraphicsItem::Extension"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue; + void* args[2] = {NULL, (void*)&extension}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("supportsExtension", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QGraphicsObject::supportsExtension(extension); +} +void PythonQtShell_QGraphicsObject::timerEvent(QTimerEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "timerEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QTimerEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QGraphicsObject::timerEvent(arg__1); +} +int PythonQtShell_QGraphicsObject::type() const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "type"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + int returnValue; + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("type", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QGraphicsObject::type(); +} +void PythonQtShell_QGraphicsObject::wheelEvent(QGraphicsSceneWheelEvent* event) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "wheelEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QGraphicsSceneWheelEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&event}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QGraphicsObject::wheelEvent(event); +} +QGraphicsObject* PythonQtWrapper_QGraphicsObject::new_QGraphicsObject(QGraphicsItem* parent) +{ +return new PythonQtShell_QGraphicsObject(parent); } + +QString PythonQtWrapper_QGraphicsObject::py_toString(QGraphicsObject* obj) { + QString result; + QDebug d(&result); + d << obj; + return result; +} + + + +QRectF PythonQtShell_QGraphicsOpacityEffect::boundingRectFor(const QRectF& sourceRect) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "boundingRectFor"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QRectF" , "const QRectF&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + QRectF returnValue; + void* args[2] = {NULL, (void*)&sourceRect}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (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); } + Py_DECREF(obj); + return returnValue; + } +} + return QGraphicsOpacityEffect::boundingRectFor(sourceRect); +} +void PythonQtShell_QGraphicsOpacityEffect::childEvent(QChildEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "childEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QChildEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QGraphicsOpacityEffect::childEvent(arg__1); +} +void PythonQtShell_QGraphicsOpacityEffect::customEvent(QEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "customEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QGraphicsOpacityEffect::customEvent(arg__1); +} +void PythonQtShell_QGraphicsOpacityEffect::draw(QPainter* painter) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "draw"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QPainter*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&painter}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QGraphicsOpacityEffect::draw(painter); +} +bool PythonQtShell_QGraphicsOpacityEffect::event(QEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "event"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue; + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QGraphicsOpacityEffect::event(arg__1); +} +bool PythonQtShell_QGraphicsOpacityEffect::eventFilter(QObject* arg__1, QEvent* arg__2) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "eventFilter"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue; + void* args[3] = {NULL, (void*)&arg__1, (void*)&arg__2}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QGraphicsOpacityEffect::eventFilter(arg__1, arg__2); +} +void PythonQtShell_QGraphicsOpacityEffect::sourceChanged(QGraphicsEffect::ChangeFlags flags) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "sourceChanged"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QGraphicsEffect::ChangeFlags"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&flags}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QGraphicsOpacityEffect::sourceChanged(flags); +} +void PythonQtShell_QGraphicsOpacityEffect::timerEvent(QTimerEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "timerEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QTimerEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QGraphicsOpacityEffect::timerEvent(arg__1); +} +QGraphicsOpacityEffect* PythonQtWrapper_QGraphicsOpacityEffect::new_QGraphicsOpacityEffect(QObject* parent) +{ +return new PythonQtShell_QGraphicsOpacityEffect(parent); } + +void PythonQtWrapper_QGraphicsOpacityEffect::draw(QGraphicsOpacityEffect* theWrappedObject, QPainter* painter) +{ + ( ((PythonQtPublicPromoter_QGraphicsOpacityEffect*)theWrappedObject)->promoted_draw(painter)); +} + +qreal PythonQtWrapper_QGraphicsOpacityEffect::opacity(QGraphicsOpacityEffect* theWrappedObject) const +{ + return ( theWrappedObject->opacity()); +} + +QBrush PythonQtWrapper_QGraphicsOpacityEffect::opacityMask(QGraphicsOpacityEffect* theWrappedObject) const +{ + return ( theWrappedObject->opacityMask()); +} + + + +bool PythonQtShell_QGraphicsPathItem::isObscuredBy(const QGraphicsItem* item) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "isObscuredBy"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "const QGraphicsItem*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue; + void* args[2] = {NULL, (void*)&item}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("isObscuredBy", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QGraphicsPathItem::isObscuredBy(item); +} +QPainterPath PythonQtShell_QGraphicsPathItem::opaqueArea() const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "opaqueArea"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QPainterPath"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QPainterPath returnValue; + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("opaqueArea", methodInfo, result); + } else { + returnValue = *((QPainterPath*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QGraphicsPathItem::opaqueArea(); +} +QGraphicsPathItem* PythonQtWrapper_QGraphicsPathItem::new_QGraphicsPathItem(QGraphicsItem* parent, QGraphicsScene* scene) +{ +return new PythonQtShell_QGraphicsPathItem(parent, scene); } + +QGraphicsPathItem* PythonQtWrapper_QGraphicsPathItem::new_QGraphicsPathItem(const QPainterPath& path, QGraphicsItem* parent, QGraphicsScene* scene) +{ +return new PythonQtShell_QGraphicsPathItem(path, parent, scene); } + +QRectF PythonQtWrapper_QGraphicsPathItem::boundingRect(QGraphicsPathItem* theWrappedObject) const +{ + return ( theWrappedObject->boundingRect()); +} + +bool PythonQtWrapper_QGraphicsPathItem::contains(QGraphicsPathItem* theWrappedObject, const QPointF& point) const +{ + return ( theWrappedObject->contains(point)); +} + +bool PythonQtWrapper_QGraphicsPathItem::isObscuredBy(QGraphicsPathItem* theWrappedObject, const QGraphicsItem* item) const +{ + return ( ((PythonQtPublicPromoter_QGraphicsPathItem*)theWrappedObject)->promoted_isObscuredBy(item)); +} + +QPainterPath PythonQtWrapper_QGraphicsPathItem::opaqueArea(QGraphicsPathItem* theWrappedObject) const +{ + return ( ((PythonQtPublicPromoter_QGraphicsPathItem*)theWrappedObject)->promoted_opaqueArea()); +} + +void PythonQtWrapper_QGraphicsPathItem::paint(QGraphicsPathItem* theWrappedObject, QPainter* painter, const QStyleOptionGraphicsItem* option, QWidget* widget) +{ + ( theWrappedObject->paint(painter, option, widget)); +} + +QPainterPath PythonQtWrapper_QGraphicsPathItem::path(QGraphicsPathItem* theWrappedObject) const +{ + return ( theWrappedObject->path()); +} + +void PythonQtWrapper_QGraphicsPathItem::setPath(QGraphicsPathItem* theWrappedObject, const QPainterPath& path) +{ + ( theWrappedObject->setPath(path)); +} + +QPainterPath PythonQtWrapper_QGraphicsPathItem::shape(QGraphicsPathItem* theWrappedObject) const +{ + return ( theWrappedObject->shape()); +} + +int PythonQtWrapper_QGraphicsPathItem::type(QGraphicsPathItem* theWrappedObject) const +{ + return ( theWrappedObject->type()); +} + + diff --git a/generated_cpp_47/com_trolltech_qt_gui/com_trolltech_qt_gui2.h b/generated_cpp_47/com_trolltech_qt_gui/com_trolltech_qt_gui2.h new file mode 100644 index 00000000..a82d32ef --- /dev/null +++ b/generated_cpp_47/com_trolltech_qt_gui/com_trolltech_qt_gui2.h @@ -0,0 +1,2029 @@ +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include + + + +class PythonQtShell_QErrorMessage : public QErrorMessage +{ +public: + PythonQtShell_QErrorMessage(QWidget* parent = 0):QErrorMessage(parent),_wrapper(NULL) {}; + +virtual void accept(); +virtual void actionEvent(QActionEvent* arg__1); +virtual void changeEvent(QEvent* e); +virtual void childEvent(QChildEvent* arg__1); +virtual void closeEvent(QCloseEvent* arg__1); +virtual void contextMenuEvent(QContextMenuEvent* arg__1); +virtual void customEvent(QEvent* arg__1); +virtual int devType() const; +virtual void done(int arg__1); +virtual void dragEnterEvent(QDragEnterEvent* arg__1); +virtual void dragLeaveEvent(QDragLeaveEvent* arg__1); +virtual void dragMoveEvent(QDragMoveEvent* arg__1); +virtual void dropEvent(QDropEvent* arg__1); +virtual void enterEvent(QEvent* arg__1); +virtual bool event(QEvent* arg__1); +virtual bool eventFilter(QObject* arg__1, QEvent* arg__2); +virtual void focusInEvent(QFocusEvent* arg__1); +virtual bool focusNextPrevChild(bool next); +virtual void focusOutEvent(QFocusEvent* arg__1); +virtual int heightForWidth(int arg__1) const; +virtual void hideEvent(QHideEvent* arg__1); +virtual void inputMethodEvent(QInputMethodEvent* arg__1); +virtual QVariant inputMethodQuery(Qt::InputMethodQuery arg__1) const; +virtual void keyPressEvent(QKeyEvent* arg__1); +virtual void keyReleaseEvent(QKeyEvent* arg__1); +virtual void languageChange(); +virtual void leaveEvent(QEvent* arg__1); +virtual int metric(QPaintDevice::PaintDeviceMetric arg__1) const; +virtual void mouseDoubleClickEvent(QMouseEvent* arg__1); +virtual void mouseMoveEvent(QMouseEvent* arg__1); +virtual void mousePressEvent(QMouseEvent* arg__1); +virtual void mouseReleaseEvent(QMouseEvent* arg__1); +virtual void moveEvent(QMoveEvent* arg__1); +virtual QPaintEngine* paintEngine() const; +virtual void paintEvent(QPaintEvent* arg__1); +virtual void reject(); +virtual void resizeEvent(QResizeEvent* arg__1); +virtual void showEvent(QShowEvent* arg__1); +virtual void tabletEvent(QTabletEvent* arg__1); +virtual void timerEvent(QTimerEvent* arg__1); +virtual void wheelEvent(QWheelEvent* arg__1); + + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtPublicPromoter_QErrorMessage : public QErrorMessage +{ public: +inline void promoted_changeEvent(QEvent* e) { QErrorMessage::changeEvent(e); } +inline void promoted_done(int arg__1) { QErrorMessage::done(arg__1); } +}; + +class PythonQtWrapper_QErrorMessage : public QObject +{ Q_OBJECT +public: +public slots: +QErrorMessage* new_QErrorMessage(QWidget* parent = 0); +void delete_QErrorMessage(QErrorMessage* obj) { delete obj; } + void changeEvent(QErrorMessage* theWrappedObject, QEvent* e); + void done(QErrorMessage* theWrappedObject, int arg__1); + QErrorMessage* static_QErrorMessage_qtHandler(); +}; + + + + + +class PythonQtShell_QFileDialog : public QFileDialog +{ +public: + PythonQtShell_QFileDialog(QWidget* parent, Qt::WindowFlags f):QFileDialog(parent, f),_wrapper(NULL) {}; + PythonQtShell_QFileDialog(QWidget* parent = 0, const QString& caption = QString(), const QString& directory = QString(), const QString& filter = QString()):QFileDialog(parent, caption, directory, filter),_wrapper(NULL) {}; + +virtual void accept(); +virtual void actionEvent(QActionEvent* arg__1); +virtual void changeEvent(QEvent* e); +virtual void childEvent(QChildEvent* arg__1); +virtual void closeEvent(QCloseEvent* arg__1); +virtual void contextMenuEvent(QContextMenuEvent* arg__1); +virtual void customEvent(QEvent* arg__1); +virtual int devType() const; +virtual void done(int result); +virtual void dragEnterEvent(QDragEnterEvent* arg__1); +virtual void dragLeaveEvent(QDragLeaveEvent* arg__1); +virtual void dragMoveEvent(QDragMoveEvent* arg__1); +virtual void dropEvent(QDropEvent* arg__1); +virtual void enterEvent(QEvent* arg__1); +virtual bool event(QEvent* arg__1); +virtual bool eventFilter(QObject* arg__1, QEvent* arg__2); +virtual void focusInEvent(QFocusEvent* arg__1); +virtual bool focusNextPrevChild(bool next); +virtual void focusOutEvent(QFocusEvent* arg__1); +virtual int heightForWidth(int arg__1) const; +virtual void hideEvent(QHideEvent* arg__1); +virtual void inputMethodEvent(QInputMethodEvent* arg__1); +virtual QVariant inputMethodQuery(Qt::InputMethodQuery arg__1) const; +virtual void keyPressEvent(QKeyEvent* arg__1); +virtual void keyReleaseEvent(QKeyEvent* arg__1); +virtual void languageChange(); +virtual void leaveEvent(QEvent* arg__1); +virtual int metric(QPaintDevice::PaintDeviceMetric arg__1) const; +virtual void mouseDoubleClickEvent(QMouseEvent* arg__1); +virtual void mouseMoveEvent(QMouseEvent* arg__1); +virtual void mousePressEvent(QMouseEvent* arg__1); +virtual void mouseReleaseEvent(QMouseEvent* arg__1); +virtual void moveEvent(QMoveEvent* arg__1); +virtual QPaintEngine* paintEngine() const; +virtual void paintEvent(QPaintEvent* arg__1); +virtual void reject(); +virtual void resizeEvent(QResizeEvent* arg__1); +virtual void showEvent(QShowEvent* arg__1); +virtual void tabletEvent(QTabletEvent* arg__1); +virtual void timerEvent(QTimerEvent* arg__1); +virtual void wheelEvent(QWheelEvent* arg__1); + + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtPublicPromoter_QFileDialog : public QFileDialog +{ public: +inline void promoted_accept() { QFileDialog::accept(); } +inline void promoted_changeEvent(QEvent* e) { QFileDialog::changeEvent(e); } +inline void promoted_done(int result) { QFileDialog::done(result); } +}; + +class PythonQtWrapper_QFileDialog : public QObject +{ Q_OBJECT +public: +Q_ENUMS(DialogLabel ) +enum DialogLabel{ + LookIn = QFileDialog::LookIn, FileName = QFileDialog::FileName, FileType = QFileDialog::FileType, Accept = QFileDialog::Accept, Reject = QFileDialog::Reject}; +public slots: +QFileDialog* new_QFileDialog(QWidget* parent, Qt::WindowFlags f); +QFileDialog* new_QFileDialog(QWidget* parent = 0, const QString& caption = QString(), const QString& directory = QString(), const QString& filter = QString()); +void delete_QFileDialog(QFileDialog* obj) { delete obj; } + void accept(QFileDialog* theWrappedObject); + QFileDialog::AcceptMode acceptMode(QFileDialog* theWrappedObject) const; + void changeEvent(QFileDialog* theWrappedObject, QEvent* e); + bool confirmOverwrite(QFileDialog* theWrappedObject) const; + QString defaultSuffix(QFileDialog* theWrappedObject) const; + QDir directory(QFileDialog* theWrappedObject) const; + void done(QFileDialog* theWrappedObject, int result); + QFileDialog::FileMode fileMode(QFileDialog* theWrappedObject) const; + QDir::Filters filter(QFileDialog* theWrappedObject) const; + QStringList filters(QFileDialog* theWrappedObject) const; + QString static_QFileDialog_getExistingDirectory(QWidget* parent = 0, const QString& caption = QString(), const QString& dir = QString(), QFileDialog::Options options = QFileDialog::ShowDirsOnly); + QString static_QFileDialog_getOpenFileName(QWidget* parent = 0, const QString& caption = QString(), const QString& dir = QString(), const QString& filter = QString(), QString* selectedFilter = 0, QFileDialog::Options options = 0); + QStringList static_QFileDialog_getOpenFileNames(QWidget* parent = 0, const QString& caption = QString(), const QString& dir = QString(), const QString& filter = QString(), QString* selectedFilter = 0, QFileDialog::Options options = 0); + QString static_QFileDialog_getSaveFileName(QWidget* parent = 0, const QString& caption = QString(), const QString& dir = QString(), const QString& filter = QString(), QString* selectedFilter = 0, QFileDialog::Options options = 0); + QStringList history(QFileDialog* theWrappedObject) const; + QFileIconProvider* iconProvider(QFileDialog* theWrappedObject) const; + bool isNameFilterDetailsVisible(QFileDialog* theWrappedObject) const; + bool isReadOnly(QFileDialog* theWrappedObject) const; + QAbstractItemDelegate* itemDelegate(QFileDialog* theWrappedObject) const; + QString labelText(QFileDialog* theWrappedObject, QFileDialog::DialogLabel label) const; + QStringList nameFilters(QFileDialog* theWrappedObject) const; + void open(QFileDialog* theWrappedObject); + void open(QFileDialog* theWrappedObject, QObject* receiver, const char* member); + QFileDialog::Options options(QFileDialog* theWrappedObject) const; + QAbstractProxyModel* proxyModel(QFileDialog* theWrappedObject) const; + bool resolveSymlinks(QFileDialog* theWrappedObject) const; + bool restoreState(QFileDialog* theWrappedObject, const QByteArray& state); + QByteArray saveState(QFileDialog* theWrappedObject) const; + void selectFile(QFileDialog* theWrappedObject, const QString& filename); + void selectFilter(QFileDialog* theWrappedObject, const QString& filter); + void selectNameFilter(QFileDialog* theWrappedObject, const QString& filter); + QStringList selectedFiles(QFileDialog* theWrappedObject) const; + QString selectedFilter(QFileDialog* theWrappedObject) const; + QString selectedNameFilter(QFileDialog* theWrappedObject) const; + void setAcceptMode(QFileDialog* theWrappedObject, QFileDialog::AcceptMode mode); + void setConfirmOverwrite(QFileDialog* theWrappedObject, bool enabled); + void setDefaultSuffix(QFileDialog* theWrappedObject, const QString& suffix); + void setDirectory(QFileDialog* theWrappedObject, const QDir& directory); + void setDirectory(QFileDialog* theWrappedObject, const QString& directory); + void setFileMode(QFileDialog* theWrappedObject, QFileDialog::FileMode mode); + void setFilter(QFileDialog* theWrappedObject, QDir::Filters filters); + void setFilter(QFileDialog* theWrappedObject, const QString& filter); + void setFilters(QFileDialog* theWrappedObject, const QStringList& filters); + void setHistory(QFileDialog* theWrappedObject, const QStringList& paths); + void setIconProvider(QFileDialog* theWrappedObject, QFileIconProvider* provider); + void setItemDelegate(QFileDialog* theWrappedObject, QAbstractItemDelegate* delegate); + void setLabelText(QFileDialog* theWrappedObject, QFileDialog::DialogLabel label, const QString& text); + void setNameFilter(QFileDialog* theWrappedObject, const QString& filter); + void setNameFilterDetailsVisible(QFileDialog* theWrappedObject, bool enabled); + void setNameFilters(QFileDialog* theWrappedObject, const QStringList& filters); + void setOption(QFileDialog* theWrappedObject, QFileDialog::Option option, bool on = true); + void setOptions(QFileDialog* theWrappedObject, QFileDialog::Options options); + void setProxyModel(QFileDialog* theWrappedObject, QAbstractProxyModel* model); + void setReadOnly(QFileDialog* theWrappedObject, bool enabled); + void setResolveSymlinks(QFileDialog* theWrappedObject, bool enabled); + void setSidebarUrls(QFileDialog* theWrappedObject, const QList& urls); + void setViewMode(QFileDialog* theWrappedObject, QFileDialog::ViewMode mode); + void setVisible(QFileDialog* theWrappedObject, bool visible); + QList sidebarUrls(QFileDialog* theWrappedObject) const; + bool testOption(QFileDialog* theWrappedObject, QFileDialog::Option option) const; + QFileDialog::ViewMode viewMode(QFileDialog* theWrappedObject) const; +}; + + + + + +class PythonQtShell_QFileIconProvider : public QFileIconProvider +{ +public: + PythonQtShell_QFileIconProvider():QFileIconProvider(),_wrapper(NULL) {}; + +virtual QIcon icon(QFileIconProvider::IconType type) const; +virtual QIcon icon(const QFileInfo& info) const; +virtual QString type(const QFileInfo& info) const; + + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtPublicPromoter_QFileIconProvider : public QFileIconProvider +{ public: +inline QIcon promoted_icon(QFileIconProvider::IconType type) const { return QFileIconProvider::icon(type); } +inline QIcon promoted_icon(const QFileInfo& info) const { return QFileIconProvider::icon(info); } +inline QString promoted_type(const QFileInfo& info) const { return QFileIconProvider::type(info); } +}; + +class PythonQtWrapper_QFileIconProvider : public QObject +{ Q_OBJECT +public: +Q_ENUMS(IconType ) +enum IconType{ + Computer = QFileIconProvider::Computer, Desktop = QFileIconProvider::Desktop, Trashcan = QFileIconProvider::Trashcan, Network = QFileIconProvider::Network, Drive = QFileIconProvider::Drive, Folder = QFileIconProvider::Folder, File = QFileIconProvider::File}; +public slots: +QFileIconProvider* new_QFileIconProvider(); +void delete_QFileIconProvider(QFileIconProvider* obj) { delete obj; } + QIcon icon(QFileIconProvider* theWrappedObject, QFileIconProvider::IconType type) const; + QIcon icon(QFileIconProvider* theWrappedObject, const QFileInfo& info) const; + QString type(QFileIconProvider* theWrappedObject, const QFileInfo& info) const; +}; + + + + + +class PythonQtWrapper_QFileOpenEvent : public QObject +{ Q_OBJECT +public: +public slots: +QFileOpenEvent* new_QFileOpenEvent(const QString& file); +QFileOpenEvent* new_QFileOpenEvent(const QUrl& url); +void delete_QFileOpenEvent(QFileOpenEvent* obj) { delete obj; } + QString file(QFileOpenEvent* theWrappedObject) const; + QUrl url(QFileOpenEvent* theWrappedObject) const; +}; + + + + + +class PythonQtWrapper_QFocusEvent : public QObject +{ Q_OBJECT +public: +public slots: +QFocusEvent* new_QFocusEvent(QEvent::Type type, Qt::FocusReason reason = Qt::OtherFocusReason); +void delete_QFocusEvent(QFocusEvent* obj) { delete obj; } + bool gotFocus(QFocusEvent* theWrappedObject) const; + bool lostFocus(QFocusEvent* theWrappedObject) const; + Qt::FocusReason reason(QFocusEvent* theWrappedObject); +}; + + + + + +class PythonQtShell_QFocusFrame : public QFocusFrame +{ +public: + PythonQtShell_QFocusFrame(QWidget* parent = 0):QFocusFrame(parent),_wrapper(NULL) {}; + +virtual void actionEvent(QActionEvent* arg__1); +virtual void changeEvent(QEvent* arg__1); +virtual void childEvent(QChildEvent* arg__1); +virtual void closeEvent(QCloseEvent* arg__1); +virtual void contextMenuEvent(QContextMenuEvent* arg__1); +virtual void customEvent(QEvent* arg__1); +virtual int devType() const; +virtual void dragEnterEvent(QDragEnterEvent* arg__1); +virtual void dragLeaveEvent(QDragLeaveEvent* arg__1); +virtual void dragMoveEvent(QDragMoveEvent* arg__1); +virtual void dropEvent(QDropEvent* arg__1); +virtual void enterEvent(QEvent* arg__1); +virtual bool event(QEvent* e); +virtual bool eventFilter(QObject* arg__1, QEvent* arg__2); +virtual void focusInEvent(QFocusEvent* arg__1); +virtual bool focusNextPrevChild(bool next); +virtual void focusOutEvent(QFocusEvent* arg__1); +virtual int heightForWidth(int arg__1) const; +virtual void hideEvent(QHideEvent* arg__1); +virtual void inputMethodEvent(QInputMethodEvent* arg__1); +virtual QVariant inputMethodQuery(Qt::InputMethodQuery arg__1) const; +virtual void keyPressEvent(QKeyEvent* arg__1); +virtual void keyReleaseEvent(QKeyEvent* arg__1); +virtual void languageChange(); +virtual void leaveEvent(QEvent* arg__1); +virtual int metric(QPaintDevice::PaintDeviceMetric arg__1) const; +virtual QSize minimumSizeHint() const; +virtual void mouseDoubleClickEvent(QMouseEvent* arg__1); +virtual void mouseMoveEvent(QMouseEvent* arg__1); +virtual void mousePressEvent(QMouseEvent* arg__1); +virtual void mouseReleaseEvent(QMouseEvent* arg__1); +virtual void moveEvent(QMoveEvent* arg__1); +virtual QPaintEngine* paintEngine() const; +virtual void paintEvent(QPaintEvent* arg__1); +virtual void resizeEvent(QResizeEvent* arg__1); +virtual void showEvent(QShowEvent* arg__1); +virtual QSize sizeHint() const; +virtual void tabletEvent(QTabletEvent* arg__1); +virtual void timerEvent(QTimerEvent* arg__1); +virtual void wheelEvent(QWheelEvent* arg__1); + + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtPublicPromoter_QFocusFrame : public QFocusFrame +{ public: +inline bool promoted_event(QEvent* e) { return QFocusFrame::event(e); } +inline bool promoted_eventFilter(QObject* arg__1, QEvent* arg__2) { return QFocusFrame::eventFilter(arg__1, arg__2); } +inline void promoted_paintEvent(QPaintEvent* arg__1) { QFocusFrame::paintEvent(arg__1); } +}; + +class PythonQtWrapper_QFocusFrame : public QObject +{ Q_OBJECT +public: +public slots: +QFocusFrame* new_QFocusFrame(QWidget* parent = 0); +void delete_QFocusFrame(QFocusFrame* obj) { delete obj; } + bool event(QFocusFrame* theWrappedObject, QEvent* e); + bool eventFilter(QFocusFrame* theWrappedObject, QObject* arg__1, QEvent* arg__2); + void paintEvent(QFocusFrame* theWrappedObject, QPaintEvent* arg__1); + void setWidget(QFocusFrame* theWrappedObject, QWidget* widget); + QWidget* widget(QFocusFrame* theWrappedObject) const; +}; + + + + + +class PythonQtShell_QFontComboBox : public QFontComboBox +{ +public: + PythonQtShell_QFontComboBox(QWidget* parent = 0):QFontComboBox(parent),_wrapper(NULL) {}; + +virtual void actionEvent(QActionEvent* arg__1); +virtual void changeEvent(QEvent* e); +virtual void childEvent(QChildEvent* arg__1); +virtual void closeEvent(QCloseEvent* arg__1); +virtual void contextMenuEvent(QContextMenuEvent* e); +virtual void customEvent(QEvent* arg__1); +virtual int devType() const; +virtual void dragEnterEvent(QDragEnterEvent* arg__1); +virtual void dragLeaveEvent(QDragLeaveEvent* arg__1); +virtual void dragMoveEvent(QDragMoveEvent* arg__1); +virtual void dropEvent(QDropEvent* arg__1); +virtual void enterEvent(QEvent* arg__1); +virtual bool event(QEvent* e); +virtual bool eventFilter(QObject* arg__1, QEvent* arg__2); +virtual void focusInEvent(QFocusEvent* e); +virtual bool focusNextPrevChild(bool next); +virtual void focusOutEvent(QFocusEvent* e); +virtual int heightForWidth(int arg__1) const; +virtual void hideEvent(QHideEvent* e); +virtual void hidePopup(); +virtual void inputMethodEvent(QInputMethodEvent* arg__1); +virtual QVariant inputMethodQuery(Qt::InputMethodQuery arg__1) const; +virtual void keyPressEvent(QKeyEvent* e); +virtual void keyReleaseEvent(QKeyEvent* e); +virtual void languageChange(); +virtual void leaveEvent(QEvent* arg__1); +virtual int metric(QPaintDevice::PaintDeviceMetric arg__1) const; +virtual void mouseDoubleClickEvent(QMouseEvent* arg__1); +virtual void mouseMoveEvent(QMouseEvent* arg__1); +virtual void mousePressEvent(QMouseEvent* e); +virtual void mouseReleaseEvent(QMouseEvent* e); +virtual void moveEvent(QMoveEvent* arg__1); +virtual QPaintEngine* paintEngine() const; +virtual void paintEvent(QPaintEvent* e); +virtual void resizeEvent(QResizeEvent* e); +virtual void showEvent(QShowEvent* e); +virtual void showPopup(); +virtual void tabletEvent(QTabletEvent* arg__1); +virtual void timerEvent(QTimerEvent* arg__1); +virtual void wheelEvent(QWheelEvent* e); + + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtPublicPromoter_QFontComboBox : public QFontComboBox +{ public: +inline bool promoted_event(QEvent* e) { return QFontComboBox::event(e); } +}; + +class PythonQtWrapper_QFontComboBox : public QObject +{ Q_OBJECT +public: +Q_ENUMS(FontFilter ) +Q_FLAGS(FontFilters ) +enum FontFilter{ + AllFonts = QFontComboBox::AllFonts, ScalableFonts = QFontComboBox::ScalableFonts, NonScalableFonts = QFontComboBox::NonScalableFonts, MonospacedFonts = QFontComboBox::MonospacedFonts, ProportionalFonts = QFontComboBox::ProportionalFonts}; +Q_DECLARE_FLAGS(FontFilters, FontFilter) +public slots: +QFontComboBox* new_QFontComboBox(QWidget* parent = 0); +void delete_QFontComboBox(QFontComboBox* obj) { delete obj; } + QFont currentFont(QFontComboBox* theWrappedObject) const; + bool event(QFontComboBox* theWrappedObject, QEvent* e); + QFontComboBox::FontFilters fontFilters(QFontComboBox* theWrappedObject) const; + void setFontFilters(QFontComboBox* theWrappedObject, QFontComboBox::FontFilters filters); + void setWritingSystem(QFontComboBox* theWrappedObject, QFontDatabase::WritingSystem arg__1); + QSize sizeHint(QFontComboBox* theWrappedObject) const; + QFontDatabase::WritingSystem writingSystem(QFontComboBox* theWrappedObject) const; +}; + + + + + +class PythonQtShell_QFontDialog : public QFontDialog +{ +public: + PythonQtShell_QFontDialog(QWidget* parent = 0):QFontDialog(parent),_wrapper(NULL) {}; + PythonQtShell_QFontDialog(const QFont& initial, QWidget* parent = 0):QFontDialog(initial, parent),_wrapper(NULL) {}; + +virtual void accept(); +virtual void actionEvent(QActionEvent* arg__1); +virtual void changeEvent(QEvent* event); +virtual void childEvent(QChildEvent* arg__1); +virtual void closeEvent(QCloseEvent* arg__1); +virtual void contextMenuEvent(QContextMenuEvent* arg__1); +virtual void customEvent(QEvent* arg__1); +virtual int devType() const; +virtual void done(int result); +virtual void dragEnterEvent(QDragEnterEvent* arg__1); +virtual void dragLeaveEvent(QDragLeaveEvent* arg__1); +virtual void dragMoveEvent(QDragMoveEvent* arg__1); +virtual void dropEvent(QDropEvent* arg__1); +virtual void enterEvent(QEvent* arg__1); +virtual bool event(QEvent* arg__1); +virtual void focusInEvent(QFocusEvent* arg__1); +virtual bool focusNextPrevChild(bool next); +virtual void focusOutEvent(QFocusEvent* arg__1); +virtual int heightForWidth(int arg__1) const; +virtual void hideEvent(QHideEvent* arg__1); +virtual void inputMethodEvent(QInputMethodEvent* arg__1); +virtual QVariant inputMethodQuery(Qt::InputMethodQuery arg__1) const; +virtual void keyPressEvent(QKeyEvent* arg__1); +virtual void keyReleaseEvent(QKeyEvent* arg__1); +virtual void languageChange(); +virtual void leaveEvent(QEvent* arg__1); +virtual int metric(QPaintDevice::PaintDeviceMetric arg__1) const; +virtual void mouseDoubleClickEvent(QMouseEvent* arg__1); +virtual void mouseMoveEvent(QMouseEvent* arg__1); +virtual void mousePressEvent(QMouseEvent* arg__1); +virtual void mouseReleaseEvent(QMouseEvent* arg__1); +virtual void moveEvent(QMoveEvent* arg__1); +virtual QPaintEngine* paintEngine() const; +virtual void paintEvent(QPaintEvent* arg__1); +virtual void reject(); +virtual void resizeEvent(QResizeEvent* arg__1); +virtual void showEvent(QShowEvent* arg__1); +virtual void tabletEvent(QTabletEvent* arg__1); +virtual void timerEvent(QTimerEvent* arg__1); +virtual void wheelEvent(QWheelEvent* arg__1); + + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtPublicPromoter_QFontDialog : public QFontDialog +{ public: +inline void promoted_changeEvent(QEvent* event) { QFontDialog::changeEvent(event); } +inline void promoted_done(int result) { QFontDialog::done(result); } +}; + +class PythonQtWrapper_QFontDialog : public QObject +{ Q_OBJECT +public: +public slots: +QFontDialog* new_QFontDialog(QWidget* parent = 0); +QFontDialog* new_QFontDialog(const QFont& initial, QWidget* parent = 0); +void delete_QFontDialog(QFontDialog* obj) { delete obj; } + void changeEvent(QFontDialog* theWrappedObject, QEvent* event); + QFont currentFont(QFontDialog* theWrappedObject) const; + void done(QFontDialog* theWrappedObject, int result); + QFont static_QFontDialog_getFont(bool* ok, QWidget* parent = 0); + QFont static_QFontDialog_getFont(bool* ok, const QFont& initial, QWidget* parent = 0); + QFont static_QFontDialog_getFont(bool* ok, const QFont& initial, QWidget* parent, const QString& title); + QFont static_QFontDialog_getFont(bool* ok, const QFont& initial, QWidget* parent, const QString& title, QFontDialog::FontDialogOptions options); + void open(QFontDialog* theWrappedObject); + void open(QFontDialog* theWrappedObject, QObject* receiver, const char* member); + QFontDialog::FontDialogOptions options(QFontDialog* theWrappedObject) const; + QFont selectedFont(QFontDialog* theWrappedObject) const; + void setCurrentFont(QFontDialog* theWrappedObject, const QFont& font); + void setOption(QFontDialog* theWrappedObject, QFontDialog::FontDialogOption option, bool on = true); + void setOptions(QFontDialog* theWrappedObject, QFontDialog::FontDialogOptions options); + void setVisible(QFontDialog* theWrappedObject, bool visible); + bool testOption(QFontDialog* theWrappedObject, QFontDialog::FontDialogOption option) const; +}; + + + + + +class PythonQtWrapper_QFontInfo : public QObject +{ Q_OBJECT +public: +public slots: +QFontInfo* new_QFontInfo(const QFont& arg__1); +QFontInfo* new_QFontInfo(const QFontInfo& arg__1); +void delete_QFontInfo(QFontInfo* obj) { delete obj; } + bool bold(QFontInfo* theWrappedObject) const; + bool exactMatch(QFontInfo* theWrappedObject) const; + QString family(QFontInfo* theWrappedObject) const; + bool fixedPitch(QFontInfo* theWrappedObject) const; + bool italic(QFontInfo* theWrappedObject) const; + bool overline(QFontInfo* theWrappedObject) const; + int pixelSize(QFontInfo* theWrappedObject) const; + int pointSize(QFontInfo* theWrappedObject) const; + qreal pointSizeF(QFontInfo* theWrappedObject) const; + bool rawMode(QFontInfo* theWrappedObject) const; + bool strikeOut(QFontInfo* theWrappedObject) const; + QFont::Style style(QFontInfo* theWrappedObject) const; + QFont::StyleHint styleHint(QFontInfo* theWrappedObject) const; + bool underline(QFontInfo* theWrappedObject) const; + int weight(QFontInfo* theWrappedObject) const; +}; + + + + + +class PythonQtWrapper_QFontMetrics : public QObject +{ Q_OBJECT +public: +public slots: +QFontMetrics* new_QFontMetrics(const QFont& arg__1); +QFontMetrics* new_QFontMetrics(const QFont& arg__1, QPaintDevice* pd); +void delete_QFontMetrics(QFontMetrics* obj) { delete obj; } + int 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 = 0) 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 = 0) 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; + int height(QFontMetrics* theWrappedObject) const; + bool inFont(QFontMetrics* theWrappedObject, QChar arg__1) 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 = 0) const; + int strikeOutPos(QFontMetrics* theWrappedObject) const; + 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 xHeight(QFontMetrics* theWrappedObject) const; +}; + + + + + +class PythonQtWrapper_QFontMetricsF : public QObject +{ Q_OBJECT +public: +public slots: +QFontMetricsF* new_QFontMetricsF(const QFont& arg__1); +QFontMetricsF* new_QFontMetricsF(const QFont& arg__1, QPaintDevice* pd); +void delete_QFontMetricsF(QFontMetricsF* obj) { delete obj; } + qreal 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 = 0) const; + QRectF boundingRect(QFontMetricsF* theWrappedObject, const QString& string) const; + qreal descent(QFontMetricsF* theWrappedObject) const; + QString elidedText(QFontMetricsF* theWrappedObject, const QString& text, Qt::TextElideMode mode, qreal width, int flags = 0) const; + qreal height(QFontMetricsF* theWrappedObject) const; + bool inFont(QFontMetricsF* theWrappedObject, QChar arg__1) 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 = 0) const; + qreal strikeOutPos(QFontMetricsF* theWrappedObject) const; + 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; +}; + + + + + +class PythonQtShell_QFormLayout : public QFormLayout +{ +public: + PythonQtShell_QFormLayout(QWidget* parent = 0):QFormLayout(parent),_wrapper(NULL) {}; + +virtual void addItem(QLayoutItem* item); +virtual void childEvent(QChildEvent* e); +virtual int count() const; +virtual void customEvent(QEvent* arg__1); +virtual bool event(QEvent* arg__1); +virtual bool eventFilter(QObject* arg__1, QEvent* arg__2); +virtual Qt::Orientations expandingDirections() const; +virtual QRect geometry() const; +virtual int indexOf(QWidget* arg__1) const; +virtual void invalidate(); +virtual bool isEmpty() const; +virtual QLayoutItem* itemAt(int index) const; +virtual QLayout* layout(); +virtual QSize maximumSize() const; +virtual QSize minimumSize() const; +virtual void setGeometry(const QRect& rect); +virtual QLayoutItem* takeAt(int index); +virtual void timerEvent(QTimerEvent* arg__1); + + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtPublicPromoter_QFormLayout : public QFormLayout +{ public: +inline void promoted_addItem(QLayoutItem* item) { QFormLayout::addItem(item); } +inline int promoted_count() const { return QFormLayout::count(); } +inline Qt::Orientations promoted_expandingDirections() const { return QFormLayout::expandingDirections(); } +inline void promoted_invalidate() { QFormLayout::invalidate(); } +inline QLayoutItem* promoted_itemAt(int index) const { return QFormLayout::itemAt(index); } +inline QSize promoted_minimumSize() const { return QFormLayout::minimumSize(); } +inline void promoted_setGeometry(const QRect& rect) { QFormLayout::setGeometry(rect); } +inline QLayoutItem* promoted_takeAt(int index) { return QFormLayout::takeAt(index); } +}; + +class PythonQtWrapper_QFormLayout : public QObject +{ Q_OBJECT +public: +public slots: +QFormLayout* new_QFormLayout(QWidget* parent = 0); +void delete_QFormLayout(QFormLayout* obj) { delete obj; } + void addItem(QFormLayout* theWrappedObject, QLayoutItem* item); + void addRow(QFormLayout* theWrappedObject, QLayout* layout); + void addRow(QFormLayout* theWrappedObject, QWidget* label, QLayout* field); + void addRow(QFormLayout* theWrappedObject, QWidget* label, QWidget* field); + void addRow(QFormLayout* theWrappedObject, QWidget* widget); + void addRow(QFormLayout* theWrappedObject, const QString& labelText, QLayout* field); + void addRow(QFormLayout* theWrappedObject, const QString& labelText, QWidget* field); + int count(QFormLayout* theWrappedObject) const; + Qt::Orientations expandingDirections(QFormLayout* theWrappedObject) const; + 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; + int heightForWidth(QFormLayout* theWrappedObject, int width) const; + int horizontalSpacing(QFormLayout* theWrappedObject) const; + void insertRow(QFormLayout* theWrappedObject, int row, QLayout* layout); + void insertRow(QFormLayout* theWrappedObject, int row, QWidget* label, QLayout* field); + void insertRow(QFormLayout* theWrappedObject, int row, QWidget* label, QWidget* field); + void insertRow(QFormLayout* theWrappedObject, int row, QWidget* widget); + void insertRow(QFormLayout* theWrappedObject, int row, const QString& labelText, QLayout* field); + void insertRow(QFormLayout* theWrappedObject, int row, const QString& labelText, QWidget* field); + void invalidate(QFormLayout* theWrappedObject); + QLayoutItem* itemAt(QFormLayout* theWrappedObject, int index) const; + 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; + 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 setHorizontalSpacing(QFormLayout* theWrappedObject, int spacing); + void setItem(QFormLayout* theWrappedObject, int row, QFormLayout::ItemRole role, QLayoutItem* item); + void setLabelAlignment(QFormLayout* theWrappedObject, Qt::Alignment alignment); + void setLayout(QFormLayout* theWrappedObject, int row, QFormLayout::ItemRole role, QLayout* 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, QWidget* widget); + QSize sizeHint(QFormLayout* theWrappedObject) const; + int spacing(QFormLayout* theWrappedObject) const; + QLayoutItem* takeAt(QFormLayout* theWrappedObject, int index); + int verticalSpacing(QFormLayout* theWrappedObject) const; +}; + + + + + +class PythonQtShell_QFrame : public QFrame +{ +public: + PythonQtShell_QFrame(QWidget* parent = 0, Qt::WindowFlags f = 0):QFrame(parent, f),_wrapper(NULL) {}; + +virtual void actionEvent(QActionEvent* arg__1); +virtual void changeEvent(QEvent* arg__1); +virtual void childEvent(QChildEvent* arg__1); +virtual void closeEvent(QCloseEvent* arg__1); +virtual void contextMenuEvent(QContextMenuEvent* arg__1); +virtual void customEvent(QEvent* arg__1); +virtual int devType() const; +virtual void dragEnterEvent(QDragEnterEvent* arg__1); +virtual void dragLeaveEvent(QDragLeaveEvent* arg__1); +virtual void dragMoveEvent(QDragMoveEvent* arg__1); +virtual void dropEvent(QDropEvent* arg__1); +virtual void enterEvent(QEvent* arg__1); +virtual bool event(QEvent* e); +virtual bool eventFilter(QObject* arg__1, QEvent* arg__2); +virtual void focusInEvent(QFocusEvent* arg__1); +virtual bool focusNextPrevChild(bool next); +virtual void focusOutEvent(QFocusEvent* arg__1); +virtual int heightForWidth(int arg__1) const; +virtual void hideEvent(QHideEvent* arg__1); +virtual void inputMethodEvent(QInputMethodEvent* arg__1); +virtual QVariant inputMethodQuery(Qt::InputMethodQuery arg__1) const; +virtual void keyPressEvent(QKeyEvent* arg__1); +virtual void keyReleaseEvent(QKeyEvent* arg__1); +virtual void languageChange(); +virtual void leaveEvent(QEvent* arg__1); +virtual int metric(QPaintDevice::PaintDeviceMetric arg__1) const; +virtual QSize minimumSizeHint() const; +virtual void mouseDoubleClickEvent(QMouseEvent* arg__1); +virtual void mouseMoveEvent(QMouseEvent* arg__1); +virtual void mousePressEvent(QMouseEvent* arg__1); +virtual void mouseReleaseEvent(QMouseEvent* arg__1); +virtual void moveEvent(QMoveEvent* arg__1); +virtual QPaintEngine* paintEngine() const; +virtual void paintEvent(QPaintEvent* arg__1); +virtual void resizeEvent(QResizeEvent* arg__1); +virtual void showEvent(QShowEvent* arg__1); +virtual void tabletEvent(QTabletEvent* arg__1); +virtual void timerEvent(QTimerEvent* arg__1); +virtual void wheelEvent(QWheelEvent* arg__1); + + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtPublicPromoter_QFrame : public QFrame +{ public: +inline void promoted_changeEvent(QEvent* arg__1) { QFrame::changeEvent(arg__1); } +inline bool promoted_event(QEvent* e) { return QFrame::event(e); } +inline void promoted_paintEvent(QPaintEvent* arg__1) { QFrame::paintEvent(arg__1); } +}; + +class PythonQtWrapper_QFrame : public QObject +{ Q_OBJECT +public: +Q_ENUMS(StyleMask ) +enum StyleMask{ + Shadow_Mask = QFrame::Shadow_Mask, Shape_Mask = QFrame::Shape_Mask}; +public slots: +QFrame* new_QFrame(QWidget* parent = 0, Qt::WindowFlags f = 0); +void delete_QFrame(QFrame* obj) { delete obj; } + void changeEvent(QFrame* theWrappedObject, QEvent* arg__1); + bool event(QFrame* theWrappedObject, QEvent* e); + QRect frameRect(QFrame* theWrappedObject) const; + QFrame::Shadow frameShadow(QFrame* theWrappedObject) const; + QFrame::Shape frameShape(QFrame* theWrappedObject) const; + int frameStyle(QFrame* theWrappedObject) const; + int frameWidth(QFrame* theWrappedObject) const; + int lineWidth(QFrame* theWrappedObject) const; + int midLineWidth(QFrame* theWrappedObject) const; + void paintEvent(QFrame* theWrappedObject, QPaintEvent* arg__1); + void setFrameRect(QFrame* theWrappedObject, const QRect& arg__1); + void setFrameShadow(QFrame* theWrappedObject, QFrame::Shadow arg__1); + void setFrameShape(QFrame* theWrappedObject, QFrame::Shape arg__1); + void setFrameStyle(QFrame* theWrappedObject, int arg__1); + void setLineWidth(QFrame* theWrappedObject, int arg__1); + void setMidLineWidth(QFrame* theWrappedObject, int arg__1); + QSize sizeHint(QFrame* theWrappedObject) const; +}; + + + + + +class PythonQtShell_QGesture : public QGesture +{ +public: + PythonQtShell_QGesture(QObject* parent = 0):QGesture(parent),_wrapper(NULL) {}; + +virtual void childEvent(QChildEvent* arg__1); +virtual void customEvent(QEvent* arg__1); +virtual bool event(QEvent* arg__1); +virtual bool eventFilter(QObject* arg__1, QEvent* arg__2); +virtual void timerEvent(QTimerEvent* arg__1); + + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtWrapper_QGesture : public QObject +{ Q_OBJECT +public: +public slots: +QGesture* new_QGesture(QObject* parent = 0); +void delete_QGesture(QGesture* obj) { delete obj; } + bool hasHotSpot(QGesture* theWrappedObject) const; + QPointF hotSpot(QGesture* theWrappedObject) const; + void setHotSpot(QGesture* theWrappedObject, const QPointF& value); + Qt::GestureState state(QGesture* theWrappedObject) const; + void unsetHotSpot(QGesture* theWrappedObject); +}; + + + + + +class PythonQtWrapper_QGradient : public QObject +{ Q_OBJECT +public: +Q_ENUMS(CoordinateMode Spread Type ) +enum CoordinateMode{ + LogicalMode = QGradient::LogicalMode, StretchToDeviceMode = QGradient::StretchToDeviceMode, ObjectBoundingMode = QGradient::ObjectBoundingMode}; +enum Spread{ + PadSpread = QGradient::PadSpread, ReflectSpread = QGradient::ReflectSpread, RepeatSpread = QGradient::RepeatSpread}; +enum Type{ + LinearGradient = QGradient::LinearGradient, RadialGradient = QGradient::RadialGradient, ConicalGradient = QGradient::ConicalGradient, NoGradient = QGradient::NoGradient}; +public slots: +QGradient* new_QGradient(); +QGradient* new_QGradient(const QGradient& other) { +QGradient* a = new QGradient(); +*((QGradient*)a) = other; +return a; } +void delete_QGradient(QGradient* obj) { delete obj; } + QGradient::CoordinateMode coordinateMode(QGradient* theWrappedObject) const; + bool __ne__(QGradient* theWrappedObject, const QGradient& other) const; + bool __eq__(QGradient* theWrappedObject, const QGradient& gradient) const; + void setColorAt(QGradient* theWrappedObject, qreal pos, const QColor& color); + void setCoordinateMode(QGradient* theWrappedObject, QGradient::CoordinateMode mode); + void setSpread(QGradient* theWrappedObject, QGradient::Spread spread); + void setStops(QGradient* theWrappedObject, const QVector >& stops); + QGradient::Spread spread(QGradient* theWrappedObject) const; + QVector > stops(QGradient* theWrappedObject) const; + QGradient::Type type(QGradient* theWrappedObject) const; +}; + + + + + +class PythonQtWrapper_QGraphicsAnchor : public QObject +{ Q_OBJECT +public: +public slots: +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; + qreal spacing(QGraphicsAnchor* theWrappedObject) const; + void unsetSpacing(QGraphicsAnchor* theWrappedObject); +}; + + + + + +class PythonQtShell_QGraphicsAnchorLayout : public QGraphicsAnchorLayout +{ +public: + PythonQtShell_QGraphicsAnchorLayout(QGraphicsLayoutItem* parent = 0):QGraphicsAnchorLayout(parent),_wrapper(NULL) {}; + +virtual int count() const; +virtual void getContentsMargins(qreal* left, qreal* top, qreal* right, qreal* bottom) const; +virtual void invalidate(); +virtual QGraphicsLayoutItem* itemAt(int index) const; +virtual void removeAt(int index); +virtual void updateGeometry(); +virtual void widgetEvent(QEvent* e); + + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtPublicPromoter_QGraphicsAnchorLayout : public QGraphicsAnchorLayout +{ public: +inline int promoted_count() const { return QGraphicsAnchorLayout::count(); } +inline void promoted_invalidate() { QGraphicsAnchorLayout::invalidate(); } +inline QGraphicsLayoutItem* promoted_itemAt(int index) const { return QGraphicsAnchorLayout::itemAt(index); } +inline void promoted_removeAt(int index) { QGraphicsAnchorLayout::removeAt(index); } +}; + +class PythonQtWrapper_QGraphicsAnchorLayout : public QObject +{ Q_OBJECT +public: +public slots: +QGraphicsAnchorLayout* new_QGraphicsAnchorLayout(QGraphicsLayoutItem* parent = 0); +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); + QGraphicsAnchor* anchor(QGraphicsAnchorLayout* theWrappedObject, QGraphicsLayoutItem* firstItem, Qt::AnchorPoint firstEdge, QGraphicsLayoutItem* secondItem, Qt::AnchorPoint secondEdge); + int count(QGraphicsAnchorLayout* theWrappedObject) const; + qreal horizontalSpacing(QGraphicsAnchorLayout* theWrappedObject) const; + void invalidate(QGraphicsAnchorLayout* theWrappedObject); + QGraphicsLayoutItem* itemAt(QGraphicsAnchorLayout* theWrappedObject, int index) const; + void removeAt(QGraphicsAnchorLayout* theWrappedObject, int index); + void setGeometry(QGraphicsAnchorLayout* theWrappedObject, const QRectF& rect); + void setHorizontalSpacing(QGraphicsAnchorLayout* theWrappedObject, qreal spacing); + void setSpacing(QGraphicsAnchorLayout* theWrappedObject, qreal spacing); + void setVerticalSpacing(QGraphicsAnchorLayout* theWrappedObject, qreal spacing); + qreal verticalSpacing(QGraphicsAnchorLayout* theWrappedObject) const; +}; + + + + + +class PythonQtShell_QGraphicsEffect : public QGraphicsEffect +{ +public: + PythonQtShell_QGraphicsEffect(QObject* parent = 0):QGraphicsEffect(parent),_wrapper(NULL) {}; + +virtual QRectF boundingRectFor(const QRectF& sourceRect) const; +virtual void childEvent(QChildEvent* arg__1); +virtual void customEvent(QEvent* arg__1); +virtual void draw(QPainter* painter); +virtual bool event(QEvent* arg__1); +virtual bool eventFilter(QObject* arg__1, QEvent* arg__2); +virtual void sourceChanged(QGraphicsEffect::ChangeFlags flags); +virtual void timerEvent(QTimerEvent* arg__1); + + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtPublicPromoter_QGraphicsEffect : public QGraphicsEffect +{ public: +inline QRectF promoted_boundingRectFor(const QRectF& sourceRect) const { return QGraphicsEffect::boundingRectFor(sourceRect); } +inline void promoted_sourceChanged(QGraphicsEffect::ChangeFlags flags) { QGraphicsEffect::sourceChanged(flags); } +}; + +class PythonQtWrapper_QGraphicsEffect : public QObject +{ Q_OBJECT +public: +Q_ENUMS(ChangeFlag ) +Q_FLAGS(ChangeFlags ) +enum ChangeFlag{ + SourceAttached = QGraphicsEffect::SourceAttached, SourceDetached = QGraphicsEffect::SourceDetached, SourceBoundingRectChanged = QGraphicsEffect::SourceBoundingRectChanged, SourceInvalidated = QGraphicsEffect::SourceInvalidated}; +Q_DECLARE_FLAGS(ChangeFlags, ChangeFlag) +public slots: +QGraphicsEffect* new_QGraphicsEffect(QObject* parent = 0); +void delete_QGraphicsEffect(QGraphicsEffect* obj) { delete obj; } + QRectF boundingRect(QGraphicsEffect* theWrappedObject) const; + QRectF boundingRectFor(QGraphicsEffect* theWrappedObject, const QRectF& sourceRect) const; + bool isEnabled(QGraphicsEffect* theWrappedObject) const; + void sourceChanged(QGraphicsEffect* theWrappedObject, QGraphicsEffect::ChangeFlags flags); +}; + + + + + +class PythonQtShell_QGraphicsEllipseItem : public QGraphicsEllipseItem +{ +public: + PythonQtShell_QGraphicsEllipseItem(QGraphicsItem* parent = 0, QGraphicsScene* scene = 0):QGraphicsEllipseItem(parent, scene),_wrapper(NULL) {}; + PythonQtShell_QGraphicsEllipseItem(const QRectF& rect, QGraphicsItem* parent = 0, QGraphicsScene* scene = 0):QGraphicsEllipseItem(rect, parent, scene),_wrapper(NULL) {}; + PythonQtShell_QGraphicsEllipseItem(qreal x, qreal y, qreal w, qreal h, QGraphicsItem* parent = 0, QGraphicsScene* scene = 0):QGraphicsEllipseItem(x, y, w, h, parent, scene),_wrapper(NULL) {}; + +virtual bool isObscuredBy(const QGraphicsItem* item) const; +virtual QPainterPath opaqueArea() const; + + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtPublicPromoter_QGraphicsEllipseItem : public QGraphicsEllipseItem +{ public: +inline bool promoted_isObscuredBy(const QGraphicsItem* item) const { return QGraphicsEllipseItem::isObscuredBy(item); } +inline QPainterPath promoted_opaqueArea() const { return QGraphicsEllipseItem::opaqueArea(); } +}; + +class PythonQtWrapper_QGraphicsEllipseItem : public QObject +{ Q_OBJECT +public: +Q_ENUMS(enum_1 ) +enum enum_1{ + Type = QGraphicsEllipseItem::Type}; +public slots: +QGraphicsEllipseItem* new_QGraphicsEllipseItem(QGraphicsItem* parent = 0, QGraphicsScene* scene = 0); +QGraphicsEllipseItem* new_QGraphicsEllipseItem(const QRectF& rect, QGraphicsItem* parent = 0, QGraphicsScene* scene = 0); +QGraphicsEllipseItem* new_QGraphicsEllipseItem(qreal x, qreal y, qreal w, qreal h, QGraphicsItem* parent = 0, QGraphicsScene* scene = 0); +void delete_QGraphicsEllipseItem(QGraphicsEllipseItem* obj) { delete obj; } + QRectF boundingRect(QGraphicsEllipseItem* theWrappedObject) const; + bool contains(QGraphicsEllipseItem* theWrappedObject, const QPointF& point) const; + bool isObscuredBy(QGraphicsEllipseItem* theWrappedObject, const QGraphicsItem* item) const; + QPainterPath opaqueArea(QGraphicsEllipseItem* theWrappedObject) const; + void paint(QGraphicsEllipseItem* theWrappedObject, QPainter* painter, const QStyleOptionGraphicsItem* option, QWidget* widget = 0); + QRectF rect(QGraphicsEllipseItem* theWrappedObject) const; + 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; + int spanAngle(QGraphicsEllipseItem* theWrappedObject) const; + int startAngle(QGraphicsEllipseItem* theWrappedObject) const; + int type(QGraphicsEllipseItem* theWrappedObject) const; +}; + + + + + +class PythonQtShell_QGraphicsGridLayout : public QGraphicsGridLayout +{ +public: + PythonQtShell_QGraphicsGridLayout(QGraphicsLayoutItem* parent = 0):QGraphicsGridLayout(parent),_wrapper(NULL) {}; + +virtual int count() const; +virtual void getContentsMargins(qreal* left, qreal* top, qreal* right, qreal* bottom) const; +virtual void invalidate(); +virtual QGraphicsLayoutItem* itemAt(int index) const; +virtual void removeAt(int index); +virtual void updateGeometry(); +virtual void widgetEvent(QEvent* e); + + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtPublicPromoter_QGraphicsGridLayout : public QGraphicsGridLayout +{ public: +inline int promoted_count() const { return QGraphicsGridLayout::count(); } +inline void promoted_invalidate() { QGraphicsGridLayout::invalidate(); } +inline QGraphicsLayoutItem* promoted_itemAt(int index) const { return QGraphicsGridLayout::itemAt(index); } +inline void promoted_removeAt(int index) { QGraphicsGridLayout::removeAt(index); } +}; + +class PythonQtWrapper_QGraphicsGridLayout : public QObject +{ Q_OBJECT +public: +public slots: +QGraphicsGridLayout* new_QGraphicsGridLayout(QGraphicsLayoutItem* parent = 0); +void delete_QGraphicsGridLayout(QGraphicsGridLayout* obj) { delete obj; } + void addItem(QGraphicsGridLayout* theWrappedObject, QGraphicsLayoutItem* item, int row, int column, Qt::Alignment alignment = 0); + void addItem(QGraphicsGridLayout* theWrappedObject, QGraphicsLayoutItem* item, int row, int column, int rowSpan, int columnSpan, Qt::Alignment alignment = 0); + Qt::Alignment alignment(QGraphicsGridLayout* theWrappedObject, QGraphicsLayoutItem* item) const; + Qt::Alignment columnAlignment(QGraphicsGridLayout* theWrappedObject, int column) const; + int columnCount(QGraphicsGridLayout* theWrappedObject) const; + qreal columnMaximumWidth(QGraphicsGridLayout* theWrappedObject, int column) const; + qreal columnMinimumWidth(QGraphicsGridLayout* theWrappedObject, int column) const; + qreal columnPreferredWidth(QGraphicsGridLayout* theWrappedObject, int column) const; + qreal columnSpacing(QGraphicsGridLayout* theWrappedObject, int column) const; + int columnStretchFactor(QGraphicsGridLayout* theWrappedObject, int column) const; + int count(QGraphicsGridLayout* theWrappedObject) const; + qreal horizontalSpacing(QGraphicsGridLayout* theWrappedObject) const; + void invalidate(QGraphicsGridLayout* theWrappedObject); + QGraphicsLayoutItem* itemAt(QGraphicsGridLayout* theWrappedObject, int index) const; + QGraphicsLayoutItem* itemAt(QGraphicsGridLayout* theWrappedObject, int row, int column) const; + void removeAt(QGraphicsGridLayout* theWrappedObject, int index); + Qt::Alignment rowAlignment(QGraphicsGridLayout* theWrappedObject, int row) const; + int rowCount(QGraphicsGridLayout* theWrappedObject) const; + qreal rowMaximumHeight(QGraphicsGridLayout* theWrappedObject, int row) const; + qreal rowMinimumHeight(QGraphicsGridLayout* theWrappedObject, int row) const; + qreal rowPreferredHeight(QGraphicsGridLayout* theWrappedObject, int row) const; + qreal rowSpacing(QGraphicsGridLayout* theWrappedObject, int row) const; + int rowStretchFactor(QGraphicsGridLayout* theWrappedObject, int row) const; + void setAlignment(QGraphicsGridLayout* theWrappedObject, QGraphicsLayoutItem* item, Qt::Alignment alignment); + void setColumnAlignment(QGraphicsGridLayout* theWrappedObject, int column, Qt::Alignment alignment); + void setColumnFixedWidth(QGraphicsGridLayout* theWrappedObject, int column, qreal width); + void setColumnMaximumWidth(QGraphicsGridLayout* theWrappedObject, int column, qreal width); + void setColumnMinimumWidth(QGraphicsGridLayout* theWrappedObject, int column, qreal width); + 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 setHorizontalSpacing(QGraphicsGridLayout* theWrappedObject, qreal spacing); + void setRowAlignment(QGraphicsGridLayout* theWrappedObject, int row, Qt::Alignment alignment); + void setRowFixedHeight(QGraphicsGridLayout* theWrappedObject, int row, qreal height); + void setRowMaximumHeight(QGraphicsGridLayout* theWrappedObject, int row, qreal height); + void setRowMinimumHeight(QGraphicsGridLayout* theWrappedObject, int row, qreal height); + void setRowPreferredHeight(QGraphicsGridLayout* theWrappedObject, int row, qreal height); + void setRowSpacing(QGraphicsGridLayout* theWrappedObject, int row, qreal spacing); + 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; + qreal verticalSpacing(QGraphicsGridLayout* theWrappedObject) const; +}; + + + + + +class PythonQtShell_QGraphicsItem : public QGraphicsItem +{ +public: + PythonQtShell_QGraphicsItem(QGraphicsItem* parent = 0, QGraphicsScene* scene = 0):QGraphicsItem(parent, scene),_wrapper(NULL) {}; + +virtual void advance(int phase); +virtual QRectF boundingRect() const; +virtual bool collidesWithItem(const QGraphicsItem* other, Qt::ItemSelectionMode mode = Qt::IntersectsItemShape) const; +virtual bool collidesWithPath(const QPainterPath& path, Qt::ItemSelectionMode mode = Qt::IntersectsItemShape) const; +virtual bool contains(const QPointF& point) const; +virtual void contextMenuEvent(QGraphicsSceneContextMenuEvent* event); +virtual void dragEnterEvent(QGraphicsSceneDragDropEvent* event); +virtual void dragLeaveEvent(QGraphicsSceneDragDropEvent* event); +virtual void dragMoveEvent(QGraphicsSceneDragDropEvent* event); +virtual void dropEvent(QGraphicsSceneDragDropEvent* event); +virtual QVariant extension(const QVariant& variant) const; +virtual void focusInEvent(QFocusEvent* event); +virtual void focusOutEvent(QFocusEvent* event); +virtual void hoverEnterEvent(QGraphicsSceneHoverEvent* event); +virtual void hoverLeaveEvent(QGraphicsSceneHoverEvent* event); +virtual void hoverMoveEvent(QGraphicsSceneHoverEvent* event); +virtual void inputMethodEvent(QInputMethodEvent* event); +virtual QVariant inputMethodQuery(Qt::InputMethodQuery query) const; +virtual bool isObscuredBy(const QGraphicsItem* item) const; +virtual QVariant itemChange(QGraphicsItem::GraphicsItemChange change, const QVariant& value); +virtual void keyPressEvent(QKeyEvent* event); +virtual void keyReleaseEvent(QKeyEvent* event); +virtual void mouseDoubleClickEvent(QGraphicsSceneMouseEvent* event); +virtual void mouseMoveEvent(QGraphicsSceneMouseEvent* event); +virtual void mousePressEvent(QGraphicsSceneMouseEvent* event); +virtual void mouseReleaseEvent(QGraphicsSceneMouseEvent* event); +virtual QPainterPath opaqueArea() const; +virtual void paint(QPainter* painter, const QStyleOptionGraphicsItem* option, QWidget* widget = 0); +virtual bool sceneEvent(QEvent* event); +virtual bool sceneEventFilter(QGraphicsItem* watched, QEvent* event); +virtual void setExtension(QGraphicsItem::Extension extension, const QVariant& variant); +virtual QPainterPath shape() const; +virtual bool supportsExtension(QGraphicsItem::Extension extension) const; +virtual int type() const; +virtual void wheelEvent(QGraphicsSceneWheelEvent* event); + + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtPublicPromoter_QGraphicsItem : public QGraphicsItem +{ public: +inline void promoted_advance(int phase) { QGraphicsItem::advance(phase); } +inline bool promoted_collidesWithItem(const QGraphicsItem* other, Qt::ItemSelectionMode mode = Qt::IntersectsItemShape) const { return QGraphicsItem::collidesWithItem(other, mode); } +inline bool promoted_collidesWithPath(const QPainterPath& path, Qt::ItemSelectionMode mode = Qt::IntersectsItemShape) const { return QGraphicsItem::collidesWithPath(path, mode); } +inline bool promoted_contains(const QPointF& point) const { return QGraphicsItem::contains(point); } +inline void promoted_contextMenuEvent(QGraphicsSceneContextMenuEvent* event) { QGraphicsItem::contextMenuEvent(event); } +inline void promoted_dragEnterEvent(QGraphicsSceneDragDropEvent* event) { QGraphicsItem::dragEnterEvent(event); } +inline void promoted_dragLeaveEvent(QGraphicsSceneDragDropEvent* event) { QGraphicsItem::dragLeaveEvent(event); } +inline void promoted_dragMoveEvent(QGraphicsSceneDragDropEvent* event) { QGraphicsItem::dragMoveEvent(event); } +inline void promoted_dropEvent(QGraphicsSceneDragDropEvent* event) { QGraphicsItem::dropEvent(event); } +inline QVariant promoted_extension(const QVariant& variant) const { return QGraphicsItem::extension(variant); } +inline void promoted_focusInEvent(QFocusEvent* event) { QGraphicsItem::focusInEvent(event); } +inline void promoted_focusOutEvent(QFocusEvent* event) { QGraphicsItem::focusOutEvent(event); } +inline void promoted_hoverEnterEvent(QGraphicsSceneHoverEvent* event) { QGraphicsItem::hoverEnterEvent(event); } +inline void promoted_hoverLeaveEvent(QGraphicsSceneHoverEvent* event) { QGraphicsItem::hoverLeaveEvent(event); } +inline void promoted_hoverMoveEvent(QGraphicsSceneHoverEvent* event) { QGraphicsItem::hoverMoveEvent(event); } +inline void promoted_inputMethodEvent(QInputMethodEvent* event) { QGraphicsItem::inputMethodEvent(event); } +inline QVariant promoted_inputMethodQuery(Qt::InputMethodQuery query) const { return QGraphicsItem::inputMethodQuery(query); } +inline bool promoted_isObscuredBy(const QGraphicsItem* item) const { return QGraphicsItem::isObscuredBy(item); } +inline QVariant promoted_itemChange(QGraphicsItem::GraphicsItemChange change, const QVariant& value) { return QGraphicsItem::itemChange(change, value); } +inline void promoted_keyPressEvent(QKeyEvent* event) { QGraphicsItem::keyPressEvent(event); } +inline void promoted_keyReleaseEvent(QKeyEvent* event) { QGraphicsItem::keyReleaseEvent(event); } +inline void promoted_mouseDoubleClickEvent(QGraphicsSceneMouseEvent* event) { QGraphicsItem::mouseDoubleClickEvent(event); } +inline void promoted_mouseMoveEvent(QGraphicsSceneMouseEvent* event) { QGraphicsItem::mouseMoveEvent(event); } +inline void promoted_mousePressEvent(QGraphicsSceneMouseEvent* event) { QGraphicsItem::mousePressEvent(event); } +inline void promoted_mouseReleaseEvent(QGraphicsSceneMouseEvent* event) { QGraphicsItem::mouseReleaseEvent(event); } +inline QPainterPath promoted_opaqueArea() const { return QGraphicsItem::opaqueArea(); } +inline bool promoted_sceneEvent(QEvent* event) { return QGraphicsItem::sceneEvent(event); } +inline bool promoted_sceneEventFilter(QGraphicsItem* watched, QEvent* event) { return QGraphicsItem::sceneEventFilter(watched, event); } +inline QPainterPath promoted_shape() const { return QGraphicsItem::shape(); } +inline int promoted_type() const { return QGraphicsItem::type(); } +inline void promoted_wheelEvent(QGraphicsSceneWheelEvent* event) { QGraphicsItem::wheelEvent(event); } +}; + +class PythonQtWrapper_QGraphicsItem : public QObject +{ Q_OBJECT +public: +Q_ENUMS(CacheMode PanelModality enum_1 GraphicsItemFlag GraphicsItemChange ) +Q_FLAGS(GraphicsItemFlags ) +enum CacheMode{ + NoCache = QGraphicsItem::NoCache, ItemCoordinateCache = QGraphicsItem::ItemCoordinateCache, DeviceCoordinateCache = QGraphicsItem::DeviceCoordinateCache}; +enum PanelModality{ + NonModal = QGraphicsItem::NonModal, PanelModal = QGraphicsItem::PanelModal, SceneModal = QGraphicsItem::SceneModal}; +enum enum_1{ + Type = QGraphicsItem::Type, UserType = QGraphicsItem::UserType}; +enum GraphicsItemFlag{ + ItemIsMovable = QGraphicsItem::ItemIsMovable, ItemIsSelectable = QGraphicsItem::ItemIsSelectable, ItemIsFocusable = QGraphicsItem::ItemIsFocusable, ItemClipsToShape = QGraphicsItem::ItemClipsToShape, ItemClipsChildrenToShape = QGraphicsItem::ItemClipsChildrenToShape, ItemIgnoresTransformations = QGraphicsItem::ItemIgnoresTransformations, ItemIgnoresParentOpacity = QGraphicsItem::ItemIgnoresParentOpacity, ItemDoesntPropagateOpacityToChildren = QGraphicsItem::ItemDoesntPropagateOpacityToChildren, ItemStacksBehindParent = QGraphicsItem::ItemStacksBehindParent, ItemUsesExtendedStyleOption = QGraphicsItem::ItemUsesExtendedStyleOption, ItemHasNoContents = QGraphicsItem::ItemHasNoContents, ItemSendsGeometryChanges = QGraphicsItem::ItemSendsGeometryChanges, ItemAcceptsInputMethod = QGraphicsItem::ItemAcceptsInputMethod, ItemNegativeZStacksBehindParent = QGraphicsItem::ItemNegativeZStacksBehindParent, ItemIsPanel = QGraphicsItem::ItemIsPanel, ItemIsFocusScope = QGraphicsItem::ItemIsFocusScope, ItemSendsScenePositionChanges = QGraphicsItem::ItemSendsScenePositionChanges}; +enum GraphicsItemChange{ + ItemPositionChange = QGraphicsItem::ItemPositionChange, ItemMatrixChange = QGraphicsItem::ItemMatrixChange, ItemVisibleChange = QGraphicsItem::ItemVisibleChange, ItemEnabledChange = QGraphicsItem::ItemEnabledChange, ItemSelectedChange = QGraphicsItem::ItemSelectedChange, ItemParentChange = QGraphicsItem::ItemParentChange, ItemChildAddedChange = QGraphicsItem::ItemChildAddedChange, ItemChildRemovedChange = QGraphicsItem::ItemChildRemovedChange, ItemTransformChange = QGraphicsItem::ItemTransformChange, ItemPositionHasChanged = QGraphicsItem::ItemPositionHasChanged, ItemTransformHasChanged = QGraphicsItem::ItemTransformHasChanged, ItemSceneChange = QGraphicsItem::ItemSceneChange, ItemVisibleHasChanged = QGraphicsItem::ItemVisibleHasChanged, ItemEnabledHasChanged = QGraphicsItem::ItemEnabledHasChanged, ItemSelectedHasChanged = QGraphicsItem::ItemSelectedHasChanged, ItemParentHasChanged = QGraphicsItem::ItemParentHasChanged, ItemSceneHasChanged = QGraphicsItem::ItemSceneHasChanged, ItemCursorChange = QGraphicsItem::ItemCursorChange, ItemCursorHasChanged = QGraphicsItem::ItemCursorHasChanged, ItemToolTipChange = QGraphicsItem::ItemToolTipChange, ItemToolTipHasChanged = QGraphicsItem::ItemToolTipHasChanged, ItemFlagsChange = QGraphicsItem::ItemFlagsChange, ItemFlagsHaveChanged = QGraphicsItem::ItemFlagsHaveChanged, ItemZValueChange = QGraphicsItem::ItemZValueChange, ItemZValueHasChanged = QGraphicsItem::ItemZValueHasChanged, ItemOpacityChange = QGraphicsItem::ItemOpacityChange, ItemOpacityHasChanged = QGraphicsItem::ItemOpacityHasChanged, ItemScenePositionHasChanged = QGraphicsItem::ItemScenePositionHasChanged}; +Q_DECLARE_FLAGS(GraphicsItemFlags, GraphicsItemFlag) +public slots: +QGraphicsItem* new_QGraphicsItem(QGraphicsItem* parent = 0, QGraphicsScene* scene = 0); +void delete_QGraphicsItem(QGraphicsItem* obj) { delete obj; } +bool py_hasOwner(QGraphicsItem* theWrappedObject) { return theWrappedObject->scene()!=NULL || theWrappedObject->parentItem()!=NULL; } + bool acceptDrops(QGraphicsItem* theWrappedObject) const; + bool acceptHoverEvents(QGraphicsItem* theWrappedObject) const; + bool acceptTouchEvents(QGraphicsItem* theWrappedObject) const; + Qt::MouseButtons acceptedMouseButtons(QGraphicsItem* theWrappedObject) const; + bool acceptsHoverEvents(QGraphicsItem* theWrappedObject) const; + void advance(QGraphicsItem* theWrappedObject, int phase); + QRegion boundingRegion(QGraphicsItem* theWrappedObject, const QTransform& itemToDeviceTransform) const; + qreal boundingRegionGranularity(QGraphicsItem* theWrappedObject) const; + QGraphicsItem::CacheMode cacheMode(QGraphicsItem* theWrappedObject) const; + QList childItems(QGraphicsItem* theWrappedObject) const; + QRectF childrenBoundingRect(QGraphicsItem* theWrappedObject) const; + void clearFocus(QGraphicsItem* theWrappedObject); + QPainterPath clipPath(QGraphicsItem* theWrappedObject) const; + bool collidesWithItem(QGraphicsItem* theWrappedObject, const QGraphicsItem* other, Qt::ItemSelectionMode mode = Qt::IntersectsItemShape) const; + bool collidesWithPath(QGraphicsItem* theWrappedObject, const QPainterPath& path, Qt::ItemSelectionMode mode = Qt::IntersectsItemShape) const; + QList collidingItems(QGraphicsItem* theWrappedObject, Qt::ItemSelectionMode mode = Qt::IntersectsItemShape) const; + QGraphicsItem* commonAncestorItem(QGraphicsItem* theWrappedObject, const QGraphicsItem* other) const; + bool contains(QGraphicsItem* theWrappedObject, const QPointF& point) const; + void contextMenuEvent(QGraphicsItem* theWrappedObject, QGraphicsSceneContextMenuEvent* event); + QCursor cursor(QGraphicsItem* theWrappedObject) const; + QVariant data(QGraphicsItem* theWrappedObject, int key) const; + QTransform deviceTransform(QGraphicsItem* theWrappedObject, const QTransform& viewportTransform) const; + void dragEnterEvent(QGraphicsItem* theWrappedObject, QGraphicsSceneDragDropEvent* event); + void dragLeaveEvent(QGraphicsItem* theWrappedObject, QGraphicsSceneDragDropEvent* event); + void dragMoveEvent(QGraphicsItem* theWrappedObject, QGraphicsSceneDragDropEvent* event); + void dropEvent(QGraphicsItem* theWrappedObject, QGraphicsSceneDragDropEvent* event); + qreal effectiveOpacity(QGraphicsItem* theWrappedObject) const; + void ensureVisible(QGraphicsItem* theWrappedObject, const QRectF& rect = QRectF(), int xmargin = 50, int ymargin = 50); + void ensureVisible(QGraphicsItem* theWrappedObject, qreal x, qreal y, qreal w, qreal h, int xmargin = 50, int ymargin = 50); + QVariant extension(QGraphicsItem* theWrappedObject, const QVariant& variant) const; + bool filtersChildEvents(QGraphicsItem* theWrappedObject) const; + QGraphicsItem::GraphicsItemFlags flags(QGraphicsItem* theWrappedObject) const; + void focusInEvent(QGraphicsItem* theWrappedObject, QFocusEvent* event); + QGraphicsItem* focusItem(QGraphicsItem* theWrappedObject) const; + void focusOutEvent(QGraphicsItem* theWrappedObject, QFocusEvent* event); + QGraphicsItem* focusProxy(QGraphicsItem* theWrappedObject) const; + QGraphicsItem* focusScopeItem(QGraphicsItem* theWrappedObject) const; + void grabKeyboard(QGraphicsItem* theWrappedObject); + void grabMouse(QGraphicsItem* theWrappedObject); + QGraphicsEffect* graphicsEffect(QGraphicsItem* theWrappedObject) const; + QGraphicsItemGroup* group(QGraphicsItem* theWrappedObject) const; + bool handlesChildEvents(QGraphicsItem* theWrappedObject) const; + bool hasCursor(QGraphicsItem* theWrappedObject) const; + bool hasFocus(QGraphicsItem* theWrappedObject) const; + void hide(QGraphicsItem* theWrappedObject); + void hoverEnterEvent(QGraphicsItem* theWrappedObject, QGraphicsSceneHoverEvent* event); + void hoverLeaveEvent(QGraphicsItem* theWrappedObject, QGraphicsSceneHoverEvent* event); + void hoverMoveEvent(QGraphicsItem* theWrappedObject, QGraphicsSceneHoverEvent* event); + void inputMethodEvent(QGraphicsItem* theWrappedObject, QInputMethodEvent* event); + Qt::InputMethodHints inputMethodHints(QGraphicsItem* theWrappedObject) const; + QVariant inputMethodQuery(QGraphicsItem* theWrappedObject, Qt::InputMethodQuery query) const; + void installSceneEventFilter(QGraphicsItem* theWrappedObject, QGraphicsItem* filterItem); + bool isActive(QGraphicsItem* theWrappedObject) const; + bool isAncestorOf(QGraphicsItem* theWrappedObject, const QGraphicsItem* child) const; + bool isBlockedByModalPanel(QGraphicsItem* theWrappedObject, QGraphicsItem** blockingPanel = 0) const; + bool isClipped(QGraphicsItem* theWrappedObject) const; + bool isEnabled(QGraphicsItem* theWrappedObject) const; + bool isObscured(QGraphicsItem* theWrappedObject) const; + bool isObscured(QGraphicsItem* theWrappedObject, const QRectF& rect) const; + bool isObscured(QGraphicsItem* theWrappedObject, qreal x, qreal y, qreal w, qreal h) const; + bool isObscuredBy(QGraphicsItem* theWrappedObject, const QGraphicsItem* item) const; + bool isPanel(QGraphicsItem* theWrappedObject) const; + bool isSelected(QGraphicsItem* theWrappedObject) const; + bool isUnderMouse(QGraphicsItem* theWrappedObject) const; + bool isVisible(QGraphicsItem* theWrappedObject) const; + bool isVisibleTo(QGraphicsItem* theWrappedObject, const QGraphicsItem* parent) const; + bool isWidget(QGraphicsItem* theWrappedObject) const; + bool isWindow(QGraphicsItem* theWrappedObject) const; + QVariant itemChange(QGraphicsItem* theWrappedObject, QGraphicsItem::GraphicsItemChange change, const QVariant& value); + QTransform itemTransform(QGraphicsItem* theWrappedObject, const QGraphicsItem* other, bool* ok = 0) const; + void keyPressEvent(QGraphicsItem* theWrappedObject, QKeyEvent* event); + void keyReleaseEvent(QGraphicsItem* theWrappedObject, QKeyEvent* event); + QPainterPath mapFromItem(QGraphicsItem* theWrappedObject, const QGraphicsItem* item, const QPainterPath& path) const; + QPointF mapFromItem(QGraphicsItem* theWrappedObject, const QGraphicsItem* item, const QPointF& point) const; + QPolygonF mapFromItem(QGraphicsItem* theWrappedObject, const QGraphicsItem* item, const QPolygonF& polygon) const; + QPolygonF mapFromItem(QGraphicsItem* theWrappedObject, const QGraphicsItem* item, const QRectF& rect) const; + QPointF mapFromItem(QGraphicsItem* theWrappedObject, const QGraphicsItem* item, qreal x, qreal y) const; + QPolygonF mapFromItem(QGraphicsItem* theWrappedObject, const QGraphicsItem* item, qreal x, qreal y, qreal w, qreal h) const; + QPainterPath mapFromParent(QGraphicsItem* theWrappedObject, const QPainterPath& path) const; + QPointF mapFromParent(QGraphicsItem* theWrappedObject, const QPointF& point) const; + QPolygonF mapFromParent(QGraphicsItem* theWrappedObject, const QPolygonF& polygon) const; + QPolygonF mapFromParent(QGraphicsItem* theWrappedObject, const QRectF& rect) const; + QPointF mapFromParent(QGraphicsItem* theWrappedObject, qreal x, qreal y) const; + QPolygonF mapFromParent(QGraphicsItem* theWrappedObject, qreal x, qreal y, qreal w, qreal h) const; + QPainterPath mapFromScene(QGraphicsItem* theWrappedObject, const QPainterPath& path) const; + QPointF mapFromScene(QGraphicsItem* theWrappedObject, const QPointF& point) const; + QPolygonF mapFromScene(QGraphicsItem* theWrappedObject, const QPolygonF& polygon) const; + QPolygonF mapFromScene(QGraphicsItem* theWrappedObject, const QRectF& rect) const; + QPointF mapFromScene(QGraphicsItem* theWrappedObject, qreal x, qreal y) const; + QPolygonF mapFromScene(QGraphicsItem* theWrappedObject, qreal x, qreal y, qreal w, qreal h) const; + QRectF mapRectFromItem(QGraphicsItem* theWrappedObject, const QGraphicsItem* item, const QRectF& rect) const; + QRectF mapRectFromItem(QGraphicsItem* theWrappedObject, const QGraphicsItem* item, qreal x, qreal y, qreal w, qreal h) const; + QRectF mapRectFromParent(QGraphicsItem* theWrappedObject, const QRectF& rect) const; + QRectF mapRectFromParent(QGraphicsItem* theWrappedObject, qreal x, qreal y, qreal w, qreal h) const; + QRectF mapRectFromScene(QGraphicsItem* theWrappedObject, const QRectF& rect) const; + QRectF mapRectFromScene(QGraphicsItem* theWrappedObject, qreal x, qreal y, qreal w, qreal h) const; + QRectF mapRectToItem(QGraphicsItem* theWrappedObject, const QGraphicsItem* item, const QRectF& rect) const; + QRectF mapRectToItem(QGraphicsItem* theWrappedObject, const QGraphicsItem* item, qreal x, qreal y, qreal w, qreal h) const; + QRectF mapRectToParent(QGraphicsItem* theWrappedObject, const QRectF& rect) const; + QRectF mapRectToParent(QGraphicsItem* theWrappedObject, qreal x, qreal y, qreal w, qreal h) const; + QRectF mapRectToScene(QGraphicsItem* theWrappedObject, const QRectF& rect) const; + QRectF mapRectToScene(QGraphicsItem* theWrappedObject, qreal x, qreal y, qreal w, qreal h) const; + QPainterPath mapToItem(QGraphicsItem* theWrappedObject, const QGraphicsItem* item, const QPainterPath& path) const; + QPointF mapToItem(QGraphicsItem* theWrappedObject, const QGraphicsItem* item, const QPointF& point) const; + QPolygonF mapToItem(QGraphicsItem* theWrappedObject, const QGraphicsItem* item, const QPolygonF& polygon) const; + QPolygonF mapToItem(QGraphicsItem* theWrappedObject, const QGraphicsItem* item, const QRectF& rect) const; + QPointF mapToItem(QGraphicsItem* theWrappedObject, const QGraphicsItem* item, qreal x, qreal y) const; + QPolygonF mapToItem(QGraphicsItem* theWrappedObject, const QGraphicsItem* item, qreal x, qreal y, qreal w, qreal h) const; + QPainterPath mapToParent(QGraphicsItem* theWrappedObject, const QPainterPath& path) const; + QPointF mapToParent(QGraphicsItem* theWrappedObject, const QPointF& point) const; + QPolygonF mapToParent(QGraphicsItem* theWrappedObject, const QPolygonF& polygon) const; + QPolygonF mapToParent(QGraphicsItem* theWrappedObject, const QRectF& rect) const; + QPointF mapToParent(QGraphicsItem* theWrappedObject, qreal x, qreal y) const; + QPolygonF mapToParent(QGraphicsItem* theWrappedObject, qreal x, qreal y, qreal w, qreal h) const; + QPainterPath mapToScene(QGraphicsItem* theWrappedObject, const QPainterPath& path) const; + QPointF mapToScene(QGraphicsItem* theWrappedObject, const QPointF& point) const; + QPolygonF mapToScene(QGraphicsItem* theWrappedObject, const QPolygonF& polygon) const; + QPolygonF mapToScene(QGraphicsItem* theWrappedObject, const QRectF& rect) const; + QPointF mapToScene(QGraphicsItem* theWrappedObject, qreal x, qreal y) const; + QPolygonF mapToScene(QGraphicsItem* theWrappedObject, qreal x, qreal y, qreal w, qreal h) const; + void mouseDoubleClickEvent(QGraphicsItem* theWrappedObject, QGraphicsSceneMouseEvent* event); + void mouseMoveEvent(QGraphicsItem* theWrappedObject, QGraphicsSceneMouseEvent* event); + void mousePressEvent(QGraphicsItem* theWrappedObject, QGraphicsSceneMouseEvent* event); + void mouseReleaseEvent(QGraphicsItem* theWrappedObject, QGraphicsSceneMouseEvent* event); + void moveBy(QGraphicsItem* theWrappedObject, qreal dx, qreal dy); + qreal opacity(QGraphicsItem* theWrappedObject) const; + QPainterPath opaqueArea(QGraphicsItem* theWrappedObject) const; + 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 removeSceneEventFilter(QGraphicsItem* theWrappedObject, QGraphicsItem* filterItem); + void resetTransform(QGraphicsItem* theWrappedObject); + void rotate(QGraphicsItem* theWrappedObject, qreal angle); + qreal rotation(QGraphicsItem* theWrappedObject) const; + qreal scale(QGraphicsItem* theWrappedObject) const; + void scale(QGraphicsItem* theWrappedObject, qreal sx, qreal sy); + QGraphicsScene* scene(QGraphicsItem* theWrappedObject) const; + QRectF sceneBoundingRect(QGraphicsItem* theWrappedObject) const; + bool sceneEvent(QGraphicsItem* theWrappedObject, QEvent* event); + bool sceneEventFilter(QGraphicsItem* theWrappedObject, QGraphicsItem* watched, QEvent* event); + QPointF scenePos(QGraphicsItem* theWrappedObject) const; + QTransform sceneTransform(QGraphicsItem* theWrappedObject) const; + void scroll(QGraphicsItem* theWrappedObject, qreal dx, qreal dy, const QRectF& rect = QRectF()); + void setAcceptDrops(QGraphicsItem* theWrappedObject, bool on); + void setAcceptHoverEvents(QGraphicsItem* theWrappedObject, bool enabled); + void setAcceptTouchEvents(QGraphicsItem* theWrappedObject, bool enabled); + void setAcceptedMouseButtons(QGraphicsItem* theWrappedObject, Qt::MouseButtons buttons); + void setAcceptsHoverEvents(QGraphicsItem* theWrappedObject, bool enabled); + void setActive(QGraphicsItem* theWrappedObject, bool active); + void setBoundingRegionGranularity(QGraphicsItem* theWrappedObject, qreal granularity); + void setCacheMode(QGraphicsItem* theWrappedObject, QGraphicsItem::CacheMode mode, const QSize& cacheSize = QSize()); + void setCursor(QGraphicsItem* theWrappedObject, const QCursor& cursor); + void setData(QGraphicsItem* theWrappedObject, int key, const QVariant& value); + void setEnabled(QGraphicsItem* theWrappedObject, bool enabled); + void setFiltersChildEvents(QGraphicsItem* theWrappedObject, bool enabled); + void setFlag(QGraphicsItem* theWrappedObject, QGraphicsItem::GraphicsItemFlag flag, bool enabled = true); + void setFlags(QGraphicsItem* theWrappedObject, QGraphicsItem::GraphicsItemFlags flags); + void setFocus(QGraphicsItem* theWrappedObject, Qt::FocusReason focusReason = Qt::OtherFocusReason); + void setFocusProxy(QGraphicsItem* theWrappedObject, QGraphicsItem* item); + void setGraphicsEffect(QGraphicsItem* theWrappedObject, QGraphicsEffect* effect); + void setGroup(QGraphicsItem* theWrappedObject, QGraphicsItemGroup* group); + void setHandlesChildEvents(QGraphicsItem* theWrappedObject, bool enabled); + void setInputMethodHints(QGraphicsItem* theWrappedObject, Qt::InputMethodHints hints); + void setOpacity(QGraphicsItem* theWrappedObject, qreal opacity); + void setPanelModality(QGraphicsItem* theWrappedObject, QGraphicsItem::PanelModality panelModality); + void setParentItem(QGraphicsItem* theWrappedObject, QGraphicsItem* parent); + void setPos(QGraphicsItem* theWrappedObject, const QPointF& pos); + void setPos(QGraphicsItem* theWrappedObject, qreal x, qreal y); + void setRotation(QGraphicsItem* theWrappedObject, qreal angle); + void setScale(QGraphicsItem* theWrappedObject, qreal scale); + void setSelected(QGraphicsItem* theWrappedObject, bool selected); + void setToolTip(QGraphicsItem* theWrappedObject, const QString& toolTip); + void setTransform(QGraphicsItem* theWrappedObject, const QTransform& matrix, bool combine = false); + void setTransformOriginPoint(QGraphicsItem* theWrappedObject, const QPointF& origin); + void setTransformOriginPoint(QGraphicsItem* theWrappedObject, qreal ax, qreal ay); + void setTransformations(QGraphicsItem* theWrappedObject, const QList& transformations); + void setVisible(QGraphicsItem* theWrappedObject, bool visible); + void setX(QGraphicsItem* theWrappedObject, qreal x); + void setY(QGraphicsItem* theWrappedObject, qreal y); + void setZValue(QGraphicsItem* theWrappedObject, qreal z); + QPainterPath shape(QGraphicsItem* theWrappedObject) const; + void shear(QGraphicsItem* theWrappedObject, qreal sh, qreal sv); + void show(QGraphicsItem* theWrappedObject); + void stackBefore(QGraphicsItem* theWrappedObject, const QGraphicsItem* sibling); + QGraphicsObject* toGraphicsObject(QGraphicsItem* theWrappedObject); + QString toolTip(QGraphicsItem* theWrappedObject) const; + QGraphicsItem* topLevelItem(QGraphicsItem* theWrappedObject) const; + QGraphicsWidget* topLevelWidget(QGraphicsItem* theWrappedObject) const; + QTransform transform(QGraphicsItem* theWrappedObject) const; + QPointF transformOriginPoint(QGraphicsItem* theWrappedObject) const; + QList transformations(QGraphicsItem* theWrappedObject) const; + void translate(QGraphicsItem* theWrappedObject, qreal dx, qreal dy); + int type(QGraphicsItem* theWrappedObject) const; + void ungrabKeyboard(QGraphicsItem* theWrappedObject); + void ungrabMouse(QGraphicsItem* theWrappedObject); + void unsetCursor(QGraphicsItem* theWrappedObject); + void update(QGraphicsItem* theWrappedObject, const QRectF& rect = QRectF()); + void update(QGraphicsItem* theWrappedObject, qreal x, qreal y, qreal width, qreal height); + void wheelEvent(QGraphicsItem* theWrappedObject, QGraphicsSceneWheelEvent* event); + QGraphicsWidget* window(QGraphicsItem* theWrappedObject) const; + qreal x(QGraphicsItem* theWrappedObject) const; + qreal y(QGraphicsItem* theWrappedObject) const; + qreal zValue(QGraphicsItem* theWrappedObject) const; + QString py_toString(QGraphicsItem*); +}; + + + + + +class PythonQtShell_QGraphicsItemAnimation : public QGraphicsItemAnimation +{ +public: + PythonQtShell_QGraphicsItemAnimation(QObject* parent = 0):QGraphicsItemAnimation(parent),_wrapper(NULL) {}; + +virtual void afterAnimationStep(qreal step); +virtual void beforeAnimationStep(qreal step); +virtual void childEvent(QChildEvent* arg__1); +virtual void customEvent(QEvent* arg__1); +virtual bool event(QEvent* arg__1); +virtual bool eventFilter(QObject* arg__1, QEvent* arg__2); +virtual void timerEvent(QTimerEvent* arg__1); + + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtPublicPromoter_QGraphicsItemAnimation : public QGraphicsItemAnimation +{ public: +inline void promoted_afterAnimationStep(qreal step) { QGraphicsItemAnimation::afterAnimationStep(step); } +inline void promoted_beforeAnimationStep(qreal step) { QGraphicsItemAnimation::beforeAnimationStep(step); } +}; + +class PythonQtWrapper_QGraphicsItemAnimation : public QObject +{ Q_OBJECT +public: +public slots: +QGraphicsItemAnimation* new_QGraphicsItemAnimation(QObject* parent = 0); +void delete_QGraphicsItemAnimation(QGraphicsItemAnimation* obj) { delete obj; } + void afterAnimationStep(QGraphicsItemAnimation* theWrappedObject, qreal step); + void beforeAnimationStep(QGraphicsItemAnimation* theWrappedObject, qreal step); + void clear(QGraphicsItemAnimation* theWrappedObject); + qreal horizontalScaleAt(QGraphicsItemAnimation* theWrappedObject, qreal step) const; + qreal horizontalShearAt(QGraphicsItemAnimation* theWrappedObject, qreal step) const; + QGraphicsItem* item(QGraphicsItemAnimation* theWrappedObject) const; + QMatrix matrixAt(QGraphicsItemAnimation* theWrappedObject, qreal step) const; + QPointF posAt(QGraphicsItemAnimation* theWrappedObject, qreal step) const; + QList > posList(QGraphicsItemAnimation* theWrappedObject) const; + qreal rotationAt(QGraphicsItemAnimation* theWrappedObject, qreal step) const; + QList > rotationList(QGraphicsItemAnimation* theWrappedObject) const; + QList > scaleList(QGraphicsItemAnimation* theWrappedObject) const; + void setItem(QGraphicsItemAnimation* theWrappedObject, QGraphicsItem* item); + void setPosAt(QGraphicsItemAnimation* theWrappedObject, qreal step, const QPointF& pos); + void setRotationAt(QGraphicsItemAnimation* theWrappedObject, qreal step, qreal angle); + void setScaleAt(QGraphicsItemAnimation* theWrappedObject, qreal step, qreal sx, qreal sy); + void setShearAt(QGraphicsItemAnimation* theWrappedObject, qreal step, qreal sh, qreal sv); + void setTimeLine(QGraphicsItemAnimation* theWrappedObject, QTimeLine* timeLine); + void setTranslationAt(QGraphicsItemAnimation* theWrappedObject, qreal step, qreal dx, qreal dy); + QList > shearList(QGraphicsItemAnimation* theWrappedObject) const; + QTimeLine* timeLine(QGraphicsItemAnimation* theWrappedObject) const; + QList > translationList(QGraphicsItemAnimation* theWrappedObject) const; + qreal verticalScaleAt(QGraphicsItemAnimation* theWrappedObject, qreal step) const; + qreal verticalShearAt(QGraphicsItemAnimation* theWrappedObject, qreal step) const; + qreal xTranslationAt(QGraphicsItemAnimation* theWrappedObject, qreal step) const; + qreal yTranslationAt(QGraphicsItemAnimation* theWrappedObject, qreal step) const; +}; + + + + + +class PythonQtShell_QGraphicsItemGroup : public QGraphicsItemGroup +{ +public: + PythonQtShell_QGraphicsItemGroup(QGraphicsItem* parent = 0, QGraphicsScene* scene = 0):QGraphicsItemGroup(parent, scene),_wrapper(NULL) {}; + +virtual void advance(int phase); +virtual QRectF boundingRect() const; +virtual bool collidesWithItem(const QGraphicsItem* other, Qt::ItemSelectionMode mode) const; +virtual bool collidesWithPath(const QPainterPath& path, Qt::ItemSelectionMode mode) const; +virtual bool contains(const QPointF& point) const; +virtual void contextMenuEvent(QGraphicsSceneContextMenuEvent* event); +virtual void dragEnterEvent(QGraphicsSceneDragDropEvent* event); +virtual void dragLeaveEvent(QGraphicsSceneDragDropEvent* event); +virtual void dragMoveEvent(QGraphicsSceneDragDropEvent* event); +virtual void dropEvent(QGraphicsSceneDragDropEvent* event); +virtual QVariant extension(const QVariant& variant) const; +virtual void focusInEvent(QFocusEvent* event); +virtual void focusOutEvent(QFocusEvent* event); +virtual void hoverEnterEvent(QGraphicsSceneHoverEvent* event); +virtual void hoverLeaveEvent(QGraphicsSceneHoverEvent* event); +virtual void hoverMoveEvent(QGraphicsSceneHoverEvent* event); +virtual void inputMethodEvent(QInputMethodEvent* event); +virtual QVariant inputMethodQuery(Qt::InputMethodQuery query) const; +virtual bool isObscuredBy(const QGraphicsItem* item) const; +virtual QVariant itemChange(QGraphicsItem::GraphicsItemChange change, const QVariant& value); +virtual void keyPressEvent(QKeyEvent* event); +virtual void keyReleaseEvent(QKeyEvent* event); +virtual void mouseDoubleClickEvent(QGraphicsSceneMouseEvent* event); +virtual void mouseMoveEvent(QGraphicsSceneMouseEvent* event); +virtual void mousePressEvent(QGraphicsSceneMouseEvent* event); +virtual void mouseReleaseEvent(QGraphicsSceneMouseEvent* event); +virtual QPainterPath opaqueArea() const; +virtual void paint(QPainter* painter, const QStyleOptionGraphicsItem* option, QWidget* widget = 0); +virtual bool sceneEvent(QEvent* event); +virtual bool sceneEventFilter(QGraphicsItem* watched, QEvent* event); +virtual void setExtension(QGraphicsItem::Extension extension, const QVariant& variant); +virtual QPainterPath shape() const; +virtual bool supportsExtension(QGraphicsItem::Extension extension) const; +virtual int type() const; +virtual void wheelEvent(QGraphicsSceneWheelEvent* event); + + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtPublicPromoter_QGraphicsItemGroup : public QGraphicsItemGroup +{ public: +inline QRectF promoted_boundingRect() const { return QGraphicsItemGroup::boundingRect(); } +inline bool promoted_isObscuredBy(const QGraphicsItem* item) const { return QGraphicsItemGroup::isObscuredBy(item); } +inline QPainterPath promoted_opaqueArea() const { return QGraphicsItemGroup::opaqueArea(); } +inline void promoted_paint(QPainter* painter, const QStyleOptionGraphicsItem* option, QWidget* widget = 0) { QGraphicsItemGroup::paint(painter, option, widget); } +inline int promoted_type() const { return QGraphicsItemGroup::type(); } +}; + +class PythonQtWrapper_QGraphicsItemGroup : public QObject +{ Q_OBJECT +public: +Q_ENUMS(enum_1 ) +enum enum_1{ + Type = QGraphicsItemGroup::Type}; +public slots: +QGraphicsItemGroup* new_QGraphicsItemGroup(QGraphicsItem* parent = 0, QGraphicsScene* scene = 0); +void delete_QGraphicsItemGroup(QGraphicsItemGroup* obj) { delete obj; } + void addToGroup(QGraphicsItemGroup* theWrappedObject, QGraphicsItem* item); + QRectF boundingRect(QGraphicsItemGroup* theWrappedObject) const; + bool isObscuredBy(QGraphicsItemGroup* theWrappedObject, const QGraphicsItem* item) const; + QPainterPath opaqueArea(QGraphicsItemGroup* theWrappedObject) const; + void paint(QGraphicsItemGroup* theWrappedObject, QPainter* painter, const QStyleOptionGraphicsItem* option, QWidget* widget = 0); + void removeFromGroup(QGraphicsItemGroup* theWrappedObject, QGraphicsItem* item); + int type(QGraphicsItemGroup* theWrappedObject) const; +}; + + + + + +class PythonQtShell_QGraphicsLayout : public QGraphicsLayout +{ +public: + PythonQtShell_QGraphicsLayout(QGraphicsLayoutItem* parent = 0):QGraphicsLayout(parent),_wrapper(NULL) {}; + +virtual int count() const; +virtual void getContentsMargins(qreal* left, qreal* top, qreal* right, qreal* bottom) const; +virtual void invalidate(); +virtual QGraphicsLayoutItem* itemAt(int i) const; +virtual void removeAt(int index); +virtual void setGeometry(const QRectF& rect); +virtual QSizeF sizeHint(Qt::SizeHint which, const QSizeF& constraint) const; +virtual void updateGeometry(); +virtual void widgetEvent(QEvent* e); + + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtPublicPromoter_QGraphicsLayout : public QGraphicsLayout +{ public: +inline void promoted_getContentsMargins(qreal* left, qreal* top, qreal* right, qreal* bottom) const { QGraphicsLayout::getContentsMargins(left, top, right, bottom); } +inline void promoted_invalidate() { QGraphicsLayout::invalidate(); } +inline void promoted_updateGeometry() { QGraphicsLayout::updateGeometry(); } +inline void promoted_widgetEvent(QEvent* e) { QGraphicsLayout::widgetEvent(e); } +}; + +class PythonQtWrapper_QGraphicsLayout : public QObject +{ Q_OBJECT +public: +public slots: +QGraphicsLayout* new_QGraphicsLayout(QGraphicsLayoutItem* parent = 0); +void delete_QGraphicsLayout(QGraphicsLayout* obj) { delete obj; } + void activate(QGraphicsLayout* theWrappedObject); + void getContentsMargins(QGraphicsLayout* theWrappedObject, qreal* left, qreal* top, qreal* right, qreal* bottom) const; + void invalidate(QGraphicsLayout* theWrappedObject); + bool isActivated(QGraphicsLayout* theWrappedObject) const; + void setContentsMargins(QGraphicsLayout* theWrappedObject, qreal left, qreal top, qreal right, qreal bottom); + void updateGeometry(QGraphicsLayout* theWrappedObject); + void widgetEvent(QGraphicsLayout* theWrappedObject, QEvent* e); +}; + + + + + +class PythonQtShell_QGraphicsLayoutItem : public QGraphicsLayoutItem +{ +public: + PythonQtShell_QGraphicsLayoutItem(QGraphicsLayoutItem* parent = 0, bool isLayout = false):QGraphicsLayoutItem(parent, isLayout),_wrapper(NULL) {}; + +virtual void getContentsMargins(qreal* left, qreal* top, qreal* right, qreal* bottom) const; +virtual void setGeometry(const QRectF& rect); +virtual QSizeF sizeHint(Qt::SizeHint which, const QSizeF& constraint = QSizeF()) const; +virtual void updateGeometry(); + + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtPublicPromoter_QGraphicsLayoutItem : public QGraphicsLayoutItem +{ public: +inline void promoted_getContentsMargins(qreal* left, qreal* top, qreal* right, qreal* bottom) const { QGraphicsLayoutItem::getContentsMargins(left, top, right, bottom); } +inline void promoted_setGeometry(const QRectF& rect) { QGraphicsLayoutItem::setGeometry(rect); } +inline void promoted_updateGeometry() { QGraphicsLayoutItem::updateGeometry(); } +}; + +class PythonQtWrapper_QGraphicsLayoutItem : public QObject +{ Q_OBJECT +public: +public slots: +QGraphicsLayoutItem* new_QGraphicsLayoutItem(QGraphicsLayoutItem* parent = 0, bool isLayout = false); +void delete_QGraphicsLayoutItem(QGraphicsLayoutItem* obj) { delete obj; } + QRectF contentsRect(QGraphicsLayoutItem* theWrappedObject) const; + QSizeF effectiveSizeHint(QGraphicsLayoutItem* theWrappedObject, Qt::SizeHint which, const QSizeF& constraint = QSizeF()) const; + QRectF geometry(QGraphicsLayoutItem* theWrappedObject) const; + void getContentsMargins(QGraphicsLayoutItem* theWrappedObject, qreal* left, qreal* top, qreal* right, qreal* bottom) const; + QGraphicsItem* graphicsItem(QGraphicsLayoutItem* theWrappedObject) const; + bool isLayout(QGraphicsLayoutItem* theWrappedObject) const; + qreal maximumHeight(QGraphicsLayoutItem* theWrappedObject) const; + QSizeF maximumSize(QGraphicsLayoutItem* theWrappedObject) const; + qreal maximumWidth(QGraphicsLayoutItem* theWrappedObject) const; + qreal minimumHeight(QGraphicsLayoutItem* theWrappedObject) const; + QSizeF minimumSize(QGraphicsLayoutItem* theWrappedObject) const; + qreal minimumWidth(QGraphicsLayoutItem* theWrappedObject) const; + bool ownedByLayout(QGraphicsLayoutItem* theWrappedObject) const; + QGraphicsLayoutItem* parentLayoutItem(QGraphicsLayoutItem* theWrappedObject) const; + qreal preferredHeight(QGraphicsLayoutItem* theWrappedObject) const; + QSizeF preferredSize(QGraphicsLayoutItem* theWrappedObject) const; + qreal preferredWidth(QGraphicsLayoutItem* theWrappedObject) const; + void setGeometry(QGraphicsLayoutItem* theWrappedObject, const QRectF& rect); + void setMaximumHeight(QGraphicsLayoutItem* theWrappedObject, qreal height); + void setMaximumSize(QGraphicsLayoutItem* theWrappedObject, const QSizeF& size); + void setMaximumSize(QGraphicsLayoutItem* theWrappedObject, qreal w, qreal h); + void setMaximumWidth(QGraphicsLayoutItem* theWrappedObject, qreal width); + void setMinimumHeight(QGraphicsLayoutItem* theWrappedObject, qreal height); + void setMinimumSize(QGraphicsLayoutItem* theWrappedObject, const QSizeF& size); + void setMinimumSize(QGraphicsLayoutItem* theWrappedObject, qreal w, qreal h); + void setMinimumWidth(QGraphicsLayoutItem* theWrappedObject, qreal width); + void setParentLayoutItem(QGraphicsLayoutItem* theWrappedObject, QGraphicsLayoutItem* parent); + void setPreferredHeight(QGraphicsLayoutItem* theWrappedObject, qreal height); + void setPreferredSize(QGraphicsLayoutItem* theWrappedObject, const QSizeF& size); + void setPreferredSize(QGraphicsLayoutItem* theWrappedObject, qreal w, qreal h); + void setPreferredWidth(QGraphicsLayoutItem* theWrappedObject, qreal width); + void setSizePolicy(QGraphicsLayoutItem* theWrappedObject, QSizePolicy::Policy hPolicy, QSizePolicy::Policy vPolicy, QSizePolicy::ControlType controlType = QSizePolicy::DefaultType); + void setSizePolicy(QGraphicsLayoutItem* theWrappedObject, const QSizePolicy& policy); + QSizePolicy sizePolicy(QGraphicsLayoutItem* theWrappedObject) const; + void updateGeometry(QGraphicsLayoutItem* theWrappedObject); +}; + + + + + +class PythonQtShell_QGraphicsLineItem : public QGraphicsLineItem +{ +public: + PythonQtShell_QGraphicsLineItem(QGraphicsItem* parent = 0, QGraphicsScene* scene = 0):QGraphicsLineItem(parent, scene),_wrapper(NULL) {}; + PythonQtShell_QGraphicsLineItem(const QLineF& line, QGraphicsItem* parent = 0, QGraphicsScene* scene = 0):QGraphicsLineItem(line, parent, scene),_wrapper(NULL) {}; + PythonQtShell_QGraphicsLineItem(qreal x1, qreal y1, qreal x2, qreal y2, QGraphicsItem* parent = 0, QGraphicsScene* scene = 0):QGraphicsLineItem(x1, y1, x2, y2, parent, scene),_wrapper(NULL) {}; + +virtual void advance(int phase); +virtual QRectF boundingRect() const; +virtual bool collidesWithItem(const QGraphicsItem* other, Qt::ItemSelectionMode mode) const; +virtual bool collidesWithPath(const QPainterPath& path, Qt::ItemSelectionMode mode) const; +virtual bool contains(const QPointF& point) const; +virtual void contextMenuEvent(QGraphicsSceneContextMenuEvent* event); +virtual void dragEnterEvent(QGraphicsSceneDragDropEvent* event); +virtual void dragLeaveEvent(QGraphicsSceneDragDropEvent* event); +virtual void dragMoveEvent(QGraphicsSceneDragDropEvent* event); +virtual void dropEvent(QGraphicsSceneDragDropEvent* event); +virtual QVariant extension(const QVariant& variant) const; +virtual void focusInEvent(QFocusEvent* event); +virtual void focusOutEvent(QFocusEvent* event); +virtual void hoverEnterEvent(QGraphicsSceneHoverEvent* event); +virtual void hoverLeaveEvent(QGraphicsSceneHoverEvent* event); +virtual void hoverMoveEvent(QGraphicsSceneHoverEvent* event); +virtual void inputMethodEvent(QInputMethodEvent* event); +virtual QVariant inputMethodQuery(Qt::InputMethodQuery query) const; +virtual bool isObscuredBy(const QGraphicsItem* item) const; +virtual QVariant itemChange(QGraphicsItem::GraphicsItemChange change, const QVariant& value); +virtual void keyPressEvent(QKeyEvent* event); +virtual void keyReleaseEvent(QKeyEvent* event); +virtual void mouseDoubleClickEvent(QGraphicsSceneMouseEvent* event); +virtual void mouseMoveEvent(QGraphicsSceneMouseEvent* event); +virtual void mousePressEvent(QGraphicsSceneMouseEvent* event); +virtual void mouseReleaseEvent(QGraphicsSceneMouseEvent* event); +virtual QPainterPath opaqueArea() const; +virtual void paint(QPainter* painter, const QStyleOptionGraphicsItem* option, QWidget* widget = 0); +virtual bool sceneEvent(QEvent* event); +virtual bool sceneEventFilter(QGraphicsItem* watched, QEvent* event); +virtual QPainterPath shape() const; +virtual int type() const; +virtual void wheelEvent(QGraphicsSceneWheelEvent* event); + + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtPublicPromoter_QGraphicsLineItem : public QGraphicsLineItem +{ public: +inline QRectF promoted_boundingRect() const { return QGraphicsLineItem::boundingRect(); } +inline bool promoted_contains(const QPointF& point) const { return QGraphicsLineItem::contains(point); } +inline QVariant promoted_extension(const QVariant& variant) const { return QGraphicsLineItem::extension(variant); } +inline bool promoted_isObscuredBy(const QGraphicsItem* item) const { return QGraphicsLineItem::isObscuredBy(item); } +inline QPainterPath promoted_opaqueArea() const { return QGraphicsLineItem::opaqueArea(); } +inline void promoted_paint(QPainter* painter, const QStyleOptionGraphicsItem* option, QWidget* widget = 0) { QGraphicsLineItem::paint(painter, option, widget); } +inline QPainterPath promoted_shape() const { return QGraphicsLineItem::shape(); } +inline int promoted_type() const { return QGraphicsLineItem::type(); } +}; + +class PythonQtWrapper_QGraphicsLineItem : public QObject +{ Q_OBJECT +public: +Q_ENUMS(enum_1 ) +enum enum_1{ + Type = QGraphicsLineItem::Type}; +public slots: +QGraphicsLineItem* new_QGraphicsLineItem(QGraphicsItem* parent = 0, QGraphicsScene* scene = 0); +QGraphicsLineItem* new_QGraphicsLineItem(const QLineF& line, QGraphicsItem* parent = 0, QGraphicsScene* scene = 0); +QGraphicsLineItem* new_QGraphicsLineItem(qreal x1, qreal y1, qreal x2, qreal y2, QGraphicsItem* parent = 0, QGraphicsScene* scene = 0); +void delete_QGraphicsLineItem(QGraphicsLineItem* obj) { delete obj; } + QRectF boundingRect(QGraphicsLineItem* theWrappedObject) const; + bool contains(QGraphicsLineItem* theWrappedObject, const QPointF& point) const; + QVariant extension(QGraphicsLineItem* theWrappedObject, const QVariant& variant) const; + bool isObscuredBy(QGraphicsLineItem* theWrappedObject, const QGraphicsItem* item) const; + QLineF line(QGraphicsLineItem* theWrappedObject) const; + QPainterPath opaqueArea(QGraphicsLineItem* theWrappedObject) const; + void paint(QGraphicsLineItem* theWrappedObject, QPainter* painter, const QStyleOptionGraphicsItem* option, QWidget* widget = 0); + QPen pen(QGraphicsLineItem* theWrappedObject) const; + void setLine(QGraphicsLineItem* theWrappedObject, const QLineF& line); + void setLine(QGraphicsLineItem* theWrappedObject, qreal x1, qreal y1, qreal x2, qreal y2); + void setPen(QGraphicsLineItem* theWrappedObject, const QPen& pen); + QPainterPath shape(QGraphicsLineItem* theWrappedObject) const; + int type(QGraphicsLineItem* theWrappedObject) const; +}; + + + + + +class PythonQtShell_QGraphicsLinearLayout : public QGraphicsLinearLayout +{ +public: + PythonQtShell_QGraphicsLinearLayout(QGraphicsLayoutItem* parent = 0):QGraphicsLinearLayout(parent),_wrapper(NULL) {}; + PythonQtShell_QGraphicsLinearLayout(Qt::Orientation orientation, QGraphicsLayoutItem* parent = 0):QGraphicsLinearLayout(orientation, parent),_wrapper(NULL) {}; + +virtual int count() const; +virtual void getContentsMargins(qreal* left, qreal* top, qreal* right, qreal* bottom) const; +virtual void invalidate(); +virtual QGraphicsLayoutItem* itemAt(int index) const; +virtual void removeAt(int index); +virtual void updateGeometry(); +virtual void widgetEvent(QEvent* e); + + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtPublicPromoter_QGraphicsLinearLayout : public QGraphicsLinearLayout +{ public: +inline int promoted_count() const { return QGraphicsLinearLayout::count(); } +inline void promoted_invalidate() { QGraphicsLinearLayout::invalidate(); } +inline QGraphicsLayoutItem* promoted_itemAt(int index) const { return QGraphicsLinearLayout::itemAt(index); } +inline void promoted_removeAt(int index) { QGraphicsLinearLayout::removeAt(index); } +}; + +class PythonQtWrapper_QGraphicsLinearLayout : public QObject +{ Q_OBJECT +public: +public slots: +QGraphicsLinearLayout* new_QGraphicsLinearLayout(QGraphicsLayoutItem* parent = 0); +QGraphicsLinearLayout* new_QGraphicsLinearLayout(Qt::Orientation orientation, QGraphicsLayoutItem* parent = 0); +void delete_QGraphicsLinearLayout(QGraphicsLinearLayout* obj) { delete obj; } + void addItem(QGraphicsLinearLayout* theWrappedObject, QGraphicsLayoutItem* item); + void addStretch(QGraphicsLinearLayout* theWrappedObject, int stretch = 1); + Qt::Alignment alignment(QGraphicsLinearLayout* theWrappedObject, QGraphicsLayoutItem* item) const; + int count(QGraphicsLinearLayout* theWrappedObject) const; + void dump(QGraphicsLinearLayout* theWrappedObject, int indent = 0) const; + void insertItem(QGraphicsLinearLayout* theWrappedObject, int index, QGraphicsLayoutItem* item); + void insertStretch(QGraphicsLinearLayout* theWrappedObject, int index, int stretch = 1); + void invalidate(QGraphicsLinearLayout* theWrappedObject); + QGraphicsLayoutItem* itemAt(QGraphicsLinearLayout* theWrappedObject, int index) const; + qreal itemSpacing(QGraphicsLinearLayout* theWrappedObject, int index) const; + Qt::Orientation orientation(QGraphicsLinearLayout* theWrappedObject) const; + void removeAt(QGraphicsLinearLayout* theWrappedObject, int index); + void removeItem(QGraphicsLinearLayout* theWrappedObject, QGraphicsLayoutItem* item); + void setAlignment(QGraphicsLinearLayout* theWrappedObject, QGraphicsLayoutItem* item, Qt::Alignment alignment); + void setGeometry(QGraphicsLinearLayout* theWrappedObject, const QRectF& 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; + qreal spacing(QGraphicsLinearLayout* theWrappedObject) const; + int stretchFactor(QGraphicsLinearLayout* theWrappedObject, QGraphicsLayoutItem* item) const; +}; + + + + + +class PythonQtShell_QGraphicsObject : public QGraphicsObject +{ +public: + PythonQtShell_QGraphicsObject(QGraphicsItem* parent = 0):QGraphicsObject(parent),_wrapper(NULL) {}; + +virtual void advance(int phase); +virtual QRectF boundingRect() const; +virtual void childEvent(QChildEvent* arg__1); +virtual bool collidesWithItem(const QGraphicsItem* other, Qt::ItemSelectionMode mode) const; +virtual bool collidesWithPath(const QPainterPath& path, Qt::ItemSelectionMode mode) const; +virtual bool contains(const QPointF& point) const; +virtual void contextMenuEvent(QGraphicsSceneContextMenuEvent* event); +virtual void customEvent(QEvent* arg__1); +virtual void dragEnterEvent(QGraphicsSceneDragDropEvent* event); +virtual void dragLeaveEvent(QGraphicsSceneDragDropEvent* event); +virtual void dragMoveEvent(QGraphicsSceneDragDropEvent* event); +virtual void dropEvent(QGraphicsSceneDragDropEvent* event); +virtual bool event(QEvent* arg__1); +virtual bool eventFilter(QObject* arg__1, QEvent* arg__2); +virtual QVariant extension(const QVariant& variant) const; +virtual void focusInEvent(QFocusEvent* event); +virtual void focusOutEvent(QFocusEvent* event); +virtual void hoverEnterEvent(QGraphicsSceneHoverEvent* event); +virtual void hoverLeaveEvent(QGraphicsSceneHoverEvent* event); +virtual void hoverMoveEvent(QGraphicsSceneHoverEvent* event); +virtual void inputMethodEvent(QInputMethodEvent* event); +virtual QVariant inputMethodQuery(Qt::InputMethodQuery query) const; +virtual bool isObscuredBy(const QGraphicsItem* item) const; +virtual QVariant itemChange(QGraphicsItem::GraphicsItemChange change, const QVariant& value); +virtual void keyPressEvent(QKeyEvent* event); +virtual void keyReleaseEvent(QKeyEvent* event); +virtual void mouseDoubleClickEvent(QGraphicsSceneMouseEvent* event); +virtual void mouseMoveEvent(QGraphicsSceneMouseEvent* event); +virtual void mousePressEvent(QGraphicsSceneMouseEvent* event); +virtual void mouseReleaseEvent(QGraphicsSceneMouseEvent* event); +virtual QPainterPath opaqueArea() const; +virtual void paint(QPainter* painter, const QStyleOptionGraphicsItem* option, QWidget* widget); +virtual bool sceneEvent(QEvent* event); +virtual bool sceneEventFilter(QGraphicsItem* watched, QEvent* event); +virtual void setExtension(QGraphicsItem::Extension extension, const QVariant& variant); +virtual QPainterPath shape() const; +virtual bool supportsExtension(QGraphicsItem::Extension extension) const; +virtual void timerEvent(QTimerEvent* arg__1); +virtual int type() const; +virtual void wheelEvent(QGraphicsSceneWheelEvent* event); + + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtWrapper_QGraphicsObject : public QObject +{ Q_OBJECT +public: +public slots: +QGraphicsObject* new_QGraphicsObject(QGraphicsItem* parent = 0); +void delete_QGraphicsObject(QGraphicsObject* obj) { delete obj; } + QString py_toString(QGraphicsObject*); +}; + + + + + +class PythonQtShell_QGraphicsOpacityEffect : public QGraphicsOpacityEffect +{ +public: + PythonQtShell_QGraphicsOpacityEffect(QObject* parent = 0):QGraphicsOpacityEffect(parent),_wrapper(NULL) {}; + +virtual QRectF boundingRectFor(const QRectF& sourceRect) const; +virtual void childEvent(QChildEvent* arg__1); +virtual void customEvent(QEvent* arg__1); +virtual void draw(QPainter* painter); +virtual bool event(QEvent* arg__1); +virtual bool eventFilter(QObject* arg__1, QEvent* arg__2); +virtual void sourceChanged(QGraphicsEffect::ChangeFlags flags); +virtual void timerEvent(QTimerEvent* arg__1); + + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtPublicPromoter_QGraphicsOpacityEffect : public QGraphicsOpacityEffect +{ public: +inline void promoted_draw(QPainter* painter) { QGraphicsOpacityEffect::draw(painter); } +}; + +class PythonQtWrapper_QGraphicsOpacityEffect : public QObject +{ Q_OBJECT +public: +public slots: +QGraphicsOpacityEffect* new_QGraphicsOpacityEffect(QObject* parent = 0); +void delete_QGraphicsOpacityEffect(QGraphicsOpacityEffect* obj) { delete obj; } + void draw(QGraphicsOpacityEffect* theWrappedObject, QPainter* painter); + qreal opacity(QGraphicsOpacityEffect* theWrappedObject) const; + QBrush opacityMask(QGraphicsOpacityEffect* theWrappedObject) const; +}; + + + + + +class PythonQtShell_QGraphicsPathItem : public QGraphicsPathItem +{ +public: + PythonQtShell_QGraphicsPathItem(QGraphicsItem* parent = 0, QGraphicsScene* scene = 0):QGraphicsPathItem(parent, scene),_wrapper(NULL) {}; + PythonQtShell_QGraphicsPathItem(const QPainterPath& path, QGraphicsItem* parent = 0, QGraphicsScene* scene = 0):QGraphicsPathItem(path, parent, scene),_wrapper(NULL) {}; + +virtual bool isObscuredBy(const QGraphicsItem* item) const; +virtual QPainterPath opaqueArea() const; + + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtPublicPromoter_QGraphicsPathItem : public QGraphicsPathItem +{ public: +inline bool promoted_isObscuredBy(const QGraphicsItem* item) const { return QGraphicsPathItem::isObscuredBy(item); } +inline QPainterPath promoted_opaqueArea() const { return QGraphicsPathItem::opaqueArea(); } +}; + +class PythonQtWrapper_QGraphicsPathItem : public QObject +{ Q_OBJECT +public: +Q_ENUMS(enum_1 ) +enum enum_1{ + Type = QGraphicsPathItem::Type}; +public slots: +QGraphicsPathItem* new_QGraphicsPathItem(QGraphicsItem* parent = 0, QGraphicsScene* scene = 0); +QGraphicsPathItem* new_QGraphicsPathItem(const QPainterPath& path, QGraphicsItem* parent = 0, QGraphicsScene* scene = 0); +void delete_QGraphicsPathItem(QGraphicsPathItem* obj) { delete obj; } + QRectF boundingRect(QGraphicsPathItem* theWrappedObject) const; + bool contains(QGraphicsPathItem* theWrappedObject, const QPointF& point) const; + bool isObscuredBy(QGraphicsPathItem* theWrappedObject, const QGraphicsItem* item) const; + QPainterPath opaqueArea(QGraphicsPathItem* theWrappedObject) const; + void paint(QGraphicsPathItem* theWrappedObject, QPainter* painter, const QStyleOptionGraphicsItem* option, QWidget* widget = 0); + QPainterPath path(QGraphicsPathItem* theWrappedObject) const; + void setPath(QGraphicsPathItem* theWrappedObject, const QPainterPath& path); + QPainterPath shape(QGraphicsPathItem* theWrappedObject) const; + int type(QGraphicsPathItem* theWrappedObject) const; +}; + + diff --git a/generated_cpp_47/com_trolltech_qt_gui/com_trolltech_qt_gui3.cpp b/generated_cpp_47/com_trolltech_qt_gui/com_trolltech_qt_gui3.cpp new file mode 100644 index 00000000..f558afde --- /dev/null +++ b/generated_cpp_47/com_trolltech_qt_gui/com_trolltech_qt_gui3.cpp @@ -0,0 +1,10526 @@ +#include "com_trolltech_qt_gui3.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 + +void PythonQtShell_QGraphicsPixmapItem::advance(int phase) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "advance"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&phase}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QGraphicsPixmapItem::advance(phase); +} +QRectF PythonQtShell_QGraphicsPixmapItem::boundingRect() const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "boundingRect"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QRectF"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QRectF returnValue; + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("boundingRect", methodInfo, result); + } else { + returnValue = *((QRectF*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QGraphicsPixmapItem::boundingRect(); +} +bool PythonQtShell_QGraphicsPixmapItem::collidesWithItem(const QGraphicsItem* other, Qt::ItemSelectionMode mode) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "collidesWithItem"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "const QGraphicsItem*" , "Qt::ItemSelectionMode"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue; + void* args[3] = {NULL, (void*)&other, (void*)&mode}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("collidesWithItem", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QGraphicsPixmapItem::collidesWithItem(other, mode); +} +bool PythonQtShell_QGraphicsPixmapItem::collidesWithPath(const QPainterPath& path, Qt::ItemSelectionMode mode) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "collidesWithPath"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "const QPainterPath&" , "Qt::ItemSelectionMode"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue; + void* args[3] = {NULL, (void*)&path, (void*)&mode}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("collidesWithPath", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QGraphicsPixmapItem::collidesWithPath(path, mode); +} +bool PythonQtShell_QGraphicsPixmapItem::contains(const QPointF& point) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "contains"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "const QPointF&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue; + void* args[2] = {NULL, (void*)&point}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("contains", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QGraphicsPixmapItem::contains(point); +} +void PythonQtShell_QGraphicsPixmapItem::contextMenuEvent(QGraphicsSceneContextMenuEvent* event) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "contextMenuEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QGraphicsSceneContextMenuEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&event}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QGraphicsPixmapItem::contextMenuEvent(event); +} +void PythonQtShell_QGraphicsPixmapItem::dragEnterEvent(QGraphicsSceneDragDropEvent* event) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dragEnterEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QGraphicsSceneDragDropEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&event}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QGraphicsPixmapItem::dragEnterEvent(event); +} +void PythonQtShell_QGraphicsPixmapItem::dragLeaveEvent(QGraphicsSceneDragDropEvent* event) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dragLeaveEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QGraphicsSceneDragDropEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&event}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QGraphicsPixmapItem::dragLeaveEvent(event); +} +void PythonQtShell_QGraphicsPixmapItem::dragMoveEvent(QGraphicsSceneDragDropEvent* event) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dragMoveEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QGraphicsSceneDragDropEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&event}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QGraphicsPixmapItem::dragMoveEvent(event); +} +void PythonQtShell_QGraphicsPixmapItem::dropEvent(QGraphicsSceneDragDropEvent* event) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dropEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QGraphicsSceneDragDropEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&event}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QGraphicsPixmapItem::dropEvent(event); +} +QVariant PythonQtShell_QGraphicsPixmapItem::extension(const QVariant& variant) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "extension"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QVariant" , "const QVariant&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + QVariant returnValue; + void* args[2] = {NULL, (void*)&variant}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("extension", methodInfo, result); + } else { + returnValue = *((QVariant*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QGraphicsPixmapItem::extension(variant); +} +void PythonQtShell_QGraphicsPixmapItem::focusInEvent(QFocusEvent* event) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "focusInEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QFocusEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&event}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QGraphicsPixmapItem::focusInEvent(event); +} +void PythonQtShell_QGraphicsPixmapItem::focusOutEvent(QFocusEvent* event) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "focusOutEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QFocusEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&event}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QGraphicsPixmapItem::focusOutEvent(event); +} +void PythonQtShell_QGraphicsPixmapItem::hoverEnterEvent(QGraphicsSceneHoverEvent* event) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "hoverEnterEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QGraphicsSceneHoverEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&event}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QGraphicsPixmapItem::hoverEnterEvent(event); +} +void PythonQtShell_QGraphicsPixmapItem::hoverLeaveEvent(QGraphicsSceneHoverEvent* event) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "hoverLeaveEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QGraphicsSceneHoverEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&event}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QGraphicsPixmapItem::hoverLeaveEvent(event); +} +void PythonQtShell_QGraphicsPixmapItem::hoverMoveEvent(QGraphicsSceneHoverEvent* event) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "hoverMoveEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QGraphicsSceneHoverEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&event}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QGraphicsPixmapItem::hoverMoveEvent(event); +} +void PythonQtShell_QGraphicsPixmapItem::inputMethodEvent(QInputMethodEvent* event) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "inputMethodEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QInputMethodEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&event}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QGraphicsPixmapItem::inputMethodEvent(event); +} +QVariant PythonQtShell_QGraphicsPixmapItem::inputMethodQuery(Qt::InputMethodQuery query) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "inputMethodQuery"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QVariant" , "Qt::InputMethodQuery"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + QVariant returnValue; + void* args[2] = {NULL, (void*)&query}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result); + } else { + returnValue = *((QVariant*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QGraphicsPixmapItem::inputMethodQuery(query); +} +bool PythonQtShell_QGraphicsPixmapItem::isObscuredBy(const QGraphicsItem* item) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "isObscuredBy"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "const QGraphicsItem*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue; + void* args[2] = {NULL, (void*)&item}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("isObscuredBy", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QGraphicsPixmapItem::isObscuredBy(item); +} +QVariant PythonQtShell_QGraphicsPixmapItem::itemChange(QGraphicsItem::GraphicsItemChange change, const QVariant& value) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "itemChange"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QVariant" , "QGraphicsItem::GraphicsItemChange" , "const QVariant&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + QVariant returnValue; + void* args[3] = {NULL, (void*)&change, (void*)&value}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("itemChange", methodInfo, result); + } else { + returnValue = *((QVariant*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QGraphicsPixmapItem::itemChange(change, value); +} +void PythonQtShell_QGraphicsPixmapItem::keyPressEvent(QKeyEvent* event) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "keyPressEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QKeyEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&event}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QGraphicsPixmapItem::keyPressEvent(event); +} +void PythonQtShell_QGraphicsPixmapItem::keyReleaseEvent(QKeyEvent* event) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "keyReleaseEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QKeyEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&event}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QGraphicsPixmapItem::keyReleaseEvent(event); +} +void PythonQtShell_QGraphicsPixmapItem::mouseDoubleClickEvent(QGraphicsSceneMouseEvent* event) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mouseDoubleClickEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QGraphicsSceneMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&event}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QGraphicsPixmapItem::mouseDoubleClickEvent(event); +} +void PythonQtShell_QGraphicsPixmapItem::mouseMoveEvent(QGraphicsSceneMouseEvent* event) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mouseMoveEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QGraphicsSceneMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&event}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QGraphicsPixmapItem::mouseMoveEvent(event); +} +void PythonQtShell_QGraphicsPixmapItem::mousePressEvent(QGraphicsSceneMouseEvent* event) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mousePressEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QGraphicsSceneMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&event}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QGraphicsPixmapItem::mousePressEvent(event); +} +void PythonQtShell_QGraphicsPixmapItem::mouseReleaseEvent(QGraphicsSceneMouseEvent* event) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mouseReleaseEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QGraphicsSceneMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&event}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QGraphicsPixmapItem::mouseReleaseEvent(event); +} +QPainterPath PythonQtShell_QGraphicsPixmapItem::opaqueArea() const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "opaqueArea"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QPainterPath"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QPainterPath returnValue; + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("opaqueArea", methodInfo, result); + } else { + returnValue = *((QPainterPath*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QGraphicsPixmapItem::opaqueArea(); +} +void PythonQtShell_QGraphicsPixmapItem::paint(QPainter* painter, const QStyleOptionGraphicsItem* option, QWidget* widget) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "paint"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QPainter*" , "const QStyleOptionGraphicsItem*" , "QWidget*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + void* args[4] = {NULL, (void*)&painter, (void*)&option, (void*)&widget}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QGraphicsPixmapItem::paint(painter, option, widget); +} +bool PythonQtShell_QGraphicsPixmapItem::sceneEvent(QEvent* event) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "sceneEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue; + void* args[2] = {NULL, (void*)&event}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("sceneEvent", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QGraphicsPixmapItem::sceneEvent(event); +} +bool PythonQtShell_QGraphicsPixmapItem::sceneEventFilter(QGraphicsItem* watched, QEvent* event) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "sceneEventFilter"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "QGraphicsItem*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue; + void* args[3] = {NULL, (void*)&watched, (void*)&event}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("sceneEventFilter", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QGraphicsPixmapItem::sceneEventFilter(watched, event); +} +QPainterPath PythonQtShell_QGraphicsPixmapItem::shape() const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "shape"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QPainterPath"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QPainterPath returnValue; + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("shape", methodInfo, result); + } else { + returnValue = *((QPainterPath*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QGraphicsPixmapItem::shape(); +} +int PythonQtShell_QGraphicsPixmapItem::type() const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "type"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + int returnValue; + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("type", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QGraphicsPixmapItem::type(); +} +void PythonQtShell_QGraphicsPixmapItem::wheelEvent(QGraphicsSceneWheelEvent* event) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "wheelEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QGraphicsSceneWheelEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&event}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QGraphicsPixmapItem::wheelEvent(event); +} +QGraphicsPixmapItem* PythonQtWrapper_QGraphicsPixmapItem::new_QGraphicsPixmapItem(QGraphicsItem* parent, QGraphicsScene* scene) +{ +return new PythonQtShell_QGraphicsPixmapItem(parent, scene); } + +QGraphicsPixmapItem* PythonQtWrapper_QGraphicsPixmapItem::new_QGraphicsPixmapItem(const QPixmap& pixmap, QGraphicsItem* parent, QGraphicsScene* scene) +{ +return new PythonQtShell_QGraphicsPixmapItem(pixmap, parent, scene); } + +QRectF PythonQtWrapper_QGraphicsPixmapItem::boundingRect(QGraphicsPixmapItem* theWrappedObject) const +{ + return ( ((PythonQtPublicPromoter_QGraphicsPixmapItem*)theWrappedObject)->promoted_boundingRect()); +} + +bool PythonQtWrapper_QGraphicsPixmapItem::contains(QGraphicsPixmapItem* theWrappedObject, const QPointF& point) const +{ + return ( ((PythonQtPublicPromoter_QGraphicsPixmapItem*)theWrappedObject)->promoted_contains(point)); +} + +QVariant PythonQtWrapper_QGraphicsPixmapItem::extension(QGraphicsPixmapItem* theWrappedObject, const QVariant& variant) const +{ + return ( ((PythonQtPublicPromoter_QGraphicsPixmapItem*)theWrappedObject)->promoted_extension(variant)); +} + +bool PythonQtWrapper_QGraphicsPixmapItem::isObscuredBy(QGraphicsPixmapItem* theWrappedObject, const QGraphicsItem* item) const +{ + return ( ((PythonQtPublicPromoter_QGraphicsPixmapItem*)theWrappedObject)->promoted_isObscuredBy(item)); +} + +QPointF PythonQtWrapper_QGraphicsPixmapItem::offset(QGraphicsPixmapItem* theWrappedObject) const +{ + return ( theWrappedObject->offset()); +} + +QPainterPath PythonQtWrapper_QGraphicsPixmapItem::opaqueArea(QGraphicsPixmapItem* theWrappedObject) const +{ + return ( ((PythonQtPublicPromoter_QGraphicsPixmapItem*)theWrappedObject)->promoted_opaqueArea()); +} + +void PythonQtWrapper_QGraphicsPixmapItem::paint(QGraphicsPixmapItem* theWrappedObject, QPainter* painter, const QStyleOptionGraphicsItem* option, QWidget* widget) +{ + ( ((PythonQtPublicPromoter_QGraphicsPixmapItem*)theWrappedObject)->promoted_paint(painter, option, widget)); +} + +QPixmap PythonQtWrapper_QGraphicsPixmapItem::pixmap(QGraphicsPixmapItem* theWrappedObject) const +{ + return ( theWrappedObject->pixmap()); +} + +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)); +} + +void PythonQtWrapper_QGraphicsPixmapItem::setTransformationMode(QGraphicsPixmapItem* theWrappedObject, Qt::TransformationMode mode) +{ + ( theWrappedObject->setTransformationMode(mode)); +} + +QPainterPath PythonQtWrapper_QGraphicsPixmapItem::shape(QGraphicsPixmapItem* theWrappedObject) const +{ + return ( ((PythonQtPublicPromoter_QGraphicsPixmapItem*)theWrappedObject)->promoted_shape()); +} + +QGraphicsPixmapItem::ShapeMode PythonQtWrapper_QGraphicsPixmapItem::shapeMode(QGraphicsPixmapItem* theWrappedObject) const +{ + return ( theWrappedObject->shapeMode()); +} + +Qt::TransformationMode PythonQtWrapper_QGraphicsPixmapItem::transformationMode(QGraphicsPixmapItem* theWrappedObject) const +{ + return ( theWrappedObject->transformationMode()); +} + +int PythonQtWrapper_QGraphicsPixmapItem::type(QGraphicsPixmapItem* theWrappedObject) const +{ + return ( ((PythonQtPublicPromoter_QGraphicsPixmapItem*)theWrappedObject)->promoted_type()); +} + + + +bool PythonQtShell_QGraphicsPolygonItem::isObscuredBy(const QGraphicsItem* item) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "isObscuredBy"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "const QGraphicsItem*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue; + void* args[2] = {NULL, (void*)&item}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("isObscuredBy", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QGraphicsPolygonItem::isObscuredBy(item); +} +QPainterPath PythonQtShell_QGraphicsPolygonItem::opaqueArea() const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "opaqueArea"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QPainterPath"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QPainterPath returnValue; + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("opaqueArea", methodInfo, result); + } else { + returnValue = *((QPainterPath*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QGraphicsPolygonItem::opaqueArea(); +} +QGraphicsPolygonItem* PythonQtWrapper_QGraphicsPolygonItem::new_QGraphicsPolygonItem(QGraphicsItem* parent, QGraphicsScene* scene) +{ +return new PythonQtShell_QGraphicsPolygonItem(parent, scene); } + +QGraphicsPolygonItem* PythonQtWrapper_QGraphicsPolygonItem::new_QGraphicsPolygonItem(const QPolygonF& polygon, QGraphicsItem* parent, QGraphicsScene* scene) +{ +return new PythonQtShell_QGraphicsPolygonItem(polygon, parent, scene); } + +QRectF PythonQtWrapper_QGraphicsPolygonItem::boundingRect(QGraphicsPolygonItem* theWrappedObject) const +{ + return ( theWrappedObject->boundingRect()); +} + +bool PythonQtWrapper_QGraphicsPolygonItem::contains(QGraphicsPolygonItem* theWrappedObject, const QPointF& point) const +{ + return ( theWrappedObject->contains(point)); +} + +Qt::FillRule PythonQtWrapper_QGraphicsPolygonItem::fillRule(QGraphicsPolygonItem* theWrappedObject) const +{ + return ( theWrappedObject->fillRule()); +} + +bool PythonQtWrapper_QGraphicsPolygonItem::isObscuredBy(QGraphicsPolygonItem* theWrappedObject, const QGraphicsItem* item) const +{ + return ( ((PythonQtPublicPromoter_QGraphicsPolygonItem*)theWrappedObject)->promoted_isObscuredBy(item)); +} + +QPainterPath PythonQtWrapper_QGraphicsPolygonItem::opaqueArea(QGraphicsPolygonItem* theWrappedObject) const +{ + return ( ((PythonQtPublicPromoter_QGraphicsPolygonItem*)theWrappedObject)->promoted_opaqueArea()); +} + +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::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()); +} + +int PythonQtWrapper_QGraphicsPolygonItem::type(QGraphicsPolygonItem* theWrappedObject) const +{ + return ( theWrappedObject->type()); +} + + + +void PythonQtShell_QGraphicsProxyWidget::changeEvent(QEvent* event) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "changeEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&event}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QGraphicsProxyWidget::changeEvent(event); +} +void PythonQtShell_QGraphicsProxyWidget::childEvent(QChildEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "childEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QChildEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QGraphicsProxyWidget::childEvent(arg__1); +} +void PythonQtShell_QGraphicsProxyWidget::closeEvent(QCloseEvent* event) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "closeEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QCloseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&event}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QGraphicsProxyWidget::closeEvent(event); +} +void PythonQtShell_QGraphicsProxyWidget::customEvent(QEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "customEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QGraphicsProxyWidget::customEvent(arg__1); +} +bool PythonQtShell_QGraphicsProxyWidget::event(QEvent* event) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "event"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue; + void* args[2] = {NULL, (void*)&event}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QGraphicsProxyWidget::event(event); +} +bool PythonQtShell_QGraphicsProxyWidget::eventFilter(QObject* object, QEvent* event) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "eventFilter"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue; + void* args[3] = {NULL, (void*)&object, (void*)&event}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QGraphicsProxyWidget::eventFilter(object, event); +} +bool PythonQtShell_QGraphicsProxyWidget::focusNextPrevChild(bool next) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "focusNextPrevChild"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue; + void* args[2] = {NULL, (void*)&next}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("focusNextPrevChild", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QGraphicsProxyWidget::focusNextPrevChild(next); +} +void PythonQtShell_QGraphicsProxyWidget::getContentsMargins(qreal* left, qreal* top, qreal* right, qreal* bottom) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "getContentsMargins"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "qreal*" , "qreal*" , "qreal*" , "qreal*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(5, argumentList); + void* args[5] = {NULL, (void*)&left, (void*)&top, (void*)&right, (void*)&bottom}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QGraphicsProxyWidget::getContentsMargins(left, top, right, bottom); +} +void PythonQtShell_QGraphicsProxyWidget::grabKeyboardEvent(QEvent* event) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "grabKeyboardEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&event}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QGraphicsProxyWidget::grabKeyboardEvent(event); +} +void PythonQtShell_QGraphicsProxyWidget::grabMouseEvent(QEvent* event) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "grabMouseEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&event}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QGraphicsProxyWidget::grabMouseEvent(event); +} +void PythonQtShell_QGraphicsProxyWidget::hideEvent(QHideEvent* event) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "hideEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QHideEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&event}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QGraphicsProxyWidget::hideEvent(event); +} +void PythonQtShell_QGraphicsProxyWidget::hoverLeaveEvent(QGraphicsSceneHoverEvent* event) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "hoverLeaveEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QGraphicsSceneHoverEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&event}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QGraphicsProxyWidget::hoverLeaveEvent(event); +} +void PythonQtShell_QGraphicsProxyWidget::hoverMoveEvent(QGraphicsSceneHoverEvent* event) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "hoverMoveEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QGraphicsSceneHoverEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&event}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QGraphicsProxyWidget::hoverMoveEvent(event); +} +void PythonQtShell_QGraphicsProxyWidget::initStyleOption(QStyleOption* option) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "initStyleOption"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QStyleOption*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&option}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QGraphicsProxyWidget::initStyleOption(option); +} +void PythonQtShell_QGraphicsProxyWidget::moveEvent(QGraphicsSceneMoveEvent* event) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "moveEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QGraphicsSceneMoveEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&event}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QGraphicsProxyWidget::moveEvent(event); +} +void PythonQtShell_QGraphicsProxyWidget::paintWindowFrame(QPainter* painter, const QStyleOptionGraphicsItem* option, QWidget* widget) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "paintWindowFrame"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QPainter*" , "const QStyleOptionGraphicsItem*" , "QWidget*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + void* args[4] = {NULL, (void*)&painter, (void*)&option, (void*)&widget}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QGraphicsProxyWidget::paintWindowFrame(painter, option, widget); +} +void PythonQtShell_QGraphicsProxyWidget::polishEvent() +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "polishEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={""}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QGraphicsProxyWidget::polishEvent(); +} +QVariant PythonQtShell_QGraphicsProxyWidget::propertyChange(const QString& propertyName, const QVariant& value) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "propertyChange"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QVariant" , "const QString&" , "const QVariant&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + QVariant returnValue; + void* args[3] = {NULL, (void*)&propertyName, (void*)&value}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("propertyChange", methodInfo, result); + } else { + returnValue = *((QVariant*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QGraphicsProxyWidget::propertyChange(propertyName, value); +} +void PythonQtShell_QGraphicsProxyWidget::resizeEvent(QGraphicsSceneResizeEvent* event) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "resizeEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QGraphicsSceneResizeEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&event}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QGraphicsProxyWidget::resizeEvent(event); +} +void PythonQtShell_QGraphicsProxyWidget::setGeometry(const QRectF& rect) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "setGeometry"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "const QRectF&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&rect}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QGraphicsProxyWidget::setGeometry(rect); +} +void PythonQtShell_QGraphicsProxyWidget::showEvent(QShowEvent* event) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "showEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QShowEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&event}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QGraphicsProxyWidget::showEvent(event); +} +QSizeF PythonQtShell_QGraphicsProxyWidget::sizeHint(Qt::SizeHint which, const QSizeF& constraint) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "sizeHint"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QSizeF" , "Qt::SizeHint" , "const QSizeF&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + QSizeF returnValue; + void* args[3] = {NULL, (void*)&which, (void*)&constraint}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("sizeHint", methodInfo, result); + } else { + returnValue = *((QSizeF*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QGraphicsProxyWidget::sizeHint(which, constraint); +} +void PythonQtShell_QGraphicsProxyWidget::timerEvent(QTimerEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "timerEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QTimerEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QGraphicsProxyWidget::timerEvent(arg__1); +} +void PythonQtShell_QGraphicsProxyWidget::ungrabKeyboardEvent(QEvent* event) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "ungrabKeyboardEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&event}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QGraphicsProxyWidget::ungrabKeyboardEvent(event); +} +void PythonQtShell_QGraphicsProxyWidget::ungrabMouseEvent(QEvent* event) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "ungrabMouseEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&event}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QGraphicsProxyWidget::ungrabMouseEvent(event); +} +void PythonQtShell_QGraphicsProxyWidget::updateGeometry() +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "updateGeometry"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={""}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QGraphicsProxyWidget::updateGeometry(); +} +bool PythonQtShell_QGraphicsProxyWidget::windowFrameEvent(QEvent* e) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "windowFrameEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue; + void* args[2] = {NULL, (void*)&e}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("windowFrameEvent", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QGraphicsProxyWidget::windowFrameEvent(e); +} +Qt::WindowFrameSection PythonQtShell_QGraphicsProxyWidget::windowFrameSectionAt(const QPointF& pos) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "windowFrameSectionAt"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"Qt::WindowFrameSection" , "const QPointF&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + Qt::WindowFrameSection returnValue; + void* args[2] = {NULL, (void*)&pos}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("windowFrameSectionAt", methodInfo, result); + } else { + returnValue = *((Qt::WindowFrameSection*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QGraphicsProxyWidget::windowFrameSectionAt(pos); +} +QGraphicsProxyWidget* PythonQtWrapper_QGraphicsProxyWidget::new_QGraphicsProxyWidget(QGraphicsItem* parent, Qt::WindowFlags wFlags) +{ +return new PythonQtShell_QGraphicsProxyWidget(parent, wFlags); } + +QGraphicsProxyWidget* PythonQtWrapper_QGraphicsProxyWidget::createProxyForChildWidget(QGraphicsProxyWidget* theWrappedObject, QWidget* child) +{ + return ( theWrappedObject->createProxyForChildWidget(child)); +} + +bool PythonQtWrapper_QGraphicsProxyWidget::event(QGraphicsProxyWidget* theWrappedObject, QEvent* event) +{ + return ( ((PythonQtPublicPromoter_QGraphicsProxyWidget*)theWrappedObject)->promoted_event(event)); +} + +bool PythonQtWrapper_QGraphicsProxyWidget::eventFilter(QGraphicsProxyWidget* theWrappedObject, QObject* object, QEvent* event) +{ + return ( ((PythonQtPublicPromoter_QGraphicsProxyWidget*)theWrappedObject)->promoted_eventFilter(object, event)); +} + +bool PythonQtWrapper_QGraphicsProxyWidget::focusNextPrevChild(QGraphicsProxyWidget* theWrappedObject, bool next) +{ + return ( ((PythonQtPublicPromoter_QGraphicsProxyWidget*)theWrappedObject)->promoted_focusNextPrevChild(next)); +} + +void PythonQtWrapper_QGraphicsProxyWidget::grabMouseEvent(QGraphicsProxyWidget* theWrappedObject, QEvent* event) +{ + ( ((PythonQtPublicPromoter_QGraphicsProxyWidget*)theWrappedObject)->promoted_grabMouseEvent(event)); +} + +void PythonQtWrapper_QGraphicsProxyWidget::hideEvent(QGraphicsProxyWidget* theWrappedObject, QHideEvent* event) +{ + ( ((PythonQtPublicPromoter_QGraphicsProxyWidget*)theWrappedObject)->promoted_hideEvent(event)); +} + +void PythonQtWrapper_QGraphicsProxyWidget::hoverLeaveEvent(QGraphicsProxyWidget* theWrappedObject, QGraphicsSceneHoverEvent* event) +{ + ( ((PythonQtPublicPromoter_QGraphicsProxyWidget*)theWrappedObject)->promoted_hoverLeaveEvent(event)); +} + +void PythonQtWrapper_QGraphicsProxyWidget::hoverMoveEvent(QGraphicsProxyWidget* theWrappedObject, QGraphicsSceneHoverEvent* event) +{ + ( ((PythonQtPublicPromoter_QGraphicsProxyWidget*)theWrappedObject)->promoted_hoverMoveEvent(event)); +} + +void PythonQtWrapper_QGraphicsProxyWidget::paint(QGraphicsProxyWidget* theWrappedObject, QPainter* painter, const QStyleOptionGraphicsItem* option, QWidget* widget) +{ + ( theWrappedObject->paint(painter, option, widget)); +} + +void PythonQtWrapper_QGraphicsProxyWidget::resizeEvent(QGraphicsProxyWidget* theWrappedObject, QGraphicsSceneResizeEvent* event) +{ + ( ((PythonQtPublicPromoter_QGraphicsProxyWidget*)theWrappedObject)->promoted_resizeEvent(event)); +} + +void PythonQtWrapper_QGraphicsProxyWidget::setGeometry(QGraphicsProxyWidget* theWrappedObject, const QRectF& rect) +{ + ( ((PythonQtPublicPromoter_QGraphicsProxyWidget*)theWrappedObject)->promoted_setGeometry(rect)); +} + +void PythonQtWrapper_QGraphicsProxyWidget::setWidget(QGraphicsProxyWidget* theWrappedObject, QWidget* widget) +{ + ( theWrappedObject->setWidget(widget)); +} + +void PythonQtWrapper_QGraphicsProxyWidget::showEvent(QGraphicsProxyWidget* theWrappedObject, QShowEvent* event) +{ + ( ((PythonQtPublicPromoter_QGraphicsProxyWidget*)theWrappedObject)->promoted_showEvent(event)); +} + +QSizeF PythonQtWrapper_QGraphicsProxyWidget::sizeHint(QGraphicsProxyWidget* theWrappedObject, Qt::SizeHint which, const QSizeF& constraint) const +{ + return ( ((PythonQtPublicPromoter_QGraphicsProxyWidget*)theWrappedObject)->promoted_sizeHint(which, constraint)); +} + +QRectF PythonQtWrapper_QGraphicsProxyWidget::subWidgetRect(QGraphicsProxyWidget* theWrappedObject, const QWidget* widget) const +{ + return ( theWrappedObject->subWidgetRect(widget)); +} + +int PythonQtWrapper_QGraphicsProxyWidget::type(QGraphicsProxyWidget* theWrappedObject) const +{ + return ( theWrappedObject->type()); +} + +void PythonQtWrapper_QGraphicsProxyWidget::ungrabMouseEvent(QGraphicsProxyWidget* theWrappedObject, QEvent* event) +{ + ( ((PythonQtPublicPromoter_QGraphicsProxyWidget*)theWrappedObject)->promoted_ungrabMouseEvent(event)); +} + +QWidget* PythonQtWrapper_QGraphicsProxyWidget::widget(QGraphicsProxyWidget* theWrappedObject) const +{ + return ( theWrappedObject->widget()); +} + + + +bool PythonQtShell_QGraphicsRectItem::isObscuredBy(const QGraphicsItem* item) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "isObscuredBy"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "const QGraphicsItem*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue; + void* args[2] = {NULL, (void*)&item}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("isObscuredBy", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QGraphicsRectItem::isObscuredBy(item); +} +QPainterPath PythonQtShell_QGraphicsRectItem::opaqueArea() const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "opaqueArea"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QPainterPath"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QPainterPath returnValue; + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("opaqueArea", methodInfo, result); + } else { + returnValue = *((QPainterPath*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QGraphicsRectItem::opaqueArea(); +} +QGraphicsRectItem* PythonQtWrapper_QGraphicsRectItem::new_QGraphicsRectItem(QGraphicsItem* parent, QGraphicsScene* scene) +{ +return new PythonQtShell_QGraphicsRectItem(parent, scene); } + +QGraphicsRectItem* PythonQtWrapper_QGraphicsRectItem::new_QGraphicsRectItem(const QRectF& rect, QGraphicsItem* parent, QGraphicsScene* scene) +{ +return new PythonQtShell_QGraphicsRectItem(rect, parent, scene); } + +QGraphicsRectItem* PythonQtWrapper_QGraphicsRectItem::new_QGraphicsRectItem(qreal x, qreal y, qreal w, qreal h, QGraphicsItem* parent, QGraphicsScene* scene) +{ +return new PythonQtShell_QGraphicsRectItem(x, y, w, h, parent, scene); } + +QRectF PythonQtWrapper_QGraphicsRectItem::boundingRect(QGraphicsRectItem* theWrappedObject) const +{ + return ( theWrappedObject->boundingRect()); +} + +bool PythonQtWrapper_QGraphicsRectItem::contains(QGraphicsRectItem* theWrappedObject, const QPointF& point) const +{ + return ( theWrappedObject->contains(point)); +} + +bool PythonQtWrapper_QGraphicsRectItem::isObscuredBy(QGraphicsRectItem* theWrappedObject, const QGraphicsItem* item) const +{ + return ( ((PythonQtPublicPromoter_QGraphicsRectItem*)theWrappedObject)->promoted_isObscuredBy(item)); +} + +QPainterPath PythonQtWrapper_QGraphicsRectItem::opaqueArea(QGraphicsRectItem* theWrappedObject) const +{ + return ( ((PythonQtPublicPromoter_QGraphicsRectItem*)theWrappedObject)->promoted_opaqueArea()); +} + +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::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()); +} + +int PythonQtWrapper_QGraphicsRectItem::type(QGraphicsRectItem* theWrappedObject) const +{ + return ( theWrappedObject->type()); +} + + + +void PythonQtShell_QGraphicsRotation::applyTo(QMatrix4x4* matrix) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "applyTo"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QMatrix4x4*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&matrix}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QGraphicsRotation::applyTo(matrix); +} +void PythonQtShell_QGraphicsRotation::childEvent(QChildEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "childEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QChildEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QGraphicsRotation::childEvent(arg__1); +} +void PythonQtShell_QGraphicsRotation::customEvent(QEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "customEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QGraphicsRotation::customEvent(arg__1); +} +bool PythonQtShell_QGraphicsRotation::event(QEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "event"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue; + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QGraphicsRotation::event(arg__1); +} +bool PythonQtShell_QGraphicsRotation::eventFilter(QObject* arg__1, QEvent* arg__2) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "eventFilter"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue; + void* args[3] = {NULL, (void*)&arg__1, (void*)&arg__2}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QGraphicsRotation::eventFilter(arg__1, arg__2); +} +void PythonQtShell_QGraphicsRotation::timerEvent(QTimerEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "timerEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QTimerEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QGraphicsRotation::timerEvent(arg__1); +} +QGraphicsRotation* PythonQtWrapper_QGraphicsRotation::new_QGraphicsRotation(QObject* parent) +{ +return new PythonQtShell_QGraphicsRotation(parent); } + +qreal PythonQtWrapper_QGraphicsRotation::angle(QGraphicsRotation* theWrappedObject) const +{ + return ( theWrappedObject->angle()); +} + +void PythonQtWrapper_QGraphicsRotation::applyTo(QGraphicsRotation* theWrappedObject, QMatrix4x4* matrix) const +{ + ( ((PythonQtPublicPromoter_QGraphicsRotation*)theWrappedObject)->promoted_applyTo(matrix)); +} + +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)); +} + + + +void PythonQtShell_QGraphicsScale::applyTo(QMatrix4x4* matrix) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "applyTo"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QMatrix4x4*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&matrix}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QGraphicsScale::applyTo(matrix); +} +void PythonQtShell_QGraphicsScale::childEvent(QChildEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "childEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QChildEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QGraphicsScale::childEvent(arg__1); +} +void PythonQtShell_QGraphicsScale::customEvent(QEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "customEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QGraphicsScale::customEvent(arg__1); +} +bool PythonQtShell_QGraphicsScale::event(QEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "event"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue; + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QGraphicsScale::event(arg__1); +} +bool PythonQtShell_QGraphicsScale::eventFilter(QObject* arg__1, QEvent* arg__2) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "eventFilter"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue; + void* args[3] = {NULL, (void*)&arg__1, (void*)&arg__2}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QGraphicsScale::eventFilter(arg__1, arg__2); +} +void PythonQtShell_QGraphicsScale::timerEvent(QTimerEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "timerEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QTimerEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QGraphicsScale::timerEvent(arg__1); +} +QGraphicsScale* PythonQtWrapper_QGraphicsScale::new_QGraphicsScale(QObject* parent) +{ +return new PythonQtShell_QGraphicsScale(parent); } + +void PythonQtWrapper_QGraphicsScale::applyTo(QGraphicsScale* theWrappedObject, QMatrix4x4* matrix) const +{ + ( ((PythonQtPublicPromoter_QGraphicsScale*)theWrappedObject)->promoted_applyTo(matrix)); +} + +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()); +} + + + +void PythonQtShell_QGraphicsScene::childEvent(QChildEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "childEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QChildEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QGraphicsScene::childEvent(arg__1); +} +void PythonQtShell_QGraphicsScene::contextMenuEvent(QGraphicsSceneContextMenuEvent* event) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "contextMenuEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QGraphicsSceneContextMenuEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&event}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QGraphicsScene::contextMenuEvent(event); +} +void PythonQtShell_QGraphicsScene::customEvent(QEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "customEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QGraphicsScene::customEvent(arg__1); +} +void PythonQtShell_QGraphicsScene::dragEnterEvent(QGraphicsSceneDragDropEvent* event) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dragEnterEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QGraphicsSceneDragDropEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&event}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QGraphicsScene::dragEnterEvent(event); +} +void PythonQtShell_QGraphicsScene::dragLeaveEvent(QGraphicsSceneDragDropEvent* event) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dragLeaveEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QGraphicsSceneDragDropEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&event}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QGraphicsScene::dragLeaveEvent(event); +} +void PythonQtShell_QGraphicsScene::dragMoveEvent(QGraphicsSceneDragDropEvent* event) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dragMoveEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QGraphicsSceneDragDropEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&event}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QGraphicsScene::dragMoveEvent(event); +} +void PythonQtShell_QGraphicsScene::drawBackground(QPainter* painter, const QRectF& rect) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "drawBackground"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QPainter*" , "const QRectF&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + void* args[3] = {NULL, (void*)&painter, (void*)&rect}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QGraphicsScene::drawBackground(painter, rect); +} +void PythonQtShell_QGraphicsScene::drawForeground(QPainter* painter, const QRectF& rect) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "drawForeground"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QPainter*" , "const QRectF&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + void* args[3] = {NULL, (void*)&painter, (void*)&rect}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QGraphicsScene::drawForeground(painter, rect); +} +void PythonQtShell_QGraphicsScene::drawItems(QPainter* painter, int numItems, QGraphicsItem** items, const QStyleOptionGraphicsItem* options, QWidget* widget) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "drawItems"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QPainter*" , "int" , "QGraphicsItem**" , "const QStyleOptionGraphicsItem*" , "QWidget*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(6, argumentList); + void* args[6] = {NULL, (void*)&painter, (void*)&numItems, (void*)&items, (void*)&options, (void*)&widget}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QGraphicsScene::drawItems(painter, numItems, items, options, widget); +} +void PythonQtShell_QGraphicsScene::dropEvent(QGraphicsSceneDragDropEvent* event) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dropEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QGraphicsSceneDragDropEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&event}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QGraphicsScene::dropEvent(event); +} +bool PythonQtShell_QGraphicsScene::event(QEvent* event) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "event"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue; + void* args[2] = {NULL, (void*)&event}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QGraphicsScene::event(event); +} +bool PythonQtShell_QGraphicsScene::eventFilter(QObject* watched, QEvent* event) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "eventFilter"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue; + void* args[3] = {NULL, (void*)&watched, (void*)&event}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QGraphicsScene::eventFilter(watched, event); +} +void PythonQtShell_QGraphicsScene::focusInEvent(QFocusEvent* event) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "focusInEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QFocusEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&event}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QGraphicsScene::focusInEvent(event); +} +void PythonQtShell_QGraphicsScene::focusOutEvent(QFocusEvent* event) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "focusOutEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QFocusEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&event}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QGraphicsScene::focusOutEvent(event); +} +void PythonQtShell_QGraphicsScene::helpEvent(QGraphicsSceneHelpEvent* event) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "helpEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QGraphicsSceneHelpEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&event}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QGraphicsScene::helpEvent(event); +} +void PythonQtShell_QGraphicsScene::inputMethodEvent(QInputMethodEvent* event) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "inputMethodEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QInputMethodEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&event}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QGraphicsScene::inputMethodEvent(event); +} +QVariant PythonQtShell_QGraphicsScene::inputMethodQuery(Qt::InputMethodQuery query) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "inputMethodQuery"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QVariant" , "Qt::InputMethodQuery"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + QVariant returnValue; + void* args[2] = {NULL, (void*)&query}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result); + } else { + returnValue = *((QVariant*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QGraphicsScene::inputMethodQuery(query); +} +void PythonQtShell_QGraphicsScene::keyPressEvent(QKeyEvent* event) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "keyPressEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QKeyEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&event}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QGraphicsScene::keyPressEvent(event); +} +void PythonQtShell_QGraphicsScene::keyReleaseEvent(QKeyEvent* event) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "keyReleaseEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QKeyEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&event}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QGraphicsScene::keyReleaseEvent(event); +} +void PythonQtShell_QGraphicsScene::mouseDoubleClickEvent(QGraphicsSceneMouseEvent* event) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mouseDoubleClickEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QGraphicsSceneMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&event}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QGraphicsScene::mouseDoubleClickEvent(event); +} +void PythonQtShell_QGraphicsScene::mouseMoveEvent(QGraphicsSceneMouseEvent* event) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mouseMoveEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QGraphicsSceneMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&event}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QGraphicsScene::mouseMoveEvent(event); +} +void PythonQtShell_QGraphicsScene::mousePressEvent(QGraphicsSceneMouseEvent* event) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mousePressEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QGraphicsSceneMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&event}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QGraphicsScene::mousePressEvent(event); +} +void PythonQtShell_QGraphicsScene::mouseReleaseEvent(QGraphicsSceneMouseEvent* event) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mouseReleaseEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QGraphicsSceneMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&event}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QGraphicsScene::mouseReleaseEvent(event); +} +void PythonQtShell_QGraphicsScene::timerEvent(QTimerEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "timerEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QTimerEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QGraphicsScene::timerEvent(arg__1); +} +void PythonQtShell_QGraphicsScene::wheelEvent(QGraphicsSceneWheelEvent* event) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "wheelEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QGraphicsSceneWheelEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&event}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QGraphicsScene::wheelEvent(event); +} +QGraphicsScene* PythonQtWrapper_QGraphicsScene::new_QGraphicsScene(QObject* parent) +{ +return new PythonQtShell_QGraphicsScene(parent); } + +QGraphicsScene* PythonQtWrapper_QGraphicsScene::new_QGraphicsScene(const QRectF& sceneRect, QObject* parent) +{ +return new PythonQtShell_QGraphicsScene(sceneRect, parent); } + +QGraphicsScene* PythonQtWrapper_QGraphicsScene::new_QGraphicsScene(qreal x, qreal y, qreal width, qreal height, QObject* parent) +{ +return new PythonQtShell_QGraphicsScene(x, y, width, height, parent); } + +QGraphicsItem* PythonQtWrapper_QGraphicsScene::activePanel(QGraphicsScene* theWrappedObject) const +{ + return ( theWrappedObject->activePanel()); +} + +QGraphicsWidget* PythonQtWrapper_QGraphicsScene::activeWindow(QGraphicsScene* theWrappedObject) const +{ + return ( theWrappedObject->activeWindow()); +} + +QGraphicsEllipseItem* PythonQtWrapper_QGraphicsScene::addEllipse(QGraphicsScene* theWrappedObject, const QRectF& rect, const QPen& pen, const QBrush& brush) +{ + return ( theWrappedObject->addEllipse(rect, pen, brush)); +} + +QGraphicsEllipseItem* PythonQtWrapper_QGraphicsScene::addEllipse(QGraphicsScene* theWrappedObject, qreal x, qreal y, qreal w, qreal h, const QPen& pen, const QBrush& brush) +{ + return ( theWrappedObject->addEllipse(x, y, w, h, pen, brush)); +} + +void PythonQtWrapper_QGraphicsScene::addItem(QGraphicsScene* theWrappedObject, QGraphicsItem* item) +{ + ( theWrappedObject->addItem(item)); +} + +QGraphicsLineItem* PythonQtWrapper_QGraphicsScene::addLine(QGraphicsScene* theWrappedObject, const QLineF& line, const QPen& pen) +{ + return ( theWrappedObject->addLine(line, pen)); +} + +QGraphicsLineItem* PythonQtWrapper_QGraphicsScene::addLine(QGraphicsScene* theWrappedObject, qreal x1, qreal y1, qreal x2, qreal y2, const QPen& pen) +{ + return ( theWrappedObject->addLine(x1, y1, x2, y2, pen)); +} + +QGraphicsPathItem* PythonQtWrapper_QGraphicsScene::addPath(QGraphicsScene* theWrappedObject, const QPainterPath& path, const QPen& pen, const QBrush& brush) +{ + return ( theWrappedObject->addPath(path, pen, brush)); +} + +QGraphicsPixmapItem* PythonQtWrapper_QGraphicsScene::addPixmap(QGraphicsScene* theWrappedObject, const QPixmap& pixmap) +{ + return ( theWrappedObject->addPixmap(pixmap)); +} + +QGraphicsPolygonItem* PythonQtWrapper_QGraphicsScene::addPolygon(QGraphicsScene* theWrappedObject, const QPolygonF& polygon, const QPen& pen, const QBrush& brush) +{ + return ( theWrappedObject->addPolygon(polygon, pen, brush)); +} + +QGraphicsRectItem* PythonQtWrapper_QGraphicsScene::addRect(QGraphicsScene* theWrappedObject, const QRectF& rect, const QPen& pen, const QBrush& brush) +{ + return ( theWrappedObject->addRect(rect, pen, brush)); +} + +QGraphicsRectItem* PythonQtWrapper_QGraphicsScene::addRect(QGraphicsScene* theWrappedObject, qreal x, qreal y, qreal w, qreal h, const QPen& pen, const QBrush& brush) +{ + return ( theWrappedObject->addRect(x, y, w, h, pen, brush)); +} + +QGraphicsSimpleTextItem* PythonQtWrapper_QGraphicsScene::addSimpleText(QGraphicsScene* theWrappedObject, const QString& text, const QFont& font) +{ + return ( theWrappedObject->addSimpleText(text, font)); +} + +QGraphicsTextItem* PythonQtWrapper_QGraphicsScene::addText(QGraphicsScene* theWrappedObject, const QString& text, const QFont& font) +{ + return ( theWrappedObject->addText(text, font)); +} + +QGraphicsProxyWidget* PythonQtWrapper_QGraphicsScene::addWidget(QGraphicsScene* theWrappedObject, QWidget* widget, Qt::WindowFlags wFlags) +{ + return ( theWrappedObject->addWidget(widget, wFlags)); +} + +QBrush PythonQtWrapper_QGraphicsScene::backgroundBrush(QGraphicsScene* theWrappedObject) const +{ + return ( theWrappedObject->backgroundBrush()); +} + +int PythonQtWrapper_QGraphicsScene::bspTreeDepth(QGraphicsScene* theWrappedObject) const +{ + return ( theWrappedObject->bspTreeDepth()); +} + +void PythonQtWrapper_QGraphicsScene::clearFocus(QGraphicsScene* theWrappedObject) +{ + ( theWrappedObject->clearFocus()); +} + +QList PythonQtWrapper_QGraphicsScene::collidingItems(QGraphicsScene* theWrappedObject, const QGraphicsItem* item, Qt::ItemSelectionMode mode) const +{ + return ( theWrappedObject->collidingItems(item, mode)); +} + +void PythonQtWrapper_QGraphicsScene::contextMenuEvent(QGraphicsScene* theWrappedObject, QGraphicsSceneContextMenuEvent* event) +{ + ( ((PythonQtPublicPromoter_QGraphicsScene*)theWrappedObject)->promoted_contextMenuEvent(event)); +} + +QGraphicsItemGroup* PythonQtWrapper_QGraphicsScene::createItemGroup(QGraphicsScene* theWrappedObject, const QList& items) +{ + return ( theWrappedObject->createItemGroup(items)); +} + +void PythonQtWrapper_QGraphicsScene::destroyItemGroup(QGraphicsScene* theWrappedObject, QGraphicsItemGroup* group) +{ + ( theWrappedObject->destroyItemGroup(group)); +} + +void PythonQtWrapper_QGraphicsScene::dragEnterEvent(QGraphicsScene* theWrappedObject, QGraphicsSceneDragDropEvent* event) +{ + ( ((PythonQtPublicPromoter_QGraphicsScene*)theWrappedObject)->promoted_dragEnterEvent(event)); +} + +void PythonQtWrapper_QGraphicsScene::dragLeaveEvent(QGraphicsScene* theWrappedObject, QGraphicsSceneDragDropEvent* event) +{ + ( ((PythonQtPublicPromoter_QGraphicsScene*)theWrappedObject)->promoted_dragLeaveEvent(event)); +} + +void PythonQtWrapper_QGraphicsScene::dragMoveEvent(QGraphicsScene* theWrappedObject, QGraphicsSceneDragDropEvent* event) +{ + ( ((PythonQtPublicPromoter_QGraphicsScene*)theWrappedObject)->promoted_dragMoveEvent(event)); +} + +void PythonQtWrapper_QGraphicsScene::drawBackground(QGraphicsScene* theWrappedObject, QPainter* painter, const QRectF& rect) +{ + ( ((PythonQtPublicPromoter_QGraphicsScene*)theWrappedObject)->promoted_drawBackground(painter, rect)); +} + +void PythonQtWrapper_QGraphicsScene::drawForeground(QGraphicsScene* theWrappedObject, QPainter* painter, const QRectF& rect) +{ + ( ((PythonQtPublicPromoter_QGraphicsScene*)theWrappedObject)->promoted_drawForeground(painter, rect)); +} + +void PythonQtWrapper_QGraphicsScene::drawItems(QGraphicsScene* theWrappedObject, QPainter* painter, int numItems, QGraphicsItem** items, const QStyleOptionGraphicsItem* options, QWidget* widget) +{ + ( ((PythonQtPublicPromoter_QGraphicsScene*)theWrappedObject)->promoted_drawItems(painter, numItems, items, options, widget)); +} + +void PythonQtWrapper_QGraphicsScene::dropEvent(QGraphicsScene* theWrappedObject, QGraphicsSceneDragDropEvent* event) +{ + ( ((PythonQtPublicPromoter_QGraphicsScene*)theWrappedObject)->promoted_dropEvent(event)); +} + +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)); +} + +QGraphicsItem* PythonQtWrapper_QGraphicsScene::focusItem(QGraphicsScene* theWrappedObject) const +{ + return ( theWrappedObject->focusItem()); +} + +void PythonQtWrapper_QGraphicsScene::focusOutEvent(QGraphicsScene* theWrappedObject, QFocusEvent* event) +{ + ( ((PythonQtPublicPromoter_QGraphicsScene*)theWrappedObject)->promoted_focusOutEvent(event)); +} + +QFont PythonQtWrapper_QGraphicsScene::font(QGraphicsScene* theWrappedObject) const +{ + return ( theWrappedObject->font()); +} + +QBrush PythonQtWrapper_QGraphicsScene::foregroundBrush(QGraphicsScene* theWrappedObject) const +{ + return ( theWrappedObject->foregroundBrush()); +} + +bool PythonQtWrapper_QGraphicsScene::hasFocus(QGraphicsScene* theWrappedObject) const +{ + return ( theWrappedObject->hasFocus()); +} + +qreal PythonQtWrapper_QGraphicsScene::height(QGraphicsScene* theWrappedObject) const +{ + return ( theWrappedObject->height()); +} + +void PythonQtWrapper_QGraphicsScene::helpEvent(QGraphicsScene* theWrappedObject, QGraphicsSceneHelpEvent* event) +{ + ( ((PythonQtPublicPromoter_QGraphicsScene*)theWrappedObject)->promoted_helpEvent(event)); +} + +void PythonQtWrapper_QGraphicsScene::inputMethodEvent(QGraphicsScene* theWrappedObject, QInputMethodEvent* event) +{ + ( ((PythonQtPublicPromoter_QGraphicsScene*)theWrappedObject)->promoted_inputMethodEvent(event)); +} + +QVariant PythonQtWrapper_QGraphicsScene::inputMethodQuery(QGraphicsScene* theWrappedObject, Qt::InputMethodQuery query) const +{ + return ( ((PythonQtPublicPromoter_QGraphicsScene*)theWrappedObject)->promoted_inputMethodQuery(query)); +} + +void PythonQtWrapper_QGraphicsScene::invalidate(QGraphicsScene* theWrappedObject, qreal x, qreal y, qreal w, qreal h, QGraphicsScene::SceneLayers layers) +{ + ( theWrappedObject->invalidate(x, y, w, h, layers)); +} + +bool PythonQtWrapper_QGraphicsScene::isActive(QGraphicsScene* theWrappedObject) const +{ + return ( theWrappedObject->isActive()); +} + +bool PythonQtWrapper_QGraphicsScene::isSortCacheEnabled(QGraphicsScene* theWrappedObject) const +{ + return ( theWrappedObject->isSortCacheEnabled()); +} + +QGraphicsItem* PythonQtWrapper_QGraphicsScene::itemAt(QGraphicsScene* theWrappedObject, const QPointF& pos) const +{ + return ( theWrappedObject->itemAt(pos)); +} + +QGraphicsItem* PythonQtWrapper_QGraphicsScene::itemAt(QGraphicsScene* theWrappedObject, const QPointF& pos, const QTransform& deviceTransform) const +{ + return ( theWrappedObject->itemAt(pos, deviceTransform)); +} + +QGraphicsItem* PythonQtWrapper_QGraphicsScene::itemAt(QGraphicsScene* theWrappedObject, qreal x, qreal y) const +{ + return ( theWrappedObject->itemAt(x, y)); +} + +QGraphicsItem* PythonQtWrapper_QGraphicsScene::itemAt(QGraphicsScene* theWrappedObject, qreal x, qreal y, const QTransform& deviceTransform) const +{ + return ( theWrappedObject->itemAt(x, y, deviceTransform)); +} + +QGraphicsScene::ItemIndexMethod PythonQtWrapper_QGraphicsScene::itemIndexMethod(QGraphicsScene* theWrappedObject) const +{ + return ( theWrappedObject->itemIndexMethod()); +} + +QList PythonQtWrapper_QGraphicsScene::items(QGraphicsScene* theWrappedObject) const +{ + return ( theWrappedObject->items()); +} + +QList PythonQtWrapper_QGraphicsScene::items(QGraphicsScene* theWrappedObject, Qt::SortOrder order) const +{ + return ( theWrappedObject->items(order)); +} + +QList PythonQtWrapper_QGraphicsScene::items(QGraphicsScene* theWrappedObject, const QPainterPath& path, Qt::ItemSelectionMode mode) const +{ + return ( theWrappedObject->items(path, mode)); +} + +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)); +} + +QList PythonQtWrapper_QGraphicsScene::items(QGraphicsScene* theWrappedObject, const QPointF& pos) const +{ + return ( theWrappedObject->items(pos)); +} + +QList PythonQtWrapper_QGraphicsScene::items(QGraphicsScene* theWrappedObject, const QPointF& pos, Qt::ItemSelectionMode mode, Qt::SortOrder order, const QTransform& deviceTransform) const +{ + return ( theWrappedObject->items(pos, mode, order, deviceTransform)); +} + +QList PythonQtWrapper_QGraphicsScene::items(QGraphicsScene* theWrappedObject, const QPolygonF& polygon, Qt::ItemSelectionMode mode) const +{ + return ( theWrappedObject->items(polygon, mode)); +} + +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)); +} + +QList PythonQtWrapper_QGraphicsScene::items(QGraphicsScene* theWrappedObject, const QRectF& rect, Qt::ItemSelectionMode mode) const +{ + return ( theWrappedObject->items(rect, mode)); +} + +QList PythonQtWrapper_QGraphicsScene::items(QGraphicsScene* theWrappedObject, const QRectF& rect, Qt::ItemSelectionMode mode, Qt::SortOrder order, const QTransform& deviceTransform) const +{ + return ( theWrappedObject->items(rect, mode, order, deviceTransform)); +} + +QList PythonQtWrapper_QGraphicsScene::items(QGraphicsScene* theWrappedObject, qreal x, qreal y, qreal w, qreal h, Qt::ItemSelectionMode mode) const +{ + return ( theWrappedObject->items(x, y, w, h, mode)); +} + +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)); +} + +QRectF PythonQtWrapper_QGraphicsScene::itemsBoundingRect(QGraphicsScene* theWrappedObject) const +{ + return ( theWrappedObject->itemsBoundingRect()); +} + +void PythonQtWrapper_QGraphicsScene::keyPressEvent(QGraphicsScene* theWrappedObject, QKeyEvent* event) +{ + ( ((PythonQtPublicPromoter_QGraphicsScene*)theWrappedObject)->promoted_keyPressEvent(event)); +} + +void PythonQtWrapper_QGraphicsScene::keyReleaseEvent(QGraphicsScene* theWrappedObject, QKeyEvent* event) +{ + ( ((PythonQtPublicPromoter_QGraphicsScene*)theWrappedObject)->promoted_keyReleaseEvent(event)); +} + +void PythonQtWrapper_QGraphicsScene::mouseDoubleClickEvent(QGraphicsScene* theWrappedObject, QGraphicsSceneMouseEvent* event) +{ + ( ((PythonQtPublicPromoter_QGraphicsScene*)theWrappedObject)->promoted_mouseDoubleClickEvent(event)); +} + +QGraphicsItem* PythonQtWrapper_QGraphicsScene::mouseGrabberItem(QGraphicsScene* theWrappedObject) const +{ + return ( theWrappedObject->mouseGrabberItem()); +} + +void PythonQtWrapper_QGraphicsScene::mouseMoveEvent(QGraphicsScene* theWrappedObject, QGraphicsSceneMouseEvent* event) +{ + ( ((PythonQtPublicPromoter_QGraphicsScene*)theWrappedObject)->promoted_mouseMoveEvent(event)); +} + +void PythonQtWrapper_QGraphicsScene::mousePressEvent(QGraphicsScene* theWrappedObject, QGraphicsSceneMouseEvent* event) +{ + ( ((PythonQtPublicPromoter_QGraphicsScene*)theWrappedObject)->promoted_mousePressEvent(event)); +} + +void PythonQtWrapper_QGraphicsScene::mouseReleaseEvent(QGraphicsScene* theWrappedObject, QGraphicsSceneMouseEvent* event) +{ + ( ((PythonQtPublicPromoter_QGraphicsScene*)theWrappedObject)->promoted_mouseReleaseEvent(event)); +} + +QPalette PythonQtWrapper_QGraphicsScene::palette(QGraphicsScene* theWrappedObject) const +{ + return ( theWrappedObject->palette()); +} + +void PythonQtWrapper_QGraphicsScene::removeItem(QGraphicsScene* theWrappedObject, QGraphicsItem* item) +{ + ( theWrappedObject->removeItem(item)); +} + +void PythonQtWrapper_QGraphicsScene::render(QGraphicsScene* theWrappedObject, QPainter* painter, const QRectF& target, const QRectF& source, Qt::AspectRatioMode aspectRatioMode) +{ + ( theWrappedObject->render(painter, target, source, aspectRatioMode)); +} + +QRectF PythonQtWrapper_QGraphicsScene::sceneRect(QGraphicsScene* theWrappedObject) const +{ + return ( theWrappedObject->sceneRect()); +} + +QList PythonQtWrapper_QGraphicsScene::selectedItems(QGraphicsScene* theWrappedObject) const +{ + return ( theWrappedObject->selectedItems()); +} + +QPainterPath PythonQtWrapper_QGraphicsScene::selectionArea(QGraphicsScene* theWrappedObject) const +{ + return ( theWrappedObject->selectionArea()); +} + +bool PythonQtWrapper_QGraphicsScene::sendEvent(QGraphicsScene* theWrappedObject, QGraphicsItem* item, QEvent* event) +{ + return ( theWrappedObject->sendEvent(item, event)); +} + +void PythonQtWrapper_QGraphicsScene::setActivePanel(QGraphicsScene* theWrappedObject, QGraphicsItem* item) +{ + ( theWrappedObject->setActivePanel(item)); +} + +void PythonQtWrapper_QGraphicsScene::setActiveWindow(QGraphicsScene* theWrappedObject, QGraphicsWidget* widget) +{ + ( theWrappedObject->setActiveWindow(widget)); +} + +void PythonQtWrapper_QGraphicsScene::setBackgroundBrush(QGraphicsScene* theWrappedObject, const QBrush& brush) +{ + ( theWrappedObject->setBackgroundBrush(brush)); +} + +void PythonQtWrapper_QGraphicsScene::setBspTreeDepth(QGraphicsScene* theWrappedObject, int depth) +{ + ( theWrappedObject->setBspTreeDepth(depth)); +} + +void PythonQtWrapper_QGraphicsScene::setFocus(QGraphicsScene* theWrappedObject, Qt::FocusReason focusReason) +{ + ( theWrappedObject->setFocus(focusReason)); +} + +void PythonQtWrapper_QGraphicsScene::setFocusItem(QGraphicsScene* theWrappedObject, QGraphicsItem* item, Qt::FocusReason focusReason) +{ + ( theWrappedObject->setFocusItem(item, focusReason)); +} + +void PythonQtWrapper_QGraphicsScene::setFont(QGraphicsScene* theWrappedObject, const QFont& font) +{ + ( theWrappedObject->setFont(font)); +} + +void PythonQtWrapper_QGraphicsScene::setForegroundBrush(QGraphicsScene* theWrappedObject, const QBrush& brush) +{ + ( theWrappedObject->setForegroundBrush(brush)); +} + +void PythonQtWrapper_QGraphicsScene::setItemIndexMethod(QGraphicsScene* theWrappedObject, QGraphicsScene::ItemIndexMethod method) +{ + ( theWrappedObject->setItemIndexMethod(method)); +} + +void PythonQtWrapper_QGraphicsScene::setPalette(QGraphicsScene* theWrappedObject, const QPalette& palette) +{ + ( theWrappedObject->setPalette(palette)); +} + +void PythonQtWrapper_QGraphicsScene::setSceneRect(QGraphicsScene* theWrappedObject, const QRectF& rect) +{ + ( theWrappedObject->setSceneRect(rect)); +} + +void PythonQtWrapper_QGraphicsScene::setSceneRect(QGraphicsScene* theWrappedObject, qreal x, qreal y, qreal w, qreal h) +{ + ( theWrappedObject->setSceneRect(x, y, w, h)); +} + +void PythonQtWrapper_QGraphicsScene::setSelectionArea(QGraphicsScene* theWrappedObject, const QPainterPath& path) +{ + ( theWrappedObject->setSelectionArea(path)); +} + +void PythonQtWrapper_QGraphicsScene::setSelectionArea(QGraphicsScene* theWrappedObject, const QPainterPath& path, Qt::ItemSelectionMode mode) +{ + ( theWrappedObject->setSelectionArea(path, mode)); +} + +void PythonQtWrapper_QGraphicsScene::setSelectionArea(QGraphicsScene* theWrappedObject, const QPainterPath& path, Qt::ItemSelectionMode mode, const QTransform& deviceTransform) +{ + ( theWrappedObject->setSelectionArea(path, mode, deviceTransform)); +} + +void PythonQtWrapper_QGraphicsScene::setSelectionArea(QGraphicsScene* theWrappedObject, const QPainterPath& path, const QTransform& deviceTransform) +{ + ( theWrappedObject->setSelectionArea(path, deviceTransform)); +} + +void PythonQtWrapper_QGraphicsScene::setSortCacheEnabled(QGraphicsScene* theWrappedObject, bool enabled) +{ + ( theWrappedObject->setSortCacheEnabled(enabled)); +} + +void PythonQtWrapper_QGraphicsScene::setStickyFocus(QGraphicsScene* theWrappedObject, bool enabled) +{ + ( theWrappedObject->setStickyFocus(enabled)); +} + +void PythonQtWrapper_QGraphicsScene::setStyle(QGraphicsScene* theWrappedObject, QStyle* style) +{ + ( theWrappedObject->setStyle(style)); +} + +bool PythonQtWrapper_QGraphicsScene::stickyFocus(QGraphicsScene* theWrappedObject) const +{ + return ( theWrappedObject->stickyFocus()); +} + +QStyle* PythonQtWrapper_QGraphicsScene::style(QGraphicsScene* theWrappedObject) const +{ + return ( theWrappedObject->style()); +} + +void PythonQtWrapper_QGraphicsScene::update(QGraphicsScene* theWrappedObject, qreal x, qreal y, qreal w, qreal h) +{ + ( theWrappedObject->update(x, y, w, h)); +} + +QList PythonQtWrapper_QGraphicsScene::views(QGraphicsScene* theWrappedObject) const +{ + return ( theWrappedObject->views()); +} + +void PythonQtWrapper_QGraphicsScene::wheelEvent(QGraphicsScene* theWrappedObject, QGraphicsSceneWheelEvent* event) +{ + ( ((PythonQtPublicPromoter_QGraphicsScene*)theWrappedObject)->promoted_wheelEvent(event)); +} + +qreal PythonQtWrapper_QGraphicsScene::width(QGraphicsScene* theWrappedObject) const +{ + return ( theWrappedObject->width()); +} + + + +QGraphicsSceneContextMenuEvent* PythonQtWrapper_QGraphicsSceneContextMenuEvent::new_QGraphicsSceneContextMenuEvent(QEvent::Type type) +{ +return new QGraphicsSceneContextMenuEvent(type); } + +Qt::KeyboardModifiers PythonQtWrapper_QGraphicsSceneContextMenuEvent::modifiers(QGraphicsSceneContextMenuEvent* theWrappedObject) const +{ + return ( theWrappedObject->modifiers()); +} + +QPointF PythonQtWrapper_QGraphicsSceneContextMenuEvent::pos(QGraphicsSceneContextMenuEvent* theWrappedObject) const +{ + return ( theWrappedObject->pos()); +} + +QGraphicsSceneContextMenuEvent::Reason PythonQtWrapper_QGraphicsSceneContextMenuEvent::reason(QGraphicsSceneContextMenuEvent* theWrappedObject) const +{ + return ( theWrappedObject->reason()); +} + +QPointF PythonQtWrapper_QGraphicsSceneContextMenuEvent::scenePos(QGraphicsSceneContextMenuEvent* theWrappedObject) const +{ + return ( theWrappedObject->scenePos()); +} + +QPoint PythonQtWrapper_QGraphicsSceneContextMenuEvent::screenPos(QGraphicsSceneContextMenuEvent* theWrappedObject) const +{ + return ( theWrappedObject->screenPos()); +} + +void PythonQtWrapper_QGraphicsSceneContextMenuEvent::setModifiers(QGraphicsSceneContextMenuEvent* theWrappedObject, Qt::KeyboardModifiers modifiers) +{ + ( theWrappedObject->setModifiers(modifiers)); +} + +void PythonQtWrapper_QGraphicsSceneContextMenuEvent::setPos(QGraphicsSceneContextMenuEvent* theWrappedObject, const QPointF& pos) +{ + ( theWrappedObject->setPos(pos)); +} + +void PythonQtWrapper_QGraphicsSceneContextMenuEvent::setReason(QGraphicsSceneContextMenuEvent* theWrappedObject, QGraphicsSceneContextMenuEvent::Reason reason) +{ + ( theWrappedObject->setReason(reason)); +} + +void PythonQtWrapper_QGraphicsSceneContextMenuEvent::setScenePos(QGraphicsSceneContextMenuEvent* theWrappedObject, const QPointF& pos) +{ + ( theWrappedObject->setScenePos(pos)); +} + +void PythonQtWrapper_QGraphicsSceneContextMenuEvent::setScreenPos(QGraphicsSceneContextMenuEvent* theWrappedObject, const QPoint& pos) +{ + ( theWrappedObject->setScreenPos(pos)); +} + + + +QGraphicsSceneDragDropEvent* PythonQtWrapper_QGraphicsSceneDragDropEvent::new_QGraphicsSceneDragDropEvent(QEvent::Type type) +{ +return new QGraphicsSceneDragDropEvent(type); } + +void PythonQtWrapper_QGraphicsSceneDragDropEvent::acceptProposedAction(QGraphicsSceneDragDropEvent* theWrappedObject) +{ + ( theWrappedObject->acceptProposedAction()); +} + +Qt::MouseButtons PythonQtWrapper_QGraphicsSceneDragDropEvent::buttons(QGraphicsSceneDragDropEvent* theWrappedObject) const +{ + return ( theWrappedObject->buttons()); +} + +Qt::DropAction PythonQtWrapper_QGraphicsSceneDragDropEvent::dropAction(QGraphicsSceneDragDropEvent* theWrappedObject) const +{ + return ( theWrappedObject->dropAction()); +} + +const QMimeData* PythonQtWrapper_QGraphicsSceneDragDropEvent::mimeData(QGraphicsSceneDragDropEvent* theWrappedObject) const +{ + return ( theWrappedObject->mimeData()); +} + +Qt::KeyboardModifiers PythonQtWrapper_QGraphicsSceneDragDropEvent::modifiers(QGraphicsSceneDragDropEvent* theWrappedObject) const +{ + return ( theWrappedObject->modifiers()); +} + +QPointF PythonQtWrapper_QGraphicsSceneDragDropEvent::pos(QGraphicsSceneDragDropEvent* theWrappedObject) const +{ + return ( theWrappedObject->pos()); +} + +Qt::DropActions PythonQtWrapper_QGraphicsSceneDragDropEvent::possibleActions(QGraphicsSceneDragDropEvent* theWrappedObject) const +{ + return ( theWrappedObject->possibleActions()); +} + +Qt::DropAction PythonQtWrapper_QGraphicsSceneDragDropEvent::proposedAction(QGraphicsSceneDragDropEvent* theWrappedObject) const +{ + return ( theWrappedObject->proposedAction()); +} + +QPointF PythonQtWrapper_QGraphicsSceneDragDropEvent::scenePos(QGraphicsSceneDragDropEvent* theWrappedObject) const +{ + return ( theWrappedObject->scenePos()); +} + +QPoint PythonQtWrapper_QGraphicsSceneDragDropEvent::screenPos(QGraphicsSceneDragDropEvent* theWrappedObject) const +{ + return ( theWrappedObject->screenPos()); +} + +void PythonQtWrapper_QGraphicsSceneDragDropEvent::setButtons(QGraphicsSceneDragDropEvent* theWrappedObject, Qt::MouseButtons buttons) +{ + ( theWrappedObject->setButtons(buttons)); +} + +void PythonQtWrapper_QGraphicsSceneDragDropEvent::setDropAction(QGraphicsSceneDragDropEvent* theWrappedObject, Qt::DropAction action) +{ + ( theWrappedObject->setDropAction(action)); +} + +void PythonQtWrapper_QGraphicsSceneDragDropEvent::setModifiers(QGraphicsSceneDragDropEvent* theWrappedObject, Qt::KeyboardModifiers modifiers) +{ + ( 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)); +} + +void PythonQtWrapper_QGraphicsSceneDragDropEvent::setScenePos(QGraphicsSceneDragDropEvent* theWrappedObject, const QPointF& pos) +{ + ( theWrappedObject->setScenePos(pos)); +} + +void PythonQtWrapper_QGraphicsSceneDragDropEvent::setScreenPos(QGraphicsSceneDragDropEvent* theWrappedObject, const QPoint& pos) +{ + ( theWrappedObject->setScreenPos(pos)); +} + +QWidget* PythonQtWrapper_QGraphicsSceneDragDropEvent::source(QGraphicsSceneDragDropEvent* theWrappedObject) const +{ + return ( theWrappedObject->source()); +} + + + +QGraphicsSceneEvent* PythonQtWrapper_QGraphicsSceneEvent::new_QGraphicsSceneEvent(QEvent::Type type) +{ +return new QGraphicsSceneEvent(type); } + +QWidget* PythonQtWrapper_QGraphicsSceneEvent::widget(QGraphicsSceneEvent* theWrappedObject) const +{ + return ( theWrappedObject->widget()); +} + + + +QGraphicsSceneHelpEvent* PythonQtWrapper_QGraphicsSceneHelpEvent::new_QGraphicsSceneHelpEvent(QEvent::Type type) +{ +return new QGraphicsSceneHelpEvent(type); } + +QPointF PythonQtWrapper_QGraphicsSceneHelpEvent::scenePos(QGraphicsSceneHelpEvent* theWrappedObject) const +{ + return ( theWrappedObject->scenePos()); +} + +QPoint PythonQtWrapper_QGraphicsSceneHelpEvent::screenPos(QGraphicsSceneHelpEvent* theWrappedObject) const +{ + return ( theWrappedObject->screenPos()); +} + +void PythonQtWrapper_QGraphicsSceneHelpEvent::setScenePos(QGraphicsSceneHelpEvent* theWrappedObject, const QPointF& pos) +{ + ( theWrappedObject->setScenePos(pos)); +} + +void PythonQtWrapper_QGraphicsSceneHelpEvent::setScreenPos(QGraphicsSceneHelpEvent* theWrappedObject, const QPoint& pos) +{ + ( theWrappedObject->setScreenPos(pos)); +} + + + +QGraphicsSceneHoverEvent* PythonQtWrapper_QGraphicsSceneHoverEvent::new_QGraphicsSceneHoverEvent(QEvent::Type type) +{ +return new QGraphicsSceneHoverEvent(type); } + +QPointF PythonQtWrapper_QGraphicsSceneHoverEvent::lastPos(QGraphicsSceneHoverEvent* theWrappedObject) const +{ + return ( theWrappedObject->lastPos()); +} + +QPointF PythonQtWrapper_QGraphicsSceneHoverEvent::lastScenePos(QGraphicsSceneHoverEvent* theWrappedObject) const +{ + return ( theWrappedObject->lastScenePos()); +} + +QPoint PythonQtWrapper_QGraphicsSceneHoverEvent::lastScreenPos(QGraphicsSceneHoverEvent* theWrappedObject) const +{ + return ( theWrappedObject->lastScreenPos()); +} + +Qt::KeyboardModifiers PythonQtWrapper_QGraphicsSceneHoverEvent::modifiers(QGraphicsSceneHoverEvent* theWrappedObject) const +{ + return ( theWrappedObject->modifiers()); +} + +QPointF PythonQtWrapper_QGraphicsSceneHoverEvent::pos(QGraphicsSceneHoverEvent* theWrappedObject) const +{ + return ( theWrappedObject->pos()); +} + +QPointF PythonQtWrapper_QGraphicsSceneHoverEvent::scenePos(QGraphicsSceneHoverEvent* theWrappedObject) const +{ + return ( theWrappedObject->scenePos()); +} + +QPoint PythonQtWrapper_QGraphicsSceneHoverEvent::screenPos(QGraphicsSceneHoverEvent* theWrappedObject) const +{ + return ( theWrappedObject->screenPos()); +} + +void PythonQtWrapper_QGraphicsSceneHoverEvent::setLastPos(QGraphicsSceneHoverEvent* theWrappedObject, const QPointF& pos) +{ + ( theWrappedObject->setLastPos(pos)); +} + +void PythonQtWrapper_QGraphicsSceneHoverEvent::setLastScenePos(QGraphicsSceneHoverEvent* theWrappedObject, const QPointF& pos) +{ + ( theWrappedObject->setLastScenePos(pos)); +} + +void PythonQtWrapper_QGraphicsSceneHoverEvent::setLastScreenPos(QGraphicsSceneHoverEvent* theWrappedObject, const QPoint& pos) +{ + ( theWrappedObject->setLastScreenPos(pos)); +} + +void PythonQtWrapper_QGraphicsSceneHoverEvent::setModifiers(QGraphicsSceneHoverEvent* theWrappedObject, Qt::KeyboardModifiers modifiers) +{ + ( theWrappedObject->setModifiers(modifiers)); +} + +void PythonQtWrapper_QGraphicsSceneHoverEvent::setPos(QGraphicsSceneHoverEvent* theWrappedObject, const QPointF& pos) +{ + ( theWrappedObject->setPos(pos)); +} + +void PythonQtWrapper_QGraphicsSceneHoverEvent::setScenePos(QGraphicsSceneHoverEvent* theWrappedObject, const QPointF& pos) +{ + ( theWrappedObject->setScenePos(pos)); +} + +void PythonQtWrapper_QGraphicsSceneHoverEvent::setScreenPos(QGraphicsSceneHoverEvent* theWrappedObject, const QPoint& pos) +{ + ( theWrappedObject->setScreenPos(pos)); +} + + + +QGraphicsSceneMouseEvent* PythonQtWrapper_QGraphicsSceneMouseEvent::new_QGraphicsSceneMouseEvent(QEvent::Type type) +{ +return new QGraphicsSceneMouseEvent(type); } + +Qt::MouseButton PythonQtWrapper_QGraphicsSceneMouseEvent::button(QGraphicsSceneMouseEvent* theWrappedObject) const +{ + return ( theWrappedObject->button()); +} + +QPointF PythonQtWrapper_QGraphicsSceneMouseEvent::buttonDownPos(QGraphicsSceneMouseEvent* theWrappedObject, Qt::MouseButton button) const +{ + return ( theWrappedObject->buttonDownPos(button)); +} + +QPointF PythonQtWrapper_QGraphicsSceneMouseEvent::buttonDownScenePos(QGraphicsSceneMouseEvent* theWrappedObject, Qt::MouseButton button) const +{ + return ( theWrappedObject->buttonDownScenePos(button)); +} + +QPoint PythonQtWrapper_QGraphicsSceneMouseEvent::buttonDownScreenPos(QGraphicsSceneMouseEvent* theWrappedObject, Qt::MouseButton button) const +{ + return ( theWrappedObject->buttonDownScreenPos(button)); +} + +Qt::MouseButtons PythonQtWrapper_QGraphicsSceneMouseEvent::buttons(QGraphicsSceneMouseEvent* theWrappedObject) const +{ + return ( theWrappedObject->buttons()); +} + +QPointF PythonQtWrapper_QGraphicsSceneMouseEvent::lastPos(QGraphicsSceneMouseEvent* theWrappedObject) const +{ + return ( theWrappedObject->lastPos()); +} + +QPointF PythonQtWrapper_QGraphicsSceneMouseEvent::lastScenePos(QGraphicsSceneMouseEvent* theWrappedObject) const +{ + return ( theWrappedObject->lastScenePos()); +} + +QPoint PythonQtWrapper_QGraphicsSceneMouseEvent::lastScreenPos(QGraphicsSceneMouseEvent* theWrappedObject) const +{ + return ( theWrappedObject->lastScreenPos()); +} + +Qt::KeyboardModifiers PythonQtWrapper_QGraphicsSceneMouseEvent::modifiers(QGraphicsSceneMouseEvent* theWrappedObject) const +{ + return ( theWrappedObject->modifiers()); +} + +QPointF PythonQtWrapper_QGraphicsSceneMouseEvent::pos(QGraphicsSceneMouseEvent* theWrappedObject) const +{ + return ( theWrappedObject->pos()); +} + +QPointF PythonQtWrapper_QGraphicsSceneMouseEvent::scenePos(QGraphicsSceneMouseEvent* theWrappedObject) const +{ + return ( theWrappedObject->scenePos()); +} + +QPoint PythonQtWrapper_QGraphicsSceneMouseEvent::screenPos(QGraphicsSceneMouseEvent* theWrappedObject) const +{ + return ( theWrappedObject->screenPos()); +} + +void PythonQtWrapper_QGraphicsSceneMouseEvent::setButton(QGraphicsSceneMouseEvent* theWrappedObject, Qt::MouseButton button) +{ + ( theWrappedObject->setButton(button)); +} + +void PythonQtWrapper_QGraphicsSceneMouseEvent::setButtonDownPos(QGraphicsSceneMouseEvent* theWrappedObject, Qt::MouseButton button, const QPointF& pos) +{ + ( theWrappedObject->setButtonDownPos(button, pos)); +} + +void PythonQtWrapper_QGraphicsSceneMouseEvent::setButtonDownScenePos(QGraphicsSceneMouseEvent* theWrappedObject, Qt::MouseButton button, const QPointF& pos) +{ + ( theWrappedObject->setButtonDownScenePos(button, pos)); +} + +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::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)); +} + + + +QGraphicsSceneMoveEvent* PythonQtWrapper_QGraphicsSceneMoveEvent::new_QGraphicsSceneMoveEvent() +{ +return new QGraphicsSceneMoveEvent(); } + +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)); +} + + + +QGraphicsSceneResizeEvent* PythonQtWrapper_QGraphicsSceneResizeEvent::new_QGraphicsSceneResizeEvent() +{ +return new QGraphicsSceneResizeEvent(); } + +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)); +} + + + +QGraphicsSceneWheelEvent* PythonQtWrapper_QGraphicsSceneWheelEvent::new_QGraphicsSceneWheelEvent(QEvent::Type type) +{ +return new QGraphicsSceneWheelEvent(type); } + +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)); +} + + + +bool PythonQtShell_QGraphicsSimpleTextItem::isObscuredBy(const QGraphicsItem* item) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "isObscuredBy"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "const QGraphicsItem*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue; + void* args[2] = {NULL, (void*)&item}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("isObscuredBy", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QGraphicsSimpleTextItem::isObscuredBy(item); +} +QPainterPath PythonQtShell_QGraphicsSimpleTextItem::opaqueArea() const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "opaqueArea"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QPainterPath"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QPainterPath returnValue; + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("opaqueArea", methodInfo, result); + } else { + returnValue = *((QPainterPath*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QGraphicsSimpleTextItem::opaqueArea(); +} +QGraphicsSimpleTextItem* PythonQtWrapper_QGraphicsSimpleTextItem::new_QGraphicsSimpleTextItem(QGraphicsItem* parent, QGraphicsScene* scene) +{ +return new PythonQtShell_QGraphicsSimpleTextItem(parent, scene); } + +QGraphicsSimpleTextItem* PythonQtWrapper_QGraphicsSimpleTextItem::new_QGraphicsSimpleTextItem(const QString& text, QGraphicsItem* parent, QGraphicsScene* scene) +{ +return new PythonQtShell_QGraphicsSimpleTextItem(text, parent, scene); } + +QRectF PythonQtWrapper_QGraphicsSimpleTextItem::boundingRect(QGraphicsSimpleTextItem* theWrappedObject) const +{ + return ( theWrappedObject->boundingRect()); +} + +bool PythonQtWrapper_QGraphicsSimpleTextItem::contains(QGraphicsSimpleTextItem* theWrappedObject, const QPointF& point) const +{ + return ( theWrappedObject->contains(point)); +} + +QFont PythonQtWrapper_QGraphicsSimpleTextItem::font(QGraphicsSimpleTextItem* theWrappedObject) const +{ + return ( theWrappedObject->font()); +} + +bool PythonQtWrapper_QGraphicsSimpleTextItem::isObscuredBy(QGraphicsSimpleTextItem* theWrappedObject, const QGraphicsItem* item) const +{ + return ( ((PythonQtPublicPromoter_QGraphicsSimpleTextItem*)theWrappedObject)->promoted_isObscuredBy(item)); +} + +QPainterPath PythonQtWrapper_QGraphicsSimpleTextItem::opaqueArea(QGraphicsSimpleTextItem* theWrappedObject) const +{ + return ( ((PythonQtPublicPromoter_QGraphicsSimpleTextItem*)theWrappedObject)->promoted_opaqueArea()); +} + +void PythonQtWrapper_QGraphicsSimpleTextItem::paint(QGraphicsSimpleTextItem* theWrappedObject, QPainter* painter, const QStyleOptionGraphicsItem* option, QWidget* widget) +{ + ( theWrappedObject->paint(painter, option, widget)); +} + +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()); +} + +QString PythonQtWrapper_QGraphicsSimpleTextItem::text(QGraphicsSimpleTextItem* theWrappedObject) const +{ + return ( theWrappedObject->text()); +} + +int PythonQtWrapper_QGraphicsSimpleTextItem::type(QGraphicsSimpleTextItem* theWrappedObject) const +{ + return ( theWrappedObject->type()); +} + + + +void PythonQtShell_QGraphicsTextItem::childEvent(QChildEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "childEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QChildEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QGraphicsTextItem::childEvent(arg__1); +} +void PythonQtShell_QGraphicsTextItem::customEvent(QEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "customEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QGraphicsTextItem::customEvent(arg__1); +} +bool PythonQtShell_QGraphicsTextItem::event(QEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "event"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue; + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QGraphicsTextItem::event(arg__1); +} +bool PythonQtShell_QGraphicsTextItem::eventFilter(QObject* arg__1, QEvent* arg__2) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "eventFilter"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue; + void* args[3] = {NULL, (void*)&arg__1, (void*)&arg__2}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QGraphicsTextItem::eventFilter(arg__1, arg__2); +} +void PythonQtShell_QGraphicsTextItem::timerEvent(QTimerEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "timerEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QTimerEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QGraphicsTextItem::timerEvent(arg__1); +} +QGraphicsTextItem* PythonQtWrapper_QGraphicsTextItem::new_QGraphicsTextItem(QGraphicsItem* parent, QGraphicsScene* scene) +{ +return new PythonQtShell_QGraphicsTextItem(parent, scene); } + +QGraphicsTextItem* PythonQtWrapper_QGraphicsTextItem::new_QGraphicsTextItem(const QString& text, QGraphicsItem* parent, QGraphicsScene* scene) +{ +return new PythonQtShell_QGraphicsTextItem(text, parent, scene); } + +void PythonQtWrapper_QGraphicsTextItem::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)); +} + +QColor PythonQtWrapper_QGraphicsTextItem::defaultTextColor(QGraphicsTextItem* theWrappedObject) const +{ + return ( theWrappedObject->defaultTextColor()); +} + +QTextDocument* PythonQtWrapper_QGraphicsTextItem::document(QGraphicsTextItem* theWrappedObject) const +{ + return ( theWrappedObject->document()); +} + +QFont PythonQtWrapper_QGraphicsTextItem::font(QGraphicsTextItem* theWrappedObject) const +{ + return ( theWrappedObject->font()); +} + +bool PythonQtWrapper_QGraphicsTextItem::isObscuredBy(QGraphicsTextItem* theWrappedObject, const QGraphicsItem* item) const +{ + return ( theWrappedObject->isObscuredBy(item)); +} + +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)); +} + +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::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::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()); +} + + + +void PythonQtShell_QGraphicsTransform::applyTo(QMatrix4x4* matrix) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "applyTo"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QMatrix4x4*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&matrix}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + +} +void PythonQtShell_QGraphicsTransform::childEvent(QChildEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "childEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QChildEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QGraphicsTransform::childEvent(arg__1); +} +void PythonQtShell_QGraphicsTransform::customEvent(QEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "customEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QGraphicsTransform::customEvent(arg__1); +} +bool PythonQtShell_QGraphicsTransform::event(QEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "event"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue; + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QGraphicsTransform::event(arg__1); +} +bool PythonQtShell_QGraphicsTransform::eventFilter(QObject* arg__1, QEvent* arg__2) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "eventFilter"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue; + void* args[3] = {NULL, (void*)&arg__1, (void*)&arg__2}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QGraphicsTransform::eventFilter(arg__1, arg__2); +} +void PythonQtShell_QGraphicsTransform::timerEvent(QTimerEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "timerEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QTimerEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QGraphicsTransform::timerEvent(arg__1); +} +QGraphicsTransform* PythonQtWrapper_QGraphicsTransform::new_QGraphicsTransform(QObject* parent) +{ +return new PythonQtShell_QGraphicsTransform(parent); } + + + +void PythonQtShell_QGraphicsView::actionEvent(QActionEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "actionEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QActionEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QGraphicsView::actionEvent(arg__1); +} +void PythonQtShell_QGraphicsView::changeEvent(QEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "changeEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QGraphicsView::changeEvent(arg__1); +} +void PythonQtShell_QGraphicsView::childEvent(QChildEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "childEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QChildEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QGraphicsView::childEvent(arg__1); +} +void PythonQtShell_QGraphicsView::closeEvent(QCloseEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "closeEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QCloseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QGraphicsView::closeEvent(arg__1); +} +void PythonQtShell_QGraphicsView::contextMenuEvent(QContextMenuEvent* event) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "contextMenuEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QContextMenuEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&event}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QGraphicsView::contextMenuEvent(event); +} +void PythonQtShell_QGraphicsView::customEvent(QEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "customEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QGraphicsView::customEvent(arg__1); +} +int PythonQtShell_QGraphicsView::devType() const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "devType"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + int returnValue; + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("devType", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QGraphicsView::devType(); +} +void PythonQtShell_QGraphicsView::dragEnterEvent(QDragEnterEvent* event) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dragEnterEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QDragEnterEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&event}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QGraphicsView::dragEnterEvent(event); +} +void PythonQtShell_QGraphicsView::dragLeaveEvent(QDragLeaveEvent* event) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dragLeaveEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QDragLeaveEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&event}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QGraphicsView::dragLeaveEvent(event); +} +void PythonQtShell_QGraphicsView::dragMoveEvent(QDragMoveEvent* event) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dragMoveEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QDragMoveEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&event}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QGraphicsView::dragMoveEvent(event); +} +void PythonQtShell_QGraphicsView::drawBackground(QPainter* painter, const QRectF& rect) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "drawBackground"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QPainter*" , "const QRectF&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + void* args[3] = {NULL, (void*)&painter, (void*)&rect}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QGraphicsView::drawBackground(painter, rect); +} +void PythonQtShell_QGraphicsView::drawForeground(QPainter* painter, const QRectF& rect) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "drawForeground"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QPainter*" , "const QRectF&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + void* args[3] = {NULL, (void*)&painter, (void*)&rect}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QGraphicsView::drawForeground(painter, rect); +} +void PythonQtShell_QGraphicsView::drawItems(QPainter* painter, int numItems, QGraphicsItem** items, const QStyleOptionGraphicsItem* options) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "drawItems"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QPainter*" , "int" , "QGraphicsItem**" , "const QStyleOptionGraphicsItem*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(5, argumentList); + void* args[5] = {NULL, (void*)&painter, (void*)&numItems, (void*)&items, (void*)&options}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QGraphicsView::drawItems(painter, numItems, items, options); +} +void PythonQtShell_QGraphicsView::dropEvent(QDropEvent* event) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dropEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QDropEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&event}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QGraphicsView::dropEvent(event); +} +void PythonQtShell_QGraphicsView::enterEvent(QEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "enterEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QGraphicsView::enterEvent(arg__1); +} +bool PythonQtShell_QGraphicsView::event(QEvent* event) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "event"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue; + void* args[2] = {NULL, (void*)&event}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QGraphicsView::event(event); +} +bool PythonQtShell_QGraphicsView::eventFilter(QObject* arg__1, QEvent* arg__2) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "eventFilter"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue; + void* args[3] = {NULL, (void*)&arg__1, (void*)&arg__2}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QGraphicsView::eventFilter(arg__1, arg__2); +} +void PythonQtShell_QGraphicsView::focusInEvent(QFocusEvent* event) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "focusInEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QFocusEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&event}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QGraphicsView::focusInEvent(event); +} +bool PythonQtShell_QGraphicsView::focusNextPrevChild(bool next) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "focusNextPrevChild"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue; + void* args[2] = {NULL, (void*)&next}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("focusNextPrevChild", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QGraphicsView::focusNextPrevChild(next); +} +void PythonQtShell_QGraphicsView::focusOutEvent(QFocusEvent* event) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "focusOutEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QFocusEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&event}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QGraphicsView::focusOutEvent(event); +} +int PythonQtShell_QGraphicsView::heightForWidth(int arg__1) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "heightForWidth"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"int" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + int returnValue; + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("heightForWidth", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QGraphicsView::heightForWidth(arg__1); +} +void PythonQtShell_QGraphicsView::hideEvent(QHideEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "hideEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QHideEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QGraphicsView::hideEvent(arg__1); +} +void PythonQtShell_QGraphicsView::inputMethodEvent(QInputMethodEvent* event) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "inputMethodEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QInputMethodEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&event}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QGraphicsView::inputMethodEvent(event); +} +QVariant PythonQtShell_QGraphicsView::inputMethodQuery(Qt::InputMethodQuery query) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "inputMethodQuery"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QVariant" , "Qt::InputMethodQuery"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + QVariant returnValue; + void* args[2] = {NULL, (void*)&query}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result); + } else { + returnValue = *((QVariant*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QGraphicsView::inputMethodQuery(query); +} +void PythonQtShell_QGraphicsView::keyPressEvent(QKeyEvent* event) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "keyPressEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QKeyEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&event}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QGraphicsView::keyPressEvent(event); +} +void PythonQtShell_QGraphicsView::keyReleaseEvent(QKeyEvent* event) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "keyReleaseEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QKeyEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&event}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QGraphicsView::keyReleaseEvent(event); +} +void PythonQtShell_QGraphicsView::languageChange() +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "languageChange"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={""}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QGraphicsView::languageChange(); +} +void PythonQtShell_QGraphicsView::leaveEvent(QEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "leaveEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QGraphicsView::leaveEvent(arg__1); +} +int PythonQtShell_QGraphicsView::metric(QPaintDevice::PaintDeviceMetric arg__1) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "metric"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + int returnValue; + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("metric", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QGraphicsView::metric(arg__1); +} +void PythonQtShell_QGraphicsView::mouseDoubleClickEvent(QMouseEvent* event) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mouseDoubleClickEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&event}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QGraphicsView::mouseDoubleClickEvent(event); +} +void PythonQtShell_QGraphicsView::mouseMoveEvent(QMouseEvent* event) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mouseMoveEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&event}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QGraphicsView::mouseMoveEvent(event); +} +void PythonQtShell_QGraphicsView::mousePressEvent(QMouseEvent* event) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mousePressEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&event}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QGraphicsView::mousePressEvent(event); +} +void PythonQtShell_QGraphicsView::mouseReleaseEvent(QMouseEvent* event) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mouseReleaseEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&event}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QGraphicsView::mouseReleaseEvent(event); +} +void PythonQtShell_QGraphicsView::moveEvent(QMoveEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "moveEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QMoveEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QGraphicsView::moveEvent(arg__1); +} +QPaintEngine* PythonQtShell_QGraphicsView::paintEngine() const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "paintEngine"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QPaintEngine*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QPaintEngine* returnValue; + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); + } else { + returnValue = *((QPaintEngine**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QGraphicsView::paintEngine(); +} +void PythonQtShell_QGraphicsView::paintEvent(QPaintEvent* event) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "paintEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QPaintEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&event}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QGraphicsView::paintEvent(event); +} +void PythonQtShell_QGraphicsView::resizeEvent(QResizeEvent* event) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "resizeEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QResizeEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&event}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QGraphicsView::resizeEvent(event); +} +void PythonQtShell_QGraphicsView::scrollContentsBy(int dx, int dy) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "scrollContentsBy"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "int" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + void* args[3] = {NULL, (void*)&dx, (void*)&dy}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QGraphicsView::scrollContentsBy(dx, dy); +} +void PythonQtShell_QGraphicsView::showEvent(QShowEvent* event) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "showEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QShowEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&event}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QGraphicsView::showEvent(event); +} +void PythonQtShell_QGraphicsView::tabletEvent(QTabletEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "tabletEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QTabletEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QGraphicsView::tabletEvent(arg__1); +} +void PythonQtShell_QGraphicsView::timerEvent(QTimerEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "timerEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QTimerEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QGraphicsView::timerEvent(arg__1); +} +bool PythonQtShell_QGraphicsView::viewportEvent(QEvent* event) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "viewportEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue; + void* args[2] = {NULL, (void*)&event}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("viewportEvent", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QGraphicsView::viewportEvent(event); +} +void PythonQtShell_QGraphicsView::wheelEvent(QWheelEvent* event) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "wheelEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QWheelEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&event}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QGraphicsView::wheelEvent(event); +} +QGraphicsView* PythonQtWrapper_QGraphicsView::new_QGraphicsView(QGraphicsScene* scene, QWidget* parent) +{ +return new PythonQtShell_QGraphicsView(scene, parent); } + +QGraphicsView* PythonQtWrapper_QGraphicsView::new_QGraphicsView(QWidget* parent) +{ +return new PythonQtShell_QGraphicsView(parent); } + +Qt::Alignment PythonQtWrapper_QGraphicsView::alignment(QGraphicsView* theWrappedObject) const +{ + return ( theWrappedObject->alignment()); +} + +QBrush PythonQtWrapper_QGraphicsView::backgroundBrush(QGraphicsView* theWrappedObject) const +{ + return ( theWrappedObject->backgroundBrush()); +} + +QGraphicsView::CacheMode PythonQtWrapper_QGraphicsView::cacheMode(QGraphicsView* theWrappedObject) const +{ + return ( theWrappedObject->cacheMode()); +} + +void PythonQtWrapper_QGraphicsView::centerOn(QGraphicsView* theWrappedObject, const QGraphicsItem* item) +{ + ( theWrappedObject->centerOn(item)); +} + +void PythonQtWrapper_QGraphicsView::centerOn(QGraphicsView* theWrappedObject, const QPointF& pos) +{ + ( theWrappedObject->centerOn(pos)); +} + +void PythonQtWrapper_QGraphicsView::centerOn(QGraphicsView* theWrappedObject, qreal x, qreal y) +{ + ( theWrappedObject->centerOn(x, y)); +} + +void PythonQtWrapper_QGraphicsView::contextMenuEvent(QGraphicsView* theWrappedObject, QContextMenuEvent* event) +{ + ( ((PythonQtPublicPromoter_QGraphicsView*)theWrappedObject)->promoted_contextMenuEvent(event)); +} + +void PythonQtWrapper_QGraphicsView::dragEnterEvent(QGraphicsView* theWrappedObject, QDragEnterEvent* event) +{ + ( ((PythonQtPublicPromoter_QGraphicsView*)theWrappedObject)->promoted_dragEnterEvent(event)); +} + +void PythonQtWrapper_QGraphicsView::dragLeaveEvent(QGraphicsView* theWrappedObject, QDragLeaveEvent* event) +{ + ( ((PythonQtPublicPromoter_QGraphicsView*)theWrappedObject)->promoted_dragLeaveEvent(event)); +} + +QGraphicsView::DragMode PythonQtWrapper_QGraphicsView::dragMode(QGraphicsView* theWrappedObject) const +{ + return ( theWrappedObject->dragMode()); +} + +void PythonQtWrapper_QGraphicsView::dragMoveEvent(QGraphicsView* theWrappedObject, QDragMoveEvent* event) +{ + ( ((PythonQtPublicPromoter_QGraphicsView*)theWrappedObject)->promoted_dragMoveEvent(event)); +} + +void PythonQtWrapper_QGraphicsView::drawBackground(QGraphicsView* theWrappedObject, QPainter* painter, const QRectF& rect) +{ + ( ((PythonQtPublicPromoter_QGraphicsView*)theWrappedObject)->promoted_drawBackground(painter, rect)); +} + +void PythonQtWrapper_QGraphicsView::drawForeground(QGraphicsView* theWrappedObject, QPainter* painter, const QRectF& rect) +{ + ( ((PythonQtPublicPromoter_QGraphicsView*)theWrappedObject)->promoted_drawForeground(painter, rect)); +} + +void PythonQtWrapper_QGraphicsView::drawItems(QGraphicsView* theWrappedObject, QPainter* painter, int numItems, QGraphicsItem** items, const QStyleOptionGraphicsItem* options) +{ + ( ((PythonQtPublicPromoter_QGraphicsView*)theWrappedObject)->promoted_drawItems(painter, numItems, items, options)); +} + +void PythonQtWrapper_QGraphicsView::dropEvent(QGraphicsView* theWrappedObject, QDropEvent* event) +{ + ( ((PythonQtPublicPromoter_QGraphicsView*)theWrappedObject)->promoted_dropEvent(event)); +} + +void PythonQtWrapper_QGraphicsView::ensureVisible(QGraphicsView* theWrappedObject, const QGraphicsItem* item, int xmargin, int ymargin) +{ + ( theWrappedObject->ensureVisible(item, xmargin, ymargin)); +} + +void PythonQtWrapper_QGraphicsView::ensureVisible(QGraphicsView* theWrappedObject, const QRectF& rect, int xmargin, int ymargin) +{ + ( theWrappedObject->ensureVisible(rect, xmargin, ymargin)); +} + +void PythonQtWrapper_QGraphicsView::ensureVisible(QGraphicsView* theWrappedObject, qreal x, qreal y, qreal w, qreal h, int xmargin, int ymargin) +{ + ( theWrappedObject->ensureVisible(x, y, w, h, xmargin, ymargin)); +} + +bool PythonQtWrapper_QGraphicsView::event(QGraphicsView* theWrappedObject, QEvent* event) +{ + return ( ((PythonQtPublicPromoter_QGraphicsView*)theWrappedObject)->promoted_event(event)); +} + +void PythonQtWrapper_QGraphicsView::fitInView(QGraphicsView* theWrappedObject, const QGraphicsItem* item, Qt::AspectRatioMode aspectRadioMode) +{ + ( theWrappedObject->fitInView(item, aspectRadioMode)); +} + +void PythonQtWrapper_QGraphicsView::fitInView(QGraphicsView* theWrappedObject, const QRectF& rect, Qt::AspectRatioMode aspectRadioMode) +{ + ( theWrappedObject->fitInView(rect, aspectRadioMode)); +} + +void PythonQtWrapper_QGraphicsView::fitInView(QGraphicsView* theWrappedObject, qreal x, qreal y, qreal w, qreal h, Qt::AspectRatioMode aspectRadioMode) +{ + ( theWrappedObject->fitInView(x, y, w, h, aspectRadioMode)); +} + +void PythonQtWrapper_QGraphicsView::focusInEvent(QGraphicsView* theWrappedObject, QFocusEvent* event) +{ + ( ((PythonQtPublicPromoter_QGraphicsView*)theWrappedObject)->promoted_focusInEvent(event)); +} + +bool PythonQtWrapper_QGraphicsView::focusNextPrevChild(QGraphicsView* theWrappedObject, bool next) +{ + return ( ((PythonQtPublicPromoter_QGraphicsView*)theWrappedObject)->promoted_focusNextPrevChild(next)); +} + +void PythonQtWrapper_QGraphicsView::focusOutEvent(QGraphicsView* theWrappedObject, QFocusEvent* event) +{ + ( ((PythonQtPublicPromoter_QGraphicsView*)theWrappedObject)->promoted_focusOutEvent(event)); +} + +QBrush PythonQtWrapper_QGraphicsView::foregroundBrush(QGraphicsView* theWrappedObject) const +{ + return ( theWrappedObject->foregroundBrush()); +} + +void PythonQtWrapper_QGraphicsView::inputMethodEvent(QGraphicsView* theWrappedObject, QInputMethodEvent* event) +{ + ( ((PythonQtPublicPromoter_QGraphicsView*)theWrappedObject)->promoted_inputMethodEvent(event)); +} + +QVariant PythonQtWrapper_QGraphicsView::inputMethodQuery(QGraphicsView* theWrappedObject, Qt::InputMethodQuery query) const +{ + return ( ((PythonQtPublicPromoter_QGraphicsView*)theWrappedObject)->promoted_inputMethodQuery(query)); +} + +bool PythonQtWrapper_QGraphicsView::isInteractive(QGraphicsView* theWrappedObject) const +{ + return ( theWrappedObject->isInteractive()); +} + +bool PythonQtWrapper_QGraphicsView::isTransformed(QGraphicsView* theWrappedObject) const +{ + return ( theWrappedObject->isTransformed()); +} + +QGraphicsItem* PythonQtWrapper_QGraphicsView::itemAt(QGraphicsView* theWrappedObject, const QPoint& pos) const +{ + return ( theWrappedObject->itemAt(pos)); +} + +QGraphicsItem* PythonQtWrapper_QGraphicsView::itemAt(QGraphicsView* theWrappedObject, int x, int y) const +{ + return ( theWrappedObject->itemAt(x, y)); +} + +QList PythonQtWrapper_QGraphicsView::items(QGraphicsView* theWrappedObject) const +{ + return ( theWrappedObject->items()); +} + +QList PythonQtWrapper_QGraphicsView::items(QGraphicsView* theWrappedObject, const QPainterPath& path, Qt::ItemSelectionMode mode) const +{ + return ( theWrappedObject->items(path, mode)); +} + +QList PythonQtWrapper_QGraphicsView::items(QGraphicsView* theWrappedObject, const QPoint& pos) const +{ + return ( theWrappedObject->items(pos)); +} + +QList PythonQtWrapper_QGraphicsView::items(QGraphicsView* theWrappedObject, const QPolygon& polygon, Qt::ItemSelectionMode mode) const +{ + return ( theWrappedObject->items(polygon, mode)); +} + +QList PythonQtWrapper_QGraphicsView::items(QGraphicsView* theWrappedObject, const QRect& rect, Qt::ItemSelectionMode mode) const +{ + return ( theWrappedObject->items(rect, mode)); +} + +QList PythonQtWrapper_QGraphicsView::items(QGraphicsView* theWrappedObject, int x, int y) const +{ + return ( theWrappedObject->items(x, y)); +} + +QList PythonQtWrapper_QGraphicsView::items(QGraphicsView* theWrappedObject, int x, int y, int w, int h, Qt::ItemSelectionMode mode) const +{ + return ( theWrappedObject->items(x, y, w, h, mode)); +} + +void PythonQtWrapper_QGraphicsView::keyPressEvent(QGraphicsView* theWrappedObject, QKeyEvent* event) +{ + ( ((PythonQtPublicPromoter_QGraphicsView*)theWrappedObject)->promoted_keyPressEvent(event)); +} + +void PythonQtWrapper_QGraphicsView::keyReleaseEvent(QGraphicsView* theWrappedObject, QKeyEvent* event) +{ + ( ((PythonQtPublicPromoter_QGraphicsView*)theWrappedObject)->promoted_keyReleaseEvent(event)); +} + +QPainterPath PythonQtWrapper_QGraphicsView::mapFromScene(QGraphicsView* theWrappedObject, const QPainterPath& path) const +{ + return ( theWrappedObject->mapFromScene(path)); +} + +QPoint PythonQtWrapper_QGraphicsView::mapFromScene(QGraphicsView* theWrappedObject, const QPointF& point) const +{ + return ( theWrappedObject->mapFromScene(point)); +} + +QPolygon PythonQtWrapper_QGraphicsView::mapFromScene(QGraphicsView* theWrappedObject, const QPolygonF& polygon) const +{ + return ( theWrappedObject->mapFromScene(polygon)); +} + +QPolygon PythonQtWrapper_QGraphicsView::mapFromScene(QGraphicsView* theWrappedObject, const QRectF& rect) const +{ + return ( theWrappedObject->mapFromScene(rect)); +} + +QPoint PythonQtWrapper_QGraphicsView::mapFromScene(QGraphicsView* theWrappedObject, qreal x, qreal y) const +{ + return ( theWrappedObject->mapFromScene(x, y)); +} + +QPolygon PythonQtWrapper_QGraphicsView::mapFromScene(QGraphicsView* theWrappedObject, qreal x, qreal y, qreal w, qreal h) const +{ + return ( theWrappedObject->mapFromScene(x, y, w, h)); +} + +QPainterPath PythonQtWrapper_QGraphicsView::mapToScene(QGraphicsView* theWrappedObject, const QPainterPath& path) const +{ + return ( theWrappedObject->mapToScene(path)); +} + +QPointF PythonQtWrapper_QGraphicsView::mapToScene(QGraphicsView* theWrappedObject, const QPoint& point) const +{ + return ( theWrappedObject->mapToScene(point)); +} + +QPolygonF PythonQtWrapper_QGraphicsView::mapToScene(QGraphicsView* theWrappedObject, const QPolygon& polygon) const +{ + return ( theWrappedObject->mapToScene(polygon)); +} + +QPolygonF PythonQtWrapper_QGraphicsView::mapToScene(QGraphicsView* theWrappedObject, const QRect& rect) const +{ + return ( theWrappedObject->mapToScene(rect)); +} + +QPointF PythonQtWrapper_QGraphicsView::mapToScene(QGraphicsView* theWrappedObject, int x, int y) const +{ + return ( theWrappedObject->mapToScene(x, y)); +} + +QPolygonF PythonQtWrapper_QGraphicsView::mapToScene(QGraphicsView* theWrappedObject, int x, int y, int w, int h) const +{ + return ( theWrappedObject->mapToScene(x, y, w, h)); +} + +QMatrix PythonQtWrapper_QGraphicsView::matrix(QGraphicsView* theWrappedObject) const +{ + return ( theWrappedObject->matrix()); +} + +void PythonQtWrapper_QGraphicsView::mouseDoubleClickEvent(QGraphicsView* theWrappedObject, QMouseEvent* event) +{ + ( ((PythonQtPublicPromoter_QGraphicsView*)theWrappedObject)->promoted_mouseDoubleClickEvent(event)); +} + +void PythonQtWrapper_QGraphicsView::mouseMoveEvent(QGraphicsView* theWrappedObject, QMouseEvent* event) +{ + ( ((PythonQtPublicPromoter_QGraphicsView*)theWrappedObject)->promoted_mouseMoveEvent(event)); +} + +void PythonQtWrapper_QGraphicsView::mousePressEvent(QGraphicsView* theWrappedObject, QMouseEvent* event) +{ + ( ((PythonQtPublicPromoter_QGraphicsView*)theWrappedObject)->promoted_mousePressEvent(event)); +} + +void PythonQtWrapper_QGraphicsView::mouseReleaseEvent(QGraphicsView* theWrappedObject, QMouseEvent* event) +{ + ( ((PythonQtPublicPromoter_QGraphicsView*)theWrappedObject)->promoted_mouseReleaseEvent(event)); +} + +QGraphicsView::OptimizationFlags PythonQtWrapper_QGraphicsView::optimizationFlags(QGraphicsView* theWrappedObject) const +{ + return ( theWrappedObject->optimizationFlags()); +} + +void PythonQtWrapper_QGraphicsView::paintEvent(QGraphicsView* theWrappedObject, QPaintEvent* event) +{ + ( ((PythonQtPublicPromoter_QGraphicsView*)theWrappedObject)->promoted_paintEvent(event)); +} + +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::resizeEvent(QGraphicsView* theWrappedObject, QResizeEvent* event) +{ + ( ((PythonQtPublicPromoter_QGraphicsView*)theWrappedObject)->promoted_resizeEvent(event)); +} + +void PythonQtWrapper_QGraphicsView::rotate(QGraphicsView* theWrappedObject, qreal angle) +{ + ( theWrappedObject->rotate(angle)); +} + +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::scrollContentsBy(QGraphicsView* theWrappedObject, int dx, int dy) +{ + ( ((PythonQtPublicPromoter_QGraphicsView*)theWrappedObject)->promoted_scrollContentsBy(dx, dy)); +} + +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)); +} + +void PythonQtWrapper_QGraphicsView::showEvent(QGraphicsView* theWrappedObject, QShowEvent* event) +{ + ( ((PythonQtPublicPromoter_QGraphicsView*)theWrappedObject)->promoted_showEvent(event)); +} + +QSize PythonQtWrapper_QGraphicsView::sizeHint(QGraphicsView* theWrappedObject) const +{ + return ( theWrappedObject->sizeHint()); +} + +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)); +} + +bool PythonQtWrapper_QGraphicsView::viewportEvent(QGraphicsView* theWrappedObject, QEvent* event) +{ + return ( ((PythonQtPublicPromoter_QGraphicsView*)theWrappedObject)->promoted_viewportEvent(event)); +} + +QTransform PythonQtWrapper_QGraphicsView::viewportTransform(QGraphicsView* theWrappedObject) const +{ + return ( theWrappedObject->viewportTransform()); +} + +QGraphicsView::ViewportUpdateMode PythonQtWrapper_QGraphicsView::viewportUpdateMode(QGraphicsView* theWrappedObject) const +{ + return ( theWrappedObject->viewportUpdateMode()); +} + +void PythonQtWrapper_QGraphicsView::wheelEvent(QGraphicsView* theWrappedObject, QWheelEvent* event) +{ + ( ((PythonQtPublicPromoter_QGraphicsView*)theWrappedObject)->promoted_wheelEvent(event)); +} + + + +void PythonQtShell_QGraphicsWidget::changeEvent(QEvent* event) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "changeEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&event}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QGraphicsWidget::changeEvent(event); +} +void PythonQtShell_QGraphicsWidget::childEvent(QChildEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "childEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QChildEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QGraphicsWidget::childEvent(arg__1); +} +void PythonQtShell_QGraphicsWidget::closeEvent(QCloseEvent* event) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "closeEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QCloseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&event}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QGraphicsWidget::closeEvent(event); +} +void PythonQtShell_QGraphicsWidget::customEvent(QEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "customEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QGraphicsWidget::customEvent(arg__1); +} +bool PythonQtShell_QGraphicsWidget::event(QEvent* event) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "event"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue; + void* args[2] = {NULL, (void*)&event}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QGraphicsWidget::event(event); +} +bool PythonQtShell_QGraphicsWidget::eventFilter(QObject* arg__1, QEvent* arg__2) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "eventFilter"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue; + void* args[3] = {NULL, (void*)&arg__1, (void*)&arg__2}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QGraphicsWidget::eventFilter(arg__1, arg__2); +} +bool PythonQtShell_QGraphicsWidget::focusNextPrevChild(bool next) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "focusNextPrevChild"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue; + void* args[2] = {NULL, (void*)&next}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("focusNextPrevChild", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QGraphicsWidget::focusNextPrevChild(next); +} +void PythonQtShell_QGraphicsWidget::getContentsMargins(qreal* left, qreal* top, qreal* right, qreal* bottom) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "getContentsMargins"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "qreal*" , "qreal*" , "qreal*" , "qreal*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(5, argumentList); + void* args[5] = {NULL, (void*)&left, (void*)&top, (void*)&right, (void*)&bottom}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QGraphicsWidget::getContentsMargins(left, top, right, bottom); +} +void PythonQtShell_QGraphicsWidget::grabKeyboardEvent(QEvent* event) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "grabKeyboardEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&event}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QGraphicsWidget::grabKeyboardEvent(event); +} +void PythonQtShell_QGraphicsWidget::grabMouseEvent(QEvent* event) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "grabMouseEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&event}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QGraphicsWidget::grabMouseEvent(event); +} +void PythonQtShell_QGraphicsWidget::hideEvent(QHideEvent* event) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "hideEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QHideEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&event}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QGraphicsWidget::hideEvent(event); +} +void PythonQtShell_QGraphicsWidget::hoverLeaveEvent(QGraphicsSceneHoverEvent* event) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "hoverLeaveEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QGraphicsSceneHoverEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&event}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QGraphicsWidget::hoverLeaveEvent(event); +} +void PythonQtShell_QGraphicsWidget::hoverMoveEvent(QGraphicsSceneHoverEvent* event) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "hoverMoveEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QGraphicsSceneHoverEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&event}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QGraphicsWidget::hoverMoveEvent(event); +} +void PythonQtShell_QGraphicsWidget::initStyleOption(QStyleOption* option) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "initStyleOption"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QStyleOption*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&option}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QGraphicsWidget::initStyleOption(option); +} +void PythonQtShell_QGraphicsWidget::moveEvent(QGraphicsSceneMoveEvent* event) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "moveEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QGraphicsSceneMoveEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&event}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QGraphicsWidget::moveEvent(event); +} +void PythonQtShell_QGraphicsWidget::paintWindowFrame(QPainter* painter, const QStyleOptionGraphicsItem* option, QWidget* widget) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "paintWindowFrame"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QPainter*" , "const QStyleOptionGraphicsItem*" , "QWidget*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + void* args[4] = {NULL, (void*)&painter, (void*)&option, (void*)&widget}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QGraphicsWidget::paintWindowFrame(painter, option, widget); +} +void PythonQtShell_QGraphicsWidget::polishEvent() +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "polishEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={""}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QGraphicsWidget::polishEvent(); +} +QVariant PythonQtShell_QGraphicsWidget::propertyChange(const QString& propertyName, const QVariant& value) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "propertyChange"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QVariant" , "const QString&" , "const QVariant&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + QVariant returnValue; + void* args[3] = {NULL, (void*)&propertyName, (void*)&value}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("propertyChange", methodInfo, result); + } else { + returnValue = *((QVariant*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QGraphicsWidget::propertyChange(propertyName, value); +} +void PythonQtShell_QGraphicsWidget::resizeEvent(QGraphicsSceneResizeEvent* event) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "resizeEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QGraphicsSceneResizeEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&event}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QGraphicsWidget::resizeEvent(event); +} +void PythonQtShell_QGraphicsWidget::setGeometry(const QRectF& rect) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "setGeometry"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "const QRectF&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&rect}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QGraphicsWidget::setGeometry(rect); +} +void PythonQtShell_QGraphicsWidget::showEvent(QShowEvent* event) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "showEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QShowEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&event}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QGraphicsWidget::showEvent(event); +} +QSizeF PythonQtShell_QGraphicsWidget::sizeHint(Qt::SizeHint which, const QSizeF& constraint) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "sizeHint"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QSizeF" , "Qt::SizeHint" , "const QSizeF&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + QSizeF returnValue; + void* args[3] = {NULL, (void*)&which, (void*)&constraint}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("sizeHint", methodInfo, result); + } else { + returnValue = *((QSizeF*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QGraphicsWidget::sizeHint(which, constraint); +} +void PythonQtShell_QGraphicsWidget::timerEvent(QTimerEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "timerEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QTimerEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QGraphicsWidget::timerEvent(arg__1); +} +void PythonQtShell_QGraphicsWidget::ungrabKeyboardEvent(QEvent* event) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "ungrabKeyboardEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&event}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QGraphicsWidget::ungrabKeyboardEvent(event); +} +void PythonQtShell_QGraphicsWidget::ungrabMouseEvent(QEvent* event) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "ungrabMouseEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&event}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QGraphicsWidget::ungrabMouseEvent(event); +} +void PythonQtShell_QGraphicsWidget::updateGeometry() +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "updateGeometry"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={""}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QGraphicsWidget::updateGeometry(); +} +bool PythonQtShell_QGraphicsWidget::windowFrameEvent(QEvent* e) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "windowFrameEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue; + void* args[2] = {NULL, (void*)&e}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("windowFrameEvent", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QGraphicsWidget::windowFrameEvent(e); +} +Qt::WindowFrameSection PythonQtShell_QGraphicsWidget::windowFrameSectionAt(const QPointF& pos) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "windowFrameSectionAt"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"Qt::WindowFrameSection" , "const QPointF&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + Qt::WindowFrameSection returnValue; + void* args[2] = {NULL, (void*)&pos}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("windowFrameSectionAt", methodInfo, result); + } else { + returnValue = *((Qt::WindowFrameSection*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QGraphicsWidget::windowFrameSectionAt(pos); +} +QGraphicsWidget* PythonQtWrapper_QGraphicsWidget::new_QGraphicsWidget(QGraphicsItem* parent, Qt::WindowFlags wFlags) +{ +return new PythonQtShell_QGraphicsWidget(parent, wFlags); } + +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()); +} + +QRectF PythonQtWrapper_QGraphicsWidget::boundingRect(QGraphicsWidget* theWrappedObject) const +{ + return ( theWrappedObject->boundingRect()); +} + +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::event(QGraphicsWidget* theWrappedObject, QEvent* event) +{ + return ( ((PythonQtPublicPromoter_QGraphicsWidget*)theWrappedObject)->promoted_event(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::getContentsMargins(QGraphicsWidget* theWrappedObject, qreal* left, qreal* top, qreal* right, qreal* bottom) const +{ + ( ((PythonQtPublicPromoter_QGraphicsWidget*)theWrappedObject)->promoted_getContentsMargins(left, top, right, bottom)); +} + +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::hoverLeaveEvent(QGraphicsWidget* theWrappedObject, QGraphicsSceneHoverEvent* event) +{ + ( ((PythonQtPublicPromoter_QGraphicsWidget*)theWrappedObject)->promoted_hoverLeaveEvent(event)); +} + +void PythonQtWrapper_QGraphicsWidget::hoverMoveEvent(QGraphicsWidget* theWrappedObject, QGraphicsSceneHoverEvent* event) +{ + ( ((PythonQtPublicPromoter_QGraphicsWidget*)theWrappedObject)->promoted_hoverMoveEvent(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::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) +{ + ( ((PythonQtPublicPromoter_QGraphicsWidget*)theWrappedObject)->promoted_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::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, const QRectF& rect) +{ + ( ((PythonQtPublicPromoter_QGraphicsWidget*)theWrappedObject)->promoted_setGeometry(rect)); +} + +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, QGraphicsLayout* 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, 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)); +} + +QPainterPath PythonQtWrapper_QGraphicsWidget::shape(QGraphicsWidget* theWrappedObject) const +{ + return ( theWrappedObject->shape()); +} + +void PythonQtWrapper_QGraphicsWidget::showEvent(QGraphicsWidget* theWrappedObject, QShowEvent* event) +{ + ( ((PythonQtPublicPromoter_QGraphicsWidget*)theWrappedObject)->promoted_showEvent(event)); +} + +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()); +} + +bool PythonQtWrapper_QGraphicsWidget::testAttribute(QGraphicsWidget* theWrappedObject, Qt::WidgetAttribute attribute) const +{ + return ( theWrappedObject->testAttribute(attribute)); +} + +int PythonQtWrapper_QGraphicsWidget::type(QGraphicsWidget* theWrappedObject) const +{ + return ( theWrappedObject->type()); +} + +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()); +} + +void PythonQtWrapper_QGraphicsWidget::updateGeometry(QGraphicsWidget* theWrappedObject) +{ + ( ((PythonQtPublicPromoter_QGraphicsWidget*)theWrappedObject)->promoted_updateGeometry()); +} + +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()); +} + + + +void PythonQtShell_QGridLayout::addItem(QLayoutItem* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "addItem"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QLayoutItem*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QGridLayout::addItem(arg__1); +} +void PythonQtShell_QGridLayout::childEvent(QChildEvent* e) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "childEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QChildEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&e}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QGridLayout::childEvent(e); +} +int PythonQtShell_QGridLayout::count() const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "count"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + int returnValue; + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("count", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QGridLayout::count(); +} +void PythonQtShell_QGridLayout::customEvent(QEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "customEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QGridLayout::customEvent(arg__1); +} +bool PythonQtShell_QGridLayout::event(QEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "event"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue; + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QGridLayout::event(arg__1); +} +bool PythonQtShell_QGridLayout::eventFilter(QObject* arg__1, QEvent* arg__2) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "eventFilter"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue; + void* args[3] = {NULL, (void*)&arg__1, (void*)&arg__2}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QGridLayout::eventFilter(arg__1, arg__2); +} +Qt::Orientations PythonQtShell_QGridLayout::expandingDirections() const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "expandingDirections"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"Qt::Orientations"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + Qt::Orientations returnValue; + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("expandingDirections", methodInfo, result); + } else { + returnValue = *((Qt::Orientations*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QGridLayout::expandingDirections(); +} +QRect PythonQtShell_QGridLayout::geometry() const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "geometry"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QRect"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QRect returnValue; + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("geometry", methodInfo, result); + } else { + returnValue = *((QRect*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QGridLayout::geometry(); +} +int PythonQtShell_QGridLayout::indexOf(QWidget* arg__1) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "indexOf"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"int" , "QWidget*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + int returnValue; + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("indexOf", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QGridLayout::indexOf(arg__1); +} +void PythonQtShell_QGridLayout::invalidate() +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "invalidate"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={""}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QGridLayout::invalidate(); +} +bool PythonQtShell_QGridLayout::isEmpty() const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "isEmpty"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + bool returnValue; + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("isEmpty", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QGridLayout::isEmpty(); +} +QLayoutItem* PythonQtShell_QGridLayout::itemAt(int index) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "itemAt"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QLayoutItem*" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + QLayoutItem* returnValue; + void* args[2] = {NULL, (void*)&index}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("itemAt", methodInfo, result); + } else { + returnValue = *((QLayoutItem**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QGridLayout::itemAt(index); +} +QLayout* PythonQtShell_QGridLayout::layout() +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "layout"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QLayout*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QLayout* returnValue; + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("layout", methodInfo, result); + } else { + returnValue = *((QLayout**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QGridLayout::layout(); +} +QSize PythonQtShell_QGridLayout::maximumSize() const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "maximumSize"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QSize"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QSize returnValue; + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("maximumSize", methodInfo, result); + } else { + returnValue = *((QSize*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QGridLayout::maximumSize(); +} +QSize PythonQtShell_QGridLayout::minimumSize() const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "minimumSize"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QSize"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QSize returnValue; + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("minimumSize", methodInfo, result); + } else { + returnValue = *((QSize*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QGridLayout::minimumSize(); +} +void PythonQtShell_QGridLayout::setGeometry(const QRect& arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "setGeometry"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "const QRect&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QGridLayout::setGeometry(arg__1); +} +QLayoutItem* PythonQtShell_QGridLayout::takeAt(int index) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "takeAt"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QLayoutItem*" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + QLayoutItem* returnValue; + void* args[2] = {NULL, (void*)&index}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("takeAt", methodInfo, result); + } else { + returnValue = *((QLayoutItem**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QGridLayout::takeAt(index); +} +void PythonQtShell_QGridLayout::timerEvent(QTimerEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "timerEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QTimerEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QGridLayout::timerEvent(arg__1); +} +QGridLayout* PythonQtWrapper_QGridLayout::new_QGridLayout() +{ +return new PythonQtShell_QGridLayout(); } + +QGridLayout* PythonQtWrapper_QGridLayout::new_QGridLayout(QWidget* parent) +{ +return new PythonQtShell_QGridLayout(parent); } + +void PythonQtWrapper_QGridLayout::addItem(QGridLayout* theWrappedObject, QLayoutItem* arg__1) +{ + ( ((PythonQtPublicPromoter_QGridLayout*)theWrappedObject)->promoted_addItem(arg__1)); +} + +void PythonQtWrapper_QGridLayout::addItem(QGridLayout* theWrappedObject, QLayoutItem* item, int row, int column, int rowSpan, int columnSpan, Qt::Alignment arg__6) +{ + ( theWrappedObject->addItem(item, row, column, rowSpan, columnSpan, arg__6)); +} + +void PythonQtWrapper_QGridLayout::addLayout(QGridLayout* theWrappedObject, QLayout* arg__1, int row, int column, Qt::Alignment arg__4) +{ + ( theWrappedObject->addLayout(arg__1, row, column, arg__4)); +} + +void PythonQtWrapper_QGridLayout::addLayout(QGridLayout* theWrappedObject, QLayout* arg__1, int row, int column, int rowSpan, int columnSpan, Qt::Alignment arg__6) +{ + ( theWrappedObject->addLayout(arg__1, row, column, rowSpan, columnSpan, arg__6)); +} + +void PythonQtWrapper_QGridLayout::addWidget(QGridLayout* theWrappedObject, QWidget* arg__1, int row, int column, Qt::Alignment arg__4) +{ + ( theWrappedObject->addWidget(arg__1, row, column, arg__4)); +} + +void PythonQtWrapper_QGridLayout::addWidget(QGridLayout* theWrappedObject, QWidget* arg__1, int row, int column, int rowSpan, int columnSpan, Qt::Alignment arg__6) +{ + ( theWrappedObject->addWidget(arg__1, row, column, rowSpan, columnSpan, arg__6)); +} + +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 ( ((PythonQtPublicPromoter_QGridLayout*)theWrappedObject)->promoted_count()); +} + +Qt::Orientations PythonQtWrapper_QGridLayout::expandingDirections(QGridLayout* theWrappedObject) const +{ + return ( ((PythonQtPublicPromoter_QGridLayout*)theWrappedObject)->promoted_expandingDirections()); +} + +void PythonQtWrapper_QGridLayout::getItemPosition(QGridLayout* theWrappedObject, int idx, int* row, int* column, int* rowSpan, int* columnSpan) +{ + ( theWrappedObject->getItemPosition(idx, row, column, rowSpan, columnSpan)); +} + +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) +{ + ( ((PythonQtPublicPromoter_QGridLayout*)theWrappedObject)->promoted_invalidate()); +} + +QLayoutItem* PythonQtWrapper_QGridLayout::itemAt(QGridLayout* theWrappedObject, int index) const +{ + return ( ((PythonQtPublicPromoter_QGridLayout*)theWrappedObject)->promoted_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 ( ((PythonQtPublicPromoter_QGridLayout*)theWrappedObject)->promoted_maximumSize()); +} + +int PythonQtWrapper_QGridLayout::minimumHeightForWidth(QGridLayout* theWrappedObject, int arg__1) const +{ + return ( theWrappedObject->minimumHeightForWidth(arg__1)); +} + +QSize PythonQtWrapper_QGridLayout::minimumSize(QGridLayout* theWrappedObject) const +{ + return ( ((PythonQtPublicPromoter_QGridLayout*)theWrappedObject)->promoted_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) +{ + ( ((PythonQtPublicPromoter_QGridLayout*)theWrappedObject)->promoted_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 ( ((PythonQtPublicPromoter_QGridLayout*)theWrappedObject)->promoted_takeAt(index)); +} + +int PythonQtWrapper_QGridLayout::verticalSpacing(QGridLayout* theWrappedObject) const +{ + return ( theWrappedObject->verticalSpacing()); +} + + + +void PythonQtShell_QGroupBox::actionEvent(QActionEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "actionEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QActionEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QGroupBox::actionEvent(arg__1); +} +void PythonQtShell_QGroupBox::changeEvent(QEvent* event) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "changeEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&event}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QGroupBox::changeEvent(event); +} +void PythonQtShell_QGroupBox::childEvent(QChildEvent* event) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "childEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QChildEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&event}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QGroupBox::childEvent(event); +} +void PythonQtShell_QGroupBox::closeEvent(QCloseEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "closeEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QCloseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QGroupBox::closeEvent(arg__1); +} +void PythonQtShell_QGroupBox::contextMenuEvent(QContextMenuEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "contextMenuEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QContextMenuEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QGroupBox::contextMenuEvent(arg__1); +} +void PythonQtShell_QGroupBox::customEvent(QEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "customEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QGroupBox::customEvent(arg__1); +} +int PythonQtShell_QGroupBox::devType() const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "devType"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + int returnValue; + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("devType", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QGroupBox::devType(); +} +void PythonQtShell_QGroupBox::dragEnterEvent(QDragEnterEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dragEnterEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QDragEnterEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QGroupBox::dragEnterEvent(arg__1); +} +void PythonQtShell_QGroupBox::dragLeaveEvent(QDragLeaveEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dragLeaveEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QDragLeaveEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QGroupBox::dragLeaveEvent(arg__1); +} +void PythonQtShell_QGroupBox::dragMoveEvent(QDragMoveEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dragMoveEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QDragMoveEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QGroupBox::dragMoveEvent(arg__1); +} +void PythonQtShell_QGroupBox::dropEvent(QDropEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dropEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QDropEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QGroupBox::dropEvent(arg__1); +} +void PythonQtShell_QGroupBox::enterEvent(QEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "enterEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QGroupBox::enterEvent(arg__1); +} +bool PythonQtShell_QGroupBox::event(QEvent* event) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "event"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue; + void* args[2] = {NULL, (void*)&event}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QGroupBox::event(event); +} +bool PythonQtShell_QGroupBox::eventFilter(QObject* arg__1, QEvent* arg__2) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "eventFilter"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue; + void* args[3] = {NULL, (void*)&arg__1, (void*)&arg__2}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QGroupBox::eventFilter(arg__1, arg__2); +} +void PythonQtShell_QGroupBox::focusInEvent(QFocusEvent* event) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "focusInEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QFocusEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&event}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QGroupBox::focusInEvent(event); +} +bool PythonQtShell_QGroupBox::focusNextPrevChild(bool next) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "focusNextPrevChild"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue; + void* args[2] = {NULL, (void*)&next}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("focusNextPrevChild", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QGroupBox::focusNextPrevChild(next); +} +void PythonQtShell_QGroupBox::focusOutEvent(QFocusEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "focusOutEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QFocusEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QGroupBox::focusOutEvent(arg__1); +} +int PythonQtShell_QGroupBox::heightForWidth(int arg__1) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "heightForWidth"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"int" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + int returnValue; + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("heightForWidth", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QGroupBox::heightForWidth(arg__1); +} +void PythonQtShell_QGroupBox::hideEvent(QHideEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "hideEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QHideEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QGroupBox::hideEvent(arg__1); +} +void PythonQtShell_QGroupBox::inputMethodEvent(QInputMethodEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "inputMethodEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QInputMethodEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QGroupBox::inputMethodEvent(arg__1); +} +QVariant PythonQtShell_QGroupBox::inputMethodQuery(Qt::InputMethodQuery arg__1) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "inputMethodQuery"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QVariant" , "Qt::InputMethodQuery"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + QVariant returnValue; + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result); + } else { + returnValue = *((QVariant*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QGroupBox::inputMethodQuery(arg__1); +} +void PythonQtShell_QGroupBox::keyPressEvent(QKeyEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "keyPressEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QKeyEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QGroupBox::keyPressEvent(arg__1); +} +void PythonQtShell_QGroupBox::keyReleaseEvent(QKeyEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "keyReleaseEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QKeyEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QGroupBox::keyReleaseEvent(arg__1); +} +void PythonQtShell_QGroupBox::languageChange() +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "languageChange"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={""}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QGroupBox::languageChange(); +} +void PythonQtShell_QGroupBox::leaveEvent(QEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "leaveEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QGroupBox::leaveEvent(arg__1); +} +int PythonQtShell_QGroupBox::metric(QPaintDevice::PaintDeviceMetric arg__1) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "metric"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + int returnValue; + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("metric", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QGroupBox::metric(arg__1); +} +void PythonQtShell_QGroupBox::mouseDoubleClickEvent(QMouseEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mouseDoubleClickEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QGroupBox::mouseDoubleClickEvent(arg__1); +} +void PythonQtShell_QGroupBox::mouseMoveEvent(QMouseEvent* event) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mouseMoveEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&event}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QGroupBox::mouseMoveEvent(event); +} +void PythonQtShell_QGroupBox::mousePressEvent(QMouseEvent* event) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mousePressEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&event}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QGroupBox::mousePressEvent(event); +} +void PythonQtShell_QGroupBox::mouseReleaseEvent(QMouseEvent* event) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mouseReleaseEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&event}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QGroupBox::mouseReleaseEvent(event); +} +void PythonQtShell_QGroupBox::moveEvent(QMoveEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "moveEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QMoveEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QGroupBox::moveEvent(arg__1); +} +QPaintEngine* PythonQtShell_QGroupBox::paintEngine() const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "paintEngine"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QPaintEngine*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QPaintEngine* returnValue; + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); + } else { + returnValue = *((QPaintEngine**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QGroupBox::paintEngine(); +} +void PythonQtShell_QGroupBox::paintEvent(QPaintEvent* event) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "paintEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QPaintEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&event}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QGroupBox::paintEvent(event); +} +void PythonQtShell_QGroupBox::resizeEvent(QResizeEvent* event) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "resizeEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QResizeEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&event}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QGroupBox::resizeEvent(event); +} +void PythonQtShell_QGroupBox::showEvent(QShowEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "showEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QShowEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QGroupBox::showEvent(arg__1); +} +QSize PythonQtShell_QGroupBox::sizeHint() const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "getSizeHint"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QSize"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QSize returnValue; + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("getSizeHint", methodInfo, result); + } else { + returnValue = *((QSize*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QGroupBox::sizeHint(); +} +void PythonQtShell_QGroupBox::tabletEvent(QTabletEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "tabletEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QTabletEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QGroupBox::tabletEvent(arg__1); +} +void PythonQtShell_QGroupBox::timerEvent(QTimerEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "timerEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QTimerEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QGroupBox::timerEvent(arg__1); +} +void PythonQtShell_QGroupBox::wheelEvent(QWheelEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "wheelEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QWheelEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QGroupBox::wheelEvent(arg__1); +} +QGroupBox* PythonQtWrapper_QGroupBox::new_QGroupBox(QWidget* parent) +{ +return new PythonQtShell_QGroupBox(parent); } + +QGroupBox* PythonQtWrapper_QGroupBox::new_QGroupBox(const QString& title, QWidget* parent) +{ +return new PythonQtShell_QGroupBox(title, parent); } + +Qt::Alignment PythonQtWrapper_QGroupBox::alignment(QGroupBox* theWrappedObject) const +{ + return ( theWrappedObject->alignment()); +} + +void PythonQtWrapper_QGroupBox::changeEvent(QGroupBox* theWrappedObject, QEvent* event) +{ + ( ((PythonQtPublicPromoter_QGroupBox*)theWrappedObject)->promoted_changeEvent(event)); +} + +void PythonQtWrapper_QGroupBox::childEvent(QGroupBox* theWrappedObject, QChildEvent* event) +{ + ( ((PythonQtPublicPromoter_QGroupBox*)theWrappedObject)->promoted_childEvent(event)); +} + +bool PythonQtWrapper_QGroupBox::event(QGroupBox* theWrappedObject, QEvent* event) +{ + return ( ((PythonQtPublicPromoter_QGroupBox*)theWrappedObject)->promoted_event(event)); +} + +void PythonQtWrapper_QGroupBox::focusInEvent(QGroupBox* theWrappedObject, QFocusEvent* event) +{ + ( ((PythonQtPublicPromoter_QGroupBox*)theWrappedObject)->promoted_focusInEvent(event)); +} + +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::mouseMoveEvent(QGroupBox* theWrappedObject, QMouseEvent* event) +{ + ( ((PythonQtPublicPromoter_QGroupBox*)theWrappedObject)->promoted_mouseMoveEvent(event)); +} + +void PythonQtWrapper_QGroupBox::mousePressEvent(QGroupBox* theWrappedObject, QMouseEvent* event) +{ + ( ((PythonQtPublicPromoter_QGroupBox*)theWrappedObject)->promoted_mousePressEvent(event)); +} + +void PythonQtWrapper_QGroupBox::mouseReleaseEvent(QGroupBox* theWrappedObject, QMouseEvent* event) +{ + ( ((PythonQtPublicPromoter_QGroupBox*)theWrappedObject)->promoted_mouseReleaseEvent(event)); +} + +void PythonQtWrapper_QGroupBox::paintEvent(QGroupBox* theWrappedObject, QPaintEvent* event) +{ + ( ((PythonQtPublicPromoter_QGroupBox*)theWrappedObject)->promoted_paintEvent(event)); +} + +void PythonQtWrapper_QGroupBox::resizeEvent(QGroupBox* theWrappedObject, QResizeEvent* event) +{ + ( ((PythonQtPublicPromoter_QGroupBox*)theWrappedObject)->promoted_resizeEvent(event)); +} + +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()); +} + + + +void PythonQtShell_QHBoxLayout::addItem(QLayoutItem* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "addItem"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QLayoutItem*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QHBoxLayout::addItem(arg__1); +} +void PythonQtShell_QHBoxLayout::childEvent(QChildEvent* e) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "childEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QChildEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&e}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QHBoxLayout::childEvent(e); +} +int PythonQtShell_QHBoxLayout::count() const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "count"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + int returnValue; + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("count", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QHBoxLayout::count(); +} +void PythonQtShell_QHBoxLayout::customEvent(QEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "customEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QHBoxLayout::customEvent(arg__1); +} +bool PythonQtShell_QHBoxLayout::event(QEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "event"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue; + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QHBoxLayout::event(arg__1); +} +bool PythonQtShell_QHBoxLayout::eventFilter(QObject* arg__1, QEvent* arg__2) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "eventFilter"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue; + void* args[3] = {NULL, (void*)&arg__1, (void*)&arg__2}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QHBoxLayout::eventFilter(arg__1, arg__2); +} +Qt::Orientations PythonQtShell_QHBoxLayout::expandingDirections() const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "expandingDirections"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"Qt::Orientations"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + Qt::Orientations returnValue; + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("expandingDirections", methodInfo, result); + } else { + returnValue = *((Qt::Orientations*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QHBoxLayout::expandingDirections(); +} +QRect PythonQtShell_QHBoxLayout::geometry() const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "geometry"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QRect"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QRect returnValue; + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("geometry", methodInfo, result); + } else { + returnValue = *((QRect*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QHBoxLayout::geometry(); +} +int PythonQtShell_QHBoxLayout::indexOf(QWidget* arg__1) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "indexOf"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"int" , "QWidget*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + int returnValue; + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("indexOf", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QHBoxLayout::indexOf(arg__1); +} +void PythonQtShell_QHBoxLayout::invalidate() +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "invalidate"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={""}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QHBoxLayout::invalidate(); +} +bool PythonQtShell_QHBoxLayout::isEmpty() const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "isEmpty"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + bool returnValue; + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("isEmpty", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QHBoxLayout::isEmpty(); +} +QLayoutItem* PythonQtShell_QHBoxLayout::itemAt(int arg__1) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "itemAt"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QLayoutItem*" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + QLayoutItem* returnValue; + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("itemAt", methodInfo, result); + } else { + returnValue = *((QLayoutItem**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QHBoxLayout::itemAt(arg__1); +} +QLayout* PythonQtShell_QHBoxLayout::layout() +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "layout"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QLayout*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QLayout* returnValue; + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("layout", methodInfo, result); + } else { + returnValue = *((QLayout**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QHBoxLayout::layout(); +} +QSize PythonQtShell_QHBoxLayout::maximumSize() const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "maximumSize"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QSize"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QSize returnValue; + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("maximumSize", methodInfo, result); + } else { + returnValue = *((QSize*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QHBoxLayout::maximumSize(); +} +QSize PythonQtShell_QHBoxLayout::minimumSize() const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "minimumSize"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QSize"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QSize returnValue; + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("minimumSize", methodInfo, result); + } else { + returnValue = *((QSize*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QHBoxLayout::minimumSize(); +} +void PythonQtShell_QHBoxLayout::setGeometry(const QRect& arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "setGeometry"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "const QRect&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QHBoxLayout::setGeometry(arg__1); +} +QLayoutItem* PythonQtShell_QHBoxLayout::takeAt(int arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "takeAt"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QLayoutItem*" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + QLayoutItem* returnValue; + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("takeAt", methodInfo, result); + } else { + returnValue = *((QLayoutItem**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QHBoxLayout::takeAt(arg__1); +} +void PythonQtShell_QHBoxLayout::timerEvent(QTimerEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "timerEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QTimerEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QHBoxLayout::timerEvent(arg__1); +} +QHBoxLayout* PythonQtWrapper_QHBoxLayout::new_QHBoxLayout() +{ +return new PythonQtShell_QHBoxLayout(); } + +QHBoxLayout* PythonQtWrapper_QHBoxLayout::new_QHBoxLayout(QWidget* parent) +{ +return new PythonQtShell_QHBoxLayout(parent); } + + + +void PythonQtShell_QHeaderView::actionEvent(QActionEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "actionEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QActionEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QHeaderView::actionEvent(arg__1); +} +void PythonQtShell_QHeaderView::changeEvent(QEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "changeEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QHeaderView::changeEvent(arg__1); +} +void PythonQtShell_QHeaderView::childEvent(QChildEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "childEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QChildEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QHeaderView::childEvent(arg__1); +} +void PythonQtShell_QHeaderView::closeEditor(QWidget* editor, QAbstractItemDelegate::EndEditHint hint) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "closeEditor"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QWidget*" , "QAbstractItemDelegate::EndEditHint"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + void* args[3] = {NULL, (void*)&editor, (void*)&hint}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QHeaderView::closeEditor(editor, hint); +} +void PythonQtShell_QHeaderView::closeEvent(QCloseEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "closeEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QCloseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QHeaderView::closeEvent(arg__1); +} +void PythonQtShell_QHeaderView::commitData(QWidget* editor) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "commitData"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QWidget*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&editor}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QHeaderView::commitData(editor); +} +void PythonQtShell_QHeaderView::contextMenuEvent(QContextMenuEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "contextMenuEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QContextMenuEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QHeaderView::contextMenuEvent(arg__1); +} +void PythonQtShell_QHeaderView::currentChanged(const QModelIndex& current, const QModelIndex& old) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "currentChanged"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "const QModelIndex&" , "const QModelIndex&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + void* args[3] = {NULL, (void*)¤t, (void*)&old}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QHeaderView::currentChanged(current, old); +} +void PythonQtShell_QHeaderView::customEvent(QEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "customEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QHeaderView::customEvent(arg__1); +} +void PythonQtShell_QHeaderView::dataChanged(const QModelIndex& topLeft, const QModelIndex& bottomRight) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dataChanged"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "const QModelIndex&" , "const QModelIndex&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + void* args[3] = {NULL, (void*)&topLeft, (void*)&bottomRight}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QHeaderView::dataChanged(topLeft, bottomRight); +} +int PythonQtShell_QHeaderView::devType() const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "devType"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + int returnValue; + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("devType", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QHeaderView::devType(); +} +void PythonQtShell_QHeaderView::doItemsLayout() +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "doItemsLayout"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={""}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QHeaderView::doItemsLayout(); +} +void PythonQtShell_QHeaderView::dragEnterEvent(QDragEnterEvent* event) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dragEnterEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QDragEnterEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&event}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QHeaderView::dragEnterEvent(event); +} +void PythonQtShell_QHeaderView::dragLeaveEvent(QDragLeaveEvent* event) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dragLeaveEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QDragLeaveEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&event}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QHeaderView::dragLeaveEvent(event); +} +void PythonQtShell_QHeaderView::dragMoveEvent(QDragMoveEvent* event) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dragMoveEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QDragMoveEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&event}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QHeaderView::dragMoveEvent(event); +} +void PythonQtShell_QHeaderView::dropEvent(QDropEvent* event) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dropEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QDropEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&event}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QHeaderView::dropEvent(event); +} +bool PythonQtShell_QHeaderView::edit(const QModelIndex& index, QAbstractItemView::EditTrigger trigger, QEvent* event) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "edit"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "const QModelIndex&" , "QAbstractItemView::EditTrigger" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + bool returnValue; + void* args[4] = {NULL, (void*)&index, (void*)&trigger, (void*)&event}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("edit", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QHeaderView::edit(index, trigger, event); +} +void PythonQtShell_QHeaderView::editorDestroyed(QObject* editor) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "editorDestroyed"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QObject*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&editor}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QHeaderView::editorDestroyed(editor); +} +void PythonQtShell_QHeaderView::enterEvent(QEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "enterEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QHeaderView::enterEvent(arg__1); +} +bool PythonQtShell_QHeaderView::event(QEvent* e) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "event"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue; + void* args[2] = {NULL, (void*)&e}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QHeaderView::event(e); +} +bool PythonQtShell_QHeaderView::eventFilter(QObject* arg__1, QEvent* arg__2) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "eventFilter"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue; + void* args[3] = {NULL, (void*)&arg__1, (void*)&arg__2}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QHeaderView::eventFilter(arg__1, arg__2); +} +void PythonQtShell_QHeaderView::focusInEvent(QFocusEvent* event) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "focusInEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QFocusEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&event}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QHeaderView::focusInEvent(event); +} +bool PythonQtShell_QHeaderView::focusNextPrevChild(bool next) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "focusNextPrevChild"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue; + void* args[2] = {NULL, (void*)&next}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("focusNextPrevChild", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QHeaderView::focusNextPrevChild(next); +} +void PythonQtShell_QHeaderView::focusOutEvent(QFocusEvent* event) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "focusOutEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QFocusEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&event}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QHeaderView::focusOutEvent(event); +} +int PythonQtShell_QHeaderView::heightForWidth(int arg__1) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "heightForWidth"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"int" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + int returnValue; + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("heightForWidth", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QHeaderView::heightForWidth(arg__1); +} +void PythonQtShell_QHeaderView::hideEvent(QHideEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "hideEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QHideEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QHeaderView::hideEvent(arg__1); +} +int PythonQtShell_QHeaderView::horizontalOffset() const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "horizontalOffset"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + int returnValue; + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("horizontalOffset", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QHeaderView::horizontalOffset(); +} +void PythonQtShell_QHeaderView::horizontalScrollbarAction(int action) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "horizontalScrollbarAction"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&action}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QHeaderView::horizontalScrollbarAction(action); +} +void PythonQtShell_QHeaderView::horizontalScrollbarValueChanged(int value) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "horizontalScrollbarValueChanged"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&value}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QHeaderView::horizontalScrollbarValueChanged(value); +} +QModelIndex PythonQtShell_QHeaderView::indexAt(const QPoint& p) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "indexAt"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QModelIndex" , "const QPoint&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + QModelIndex returnValue; + void* args[2] = {NULL, (void*)&p}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("indexAt", methodInfo, result); + } else { + returnValue = *((QModelIndex*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QHeaderView::indexAt(p); +} +void PythonQtShell_QHeaderView::inputMethodEvent(QInputMethodEvent* event) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "inputMethodEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QInputMethodEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&event}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QHeaderView::inputMethodEvent(event); +} +QVariant PythonQtShell_QHeaderView::inputMethodQuery(Qt::InputMethodQuery query) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "inputMethodQuery"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QVariant" , "Qt::InputMethodQuery"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + QVariant returnValue; + void* args[2] = {NULL, (void*)&query}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result); + } else { + returnValue = *((QVariant*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QHeaderView::inputMethodQuery(query); +} +bool PythonQtShell_QHeaderView::isIndexHidden(const QModelIndex& index) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "isIndexHidden"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "const QModelIndex&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue; + void* args[2] = {NULL, (void*)&index}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("isIndexHidden", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QHeaderView::isIndexHidden(index); +} +void PythonQtShell_QHeaderView::keyPressEvent(QKeyEvent* event) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "keyPressEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QKeyEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&event}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QHeaderView::keyPressEvent(event); +} +void PythonQtShell_QHeaderView::keyReleaseEvent(QKeyEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "keyReleaseEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QKeyEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QHeaderView::keyReleaseEvent(arg__1); +} +void PythonQtShell_QHeaderView::keyboardSearch(const QString& search) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "keyboardSearch"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "const QString&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&search}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QHeaderView::keyboardSearch(search); +} +void PythonQtShell_QHeaderView::languageChange() +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "languageChange"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={""}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QHeaderView::languageChange(); +} +void PythonQtShell_QHeaderView::leaveEvent(QEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "leaveEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QHeaderView::leaveEvent(arg__1); +} +int PythonQtShell_QHeaderView::metric(QPaintDevice::PaintDeviceMetric arg__1) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "metric"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + int returnValue; + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("metric", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QHeaderView::metric(arg__1); +} +void PythonQtShell_QHeaderView::mouseDoubleClickEvent(QMouseEvent* e) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mouseDoubleClickEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&e}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QHeaderView::mouseDoubleClickEvent(e); +} +void PythonQtShell_QHeaderView::mouseMoveEvent(QMouseEvent* e) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mouseMoveEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&e}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QHeaderView::mouseMoveEvent(e); +} +void PythonQtShell_QHeaderView::mousePressEvent(QMouseEvent* e) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mousePressEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&e}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QHeaderView::mousePressEvent(e); +} +void PythonQtShell_QHeaderView::mouseReleaseEvent(QMouseEvent* e) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mouseReleaseEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&e}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QHeaderView::mouseReleaseEvent(e); +} +void PythonQtShell_QHeaderView::moveEvent(QMoveEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "moveEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QMoveEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QHeaderView::moveEvent(arg__1); +} +QPaintEngine* PythonQtShell_QHeaderView::paintEngine() const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "paintEngine"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QPaintEngine*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QPaintEngine* returnValue; + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); + } else { + returnValue = *((QPaintEngine**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QHeaderView::paintEngine(); +} +void PythonQtShell_QHeaderView::paintEvent(QPaintEvent* e) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "paintEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QPaintEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&e}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QHeaderView::paintEvent(e); +} +void PythonQtShell_QHeaderView::paintSection(QPainter* painter, const QRect& rect, int logicalIndex) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "paintSection"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QPainter*" , "const QRect&" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + void* args[4] = {NULL, (void*)&painter, (void*)&rect, (void*)&logicalIndex}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QHeaderView::paintSection(painter, rect, logicalIndex); +} +void PythonQtShell_QHeaderView::reset() +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "reset"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={""}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QHeaderView::reset(); +} +void PythonQtShell_QHeaderView::resizeEvent(QResizeEvent* event) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "resizeEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QResizeEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&event}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QHeaderView::resizeEvent(event); +} +void PythonQtShell_QHeaderView::rowsAboutToBeRemoved(const QModelIndex& parent, int start, int end) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "rowsAboutToBeRemoved"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "const QModelIndex&" , "int" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + void* args[4] = {NULL, (void*)&parent, (void*)&start, (void*)&end}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QHeaderView::rowsAboutToBeRemoved(parent, start, end); +} +void PythonQtShell_QHeaderView::rowsInserted(const QModelIndex& parent, int start, int end) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "rowsInserted"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "const QModelIndex&" , "int" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + void* args[4] = {NULL, (void*)&parent, (void*)&start, (void*)&end}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QHeaderView::rowsInserted(parent, start, end); +} +void PythonQtShell_QHeaderView::scrollContentsBy(int dx, int dy) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "scrollContentsBy"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "int" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + void* args[3] = {NULL, (void*)&dx, (void*)&dy}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QHeaderView::scrollContentsBy(dx, dy); +} +void PythonQtShell_QHeaderView::scrollTo(const QModelIndex& index, QAbstractItemView::ScrollHint hint) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "scrollTo"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "const QModelIndex&" , "QAbstractItemView::ScrollHint"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + void* args[3] = {NULL, (void*)&index, (void*)&hint}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QHeaderView::scrollTo(index, hint); +} +QSize PythonQtShell_QHeaderView::sectionSizeFromContents(int logicalIndex) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "sectionSizeFromContents"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QSize" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + QSize returnValue; + void* args[2] = {NULL, (void*)&logicalIndex}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("sectionSizeFromContents", methodInfo, result); + } else { + returnValue = *((QSize*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QHeaderView::sectionSizeFromContents(logicalIndex); +} +void PythonQtShell_QHeaderView::selectAll() +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "selectAll"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={""}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QHeaderView::selectAll(); +} +QList PythonQtShell_QHeaderView::selectedIndexes() const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "selectedIndexes"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QList"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QList returnValue; + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("selectedIndexes", methodInfo, result); + } else { + returnValue = *((QList*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QHeaderView::selectedIndexes(); +} +void PythonQtShell_QHeaderView::selectionChanged(const QItemSelection& selected, const QItemSelection& deselected) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "selectionChanged"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "const QItemSelection&" , "const QItemSelection&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + void* args[3] = {NULL, (void*)&selected, (void*)&deselected}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QHeaderView::selectionChanged(selected, deselected); +} +QItemSelectionModel::SelectionFlags PythonQtShell_QHeaderView::selectionCommand(const QModelIndex& index, const QEvent* event) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "selectionCommand"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QItemSelectionModel::SelectionFlags" , "const QModelIndex&" , "const QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + QItemSelectionModel::SelectionFlags returnValue; + void* args[3] = {NULL, (void*)&index, (void*)&event}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("selectionCommand", methodInfo, result); + } else { + returnValue = *((QItemSelectionModel::SelectionFlags*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QHeaderView::selectionCommand(index, event); +} +void PythonQtShell_QHeaderView::setModel(QAbstractItemModel* model) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "setModel"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QAbstractItemModel*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&model}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QHeaderView::setModel(model); +} +void PythonQtShell_QHeaderView::setRootIndex(const QModelIndex& index) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "setRootIndex"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "const QModelIndex&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&index}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QHeaderView::setRootIndex(index); +} +void PythonQtShell_QHeaderView::setSelection(const QRect& rect, QItemSelectionModel::SelectionFlags flags) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "setSelection"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "const QRect&" , "QItemSelectionModel::SelectionFlags"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + void* args[3] = {NULL, (void*)&rect, (void*)&flags}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QHeaderView::setSelection(rect, flags); +} +void PythonQtShell_QHeaderView::setSelectionModel(QItemSelectionModel* selectionModel) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "setSelectionModel"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QItemSelectionModel*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&selectionModel}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QHeaderView::setSelectionModel(selectionModel); +} +void PythonQtShell_QHeaderView::showEvent(QShowEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "showEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QShowEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QHeaderView::showEvent(arg__1); +} +int PythonQtShell_QHeaderView::sizeHintForColumn(int column) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "sizeHintForColumn"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"int" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + int returnValue; + void* args[2] = {NULL, (void*)&column}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("sizeHintForColumn", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QHeaderView::sizeHintForColumn(column); +} +int PythonQtShell_QHeaderView::sizeHintForRow(int row) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "sizeHintForRow"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"int" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + int returnValue; + void* args[2] = {NULL, (void*)&row}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("sizeHintForRow", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QHeaderView::sizeHintForRow(row); +} +void PythonQtShell_QHeaderView::startDrag(Qt::DropActions supportedActions) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "startDrag"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "Qt::DropActions"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&supportedActions}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QHeaderView::startDrag(supportedActions); +} +void PythonQtShell_QHeaderView::tabletEvent(QTabletEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "tabletEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QTabletEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QHeaderView::tabletEvent(arg__1); +} +void PythonQtShell_QHeaderView::timerEvent(QTimerEvent* event) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "timerEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QTimerEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&event}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QHeaderView::timerEvent(event); +} +void PythonQtShell_QHeaderView::updateEditorData() +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "updateEditorData"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={""}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QHeaderView::updateEditorData(); +} +void PythonQtShell_QHeaderView::updateEditorGeometries() +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "updateEditorGeometries"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={""}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QHeaderView::updateEditorGeometries(); +} +void PythonQtShell_QHeaderView::updateGeometries() +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "updateGeometries"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={""}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QHeaderView::updateGeometries(); +} +int PythonQtShell_QHeaderView::verticalOffset() const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "verticalOffset"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + int returnValue; + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("verticalOffset", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QHeaderView::verticalOffset(); +} +void PythonQtShell_QHeaderView::verticalScrollbarAction(int action) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "verticalScrollbarAction"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&action}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QHeaderView::verticalScrollbarAction(action); +} +void PythonQtShell_QHeaderView::verticalScrollbarValueChanged(int value) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "verticalScrollbarValueChanged"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&value}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QHeaderView::verticalScrollbarValueChanged(value); +} +QStyleOptionViewItem PythonQtShell_QHeaderView::viewOptions() const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "viewOptions"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QStyleOptionViewItem"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QStyleOptionViewItem returnValue; + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("viewOptions", methodInfo, result); + } else { + returnValue = *((QStyleOptionViewItem*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QHeaderView::viewOptions(); +} +bool PythonQtShell_QHeaderView::viewportEvent(QEvent* e) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "viewportEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue; + void* args[2] = {NULL, (void*)&e}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("viewportEvent", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QHeaderView::viewportEvent(e); +} +QRect PythonQtShell_QHeaderView::visualRect(const QModelIndex& index) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "visualRect"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QRect" , "const QModelIndex&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + QRect returnValue; + void* args[2] = {NULL, (void*)&index}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("visualRect", methodInfo, result); + } else { + returnValue = *((QRect*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QHeaderView::visualRect(index); +} +QRegion PythonQtShell_QHeaderView::visualRegionForSelection(const QItemSelection& selection) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "visualRegionForSelection"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QRegion" , "const QItemSelection&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + QRegion returnValue; + void* args[2] = {NULL, (void*)&selection}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("visualRegionForSelection", methodInfo, result); + } else { + returnValue = *((QRegion*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QHeaderView::visualRegionForSelection(selection); +} +void PythonQtShell_QHeaderView::wheelEvent(QWheelEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "wheelEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QWheelEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QHeaderView::wheelEvent(arg__1); +} +QHeaderView* PythonQtWrapper_QHeaderView::new_QHeaderView(Qt::Orientation orientation, QWidget* parent) +{ +return new PythonQtShell_QHeaderView(orientation, parent); } + +bool PythonQtWrapper_QHeaderView::cascadingSectionResizes(QHeaderView* theWrappedObject) const +{ + return ( theWrappedObject->cascadingSectionResizes()); +} + +int PythonQtWrapper_QHeaderView::count(QHeaderView* theWrappedObject) const +{ + return ( theWrappedObject->count()); +} + +void PythonQtWrapper_QHeaderView::currentChanged(QHeaderView* theWrappedObject, const QModelIndex& current, const QModelIndex& old) +{ + ( ((PythonQtPublicPromoter_QHeaderView*)theWrappedObject)->promoted_currentChanged(current, old)); +} + +void PythonQtWrapper_QHeaderView::dataChanged(QHeaderView* theWrappedObject, const QModelIndex& topLeft, const QModelIndex& bottomRight) +{ + ( ((PythonQtPublicPromoter_QHeaderView*)theWrappedObject)->promoted_dataChanged(topLeft, bottomRight)); +} + +Qt::Alignment PythonQtWrapper_QHeaderView::defaultAlignment(QHeaderView* theWrappedObject) const +{ + return ( theWrappedObject->defaultAlignment()); +} + +int PythonQtWrapper_QHeaderView::defaultSectionSize(QHeaderView* theWrappedObject) const +{ + return ( theWrappedObject->defaultSectionSize()); +} + +void PythonQtWrapper_QHeaderView::doItemsLayout(QHeaderView* theWrappedObject) +{ + ( ((PythonQtPublicPromoter_QHeaderView*)theWrappedObject)->promoted_doItemsLayout()); +} + +bool PythonQtWrapper_QHeaderView::event(QHeaderView* theWrappedObject, QEvent* e) +{ + return ( ((PythonQtPublicPromoter_QHeaderView*)theWrappedObject)->promoted_event(e)); +} + +int PythonQtWrapper_QHeaderView::hiddenSectionCount(QHeaderView* theWrappedObject) const +{ + return ( theWrappedObject->hiddenSectionCount()); +} + +void PythonQtWrapper_QHeaderView::hideSection(QHeaderView* theWrappedObject, int logicalIndex) +{ + ( theWrappedObject->hideSection(logicalIndex)); +} + +bool PythonQtWrapper_QHeaderView::highlightSections(QHeaderView* theWrappedObject) const +{ + return ( theWrappedObject->highlightSections()); +} + +int PythonQtWrapper_QHeaderView::horizontalOffset(QHeaderView* theWrappedObject) const +{ + return ( ((PythonQtPublicPromoter_QHeaderView*)theWrappedObject)->promoted_horizontalOffset()); +} + +QModelIndex PythonQtWrapper_QHeaderView::indexAt(QHeaderView* theWrappedObject, const QPoint& p) const +{ + return ( ((PythonQtPublicPromoter_QHeaderView*)theWrappedObject)->promoted_indexAt(p)); +} + +bool PythonQtWrapper_QHeaderView::isClickable(QHeaderView* theWrappedObject) const +{ + return ( theWrappedObject->isClickable()); +} + +bool PythonQtWrapper_QHeaderView::isIndexHidden(QHeaderView* theWrappedObject, const QModelIndex& index) const +{ + return ( ((PythonQtPublicPromoter_QHeaderView*)theWrappedObject)->promoted_isIndexHidden(index)); +} + +bool PythonQtWrapper_QHeaderView::isMovable(QHeaderView* theWrappedObject) const +{ + return ( theWrappedObject->isMovable()); +} + +bool PythonQtWrapper_QHeaderView::isSectionHidden(QHeaderView* theWrappedObject, int logicalIndex) const +{ + return ( theWrappedObject->isSectionHidden(logicalIndex)); +} + +bool PythonQtWrapper_QHeaderView::isSortIndicatorShown(QHeaderView* theWrappedObject) const +{ + return ( theWrappedObject->isSortIndicatorShown()); +} + +int PythonQtWrapper_QHeaderView::length(QHeaderView* theWrappedObject) const +{ + return ( theWrappedObject->length()); +} + +int PythonQtWrapper_QHeaderView::logicalIndex(QHeaderView* theWrappedObject, int visualIndex) const +{ + return ( theWrappedObject->logicalIndex(visualIndex)); +} + +int PythonQtWrapper_QHeaderView::logicalIndexAt(QHeaderView* theWrappedObject, const QPoint& pos) const +{ + return ( theWrappedObject->logicalIndexAt(pos)); +} + +int PythonQtWrapper_QHeaderView::logicalIndexAt(QHeaderView* theWrappedObject, int position) const +{ + return ( theWrappedObject->logicalIndexAt(position)); +} + +int PythonQtWrapper_QHeaderView::logicalIndexAt(QHeaderView* theWrappedObject, int x, int y) const +{ + return ( theWrappedObject->logicalIndexAt(x, y)); +} + +int PythonQtWrapper_QHeaderView::minimumSectionSize(QHeaderView* theWrappedObject) const +{ + return ( theWrappedObject->minimumSectionSize()); +} + +void PythonQtWrapper_QHeaderView::mouseDoubleClickEvent(QHeaderView* theWrappedObject, QMouseEvent* e) +{ + ( ((PythonQtPublicPromoter_QHeaderView*)theWrappedObject)->promoted_mouseDoubleClickEvent(e)); +} + +void PythonQtWrapper_QHeaderView::mouseMoveEvent(QHeaderView* theWrappedObject, QMouseEvent* e) +{ + ( ((PythonQtPublicPromoter_QHeaderView*)theWrappedObject)->promoted_mouseMoveEvent(e)); +} + +void PythonQtWrapper_QHeaderView::mousePressEvent(QHeaderView* theWrappedObject, QMouseEvent* e) +{ + ( ((PythonQtPublicPromoter_QHeaderView*)theWrappedObject)->promoted_mousePressEvent(e)); +} + +void PythonQtWrapper_QHeaderView::mouseReleaseEvent(QHeaderView* theWrappedObject, QMouseEvent* e) +{ + ( ((PythonQtPublicPromoter_QHeaderView*)theWrappedObject)->promoted_mouseReleaseEvent(e)); +} + +void PythonQtWrapper_QHeaderView::moveSection(QHeaderView* theWrappedObject, int from, int to) +{ + ( theWrappedObject->moveSection(from, to)); +} + +int PythonQtWrapper_QHeaderView::offset(QHeaderView* theWrappedObject) const +{ + return ( theWrappedObject->offset()); +} + +Qt::Orientation PythonQtWrapper_QHeaderView::orientation(QHeaderView* theWrappedObject) const +{ + return ( theWrappedObject->orientation()); +} + +void PythonQtWrapper_QHeaderView::paintEvent(QHeaderView* theWrappedObject, QPaintEvent* e) +{ + ( ((PythonQtPublicPromoter_QHeaderView*)theWrappedObject)->promoted_paintEvent(e)); +} + +void PythonQtWrapper_QHeaderView::paintSection(QHeaderView* theWrappedObject, QPainter* painter, const QRect& rect, int logicalIndex) const +{ + ( ((PythonQtPublicPromoter_QHeaderView*)theWrappedObject)->promoted_paintSection(painter, rect, logicalIndex)); +} + +void PythonQtWrapper_QHeaderView::reset(QHeaderView* theWrappedObject) +{ + ( ((PythonQtPublicPromoter_QHeaderView*)theWrappedObject)->promoted_reset()); +} + +QHeaderView::ResizeMode PythonQtWrapper_QHeaderView::resizeMode(QHeaderView* theWrappedObject, int logicalIndex) const +{ + return ( theWrappedObject->resizeMode(logicalIndex)); +} + +void PythonQtWrapper_QHeaderView::resizeSection(QHeaderView* theWrappedObject, int logicalIndex, int size) +{ + ( theWrappedObject->resizeSection(logicalIndex, size)); +} + +void PythonQtWrapper_QHeaderView::resizeSections(QHeaderView* theWrappedObject, QHeaderView::ResizeMode mode) +{ + ( theWrappedObject->resizeSections(mode)); +} + +bool PythonQtWrapper_QHeaderView::restoreState(QHeaderView* theWrappedObject, const QByteArray& state) +{ + return ( theWrappedObject->restoreState(state)); +} + +void PythonQtWrapper_QHeaderView::rowsInserted(QHeaderView* theWrappedObject, const QModelIndex& parent, int start, int end) +{ + ( ((PythonQtPublicPromoter_QHeaderView*)theWrappedObject)->promoted_rowsInserted(parent, start, end)); +} + +QByteArray PythonQtWrapper_QHeaderView::saveState(QHeaderView* theWrappedObject) const +{ + return ( theWrappedObject->saveState()); +} + +void PythonQtWrapper_QHeaderView::scrollContentsBy(QHeaderView* theWrappedObject, int dx, int dy) +{ + ( ((PythonQtPublicPromoter_QHeaderView*)theWrappedObject)->promoted_scrollContentsBy(dx, dy)); +} + +void PythonQtWrapper_QHeaderView::scrollTo(QHeaderView* theWrappedObject, const QModelIndex& index, QAbstractItemView::ScrollHint hint) +{ + ( ((PythonQtPublicPromoter_QHeaderView*)theWrappedObject)->promoted_scrollTo(index, hint)); +} + +int PythonQtWrapper_QHeaderView::sectionPosition(QHeaderView* theWrappedObject, int logicalIndex) const +{ + return ( theWrappedObject->sectionPosition(logicalIndex)); +} + +int PythonQtWrapper_QHeaderView::sectionSize(QHeaderView* theWrappedObject, int logicalIndex) const +{ + return ( theWrappedObject->sectionSize(logicalIndex)); +} + +QSize PythonQtWrapper_QHeaderView::sectionSizeFromContents(QHeaderView* theWrappedObject, int logicalIndex) const +{ + return ( ((PythonQtPublicPromoter_QHeaderView*)theWrappedObject)->promoted_sectionSizeFromContents(logicalIndex)); +} + +int PythonQtWrapper_QHeaderView::sectionSizeHint(QHeaderView* theWrappedObject, int logicalIndex) const +{ + return ( theWrappedObject->sectionSizeHint(logicalIndex)); +} + +int PythonQtWrapper_QHeaderView::sectionViewportPosition(QHeaderView* theWrappedObject, int logicalIndex) const +{ + return ( theWrappedObject->sectionViewportPosition(logicalIndex)); +} + +bool PythonQtWrapper_QHeaderView::sectionsHidden(QHeaderView* theWrappedObject) const +{ + return ( theWrappedObject->sectionsHidden()); +} + +bool PythonQtWrapper_QHeaderView::sectionsMoved(QHeaderView* theWrappedObject) const +{ + return ( theWrappedObject->sectionsMoved()); +} + +void PythonQtWrapper_QHeaderView::setCascadingSectionResizes(QHeaderView* theWrappedObject, bool enable) +{ + ( theWrappedObject->setCascadingSectionResizes(enable)); +} + +void PythonQtWrapper_QHeaderView::setClickable(QHeaderView* theWrappedObject, bool clickable) +{ + ( theWrappedObject->setClickable(clickable)); +} + +void PythonQtWrapper_QHeaderView::setDefaultAlignment(QHeaderView* theWrappedObject, Qt::Alignment alignment) +{ + ( theWrappedObject->setDefaultAlignment(alignment)); +} + +void PythonQtWrapper_QHeaderView::setDefaultSectionSize(QHeaderView* theWrappedObject, int size) +{ + ( theWrappedObject->setDefaultSectionSize(size)); +} + +void PythonQtWrapper_QHeaderView::setHighlightSections(QHeaderView* theWrappedObject, bool highlight) +{ + ( theWrappedObject->setHighlightSections(highlight)); +} + +void PythonQtWrapper_QHeaderView::setMinimumSectionSize(QHeaderView* theWrappedObject, int size) +{ + ( theWrappedObject->setMinimumSectionSize(size)); +} + +void PythonQtWrapper_QHeaderView::setModel(QHeaderView* theWrappedObject, QAbstractItemModel* model) +{ + ( ((PythonQtPublicPromoter_QHeaderView*)theWrappedObject)->promoted_setModel(model)); +} + +void PythonQtWrapper_QHeaderView::setMovable(QHeaderView* theWrappedObject, bool movable) +{ + ( theWrappedObject->setMovable(movable)); +} + +void PythonQtWrapper_QHeaderView::setResizeMode(QHeaderView* theWrappedObject, QHeaderView::ResizeMode mode) +{ + ( theWrappedObject->setResizeMode(mode)); +} + +void PythonQtWrapper_QHeaderView::setResizeMode(QHeaderView* theWrappedObject, int logicalIndex, QHeaderView::ResizeMode mode) +{ + ( theWrappedObject->setResizeMode(logicalIndex, mode)); +} + +void PythonQtWrapper_QHeaderView::setSectionHidden(QHeaderView* theWrappedObject, int logicalIndex, bool hide) +{ + ( theWrappedObject->setSectionHidden(logicalIndex, hide)); +} + +void PythonQtWrapper_QHeaderView::setSelection(QHeaderView* theWrappedObject, const QRect& rect, QItemSelectionModel::SelectionFlags flags) +{ + ( ((PythonQtPublicPromoter_QHeaderView*)theWrappedObject)->promoted_setSelection(rect, flags)); +} + +void PythonQtWrapper_QHeaderView::setSortIndicator(QHeaderView* theWrappedObject, int logicalIndex, Qt::SortOrder order) +{ + ( theWrappedObject->setSortIndicator(logicalIndex, order)); +} + +void PythonQtWrapper_QHeaderView::setSortIndicatorShown(QHeaderView* theWrappedObject, bool show) +{ + ( theWrappedObject->setSortIndicatorShown(show)); +} + +void PythonQtWrapper_QHeaderView::setStretchLastSection(QHeaderView* theWrappedObject, bool stretch) +{ + ( theWrappedObject->setStretchLastSection(stretch)); +} + +void PythonQtWrapper_QHeaderView::showSection(QHeaderView* theWrappedObject, int logicalIndex) +{ + ( theWrappedObject->showSection(logicalIndex)); +} + +QSize PythonQtWrapper_QHeaderView::sizeHint(QHeaderView* theWrappedObject) const +{ + return ( theWrappedObject->sizeHint()); +} + +Qt::SortOrder PythonQtWrapper_QHeaderView::sortIndicatorOrder(QHeaderView* theWrappedObject) const +{ + return ( theWrappedObject->sortIndicatorOrder()); +} + +int PythonQtWrapper_QHeaderView::sortIndicatorSection(QHeaderView* theWrappedObject) const +{ + return ( theWrappedObject->sortIndicatorSection()); +} + +bool PythonQtWrapper_QHeaderView::stretchLastSection(QHeaderView* theWrappedObject) const +{ + return ( theWrappedObject->stretchLastSection()); +} + +int PythonQtWrapper_QHeaderView::stretchSectionCount(QHeaderView* theWrappedObject) const +{ + return ( theWrappedObject->stretchSectionCount()); +} + +void PythonQtWrapper_QHeaderView::swapSections(QHeaderView* theWrappedObject, int first, int second) +{ + ( theWrappedObject->swapSections(first, second)); +} + +void PythonQtWrapper_QHeaderView::updateGeometries(QHeaderView* theWrappedObject) +{ + ( ((PythonQtPublicPromoter_QHeaderView*)theWrappedObject)->promoted_updateGeometries()); +} + +int PythonQtWrapper_QHeaderView::verticalOffset(QHeaderView* theWrappedObject) const +{ + return ( ((PythonQtPublicPromoter_QHeaderView*)theWrappedObject)->promoted_verticalOffset()); +} + +bool PythonQtWrapper_QHeaderView::viewportEvent(QHeaderView* theWrappedObject, QEvent* e) +{ + return ( ((PythonQtPublicPromoter_QHeaderView*)theWrappedObject)->promoted_viewportEvent(e)); +} + +int PythonQtWrapper_QHeaderView::visualIndex(QHeaderView* theWrappedObject, int logicalIndex) const +{ + return ( theWrappedObject->visualIndex(logicalIndex)); +} + +int PythonQtWrapper_QHeaderView::visualIndexAt(QHeaderView* theWrappedObject, int position) const +{ + return ( theWrappedObject->visualIndexAt(position)); +} + +QRect PythonQtWrapper_QHeaderView::visualRect(QHeaderView* theWrappedObject, const QModelIndex& index) const +{ + return ( ((PythonQtPublicPromoter_QHeaderView*)theWrappedObject)->promoted_visualRect(index)); +} + +QRegion PythonQtWrapper_QHeaderView::visualRegionForSelection(QHeaderView* theWrappedObject, const QItemSelection& selection) const +{ + return ( ((PythonQtPublicPromoter_QHeaderView*)theWrappedObject)->promoted_visualRegionForSelection(selection)); +} + + + +QHelpEvent* PythonQtWrapper_QHelpEvent::new_QHelpEvent(QEvent::Type type, const QPoint& pos, const QPoint& globalPos) +{ +return new QHelpEvent(type, pos, globalPos); } + +const QPoint* PythonQtWrapper_QHelpEvent::globalPos(QHelpEvent* theWrappedObject) const +{ + return &( theWrappedObject->globalPos()); +} + +int PythonQtWrapper_QHelpEvent::globalX(QHelpEvent* theWrappedObject) const +{ + return ( theWrappedObject->globalX()); +} + +int PythonQtWrapper_QHelpEvent::globalY(QHelpEvent* theWrappedObject) const +{ + return ( theWrappedObject->globalY()); +} + +const QPoint* PythonQtWrapper_QHelpEvent::pos(QHelpEvent* theWrappedObject) const +{ + return &( theWrappedObject->pos()); +} + +int PythonQtWrapper_QHelpEvent::x(QHelpEvent* theWrappedObject) const +{ + return ( theWrappedObject->x()); +} + +int PythonQtWrapper_QHelpEvent::y(QHelpEvent* theWrappedObject) const +{ + return ( theWrappedObject->y()); +} + + + +QHideEvent* PythonQtWrapper_QHideEvent::new_QHideEvent() +{ +return new QHideEvent(); } + + + +QHoverEvent* PythonQtWrapper_QHoverEvent::new_QHoverEvent(QEvent::Type type, const QPoint& pos, const QPoint& oldPos) +{ +return new PythonQtShell_QHoverEvent(type, pos, oldPos); } + +const QPoint* PythonQtWrapper_QHoverEvent::oldPos(QHoverEvent* theWrappedObject) const +{ + return &( theWrappedObject->oldPos()); +} + +const QPoint* PythonQtWrapper_QHoverEvent::pos(QHoverEvent* theWrappedObject) const +{ + return &( theWrappedObject->pos()); +} + + + +QIconDragEvent* PythonQtWrapper_QIconDragEvent::new_QIconDragEvent() +{ +return new QIconDragEvent(); } + + + +QSize PythonQtShell_QIconEngine::actualSize(const QSize& size, QIcon::Mode mode, QIcon::State state) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "actualSize"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QSize" , "const QSize&" , "QIcon::Mode" , "QIcon::State"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + QSize returnValue; + void* args[4] = {NULL, (void*)&size, (void*)&mode, (void*)&state}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("actualSize", methodInfo, result); + } else { + returnValue = *((QSize*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QIconEngine::actualSize(size, mode, state); +} +void PythonQtShell_QIconEngine::addFile(const QString& fileName, const QSize& size, QIcon::Mode mode, QIcon::State state) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "addFile"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "const QString&" , "const QSize&" , "QIcon::Mode" , "QIcon::State"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(5, argumentList); + void* args[5] = {NULL, (void*)&fileName, (void*)&size, (void*)&mode, (void*)&state}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QIconEngine::addFile(fileName, size, mode, state); +} +void PythonQtShell_QIconEngine::addPixmap(const QPixmap& pixmap, QIcon::Mode mode, QIcon::State state) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "addPixmap"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "const QPixmap&" , "QIcon::Mode" , "QIcon::State"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + void* args[4] = {NULL, (void*)&pixmap, (void*)&mode, (void*)&state}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QIconEngine::addPixmap(pixmap, mode, state); +} +void PythonQtShell_QIconEngine::paint(QPainter* painter, const QRect& rect, QIcon::Mode mode, QIcon::State state) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "paint"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QPainter*" , "const QRect&" , "QIcon::Mode" , "QIcon::State"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(5, argumentList); + void* args[5] = {NULL, (void*)&painter, (void*)&rect, (void*)&mode, (void*)&state}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + +} +QPixmap PythonQtShell_QIconEngine::pixmap(const QSize& size, QIcon::Mode mode, QIcon::State state) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "pixmap"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QPixmap" , "const QSize&" , "QIcon::Mode" , "QIcon::State"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + QPixmap returnValue; + void* args[4] = {NULL, (void*)&size, (void*)&mode, (void*)&state}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("pixmap", methodInfo, result); + } else { + returnValue = *((QPixmap*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QIconEngine::pixmap(size, mode, state); +} +QIconEngine* PythonQtWrapper_QIconEngine::new_QIconEngine() +{ +return new PythonQtShell_QIconEngine(); } + +QSize PythonQtWrapper_QIconEngine::actualSize(QIconEngine* theWrappedObject, const QSize& size, QIcon::Mode mode, QIcon::State state) +{ + return ( ((PythonQtPublicPromoter_QIconEngine*)theWrappedObject)->promoted_actualSize(size, mode, state)); +} + +void PythonQtWrapper_QIconEngine::addFile(QIconEngine* theWrappedObject, const QString& fileName, const QSize& size, QIcon::Mode mode, QIcon::State state) +{ + ( ((PythonQtPublicPromoter_QIconEngine*)theWrappedObject)->promoted_addFile(fileName, size, mode, state)); +} + +void PythonQtWrapper_QIconEngine::addPixmap(QIconEngine* theWrappedObject, const QPixmap& pixmap, QIcon::Mode mode, QIcon::State state) +{ + ( ((PythonQtPublicPromoter_QIconEngine*)theWrappedObject)->promoted_addPixmap(pixmap, mode, state)); +} + +QPixmap PythonQtWrapper_QIconEngine::pixmap(QIconEngine* theWrappedObject, const QSize& size, QIcon::Mode mode, QIcon::State state) +{ + return ( ((PythonQtPublicPromoter_QIconEngine*)theWrappedObject)->promoted_pixmap(size, mode, state)); +} + + diff --git a/generated_cpp_47/com_trolltech_qt_gui/com_trolltech_qt_gui3.h b/generated_cpp_47/com_trolltech_qt_gui/com_trolltech_qt_gui3.h new file mode 100644 index 00000000..b3e69e8c --- /dev/null +++ b/generated_cpp_47/com_trolltech_qt_gui/com_trolltech_qt_gui3.h @@ -0,0 +1,1833 @@ +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#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 = 0, QGraphicsScene* scene = 0):QGraphicsPixmapItem(parent, scene),_wrapper(NULL) {}; + PythonQtShell_QGraphicsPixmapItem(const QPixmap& pixmap, QGraphicsItem* parent = 0, QGraphicsScene* scene = 0):QGraphicsPixmapItem(pixmap, parent, scene),_wrapper(NULL) {}; + +virtual void advance(int phase); +virtual QRectF boundingRect() const; +virtual bool collidesWithItem(const QGraphicsItem* other, Qt::ItemSelectionMode mode) const; +virtual bool collidesWithPath(const QPainterPath& path, Qt::ItemSelectionMode mode) const; +virtual bool contains(const QPointF& point) const; +virtual void contextMenuEvent(QGraphicsSceneContextMenuEvent* event); +virtual void dragEnterEvent(QGraphicsSceneDragDropEvent* event); +virtual void dragLeaveEvent(QGraphicsSceneDragDropEvent* event); +virtual void dragMoveEvent(QGraphicsSceneDragDropEvent* event); +virtual void dropEvent(QGraphicsSceneDragDropEvent* event); +virtual QVariant extension(const QVariant& variant) const; +virtual void focusInEvent(QFocusEvent* event); +virtual void focusOutEvent(QFocusEvent* event); +virtual void hoverEnterEvent(QGraphicsSceneHoverEvent* event); +virtual void hoverLeaveEvent(QGraphicsSceneHoverEvent* event); +virtual void hoverMoveEvent(QGraphicsSceneHoverEvent* event); +virtual void inputMethodEvent(QInputMethodEvent* event); +virtual QVariant inputMethodQuery(Qt::InputMethodQuery query) const; +virtual bool isObscuredBy(const QGraphicsItem* item) const; +virtual QVariant itemChange(QGraphicsItem::GraphicsItemChange change, const QVariant& value); +virtual void keyPressEvent(QKeyEvent* event); +virtual void keyReleaseEvent(QKeyEvent* event); +virtual void mouseDoubleClickEvent(QGraphicsSceneMouseEvent* event); +virtual void mouseMoveEvent(QGraphicsSceneMouseEvent* event); +virtual void mousePressEvent(QGraphicsSceneMouseEvent* event); +virtual void mouseReleaseEvent(QGraphicsSceneMouseEvent* event); +virtual QPainterPath opaqueArea() const; +virtual void paint(QPainter* painter, const QStyleOptionGraphicsItem* option, QWidget* widget); +virtual bool sceneEvent(QEvent* event); +virtual bool sceneEventFilter(QGraphicsItem* watched, QEvent* event); +virtual QPainterPath shape() const; +virtual int type() const; +virtual void wheelEvent(QGraphicsSceneWheelEvent* event); + + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtPublicPromoter_QGraphicsPixmapItem : public QGraphicsPixmapItem +{ public: +inline QRectF promoted_boundingRect() const { return QGraphicsPixmapItem::boundingRect(); } +inline bool promoted_contains(const QPointF& point) const { return QGraphicsPixmapItem::contains(point); } +inline QVariant promoted_extension(const QVariant& variant) const { return QGraphicsPixmapItem::extension(variant); } +inline bool promoted_isObscuredBy(const QGraphicsItem* item) const { return QGraphicsPixmapItem::isObscuredBy(item); } +inline QPainterPath promoted_opaqueArea() const { return QGraphicsPixmapItem::opaqueArea(); } +inline void promoted_paint(QPainter* painter, const QStyleOptionGraphicsItem* option, QWidget* widget) { QGraphicsPixmapItem::paint(painter, option, widget); } +inline QPainterPath promoted_shape() const { return QGraphicsPixmapItem::shape(); } +inline int promoted_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 = 0, QGraphicsScene* scene = 0); +QGraphicsPixmapItem* new_QGraphicsPixmapItem(const QPixmap& pixmap, QGraphicsItem* parent = 0, QGraphicsScene* scene = 0); +void delete_QGraphicsPixmapItem(QGraphicsPixmapItem* obj) { delete obj; } + QRectF boundingRect(QGraphicsPixmapItem* theWrappedObject) const; + bool contains(QGraphicsPixmapItem* theWrappedObject, const QPointF& point) const; + QVariant extension(QGraphicsPixmapItem* theWrappedObject, const QVariant& variant) const; + bool isObscuredBy(QGraphicsPixmapItem* theWrappedObject, const QGraphicsItem* item) const; + QPointF offset(QGraphicsPixmapItem* theWrappedObject) const; + QPainterPath opaqueArea(QGraphicsPixmapItem* theWrappedObject) const; + void paint(QGraphicsPixmapItem* theWrappedObject, QPainter* painter, const QStyleOptionGraphicsItem* option, QWidget* widget); + QPixmap pixmap(QGraphicsPixmapItem* theWrappedObject) const; + 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 shape(QGraphicsPixmapItem* theWrappedObject) const; + QGraphicsPixmapItem::ShapeMode shapeMode(QGraphicsPixmapItem* theWrappedObject) const; + Qt::TransformationMode transformationMode(QGraphicsPixmapItem* theWrappedObject) const; + int type(QGraphicsPixmapItem* theWrappedObject) const; +}; + + + + + +class PythonQtShell_QGraphicsPolygonItem : public QGraphicsPolygonItem +{ +public: + PythonQtShell_QGraphicsPolygonItem(QGraphicsItem* parent = 0, QGraphicsScene* scene = 0):QGraphicsPolygonItem(parent, scene),_wrapper(NULL) {}; + PythonQtShell_QGraphicsPolygonItem(const QPolygonF& polygon, QGraphicsItem* parent = 0, QGraphicsScene* scene = 0):QGraphicsPolygonItem(polygon, parent, scene),_wrapper(NULL) {}; + +virtual bool isObscuredBy(const QGraphicsItem* item) const; +virtual QPainterPath opaqueArea() const; + + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtPublicPromoter_QGraphicsPolygonItem : public QGraphicsPolygonItem +{ public: +inline bool promoted_isObscuredBy(const QGraphicsItem* item) const { return QGraphicsPolygonItem::isObscuredBy(item); } +inline QPainterPath promoted_opaqueArea() const { return QGraphicsPolygonItem::opaqueArea(); } +}; + +class PythonQtWrapper_QGraphicsPolygonItem : public QObject +{ Q_OBJECT +public: +Q_ENUMS(enum_1 ) +enum enum_1{ + Type = QGraphicsPolygonItem::Type}; +public slots: +QGraphicsPolygonItem* new_QGraphicsPolygonItem(QGraphicsItem* parent = 0, QGraphicsScene* scene = 0); +QGraphicsPolygonItem* new_QGraphicsPolygonItem(const QPolygonF& polygon, QGraphicsItem* parent = 0, QGraphicsScene* scene = 0); +void delete_QGraphicsPolygonItem(QGraphicsPolygonItem* obj) { delete obj; } + QRectF boundingRect(QGraphicsPolygonItem* theWrappedObject) const; + bool contains(QGraphicsPolygonItem* theWrappedObject, const QPointF& point) const; + Qt::FillRule fillRule(QGraphicsPolygonItem* theWrappedObject) const; + bool isObscuredBy(QGraphicsPolygonItem* theWrappedObject, const QGraphicsItem* item) const; + QPainterPath opaqueArea(QGraphicsPolygonItem* theWrappedObject) const; + void paint(QGraphicsPolygonItem* theWrappedObject, QPainter* painter, const QStyleOptionGraphicsItem* option, QWidget* widget = 0); + QPolygonF polygon(QGraphicsPolygonItem* theWrappedObject) const; + void setFillRule(QGraphicsPolygonItem* theWrappedObject, Qt::FillRule rule); + void setPolygon(QGraphicsPolygonItem* theWrappedObject, const QPolygonF& polygon); + QPainterPath shape(QGraphicsPolygonItem* theWrappedObject) const; + int type(QGraphicsPolygonItem* theWrappedObject) const; +}; + + + + + +class PythonQtShell_QGraphicsProxyWidget : public QGraphicsProxyWidget +{ +public: + PythonQtShell_QGraphicsProxyWidget(QGraphicsItem* parent = 0, Qt::WindowFlags wFlags = 0):QGraphicsProxyWidget(parent, wFlags),_wrapper(NULL) {}; + +virtual void changeEvent(QEvent* event); +virtual void childEvent(QChildEvent* arg__1); +virtual void closeEvent(QCloseEvent* event); +virtual void customEvent(QEvent* arg__1); +virtual bool event(QEvent* event); +virtual bool eventFilter(QObject* object, QEvent* event); +virtual bool focusNextPrevChild(bool next); +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 void moveEvent(QGraphicsSceneMoveEvent* event); +virtual void paintWindowFrame(QPainter* painter, const QStyleOptionGraphicsItem* option, QWidget* widget); +virtual void polishEvent(); +virtual QVariant propertyChange(const QString& propertyName, const QVariant& value); +virtual void resizeEvent(QGraphicsSceneResizeEvent* event); +virtual void setGeometry(const QRectF& rect); +virtual void showEvent(QShowEvent* event); +virtual QSizeF sizeHint(Qt::SizeHint which, const QSizeF& constraint = QSizeF()) const; +virtual void timerEvent(QTimerEvent* arg__1); +virtual void ungrabKeyboardEvent(QEvent* event); +virtual void ungrabMouseEvent(QEvent* event); +virtual void updateGeometry(); +virtual bool windowFrameEvent(QEvent* e); +virtual Qt::WindowFrameSection windowFrameSectionAt(const QPointF& pos) const; + + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtPublicPromoter_QGraphicsProxyWidget : public QGraphicsProxyWidget +{ public: +inline bool promoted_event(QEvent* event) { return QGraphicsProxyWidget::event(event); } +inline bool promoted_eventFilter(QObject* object, QEvent* event) { return QGraphicsProxyWidget::eventFilter(object, event); } +inline bool promoted_focusNextPrevChild(bool next) { return QGraphicsProxyWidget::focusNextPrevChild(next); } +inline void promoted_grabMouseEvent(QEvent* event) { QGraphicsProxyWidget::grabMouseEvent(event); } +inline void promoted_hideEvent(QHideEvent* event) { QGraphicsProxyWidget::hideEvent(event); } +inline void promoted_hoverLeaveEvent(QGraphicsSceneHoverEvent* event) { QGraphicsProxyWidget::hoverLeaveEvent(event); } +inline void promoted_hoverMoveEvent(QGraphicsSceneHoverEvent* event) { QGraphicsProxyWidget::hoverMoveEvent(event); } +inline void promoted_resizeEvent(QGraphicsSceneResizeEvent* event) { QGraphicsProxyWidget::resizeEvent(event); } +inline void promoted_setGeometry(const QRectF& rect) { QGraphicsProxyWidget::setGeometry(rect); } +inline void promoted_showEvent(QShowEvent* event) { QGraphicsProxyWidget::showEvent(event); } +inline QSizeF promoted_sizeHint(Qt::SizeHint which, const QSizeF& constraint = QSizeF()) const { return QGraphicsProxyWidget::sizeHint(which, constraint); } +inline void promoted_ungrabMouseEvent(QEvent* event) { QGraphicsProxyWidget::ungrabMouseEvent(event); } +}; + +class PythonQtWrapper_QGraphicsProxyWidget : public QObject +{ Q_OBJECT +public: +Q_ENUMS(enum_1 ) +enum enum_1{ + Type = QGraphicsProxyWidget::Type}; +public slots: +QGraphicsProxyWidget* new_QGraphicsProxyWidget(QGraphicsItem* parent = 0, Qt::WindowFlags wFlags = 0); +void delete_QGraphicsProxyWidget(QGraphicsProxyWidget* obj) { delete obj; } + QGraphicsProxyWidget* createProxyForChildWidget(QGraphicsProxyWidget* theWrappedObject, QWidget* child); + bool event(QGraphicsProxyWidget* theWrappedObject, QEvent* event); + bool eventFilter(QGraphicsProxyWidget* theWrappedObject, QObject* object, QEvent* event); + bool focusNextPrevChild(QGraphicsProxyWidget* theWrappedObject, bool next); + void grabMouseEvent(QGraphicsProxyWidget* theWrappedObject, QEvent* event); + void hideEvent(QGraphicsProxyWidget* theWrappedObject, QHideEvent* event); + void hoverLeaveEvent(QGraphicsProxyWidget* theWrappedObject, QGraphicsSceneHoverEvent* event); + void hoverMoveEvent(QGraphicsProxyWidget* theWrappedObject, QGraphicsSceneHoverEvent* event); + void paint(QGraphicsProxyWidget* theWrappedObject, QPainter* painter, const QStyleOptionGraphicsItem* option, QWidget* widget); + void resizeEvent(QGraphicsProxyWidget* theWrappedObject, QGraphicsSceneResizeEvent* event); + void setGeometry(QGraphicsProxyWidget* theWrappedObject, const QRectF& rect); + void setWidget(QGraphicsProxyWidget* theWrappedObject, QWidget* widget); + void showEvent(QGraphicsProxyWidget* theWrappedObject, QShowEvent* event); + QSizeF sizeHint(QGraphicsProxyWidget* theWrappedObject, Qt::SizeHint which, const QSizeF& constraint = QSizeF()) const; + QRectF subWidgetRect(QGraphicsProxyWidget* theWrappedObject, const QWidget* widget) const; + int type(QGraphicsProxyWidget* theWrappedObject) const; + void ungrabMouseEvent(QGraphicsProxyWidget* theWrappedObject, QEvent* event); + QWidget* widget(QGraphicsProxyWidget* theWrappedObject) const; +}; + + + + + +class PythonQtShell_QGraphicsRectItem : public QGraphicsRectItem +{ +public: + PythonQtShell_QGraphicsRectItem(QGraphicsItem* parent = 0, QGraphicsScene* scene = 0):QGraphicsRectItem(parent, scene),_wrapper(NULL) {}; + PythonQtShell_QGraphicsRectItem(const QRectF& rect, QGraphicsItem* parent = 0, QGraphicsScene* scene = 0):QGraphicsRectItem(rect, parent, scene),_wrapper(NULL) {}; + PythonQtShell_QGraphicsRectItem(qreal x, qreal y, qreal w, qreal h, QGraphicsItem* parent = 0, QGraphicsScene* scene = 0):QGraphicsRectItem(x, y, w, h, parent, scene),_wrapper(NULL) {}; + +virtual bool isObscuredBy(const QGraphicsItem* item) const; +virtual QPainterPath opaqueArea() const; + + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtPublicPromoter_QGraphicsRectItem : public QGraphicsRectItem +{ public: +inline bool promoted_isObscuredBy(const QGraphicsItem* item) const { return QGraphicsRectItem::isObscuredBy(item); } +inline QPainterPath promoted_opaqueArea() const { return QGraphicsRectItem::opaqueArea(); } +}; + +class PythonQtWrapper_QGraphicsRectItem : public QObject +{ Q_OBJECT +public: +Q_ENUMS(enum_1 ) +enum enum_1{ + Type = QGraphicsRectItem::Type}; +public slots: +QGraphicsRectItem* new_QGraphicsRectItem(QGraphicsItem* parent = 0, QGraphicsScene* scene = 0); +QGraphicsRectItem* new_QGraphicsRectItem(const QRectF& rect, QGraphicsItem* parent = 0, QGraphicsScene* scene = 0); +QGraphicsRectItem* new_QGraphicsRectItem(qreal x, qreal y, qreal w, qreal h, QGraphicsItem* parent = 0, QGraphicsScene* scene = 0); +void delete_QGraphicsRectItem(QGraphicsRectItem* obj) { delete obj; } + QRectF boundingRect(QGraphicsRectItem* theWrappedObject) const; + bool contains(QGraphicsRectItem* theWrappedObject, const QPointF& point) const; + bool isObscuredBy(QGraphicsRectItem* theWrappedObject, const QGraphicsItem* item) const; + QPainterPath opaqueArea(QGraphicsRectItem* theWrappedObject) const; + void paint(QGraphicsRectItem* theWrappedObject, QPainter* painter, const QStyleOptionGraphicsItem* option, QWidget* widget = 0); + QRectF rect(QGraphicsRectItem* theWrappedObject) const; + void setRect(QGraphicsRectItem* theWrappedObject, const QRectF& rect); + void setRect(QGraphicsRectItem* theWrappedObject, qreal x, qreal y, qreal w, qreal h); + QPainterPath shape(QGraphicsRectItem* theWrappedObject) const; + int type(QGraphicsRectItem* theWrappedObject) const; +}; + + + + + +class PythonQtShell_QGraphicsRotation : public QGraphicsRotation +{ +public: + PythonQtShell_QGraphicsRotation(QObject* parent = 0):QGraphicsRotation(parent),_wrapper(NULL) {}; + +virtual void applyTo(QMatrix4x4* matrix) const; +virtual void childEvent(QChildEvent* arg__1); +virtual void customEvent(QEvent* arg__1); +virtual bool event(QEvent* arg__1); +virtual bool eventFilter(QObject* arg__1, QEvent* arg__2); +virtual void timerEvent(QTimerEvent* arg__1); + + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtPublicPromoter_QGraphicsRotation : public QGraphicsRotation +{ public: +inline void promoted_applyTo(QMatrix4x4* matrix) const { QGraphicsRotation::applyTo(matrix); } +}; + +class PythonQtWrapper_QGraphicsRotation : public QObject +{ Q_OBJECT +public: +public slots: +QGraphicsRotation* new_QGraphicsRotation(QObject* parent = 0); +void delete_QGraphicsRotation(QGraphicsRotation* obj) { delete obj; } + qreal angle(QGraphicsRotation* theWrappedObject) const; + void applyTo(QGraphicsRotation* theWrappedObject, QMatrix4x4* matrix) const; + 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 = 0):QGraphicsScale(parent),_wrapper(NULL) {}; + +virtual void applyTo(QMatrix4x4* matrix) const; +virtual void childEvent(QChildEvent* arg__1); +virtual void customEvent(QEvent* arg__1); +virtual bool event(QEvent* arg__1); +virtual bool eventFilter(QObject* arg__1, QEvent* arg__2); +virtual void timerEvent(QTimerEvent* arg__1); + + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtPublicPromoter_QGraphicsScale : public QGraphicsScale +{ public: +inline void promoted_applyTo(QMatrix4x4* matrix) const { QGraphicsScale::applyTo(matrix); } +}; + +class PythonQtWrapper_QGraphicsScale : public QObject +{ Q_OBJECT +public: +public slots: +QGraphicsScale* new_QGraphicsScale(QObject* parent = 0); +void delete_QGraphicsScale(QGraphicsScale* obj) { delete obj; } + void applyTo(QGraphicsScale* theWrappedObject, QMatrix4x4* matrix) const; + QVector3D origin(QGraphicsScale* theWrappedObject) const; + void setOrigin(QGraphicsScale* theWrappedObject, const QVector3D& point); + void setXScale(QGraphicsScale* theWrappedObject, qreal arg__1); + void setYScale(QGraphicsScale* theWrappedObject, qreal arg__1); + void setZScale(QGraphicsScale* theWrappedObject, qreal arg__1); + qreal xScale(QGraphicsScale* theWrappedObject) const; + qreal yScale(QGraphicsScale* theWrappedObject) const; + qreal zScale(QGraphicsScale* theWrappedObject) const; +}; + + + + + +class PythonQtShell_QGraphicsScene : public QGraphicsScene +{ +public: + PythonQtShell_QGraphicsScene(QObject* parent = 0):QGraphicsScene(parent),_wrapper(NULL) {}; + PythonQtShell_QGraphicsScene(const QRectF& sceneRect, QObject* parent = 0):QGraphicsScene(sceneRect, parent),_wrapper(NULL) {}; + PythonQtShell_QGraphicsScene(qreal x, qreal y, qreal width, qreal height, QObject* parent = 0):QGraphicsScene(x, y, width, height, parent),_wrapper(NULL) {}; + +virtual void childEvent(QChildEvent* arg__1); +virtual void contextMenuEvent(QGraphicsSceneContextMenuEvent* event); +virtual void customEvent(QEvent* arg__1); +virtual void dragEnterEvent(QGraphicsSceneDragDropEvent* event); +virtual void dragLeaveEvent(QGraphicsSceneDragDropEvent* event); +virtual void dragMoveEvent(QGraphicsSceneDragDropEvent* event); +virtual void drawBackground(QPainter* painter, const QRectF& rect); +virtual void drawForeground(QPainter* painter, const QRectF& rect); +virtual void drawItems(QPainter* painter, int numItems, QGraphicsItem** items, const QStyleOptionGraphicsItem* options, QWidget* widget = 0); +virtual void dropEvent(QGraphicsSceneDragDropEvent* event); +virtual bool event(QEvent* event); +virtual bool eventFilter(QObject* watched, QEvent* event); +virtual void focusInEvent(QFocusEvent* event); +virtual void focusOutEvent(QFocusEvent* event); +virtual void helpEvent(QGraphicsSceneHelpEvent* event); +virtual void inputMethodEvent(QInputMethodEvent* event); +virtual QVariant inputMethodQuery(Qt::InputMethodQuery query) const; +virtual void keyPressEvent(QKeyEvent* event); +virtual void keyReleaseEvent(QKeyEvent* event); +virtual void mouseDoubleClickEvent(QGraphicsSceneMouseEvent* event); +virtual void mouseMoveEvent(QGraphicsSceneMouseEvent* event); +virtual void mousePressEvent(QGraphicsSceneMouseEvent* event); +virtual void mouseReleaseEvent(QGraphicsSceneMouseEvent* event); +virtual void timerEvent(QTimerEvent* arg__1); +virtual void wheelEvent(QGraphicsSceneWheelEvent* event); + + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtPublicPromoter_QGraphicsScene : public QGraphicsScene +{ public: +inline void promoted_contextMenuEvent(QGraphicsSceneContextMenuEvent* event) { QGraphicsScene::contextMenuEvent(event); } +inline void promoted_dragEnterEvent(QGraphicsSceneDragDropEvent* event) { QGraphicsScene::dragEnterEvent(event); } +inline void promoted_dragLeaveEvent(QGraphicsSceneDragDropEvent* event) { QGraphicsScene::dragLeaveEvent(event); } +inline void promoted_dragMoveEvent(QGraphicsSceneDragDropEvent* event) { QGraphicsScene::dragMoveEvent(event); } +inline void promoted_drawBackground(QPainter* painter, const QRectF& rect) { QGraphicsScene::drawBackground(painter, rect); } +inline void promoted_drawForeground(QPainter* painter, const QRectF& rect) { QGraphicsScene::drawForeground(painter, rect); } +inline void promoted_drawItems(QPainter* painter, int numItems, QGraphicsItem** items, const QStyleOptionGraphicsItem* options, QWidget* widget = 0) { QGraphicsScene::drawItems(painter, numItems, items, options, widget); } +inline void promoted_dropEvent(QGraphicsSceneDragDropEvent* event) { QGraphicsScene::dropEvent(event); } +inline bool promoted_event(QEvent* event) { return QGraphicsScene::event(event); } +inline bool promoted_eventFilter(QObject* watched, QEvent* event) { return QGraphicsScene::eventFilter(watched, event); } +inline void promoted_focusInEvent(QFocusEvent* event) { QGraphicsScene::focusInEvent(event); } +inline void promoted_focusOutEvent(QFocusEvent* event) { QGraphicsScene::focusOutEvent(event); } +inline void promoted_helpEvent(QGraphicsSceneHelpEvent* event) { QGraphicsScene::helpEvent(event); } +inline void promoted_inputMethodEvent(QInputMethodEvent* event) { QGraphicsScene::inputMethodEvent(event); } +inline QVariant promoted_inputMethodQuery(Qt::InputMethodQuery query) const { return QGraphicsScene::inputMethodQuery(query); } +inline void promoted_keyPressEvent(QKeyEvent* event) { QGraphicsScene::keyPressEvent(event); } +inline void promoted_keyReleaseEvent(QKeyEvent* event) { QGraphicsScene::keyReleaseEvent(event); } +inline void promoted_mouseDoubleClickEvent(QGraphicsSceneMouseEvent* event) { QGraphicsScene::mouseDoubleClickEvent(event); } +inline void promoted_mouseMoveEvent(QGraphicsSceneMouseEvent* event) { QGraphicsScene::mouseMoveEvent(event); } +inline void promoted_mousePressEvent(QGraphicsSceneMouseEvent* event) { QGraphicsScene::mousePressEvent(event); } +inline void promoted_mouseReleaseEvent(QGraphicsSceneMouseEvent* event) { QGraphicsScene::mouseReleaseEvent(event); } +inline void promoted_wheelEvent(QGraphicsSceneWheelEvent* event) { QGraphicsScene::wheelEvent(event); } +}; + +class PythonQtWrapper_QGraphicsScene : public QObject +{ Q_OBJECT +public: +Q_ENUMS(SceneLayer ItemIndexMethod ) +Q_FLAGS(SceneLayers ) +enum SceneLayer{ + ItemLayer = QGraphicsScene::ItemLayer, BackgroundLayer = QGraphicsScene::BackgroundLayer, ForegroundLayer = QGraphicsScene::ForegroundLayer, AllLayers = QGraphicsScene::AllLayers}; +enum ItemIndexMethod{ + BspTreeIndex = QGraphicsScene::BspTreeIndex, NoIndex = QGraphicsScene::NoIndex}; +Q_DECLARE_FLAGS(SceneLayers, SceneLayer) +public slots: +QGraphicsScene* new_QGraphicsScene(QObject* parent = 0); +QGraphicsScene* new_QGraphicsScene(const QRectF& sceneRect, QObject* parent = 0); +QGraphicsScene* new_QGraphicsScene(qreal x, qreal y, qreal width, qreal height, QObject* parent = 0); +void delete_QGraphicsScene(QGraphicsScene* obj) { delete obj; } + 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()); + QGraphicsEllipseItem* addEllipse(QGraphicsScene* theWrappedObject, qreal x, qreal y, qreal w, qreal h, const QPen& pen = QPen(), const QBrush& brush = QBrush()); + void addItem(QGraphicsScene* theWrappedObject, QGraphicsItem* item); + QGraphicsLineItem* addLine(QGraphicsScene* theWrappedObject, const QLineF& line, const QPen& pen = QPen()); + QGraphicsLineItem* addLine(QGraphicsScene* theWrappedObject, qreal x1, qreal y1, qreal x2, qreal y2, const QPen& pen = QPen()); + QGraphicsPathItem* addPath(QGraphicsScene* theWrappedObject, const QPainterPath& path, const QPen& pen = QPen(), const QBrush& brush = QBrush()); + QGraphicsPixmapItem* addPixmap(QGraphicsScene* theWrappedObject, const QPixmap& pixmap); + QGraphicsPolygonItem* addPolygon(QGraphicsScene* theWrappedObject, const QPolygonF& polygon, const QPen& pen = QPen(), const QBrush& brush = QBrush()); + QGraphicsRectItem* addRect(QGraphicsScene* theWrappedObject, const QRectF& rect, const QPen& pen = QPen(), const QBrush& brush = QBrush()); + QGraphicsRectItem* addRect(QGraphicsScene* theWrappedObject, qreal x, qreal y, qreal w, qreal h, const QPen& pen = QPen(), const QBrush& brush = QBrush()); + QGraphicsSimpleTextItem* addSimpleText(QGraphicsScene* theWrappedObject, const QString& text, const QFont& font = QFont()); + QGraphicsTextItem* addText(QGraphicsScene* theWrappedObject, const QString& text, const QFont& font = QFont()); + QGraphicsProxyWidget* addWidget(QGraphicsScene* theWrappedObject, QWidget* widget, Qt::WindowFlags wFlags = 0); + QBrush backgroundBrush(QGraphicsScene* theWrappedObject) const; + int bspTreeDepth(QGraphicsScene* theWrappedObject) const; + void clearFocus(QGraphicsScene* theWrappedObject); + QList collidingItems(QGraphicsScene* theWrappedObject, const QGraphicsItem* item, Qt::ItemSelectionMode mode = Qt::IntersectsItemShape) const; + void contextMenuEvent(QGraphicsScene* theWrappedObject, QGraphicsSceneContextMenuEvent* event); + QGraphicsItemGroup* createItemGroup(QGraphicsScene* theWrappedObject, const QList& items); + void destroyItemGroup(QGraphicsScene* theWrappedObject, QGraphicsItemGroup* group); + void dragEnterEvent(QGraphicsScene* theWrappedObject, QGraphicsSceneDragDropEvent* event); + void dragLeaveEvent(QGraphicsScene* theWrappedObject, QGraphicsSceneDragDropEvent* event); + void dragMoveEvent(QGraphicsScene* theWrappedObject, QGraphicsSceneDragDropEvent* event); + void drawBackground(QGraphicsScene* theWrappedObject, QPainter* painter, const QRectF& rect); + void drawForeground(QGraphicsScene* theWrappedObject, QPainter* painter, const QRectF& rect); + void drawItems(QGraphicsScene* theWrappedObject, QPainter* painter, int numItems, QGraphicsItem** items, const QStyleOptionGraphicsItem* options, QWidget* widget = 0); + void dropEvent(QGraphicsScene* theWrappedObject, QGraphicsSceneDragDropEvent* event); + bool event(QGraphicsScene* theWrappedObject, QEvent* event); + bool eventFilter(QGraphicsScene* theWrappedObject, QObject* watched, QEvent* event); + void focusInEvent(QGraphicsScene* theWrappedObject, QFocusEvent* event); + QGraphicsItem* focusItem(QGraphicsScene* theWrappedObject) const; + void focusOutEvent(QGraphicsScene* theWrappedObject, QFocusEvent* event); + QFont font(QGraphicsScene* theWrappedObject) const; + QBrush foregroundBrush(QGraphicsScene* theWrappedObject) const; + bool hasFocus(QGraphicsScene* theWrappedObject) const; + qreal height(QGraphicsScene* theWrappedObject) const; + void helpEvent(QGraphicsScene* theWrappedObject, QGraphicsSceneHelpEvent* event); + void inputMethodEvent(QGraphicsScene* theWrappedObject, QInputMethodEvent* event); + QVariant inputMethodQuery(QGraphicsScene* theWrappedObject, Qt::InputMethodQuery query) const; + void invalidate(QGraphicsScene* theWrappedObject, qreal x, qreal y, qreal w, qreal h, QGraphicsScene::SceneLayers layers = QGraphicsScene::AllLayers); + bool isActive(QGraphicsScene* theWrappedObject) const; + bool isSortCacheEnabled(QGraphicsScene* theWrappedObject) const; + QGraphicsItem* itemAt(QGraphicsScene* theWrappedObject, const QPointF& pos) const; + QGraphicsItem* itemAt(QGraphicsScene* theWrappedObject, const QPointF& pos, const QTransform& deviceTransform) const; + QGraphicsItem* itemAt(QGraphicsScene* theWrappedObject, qreal x, qreal y) const; + QGraphicsItem* itemAt(QGraphicsScene* theWrappedObject, qreal x, qreal y, const QTransform& deviceTransform) const; + QGraphicsScene::ItemIndexMethod itemIndexMethod(QGraphicsScene* theWrappedObject) const; + QList items(QGraphicsScene* theWrappedObject) const; + QList items(QGraphicsScene* theWrappedObject, Qt::SortOrder order) const; + QList items(QGraphicsScene* theWrappedObject, const QPainterPath& path, Qt::ItemSelectionMode mode = Qt::IntersectsItemShape) const; + QList items(QGraphicsScene* theWrappedObject, const QPainterPath& path, Qt::ItemSelectionMode mode, Qt::SortOrder order, const QTransform& deviceTransform = QTransform()) const; + QList items(QGraphicsScene* theWrappedObject, const QPointF& pos) const; + QList items(QGraphicsScene* theWrappedObject, const QPointF& pos, Qt::ItemSelectionMode mode, Qt::SortOrder order, const QTransform& deviceTransform = QTransform()) const; + QList items(QGraphicsScene* theWrappedObject, const QPolygonF& polygon, Qt::ItemSelectionMode mode = Qt::IntersectsItemShape) const; + QList items(QGraphicsScene* theWrappedObject, const QPolygonF& polygon, Qt::ItemSelectionMode mode, Qt::SortOrder order, const QTransform& deviceTransform = QTransform()) const; + QList items(QGraphicsScene* theWrappedObject, const QRectF& rect, Qt::ItemSelectionMode mode = Qt::IntersectsItemShape) const; + QList items(QGraphicsScene* theWrappedObject, const QRectF& rect, Qt::ItemSelectionMode mode, Qt::SortOrder order, const QTransform& deviceTransform = QTransform()) const; + QList items(QGraphicsScene* theWrappedObject, qreal x, qreal y, qreal w, qreal h, Qt::ItemSelectionMode mode = Qt::IntersectsItemShape) const; + QList items(QGraphicsScene* theWrappedObject, qreal x, qreal y, qreal w, qreal h, Qt::ItemSelectionMode mode, Qt::SortOrder order, const QTransform& deviceTransform = QTransform()) const; + QRectF itemsBoundingRect(QGraphicsScene* theWrappedObject) const; + void keyPressEvent(QGraphicsScene* theWrappedObject, QKeyEvent* event); + void keyReleaseEvent(QGraphicsScene* theWrappedObject, QKeyEvent* event); + void mouseDoubleClickEvent(QGraphicsScene* theWrappedObject, QGraphicsSceneMouseEvent* event); + QGraphicsItem* mouseGrabberItem(QGraphicsScene* theWrappedObject) const; + void mouseMoveEvent(QGraphicsScene* theWrappedObject, QGraphicsSceneMouseEvent* event); + void mousePressEvent(QGraphicsScene* theWrappedObject, QGraphicsSceneMouseEvent* event); + void mouseReleaseEvent(QGraphicsScene* theWrappedObject, QGraphicsSceneMouseEvent* event); + QPalette palette(QGraphicsScene* theWrappedObject) const; + void removeItem(QGraphicsScene* theWrappedObject, QGraphicsItem* item); + void render(QGraphicsScene* theWrappedObject, QPainter* painter, const QRectF& target = QRectF(), const QRectF& source = QRectF(), Qt::AspectRatioMode aspectRatioMode = Qt::KeepAspectRatio); + QRectF sceneRect(QGraphicsScene* theWrappedObject) const; + QList selectedItems(QGraphicsScene* theWrappedObject) const; + QPainterPath selectionArea(QGraphicsScene* theWrappedObject) const; + bool sendEvent(QGraphicsScene* theWrappedObject, QGraphicsItem* item, QEvent* event); + void setActivePanel(QGraphicsScene* theWrappedObject, QGraphicsItem* item); + void setActiveWindow(QGraphicsScene* theWrappedObject, QGraphicsWidget* widget); + void setBackgroundBrush(QGraphicsScene* theWrappedObject, const QBrush& brush); + void setBspTreeDepth(QGraphicsScene* theWrappedObject, int depth); + void setFocus(QGraphicsScene* theWrappedObject, Qt::FocusReason focusReason = Qt::OtherFocusReason); + void setFocusItem(QGraphicsScene* theWrappedObject, QGraphicsItem* item, Qt::FocusReason focusReason = Qt::OtherFocusReason); + void setFont(QGraphicsScene* theWrappedObject, const QFont& font); + void setForegroundBrush(QGraphicsScene* theWrappedObject, const QBrush& brush); + void setItemIndexMethod(QGraphicsScene* theWrappedObject, QGraphicsScene::ItemIndexMethod method); + void setPalette(QGraphicsScene* theWrappedObject, const QPalette& palette); + void setSceneRect(QGraphicsScene* theWrappedObject, const QRectF& rect); + void setSceneRect(QGraphicsScene* theWrappedObject, qreal x, qreal y, qreal w, qreal h); + void setSelectionArea(QGraphicsScene* theWrappedObject, const QPainterPath& path); + void setSelectionArea(QGraphicsScene* theWrappedObject, const QPainterPath& path, Qt::ItemSelectionMode mode); + void setSelectionArea(QGraphicsScene* theWrappedObject, const QPainterPath& path, Qt::ItemSelectionMode mode, const QTransform& deviceTransform); + void setSelectionArea(QGraphicsScene* theWrappedObject, const QPainterPath& path, const QTransform& deviceTransform); + void setSortCacheEnabled(QGraphicsScene* theWrappedObject, bool enabled); + void setStickyFocus(QGraphicsScene* theWrappedObject, bool enabled); + void setStyle(QGraphicsScene* theWrappedObject, QStyle* style); + bool stickyFocus(QGraphicsScene* theWrappedObject) const; + QStyle* style(QGraphicsScene* theWrappedObject) const; + void update(QGraphicsScene* theWrappedObject, qreal x, qreal y, qreal w, qreal h); + QList views(QGraphicsScene* theWrappedObject) const; + void wheelEvent(QGraphicsScene* theWrappedObject, QGraphicsSceneWheelEvent* event); + qreal width(QGraphicsScene* theWrappedObject) const; +}; + + + + + +class PythonQtWrapper_QGraphicsSceneContextMenuEvent : public QObject +{ Q_OBJECT +public: +Q_ENUMS(Reason ) +enum Reason{ + Mouse = QGraphicsSceneContextMenuEvent::Mouse, Keyboard = QGraphicsSceneContextMenuEvent::Keyboard, Other = QGraphicsSceneContextMenuEvent::Other}; +public slots: +QGraphicsSceneContextMenuEvent* new_QGraphicsSceneContextMenuEvent(QEvent::Type type = QEvent::None); +void delete_QGraphicsSceneContextMenuEvent(QGraphicsSceneContextMenuEvent* obj) { delete obj; } + Qt::KeyboardModifiers modifiers(QGraphicsSceneContextMenuEvent* theWrappedObject) const; + QPointF pos(QGraphicsSceneContextMenuEvent* theWrappedObject) const; + QGraphicsSceneContextMenuEvent::Reason reason(QGraphicsSceneContextMenuEvent* theWrappedObject) const; + QPointF scenePos(QGraphicsSceneContextMenuEvent* theWrappedObject) const; + QPoint screenPos(QGraphicsSceneContextMenuEvent* theWrappedObject) const; + void setModifiers(QGraphicsSceneContextMenuEvent* theWrappedObject, Qt::KeyboardModifiers modifiers); + void setPos(QGraphicsSceneContextMenuEvent* theWrappedObject, const QPointF& pos); + void setReason(QGraphicsSceneContextMenuEvent* theWrappedObject, QGraphicsSceneContextMenuEvent::Reason reason); + void setScenePos(QGraphicsSceneContextMenuEvent* theWrappedObject, const QPointF& pos); + void setScreenPos(QGraphicsSceneContextMenuEvent* theWrappedObject, const QPoint& pos); +}; + + + + + +class PythonQtWrapper_QGraphicsSceneDragDropEvent : public QObject +{ Q_OBJECT +public: +public slots: +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; + const QMimeData* mimeData(QGraphicsSceneDragDropEvent* theWrappedObject) const; + Qt::KeyboardModifiers modifiers(QGraphicsSceneDragDropEvent* theWrappedObject) const; + QPointF pos(QGraphicsSceneDragDropEvent* theWrappedObject) const; + Qt::DropActions possibleActions(QGraphicsSceneDragDropEvent* theWrappedObject) const; + Qt::DropAction proposedAction(QGraphicsSceneDragDropEvent* theWrappedObject) const; + QPointF scenePos(QGraphicsSceneDragDropEvent* theWrappedObject) const; + QPoint screenPos(QGraphicsSceneDragDropEvent* theWrappedObject) const; + void setButtons(QGraphicsSceneDragDropEvent* theWrappedObject, Qt::MouseButtons buttons); + void setDropAction(QGraphicsSceneDragDropEvent* theWrappedObject, Qt::DropAction action); + void setModifiers(QGraphicsSceneDragDropEvent* theWrappedObject, Qt::KeyboardModifiers modifiers); + void setPos(QGraphicsSceneDragDropEvent* theWrappedObject, const QPointF& pos); + void setPossibleActions(QGraphicsSceneDragDropEvent* theWrappedObject, Qt::DropActions actions); + void setProposedAction(QGraphicsSceneDragDropEvent* theWrappedObject, Qt::DropAction action); + void setScenePos(QGraphicsSceneDragDropEvent* theWrappedObject, const QPointF& pos); + void setScreenPos(QGraphicsSceneDragDropEvent* theWrappedObject, const QPoint& pos); + QWidget* source(QGraphicsSceneDragDropEvent* theWrappedObject) const; +}; + + + + + +class PythonQtWrapper_QGraphicsSceneEvent : public QObject +{ Q_OBJECT +public: +public slots: +QGraphicsSceneEvent* new_QGraphicsSceneEvent(QEvent::Type type); +void delete_QGraphicsSceneEvent(QGraphicsSceneEvent* obj) { delete obj; } + QWidget* widget(QGraphicsSceneEvent* theWrappedObject) const; +}; + + + + + +class PythonQtWrapper_QGraphicsSceneHelpEvent : public QObject +{ Q_OBJECT +public: +public slots: +QGraphicsSceneHelpEvent* new_QGraphicsSceneHelpEvent(QEvent::Type type = QEvent::None); +void delete_QGraphicsSceneHelpEvent(QGraphicsSceneHelpEvent* obj) { delete obj; } + QPointF scenePos(QGraphicsSceneHelpEvent* theWrappedObject) const; + QPoint screenPos(QGraphicsSceneHelpEvent* theWrappedObject) const; + void setScenePos(QGraphicsSceneHelpEvent* theWrappedObject, const QPointF& pos); + void setScreenPos(QGraphicsSceneHelpEvent* theWrappedObject, const QPoint& pos); +}; + + + + + +class PythonQtWrapper_QGraphicsSceneHoverEvent : public QObject +{ Q_OBJECT +public: +public slots: +QGraphicsSceneHoverEvent* new_QGraphicsSceneHoverEvent(QEvent::Type type = QEvent::None); +void delete_QGraphicsSceneHoverEvent(QGraphicsSceneHoverEvent* obj) { delete obj; } + QPointF lastPos(QGraphicsSceneHoverEvent* theWrappedObject) const; + QPointF lastScenePos(QGraphicsSceneHoverEvent* theWrappedObject) const; + QPoint lastScreenPos(QGraphicsSceneHoverEvent* theWrappedObject) const; + Qt::KeyboardModifiers modifiers(QGraphicsSceneHoverEvent* theWrappedObject) const; + QPointF pos(QGraphicsSceneHoverEvent* theWrappedObject) const; + QPointF scenePos(QGraphicsSceneHoverEvent* theWrappedObject) const; + QPoint screenPos(QGraphicsSceneHoverEvent* theWrappedObject) const; + void setLastPos(QGraphicsSceneHoverEvent* theWrappedObject, const QPointF& pos); + void setLastScenePos(QGraphicsSceneHoverEvent* theWrappedObject, const QPointF& pos); + void setLastScreenPos(QGraphicsSceneHoverEvent* theWrappedObject, const QPoint& pos); + void setModifiers(QGraphicsSceneHoverEvent* theWrappedObject, Qt::KeyboardModifiers modifiers); + void setPos(QGraphicsSceneHoverEvent* theWrappedObject, const QPointF& pos); + void setScenePos(QGraphicsSceneHoverEvent* theWrappedObject, const QPointF& pos); + void setScreenPos(QGraphicsSceneHoverEvent* theWrappedObject, const QPoint& pos); +}; + + + + + +class PythonQtWrapper_QGraphicsSceneMouseEvent : public QObject +{ Q_OBJECT +public: +public slots: +QGraphicsSceneMouseEvent* new_QGraphicsSceneMouseEvent(QEvent::Type type = QEvent::None); +void delete_QGraphicsSceneMouseEvent(QGraphicsSceneMouseEvent* obj) { delete obj; } + Qt::MouseButton button(QGraphicsSceneMouseEvent* theWrappedObject) const; + QPointF buttonDownPos(QGraphicsSceneMouseEvent* theWrappedObject, Qt::MouseButton button) const; + QPointF buttonDownScenePos(QGraphicsSceneMouseEvent* theWrappedObject, Qt::MouseButton button) const; + QPoint buttonDownScreenPos(QGraphicsSceneMouseEvent* theWrappedObject, Qt::MouseButton button) const; + Qt::MouseButtons buttons(QGraphicsSceneMouseEvent* theWrappedObject) const; + QPointF lastPos(QGraphicsSceneMouseEvent* theWrappedObject) const; + QPointF lastScenePos(QGraphicsSceneMouseEvent* theWrappedObject) const; + QPoint lastScreenPos(QGraphicsSceneMouseEvent* theWrappedObject) const; + Qt::KeyboardModifiers modifiers(QGraphicsSceneMouseEvent* theWrappedObject) const; + QPointF pos(QGraphicsSceneMouseEvent* theWrappedObject) const; + QPointF scenePos(QGraphicsSceneMouseEvent* theWrappedObject) const; + QPoint screenPos(QGraphicsSceneMouseEvent* theWrappedObject) const; + void setButton(QGraphicsSceneMouseEvent* theWrappedObject, Qt::MouseButton button); + void setButtonDownPos(QGraphicsSceneMouseEvent* theWrappedObject, Qt::MouseButton button, const QPointF& pos); + void setButtonDownScenePos(QGraphicsSceneMouseEvent* theWrappedObject, Qt::MouseButton button, const QPointF& pos); + void setButtonDownScreenPos(QGraphicsSceneMouseEvent* theWrappedObject, Qt::MouseButton button, const QPoint& pos); + void setButtons(QGraphicsSceneMouseEvent* theWrappedObject, Qt::MouseButtons buttons); + void setLastPos(QGraphicsSceneMouseEvent* theWrappedObject, const QPointF& pos); + void setLastScenePos(QGraphicsSceneMouseEvent* theWrappedObject, const QPointF& pos); + void setLastScreenPos(QGraphicsSceneMouseEvent* theWrappedObject, const QPoint& pos); + void setModifiers(QGraphicsSceneMouseEvent* theWrappedObject, Qt::KeyboardModifiers modifiers); + void setPos(QGraphicsSceneMouseEvent* theWrappedObject, const QPointF& pos); + void setScenePos(QGraphicsSceneMouseEvent* theWrappedObject, const QPointF& pos); + void setScreenPos(QGraphicsSceneMouseEvent* theWrappedObject, const QPoint& pos); +}; + + + + + +class PythonQtWrapper_QGraphicsSceneMoveEvent : public QObject +{ Q_OBJECT +public: +public slots: +QGraphicsSceneMoveEvent* new_QGraphicsSceneMoveEvent(); +void delete_QGraphicsSceneMoveEvent(QGraphicsSceneMoveEvent* obj) { delete obj; } + QPointF newPos(QGraphicsSceneMoveEvent* theWrappedObject) const; + QPointF oldPos(QGraphicsSceneMoveEvent* theWrappedObject) const; + void setNewPos(QGraphicsSceneMoveEvent* theWrappedObject, const QPointF& pos); + void setOldPos(QGraphicsSceneMoveEvent* theWrappedObject, const QPointF& pos); +}; + + + + + +class PythonQtWrapper_QGraphicsSceneResizeEvent : public QObject +{ Q_OBJECT +public: +public slots: +QGraphicsSceneResizeEvent* new_QGraphicsSceneResizeEvent(); +void delete_QGraphicsSceneResizeEvent(QGraphicsSceneResizeEvent* obj) { delete obj; } + QSizeF newSize(QGraphicsSceneResizeEvent* theWrappedObject) const; + QSizeF oldSize(QGraphicsSceneResizeEvent* theWrappedObject) const; + void setNewSize(QGraphicsSceneResizeEvent* theWrappedObject, const QSizeF& size); + void setOldSize(QGraphicsSceneResizeEvent* theWrappedObject, const QSizeF& size); +}; + + + + + +class PythonQtWrapper_QGraphicsSceneWheelEvent : public QObject +{ Q_OBJECT +public: +public slots: +QGraphicsSceneWheelEvent* new_QGraphicsSceneWheelEvent(QEvent::Type type = QEvent::None); +void delete_QGraphicsSceneWheelEvent(QGraphicsSceneWheelEvent* obj) { delete obj; } + Qt::MouseButtons buttons(QGraphicsSceneWheelEvent* theWrappedObject) const; + int delta(QGraphicsSceneWheelEvent* theWrappedObject) const; + Qt::KeyboardModifiers modifiers(QGraphicsSceneWheelEvent* theWrappedObject) const; + Qt::Orientation orientation(QGraphicsSceneWheelEvent* theWrappedObject) const; + QPointF pos(QGraphicsSceneWheelEvent* theWrappedObject) const; + QPointF scenePos(QGraphicsSceneWheelEvent* theWrappedObject) const; + QPoint screenPos(QGraphicsSceneWheelEvent* theWrappedObject) const; + void setButtons(QGraphicsSceneWheelEvent* theWrappedObject, Qt::MouseButtons buttons); + void setDelta(QGraphicsSceneWheelEvent* theWrappedObject, int delta); + void setModifiers(QGraphicsSceneWheelEvent* theWrappedObject, Qt::KeyboardModifiers modifiers); + void setOrientation(QGraphicsSceneWheelEvent* theWrappedObject, Qt::Orientation orientation); + void setPos(QGraphicsSceneWheelEvent* theWrappedObject, const QPointF& pos); + void setScenePos(QGraphicsSceneWheelEvent* theWrappedObject, const QPointF& pos); + void setScreenPos(QGraphicsSceneWheelEvent* theWrappedObject, const QPoint& pos); +}; + + + + + +class PythonQtShell_QGraphicsSimpleTextItem : public QGraphicsSimpleTextItem +{ +public: + PythonQtShell_QGraphicsSimpleTextItem(QGraphicsItem* parent = 0, QGraphicsScene* scene = 0):QGraphicsSimpleTextItem(parent, scene),_wrapper(NULL) {}; + PythonQtShell_QGraphicsSimpleTextItem(const QString& text, QGraphicsItem* parent = 0, QGraphicsScene* scene = 0):QGraphicsSimpleTextItem(text, parent, scene),_wrapper(NULL) {}; + +virtual bool isObscuredBy(const QGraphicsItem* item) const; +virtual QPainterPath opaqueArea() const; + + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtPublicPromoter_QGraphicsSimpleTextItem : public QGraphicsSimpleTextItem +{ public: +inline bool promoted_isObscuredBy(const QGraphicsItem* item) const { return QGraphicsSimpleTextItem::isObscuredBy(item); } +inline QPainterPath promoted_opaqueArea() const { return QGraphicsSimpleTextItem::opaqueArea(); } +}; + +class PythonQtWrapper_QGraphicsSimpleTextItem : public QObject +{ Q_OBJECT +public: +Q_ENUMS(enum_1 ) +enum enum_1{ + Type = QGraphicsSimpleTextItem::Type}; +public slots: +QGraphicsSimpleTextItem* new_QGraphicsSimpleTextItem(QGraphicsItem* parent = 0, QGraphicsScene* scene = 0); +QGraphicsSimpleTextItem* new_QGraphicsSimpleTextItem(const QString& text, QGraphicsItem* parent = 0, QGraphicsScene* scene = 0); +void delete_QGraphicsSimpleTextItem(QGraphicsSimpleTextItem* obj) { delete obj; } + QRectF boundingRect(QGraphicsSimpleTextItem* theWrappedObject) const; + bool contains(QGraphicsSimpleTextItem* theWrappedObject, const QPointF& point) const; + QFont font(QGraphicsSimpleTextItem* theWrappedObject) const; + bool isObscuredBy(QGraphicsSimpleTextItem* theWrappedObject, const QGraphicsItem* item) const; + QPainterPath opaqueArea(QGraphicsSimpleTextItem* theWrappedObject) const; + void paint(QGraphicsSimpleTextItem* theWrappedObject, QPainter* painter, const QStyleOptionGraphicsItem* option, QWidget* widget); + void setFont(QGraphicsSimpleTextItem* theWrappedObject, const QFont& font); + void setText(QGraphicsSimpleTextItem* theWrappedObject, const QString& text); + QPainterPath shape(QGraphicsSimpleTextItem* theWrappedObject) const; + QString text(QGraphicsSimpleTextItem* theWrappedObject) const; + int type(QGraphicsSimpleTextItem* theWrappedObject) const; +}; + + + + + +class PythonQtShell_QGraphicsTextItem : public QGraphicsTextItem +{ +public: + PythonQtShell_QGraphicsTextItem(QGraphicsItem* parent = 0, QGraphicsScene* scene = 0):QGraphicsTextItem(parent, scene),_wrapper(NULL) {}; + PythonQtShell_QGraphicsTextItem(const QString& text, QGraphicsItem* parent = 0, QGraphicsScene* scene = 0):QGraphicsTextItem(text, parent, scene),_wrapper(NULL) {}; + +virtual void childEvent(QChildEvent* arg__1); +virtual void customEvent(QEvent* arg__1); +virtual bool event(QEvent* arg__1); +virtual bool eventFilter(QObject* arg__1, QEvent* arg__2); +virtual void timerEvent(QTimerEvent* arg__1); + + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtWrapper_QGraphicsTextItem : public QObject +{ Q_OBJECT +public: +Q_ENUMS(enum_1 ) +enum enum_1{ + Type = QGraphicsTextItem::Type}; +public slots: +QGraphicsTextItem* new_QGraphicsTextItem(QGraphicsItem* parent = 0, QGraphicsScene* scene = 0); +QGraphicsTextItem* new_QGraphicsTextItem(const QString& text, QGraphicsItem* parent = 0, QGraphicsScene* scene = 0); +void delete_QGraphicsTextItem(QGraphicsTextItem* obj) { delete obj; } + void adjustSize(QGraphicsTextItem* theWrappedObject); + QRectF boundingRect(QGraphicsTextItem* theWrappedObject) const; + bool contains(QGraphicsTextItem* theWrappedObject, const QPointF& point) const; + QColor defaultTextColor(QGraphicsTextItem* theWrappedObject) const; + QTextDocument* document(QGraphicsTextItem* theWrappedObject) const; + QFont font(QGraphicsTextItem* theWrappedObject) const; + bool isObscuredBy(QGraphicsTextItem* theWrappedObject, const QGraphicsItem* item) const; + QPainterPath opaqueArea(QGraphicsTextItem* theWrappedObject) const; + bool openExternalLinks(QGraphicsTextItem* theWrappedObject) const; + void paint(QGraphicsTextItem* theWrappedObject, QPainter* painter, const QStyleOptionGraphicsItem* option, QWidget* widget); + void setDefaultTextColor(QGraphicsTextItem* theWrappedObject, const QColor& c); + void setDocument(QGraphicsTextItem* theWrappedObject, QTextDocument* document); + void setFont(QGraphicsTextItem* theWrappedObject, const QFont& font); + void setHtml(QGraphicsTextItem* theWrappedObject, const QString& html); + void setOpenExternalLinks(QGraphicsTextItem* theWrappedObject, bool open); + void setPlainText(QGraphicsTextItem* theWrappedObject, const QString& text); + void setTabChangesFocus(QGraphicsTextItem* theWrappedObject, bool b); + 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; + bool tabChangesFocus(QGraphicsTextItem* theWrappedObject) const; + QTextCursor textCursor(QGraphicsTextItem* theWrappedObject) const; + Qt::TextInteractionFlags textInteractionFlags(QGraphicsTextItem* theWrappedObject) const; + qreal textWidth(QGraphicsTextItem* theWrappedObject) const; + QString toHtml(QGraphicsTextItem* theWrappedObject) const; + QString toPlainText(QGraphicsTextItem* theWrappedObject) const; + int type(QGraphicsTextItem* theWrappedObject) const; +}; + + + + + +class PythonQtShell_QGraphicsTransform : public QGraphicsTransform +{ +public: + PythonQtShell_QGraphicsTransform(QObject* parent = 0):QGraphicsTransform(parent),_wrapper(NULL) {}; + +virtual void applyTo(QMatrix4x4* matrix) const; +virtual void childEvent(QChildEvent* arg__1); +virtual void customEvent(QEvent* arg__1); +virtual bool event(QEvent* arg__1); +virtual bool eventFilter(QObject* arg__1, QEvent* arg__2); +virtual void timerEvent(QTimerEvent* arg__1); + + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtWrapper_QGraphicsTransform : public QObject +{ Q_OBJECT +public: +public slots: +QGraphicsTransform* new_QGraphicsTransform(QObject* parent = 0); +void delete_QGraphicsTransform(QGraphicsTransform* obj) { delete obj; } +}; + + + + + +class PythonQtShell_QGraphicsView : public QGraphicsView +{ +public: + PythonQtShell_QGraphicsView(QGraphicsScene* scene, QWidget* parent = 0):QGraphicsView(scene, parent),_wrapper(NULL) {}; + PythonQtShell_QGraphicsView(QWidget* parent = 0):QGraphicsView(parent),_wrapper(NULL) {}; + +virtual void actionEvent(QActionEvent* arg__1); +virtual void changeEvent(QEvent* arg__1); +virtual void childEvent(QChildEvent* arg__1); +virtual void closeEvent(QCloseEvent* arg__1); +virtual void contextMenuEvent(QContextMenuEvent* event); +virtual void customEvent(QEvent* arg__1); +virtual int devType() const; +virtual void dragEnterEvent(QDragEnterEvent* event); +virtual void dragLeaveEvent(QDragLeaveEvent* event); +virtual void dragMoveEvent(QDragMoveEvent* event); +virtual void drawBackground(QPainter* painter, const QRectF& rect); +virtual void drawForeground(QPainter* painter, const QRectF& rect); +virtual void drawItems(QPainter* painter, int numItems, QGraphicsItem** items, const QStyleOptionGraphicsItem* options); +virtual void dropEvent(QDropEvent* event); +virtual void enterEvent(QEvent* arg__1); +virtual bool event(QEvent* event); +virtual bool eventFilter(QObject* arg__1, QEvent* arg__2); +virtual void focusInEvent(QFocusEvent* event); +virtual bool focusNextPrevChild(bool next); +virtual void focusOutEvent(QFocusEvent* event); +virtual int heightForWidth(int arg__1) const; +virtual void hideEvent(QHideEvent* arg__1); +virtual void inputMethodEvent(QInputMethodEvent* event); +virtual QVariant inputMethodQuery(Qt::InputMethodQuery query) const; +virtual void keyPressEvent(QKeyEvent* event); +virtual void keyReleaseEvent(QKeyEvent* event); +virtual void languageChange(); +virtual void leaveEvent(QEvent* arg__1); +virtual int metric(QPaintDevice::PaintDeviceMetric arg__1) const; +virtual void mouseDoubleClickEvent(QMouseEvent* event); +virtual void mouseMoveEvent(QMouseEvent* event); +virtual void mousePressEvent(QMouseEvent* event); +virtual void mouseReleaseEvent(QMouseEvent* event); +virtual void moveEvent(QMoveEvent* arg__1); +virtual QPaintEngine* paintEngine() const; +virtual void paintEvent(QPaintEvent* event); +virtual void resizeEvent(QResizeEvent* event); +virtual void scrollContentsBy(int dx, int dy); +virtual void showEvent(QShowEvent* event); +virtual void tabletEvent(QTabletEvent* arg__1); +virtual void timerEvent(QTimerEvent* arg__1); +virtual bool viewportEvent(QEvent* event); +virtual void wheelEvent(QWheelEvent* event); + + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtPublicPromoter_QGraphicsView : public QGraphicsView +{ public: +inline void promoted_contextMenuEvent(QContextMenuEvent* event) { QGraphicsView::contextMenuEvent(event); } +inline void promoted_dragEnterEvent(QDragEnterEvent* event) { QGraphicsView::dragEnterEvent(event); } +inline void promoted_dragLeaveEvent(QDragLeaveEvent* event) { QGraphicsView::dragLeaveEvent(event); } +inline void promoted_dragMoveEvent(QDragMoveEvent* event) { QGraphicsView::dragMoveEvent(event); } +inline void promoted_drawBackground(QPainter* painter, const QRectF& rect) { QGraphicsView::drawBackground(painter, rect); } +inline void promoted_drawForeground(QPainter* painter, const QRectF& rect) { QGraphicsView::drawForeground(painter, rect); } +inline void promoted_drawItems(QPainter* painter, int numItems, QGraphicsItem** items, const QStyleOptionGraphicsItem* options) { QGraphicsView::drawItems(painter, numItems, items, options); } +inline void promoted_dropEvent(QDropEvent* event) { QGraphicsView::dropEvent(event); } +inline bool promoted_event(QEvent* event) { return QGraphicsView::event(event); } +inline void promoted_focusInEvent(QFocusEvent* event) { QGraphicsView::focusInEvent(event); } +inline bool promoted_focusNextPrevChild(bool next) { return QGraphicsView::focusNextPrevChild(next); } +inline void promoted_focusOutEvent(QFocusEvent* event) { QGraphicsView::focusOutEvent(event); } +inline void promoted_inputMethodEvent(QInputMethodEvent* event) { QGraphicsView::inputMethodEvent(event); } +inline QVariant promoted_inputMethodQuery(Qt::InputMethodQuery query) const { return QGraphicsView::inputMethodQuery(query); } +inline void promoted_keyPressEvent(QKeyEvent* event) { QGraphicsView::keyPressEvent(event); } +inline void promoted_keyReleaseEvent(QKeyEvent* event) { QGraphicsView::keyReleaseEvent(event); } +inline void promoted_mouseDoubleClickEvent(QMouseEvent* event) { QGraphicsView::mouseDoubleClickEvent(event); } +inline void promoted_mouseMoveEvent(QMouseEvent* event) { QGraphicsView::mouseMoveEvent(event); } +inline void promoted_mousePressEvent(QMouseEvent* event) { QGraphicsView::mousePressEvent(event); } +inline void promoted_mouseReleaseEvent(QMouseEvent* event) { QGraphicsView::mouseReleaseEvent(event); } +inline void promoted_paintEvent(QPaintEvent* event) { QGraphicsView::paintEvent(event); } +inline void promoted_resizeEvent(QResizeEvent* event) { QGraphicsView::resizeEvent(event); } +inline void promoted_scrollContentsBy(int dx, int dy) { QGraphicsView::scrollContentsBy(dx, dy); } +inline void promoted_showEvent(QShowEvent* event) { QGraphicsView::showEvent(event); } +inline bool promoted_viewportEvent(QEvent* event) { return QGraphicsView::viewportEvent(event); } +inline void promoted_wheelEvent(QWheelEvent* event) { QGraphicsView::wheelEvent(event); } +}; + +class PythonQtWrapper_QGraphicsView : public QObject +{ Q_OBJECT +public: +Q_ENUMS(OptimizationFlag CacheModeFlag ) +Q_FLAGS(OptimizationFlags CacheMode ) +enum OptimizationFlag{ + DontClipPainter = QGraphicsView::DontClipPainter, DontSavePainterState = QGraphicsView::DontSavePainterState, DontAdjustForAntialiasing = QGraphicsView::DontAdjustForAntialiasing, IndirectPainting = QGraphicsView::IndirectPainting}; +enum CacheModeFlag{ + CacheNone = QGraphicsView::CacheNone, CacheBackground = QGraphicsView::CacheBackground}; +Q_DECLARE_FLAGS(OptimizationFlags, OptimizationFlag) +Q_DECLARE_FLAGS(CacheMode, CacheModeFlag) +public slots: +QGraphicsView* new_QGraphicsView(QGraphicsScene* scene, QWidget* parent = 0); +QGraphicsView* new_QGraphicsView(QWidget* parent = 0); +void delete_QGraphicsView(QGraphicsView* obj) { delete obj; } + Qt::Alignment alignment(QGraphicsView* theWrappedObject) const; + QBrush backgroundBrush(QGraphicsView* theWrappedObject) const; + QGraphicsView::CacheMode cacheMode(QGraphicsView* theWrappedObject) const; + void centerOn(QGraphicsView* theWrappedObject, const QGraphicsItem* item); + void centerOn(QGraphicsView* theWrappedObject, const QPointF& pos); + void centerOn(QGraphicsView* theWrappedObject, qreal x, qreal y); + void contextMenuEvent(QGraphicsView* theWrappedObject, QContextMenuEvent* event); + void dragEnterEvent(QGraphicsView* theWrappedObject, QDragEnterEvent* event); + void dragLeaveEvent(QGraphicsView* theWrappedObject, QDragLeaveEvent* event); + QGraphicsView::DragMode dragMode(QGraphicsView* theWrappedObject) const; + void dragMoveEvent(QGraphicsView* theWrappedObject, QDragMoveEvent* event); + void drawBackground(QGraphicsView* theWrappedObject, QPainter* painter, const QRectF& rect); + void drawForeground(QGraphicsView* theWrappedObject, QPainter* painter, const QRectF& rect); + void drawItems(QGraphicsView* theWrappedObject, QPainter* painter, int numItems, QGraphicsItem** items, const QStyleOptionGraphicsItem* options); + void dropEvent(QGraphicsView* theWrappedObject, QDropEvent* event); + void ensureVisible(QGraphicsView* theWrappedObject, const QGraphicsItem* item, int xmargin = 50, int ymargin = 50); + void ensureVisible(QGraphicsView* theWrappedObject, const QRectF& rect, int xmargin = 50, int ymargin = 50); + void ensureVisible(QGraphicsView* theWrappedObject, qreal x, qreal y, qreal w, qreal h, int xmargin = 50, int ymargin = 50); + bool event(QGraphicsView* theWrappedObject, QEvent* event); + void fitInView(QGraphicsView* theWrappedObject, const QGraphicsItem* item, Qt::AspectRatioMode aspectRadioMode = Qt::IgnoreAspectRatio); + void fitInView(QGraphicsView* theWrappedObject, const QRectF& rect, Qt::AspectRatioMode aspectRadioMode = Qt::IgnoreAspectRatio); + void fitInView(QGraphicsView* theWrappedObject, qreal x, qreal y, qreal w, qreal h, Qt::AspectRatioMode aspectRadioMode = Qt::IgnoreAspectRatio); + void focusInEvent(QGraphicsView* theWrappedObject, QFocusEvent* event); + bool focusNextPrevChild(QGraphicsView* theWrappedObject, bool next); + void focusOutEvent(QGraphicsView* theWrappedObject, QFocusEvent* event); + QBrush foregroundBrush(QGraphicsView* theWrappedObject) const; + void inputMethodEvent(QGraphicsView* theWrappedObject, QInputMethodEvent* event); + QVariant inputMethodQuery(QGraphicsView* theWrappedObject, Qt::InputMethodQuery query) const; + bool isInteractive(QGraphicsView* theWrappedObject) const; + bool isTransformed(QGraphicsView* theWrappedObject) const; + QGraphicsItem* itemAt(QGraphicsView* theWrappedObject, const QPoint& pos) const; + QGraphicsItem* itemAt(QGraphicsView* theWrappedObject, int x, int y) const; + QList items(QGraphicsView* theWrappedObject) const; + QList items(QGraphicsView* theWrappedObject, const QPainterPath& path, Qt::ItemSelectionMode mode = Qt::IntersectsItemShape) const; + QList items(QGraphicsView* theWrappedObject, const QPoint& pos) const; + QList items(QGraphicsView* theWrappedObject, const QPolygon& polygon, Qt::ItemSelectionMode mode = Qt::IntersectsItemShape) const; + QList items(QGraphicsView* theWrappedObject, const QRect& rect, Qt::ItemSelectionMode mode = Qt::IntersectsItemShape) const; + QList items(QGraphicsView* theWrappedObject, int x, int y) const; + QList items(QGraphicsView* theWrappedObject, int x, int y, int w, int h, Qt::ItemSelectionMode mode = Qt::IntersectsItemShape) const; + void keyPressEvent(QGraphicsView* theWrappedObject, QKeyEvent* event); + void keyReleaseEvent(QGraphicsView* theWrappedObject, QKeyEvent* event); + QPainterPath mapFromScene(QGraphicsView* theWrappedObject, const QPainterPath& path) const; + QPoint mapFromScene(QGraphicsView* theWrappedObject, const QPointF& point) const; + QPolygon mapFromScene(QGraphicsView* theWrappedObject, const QPolygonF& polygon) const; + QPolygon mapFromScene(QGraphicsView* theWrappedObject, const QRectF& rect) const; + QPoint mapFromScene(QGraphicsView* theWrappedObject, qreal x, qreal y) const; + QPolygon mapFromScene(QGraphicsView* theWrappedObject, qreal x, qreal y, qreal w, qreal h) const; + QPainterPath mapToScene(QGraphicsView* theWrappedObject, const QPainterPath& path) const; + QPointF mapToScene(QGraphicsView* theWrappedObject, const QPoint& point) const; + QPolygonF mapToScene(QGraphicsView* theWrappedObject, const QPolygon& polygon) const; + QPolygonF mapToScene(QGraphicsView* theWrappedObject, const QRect& rect) const; + QPointF mapToScene(QGraphicsView* theWrappedObject, int x, int y) const; + QPolygonF mapToScene(QGraphicsView* theWrappedObject, int x, int y, int w, int h) const; + QMatrix matrix(QGraphicsView* theWrappedObject) const; + void mouseDoubleClickEvent(QGraphicsView* theWrappedObject, QMouseEvent* event); + void mouseMoveEvent(QGraphicsView* theWrappedObject, QMouseEvent* event); + void mousePressEvent(QGraphicsView* theWrappedObject, QMouseEvent* event); + void mouseReleaseEvent(QGraphicsView* theWrappedObject, QMouseEvent* event); + QGraphicsView::OptimizationFlags optimizationFlags(QGraphicsView* theWrappedObject) const; + void paintEvent(QGraphicsView* theWrappedObject, QPaintEvent* event); + void render(QGraphicsView* theWrappedObject, QPainter* painter, const QRectF& target = QRectF(), const QRect& source = QRect(), Qt::AspectRatioMode aspectRatioMode = Qt::KeepAspectRatio); + QPainter::RenderHints renderHints(QGraphicsView* theWrappedObject) const; + void resetCachedContent(QGraphicsView* theWrappedObject); + void resetMatrix(QGraphicsView* theWrappedObject); + void resetTransform(QGraphicsView* theWrappedObject); + QGraphicsView::ViewportAnchor resizeAnchor(QGraphicsView* theWrappedObject) const; + void resizeEvent(QGraphicsView* theWrappedObject, QResizeEvent* event); + void rotate(QGraphicsView* theWrappedObject, qreal angle); + Qt::ItemSelectionMode rubberBandSelectionMode(QGraphicsView* theWrappedObject) const; + void scale(QGraphicsView* theWrappedObject, qreal sx, qreal sy); + QGraphicsScene* scene(QGraphicsView* theWrappedObject) const; + QRectF sceneRect(QGraphicsView* theWrappedObject) const; + void scrollContentsBy(QGraphicsView* theWrappedObject, int dx, int dy); + void setAlignment(QGraphicsView* theWrappedObject, Qt::Alignment alignment); + void setBackgroundBrush(QGraphicsView* theWrappedObject, const QBrush& brush); + void setCacheMode(QGraphicsView* theWrappedObject, QGraphicsView::CacheMode mode); + void setDragMode(QGraphicsView* theWrappedObject, QGraphicsView::DragMode mode); + void setForegroundBrush(QGraphicsView* theWrappedObject, const QBrush& brush); + void setInteractive(QGraphicsView* theWrappedObject, bool allowed); + void setMatrix(QGraphicsView* theWrappedObject, const QMatrix& matrix, bool combine = false); + void setOptimizationFlag(QGraphicsView* theWrappedObject, QGraphicsView::OptimizationFlag flag, bool enabled = true); + void setOptimizationFlags(QGraphicsView* theWrappedObject, QGraphicsView::OptimizationFlags flags); + void setRenderHint(QGraphicsView* theWrappedObject, QPainter::RenderHint hint, bool enabled = true); + void setRenderHints(QGraphicsView* theWrappedObject, QPainter::RenderHints hints); + void setResizeAnchor(QGraphicsView* theWrappedObject, QGraphicsView::ViewportAnchor anchor); + void setRubberBandSelectionMode(QGraphicsView* theWrappedObject, Qt::ItemSelectionMode mode); + void setScene(QGraphicsView* theWrappedObject, QGraphicsScene* scene); + void setSceneRect(QGraphicsView* theWrappedObject, const QRectF& rect); + void setSceneRect(QGraphicsView* theWrappedObject, qreal x, qreal y, qreal w, qreal h); + void setTransform(QGraphicsView* theWrappedObject, const QTransform& matrix, bool combine = false); + void setTransformationAnchor(QGraphicsView* theWrappedObject, QGraphicsView::ViewportAnchor anchor); + void setViewportUpdateMode(QGraphicsView* theWrappedObject, QGraphicsView::ViewportUpdateMode mode); + void shear(QGraphicsView* theWrappedObject, qreal sh, qreal sv); + void showEvent(QGraphicsView* theWrappedObject, QShowEvent* event); + QSize sizeHint(QGraphicsView* theWrappedObject) const; + QTransform transform(QGraphicsView* theWrappedObject) const; + QGraphicsView::ViewportAnchor transformationAnchor(QGraphicsView* theWrappedObject) const; + void translate(QGraphicsView* theWrappedObject, qreal dx, qreal dy); + bool viewportEvent(QGraphicsView* theWrappedObject, QEvent* event); + QTransform viewportTransform(QGraphicsView* theWrappedObject) const; + QGraphicsView::ViewportUpdateMode viewportUpdateMode(QGraphicsView* theWrappedObject) const; + void wheelEvent(QGraphicsView* theWrappedObject, QWheelEvent* event); +}; + + + + + +class PythonQtShell_QGraphicsWidget : public QGraphicsWidget +{ +public: + PythonQtShell_QGraphicsWidget(QGraphicsItem* parent = 0, Qt::WindowFlags wFlags = 0):QGraphicsWidget(parent, wFlags),_wrapper(NULL) {}; + +virtual void changeEvent(QEvent* event); +virtual void childEvent(QChildEvent* arg__1); +virtual void closeEvent(QCloseEvent* event); +virtual void customEvent(QEvent* arg__1); +virtual bool event(QEvent* event); +virtual bool eventFilter(QObject* arg__1, QEvent* arg__2); +virtual bool focusNextPrevChild(bool next); +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 void moveEvent(QGraphicsSceneMoveEvent* event); +virtual void paintWindowFrame(QPainter* painter, const QStyleOptionGraphicsItem* option, QWidget* widget = 0); +virtual void polishEvent(); +virtual QVariant propertyChange(const QString& propertyName, const QVariant& value); +virtual void resizeEvent(QGraphicsSceneResizeEvent* event); +virtual void setGeometry(const QRectF& rect); +virtual void showEvent(QShowEvent* event); +virtual QSizeF sizeHint(Qt::SizeHint which, const QSizeF& constraint = QSizeF()) const; +virtual void timerEvent(QTimerEvent* arg__1); +virtual void ungrabKeyboardEvent(QEvent* event); +virtual void ungrabMouseEvent(QEvent* event); +virtual void updateGeometry(); +virtual bool windowFrameEvent(QEvent* e); +virtual Qt::WindowFrameSection windowFrameSectionAt(const QPointF& pos) const; + + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtPublicPromoter_QGraphicsWidget : public QGraphicsWidget +{ public: +inline void promoted_changeEvent(QEvent* event) { QGraphicsWidget::changeEvent(event); } +inline void promoted_closeEvent(QCloseEvent* event) { QGraphicsWidget::closeEvent(event); } +inline bool promoted_event(QEvent* event) { return QGraphicsWidget::event(event); } +inline bool promoted_focusNextPrevChild(bool next) { return QGraphicsWidget::focusNextPrevChild(next); } +inline void promoted_getContentsMargins(qreal* left, qreal* top, qreal* right, qreal* bottom) const { QGraphicsWidget::getContentsMargins(left, top, right, bottom); } +inline void promoted_grabKeyboardEvent(QEvent* event) { QGraphicsWidget::grabKeyboardEvent(event); } +inline void promoted_grabMouseEvent(QEvent* event) { QGraphicsWidget::grabMouseEvent(event); } +inline void promoted_hideEvent(QHideEvent* event) { QGraphicsWidget::hideEvent(event); } +inline void promoted_hoverLeaveEvent(QGraphicsSceneHoverEvent* event) { QGraphicsWidget::hoverLeaveEvent(event); } +inline void promoted_hoverMoveEvent(QGraphicsSceneHoverEvent* event) { QGraphicsWidget::hoverMoveEvent(event); } +inline void promoted_initStyleOption(QStyleOption* option) const { QGraphicsWidget::initStyleOption(option); } +inline void promoted_moveEvent(QGraphicsSceneMoveEvent* event) { QGraphicsWidget::moveEvent(event); } +inline void promoted_paintWindowFrame(QPainter* painter, const QStyleOptionGraphicsItem* option, QWidget* widget = 0) { QGraphicsWidget::paintWindowFrame(painter, option, widget); } +inline void promoted_polishEvent() { QGraphicsWidget::polishEvent(); } +inline QVariant promoted_propertyChange(const QString& propertyName, const QVariant& value) { return QGraphicsWidget::propertyChange(propertyName, value); } +inline void promoted_resizeEvent(QGraphicsSceneResizeEvent* event) { QGraphicsWidget::resizeEvent(event); } +inline void promoted_setGeometry(const QRectF& rect) { QGraphicsWidget::setGeometry(rect); } +inline void promoted_showEvent(QShowEvent* event) { QGraphicsWidget::showEvent(event); } +inline QSizeF promoted_sizeHint(Qt::SizeHint which, const QSizeF& constraint = QSizeF()) const { return QGraphicsWidget::sizeHint(which, constraint); } +inline void promoted_ungrabKeyboardEvent(QEvent* event) { QGraphicsWidget::ungrabKeyboardEvent(event); } +inline void promoted_ungrabMouseEvent(QEvent* event) { QGraphicsWidget::ungrabMouseEvent(event); } +inline void promoted_updateGeometry() { QGraphicsWidget::updateGeometry(); } +inline bool promoted_windowFrameEvent(QEvent* e) { return QGraphicsWidget::windowFrameEvent(e); } +inline Qt::WindowFrameSection promoted_windowFrameSectionAt(const QPointF& pos) const { return QGraphicsWidget::windowFrameSectionAt(pos); } +}; + +class PythonQtWrapper_QGraphicsWidget : public QObject +{ Q_OBJECT +public: +Q_ENUMS(enum_1 ) +enum enum_1{ + Type = QGraphicsWidget::Type}; +public slots: +QGraphicsWidget* new_QGraphicsWidget(QGraphicsItem* parent = 0, Qt::WindowFlags wFlags = 0); +void delete_QGraphicsWidget(QGraphicsWidget* obj) { delete obj; } + QList actions(QGraphicsWidget* theWrappedObject) const; + void addAction(QGraphicsWidget* theWrappedObject, QAction* action); + void addActions(QGraphicsWidget* theWrappedObject, QList actions); + void adjustSize(QGraphicsWidget* theWrappedObject); + QRectF boundingRect(QGraphicsWidget* theWrappedObject) const; + void changeEvent(QGraphicsWidget* theWrappedObject, QEvent* event); + void closeEvent(QGraphicsWidget* theWrappedObject, QCloseEvent* event); + bool event(QGraphicsWidget* theWrappedObject, QEvent* event); + bool focusNextPrevChild(QGraphicsWidget* theWrappedObject, bool next); + 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 getWindowFrameMargins(QGraphicsWidget* theWrappedObject, qreal* left, qreal* top, qreal* right, qreal* bottom) const; + void grabKeyboardEvent(QGraphicsWidget* theWrappedObject, QEvent* event); + void grabMouseEvent(QGraphicsWidget* theWrappedObject, QEvent* event); + int grabShortcut(QGraphicsWidget* theWrappedObject, const QKeySequence& sequence, Qt::ShortcutContext context = Qt::WindowShortcut); + void hideEvent(QGraphicsWidget* theWrappedObject, QHideEvent* event); + void hoverLeaveEvent(QGraphicsWidget* theWrappedObject, QGraphicsSceneHoverEvent* event); + void hoverMoveEvent(QGraphicsWidget* theWrappedObject, QGraphicsSceneHoverEvent* event); + void initStyleOption(QGraphicsWidget* theWrappedObject, QStyleOption* option) const; + void insertAction(QGraphicsWidget* theWrappedObject, QAction* before, QAction* action); + void insertActions(QGraphicsWidget* theWrappedObject, QAction* before, QList actions); + bool isActiveWindow(QGraphicsWidget* theWrappedObject) const; + QGraphicsLayout* layout(QGraphicsWidget* theWrappedObject) const; + Qt::LayoutDirection layoutDirection(QGraphicsWidget* theWrappedObject) const; + void moveEvent(QGraphicsWidget* theWrappedObject, QGraphicsSceneMoveEvent* event); + void paint(QGraphicsWidget* theWrappedObject, QPainter* painter, const QStyleOptionGraphicsItem* option, QWidget* widget = 0); + void paintWindowFrame(QGraphicsWidget* theWrappedObject, QPainter* painter, const QStyleOptionGraphicsItem* option, QWidget* widget = 0); + QPalette palette(QGraphicsWidget* theWrappedObject) const; + void polishEvent(QGraphicsWidget* theWrappedObject); + QVariant propertyChange(QGraphicsWidget* theWrappedObject, const QString& propertyName, const QVariant& value); + QRectF rect(QGraphicsWidget* theWrappedObject) const; + void releaseShortcut(QGraphicsWidget* theWrappedObject, int id); + void removeAction(QGraphicsWidget* theWrappedObject, QAction* action); + void resize(QGraphicsWidget* theWrappedObject, const QSizeF& size); + void resize(QGraphicsWidget* theWrappedObject, qreal w, qreal h); + void resizeEvent(QGraphicsWidget* theWrappedObject, QGraphicsSceneResizeEvent* event); + void setAttribute(QGraphicsWidget* theWrappedObject, Qt::WidgetAttribute attribute, bool on = true); + 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 setGeometry(QGraphicsWidget* theWrappedObject, qreal x, qreal y, qreal w, qreal h); + void setLayout(QGraphicsWidget* theWrappedObject, QGraphicsLayout* layout); + void setLayoutDirection(QGraphicsWidget* theWrappedObject, Qt::LayoutDirection direction); + void setPalette(QGraphicsWidget* theWrappedObject, const QPalette& palette); + void setShortcutAutoRepeat(QGraphicsWidget* theWrappedObject, int id, bool enabled = true); + void setShortcutEnabled(QGraphicsWidget* theWrappedObject, int id, bool enabled = true); + void setStyle(QGraphicsWidget* theWrappedObject, QStyle* style); + void static_QGraphicsWidget_setTabOrder(QGraphicsWidget* first, QGraphicsWidget* second); + void setWindowFlags(QGraphicsWidget* theWrappedObject, Qt::WindowFlags wFlags); + void setWindowFrameMargins(QGraphicsWidget* theWrappedObject, qreal left, qreal top, qreal right, qreal bottom); + void setWindowTitle(QGraphicsWidget* theWrappedObject, const QString& title); + QPainterPath shape(QGraphicsWidget* theWrappedObject) const; + void showEvent(QGraphicsWidget* theWrappedObject, QShowEvent* event); + QSizeF size(QGraphicsWidget* theWrappedObject) const; + QSizeF sizeHint(QGraphicsWidget* theWrappedObject, Qt::SizeHint which, const QSizeF& constraint = QSizeF()) const; + QStyle* style(QGraphicsWidget* theWrappedObject) const; + bool testAttribute(QGraphicsWidget* theWrappedObject, Qt::WidgetAttribute attribute) const; + int type(QGraphicsWidget* theWrappedObject) const; + void ungrabKeyboardEvent(QGraphicsWidget* theWrappedObject, QEvent* event); + void ungrabMouseEvent(QGraphicsWidget* theWrappedObject, QEvent* event); + void unsetLayoutDirection(QGraphicsWidget* theWrappedObject); + void unsetWindowFrameMargins(QGraphicsWidget* theWrappedObject); + void updateGeometry(QGraphicsWidget* theWrappedObject); + Qt::WindowFlags windowFlags(QGraphicsWidget* theWrappedObject) const; + bool windowFrameEvent(QGraphicsWidget* theWrappedObject, QEvent* e); + QRectF windowFrameGeometry(QGraphicsWidget* theWrappedObject) const; + QRectF windowFrameRect(QGraphicsWidget* theWrappedObject) const; + Qt::WindowFrameSection windowFrameSectionAt(QGraphicsWidget* theWrappedObject, const QPointF& pos) const; + QString windowTitle(QGraphicsWidget* theWrappedObject) const; + Qt::WindowType windowType(QGraphicsWidget* theWrappedObject) const; +}; + + + + + +class PythonQtShell_QGridLayout : public QGridLayout +{ +public: + PythonQtShell_QGridLayout():QGridLayout(),_wrapper(NULL) {}; + PythonQtShell_QGridLayout(QWidget* parent):QGridLayout(parent),_wrapper(NULL) {}; + +virtual void addItem(QLayoutItem* arg__1); +virtual void childEvent(QChildEvent* e); +virtual int count() const; +virtual void customEvent(QEvent* arg__1); +virtual bool event(QEvent* arg__1); +virtual bool eventFilter(QObject* arg__1, QEvent* arg__2); +virtual Qt::Orientations expandingDirections() const; +virtual QRect geometry() const; +virtual int indexOf(QWidget* arg__1) const; +virtual void invalidate(); +virtual bool isEmpty() const; +virtual QLayoutItem* itemAt(int index) const; +virtual QLayout* layout(); +virtual QSize maximumSize() const; +virtual QSize minimumSize() const; +virtual void setGeometry(const QRect& arg__1); +virtual QLayoutItem* takeAt(int index); +virtual void timerEvent(QTimerEvent* arg__1); + + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtPublicPromoter_QGridLayout : public QGridLayout +{ public: +inline void promoted_addItem(QLayoutItem* arg__1) { QGridLayout::addItem(arg__1); } +inline int promoted_count() const { return QGridLayout::count(); } +inline Qt::Orientations promoted_expandingDirections() const { return QGridLayout::expandingDirections(); } +inline void promoted_invalidate() { QGridLayout::invalidate(); } +inline QLayoutItem* promoted_itemAt(int index) const { return QGridLayout::itemAt(index); } +inline QSize promoted_maximumSize() const { return QGridLayout::maximumSize(); } +inline QSize promoted_minimumSize() const { return QGridLayout::minimumSize(); } +inline void promoted_setGeometry(const QRect& arg__1) { QGridLayout::setGeometry(arg__1); } +inline QLayoutItem* promoted_takeAt(int index) { return QGridLayout::takeAt(index); } +}; + +class PythonQtWrapper_QGridLayout : public QObject +{ Q_OBJECT +public: +public slots: +QGridLayout* new_QGridLayout(); +QGridLayout* new_QGridLayout(QWidget* parent); +void delete_QGridLayout(QGridLayout* obj) { delete obj; } + void addItem(QGridLayout* theWrappedObject, QLayoutItem* arg__1); + void addItem(QGridLayout* theWrappedObject, QLayoutItem* item, int row, int column, int rowSpan = 1, int columnSpan = 1, Qt::Alignment arg__6 = 0); + void addLayout(QGridLayout* theWrappedObject, QLayout* arg__1, int row, int column, Qt::Alignment arg__4 = 0); + void addLayout(QGridLayout* theWrappedObject, QLayout* arg__1, int row, int column, int rowSpan, int columnSpan, Qt::Alignment arg__6 = 0); + void addWidget(QGridLayout* theWrappedObject, QWidget* arg__1, int row, int column, Qt::Alignment arg__4 = 0); + void addWidget(QGridLayout* theWrappedObject, QWidget* arg__1, int row, int column, int rowSpan, int columnSpan, Qt::Alignment arg__6 = 0); + 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; + Qt::Orientations expandingDirections(QGridLayout* theWrappedObject) const; + void getItemPosition(QGridLayout* theWrappedObject, int idx, int* row, int* column, int* rowSpan, int* columnSpan); + bool hasHeightForWidth(QGridLayout* theWrappedObject) const; + int heightForWidth(QGridLayout* theWrappedObject, int arg__1) const; + int horizontalSpacing(QGridLayout* theWrappedObject) const; + void invalidate(QGridLayout* theWrappedObject); + QLayoutItem* itemAt(QGridLayout* theWrappedObject, int index) const; + QLayoutItem* itemAtPosition(QGridLayout* theWrappedObject, int row, int column) const; + QSize maximumSize(QGridLayout* theWrappedObject) const; + int minimumHeightForWidth(QGridLayout* theWrappedObject, int arg__1) const; + QSize minimumSize(QGridLayout* theWrappedObject) const; + Qt::Corner originCorner(QGridLayout* theWrappedObject) const; + int rowCount(QGridLayout* theWrappedObject) const; + int rowMinimumHeight(QGridLayout* theWrappedObject, int row) const; + int rowStretch(QGridLayout* theWrappedObject, int row) const; + 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 setHorizontalSpacing(QGridLayout* theWrappedObject, int spacing); + void setOriginCorner(QGridLayout* theWrappedObject, Qt::Corner arg__1); + void setRowMinimumHeight(QGridLayout* theWrappedObject, int row, int minSize); + 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; + int spacing(QGridLayout* theWrappedObject) const; + QLayoutItem* takeAt(QGridLayout* theWrappedObject, int index); + int verticalSpacing(QGridLayout* theWrappedObject) const; +}; + + + + + +class PythonQtShell_QGroupBox : public QGroupBox +{ +public: + PythonQtShell_QGroupBox(QWidget* parent = 0):QGroupBox(parent),_wrapper(NULL) {}; + PythonQtShell_QGroupBox(const QString& title, QWidget* parent = 0):QGroupBox(title, parent),_wrapper(NULL) {}; + +virtual void actionEvent(QActionEvent* arg__1); +virtual void changeEvent(QEvent* event); +virtual void childEvent(QChildEvent* event); +virtual void closeEvent(QCloseEvent* arg__1); +virtual void contextMenuEvent(QContextMenuEvent* arg__1); +virtual void customEvent(QEvent* arg__1); +virtual int devType() const; +virtual void dragEnterEvent(QDragEnterEvent* arg__1); +virtual void dragLeaveEvent(QDragLeaveEvent* arg__1); +virtual void dragMoveEvent(QDragMoveEvent* arg__1); +virtual void dropEvent(QDropEvent* arg__1); +virtual void enterEvent(QEvent* arg__1); +virtual bool event(QEvent* event); +virtual bool eventFilter(QObject* arg__1, QEvent* arg__2); +virtual void focusInEvent(QFocusEvent* event); +virtual bool focusNextPrevChild(bool next); +virtual void focusOutEvent(QFocusEvent* arg__1); +virtual int heightForWidth(int arg__1) const; +virtual void hideEvent(QHideEvent* arg__1); +virtual void inputMethodEvent(QInputMethodEvent* arg__1); +virtual QVariant inputMethodQuery(Qt::InputMethodQuery arg__1) const; +virtual void keyPressEvent(QKeyEvent* arg__1); +virtual void keyReleaseEvent(QKeyEvent* arg__1); +virtual void languageChange(); +virtual void leaveEvent(QEvent* arg__1); +virtual int metric(QPaintDevice::PaintDeviceMetric arg__1) const; +virtual void mouseDoubleClickEvent(QMouseEvent* arg__1); +virtual void mouseMoveEvent(QMouseEvent* event); +virtual void mousePressEvent(QMouseEvent* event); +virtual void mouseReleaseEvent(QMouseEvent* event); +virtual void moveEvent(QMoveEvent* arg__1); +virtual QPaintEngine* paintEngine() const; +virtual void paintEvent(QPaintEvent* event); +virtual void resizeEvent(QResizeEvent* event); +virtual void showEvent(QShowEvent* arg__1); +virtual QSize sizeHint() const; +virtual void tabletEvent(QTabletEvent* arg__1); +virtual void timerEvent(QTimerEvent* arg__1); +virtual void wheelEvent(QWheelEvent* arg__1); + + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtPublicPromoter_QGroupBox : public QGroupBox +{ public: +inline void promoted_changeEvent(QEvent* event) { QGroupBox::changeEvent(event); } +inline void promoted_childEvent(QChildEvent* event) { QGroupBox::childEvent(event); } +inline bool promoted_event(QEvent* event) { return QGroupBox::event(event); } +inline void promoted_focusInEvent(QFocusEvent* event) { QGroupBox::focusInEvent(event); } +inline void promoted_mouseMoveEvent(QMouseEvent* event) { QGroupBox::mouseMoveEvent(event); } +inline void promoted_mousePressEvent(QMouseEvent* event) { QGroupBox::mousePressEvent(event); } +inline void promoted_mouseReleaseEvent(QMouseEvent* event) { QGroupBox::mouseReleaseEvent(event); } +inline void promoted_paintEvent(QPaintEvent* event) { QGroupBox::paintEvent(event); } +inline void promoted_resizeEvent(QResizeEvent* event) { QGroupBox::resizeEvent(event); } +}; + +class PythonQtWrapper_QGroupBox : public QObject +{ Q_OBJECT +public: +public slots: +QGroupBox* new_QGroupBox(QWidget* parent = 0); +QGroupBox* new_QGroupBox(const QString& title, QWidget* parent = 0); +void delete_QGroupBox(QGroupBox* obj) { delete obj; } + Qt::Alignment alignment(QGroupBox* theWrappedObject) const; + void changeEvent(QGroupBox* theWrappedObject, QEvent* event); + void childEvent(QGroupBox* theWrappedObject, QChildEvent* event); + bool event(QGroupBox* theWrappedObject, QEvent* event); + void focusInEvent(QGroupBox* theWrappedObject, QFocusEvent* event); + bool isCheckable(QGroupBox* theWrappedObject) const; + bool isChecked(QGroupBox* theWrappedObject) const; + bool isFlat(QGroupBox* theWrappedObject) const; + QSize minimumSizeHint(QGroupBox* theWrappedObject) const; + void mouseMoveEvent(QGroupBox* theWrappedObject, QMouseEvent* event); + void mousePressEvent(QGroupBox* theWrappedObject, QMouseEvent* event); + void mouseReleaseEvent(QGroupBox* theWrappedObject, QMouseEvent* event); + void paintEvent(QGroupBox* theWrappedObject, QPaintEvent* event); + void resizeEvent(QGroupBox* theWrappedObject, QResizeEvent* event); + void setAlignment(QGroupBox* theWrappedObject, int alignment); + void setCheckable(QGroupBox* theWrappedObject, bool checkable); + void setFlat(QGroupBox* theWrappedObject, bool flat); + void setTitle(QGroupBox* theWrappedObject, const QString& title); + QString title(QGroupBox* theWrappedObject) const; +}; + + + + + +class PythonQtShell_QHBoxLayout : public QHBoxLayout +{ +public: + PythonQtShell_QHBoxLayout():QHBoxLayout(),_wrapper(NULL) {}; + PythonQtShell_QHBoxLayout(QWidget* parent):QHBoxLayout(parent),_wrapper(NULL) {}; + +virtual void addItem(QLayoutItem* arg__1); +virtual void childEvent(QChildEvent* e); +virtual int count() const; +virtual void customEvent(QEvent* arg__1); +virtual bool event(QEvent* arg__1); +virtual bool eventFilter(QObject* arg__1, QEvent* arg__2); +virtual Qt::Orientations expandingDirections() const; +virtual QRect geometry() const; +virtual int indexOf(QWidget* arg__1) const; +virtual void invalidate(); +virtual bool isEmpty() const; +virtual QLayoutItem* itemAt(int arg__1) const; +virtual QLayout* layout(); +virtual QSize maximumSize() const; +virtual QSize minimumSize() const; +virtual void setGeometry(const QRect& arg__1); +virtual QLayoutItem* takeAt(int arg__1); +virtual void timerEvent(QTimerEvent* arg__1); + + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtWrapper_QHBoxLayout : public QObject +{ Q_OBJECT +public: +public slots: +QHBoxLayout* new_QHBoxLayout(); +QHBoxLayout* new_QHBoxLayout(QWidget* parent); +void delete_QHBoxLayout(QHBoxLayout* obj) { delete obj; } +}; + + + + + +class PythonQtShell_QHeaderView : public QHeaderView +{ +public: + PythonQtShell_QHeaderView(Qt::Orientation orientation, QWidget* parent = 0):QHeaderView(orientation, parent),_wrapper(NULL) {}; + +virtual void actionEvent(QActionEvent* arg__1); +virtual void changeEvent(QEvent* arg__1); +virtual void childEvent(QChildEvent* arg__1); +virtual void closeEditor(QWidget* editor, QAbstractItemDelegate::EndEditHint hint); +virtual void closeEvent(QCloseEvent* arg__1); +virtual void commitData(QWidget* editor); +virtual void contextMenuEvent(QContextMenuEvent* arg__1); +virtual void currentChanged(const QModelIndex& current, const QModelIndex& old); +virtual void customEvent(QEvent* arg__1); +virtual void dataChanged(const QModelIndex& topLeft, const QModelIndex& bottomRight); +virtual int devType() const; +virtual void doItemsLayout(); +virtual void dragEnterEvent(QDragEnterEvent* event); +virtual void dragLeaveEvent(QDragLeaveEvent* event); +virtual void dragMoveEvent(QDragMoveEvent* event); +virtual void dropEvent(QDropEvent* event); +virtual bool edit(const QModelIndex& index, QAbstractItemView::EditTrigger trigger, QEvent* event); +virtual void editorDestroyed(QObject* editor); +virtual void enterEvent(QEvent* arg__1); +virtual bool event(QEvent* e); +virtual bool eventFilter(QObject* arg__1, QEvent* arg__2); +virtual void focusInEvent(QFocusEvent* event); +virtual bool focusNextPrevChild(bool next); +virtual void focusOutEvent(QFocusEvent* event); +virtual int heightForWidth(int arg__1) const; +virtual void hideEvent(QHideEvent* arg__1); +virtual int horizontalOffset() const; +virtual void horizontalScrollbarAction(int action); +virtual void horizontalScrollbarValueChanged(int value); +virtual QModelIndex indexAt(const QPoint& p) const; +virtual void inputMethodEvent(QInputMethodEvent* event); +virtual QVariant inputMethodQuery(Qt::InputMethodQuery query) const; +virtual bool isIndexHidden(const QModelIndex& index) const; +virtual void keyPressEvent(QKeyEvent* event); +virtual void keyReleaseEvent(QKeyEvent* arg__1); +virtual void keyboardSearch(const QString& search); +virtual void languageChange(); +virtual void leaveEvent(QEvent* arg__1); +virtual int metric(QPaintDevice::PaintDeviceMetric arg__1) const; +virtual void mouseDoubleClickEvent(QMouseEvent* e); +virtual void mouseMoveEvent(QMouseEvent* e); +virtual void mousePressEvent(QMouseEvent* e); +virtual void mouseReleaseEvent(QMouseEvent* e); +virtual void moveEvent(QMoveEvent* arg__1); +virtual QPaintEngine* paintEngine() const; +virtual void paintEvent(QPaintEvent* e); +virtual void paintSection(QPainter* painter, const QRect& rect, int logicalIndex) const; +virtual void reset(); +virtual void resizeEvent(QResizeEvent* event); +virtual void rowsAboutToBeRemoved(const QModelIndex& parent, int start, int end); +virtual void rowsInserted(const QModelIndex& parent, int start, int end); +virtual void scrollContentsBy(int dx, int dy); +virtual void scrollTo(const QModelIndex& index, QAbstractItemView::ScrollHint hint); +virtual QSize sectionSizeFromContents(int logicalIndex) const; +virtual void selectAll(); +virtual QList selectedIndexes() const; +virtual void selectionChanged(const QItemSelection& selected, const QItemSelection& deselected); +virtual QItemSelectionModel::SelectionFlags selectionCommand(const QModelIndex& index, const QEvent* event) const; +virtual void setModel(QAbstractItemModel* model); +virtual void setRootIndex(const QModelIndex& index); +virtual void setSelection(const QRect& rect, QItemSelectionModel::SelectionFlags flags); +virtual void setSelectionModel(QItemSelectionModel* selectionModel); +virtual void showEvent(QShowEvent* arg__1); +virtual int sizeHintForColumn(int column) const; +virtual int sizeHintForRow(int row) const; +virtual void startDrag(Qt::DropActions supportedActions); +virtual void tabletEvent(QTabletEvent* arg__1); +virtual void timerEvent(QTimerEvent* event); +virtual void updateEditorData(); +virtual void updateEditorGeometries(); +virtual void updateGeometries(); +virtual int verticalOffset() const; +virtual void verticalScrollbarAction(int action); +virtual void verticalScrollbarValueChanged(int value); +virtual QStyleOptionViewItem viewOptions() const; +virtual bool viewportEvent(QEvent* e); +virtual QRect visualRect(const QModelIndex& index) const; +virtual QRegion visualRegionForSelection(const QItemSelection& selection) const; +virtual void wheelEvent(QWheelEvent* arg__1); + + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtPublicPromoter_QHeaderView : public QHeaderView +{ public: +inline void promoted_currentChanged(const QModelIndex& current, const QModelIndex& old) { QHeaderView::currentChanged(current, old); } +inline void promoted_dataChanged(const QModelIndex& topLeft, const QModelIndex& bottomRight) { QHeaderView::dataChanged(topLeft, bottomRight); } +inline void promoted_doItemsLayout() { QHeaderView::doItemsLayout(); } +inline bool promoted_event(QEvent* e) { return QHeaderView::event(e); } +inline int promoted_horizontalOffset() const { return QHeaderView::horizontalOffset(); } +inline QModelIndex promoted_indexAt(const QPoint& p) const { return QHeaderView::indexAt(p); } +inline bool promoted_isIndexHidden(const QModelIndex& index) const { return QHeaderView::isIndexHidden(index); } +inline void promoted_mouseDoubleClickEvent(QMouseEvent* e) { QHeaderView::mouseDoubleClickEvent(e); } +inline void promoted_mouseMoveEvent(QMouseEvent* e) { QHeaderView::mouseMoveEvent(e); } +inline void promoted_mousePressEvent(QMouseEvent* e) { QHeaderView::mousePressEvent(e); } +inline void promoted_mouseReleaseEvent(QMouseEvent* e) { QHeaderView::mouseReleaseEvent(e); } +inline void promoted_paintEvent(QPaintEvent* e) { QHeaderView::paintEvent(e); } +inline void promoted_paintSection(QPainter* painter, const QRect& rect, int logicalIndex) const { QHeaderView::paintSection(painter, rect, logicalIndex); } +inline void promoted_reset() { QHeaderView::reset(); } +inline void promoted_rowsInserted(const QModelIndex& parent, int start, int end) { QHeaderView::rowsInserted(parent, start, end); } +inline void promoted_scrollContentsBy(int dx, int dy) { QHeaderView::scrollContentsBy(dx, dy); } +inline void promoted_scrollTo(const QModelIndex& index, QAbstractItemView::ScrollHint hint) { QHeaderView::scrollTo(index, hint); } +inline QSize promoted_sectionSizeFromContents(int logicalIndex) const { return QHeaderView::sectionSizeFromContents(logicalIndex); } +inline void promoted_setModel(QAbstractItemModel* model) { QHeaderView::setModel(model); } +inline void promoted_setSelection(const QRect& rect, QItemSelectionModel::SelectionFlags flags) { QHeaderView::setSelection(rect, flags); } +inline void promoted_updateGeometries() { QHeaderView::updateGeometries(); } +inline int promoted_verticalOffset() const { return QHeaderView::verticalOffset(); } +inline bool promoted_viewportEvent(QEvent* e) { return QHeaderView::viewportEvent(e); } +inline QRect promoted_visualRect(const QModelIndex& index) const { return QHeaderView::visualRect(index); } +inline QRegion promoted_visualRegionForSelection(const QItemSelection& selection) const { return QHeaderView::visualRegionForSelection(selection); } +}; + +class PythonQtWrapper_QHeaderView : public QObject +{ Q_OBJECT +public: +public slots: +QHeaderView* new_QHeaderView(Qt::Orientation orientation, QWidget* parent = 0); +void delete_QHeaderView(QHeaderView* obj) { delete obj; } + bool cascadingSectionResizes(QHeaderView* theWrappedObject) const; + int count(QHeaderView* theWrappedObject) const; + void currentChanged(QHeaderView* theWrappedObject, const QModelIndex& current, const QModelIndex& old); + void dataChanged(QHeaderView* theWrappedObject, const QModelIndex& topLeft, const QModelIndex& bottomRight); + Qt::Alignment defaultAlignment(QHeaderView* theWrappedObject) const; + int defaultSectionSize(QHeaderView* theWrappedObject) const; + void doItemsLayout(QHeaderView* theWrappedObject); + bool event(QHeaderView* theWrappedObject, QEvent* e); + int hiddenSectionCount(QHeaderView* theWrappedObject) const; + void hideSection(QHeaderView* theWrappedObject, int logicalIndex); + bool highlightSections(QHeaderView* theWrappedObject) const; + int horizontalOffset(QHeaderView* theWrappedObject) const; + QModelIndex indexAt(QHeaderView* theWrappedObject, const QPoint& p) const; + bool isClickable(QHeaderView* theWrappedObject) const; + bool isIndexHidden(QHeaderView* theWrappedObject, const QModelIndex& index) const; + bool isMovable(QHeaderView* theWrappedObject) const; + bool isSectionHidden(QHeaderView* theWrappedObject, int logicalIndex) const; + bool isSortIndicatorShown(QHeaderView* theWrappedObject) const; + int length(QHeaderView* theWrappedObject) const; + int logicalIndex(QHeaderView* theWrappedObject, int visualIndex) const; + int logicalIndexAt(QHeaderView* theWrappedObject, const QPoint& pos) const; + int logicalIndexAt(QHeaderView* theWrappedObject, int position) const; + int logicalIndexAt(QHeaderView* theWrappedObject, int x, int y) const; + int minimumSectionSize(QHeaderView* theWrappedObject) const; + void mouseDoubleClickEvent(QHeaderView* theWrappedObject, QMouseEvent* e); + void mouseMoveEvent(QHeaderView* theWrappedObject, QMouseEvent* e); + void mousePressEvent(QHeaderView* theWrappedObject, QMouseEvent* e); + void mouseReleaseEvent(QHeaderView* theWrappedObject, QMouseEvent* e); + void moveSection(QHeaderView* theWrappedObject, int from, int to); + int offset(QHeaderView* theWrappedObject) const; + Qt::Orientation orientation(QHeaderView* theWrappedObject) const; + void paintEvent(QHeaderView* theWrappedObject, QPaintEvent* e); + void paintSection(QHeaderView* theWrappedObject, QPainter* painter, const QRect& rect, int logicalIndex) const; + void reset(QHeaderView* theWrappedObject); + QHeaderView::ResizeMode resizeMode(QHeaderView* theWrappedObject, int logicalIndex) const; + void resizeSection(QHeaderView* theWrappedObject, int logicalIndex, int size); + void resizeSections(QHeaderView* theWrappedObject, QHeaderView::ResizeMode mode); + bool restoreState(QHeaderView* theWrappedObject, const QByteArray& state); + void rowsInserted(QHeaderView* theWrappedObject, const QModelIndex& parent, int start, int end); + QByteArray saveState(QHeaderView* theWrappedObject) const; + void scrollContentsBy(QHeaderView* theWrappedObject, int dx, int dy); + void scrollTo(QHeaderView* theWrappedObject, const QModelIndex& index, QAbstractItemView::ScrollHint hint); + int sectionPosition(QHeaderView* theWrappedObject, int logicalIndex) const; + int sectionSize(QHeaderView* theWrappedObject, int logicalIndex) const; + QSize sectionSizeFromContents(QHeaderView* theWrappedObject, int logicalIndex) const; + int sectionSizeHint(QHeaderView* theWrappedObject, int logicalIndex) const; + int sectionViewportPosition(QHeaderView* theWrappedObject, int logicalIndex) const; + bool sectionsHidden(QHeaderView* theWrappedObject) const; + bool sectionsMoved(QHeaderView* theWrappedObject) const; + void setCascadingSectionResizes(QHeaderView* theWrappedObject, bool enable); + void setClickable(QHeaderView* theWrappedObject, bool clickable); + void setDefaultAlignment(QHeaderView* theWrappedObject, Qt::Alignment alignment); + void setDefaultSectionSize(QHeaderView* theWrappedObject, int size); + void setHighlightSections(QHeaderView* theWrappedObject, bool highlight); + void setMinimumSectionSize(QHeaderView* theWrappedObject, int size); + void setModel(QHeaderView* theWrappedObject, QAbstractItemModel* model); + void setMovable(QHeaderView* theWrappedObject, bool movable); + void setResizeMode(QHeaderView* theWrappedObject, QHeaderView::ResizeMode mode); + void setResizeMode(QHeaderView* theWrappedObject, int logicalIndex, QHeaderView::ResizeMode mode); + void setSectionHidden(QHeaderView* theWrappedObject, int logicalIndex, bool hide); + void setSelection(QHeaderView* theWrappedObject, const QRect& rect, QItemSelectionModel::SelectionFlags flags); + void setSortIndicator(QHeaderView* theWrappedObject, int logicalIndex, Qt::SortOrder order); + void setSortIndicatorShown(QHeaderView* theWrappedObject, bool show); + void setStretchLastSection(QHeaderView* theWrappedObject, bool stretch); + void showSection(QHeaderView* theWrappedObject, int logicalIndex); + QSize sizeHint(QHeaderView* theWrappedObject) const; + Qt::SortOrder sortIndicatorOrder(QHeaderView* theWrappedObject) const; + int sortIndicatorSection(QHeaderView* theWrappedObject) const; + bool stretchLastSection(QHeaderView* theWrappedObject) const; + int stretchSectionCount(QHeaderView* theWrappedObject) const; + void swapSections(QHeaderView* theWrappedObject, int first, int second); + void updateGeometries(QHeaderView* theWrappedObject); + int verticalOffset(QHeaderView* theWrappedObject) const; + bool viewportEvent(QHeaderView* theWrappedObject, QEvent* e); + int visualIndex(QHeaderView* theWrappedObject, int logicalIndex) const; + int visualIndexAt(QHeaderView* theWrappedObject, int position) const; + QRect visualRect(QHeaderView* theWrappedObject, const QModelIndex& index) const; + QRegion visualRegionForSelection(QHeaderView* theWrappedObject, const QItemSelection& selection) const; +}; + + + + + +class PythonQtWrapper_QHelpEvent : public QObject +{ Q_OBJECT +public: +public slots: +QHelpEvent* new_QHelpEvent(QEvent::Type type, const QPoint& pos, const QPoint& globalPos); +void delete_QHelpEvent(QHelpEvent* obj) { delete obj; } + const QPoint* globalPos(QHelpEvent* theWrappedObject) const; + int globalX(QHelpEvent* theWrappedObject) const; + int globalY(QHelpEvent* theWrappedObject) const; + const QPoint* pos(QHelpEvent* theWrappedObject) const; + int x(QHelpEvent* theWrappedObject) const; + int y(QHelpEvent* theWrappedObject) const; +}; + + + + + +class PythonQtWrapper_QHideEvent : public QObject +{ Q_OBJECT +public: +public slots: +QHideEvent* new_QHideEvent(); +void delete_QHideEvent(QHideEvent* obj) { delete obj; } +}; + + + + + +class PythonQtShell_QHoverEvent : public QHoverEvent +{ +public: + PythonQtShell_QHoverEvent(QEvent::Type type, const QPoint& pos, const QPoint& oldPos):QHoverEvent(type, pos, oldPos),_wrapper(NULL) {}; + + + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtWrapper_QHoverEvent : public QObject +{ Q_OBJECT +public: +public slots: +QHoverEvent* new_QHoverEvent(QEvent::Type type, const QPoint& pos, const QPoint& oldPos); +void delete_QHoverEvent(QHoverEvent* obj) { delete obj; } + const QPoint* oldPos(QHoverEvent* theWrappedObject) const; + const QPoint* pos(QHoverEvent* theWrappedObject) const; +}; + + + + + +class PythonQtWrapper_QIconDragEvent : public QObject +{ Q_OBJECT +public: +public slots: +QIconDragEvent* new_QIconDragEvent(); +void delete_QIconDragEvent(QIconDragEvent* obj) { delete obj; } +}; + + + + + +class PythonQtShell_QIconEngine : public QIconEngine +{ +public: + PythonQtShell_QIconEngine():QIconEngine(),_wrapper(NULL) {}; + +virtual QSize actualSize(const QSize& size, QIcon::Mode mode, QIcon::State state); +virtual void addFile(const QString& fileName, const QSize& size, QIcon::Mode mode, QIcon::State state); +virtual void addPixmap(const QPixmap& pixmap, QIcon::Mode mode, QIcon::State state); +virtual void paint(QPainter* painter, const QRect& rect, QIcon::Mode mode, QIcon::State state); +virtual QPixmap pixmap(const QSize& size, QIcon::Mode mode, QIcon::State state); + + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtPublicPromoter_QIconEngine : public QIconEngine +{ public: +inline QSize promoted_actualSize(const QSize& size, QIcon::Mode mode, QIcon::State state) { return QIconEngine::actualSize(size, mode, state); } +inline void promoted_addFile(const QString& fileName, const QSize& size, QIcon::Mode mode, QIcon::State state) { QIconEngine::addFile(fileName, size, mode, state); } +inline void promoted_addPixmap(const QPixmap& pixmap, QIcon::Mode mode, QIcon::State state) { QIconEngine::addPixmap(pixmap, mode, state); } +inline QPixmap promoted_pixmap(const QSize& size, QIcon::Mode mode, QIcon::State state) { return QIconEngine::pixmap(size, mode, state); } +}; + +class PythonQtWrapper_QIconEngine : public QObject +{ Q_OBJECT +public: +public slots: +QIconEngine* new_QIconEngine(); +void delete_QIconEngine(QIconEngine* obj) { delete obj; } + QSize actualSize(QIconEngine* theWrappedObject, const QSize& size, QIcon::Mode mode, QIcon::State state); + void addFile(QIconEngine* theWrappedObject, const QString& fileName, const QSize& size, QIcon::Mode mode, QIcon::State state); + void addPixmap(QIconEngine* theWrappedObject, const QPixmap& pixmap, QIcon::Mode mode, QIcon::State state); + QPixmap pixmap(QIconEngine* theWrappedObject, const QSize& size, QIcon::Mode mode, QIcon::State state); +}; + + diff --git a/generated_cpp_47/com_trolltech_qt_gui/com_trolltech_qt_gui4.cpp b/generated_cpp_47/com_trolltech_qt_gui/com_trolltech_qt_gui4.cpp new file mode 100644 index 00000000..077e2943 --- /dev/null +++ b/generated_cpp_47/com_trolltech_qt_gui/com_trolltech_qt_gui4.cpp @@ -0,0 +1,13880 @@ +#include "com_trolltech_qt_gui4.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 + +void PythonQtShell_QIconEnginePluginV2::childEvent(QChildEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "childEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QChildEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QIconEnginePluginV2::childEvent(arg__1); +} +QIconEngineV2* PythonQtShell_QIconEnginePluginV2::create(const QString& filename) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "create"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QIconEngineV2*" , "const QString&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + QIconEngineV2* returnValue; + void* args[2] = {NULL, (void*)&filename}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("create", methodInfo, result); + } else { + returnValue = *((QIconEngineV2**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return 0; +} +void PythonQtShell_QIconEnginePluginV2::customEvent(QEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "customEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QIconEnginePluginV2::customEvent(arg__1); +} +bool PythonQtShell_QIconEnginePluginV2::event(QEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "event"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue; + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QIconEnginePluginV2::event(arg__1); +} +bool PythonQtShell_QIconEnginePluginV2::eventFilter(QObject* arg__1, QEvent* arg__2) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "eventFilter"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue; + void* args[3] = {NULL, (void*)&arg__1, (void*)&arg__2}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QIconEnginePluginV2::eventFilter(arg__1, arg__2); +} +QStringList PythonQtShell_QIconEnginePluginV2::keys() const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "keys"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QStringList"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QStringList returnValue; + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("keys", methodInfo, result); + } else { + returnValue = *((QStringList*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QStringList(); +} +void PythonQtShell_QIconEnginePluginV2::timerEvent(QTimerEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "timerEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QTimerEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QIconEnginePluginV2::timerEvent(arg__1); +} +QIconEnginePluginV2* PythonQtWrapper_QIconEnginePluginV2::new_QIconEnginePluginV2(QObject* parent) +{ +return new PythonQtShell_QIconEnginePluginV2(parent); } + + + +bool PythonQtShell_QImageIOHandler::canRead() const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "canRead"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + bool returnValue; + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("canRead", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return bool(); +} +int PythonQtShell_QImageIOHandler::currentImageNumber() const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "currentImageNumber"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + int returnValue; + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("currentImageNumber", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QImageIOHandler::currentImageNumber(); +} +QRect PythonQtShell_QImageIOHandler::currentImageRect() const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "currentImageRect"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QRect"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QRect returnValue; + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("currentImageRect", methodInfo, result); + } else { + returnValue = *((QRect*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QImageIOHandler::currentImageRect(); +} +int PythonQtShell_QImageIOHandler::imageCount() const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "imageCount"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + int returnValue; + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("imageCount", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QImageIOHandler::imageCount(); +} +bool PythonQtShell_QImageIOHandler::jumpToImage(int imageNumber) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "jumpToImage"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue; + void* args[2] = {NULL, (void*)&imageNumber}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("jumpToImage", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QImageIOHandler::jumpToImage(imageNumber); +} +bool PythonQtShell_QImageIOHandler::jumpToNextImage() +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "jumpToNextImage"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + bool returnValue; + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("jumpToNextImage", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QImageIOHandler::jumpToNextImage(); +} +int PythonQtShell_QImageIOHandler::loopCount() const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "loopCount"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + int returnValue; + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("loopCount", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QImageIOHandler::loopCount(); +} +QByteArray PythonQtShell_QImageIOHandler::name() const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "name"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QByteArray"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QByteArray returnValue; + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("name", methodInfo, result); + } else { + returnValue = *((QByteArray*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QImageIOHandler::name(); +} +int PythonQtShell_QImageIOHandler::nextImageDelay() const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "nextImageDelay"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + int returnValue; + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("nextImageDelay", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QImageIOHandler::nextImageDelay(); +} +QVariant PythonQtShell_QImageIOHandler::option(QImageIOHandler::ImageOption option) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "option"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QVariant" , "QImageIOHandler::ImageOption"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + QVariant returnValue; + void* args[2] = {NULL, (void*)&option}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("option", methodInfo, result); + } else { + returnValue = *((QVariant*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QImageIOHandler::option(option); +} +bool PythonQtShell_QImageIOHandler::read(QImage* image) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "read"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "QImage*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue; + void* args[2] = {NULL, (void*)&image}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("read", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return bool(); +} +void PythonQtShell_QImageIOHandler::setOption(QImageIOHandler::ImageOption option, const QVariant& value) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "setOption"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QImageIOHandler::ImageOption" , "const QVariant&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + void* args[3] = {NULL, (void*)&option, (void*)&value}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QImageIOHandler::setOption(option, value); +} +bool PythonQtShell_QImageIOHandler::supportsOption(QImageIOHandler::ImageOption option) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "supportsOption"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "QImageIOHandler::ImageOption"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue; + void* args[2] = {NULL, (void*)&option}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("supportsOption", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QImageIOHandler::supportsOption(option); +} +bool PythonQtShell_QImageIOHandler::write(const QImage& image) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "write"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "const QImage&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue; + void* args[2] = {NULL, (void*)&image}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("write", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QImageIOHandler::write(image); +} +QImageIOHandler* PythonQtWrapper_QImageIOHandler::new_QImageIOHandler() +{ +return new PythonQtShell_QImageIOHandler(); } + +int PythonQtWrapper_QImageIOHandler::currentImageNumber(QImageIOHandler* theWrappedObject) const +{ + return ( ((PythonQtPublicPromoter_QImageIOHandler*)theWrappedObject)->promoted_currentImageNumber()); +} + +QRect PythonQtWrapper_QImageIOHandler::currentImageRect(QImageIOHandler* theWrappedObject) const +{ + return ( ((PythonQtPublicPromoter_QImageIOHandler*)theWrappedObject)->promoted_currentImageRect()); +} + +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 ( ((PythonQtPublicPromoter_QImageIOHandler*)theWrappedObject)->promoted_imageCount()); +} + +bool PythonQtWrapper_QImageIOHandler::jumpToImage(QImageIOHandler* theWrappedObject, int imageNumber) +{ + return ( ((PythonQtPublicPromoter_QImageIOHandler*)theWrappedObject)->promoted_jumpToImage(imageNumber)); +} + +bool PythonQtWrapper_QImageIOHandler::jumpToNextImage(QImageIOHandler* theWrappedObject) +{ + return ( ((PythonQtPublicPromoter_QImageIOHandler*)theWrappedObject)->promoted_jumpToNextImage()); +} + +int PythonQtWrapper_QImageIOHandler::loopCount(QImageIOHandler* theWrappedObject) const +{ + return ( ((PythonQtPublicPromoter_QImageIOHandler*)theWrappedObject)->promoted_loopCount()); +} + +int PythonQtWrapper_QImageIOHandler::nextImageDelay(QImageIOHandler* theWrappedObject) const +{ + return ( ((PythonQtPublicPromoter_QImageIOHandler*)theWrappedObject)->promoted_nextImageDelay()); +} + +QVariant PythonQtWrapper_QImageIOHandler::option(QImageIOHandler* theWrappedObject, QImageIOHandler::ImageOption option) const +{ + return ( ((PythonQtPublicPromoter_QImageIOHandler*)theWrappedObject)->promoted_option(option)); +} + +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) +{ + ( ((PythonQtPublicPromoter_QImageIOHandler*)theWrappedObject)->promoted_setOption(option, value)); +} + +bool PythonQtWrapper_QImageIOHandler::supportsOption(QImageIOHandler* theWrappedObject, QImageIOHandler::ImageOption option) const +{ + return ( ((PythonQtPublicPromoter_QImageIOHandler*)theWrappedObject)->promoted_supportsOption(option)); +} + +bool PythonQtWrapper_QImageIOHandler::write(QImageIOHandler* theWrappedObject, const QImage& image) +{ + return ( ((PythonQtPublicPromoter_QImageIOHandler*)theWrappedObject)->promoted_write(image)); +} + + + +QImageIOPlugin::Capabilities PythonQtShell_QImageIOPlugin::capabilities(QIODevice* device, const QByteArray& format) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "capabilities"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QImageIOPlugin::Capabilities" , "QIODevice*" , "const QByteArray&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + QImageIOPlugin::Capabilities returnValue; + void* args[3] = {NULL, (void*)&device, (void*)&format}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("capabilities", methodInfo, result); + } else { + returnValue = *((QImageIOPlugin::Capabilities*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QImageIOPlugin::Capabilities(); +} +void PythonQtShell_QImageIOPlugin::childEvent(QChildEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "childEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QChildEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QImageIOPlugin::childEvent(arg__1); +} +QImageIOHandler* PythonQtShell_QImageIOPlugin::create(QIODevice* device, const QByteArray& format) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "create"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QImageIOHandler*" , "QIODevice*" , "const QByteArray&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + QImageIOHandler* returnValue; + void* args[3] = {NULL, (void*)&device, (void*)&format}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("create", methodInfo, result); + } else { + returnValue = *((QImageIOHandler**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return 0; +} +void PythonQtShell_QImageIOPlugin::customEvent(QEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "customEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QImageIOPlugin::customEvent(arg__1); +} +bool PythonQtShell_QImageIOPlugin::event(QEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "event"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue; + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QImageIOPlugin::event(arg__1); +} +bool PythonQtShell_QImageIOPlugin::eventFilter(QObject* arg__1, QEvent* arg__2) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "eventFilter"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue; + void* args[3] = {NULL, (void*)&arg__1, (void*)&arg__2}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QImageIOPlugin::eventFilter(arg__1, arg__2); +} +QStringList PythonQtShell_QImageIOPlugin::keys() const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "keys"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QStringList"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QStringList returnValue; + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("keys", methodInfo, result); + } else { + returnValue = *((QStringList*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QStringList(); +} +void PythonQtShell_QImageIOPlugin::timerEvent(QTimerEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "timerEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QTimerEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QImageIOPlugin::timerEvent(arg__1); +} +QImageIOPlugin* PythonQtWrapper_QImageIOPlugin::new_QImageIOPlugin(QObject* parent) +{ +return new PythonQtShell_QImageIOPlugin(parent); } + + + +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 +{ + return ( theWrappedObject->autoDetectImageFormat()); +} + +QColor PythonQtWrapper_QImageReader::backgroundColor(QImageReader* theWrappedObject) const +{ + return ( theWrappedObject->backgroundColor()); +} + +bool PythonQtWrapper_QImageReader::canRead(QImageReader* theWrappedObject) const +{ + return ( theWrappedObject->canRead()); +} + +QRect PythonQtWrapper_QImageReader::clipRect(QImageReader* theWrappedObject) const +{ + return ( theWrappedObject->clipRect()); +} + +int PythonQtWrapper_QImageReader::currentImageNumber(QImageReader* theWrappedObject) const +{ + return ( theWrappedObject->currentImageNumber()); +} + +QRect PythonQtWrapper_QImageReader::currentImageRect(QImageReader* theWrappedObject) const +{ + return ( theWrappedObject->currentImageRect()); +} + +bool PythonQtWrapper_QImageReader::decideFormatFromContent(QImageReader* theWrappedObject) const +{ + return ( theWrappedObject->decideFormatFromContent()); +} + +QIODevice* PythonQtWrapper_QImageReader::device(QImageReader* theWrappedObject) const +{ + return ( theWrappedObject->device()); +} + +QImageReader::ImageReaderError PythonQtWrapper_QImageReader::error(QImageReader* theWrappedObject) const +{ + return ( theWrappedObject->error()); +} + +QString PythonQtWrapper_QImageReader::errorString(QImageReader* theWrappedObject) const +{ + return ( theWrappedObject->errorString()); +} + +QString PythonQtWrapper_QImageReader::fileName(QImageReader* theWrappedObject) const +{ + return ( theWrappedObject->fileName()); +} + +QByteArray PythonQtWrapper_QImageReader::format(QImageReader* theWrappedObject) const +{ + return ( theWrappedObject->format()); +} + +int PythonQtWrapper_QImageReader::imageCount(QImageReader* theWrappedObject) const +{ + return ( theWrappedObject->imageCount()); +} + +QImage::Format PythonQtWrapper_QImageReader::imageFormat(QImageReader* theWrappedObject) const +{ + return ( theWrappedObject->imageFormat()); +} + +QByteArray PythonQtWrapper_QImageReader::static_QImageReader_imageFormat(QIODevice* device) +{ + return (QImageReader::imageFormat(device)); +} + +QByteArray PythonQtWrapper_QImageReader::static_QImageReader_imageFormat(const QString& fileName) +{ + return (QImageReader::imageFormat(fileName)); +} + +bool PythonQtWrapper_QImageReader::jumpToImage(QImageReader* theWrappedObject, int imageNumber) +{ + return ( theWrappedObject->jumpToImage(imageNumber)); +} + +bool PythonQtWrapper_QImageReader::jumpToNextImage(QImageReader* theWrappedObject) +{ + return ( theWrappedObject->jumpToNextImage()); +} + +int PythonQtWrapper_QImageReader::loopCount(QImageReader* theWrappedObject) const +{ + return ( theWrappedObject->loopCount()); +} + +int PythonQtWrapper_QImageReader::nextImageDelay(QImageReader* theWrappedObject) const +{ + return ( theWrappedObject->nextImageDelay()); +} + +int PythonQtWrapper_QImageReader::quality(QImageReader* theWrappedObject) const +{ + return ( theWrappedObject->quality()); +} + +QImage PythonQtWrapper_QImageReader::read(QImageReader* theWrappedObject) +{ + return ( theWrappedObject->read()); +} + +QRect PythonQtWrapper_QImageReader::scaledClipRect(QImageReader* theWrappedObject) const +{ + return ( theWrappedObject->scaledClipRect()); +} + +QSize PythonQtWrapper_QImageReader::scaledSize(QImageReader* theWrappedObject) const +{ + return ( theWrappedObject->scaledSize()); +} + +void PythonQtWrapper_QImageReader::setAutoDetectImageFormat(QImageReader* theWrappedObject, bool enabled) +{ + ( theWrappedObject->setAutoDetectImageFormat(enabled)); +} + +void PythonQtWrapper_QImageReader::setBackgroundColor(QImageReader* theWrappedObject, const QColor& color) +{ + ( theWrappedObject->setBackgroundColor(color)); +} + +void PythonQtWrapper_QImageReader::setClipRect(QImageReader* theWrappedObject, const QRect& rect) +{ + ( theWrappedObject->setClipRect(rect)); +} + +void PythonQtWrapper_QImageReader::setDecideFormatFromContent(QImageReader* theWrappedObject, bool ignored) +{ + ( theWrappedObject->setDecideFormatFromContent(ignored)); +} + +void PythonQtWrapper_QImageReader::setDevice(QImageReader* theWrappedObject, QIODevice* device) +{ + ( theWrappedObject->setDevice(device)); +} + +void PythonQtWrapper_QImageReader::setFileName(QImageReader* theWrappedObject, const QString& fileName) +{ + ( theWrappedObject->setFileName(fileName)); +} + +void PythonQtWrapper_QImageReader::setFormat(QImageReader* theWrappedObject, const QByteArray& format) +{ + ( theWrappedObject->setFormat(format)); +} + +void PythonQtWrapper_QImageReader::setQuality(QImageReader* theWrappedObject, int quality) +{ + ( theWrappedObject->setQuality(quality)); +} + +void PythonQtWrapper_QImageReader::setScaledClipRect(QImageReader* theWrappedObject, const QRect& rect) +{ + ( theWrappedObject->setScaledClipRect(rect)); +} + +void PythonQtWrapper_QImageReader::setScaledSize(QImageReader* theWrappedObject, const QSize& size) +{ + ( theWrappedObject->setScaledSize(size)); +} + +QSize PythonQtWrapper_QImageReader::size(QImageReader* theWrappedObject) const +{ + return ( theWrappedObject->size()); +} + +QList PythonQtWrapper_QImageReader::static_QImageReader_supportedImageFormats() +{ + return (QImageReader::supportedImageFormats()); +} + +bool PythonQtWrapper_QImageReader::supportsAnimation(QImageReader* theWrappedObject) const +{ + return ( theWrappedObject->supportsAnimation()); +} + +bool PythonQtWrapper_QImageReader::supportsOption(QImageReader* theWrappedObject, QImageIOHandler::ImageOption option) const +{ + return ( theWrappedObject->supportsOption(option)); +} + +QString PythonQtWrapper_QImageReader::text(QImageReader* theWrappedObject, const QString& key) const +{ + return ( theWrappedObject->text(key)); +} + +QStringList PythonQtWrapper_QImageReader::textKeys(QImageReader* theWrappedObject) const +{ + return ( theWrappedObject->textKeys()); +} + + + +QImageWriter* PythonQtWrapper_QImageWriter::new_QImageWriter() +{ +return new QImageWriter(); } + +QImageWriter* PythonQtWrapper_QImageWriter::new_QImageWriter(QIODevice* device, const QByteArray& format) +{ +return new QImageWriter(device, format); } + +QImageWriter* PythonQtWrapper_QImageWriter::new_QImageWriter(const QString& fileName, const QByteArray& format) +{ +return new QImageWriter(fileName, format); } + +bool PythonQtWrapper_QImageWriter::canWrite(QImageWriter* theWrappedObject) const +{ + return ( theWrappedObject->canWrite()); +} + +int PythonQtWrapper_QImageWriter::compression(QImageWriter* theWrappedObject) const +{ + return ( theWrappedObject->compression()); +} + +QIODevice* PythonQtWrapper_QImageWriter::device(QImageWriter* theWrappedObject) const +{ + return ( theWrappedObject->device()); +} + +QImageWriter::ImageWriterError PythonQtWrapper_QImageWriter::error(QImageWriter* theWrappedObject) const +{ + return ( theWrappedObject->error()); +} + +QString PythonQtWrapper_QImageWriter::errorString(QImageWriter* theWrappedObject) const +{ + return ( theWrappedObject->errorString()); +} + +QString PythonQtWrapper_QImageWriter::fileName(QImageWriter* theWrappedObject) const +{ + return ( theWrappedObject->fileName()); +} + +QByteArray PythonQtWrapper_QImageWriter::format(QImageWriter* theWrappedObject) const +{ + return ( theWrappedObject->format()); +} + +float PythonQtWrapper_QImageWriter::gamma(QImageWriter* theWrappedObject) const +{ + return ( theWrappedObject->gamma()); +} + +int PythonQtWrapper_QImageWriter::quality(QImageWriter* theWrappedObject) const +{ + return ( theWrappedObject->quality()); +} + +void PythonQtWrapper_QImageWriter::setCompression(QImageWriter* theWrappedObject, int compression) +{ + ( theWrappedObject->setCompression(compression)); +} + +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)); +} + +void PythonQtWrapper_QImageWriter::setGamma(QImageWriter* theWrappedObject, float gamma) +{ + ( theWrappedObject->setGamma(gamma)); +} + +void PythonQtWrapper_QImageWriter::setQuality(QImageWriter* theWrappedObject, int quality) +{ + ( theWrappedObject->setQuality(quality)); +} + +void PythonQtWrapper_QImageWriter::setText(QImageWriter* theWrappedObject, const QString& key, const QString& text) +{ + ( theWrappedObject->setText(key, text)); +} + +QList PythonQtWrapper_QImageWriter::static_QImageWriter_supportedImageFormats() +{ + return (QImageWriter::supportedImageFormats()); +} + +bool PythonQtWrapper_QImageWriter::supportsOption(QImageWriter* theWrappedObject, QImageIOHandler::ImageOption option) const +{ + return ( theWrappedObject->supportsOption(option)); +} + +bool PythonQtWrapper_QImageWriter::write(QImageWriter* theWrappedObject, const QImage& image) +{ + return ( theWrappedObject->write(image)); +} + + + +QList PythonQtShell_QInputContext::actions() +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "actions"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QList"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QList returnValue; + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("actions", methodInfo, result); + } else { + returnValue = *((QList*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QInputContext::actions(); +} +void PythonQtShell_QInputContext::childEvent(QChildEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "childEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QChildEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QInputContext::childEvent(arg__1); +} +void PythonQtShell_QInputContext::customEvent(QEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "customEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QInputContext::customEvent(arg__1); +} +bool PythonQtShell_QInputContext::event(QEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "event"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue; + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QInputContext::event(arg__1); +} +bool PythonQtShell_QInputContext::eventFilter(QObject* arg__1, QEvent* arg__2) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "eventFilter"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue; + void* args[3] = {NULL, (void*)&arg__1, (void*)&arg__2}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QInputContext::eventFilter(arg__1, arg__2); +} +bool PythonQtShell_QInputContext::filterEvent(const QEvent* event) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "filterEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "const QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue; + void* args[2] = {NULL, (void*)&event}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("filterEvent", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QInputContext::filterEvent(event); +} +QFont PythonQtShell_QInputContext::font() const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "font"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QFont"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QFont returnValue; + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("font", methodInfo, result); + } else { + returnValue = *((QFont*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QInputContext::font(); +} +QString PythonQtShell_QInputContext::identifierName() +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "identifierName"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QString"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QString returnValue; + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("identifierName", methodInfo, result); + } else { + returnValue = *((QString*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QString(); +} +bool PythonQtShell_QInputContext::isComposing() const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "isComposing"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + bool returnValue; + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("isComposing", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return bool(); +} +QString PythonQtShell_QInputContext::language() +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "language"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QString"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QString returnValue; + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("language", methodInfo, result); + } else { + returnValue = *((QString*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QString(); +} +void PythonQtShell_QInputContext::mouseHandler(int x, QMouseEvent* event) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mouseHandler"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "int" , "QMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + void* args[3] = {NULL, (void*)&x, (void*)&event}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QInputContext::mouseHandler(x, event); +} +void PythonQtShell_QInputContext::reset() +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "reset"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={""}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + +} +void PythonQtShell_QInputContext::setFocusWidget(QWidget* w) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "setFocusWidget"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QWidget*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&w}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QInputContext::setFocusWidget(w); +} +void PythonQtShell_QInputContext::timerEvent(QTimerEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "timerEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QTimerEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QInputContext::timerEvent(arg__1); +} +void PythonQtShell_QInputContext::update() +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "update"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={""}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QInputContext::update(); +} +void PythonQtShell_QInputContext::widgetDestroyed(QWidget* w) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "widgetDestroyed"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QWidget*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&w}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QInputContext::widgetDestroyed(w); +} +QInputContext* PythonQtWrapper_QInputContext::new_QInputContext(QObject* parent) +{ +return new PythonQtShell_QInputContext(parent); } + +QList PythonQtWrapper_QInputContext::actions(QInputContext* theWrappedObject) +{ + return ( ((PythonQtPublicPromoter_QInputContext*)theWrappedObject)->promoted_actions()); +} + +bool PythonQtWrapper_QInputContext::filterEvent(QInputContext* theWrappedObject, const QEvent* event) +{ + return ( ((PythonQtPublicPromoter_QInputContext*)theWrappedObject)->promoted_filterEvent(event)); +} + +QWidget* PythonQtWrapper_QInputContext::focusWidget(QInputContext* theWrappedObject) const +{ + return ( theWrappedObject->focusWidget()); +} + +QFont PythonQtWrapper_QInputContext::font(QInputContext* theWrappedObject) const +{ + return ( ((PythonQtPublicPromoter_QInputContext*)theWrappedObject)->promoted_font()); +} + +void PythonQtWrapper_QInputContext::mouseHandler(QInputContext* theWrappedObject, int x, QMouseEvent* event) +{ + ( ((PythonQtPublicPromoter_QInputContext*)theWrappedObject)->promoted_mouseHandler(x, event)); +} + +void PythonQtWrapper_QInputContext::sendEvent(QInputContext* theWrappedObject, const QInputMethodEvent& event) +{ + ( theWrappedObject->sendEvent(event)); +} + +QTextFormat PythonQtWrapper_QInputContext::standardFormat(QInputContext* theWrappedObject, QInputContext::StandardFormat s) const +{ + return ( theWrappedObject->standardFormat(s)); +} + +void PythonQtWrapper_QInputContext::update(QInputContext* theWrappedObject) +{ + ( ((PythonQtPublicPromoter_QInputContext*)theWrappedObject)->promoted_update()); +} + +void PythonQtWrapper_QInputContext::widgetDestroyed(QInputContext* theWrappedObject, QWidget* w) +{ + ( ((PythonQtPublicPromoter_QInputContext*)theWrappedObject)->promoted_widgetDestroyed(w)); +} + + + +QInputContextFactory* PythonQtWrapper_QInputContextFactory::new_QInputContextFactory() +{ +return new PythonQtShell_QInputContextFactory(); } + +QInputContext* PythonQtWrapper_QInputContextFactory::static_QInputContextFactory_create(const QString& key, QObject* parent) +{ + return (QInputContextFactory::create(key, parent)); +} + +QString PythonQtWrapper_QInputContextFactory::static_QInputContextFactory_description(const QString& key) +{ + return (QInputContextFactory::description(key)); +} + +QString PythonQtWrapper_QInputContextFactory::static_QInputContextFactory_displayName(const QString& key) +{ + return (QInputContextFactory::displayName(key)); +} + +QStringList PythonQtWrapper_QInputContextFactory::static_QInputContextFactory_keys() +{ + return (QInputContextFactory::keys()); +} + +QStringList PythonQtWrapper_QInputContextFactory::static_QInputContextFactory_languages(const QString& key) +{ + return (QInputContextFactory::languages(key)); +} + + + +void PythonQtShell_QInputContextPlugin::childEvent(QChildEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "childEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QChildEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QInputContextPlugin::childEvent(arg__1); +} +QInputContext* PythonQtShell_QInputContextPlugin::create(const QString& key) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "create"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QInputContext*" , "const QString&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + QInputContext* returnValue; + void* args[2] = {NULL, (void*)&key}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("create", methodInfo, result); + } else { + returnValue = *((QInputContext**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return 0; +} +void PythonQtShell_QInputContextPlugin::customEvent(QEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "customEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QInputContextPlugin::customEvent(arg__1); +} +QString PythonQtShell_QInputContextPlugin::description(const QString& key) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "description"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QString" , "const QString&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + QString returnValue; + void* args[2] = {NULL, (void*)&key}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("description", methodInfo, result); + } else { + returnValue = *((QString*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QString(); +} +QString PythonQtShell_QInputContextPlugin::displayName(const QString& key) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "displayName"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QString" , "const QString&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + QString returnValue; + void* args[2] = {NULL, (void*)&key}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("displayName", methodInfo, result); + } else { + returnValue = *((QString*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QString(); +} +bool PythonQtShell_QInputContextPlugin::event(QEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "event"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue; + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QInputContextPlugin::event(arg__1); +} +bool PythonQtShell_QInputContextPlugin::eventFilter(QObject* arg__1, QEvent* arg__2) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "eventFilter"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue; + void* args[3] = {NULL, (void*)&arg__1, (void*)&arg__2}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QInputContextPlugin::eventFilter(arg__1, arg__2); +} +QStringList PythonQtShell_QInputContextPlugin::keys() const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "keys"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QStringList"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QStringList returnValue; + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("keys", methodInfo, result); + } else { + returnValue = *((QStringList*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QStringList(); +} +QStringList PythonQtShell_QInputContextPlugin::languages(const QString& key) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "languages"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QStringList" , "const QString&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + QStringList returnValue; + void* args[2] = {NULL, (void*)&key}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("languages", methodInfo, result); + } else { + returnValue = *((QStringList*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QStringList(); +} +void PythonQtShell_QInputContextPlugin::timerEvent(QTimerEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "timerEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QTimerEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QInputContextPlugin::timerEvent(arg__1); +} +QInputContextPlugin* PythonQtWrapper_QInputContextPlugin::new_QInputContextPlugin(QObject* parent) +{ +return new PythonQtShell_QInputContextPlugin(parent); } + + + +void PythonQtShell_QInputDialog::accept() +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "accept"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={""}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QInputDialog::accept(); +} +void PythonQtShell_QInputDialog::actionEvent(QActionEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "actionEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QActionEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QInputDialog::actionEvent(arg__1); +} +void PythonQtShell_QInputDialog::changeEvent(QEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "changeEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QInputDialog::changeEvent(arg__1); +} +void PythonQtShell_QInputDialog::childEvent(QChildEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "childEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QChildEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QInputDialog::childEvent(arg__1); +} +void PythonQtShell_QInputDialog::closeEvent(QCloseEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "closeEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QCloseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QInputDialog::closeEvent(arg__1); +} +void PythonQtShell_QInputDialog::contextMenuEvent(QContextMenuEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "contextMenuEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QContextMenuEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QInputDialog::contextMenuEvent(arg__1); +} +void PythonQtShell_QInputDialog::customEvent(QEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "customEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QInputDialog::customEvent(arg__1); +} +int PythonQtShell_QInputDialog::devType() const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "devType"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + int returnValue; + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("devType", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QInputDialog::devType(); +} +void PythonQtShell_QInputDialog::done(int result) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "done"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&result}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QInputDialog::done(result); +} +void PythonQtShell_QInputDialog::dragEnterEvent(QDragEnterEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dragEnterEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QDragEnterEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QInputDialog::dragEnterEvent(arg__1); +} +void PythonQtShell_QInputDialog::dragLeaveEvent(QDragLeaveEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dragLeaveEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QDragLeaveEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QInputDialog::dragLeaveEvent(arg__1); +} +void PythonQtShell_QInputDialog::dragMoveEvent(QDragMoveEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dragMoveEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QDragMoveEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QInputDialog::dragMoveEvent(arg__1); +} +void PythonQtShell_QInputDialog::dropEvent(QDropEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dropEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QDropEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QInputDialog::dropEvent(arg__1); +} +void PythonQtShell_QInputDialog::enterEvent(QEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "enterEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QInputDialog::enterEvent(arg__1); +} +bool PythonQtShell_QInputDialog::event(QEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "event"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue; + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QInputDialog::event(arg__1); +} +bool PythonQtShell_QInputDialog::eventFilter(QObject* arg__1, QEvent* arg__2) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "eventFilter"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue; + void* args[3] = {NULL, (void*)&arg__1, (void*)&arg__2}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QInputDialog::eventFilter(arg__1, arg__2); +} +void PythonQtShell_QInputDialog::focusInEvent(QFocusEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "focusInEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QFocusEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QInputDialog::focusInEvent(arg__1); +} +bool PythonQtShell_QInputDialog::focusNextPrevChild(bool next) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "focusNextPrevChild"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue; + void* args[2] = {NULL, (void*)&next}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("focusNextPrevChild", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QInputDialog::focusNextPrevChild(next); +} +void PythonQtShell_QInputDialog::focusOutEvent(QFocusEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "focusOutEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QFocusEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QInputDialog::focusOutEvent(arg__1); +} +int PythonQtShell_QInputDialog::heightForWidth(int arg__1) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "heightForWidth"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"int" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + int returnValue; + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("heightForWidth", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QInputDialog::heightForWidth(arg__1); +} +void PythonQtShell_QInputDialog::hideEvent(QHideEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "hideEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QHideEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QInputDialog::hideEvent(arg__1); +} +void PythonQtShell_QInputDialog::inputMethodEvent(QInputMethodEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "inputMethodEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QInputMethodEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QInputDialog::inputMethodEvent(arg__1); +} +QVariant PythonQtShell_QInputDialog::inputMethodQuery(Qt::InputMethodQuery arg__1) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "inputMethodQuery"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QVariant" , "Qt::InputMethodQuery"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + QVariant returnValue; + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result); + } else { + returnValue = *((QVariant*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QInputDialog::inputMethodQuery(arg__1); +} +void PythonQtShell_QInputDialog::keyPressEvent(QKeyEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "keyPressEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QKeyEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QInputDialog::keyPressEvent(arg__1); +} +void PythonQtShell_QInputDialog::keyReleaseEvent(QKeyEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "keyReleaseEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QKeyEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QInputDialog::keyReleaseEvent(arg__1); +} +void PythonQtShell_QInputDialog::languageChange() +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "languageChange"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={""}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QInputDialog::languageChange(); +} +void PythonQtShell_QInputDialog::leaveEvent(QEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "leaveEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QInputDialog::leaveEvent(arg__1); +} +int PythonQtShell_QInputDialog::metric(QPaintDevice::PaintDeviceMetric arg__1) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "metric"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + int returnValue; + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("metric", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QInputDialog::metric(arg__1); +} +void PythonQtShell_QInputDialog::mouseDoubleClickEvent(QMouseEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mouseDoubleClickEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QInputDialog::mouseDoubleClickEvent(arg__1); +} +void PythonQtShell_QInputDialog::mouseMoveEvent(QMouseEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mouseMoveEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QInputDialog::mouseMoveEvent(arg__1); +} +void PythonQtShell_QInputDialog::mousePressEvent(QMouseEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mousePressEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QInputDialog::mousePressEvent(arg__1); +} +void PythonQtShell_QInputDialog::mouseReleaseEvent(QMouseEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mouseReleaseEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QInputDialog::mouseReleaseEvent(arg__1); +} +void PythonQtShell_QInputDialog::moveEvent(QMoveEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "moveEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QMoveEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QInputDialog::moveEvent(arg__1); +} +QPaintEngine* PythonQtShell_QInputDialog::paintEngine() const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "paintEngine"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QPaintEngine*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QPaintEngine* returnValue; + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); + } else { + returnValue = *((QPaintEngine**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QInputDialog::paintEngine(); +} +void PythonQtShell_QInputDialog::paintEvent(QPaintEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "paintEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QPaintEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QInputDialog::paintEvent(arg__1); +} +void PythonQtShell_QInputDialog::reject() +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "reject"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={""}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QInputDialog::reject(); +} +void PythonQtShell_QInputDialog::resizeEvent(QResizeEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "resizeEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QResizeEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QInputDialog::resizeEvent(arg__1); +} +void PythonQtShell_QInputDialog::showEvent(QShowEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "showEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QShowEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QInputDialog::showEvent(arg__1); +} +void PythonQtShell_QInputDialog::tabletEvent(QTabletEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "tabletEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QTabletEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QInputDialog::tabletEvent(arg__1); +} +void PythonQtShell_QInputDialog::timerEvent(QTimerEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "timerEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QTimerEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QInputDialog::timerEvent(arg__1); +} +void PythonQtShell_QInputDialog::wheelEvent(QWheelEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "wheelEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QWheelEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QInputDialog::wheelEvent(arg__1); +} +QInputDialog* PythonQtWrapper_QInputDialog::new_QInputDialog(QWidget* parent, Qt::WindowFlags flags) +{ +return new PythonQtShell_QInputDialog(parent, flags); } + +QString PythonQtWrapper_QInputDialog::cancelButtonText(QInputDialog* theWrappedObject) const +{ + return ( theWrappedObject->cancelButtonText()); +} + +QStringList PythonQtWrapper_QInputDialog::comboBoxItems(QInputDialog* theWrappedObject) const +{ + return ( theWrappedObject->comboBoxItems()); +} + +void PythonQtWrapper_QInputDialog::done(QInputDialog* theWrappedObject, int result) +{ + ( ((PythonQtPublicPromoter_QInputDialog*)theWrappedObject)->promoted_done(result)); +} + +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::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)); +} + +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)); +} + +int PythonQtWrapper_QInputDialog::static_QInputDialog_getInteger(QWidget* parent, const QString& title, const QString& label, int value, int minValue, int maxValue, int step, bool* ok, Qt::WindowFlags flags) +{ + return (QInputDialog::getInteger(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) +{ + return (QInputDialog::getItem(parent, title, label, items, current, editable, ok, flags)); +} + +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) +{ + return (QInputDialog::getText(parent, title, label, echo, text, ok, flags)); +} + +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()); +} + +QSize PythonQtWrapper_QInputDialog::minimumSizeHint(QInputDialog* theWrappedObject) const +{ + return ( theWrappedObject->minimumSizeHint()); +} + +QString PythonQtWrapper_QInputDialog::okButtonText(QInputDialog* theWrappedObject) const +{ + return ( theWrappedObject->okButtonText()); +} + +void PythonQtWrapper_QInputDialog::open(QInputDialog* theWrappedObject) +{ + ( theWrappedObject->open()); +} + +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::setDoubleValue(QInputDialog* theWrappedObject, double value) +{ + ( theWrappedObject->setDoubleValue(value)); +} + +void PythonQtWrapper_QInputDialog::setInputMode(QInputDialog* theWrappedObject, QInputDialog::InputMode mode) +{ + ( theWrappedObject->setInputMode(mode)); +} + +void PythonQtWrapper_QInputDialog::setIntMaximum(QInputDialog* theWrappedObject, int max) +{ + ( theWrappedObject->setIntMaximum(max)); +} + +void PythonQtWrapper_QInputDialog::setIntMinimum(QInputDialog* theWrappedObject, int min) +{ + ( theWrappedObject->setIntMinimum(min)); +} + +void PythonQtWrapper_QInputDialog::setIntRange(QInputDialog* theWrappedObject, int min, int max) +{ + ( theWrappedObject->setIntRange(min, max)); +} + +void PythonQtWrapper_QInputDialog::setIntStep(QInputDialog* theWrappedObject, int step) +{ + ( theWrappedObject->setIntStep(step)); +} + +void PythonQtWrapper_QInputDialog::setIntValue(QInputDialog* theWrappedObject, int value) +{ + ( theWrappedObject->setIntValue(value)); +} + +void PythonQtWrapper_QInputDialog::setLabelText(QInputDialog* theWrappedObject, const QString& text) +{ + ( theWrappedObject->setLabelText(text)); +} + +void PythonQtWrapper_QInputDialog::setOkButtonText(QInputDialog* theWrappedObject, const QString& text) +{ + ( theWrappedObject->setOkButtonText(text)); +} + +void PythonQtWrapper_QInputDialog::setOption(QInputDialog* theWrappedObject, QInputDialog::InputDialogOption option, bool on) +{ + ( theWrappedObject->setOption(option, on)); +} + +void PythonQtWrapper_QInputDialog::setOptions(QInputDialog* theWrappedObject, QInputDialog::InputDialogOptions options) +{ + ( theWrappedObject->setOptions(options)); +} + +void PythonQtWrapper_QInputDialog::setTextEchoMode(QInputDialog* theWrappedObject, QLineEdit::EchoMode mode) +{ + ( theWrappedObject->setTextEchoMode(mode)); +} + +void PythonQtWrapper_QInputDialog::setTextValue(QInputDialog* theWrappedObject, const QString& text) +{ + ( theWrappedObject->setTextValue(text)); +} + +void PythonQtWrapper_QInputDialog::setVisible(QInputDialog* theWrappedObject, bool visible) +{ + ( theWrappedObject->setVisible(visible)); +} + +QSize PythonQtWrapper_QInputDialog::sizeHint(QInputDialog* theWrappedObject) const +{ + return ( theWrappedObject->sizeHint()); +} + +bool PythonQtWrapper_QInputDialog::testOption(QInputDialog* theWrappedObject, QInputDialog::InputDialogOption option) const +{ + return ( theWrappedObject->testOption(option)); +} + +QLineEdit::EchoMode PythonQtWrapper_QInputDialog::textEchoMode(QInputDialog* theWrappedObject) const +{ + return ( theWrappedObject->textEchoMode()); +} + +QString PythonQtWrapper_QInputDialog::textValue(QInputDialog* theWrappedObject) const +{ + return ( theWrappedObject->textValue()); +} + + + +QInputEvent* PythonQtWrapper_QInputEvent::new_QInputEvent(QEvent::Type type, Qt::KeyboardModifiers modifiers) +{ +return new PythonQtShell_QInputEvent(type, modifiers); } + +Qt::KeyboardModifiers PythonQtWrapper_QInputEvent::modifiers(QInputEvent* theWrappedObject) const +{ + return ( theWrappedObject->modifiers()); +} + +void PythonQtWrapper_QInputEvent::setModifiers(QInputEvent* theWrappedObject, Qt::KeyboardModifiers amodifiers) +{ + ( theWrappedObject->setModifiers(amodifiers)); +} + + + +void PythonQtShell_QIntValidator::childEvent(QChildEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "childEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QChildEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QIntValidator::childEvent(arg__1); +} +void PythonQtShell_QIntValidator::customEvent(QEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "customEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QIntValidator::customEvent(arg__1); +} +bool PythonQtShell_QIntValidator::event(QEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "event"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue; + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QIntValidator::event(arg__1); +} +bool PythonQtShell_QIntValidator::eventFilter(QObject* arg__1, QEvent* arg__2) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "eventFilter"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue; + void* args[3] = {NULL, (void*)&arg__1, (void*)&arg__2}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QIntValidator::eventFilter(arg__1, arg__2); +} +void PythonQtShell_QIntValidator::fixup(QString& arg__1) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "fixup"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QString&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QIntValidator::fixup(arg__1); +} +void PythonQtShell_QIntValidator::setRange(int bottom, int top) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "setRange"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "int" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + void* args[3] = {NULL, (void*)&bottom, (void*)&top}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QIntValidator::setRange(bottom, top); +} +void PythonQtShell_QIntValidator::timerEvent(QTimerEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "timerEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QTimerEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QIntValidator::timerEvent(arg__1); +} +QValidator::State PythonQtShell_QIntValidator::validate(QString& arg__1, int& arg__2) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "validate"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QValidator::State" , "QString&" , "int&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + QValidator::State returnValue; + void* args[3] = {NULL, (void*)&arg__1, (void*)&arg__2}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("validate", methodInfo, result); + } else { + returnValue = *((QValidator::State*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QIntValidator::validate(arg__1, arg__2); +} +QIntValidator* PythonQtWrapper_QIntValidator::new_QIntValidator(QObject* parent) +{ +return new PythonQtShell_QIntValidator(parent); } + +QIntValidator* PythonQtWrapper_QIntValidator::new_QIntValidator(int bottom, int top, QObject* parent) +{ +return new PythonQtShell_QIntValidator(bottom, top, parent); } + +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) +{ + ( ((PythonQtPublicPromoter_QIntValidator*)theWrappedObject)->promoted_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()); +} + +QValidator::State PythonQtWrapper_QIntValidator::validate(QIntValidator* theWrappedObject, QString& arg__1, int& arg__2) const +{ + return ( ((PythonQtPublicPromoter_QIntValidator*)theWrappedObject)->promoted_validate(arg__1, arg__2)); +} + + + +void PythonQtShell_QItemDelegate::childEvent(QChildEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "childEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QChildEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QItemDelegate::childEvent(arg__1); +} +QWidget* PythonQtShell_QItemDelegate::createEditor(QWidget* parent, const QStyleOptionViewItem& option, const QModelIndex& index) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "createEditor"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QWidget*" , "QWidget*" , "const QStyleOptionViewItem&" , "const QModelIndex&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + QWidget* returnValue; + void* args[4] = {NULL, (void*)&parent, (void*)&option, (void*)&index}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("createEditor", methodInfo, result); + } else { + returnValue = *((QWidget**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QItemDelegate::createEditor(parent, option, index); +} +void PythonQtShell_QItemDelegate::customEvent(QEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "customEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QItemDelegate::customEvent(arg__1); +} +void PythonQtShell_QItemDelegate::drawCheck(QPainter* painter, const QStyleOptionViewItem& option, const QRect& rect, Qt::CheckState state) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "drawCheck"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QPainter*" , "const QStyleOptionViewItem&" , "const QRect&" , "Qt::CheckState"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(5, argumentList); + void* args[5] = {NULL, (void*)&painter, (void*)&option, (void*)&rect, (void*)&state}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QItemDelegate::drawCheck(painter, option, rect, state); +} +void PythonQtShell_QItemDelegate::drawDecoration(QPainter* painter, const QStyleOptionViewItem& option, const QRect& rect, const QPixmap& pixmap) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "drawDecoration"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QPainter*" , "const QStyleOptionViewItem&" , "const QRect&" , "const QPixmap&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(5, argumentList); + void* args[5] = {NULL, (void*)&painter, (void*)&option, (void*)&rect, (void*)&pixmap}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QItemDelegate::drawDecoration(painter, option, rect, pixmap); +} +void PythonQtShell_QItemDelegate::drawDisplay(QPainter* painter, const QStyleOptionViewItem& option, const QRect& rect, const QString& text) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "drawDisplay"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QPainter*" , "const QStyleOptionViewItem&" , "const QRect&" , "const QString&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(5, argumentList); + void* args[5] = {NULL, (void*)&painter, (void*)&option, (void*)&rect, (void*)&text}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QItemDelegate::drawDisplay(painter, option, rect, text); +} +void PythonQtShell_QItemDelegate::drawFocus(QPainter* painter, const QStyleOptionViewItem& option, const QRect& rect) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "drawFocus"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QPainter*" , "const QStyleOptionViewItem&" , "const QRect&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + void* args[4] = {NULL, (void*)&painter, (void*)&option, (void*)&rect}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QItemDelegate::drawFocus(painter, option, rect); +} +bool PythonQtShell_QItemDelegate::editorEvent(QEvent* event, QAbstractItemModel* model, const QStyleOptionViewItem& option, const QModelIndex& index) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "editorEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "QEvent*" , "QAbstractItemModel*" , "const QStyleOptionViewItem&" , "const QModelIndex&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(5, argumentList); + bool returnValue; + void* args[5] = {NULL, (void*)&event, (void*)&model, (void*)&option, (void*)&index}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("editorEvent", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QItemDelegate::editorEvent(event, model, option, index); +} +bool PythonQtShell_QItemDelegate::event(QEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "event"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue; + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QItemDelegate::event(arg__1); +} +bool PythonQtShell_QItemDelegate::eventFilter(QObject* object, QEvent* event) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "eventFilter"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue; + void* args[3] = {NULL, (void*)&object, (void*)&event}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QItemDelegate::eventFilter(object, event); +} +void PythonQtShell_QItemDelegate::paint(QPainter* painter, const QStyleOptionViewItem& option, const QModelIndex& index) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "paint"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QPainter*" , "const QStyleOptionViewItem&" , "const QModelIndex&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + void* args[4] = {NULL, (void*)&painter, (void*)&option, (void*)&index}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QItemDelegate::paint(painter, option, index); +} +void PythonQtShell_QItemDelegate::setEditorData(QWidget* editor, const QModelIndex& index) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "setEditorData"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QWidget*" , "const QModelIndex&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + void* args[3] = {NULL, (void*)&editor, (void*)&index}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QItemDelegate::setEditorData(editor, index); +} +void PythonQtShell_QItemDelegate::setModelData(QWidget* editor, QAbstractItemModel* model, const QModelIndex& index) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "setModelData"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QWidget*" , "QAbstractItemModel*" , "const QModelIndex&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + void* args[4] = {NULL, (void*)&editor, (void*)&model, (void*)&index}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QItemDelegate::setModelData(editor, model, index); +} +QSize PythonQtShell_QItemDelegate::sizeHint(const QStyleOptionViewItem& option, const QModelIndex& index) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "sizeHint"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QSize" , "const QStyleOptionViewItem&" , "const QModelIndex&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + QSize returnValue; + void* args[3] = {NULL, (void*)&option, (void*)&index}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("sizeHint", methodInfo, result); + } else { + returnValue = *((QSize*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QItemDelegate::sizeHint(option, index); +} +void PythonQtShell_QItemDelegate::timerEvent(QTimerEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "timerEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QTimerEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QItemDelegate::timerEvent(arg__1); +} +void PythonQtShell_QItemDelegate::updateEditorGeometry(QWidget* editor, const QStyleOptionViewItem& option, const QModelIndex& index) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "updateEditorGeometry"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QWidget*" , "const QStyleOptionViewItem&" , "const QModelIndex&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + void* args[4] = {NULL, (void*)&editor, (void*)&option, (void*)&index}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QItemDelegate::updateEditorGeometry(editor, option, index); +} +QItemDelegate* PythonQtWrapper_QItemDelegate::new_QItemDelegate(QObject* parent) +{ +return new PythonQtShell_QItemDelegate(parent); } + +QWidget* PythonQtWrapper_QItemDelegate::createEditor(QItemDelegate* theWrappedObject, QWidget* parent, const QStyleOptionViewItem& option, const QModelIndex& index) const +{ + return ( ((PythonQtPublicPromoter_QItemDelegate*)theWrappedObject)->promoted_createEditor(parent, option, index)); +} + +void PythonQtWrapper_QItemDelegate::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::editorEvent(QItemDelegate* theWrappedObject, QEvent* event, QAbstractItemModel* model, const QStyleOptionViewItem& option, const QModelIndex& index) +{ + return ( ((PythonQtPublicPromoter_QItemDelegate*)theWrappedObject)->promoted_editorEvent(event, model, option, index)); +} + +bool PythonQtWrapper_QItemDelegate::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()); +} + +void PythonQtWrapper_QItemDelegate::paint(QItemDelegate* theWrappedObject, QPainter* painter, const QStyleOptionViewItem& option, const QModelIndex& index) const +{ + ( ((PythonQtPublicPromoter_QItemDelegate*)theWrappedObject)->promoted_paint(painter, option, index)); +} + +void PythonQtWrapper_QItemDelegate::setClipping(QItemDelegate* theWrappedObject, bool clip) +{ + ( theWrappedObject->setClipping(clip)); +} + +void PythonQtWrapper_QItemDelegate::setEditorData(QItemDelegate* theWrappedObject, QWidget* editor, const QModelIndex& index) const +{ + ( ((PythonQtPublicPromoter_QItemDelegate*)theWrappedObject)->promoted_setEditorData(editor, index)); +} + +void PythonQtWrapper_QItemDelegate::setItemEditorFactory(QItemDelegate* theWrappedObject, QItemEditorFactory* factory) +{ + ( theWrappedObject->setItemEditorFactory(factory)); +} + +void PythonQtWrapper_QItemDelegate::setModelData(QItemDelegate* theWrappedObject, QWidget* editor, QAbstractItemModel* model, const QModelIndex& index) const +{ + ( ((PythonQtPublicPromoter_QItemDelegate*)theWrappedObject)->promoted_setModelData(editor, model, index)); +} + +QSize PythonQtWrapper_QItemDelegate::sizeHint(QItemDelegate* theWrappedObject, const QStyleOptionViewItem& option, const QModelIndex& index) const +{ + return ( ((PythonQtPublicPromoter_QItemDelegate*)theWrappedObject)->promoted_sizeHint(option, index)); +} + +void PythonQtWrapper_QItemDelegate::updateEditorGeometry(QItemDelegate* theWrappedObject, QWidget* editor, const QStyleOptionViewItem& option, const QModelIndex& index) const +{ + ( ((PythonQtPublicPromoter_QItemDelegate*)theWrappedObject)->promoted_updateEditorGeometry(editor, option, index)); +} + + + +QWidget* PythonQtShell_QItemEditorCreatorBase::createWidget(QWidget* parent) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "createWidget"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QWidget*" , "QWidget*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + QWidget* returnValue; + void* args[2] = {NULL, (void*)&parent}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("createWidget", methodInfo, result); + } else { + returnValue = *((QWidget**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return 0; +} +QByteArray PythonQtShell_QItemEditorCreatorBase::valuePropertyName() const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "valuePropertyName"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QByteArray"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QByteArray returnValue; + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("valuePropertyName", methodInfo, result); + } else { + returnValue = *((QByteArray*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QByteArray(); +} +QItemEditorCreatorBase* PythonQtWrapper_QItemEditorCreatorBase::new_QItemEditorCreatorBase() +{ +return new PythonQtShell_QItemEditorCreatorBase(); } + + + +QWidget* PythonQtShell_QItemEditorFactory::createEditor(QVariant::Type type, QWidget* parent) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "createEditor"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QWidget*" , "QVariant::Type" , "QWidget*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + QWidget* returnValue; + void* args[3] = {NULL, (void*)&type, (void*)&parent}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("createEditor", methodInfo, result); + } else { + returnValue = *((QWidget**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QItemEditorFactory::createEditor(type, parent); +} +QByteArray PythonQtShell_QItemEditorFactory::valuePropertyName(QVariant::Type type) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "valuePropertyName"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QByteArray" , "QVariant::Type"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + QByteArray returnValue; + void* args[2] = {NULL, (void*)&type}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("valuePropertyName", methodInfo, result); + } else { + returnValue = *((QByteArray*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QItemEditorFactory::valuePropertyName(type); +} +QItemEditorFactory* PythonQtWrapper_QItemEditorFactory::new_QItemEditorFactory() +{ +return new PythonQtShell_QItemEditorFactory(); } + +QWidget* PythonQtWrapper_QItemEditorFactory::createEditor(QItemEditorFactory* theWrappedObject, QVariant::Type type, QWidget* parent) const +{ + return ( ((PythonQtPublicPromoter_QItemEditorFactory*)theWrappedObject)->promoted_createEditor(type, parent)); +} + +const QItemEditorFactory* PythonQtWrapper_QItemEditorFactory::static_QItemEditorFactory_defaultFactory() +{ + return (QItemEditorFactory::defaultFactory()); +} + +void PythonQtWrapper_QItemEditorFactory::registerEditor(QItemEditorFactory* theWrappedObject, QVariant::Type type, QItemEditorCreatorBase* creator) +{ + ( theWrappedObject->registerEditor(type, creator)); +} + +void PythonQtWrapper_QItemEditorFactory::static_QItemEditorFactory_setDefaultFactory(QItemEditorFactory* factory) +{ + (QItemEditorFactory::setDefaultFactory(factory)); +} + +QByteArray PythonQtWrapper_QItemEditorFactory::valuePropertyName(QItemEditorFactory* theWrappedObject, QVariant::Type type) const +{ + return ( ((PythonQtPublicPromoter_QItemEditorFactory*)theWrappedObject)->promoted_valuePropertyName(type)); +} + + + +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()); +} + +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()); +} + +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::select(QItemSelection* theWrappedObject, const QModelIndex& topLeft, const QModelIndex& bottomRight) +{ + ( theWrappedObject->select(topLeft, bottomRight)); +} + +void PythonQtWrapper_QItemSelection::setSharable(QItemSelection* theWrappedObject, bool sharable) +{ + ( theWrappedObject->setSharable(sharable)); +} + +int PythonQtWrapper_QItemSelection::size(QItemSelection* theWrappedObject) const +{ + return ( theWrappedObject->size()); +} + +void PythonQtWrapper_QItemSelection::static_QItemSelection_split(const QItemSelectionRange& range, const QItemSelectionRange& other, QItemSelection* result) +{ + (QItemSelection::split(range, other, result)); +} + +bool PythonQtWrapper_QItemSelection::startsWith(QItemSelection* theWrappedObject, const QItemSelectionRange& t) const +{ + return ( theWrappedObject->startsWith(t)); +} + +void PythonQtWrapper_QItemSelection::swap(QItemSelection* theWrappedObject, int i, int j) +{ + ( theWrappedObject->swap(i, j)); +} + +QItemSelectionRange PythonQtWrapper_QItemSelection::takeAt(QItemSelection* theWrappedObject, int i) +{ + return ( theWrappedObject->takeAt(i)); +} + +QItemSelectionRange PythonQtWrapper_QItemSelection::takeFirst(QItemSelection* theWrappedObject) +{ + return ( theWrappedObject->takeFirst()); +} + +QItemSelectionRange PythonQtWrapper_QItemSelection::takeLast(QItemSelection* theWrappedObject) +{ + return ( theWrappedObject->takeLast()); +} + +QVector PythonQtWrapper_QItemSelection::toVector(QItemSelection* theWrappedObject) const +{ + return ( theWrappedObject->toVector()); +} + +QItemSelectionRange PythonQtWrapper_QItemSelection::value(QItemSelection* theWrappedObject, int i) const +{ + return ( theWrappedObject->value(i)); +} + +QItemSelectionRange PythonQtWrapper_QItemSelection::value(QItemSelection* theWrappedObject, int i, const QItemSelectionRange& defaultValue) const +{ + return ( theWrappedObject->value(i, defaultValue)); +} + + + +void PythonQtShell_QItemSelectionModel::childEvent(QChildEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "childEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QChildEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QItemSelectionModel::childEvent(arg__1); +} +void PythonQtShell_QItemSelectionModel::clear() +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "clear"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={""}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QItemSelectionModel::clear(); +} +void PythonQtShell_QItemSelectionModel::customEvent(QEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "customEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QItemSelectionModel::customEvent(arg__1); +} +bool PythonQtShell_QItemSelectionModel::event(QEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "event"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue; + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QItemSelectionModel::event(arg__1); +} +bool PythonQtShell_QItemSelectionModel::eventFilter(QObject* arg__1, QEvent* arg__2) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "eventFilter"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue; + void* args[3] = {NULL, (void*)&arg__1, (void*)&arg__2}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QItemSelectionModel::eventFilter(arg__1, arg__2); +} +void PythonQtShell_QItemSelectionModel::reset() +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "reset"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={""}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QItemSelectionModel::reset(); +} +void PythonQtShell_QItemSelectionModel::select(const QItemSelection& selection, QItemSelectionModel::SelectionFlags command) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "select"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "const QItemSelection&" , "QItemSelectionModel::SelectionFlags"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + void* args[3] = {NULL, (void*)&selection, (void*)&command}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QItemSelectionModel::select(selection, command); +} +void PythonQtShell_QItemSelectionModel::select(const QModelIndex& index, QItemSelectionModel::SelectionFlags command) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "select"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "const QModelIndex&" , "QItemSelectionModel::SelectionFlags"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + void* args[3] = {NULL, (void*)&index, (void*)&command}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QItemSelectionModel::select(index, command); +} +void PythonQtShell_QItemSelectionModel::timerEvent(QTimerEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "timerEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QTimerEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QItemSelectionModel::timerEvent(arg__1); +} +QItemSelectionModel* PythonQtWrapper_QItemSelectionModel::new_QItemSelectionModel(QAbstractItemModel* model) +{ +return new PythonQtShell_QItemSelectionModel(model); } + +QItemSelectionModel* PythonQtWrapper_QItemSelectionModel::new_QItemSelectionModel(QAbstractItemModel* model, QObject* parent) +{ +return new PythonQtShell_QItemSelectionModel(model, parent); } + +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()); +} + +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)); +} + +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()); +} + + + +QItemSelectionRange* PythonQtWrapper_QItemSelectionRange::new_QItemSelectionRange() +{ +return new QItemSelectionRange(); } + +QItemSelectionRange* PythonQtWrapper_QItemSelectionRange::new_QItemSelectionRange(const QItemSelectionRange& other) +{ +return new QItemSelectionRange(other); } + +QItemSelectionRange* PythonQtWrapper_QItemSelectionRange::new_QItemSelectionRange(const QModelIndex& index) +{ +return new QItemSelectionRange(index); } + +QItemSelectionRange* PythonQtWrapper_QItemSelectionRange::new_QItemSelectionRange(const QModelIndex& topLeft, const QModelIndex& bottomRight) +{ +return new QItemSelectionRange(topLeft, bottomRight); } + +int PythonQtWrapper_QItemSelectionRange::bottom(QItemSelectionRange* theWrappedObject) const +{ + return ( theWrappedObject->bottom()); +} + +QModelIndex PythonQtWrapper_QItemSelectionRange::bottomRight(QItemSelectionRange* theWrappedObject) const +{ + return ( theWrappedObject->bottomRight()); +} + +bool PythonQtWrapper_QItemSelectionRange::contains(QItemSelectionRange* theWrappedObject, const QModelIndex& index) const +{ + return ( theWrappedObject->contains(index)); +} + +bool PythonQtWrapper_QItemSelectionRange::contains(QItemSelectionRange* theWrappedObject, int row, int column, const QModelIndex& parentIndex) const +{ + return ( theWrappedObject->contains(row, column, parentIndex)); +} + +int PythonQtWrapper_QItemSelectionRange::height(QItemSelectionRange* theWrappedObject) const +{ + return ( theWrappedObject->height()); +} + +QList PythonQtWrapper_QItemSelectionRange::indexes(QItemSelectionRange* theWrappedObject) const +{ + return ( theWrappedObject->indexes()); +} + +QItemSelectionRange PythonQtWrapper_QItemSelectionRange::intersected(QItemSelectionRange* theWrappedObject, const QItemSelectionRange& other) const +{ + return ( theWrappedObject->intersected(other)); +} + +bool PythonQtWrapper_QItemSelectionRange::intersects(QItemSelectionRange* theWrappedObject, const QItemSelectionRange& other) const +{ + return ( theWrappedObject->intersects(other)); +} + +bool PythonQtWrapper_QItemSelectionRange::isValid(QItemSelectionRange* theWrappedObject) const +{ + return ( theWrappedObject->isValid()); +} + +int PythonQtWrapper_QItemSelectionRange::left(QItemSelectionRange* theWrappedObject) const +{ + return ( theWrappedObject->left()); +} + +const QAbstractItemModel* PythonQtWrapper_QItemSelectionRange::model(QItemSelectionRange* theWrappedObject) const +{ + return ( theWrappedObject->model()); +} + +bool PythonQtWrapper_QItemSelectionRange::__ne__(QItemSelectionRange* theWrappedObject, const QItemSelectionRange& other) const +{ + return ( (*theWrappedObject)!= other); +} + +bool PythonQtWrapper_QItemSelectionRange::__eq__(QItemSelectionRange* theWrappedObject, const QItemSelectionRange& other) const +{ + return ( (*theWrappedObject)== other); +} + +QModelIndex PythonQtWrapper_QItemSelectionRange::parent(QItemSelectionRange* theWrappedObject) const +{ + return ( theWrappedObject->parent()); +} + +int PythonQtWrapper_QItemSelectionRange::right(QItemSelectionRange* theWrappedObject) const +{ + return ( theWrappedObject->right()); +} + +int PythonQtWrapper_QItemSelectionRange::top(QItemSelectionRange* theWrappedObject) const +{ + return ( theWrappedObject->top()); +} + +QModelIndex PythonQtWrapper_QItemSelectionRange::topLeft(QItemSelectionRange* theWrappedObject) const +{ + return ( theWrappedObject->topLeft()); +} + +int PythonQtWrapper_QItemSelectionRange::width(QItemSelectionRange* theWrappedObject) const +{ + return ( theWrappedObject->width()); +} + +QString PythonQtWrapper_QItemSelectionRange::py_toString(QItemSelectionRange* obj) { + QString result; + QDebug d(&result); + d << *obj; + return result; +} + + + +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); } + +int PythonQtWrapper_QKeyEvent::count(QKeyEvent* theWrappedObject) const +{ + return ( theWrappedObject->count()); +} + +QKeyEvent* PythonQtWrapper_QKeyEvent::static_QKeyEvent_createExtendedKeyEvent(QEvent::Type type, int key, Qt::KeyboardModifiers modifiers, unsigned int nativeScanCode, unsigned int nativeVirtualKey, unsigned int nativeModifiers, const QString& text, bool autorep, ushort count) +{ + return (QKeyEvent::createExtendedKeyEvent(type, key, modifiers, nativeScanCode, nativeVirtualKey, nativeModifiers, text, autorep, count)); +} + +bool PythonQtWrapper_QKeyEvent::hasExtendedInfo(QKeyEvent* theWrappedObject) const +{ + return ( theWrappedObject->hasExtendedInfo()); +} + +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()); +} + + + +void PythonQtShell_QKeyEventTransition::childEvent(QChildEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "childEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QChildEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QKeyEventTransition::childEvent(arg__1); +} +void PythonQtShell_QKeyEventTransition::customEvent(QEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "customEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QKeyEventTransition::customEvent(arg__1); +} +bool PythonQtShell_QKeyEventTransition::event(QEvent* e) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "event"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue; + void* args[2] = {NULL, (void*)&e}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QKeyEventTransition::event(e); +} +bool PythonQtShell_QKeyEventTransition::eventFilter(QObject* arg__1, QEvent* arg__2) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "eventFilter"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue; + void* args[3] = {NULL, (void*)&arg__1, (void*)&arg__2}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QKeyEventTransition::eventFilter(arg__1, arg__2); +} +bool PythonQtShell_QKeyEventTransition::eventTest(QEvent* event) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "eventTest"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue; + void* args[2] = {NULL, (void*)&event}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("eventTest", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QKeyEventTransition::eventTest(event); +} +void PythonQtShell_QKeyEventTransition::onTransition(QEvent* event) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "onTransition"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&event}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QKeyEventTransition::onTransition(event); +} +void PythonQtShell_QKeyEventTransition::timerEvent(QTimerEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "timerEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QTimerEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QKeyEventTransition::timerEvent(arg__1); +} +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); } + +bool PythonQtWrapper_QKeyEventTransition::eventTest(QKeyEventTransition* theWrappedObject, QEvent* event) +{ + return ( ((PythonQtPublicPromoter_QKeyEventTransition*)theWrappedObject)->promoted_eventTest(event)); +} + +int PythonQtWrapper_QKeyEventTransition::key(QKeyEventTransition* theWrappedObject) const +{ + return ( theWrappedObject->key()); +} + +Qt::KeyboardModifiers PythonQtWrapper_QKeyEventTransition::modifierMask(QKeyEventTransition* theWrappedObject) const +{ + return ( theWrappedObject->modifierMask()); +} + +void PythonQtWrapper_QKeyEventTransition::onTransition(QKeyEventTransition* theWrappedObject, QEvent* event) +{ + ( ((PythonQtPublicPromoter_QKeyEventTransition*)theWrappedObject)->promoted_onTransition(event)); +} + +void PythonQtWrapper_QKeyEventTransition::setKey(QKeyEventTransition* theWrappedObject, int key) +{ + ( theWrappedObject->setKey(key)); +} + +void PythonQtWrapper_QKeyEventTransition::setModifierMask(QKeyEventTransition* theWrappedObject, Qt::KeyboardModifiers modifiers) +{ + ( theWrappedObject->setModifierMask(modifiers)); +} + + + +void PythonQtShell_QLCDNumber::actionEvent(QActionEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "actionEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QActionEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QLCDNumber::actionEvent(arg__1); +} +void PythonQtShell_QLCDNumber::changeEvent(QEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "changeEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QLCDNumber::changeEvent(arg__1); +} +void PythonQtShell_QLCDNumber::childEvent(QChildEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "childEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QChildEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QLCDNumber::childEvent(arg__1); +} +void PythonQtShell_QLCDNumber::closeEvent(QCloseEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "closeEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QCloseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QLCDNumber::closeEvent(arg__1); +} +void PythonQtShell_QLCDNumber::contextMenuEvent(QContextMenuEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "contextMenuEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QContextMenuEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QLCDNumber::contextMenuEvent(arg__1); +} +void PythonQtShell_QLCDNumber::customEvent(QEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "customEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QLCDNumber::customEvent(arg__1); +} +int PythonQtShell_QLCDNumber::devType() const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "devType"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + int returnValue; + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("devType", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QLCDNumber::devType(); +} +void PythonQtShell_QLCDNumber::dragEnterEvent(QDragEnterEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dragEnterEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QDragEnterEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QLCDNumber::dragEnterEvent(arg__1); +} +void PythonQtShell_QLCDNumber::dragLeaveEvent(QDragLeaveEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dragLeaveEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QDragLeaveEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QLCDNumber::dragLeaveEvent(arg__1); +} +void PythonQtShell_QLCDNumber::dragMoveEvent(QDragMoveEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dragMoveEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QDragMoveEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QLCDNumber::dragMoveEvent(arg__1); +} +void PythonQtShell_QLCDNumber::dropEvent(QDropEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dropEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QDropEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QLCDNumber::dropEvent(arg__1); +} +void PythonQtShell_QLCDNumber::enterEvent(QEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "enterEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QLCDNumber::enterEvent(arg__1); +} +bool PythonQtShell_QLCDNumber::event(QEvent* e) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "event"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue; + void* args[2] = {NULL, (void*)&e}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QLCDNumber::event(e); +} +bool PythonQtShell_QLCDNumber::eventFilter(QObject* arg__1, QEvent* arg__2) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "eventFilter"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue; + void* args[3] = {NULL, (void*)&arg__1, (void*)&arg__2}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QLCDNumber::eventFilter(arg__1, arg__2); +} +void PythonQtShell_QLCDNumber::focusInEvent(QFocusEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "focusInEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QFocusEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QLCDNumber::focusInEvent(arg__1); +} +bool PythonQtShell_QLCDNumber::focusNextPrevChild(bool next) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "focusNextPrevChild"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue; + void* args[2] = {NULL, (void*)&next}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("focusNextPrevChild", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QLCDNumber::focusNextPrevChild(next); +} +void PythonQtShell_QLCDNumber::focusOutEvent(QFocusEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "focusOutEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QFocusEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QLCDNumber::focusOutEvent(arg__1); +} +int PythonQtShell_QLCDNumber::heightForWidth(int arg__1) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "heightForWidth"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"int" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + int returnValue; + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("heightForWidth", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QLCDNumber::heightForWidth(arg__1); +} +void PythonQtShell_QLCDNumber::hideEvent(QHideEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "hideEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QHideEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QLCDNumber::hideEvent(arg__1); +} +void PythonQtShell_QLCDNumber::inputMethodEvent(QInputMethodEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "inputMethodEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QInputMethodEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QLCDNumber::inputMethodEvent(arg__1); +} +QVariant PythonQtShell_QLCDNumber::inputMethodQuery(Qt::InputMethodQuery arg__1) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "inputMethodQuery"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QVariant" , "Qt::InputMethodQuery"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + QVariant returnValue; + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result); + } else { + returnValue = *((QVariant*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QLCDNumber::inputMethodQuery(arg__1); +} +void PythonQtShell_QLCDNumber::keyPressEvent(QKeyEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "keyPressEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QKeyEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QLCDNumber::keyPressEvent(arg__1); +} +void PythonQtShell_QLCDNumber::keyReleaseEvent(QKeyEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "keyReleaseEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QKeyEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QLCDNumber::keyReleaseEvent(arg__1); +} +void PythonQtShell_QLCDNumber::languageChange() +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "languageChange"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={""}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QLCDNumber::languageChange(); +} +void PythonQtShell_QLCDNumber::leaveEvent(QEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "leaveEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QLCDNumber::leaveEvent(arg__1); +} +int PythonQtShell_QLCDNumber::metric(QPaintDevice::PaintDeviceMetric arg__1) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "metric"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + int returnValue; + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("metric", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QLCDNumber::metric(arg__1); +} +QSize PythonQtShell_QLCDNumber::minimumSizeHint() const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "getMinimumSizeHint"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QSize"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QSize returnValue; + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("getMinimumSizeHint", methodInfo, result); + } else { + returnValue = *((QSize*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QLCDNumber::minimumSizeHint(); +} +void PythonQtShell_QLCDNumber::mouseDoubleClickEvent(QMouseEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mouseDoubleClickEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QLCDNumber::mouseDoubleClickEvent(arg__1); +} +void PythonQtShell_QLCDNumber::mouseMoveEvent(QMouseEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mouseMoveEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QLCDNumber::mouseMoveEvent(arg__1); +} +void PythonQtShell_QLCDNumber::mousePressEvent(QMouseEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mousePressEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QLCDNumber::mousePressEvent(arg__1); +} +void PythonQtShell_QLCDNumber::mouseReleaseEvent(QMouseEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mouseReleaseEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QLCDNumber::mouseReleaseEvent(arg__1); +} +void PythonQtShell_QLCDNumber::moveEvent(QMoveEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "moveEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QMoveEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QLCDNumber::moveEvent(arg__1); +} +QPaintEngine* PythonQtShell_QLCDNumber::paintEngine() const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "paintEngine"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QPaintEngine*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QPaintEngine* returnValue; + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); + } else { + returnValue = *((QPaintEngine**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QLCDNumber::paintEngine(); +} +void PythonQtShell_QLCDNumber::paintEvent(QPaintEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "paintEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QPaintEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QLCDNumber::paintEvent(arg__1); +} +void PythonQtShell_QLCDNumber::resizeEvent(QResizeEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "resizeEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QResizeEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QLCDNumber::resizeEvent(arg__1); +} +void PythonQtShell_QLCDNumber::showEvent(QShowEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "showEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QShowEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QLCDNumber::showEvent(arg__1); +} +void PythonQtShell_QLCDNumber::tabletEvent(QTabletEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "tabletEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QTabletEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QLCDNumber::tabletEvent(arg__1); +} +void PythonQtShell_QLCDNumber::timerEvent(QTimerEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "timerEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QTimerEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QLCDNumber::timerEvent(arg__1); +} +void PythonQtShell_QLCDNumber::wheelEvent(QWheelEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "wheelEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QWheelEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QLCDNumber::wheelEvent(arg__1); +} +QLCDNumber* PythonQtWrapper_QLCDNumber::new_QLCDNumber(QWidget* parent) +{ +return new PythonQtShell_QLCDNumber(parent); } + +QLCDNumber* PythonQtWrapper_QLCDNumber::new_QLCDNumber(uint numDigits, QWidget* parent) +{ +return new PythonQtShell_QLCDNumber(numDigits, parent); } + +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()); +} + +bool PythonQtWrapper_QLCDNumber::event(QLCDNumber* theWrappedObject, QEvent* e) +{ + return ( ((PythonQtPublicPromoter_QLCDNumber*)theWrappedObject)->promoted_event(e)); +} + +int PythonQtWrapper_QLCDNumber::intValue(QLCDNumber* theWrappedObject) const +{ + return ( theWrappedObject->intValue()); +} + +QLCDNumber::Mode PythonQtWrapper_QLCDNumber::mode(QLCDNumber* theWrappedObject) const +{ + return ( theWrappedObject->mode()); +} + +int PythonQtWrapper_QLCDNumber::numDigits(QLCDNumber* theWrappedObject) const +{ + return ( theWrappedObject->numDigits()); +} + +void PythonQtWrapper_QLCDNumber::paintEvent(QLCDNumber* theWrappedObject, QPaintEvent* arg__1) +{ + ( ((PythonQtPublicPromoter_QLCDNumber*)theWrappedObject)->promoted_paintEvent(arg__1)); +} + +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::setNumDigits(QLCDNumber* theWrappedObject, int nDigits) +{ + ( theWrappedObject->setNumDigits(nDigits)); +} + +void PythonQtWrapper_QLCDNumber::setSegmentStyle(QLCDNumber* theWrappedObject, QLCDNumber::SegmentStyle arg__1) +{ + ( theWrappedObject->setSegmentStyle(arg__1)); +} + +QSize PythonQtWrapper_QLCDNumber::sizeHint(QLCDNumber* theWrappedObject) const +{ + return ( theWrappedObject->sizeHint()); +} + +bool PythonQtWrapper_QLCDNumber::smallDecimalPoint(QLCDNumber* theWrappedObject) const +{ + return ( theWrappedObject->smallDecimalPoint()); +} + +double PythonQtWrapper_QLCDNumber::value(QLCDNumber* theWrappedObject) const +{ + return ( theWrappedObject->value()); +} + + + +void PythonQtShell_QLabel::actionEvent(QActionEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "actionEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QActionEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QLabel::actionEvent(arg__1); +} +void PythonQtShell_QLabel::changeEvent(QEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "changeEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QLabel::changeEvent(arg__1); +} +void PythonQtShell_QLabel::childEvent(QChildEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "childEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QChildEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QLabel::childEvent(arg__1); +} +void PythonQtShell_QLabel::closeEvent(QCloseEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "closeEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QCloseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QLabel::closeEvent(arg__1); +} +void PythonQtShell_QLabel::contextMenuEvent(QContextMenuEvent* ev) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "contextMenuEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QContextMenuEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&ev}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QLabel::contextMenuEvent(ev); +} +void PythonQtShell_QLabel::customEvent(QEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "customEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QLabel::customEvent(arg__1); +} +int PythonQtShell_QLabel::devType() const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "devType"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + int returnValue; + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("devType", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QLabel::devType(); +} +void PythonQtShell_QLabel::dragEnterEvent(QDragEnterEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dragEnterEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QDragEnterEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QLabel::dragEnterEvent(arg__1); +} +void PythonQtShell_QLabel::dragLeaveEvent(QDragLeaveEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dragLeaveEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QDragLeaveEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QLabel::dragLeaveEvent(arg__1); +} +void PythonQtShell_QLabel::dragMoveEvent(QDragMoveEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dragMoveEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QDragMoveEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QLabel::dragMoveEvent(arg__1); +} +void PythonQtShell_QLabel::dropEvent(QDropEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dropEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QDropEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QLabel::dropEvent(arg__1); +} +void PythonQtShell_QLabel::enterEvent(QEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "enterEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QLabel::enterEvent(arg__1); +} +bool PythonQtShell_QLabel::event(QEvent* e) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "event"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue; + void* args[2] = {NULL, (void*)&e}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QLabel::event(e); +} +bool PythonQtShell_QLabel::eventFilter(QObject* arg__1, QEvent* arg__2) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "eventFilter"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue; + void* args[3] = {NULL, (void*)&arg__1, (void*)&arg__2}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QLabel::eventFilter(arg__1, arg__2); +} +void PythonQtShell_QLabel::focusInEvent(QFocusEvent* ev) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "focusInEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QFocusEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&ev}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QLabel::focusInEvent(ev); +} +bool PythonQtShell_QLabel::focusNextPrevChild(bool next) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "focusNextPrevChild"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue; + void* args[2] = {NULL, (void*)&next}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("focusNextPrevChild", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QLabel::focusNextPrevChild(next); +} +void PythonQtShell_QLabel::focusOutEvent(QFocusEvent* ev) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "focusOutEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QFocusEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&ev}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QLabel::focusOutEvent(ev); +} +int PythonQtShell_QLabel::heightForWidth(int arg__1) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "heightForWidth"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"int" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + int returnValue; + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("heightForWidth", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QLabel::heightForWidth(arg__1); +} +void PythonQtShell_QLabel::hideEvent(QHideEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "hideEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QHideEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QLabel::hideEvent(arg__1); +} +void PythonQtShell_QLabel::inputMethodEvent(QInputMethodEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "inputMethodEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QInputMethodEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QLabel::inputMethodEvent(arg__1); +} +QVariant PythonQtShell_QLabel::inputMethodQuery(Qt::InputMethodQuery arg__1) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "inputMethodQuery"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QVariant" , "Qt::InputMethodQuery"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + QVariant returnValue; + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result); + } else { + returnValue = *((QVariant*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QLabel::inputMethodQuery(arg__1); +} +void PythonQtShell_QLabel::keyPressEvent(QKeyEvent* ev) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "keyPressEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QKeyEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&ev}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QLabel::keyPressEvent(ev); +} +void PythonQtShell_QLabel::keyReleaseEvent(QKeyEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "keyReleaseEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QKeyEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QLabel::keyReleaseEvent(arg__1); +} +void PythonQtShell_QLabel::languageChange() +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "languageChange"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={""}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QLabel::languageChange(); +} +void PythonQtShell_QLabel::leaveEvent(QEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "leaveEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QLabel::leaveEvent(arg__1); +} +int PythonQtShell_QLabel::metric(QPaintDevice::PaintDeviceMetric arg__1) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "metric"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + int returnValue; + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("metric", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QLabel::metric(arg__1); +} +void PythonQtShell_QLabel::mouseDoubleClickEvent(QMouseEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mouseDoubleClickEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QLabel::mouseDoubleClickEvent(arg__1); +} +void PythonQtShell_QLabel::mouseMoveEvent(QMouseEvent* ev) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mouseMoveEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&ev}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QLabel::mouseMoveEvent(ev); +} +void PythonQtShell_QLabel::mousePressEvent(QMouseEvent* ev) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mousePressEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&ev}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QLabel::mousePressEvent(ev); +} +void PythonQtShell_QLabel::mouseReleaseEvent(QMouseEvent* ev) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mouseReleaseEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&ev}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QLabel::mouseReleaseEvent(ev); +} +void PythonQtShell_QLabel::moveEvent(QMoveEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "moveEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QMoveEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QLabel::moveEvent(arg__1); +} +QPaintEngine* PythonQtShell_QLabel::paintEngine() const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "paintEngine"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QPaintEngine*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QPaintEngine* returnValue; + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); + } else { + returnValue = *((QPaintEngine**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QLabel::paintEngine(); +} +void PythonQtShell_QLabel::paintEvent(QPaintEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "paintEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QPaintEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QLabel::paintEvent(arg__1); +} +void PythonQtShell_QLabel::resizeEvent(QResizeEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "resizeEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QResizeEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QLabel::resizeEvent(arg__1); +} +void PythonQtShell_QLabel::showEvent(QShowEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "showEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QShowEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QLabel::showEvent(arg__1); +} +void PythonQtShell_QLabel::tabletEvent(QTabletEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "tabletEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QTabletEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QLabel::tabletEvent(arg__1); +} +void PythonQtShell_QLabel::timerEvent(QTimerEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "timerEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QTimerEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QLabel::timerEvent(arg__1); +} +void PythonQtShell_QLabel::wheelEvent(QWheelEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "wheelEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QWheelEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QLabel::wheelEvent(arg__1); +} +QLabel* PythonQtWrapper_QLabel::new_QLabel(QWidget* parent, Qt::WindowFlags f) +{ +return new PythonQtShell_QLabel(parent, f); } + +QLabel* PythonQtWrapper_QLabel::new_QLabel(const QString& text, QWidget* parent, Qt::WindowFlags f) +{ +return new PythonQtShell_QLabel(text, parent, f); } + +Qt::Alignment PythonQtWrapper_QLabel::alignment(QLabel* theWrappedObject) const +{ + return ( theWrappedObject->alignment()); +} + +QWidget* PythonQtWrapper_QLabel::buddy(QLabel* theWrappedObject) const +{ + return ( theWrappedObject->buddy()); +} + +void PythonQtWrapper_QLabel::changeEvent(QLabel* theWrappedObject, QEvent* arg__1) +{ + ( ((PythonQtPublicPromoter_QLabel*)theWrappedObject)->promoted_changeEvent(arg__1)); +} + +void PythonQtWrapper_QLabel::contextMenuEvent(QLabel* theWrappedObject, QContextMenuEvent* ev) +{ + ( ((PythonQtPublicPromoter_QLabel*)theWrappedObject)->promoted_contextMenuEvent(ev)); +} + +bool PythonQtWrapper_QLabel::event(QLabel* theWrappedObject, QEvent* e) +{ + return ( ((PythonQtPublicPromoter_QLabel*)theWrappedObject)->promoted_event(e)); +} + +void PythonQtWrapper_QLabel::focusInEvent(QLabel* theWrappedObject, QFocusEvent* ev) +{ + ( ((PythonQtPublicPromoter_QLabel*)theWrappedObject)->promoted_focusInEvent(ev)); +} + +bool PythonQtWrapper_QLabel::focusNextPrevChild(QLabel* theWrappedObject, bool next) +{ + return ( ((PythonQtPublicPromoter_QLabel*)theWrappedObject)->promoted_focusNextPrevChild(next)); +} + +void PythonQtWrapper_QLabel::focusOutEvent(QLabel* theWrappedObject, QFocusEvent* ev) +{ + ( ((PythonQtPublicPromoter_QLabel*)theWrappedObject)->promoted_focusOutEvent(ev)); +} + +bool PythonQtWrapper_QLabel::hasScaledContents(QLabel* theWrappedObject) const +{ + return ( theWrappedObject->hasScaledContents()); +} + +int PythonQtWrapper_QLabel::heightForWidth(QLabel* theWrappedObject, int arg__1) const +{ + return ( ((PythonQtPublicPromoter_QLabel*)theWrappedObject)->promoted_heightForWidth(arg__1)); +} + +int PythonQtWrapper_QLabel::indent(QLabel* theWrappedObject) const +{ + return ( theWrappedObject->indent()); +} + +void PythonQtWrapper_QLabel::keyPressEvent(QLabel* theWrappedObject, QKeyEvent* ev) +{ + ( ((PythonQtPublicPromoter_QLabel*)theWrappedObject)->promoted_keyPressEvent(ev)); +} + +int PythonQtWrapper_QLabel::margin(QLabel* theWrappedObject) const +{ + return ( theWrappedObject->margin()); +} + +QSize PythonQtWrapper_QLabel::minimumSizeHint(QLabel* theWrappedObject) const +{ + return ( theWrappedObject->minimumSizeHint()); +} + +void PythonQtWrapper_QLabel::mouseMoveEvent(QLabel* theWrappedObject, QMouseEvent* ev) +{ + ( ((PythonQtPublicPromoter_QLabel*)theWrappedObject)->promoted_mouseMoveEvent(ev)); +} + +void PythonQtWrapper_QLabel::mousePressEvent(QLabel* theWrappedObject, QMouseEvent* ev) +{ + ( ((PythonQtPublicPromoter_QLabel*)theWrappedObject)->promoted_mousePressEvent(ev)); +} + +void PythonQtWrapper_QLabel::mouseReleaseEvent(QLabel* theWrappedObject, QMouseEvent* ev) +{ + ( ((PythonQtPublicPromoter_QLabel*)theWrappedObject)->promoted_mouseReleaseEvent(ev)); +} + +QMovie* PythonQtWrapper_QLabel::movie(QLabel* theWrappedObject) const +{ + return ( theWrappedObject->movie()); +} + +bool PythonQtWrapper_QLabel::openExternalLinks(QLabel* theWrappedObject) const +{ + return ( theWrappedObject->openExternalLinks()); +} + +void PythonQtWrapper_QLabel::paintEvent(QLabel* theWrappedObject, QPaintEvent* arg__1) +{ + ( ((PythonQtPublicPromoter_QLabel*)theWrappedObject)->promoted_paintEvent(arg__1)); +} + +const QPicture* PythonQtWrapper_QLabel::picture(QLabel* theWrappedObject) const +{ + return ( theWrappedObject->picture()); +} + +const QPixmap* PythonQtWrapper_QLabel::pixmap(QLabel* theWrappedObject) const +{ + return ( theWrappedObject->pixmap()); +} + +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::setTextFormat(QLabel* theWrappedObject, Qt::TextFormat arg__1) +{ + ( theWrappedObject->setTextFormat(arg__1)); +} + +void PythonQtWrapper_QLabel::setTextInteractionFlags(QLabel* theWrappedObject, Qt::TextInteractionFlags flags) +{ + ( theWrappedObject->setTextInteractionFlags(flags)); +} + +void PythonQtWrapper_QLabel::setWordWrap(QLabel* theWrappedObject, bool on) +{ + ( theWrappedObject->setWordWrap(on)); +} + +QSize PythonQtWrapper_QLabel::sizeHint(QLabel* theWrappedObject) const +{ + return ( theWrappedObject->sizeHint()); +} + +QString PythonQtWrapper_QLabel::text(QLabel* theWrappedObject) const +{ + return ( theWrappedObject->text()); +} + +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()); +} + + + +void PythonQtShell_QLayout::addItem(QLayoutItem* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "addItem"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QLayoutItem*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + +} +void PythonQtShell_QLayout::childEvent(QChildEvent* e) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "childEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QChildEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&e}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QLayout::childEvent(e); +} +int PythonQtShell_QLayout::count() const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "count"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + int returnValue; + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("count", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return int(); +} +void PythonQtShell_QLayout::customEvent(QEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "customEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QLayout::customEvent(arg__1); +} +bool PythonQtShell_QLayout::event(QEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "event"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue; + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QLayout::event(arg__1); +} +bool PythonQtShell_QLayout::eventFilter(QObject* arg__1, QEvent* arg__2) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "eventFilter"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue; + void* args[3] = {NULL, (void*)&arg__1, (void*)&arg__2}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QLayout::eventFilter(arg__1, arg__2); +} +Qt::Orientations PythonQtShell_QLayout::expandingDirections() const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "expandingDirections"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"Qt::Orientations"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + Qt::Orientations returnValue; + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("expandingDirections", methodInfo, result); + } else { + returnValue = *((Qt::Orientations*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QLayout::expandingDirections(); +} +QRect PythonQtShell_QLayout::geometry() const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "geometry"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QRect"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QRect returnValue; + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("geometry", methodInfo, result); + } else { + returnValue = *((QRect*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QLayout::geometry(); +} +bool PythonQtShell_QLayout::hasHeightForWidth() const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "hasHeightForWidth"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + bool returnValue; + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("hasHeightForWidth", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QLayout::hasHeightForWidth(); +} +int PythonQtShell_QLayout::heightForWidth(int arg__1) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "heightForWidth"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"int" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + int returnValue; + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("heightForWidth", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QLayout::heightForWidth(arg__1); +} +int PythonQtShell_QLayout::indexOf(QWidget* arg__1) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "indexOf"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"int" , "QWidget*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + int returnValue; + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("indexOf", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QLayout::indexOf(arg__1); +} +void PythonQtShell_QLayout::invalidate() +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "invalidate"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={""}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QLayout::invalidate(); +} +bool PythonQtShell_QLayout::isEmpty() const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "isEmpty"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + bool returnValue; + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("isEmpty", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QLayout::isEmpty(); +} +QLayoutItem* PythonQtShell_QLayout::itemAt(int index) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "itemAt"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QLayoutItem*" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + QLayoutItem* returnValue; + void* args[2] = {NULL, (void*)&index}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("itemAt", methodInfo, result); + } else { + returnValue = *((QLayoutItem**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return 0; +} +QLayout* PythonQtShell_QLayout::layout() +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "layout"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QLayout*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QLayout* returnValue; + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("layout", methodInfo, result); + } else { + returnValue = *((QLayout**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QLayout::layout(); +} +QSize PythonQtShell_QLayout::maximumSize() const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "maximumSize"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QSize"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QSize returnValue; + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("maximumSize", methodInfo, result); + } else { + returnValue = *((QSize*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QLayout::maximumSize(); +} +int PythonQtShell_QLayout::minimumHeightForWidth(int arg__1) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "minimumHeightForWidth"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"int" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + int returnValue; + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("minimumHeightForWidth", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QLayout::minimumHeightForWidth(arg__1); +} +QSize PythonQtShell_QLayout::minimumSize() const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "minimumSize"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QSize"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QSize returnValue; + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("minimumSize", methodInfo, result); + } else { + returnValue = *((QSize*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QLayout::minimumSize(); +} +void PythonQtShell_QLayout::setGeometry(const QRect& arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "setGeometry"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "const QRect&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QLayout::setGeometry(arg__1); +} +QSize PythonQtShell_QLayout::sizeHint() const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "sizeHint"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QSize"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QSize returnValue; + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("sizeHint", methodInfo, result); + } else { + returnValue = *((QSize*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QSize(); +} +QSpacerItem* PythonQtShell_QLayout::spacerItem() +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "spacerItem"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QSpacerItem*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QSpacerItem* returnValue; + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("spacerItem", methodInfo, result); + } else { + returnValue = *((QSpacerItem**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QLayout::spacerItem(); +} +QLayoutItem* PythonQtShell_QLayout::takeAt(int index) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "takeAt"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QLayoutItem*" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + QLayoutItem* returnValue; + void* args[2] = {NULL, (void*)&index}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("takeAt", methodInfo, result); + } else { + returnValue = *((QLayoutItem**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return 0; +} +void PythonQtShell_QLayout::timerEvent(QTimerEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "timerEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QTimerEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QLayout::timerEvent(arg__1); +} +QWidget* PythonQtShell_QLayout::widget() +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "widget"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QWidget*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QWidget* returnValue; + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("widget", methodInfo, result); + } else { + returnValue = *((QWidget**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QLayout::widget(); +} +QLayout* PythonQtWrapper_QLayout::new_QLayout() +{ +return new PythonQtShell_QLayout(); } + +QLayout* PythonQtWrapper_QLayout::new_QLayout(QWidget* parent) +{ +return new PythonQtShell_QLayout(parent); } + +bool PythonQtWrapper_QLayout::activate(QLayout* theWrappedObject) +{ + return ( theWrappedObject->activate()); +} + +void PythonQtWrapper_QLayout::addWidget(QLayout* theWrappedObject, QWidget* w) +{ + ( theWrappedObject->addWidget(w)); +} + +void PythonQtWrapper_QLayout::childEvent(QLayout* theWrappedObject, QChildEvent* e) +{ + ( ((PythonQtPublicPromoter_QLayout*)theWrappedObject)->promoted_childEvent(e)); +} + +QSize PythonQtWrapper_QLayout::static_QLayout_closestAcceptableSize(const QWidget* w, const QSize& s) +{ + return (QLayout::closestAcceptableSize(w, s)); +} + +QMargins PythonQtWrapper_QLayout::contentsMargins(QLayout* theWrappedObject) const +{ + return ( theWrappedObject->contentsMargins()); +} + +QRect PythonQtWrapper_QLayout::contentsRect(QLayout* theWrappedObject) const +{ + return ( theWrappedObject->contentsRect()); +} + +Qt::Orientations PythonQtWrapper_QLayout::expandingDirections(QLayout* theWrappedObject) const +{ + return ( ((PythonQtPublicPromoter_QLayout*)theWrappedObject)->promoted_expandingDirections()); +} + +QRect PythonQtWrapper_QLayout::geometry(QLayout* theWrappedObject) const +{ + return ( ((PythonQtPublicPromoter_QLayout*)theWrappedObject)->promoted_geometry()); +} + +void PythonQtWrapper_QLayout::getContentsMargins(QLayout* theWrappedObject, int* left, int* top, int* right, int* bottom) const +{ + ( theWrappedObject->getContentsMargins(left, top, right, bottom)); +} + +int PythonQtWrapper_QLayout::indexOf(QLayout* theWrappedObject, QWidget* arg__1) const +{ + return ( ((PythonQtPublicPromoter_QLayout*)theWrappedObject)->promoted_indexOf(arg__1)); +} + +void PythonQtWrapper_QLayout::invalidate(QLayout* theWrappedObject) +{ + ( ((PythonQtPublicPromoter_QLayout*)theWrappedObject)->promoted_invalidate()); +} + +bool PythonQtWrapper_QLayout::isEmpty(QLayout* theWrappedObject) const +{ + return ( ((PythonQtPublicPromoter_QLayout*)theWrappedObject)->promoted_isEmpty()); +} + +bool PythonQtWrapper_QLayout::isEnabled(QLayout* theWrappedObject) const +{ + return ( theWrappedObject->isEnabled()); +} + +QLayout* PythonQtWrapper_QLayout::layout(QLayout* theWrappedObject) +{ + return ( ((PythonQtPublicPromoter_QLayout*)theWrappedObject)->promoted_layout()); +} + +QSize PythonQtWrapper_QLayout::maximumSize(QLayout* theWrappedObject) const +{ + return ( ((PythonQtPublicPromoter_QLayout*)theWrappedObject)->promoted_maximumSize()); +} + +QWidget* PythonQtWrapper_QLayout::menuBar(QLayout* theWrappedObject) const +{ + return ( theWrappedObject->menuBar()); +} + +QSize PythonQtWrapper_QLayout::minimumSize(QLayout* theWrappedObject) const +{ + return ( ((PythonQtPublicPromoter_QLayout*)theWrappedObject)->promoted_minimumSize()); +} + +QWidget* PythonQtWrapper_QLayout::parentWidget(QLayout* theWrappedObject) const +{ + return ( theWrappedObject->parentWidget()); +} + +void PythonQtWrapper_QLayout::removeItem(QLayout* theWrappedObject, QLayoutItem* arg__1) +{ + ( theWrappedObject->removeItem(arg__1)); +} + +void PythonQtWrapper_QLayout::removeWidget(QLayout* theWrappedObject, QWidget* w) +{ + ( theWrappedObject->removeWidget(w)); +} + +void PythonQtWrapper_QLayout::setAlignment(QLayout* theWrappedObject, Qt::Alignment alignment) +{ + ( theWrappedObject->setAlignment(alignment)); +} + +bool PythonQtWrapper_QLayout::setAlignment(QLayout* theWrappedObject, QLayout* l, Qt::Alignment alignment) +{ + return ( theWrappedObject->setAlignment(l, alignment)); +} + +bool PythonQtWrapper_QLayout::setAlignment(QLayout* theWrappedObject, QWidget* w, Qt::Alignment alignment) +{ + return ( theWrappedObject->setAlignment(w, alignment)); +} + +void PythonQtWrapper_QLayout::setContentsMargins(QLayout* theWrappedObject, const QMargins& margins) +{ + ( theWrappedObject->setContentsMargins(margins)); +} + +void PythonQtWrapper_QLayout::setContentsMargins(QLayout* theWrappedObject, int left, int top, int right, int bottom) +{ + ( theWrappedObject->setContentsMargins(left, top, right, bottom)); +} + +void PythonQtWrapper_QLayout::setEnabled(QLayout* theWrappedObject, bool arg__1) +{ + ( theWrappedObject->setEnabled(arg__1)); +} + +void PythonQtWrapper_QLayout::setGeometry(QLayout* theWrappedObject, const QRect& arg__1) +{ + ( ((PythonQtPublicPromoter_QLayout*)theWrappedObject)->promoted_setGeometry(arg__1)); +} + +void PythonQtWrapper_QLayout::setMargin(QLayout* theWrappedObject, int arg__1) +{ + ( theWrappedObject->setMargin(arg__1)); +} + +void PythonQtWrapper_QLayout::setMenuBar(QLayout* theWrappedObject, QWidget* w) +{ + ( theWrappedObject->setMenuBar(w)); +} + +void PythonQtWrapper_QLayout::setSizeConstraint(QLayout* theWrappedObject, QLayout::SizeConstraint arg__1) +{ + ( theWrappedObject->setSizeConstraint(arg__1)); +} + +void PythonQtWrapper_QLayout::setSpacing(QLayout* theWrappedObject, int arg__1) +{ + ( theWrappedObject->setSpacing(arg__1)); +} + +QLayout::SizeConstraint PythonQtWrapper_QLayout::sizeConstraint(QLayout* theWrappedObject) const +{ + return ( theWrappedObject->sizeConstraint()); +} + +int PythonQtWrapper_QLayout::spacing(QLayout* theWrappedObject) const +{ + return ( theWrappedObject->spacing()); +} + +int PythonQtWrapper_QLayout::totalHeightForWidth(QLayout* theWrappedObject, int w) const +{ + return ( theWrappedObject->totalHeightForWidth(w)); +} + +QSize PythonQtWrapper_QLayout::totalMaximumSize(QLayout* theWrappedObject) const +{ + return ( theWrappedObject->totalMaximumSize()); +} + +QSize PythonQtWrapper_QLayout::totalMinimumSize(QLayout* theWrappedObject) const +{ + return ( theWrappedObject->totalMinimumSize()); +} + +QSize PythonQtWrapper_QLayout::totalSizeHint(QLayout* theWrappedObject) const +{ + return ( theWrappedObject->totalSizeHint()); +} + +void PythonQtWrapper_QLayout::update(QLayout* theWrappedObject) +{ + ( theWrappedObject->update()); +} + + + +Qt::Orientations PythonQtShell_QLayoutItem::expandingDirections() const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "expandingDirections"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"Qt::Orientations"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + Qt::Orientations returnValue; + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("expandingDirections", methodInfo, result); + } else { + returnValue = *((Qt::Orientations*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return Qt::Orientations(); +} +QRect PythonQtShell_QLayoutItem::geometry() const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "geometry"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QRect"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QRect returnValue; + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("geometry", methodInfo, result); + } else { + returnValue = *((QRect*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QRect(); +} +bool PythonQtShell_QLayoutItem::hasHeightForWidth() const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "hasHeightForWidth"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + bool returnValue; + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("hasHeightForWidth", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QLayoutItem::hasHeightForWidth(); +} +int PythonQtShell_QLayoutItem::heightForWidth(int arg__1) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "heightForWidth"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"int" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + int returnValue; + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("heightForWidth", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QLayoutItem::heightForWidth(arg__1); +} +void PythonQtShell_QLayoutItem::invalidate() +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "invalidate"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={""}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QLayoutItem::invalidate(); +} +bool PythonQtShell_QLayoutItem::isEmpty() const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "isEmpty"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + bool returnValue; + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("isEmpty", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return bool(); +} +QLayout* PythonQtShell_QLayoutItem::layout() +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "layout"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QLayout*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QLayout* returnValue; + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("layout", methodInfo, result); + } else { + returnValue = *((QLayout**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QLayoutItem::layout(); +} +QSize PythonQtShell_QLayoutItem::maximumSize() const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "maximumSize"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QSize"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QSize returnValue; + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("maximumSize", methodInfo, result); + } else { + returnValue = *((QSize*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QSize(); +} +int PythonQtShell_QLayoutItem::minimumHeightForWidth(int arg__1) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "minimumHeightForWidth"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"int" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + int returnValue; + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("minimumHeightForWidth", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QLayoutItem::minimumHeightForWidth(arg__1); +} +QSize PythonQtShell_QLayoutItem::minimumSize() const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "minimumSize"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QSize"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QSize returnValue; + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("minimumSize", methodInfo, result); + } else { + returnValue = *((QSize*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QSize(); +} +void PythonQtShell_QLayoutItem::setGeometry(const QRect& arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "setGeometry"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "const QRect&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + +} +QSize PythonQtShell_QLayoutItem::sizeHint() const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "sizeHint"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QSize"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QSize returnValue; + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("sizeHint", methodInfo, result); + } else { + returnValue = *((QSize*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QSize(); +} +QSpacerItem* PythonQtShell_QLayoutItem::spacerItem() +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "spacerItem"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QSpacerItem*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QSpacerItem* returnValue; + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("spacerItem", methodInfo, result); + } else { + returnValue = *((QSpacerItem**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QLayoutItem::spacerItem(); +} +QWidget* PythonQtShell_QLayoutItem::widget() +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "widget"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QWidget*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QWidget* returnValue; + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("widget", methodInfo, result); + } else { + returnValue = *((QWidget**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QLayoutItem::widget(); +} +QLayoutItem* PythonQtWrapper_QLayoutItem::new_QLayoutItem(Qt::Alignment alignment) +{ +return new PythonQtShell_QLayoutItem(alignment); } + +Qt::Alignment PythonQtWrapper_QLayoutItem::alignment(QLayoutItem* theWrappedObject) const +{ + return ( theWrappedObject->alignment()); +} + +QSizePolicy::ControlTypes PythonQtWrapper_QLayoutItem::controlTypes(QLayoutItem* theWrappedObject) const +{ + return ( theWrappedObject->controlTypes()); +} + +bool PythonQtWrapper_QLayoutItem::hasHeightForWidth(QLayoutItem* theWrappedObject) const +{ + return ( ((PythonQtPublicPromoter_QLayoutItem*)theWrappedObject)->promoted_hasHeightForWidth()); +} + +int PythonQtWrapper_QLayoutItem::heightForWidth(QLayoutItem* theWrappedObject, int arg__1) const +{ + return ( ((PythonQtPublicPromoter_QLayoutItem*)theWrappedObject)->promoted_heightForWidth(arg__1)); +} + +void PythonQtWrapper_QLayoutItem::invalidate(QLayoutItem* theWrappedObject) +{ + ( ((PythonQtPublicPromoter_QLayoutItem*)theWrappedObject)->promoted_invalidate()); +} + +QLayout* PythonQtWrapper_QLayoutItem::layout(QLayoutItem* theWrappedObject) +{ + return ( ((PythonQtPublicPromoter_QLayoutItem*)theWrappedObject)->promoted_layout()); +} + +int PythonQtWrapper_QLayoutItem::minimumHeightForWidth(QLayoutItem* theWrappedObject, int arg__1) const +{ + return ( ((PythonQtPublicPromoter_QLayoutItem*)theWrappedObject)->promoted_minimumHeightForWidth(arg__1)); +} + +void PythonQtWrapper_QLayoutItem::setAlignment(QLayoutItem* theWrappedObject, Qt::Alignment a) +{ + ( theWrappedObject->setAlignment(a)); +} + +QSpacerItem* PythonQtWrapper_QLayoutItem::spacerItem(QLayoutItem* theWrappedObject) +{ + return ( ((PythonQtPublicPromoter_QLayoutItem*)theWrappedObject)->promoted_spacerItem()); +} + +QWidget* PythonQtWrapper_QLayoutItem::widget(QLayoutItem* theWrappedObject) +{ + return ( ((PythonQtPublicPromoter_QLayoutItem*)theWrappedObject)->promoted_widget()); +} + + + +void PythonQtShell_QLineEdit::actionEvent(QActionEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "actionEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QActionEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QLineEdit::actionEvent(arg__1); +} +void PythonQtShell_QLineEdit::changeEvent(QEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "changeEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QLineEdit::changeEvent(arg__1); +} +void PythonQtShell_QLineEdit::childEvent(QChildEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "childEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QChildEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QLineEdit::childEvent(arg__1); +} +void PythonQtShell_QLineEdit::closeEvent(QCloseEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "closeEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QCloseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QLineEdit::closeEvent(arg__1); +} +void PythonQtShell_QLineEdit::contextMenuEvent(QContextMenuEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "contextMenuEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QContextMenuEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QLineEdit::contextMenuEvent(arg__1); +} +void PythonQtShell_QLineEdit::customEvent(QEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "customEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QLineEdit::customEvent(arg__1); +} +int PythonQtShell_QLineEdit::devType() const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "devType"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + int returnValue; + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("devType", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QLineEdit::devType(); +} +void PythonQtShell_QLineEdit::dragEnterEvent(QDragEnterEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dragEnterEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QDragEnterEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QLineEdit::dragEnterEvent(arg__1); +} +void PythonQtShell_QLineEdit::dragLeaveEvent(QDragLeaveEvent* e) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dragLeaveEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QDragLeaveEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&e}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QLineEdit::dragLeaveEvent(e); +} +void PythonQtShell_QLineEdit::dragMoveEvent(QDragMoveEvent* e) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dragMoveEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QDragMoveEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&e}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QLineEdit::dragMoveEvent(e); +} +void PythonQtShell_QLineEdit::dropEvent(QDropEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dropEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QDropEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QLineEdit::dropEvent(arg__1); +} +void PythonQtShell_QLineEdit::enterEvent(QEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "enterEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QLineEdit::enterEvent(arg__1); +} +bool PythonQtShell_QLineEdit::event(QEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "event"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue; + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QLineEdit::event(arg__1); +} +bool PythonQtShell_QLineEdit::eventFilter(QObject* arg__1, QEvent* arg__2) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "eventFilter"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue; + void* args[3] = {NULL, (void*)&arg__1, (void*)&arg__2}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QLineEdit::eventFilter(arg__1, arg__2); +} +void PythonQtShell_QLineEdit::focusInEvent(QFocusEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "focusInEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QFocusEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QLineEdit::focusInEvent(arg__1); +} +bool PythonQtShell_QLineEdit::focusNextPrevChild(bool next) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "focusNextPrevChild"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue; + void* args[2] = {NULL, (void*)&next}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("focusNextPrevChild", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QLineEdit::focusNextPrevChild(next); +} +void PythonQtShell_QLineEdit::focusOutEvent(QFocusEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "focusOutEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QFocusEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QLineEdit::focusOutEvent(arg__1); +} +int PythonQtShell_QLineEdit::heightForWidth(int arg__1) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "heightForWidth"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"int" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + int returnValue; + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("heightForWidth", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QLineEdit::heightForWidth(arg__1); +} +void PythonQtShell_QLineEdit::hideEvent(QHideEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "hideEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QHideEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QLineEdit::hideEvent(arg__1); +} +void PythonQtShell_QLineEdit::inputMethodEvent(QInputMethodEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "inputMethodEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QInputMethodEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QLineEdit::inputMethodEvent(arg__1); +} +QVariant PythonQtShell_QLineEdit::inputMethodQuery(Qt::InputMethodQuery arg__1) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "inputMethodQuery"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QVariant" , "Qt::InputMethodQuery"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + QVariant returnValue; + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result); + } else { + returnValue = *((QVariant*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QLineEdit::inputMethodQuery(arg__1); +} +void PythonQtShell_QLineEdit::keyPressEvent(QKeyEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "keyPressEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QKeyEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QLineEdit::keyPressEvent(arg__1); +} +void PythonQtShell_QLineEdit::keyReleaseEvent(QKeyEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "keyReleaseEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QKeyEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QLineEdit::keyReleaseEvent(arg__1); +} +void PythonQtShell_QLineEdit::languageChange() +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "languageChange"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={""}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QLineEdit::languageChange(); +} +void PythonQtShell_QLineEdit::leaveEvent(QEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "leaveEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QLineEdit::leaveEvent(arg__1); +} +int PythonQtShell_QLineEdit::metric(QPaintDevice::PaintDeviceMetric arg__1) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "metric"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + int returnValue; + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("metric", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QLineEdit::metric(arg__1); +} +void PythonQtShell_QLineEdit::mouseDoubleClickEvent(QMouseEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mouseDoubleClickEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QLineEdit::mouseDoubleClickEvent(arg__1); +} +void PythonQtShell_QLineEdit::mouseMoveEvent(QMouseEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mouseMoveEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QLineEdit::mouseMoveEvent(arg__1); +} +void PythonQtShell_QLineEdit::mousePressEvent(QMouseEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mousePressEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QLineEdit::mousePressEvent(arg__1); +} +void PythonQtShell_QLineEdit::mouseReleaseEvent(QMouseEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mouseReleaseEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QLineEdit::mouseReleaseEvent(arg__1); +} +void PythonQtShell_QLineEdit::moveEvent(QMoveEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "moveEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QMoveEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QLineEdit::moveEvent(arg__1); +} +QPaintEngine* PythonQtShell_QLineEdit::paintEngine() const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "paintEngine"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QPaintEngine*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QPaintEngine* returnValue; + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); + } else { + returnValue = *((QPaintEngine**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QLineEdit::paintEngine(); +} +void PythonQtShell_QLineEdit::paintEvent(QPaintEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "paintEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QPaintEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QLineEdit::paintEvent(arg__1); +} +void PythonQtShell_QLineEdit::resizeEvent(QResizeEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "resizeEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QResizeEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QLineEdit::resizeEvent(arg__1); +} +void PythonQtShell_QLineEdit::showEvent(QShowEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "showEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QShowEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QLineEdit::showEvent(arg__1); +} +void PythonQtShell_QLineEdit::tabletEvent(QTabletEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "tabletEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QTabletEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QLineEdit::tabletEvent(arg__1); +} +void PythonQtShell_QLineEdit::timerEvent(QTimerEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "timerEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QTimerEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QLineEdit::timerEvent(arg__1); +} +void PythonQtShell_QLineEdit::wheelEvent(QWheelEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "wheelEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QWheelEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QLineEdit::wheelEvent(arg__1); +} +QLineEdit* PythonQtWrapper_QLineEdit::new_QLineEdit(QWidget* parent) +{ +return new PythonQtShell_QLineEdit(parent); } + +QLineEdit* PythonQtWrapper_QLineEdit::new_QLineEdit(const QString& arg__1, QWidget* parent) +{ +return new PythonQtShell_QLineEdit(arg__1, parent); } + +Qt::Alignment PythonQtWrapper_QLineEdit::alignment(QLineEdit* theWrappedObject) const +{ + return ( theWrappedObject->alignment()); +} + +void PythonQtWrapper_QLineEdit::backspace(QLineEdit* theWrappedObject) +{ + ( theWrappedObject->backspace()); +} + +void PythonQtWrapper_QLineEdit::changeEvent(QLineEdit* theWrappedObject, QEvent* arg__1) +{ + ( ((PythonQtPublicPromoter_QLineEdit*)theWrappedObject)->promoted_changeEvent(arg__1)); +} + +QCompleter* PythonQtWrapper_QLineEdit::completer(QLineEdit* theWrappedObject) const +{ + return ( theWrappedObject->completer()); +} + +void PythonQtWrapper_QLineEdit::contextMenuEvent(QLineEdit* theWrappedObject, QContextMenuEvent* arg__1) +{ + ( ((PythonQtPublicPromoter_QLineEdit*)theWrappedObject)->promoted_contextMenuEvent(arg__1)); +} + +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)); +} + +int PythonQtWrapper_QLineEdit::cursorPosition(QLineEdit* theWrappedObject) const +{ + return ( theWrappedObject->cursorPosition()); +} + +int PythonQtWrapper_QLineEdit::cursorPositionAt(QLineEdit* theWrappedObject, const QPoint& pos) +{ + return ( theWrappedObject->cursorPositionAt(pos)); +} + +void PythonQtWrapper_QLineEdit::cursorWordBackward(QLineEdit* theWrappedObject, bool mark) +{ + ( theWrappedObject->cursorWordBackward(mark)); +} + +void PythonQtWrapper_QLineEdit::cursorWordForward(QLineEdit* theWrappedObject, bool mark) +{ + ( theWrappedObject->cursorWordForward(mark)); +} + +void PythonQtWrapper_QLineEdit::del(QLineEdit* theWrappedObject) +{ + ( theWrappedObject->del()); +} + +void PythonQtWrapper_QLineEdit::deselect(QLineEdit* theWrappedObject) +{ + ( theWrappedObject->deselect()); +} + +QString PythonQtWrapper_QLineEdit::displayText(QLineEdit* theWrappedObject) const +{ + return ( theWrappedObject->displayText()); +} + +bool PythonQtWrapper_QLineEdit::dragEnabled(QLineEdit* theWrappedObject) const +{ + return ( theWrappedObject->dragEnabled()); +} + +void PythonQtWrapper_QLineEdit::dragEnterEvent(QLineEdit* theWrappedObject, QDragEnterEvent* arg__1) +{ + ( ((PythonQtPublicPromoter_QLineEdit*)theWrappedObject)->promoted_dragEnterEvent(arg__1)); +} + +void PythonQtWrapper_QLineEdit::dragLeaveEvent(QLineEdit* theWrappedObject, QDragLeaveEvent* e) +{ + ( ((PythonQtPublicPromoter_QLineEdit*)theWrappedObject)->promoted_dragLeaveEvent(e)); +} + +void PythonQtWrapper_QLineEdit::dragMoveEvent(QLineEdit* theWrappedObject, QDragMoveEvent* e) +{ + ( ((PythonQtPublicPromoter_QLineEdit*)theWrappedObject)->promoted_dragMoveEvent(e)); +} + +void PythonQtWrapper_QLineEdit::dropEvent(QLineEdit* theWrappedObject, QDropEvent* arg__1) +{ + ( ((PythonQtPublicPromoter_QLineEdit*)theWrappedObject)->promoted_dropEvent(arg__1)); +} + +QLineEdit::EchoMode PythonQtWrapper_QLineEdit::echoMode(QLineEdit* theWrappedObject) const +{ + return ( theWrappedObject->echoMode()); +} + +void PythonQtWrapper_QLineEdit::end(QLineEdit* theWrappedObject, bool mark) +{ + ( theWrappedObject->end(mark)); +} + +bool PythonQtWrapper_QLineEdit::event(QLineEdit* theWrappedObject, QEvent* arg__1) +{ + return ( ((PythonQtPublicPromoter_QLineEdit*)theWrappedObject)->promoted_event(arg__1)); +} + +void PythonQtWrapper_QLineEdit::focusInEvent(QLineEdit* theWrappedObject, QFocusEvent* arg__1) +{ + ( ((PythonQtPublicPromoter_QLineEdit*)theWrappedObject)->promoted_focusInEvent(arg__1)); +} + +void PythonQtWrapper_QLineEdit::focusOutEvent(QLineEdit* theWrappedObject, QFocusEvent* arg__1) +{ + ( ((PythonQtPublicPromoter_QLineEdit*)theWrappedObject)->promoted_focusOutEvent(arg__1)); +} + +void PythonQtWrapper_QLineEdit::getTextMargins(QLineEdit* theWrappedObject, int* left, int* top, int* right, int* bottom) const +{ + ( theWrappedObject->getTextMargins(left, top, right, bottom)); +} + +bool PythonQtWrapper_QLineEdit::hasAcceptableInput(QLineEdit* theWrappedObject) const +{ + return ( theWrappedObject->hasAcceptableInput()); +} + +bool PythonQtWrapper_QLineEdit::hasFrame(QLineEdit* theWrappedObject) const +{ + return ( theWrappedObject->hasFrame()); +} + +bool PythonQtWrapper_QLineEdit::hasSelectedText(QLineEdit* theWrappedObject) const +{ + return ( theWrappedObject->hasSelectedText()); +} + +void PythonQtWrapper_QLineEdit::home(QLineEdit* theWrappedObject, bool mark) +{ + ( theWrappedObject->home(mark)); +} + +QString PythonQtWrapper_QLineEdit::inputMask(QLineEdit* theWrappedObject) const +{ + return ( theWrappedObject->inputMask()); +} + +void PythonQtWrapper_QLineEdit::inputMethodEvent(QLineEdit* theWrappedObject, QInputMethodEvent* arg__1) +{ + ( ((PythonQtPublicPromoter_QLineEdit*)theWrappedObject)->promoted_inputMethodEvent(arg__1)); +} + +QVariant PythonQtWrapper_QLineEdit::inputMethodQuery(QLineEdit* theWrappedObject, Qt::InputMethodQuery arg__1) const +{ + return ( ((PythonQtPublicPromoter_QLineEdit*)theWrappedObject)->promoted_inputMethodQuery(arg__1)); +} + +void PythonQtWrapper_QLineEdit::insert(QLineEdit* theWrappedObject, const QString& arg__1) +{ + ( theWrappedObject->insert(arg__1)); +} + +bool PythonQtWrapper_QLineEdit::isModified(QLineEdit* theWrappedObject) const +{ + return ( theWrappedObject->isModified()); +} + +bool PythonQtWrapper_QLineEdit::isReadOnly(QLineEdit* theWrappedObject) const +{ + return ( theWrappedObject->isReadOnly()); +} + +bool PythonQtWrapper_QLineEdit::isRedoAvailable(QLineEdit* theWrappedObject) const +{ + return ( theWrappedObject->isRedoAvailable()); +} + +bool PythonQtWrapper_QLineEdit::isUndoAvailable(QLineEdit* theWrappedObject) const +{ + return ( theWrappedObject->isUndoAvailable()); +} + +void PythonQtWrapper_QLineEdit::keyPressEvent(QLineEdit* theWrappedObject, QKeyEvent* arg__1) +{ + ( ((PythonQtPublicPromoter_QLineEdit*)theWrappedObject)->promoted_keyPressEvent(arg__1)); +} + +int PythonQtWrapper_QLineEdit::maxLength(QLineEdit* theWrappedObject) const +{ + return ( theWrappedObject->maxLength()); +} + +QSize PythonQtWrapper_QLineEdit::minimumSizeHint(QLineEdit* theWrappedObject) const +{ + return ( theWrappedObject->minimumSizeHint()); +} + +void PythonQtWrapper_QLineEdit::mouseDoubleClickEvent(QLineEdit* theWrappedObject, QMouseEvent* arg__1) +{ + ( ((PythonQtPublicPromoter_QLineEdit*)theWrappedObject)->promoted_mouseDoubleClickEvent(arg__1)); +} + +void PythonQtWrapper_QLineEdit::mouseMoveEvent(QLineEdit* theWrappedObject, QMouseEvent* arg__1) +{ + ( ((PythonQtPublicPromoter_QLineEdit*)theWrappedObject)->promoted_mouseMoveEvent(arg__1)); +} + +void PythonQtWrapper_QLineEdit::mousePressEvent(QLineEdit* theWrappedObject, QMouseEvent* arg__1) +{ + ( ((PythonQtPublicPromoter_QLineEdit*)theWrappedObject)->promoted_mousePressEvent(arg__1)); +} + +void PythonQtWrapper_QLineEdit::mouseReleaseEvent(QLineEdit* theWrappedObject, QMouseEvent* arg__1) +{ + ( ((PythonQtPublicPromoter_QLineEdit*)theWrappedObject)->promoted_mouseReleaseEvent(arg__1)); +} + +void PythonQtWrapper_QLineEdit::paintEvent(QLineEdit* theWrappedObject, QPaintEvent* arg__1) +{ + ( ((PythonQtPublicPromoter_QLineEdit*)theWrappedObject)->promoted_paintEvent(arg__1)); +} + +QString PythonQtWrapper_QLineEdit::selectedText(QLineEdit* theWrappedObject) const +{ + return ( theWrappedObject->selectedText()); +} + +int PythonQtWrapper_QLineEdit::selectionStart(QLineEdit* theWrappedObject) const +{ + return ( theWrappedObject->selectionStart()); +} + +void PythonQtWrapper_QLineEdit::setAlignment(QLineEdit* theWrappedObject, Qt::Alignment flag) +{ + ( theWrappedObject->setAlignment(flag)); +} + +void PythonQtWrapper_QLineEdit::setCompleter(QLineEdit* theWrappedObject, QCompleter* completer) +{ + ( theWrappedObject->setCompleter(completer)); +} + +void PythonQtWrapper_QLineEdit::setCursorPosition(QLineEdit* theWrappedObject, int arg__1) +{ + ( theWrappedObject->setCursorPosition(arg__1)); +} + +void PythonQtWrapper_QLineEdit::setDragEnabled(QLineEdit* theWrappedObject, bool b) +{ + ( theWrappedObject->setDragEnabled(b)); +} + +void PythonQtWrapper_QLineEdit::setEchoMode(QLineEdit* theWrappedObject, QLineEdit::EchoMode arg__1) +{ + ( theWrappedObject->setEchoMode(arg__1)); +} + +void PythonQtWrapper_QLineEdit::setFrame(QLineEdit* theWrappedObject, bool arg__1) +{ + ( theWrappedObject->setFrame(arg__1)); +} + +void PythonQtWrapper_QLineEdit::setInputMask(QLineEdit* theWrappedObject, const QString& inputMask) +{ + ( theWrappedObject->setInputMask(inputMask)); +} + +void PythonQtWrapper_QLineEdit::setMaxLength(QLineEdit* theWrappedObject, int arg__1) +{ + ( theWrappedObject->setMaxLength(arg__1)); +} + +void PythonQtWrapper_QLineEdit::setModified(QLineEdit* theWrappedObject, bool arg__1) +{ + ( theWrappedObject->setModified(arg__1)); +} + +void PythonQtWrapper_QLineEdit::setReadOnly(QLineEdit* theWrappedObject, bool arg__1) +{ + ( theWrappedObject->setReadOnly(arg__1)); +} + +void PythonQtWrapper_QLineEdit::setSelection(QLineEdit* theWrappedObject, int arg__1, int arg__2) +{ + ( theWrappedObject->setSelection(arg__1, arg__2)); +} + +void PythonQtWrapper_QLineEdit::setTextMargins(QLineEdit* theWrappedObject, const QMargins& margins) +{ + ( theWrappedObject->setTextMargins(margins)); +} + +void PythonQtWrapper_QLineEdit::setTextMargins(QLineEdit* theWrappedObject, int left, int top, int right, int bottom) +{ + ( theWrappedObject->setTextMargins(left, top, right, bottom)); +} + +void PythonQtWrapper_QLineEdit::setValidator(QLineEdit* theWrappedObject, const QValidator* arg__1) +{ + ( theWrappedObject->setValidator(arg__1)); +} + +QSize PythonQtWrapper_QLineEdit::sizeHint(QLineEdit* theWrappedObject) const +{ + return ( theWrappedObject->sizeHint()); +} + +QString PythonQtWrapper_QLineEdit::text(QLineEdit* theWrappedObject) const +{ + return ( theWrappedObject->text()); +} + +QMargins PythonQtWrapper_QLineEdit::textMargins(QLineEdit* theWrappedObject) const +{ + return ( theWrappedObject->textMargins()); +} + +const QValidator* PythonQtWrapper_QLineEdit::validator(QLineEdit* theWrappedObject) const +{ + return ( theWrappedObject->validator()); +} + + + +QLinearGradient* PythonQtWrapper_QLinearGradient::new_QLinearGradient() +{ +return new QLinearGradient(); } + +QLinearGradient* PythonQtWrapper_QLinearGradient::new_QLinearGradient(const QPointF& start, const QPointF& finalStop) +{ +return new QLinearGradient(start, finalStop); } + +QLinearGradient* PythonQtWrapper_QLinearGradient::new_QLinearGradient(qreal xStart, qreal yStart, qreal xFinalStop, qreal yFinalStop) +{ +return new QLinearGradient(xStart, yStart, xFinalStop, yFinalStop); } + +QPointF PythonQtWrapper_QLinearGradient::finalStop(QLinearGradient* theWrappedObject) const +{ + return ( theWrappedObject->finalStop()); +} + +void PythonQtWrapper_QLinearGradient::setFinalStop(QLinearGradient* theWrappedObject, const QPointF& stop) +{ + ( theWrappedObject->setFinalStop(stop)); +} + +void PythonQtWrapper_QLinearGradient::setFinalStop(QLinearGradient* theWrappedObject, qreal x, qreal y) +{ + ( theWrappedObject->setFinalStop(x, y)); +} + +void PythonQtWrapper_QLinearGradient::setStart(QLinearGradient* theWrappedObject, const QPointF& start) +{ + ( theWrappedObject->setStart(start)); +} + +void PythonQtWrapper_QLinearGradient::setStart(QLinearGradient* theWrappedObject, qreal x, qreal y) +{ + ( theWrappedObject->setStart(x, y)); +} + +QPointF PythonQtWrapper_QLinearGradient::start(QLinearGradient* theWrappedObject) const +{ + return ( theWrappedObject->start()); +} + + + +void PythonQtShell_QListView::actionEvent(QActionEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "actionEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QActionEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QListView::actionEvent(arg__1); +} +void PythonQtShell_QListView::changeEvent(QEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "changeEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QListView::changeEvent(arg__1); +} +void PythonQtShell_QListView::childEvent(QChildEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "childEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QChildEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QListView::childEvent(arg__1); +} +void PythonQtShell_QListView::closeEditor(QWidget* editor, QAbstractItemDelegate::EndEditHint hint) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "closeEditor"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QWidget*" , "QAbstractItemDelegate::EndEditHint"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + void* args[3] = {NULL, (void*)&editor, (void*)&hint}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QListView::closeEditor(editor, hint); +} +void PythonQtShell_QListView::closeEvent(QCloseEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "closeEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QCloseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QListView::closeEvent(arg__1); +} +void PythonQtShell_QListView::commitData(QWidget* editor) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "commitData"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QWidget*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&editor}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QListView::commitData(editor); +} +void PythonQtShell_QListView::contextMenuEvent(QContextMenuEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "contextMenuEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QContextMenuEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QListView::contextMenuEvent(arg__1); +} +void PythonQtShell_QListView::currentChanged(const QModelIndex& current, const QModelIndex& previous) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "currentChanged"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "const QModelIndex&" , "const QModelIndex&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + void* args[3] = {NULL, (void*)¤t, (void*)&previous}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QListView::currentChanged(current, previous); +} +void PythonQtShell_QListView::customEvent(QEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "customEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QListView::customEvent(arg__1); +} +void PythonQtShell_QListView::dataChanged(const QModelIndex& topLeft, const QModelIndex& bottomRight) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dataChanged"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "const QModelIndex&" , "const QModelIndex&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + void* args[3] = {NULL, (void*)&topLeft, (void*)&bottomRight}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QListView::dataChanged(topLeft, bottomRight); +} +int PythonQtShell_QListView::devType() const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "devType"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + int returnValue; + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("devType", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QListView::devType(); +} +void PythonQtShell_QListView::doItemsLayout() +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "doItemsLayout"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={""}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QListView::doItemsLayout(); +} +void PythonQtShell_QListView::dragEnterEvent(QDragEnterEvent* event) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dragEnterEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QDragEnterEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&event}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QListView::dragEnterEvent(event); +} +void PythonQtShell_QListView::dragLeaveEvent(QDragLeaveEvent* e) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dragLeaveEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QDragLeaveEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&e}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QListView::dragLeaveEvent(e); +} +void PythonQtShell_QListView::dragMoveEvent(QDragMoveEvent* e) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dragMoveEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QDragMoveEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&e}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QListView::dragMoveEvent(e); +} +void PythonQtShell_QListView::dropEvent(QDropEvent* e) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dropEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QDropEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&e}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QListView::dropEvent(e); +} +bool PythonQtShell_QListView::edit(const QModelIndex& index, QAbstractItemView::EditTrigger trigger, QEvent* event) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "edit"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "const QModelIndex&" , "QAbstractItemView::EditTrigger" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + bool returnValue; + void* args[4] = {NULL, (void*)&index, (void*)&trigger, (void*)&event}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("edit", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QListView::edit(index, trigger, event); +} +void PythonQtShell_QListView::editorDestroyed(QObject* editor) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "editorDestroyed"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QObject*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&editor}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QListView::editorDestroyed(editor); +} +void PythonQtShell_QListView::enterEvent(QEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "enterEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QListView::enterEvent(arg__1); +} +bool PythonQtShell_QListView::event(QEvent* e) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "event"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue; + void* args[2] = {NULL, (void*)&e}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QListView::event(e); +} +bool PythonQtShell_QListView::eventFilter(QObject* arg__1, QEvent* arg__2) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "eventFilter"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue; + void* args[3] = {NULL, (void*)&arg__1, (void*)&arg__2}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QListView::eventFilter(arg__1, arg__2); +} +void PythonQtShell_QListView::focusInEvent(QFocusEvent* event) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "focusInEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QFocusEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&event}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QListView::focusInEvent(event); +} +bool PythonQtShell_QListView::focusNextPrevChild(bool next) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "focusNextPrevChild"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue; + void* args[2] = {NULL, (void*)&next}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("focusNextPrevChild", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QListView::focusNextPrevChild(next); +} +void PythonQtShell_QListView::focusOutEvent(QFocusEvent* event) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "focusOutEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QFocusEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&event}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QListView::focusOutEvent(event); +} +int PythonQtShell_QListView::heightForWidth(int arg__1) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "heightForWidth"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"int" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + int returnValue; + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("heightForWidth", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QListView::heightForWidth(arg__1); +} +void PythonQtShell_QListView::hideEvent(QHideEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "hideEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QHideEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QListView::hideEvent(arg__1); +} +int PythonQtShell_QListView::horizontalOffset() const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "horizontalOffset"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + int returnValue; + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("horizontalOffset", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QListView::horizontalOffset(); +} +void PythonQtShell_QListView::horizontalScrollbarAction(int action) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "horizontalScrollbarAction"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&action}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QListView::horizontalScrollbarAction(action); +} +void PythonQtShell_QListView::horizontalScrollbarValueChanged(int value) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "horizontalScrollbarValueChanged"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&value}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QListView::horizontalScrollbarValueChanged(value); +} +QModelIndex PythonQtShell_QListView::indexAt(const QPoint& p) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "indexAt"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QModelIndex" , "const QPoint&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + QModelIndex returnValue; + void* args[2] = {NULL, (void*)&p}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("indexAt", methodInfo, result); + } else { + returnValue = *((QModelIndex*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QListView::indexAt(p); +} +void PythonQtShell_QListView::inputMethodEvent(QInputMethodEvent* event) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "inputMethodEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QInputMethodEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&event}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QListView::inputMethodEvent(event); +} +QVariant PythonQtShell_QListView::inputMethodQuery(Qt::InputMethodQuery query) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "inputMethodQuery"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QVariant" , "Qt::InputMethodQuery"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + QVariant returnValue; + void* args[2] = {NULL, (void*)&query}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result); + } else { + returnValue = *((QVariant*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QListView::inputMethodQuery(query); +} +bool PythonQtShell_QListView::isIndexHidden(const QModelIndex& index) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "isIndexHidden"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "const QModelIndex&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue; + void* args[2] = {NULL, (void*)&index}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("isIndexHidden", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QListView::isIndexHidden(index); +} +void PythonQtShell_QListView::keyPressEvent(QKeyEvent* event) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "keyPressEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QKeyEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&event}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QListView::keyPressEvent(event); +} +void PythonQtShell_QListView::keyReleaseEvent(QKeyEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "keyReleaseEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QKeyEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QListView::keyReleaseEvent(arg__1); +} +void PythonQtShell_QListView::keyboardSearch(const QString& search) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "keyboardSearch"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "const QString&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&search}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QListView::keyboardSearch(search); +} +void PythonQtShell_QListView::languageChange() +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "languageChange"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={""}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QListView::languageChange(); +} +void PythonQtShell_QListView::leaveEvent(QEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "leaveEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QListView::leaveEvent(arg__1); +} +int PythonQtShell_QListView::metric(QPaintDevice::PaintDeviceMetric arg__1) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "metric"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + int returnValue; + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("metric", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QListView::metric(arg__1); +} +void PythonQtShell_QListView::mouseDoubleClickEvent(QMouseEvent* event) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mouseDoubleClickEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&event}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QListView::mouseDoubleClickEvent(event); +} +void PythonQtShell_QListView::mouseMoveEvent(QMouseEvent* e) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mouseMoveEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&e}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QListView::mouseMoveEvent(e); +} +void PythonQtShell_QListView::mousePressEvent(QMouseEvent* event) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mousePressEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&event}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QListView::mousePressEvent(event); +} +void PythonQtShell_QListView::mouseReleaseEvent(QMouseEvent* e) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mouseReleaseEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&e}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QListView::mouseReleaseEvent(e); +} +void PythonQtShell_QListView::moveEvent(QMoveEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "moveEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QMoveEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QListView::moveEvent(arg__1); +} +QPaintEngine* PythonQtShell_QListView::paintEngine() const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "paintEngine"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QPaintEngine*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QPaintEngine* returnValue; + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); + } else { + returnValue = *((QPaintEngine**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QListView::paintEngine(); +} +void PythonQtShell_QListView::paintEvent(QPaintEvent* e) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "paintEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QPaintEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&e}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QListView::paintEvent(e); +} +void PythonQtShell_QListView::reset() +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "reset"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={""}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QListView::reset(); +} +void PythonQtShell_QListView::resizeEvent(QResizeEvent* e) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "resizeEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QResizeEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&e}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QListView::resizeEvent(e); +} +void PythonQtShell_QListView::rowsAboutToBeRemoved(const QModelIndex& parent, int start, int end) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "rowsAboutToBeRemoved"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "const QModelIndex&" , "int" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + void* args[4] = {NULL, (void*)&parent, (void*)&start, (void*)&end}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QListView::rowsAboutToBeRemoved(parent, start, end); +} +void PythonQtShell_QListView::rowsInserted(const QModelIndex& parent, int start, int end) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "rowsInserted"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "const QModelIndex&" , "int" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + void* args[4] = {NULL, (void*)&parent, (void*)&start, (void*)&end}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QListView::rowsInserted(parent, start, end); +} +void PythonQtShell_QListView::scrollContentsBy(int dx, int dy) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "scrollContentsBy"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "int" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + void* args[3] = {NULL, (void*)&dx, (void*)&dy}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QListView::scrollContentsBy(dx, dy); +} +void PythonQtShell_QListView::scrollTo(const QModelIndex& index, QAbstractItemView::ScrollHint hint) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "scrollTo"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "const QModelIndex&" , "QAbstractItemView::ScrollHint"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + void* args[3] = {NULL, (void*)&index, (void*)&hint}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QListView::scrollTo(index, hint); +} +void PythonQtShell_QListView::selectAll() +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "selectAll"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={""}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QListView::selectAll(); +} +QList PythonQtShell_QListView::selectedIndexes() const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "selectedIndexes"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QList"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QList returnValue; + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("selectedIndexes", methodInfo, result); + } else { + returnValue = *((QList*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QListView::selectedIndexes(); +} +void PythonQtShell_QListView::selectionChanged(const QItemSelection& selected, const QItemSelection& deselected) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "selectionChanged"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "const QItemSelection&" , "const QItemSelection&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + void* args[3] = {NULL, (void*)&selected, (void*)&deselected}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QListView::selectionChanged(selected, deselected); +} +QItemSelectionModel::SelectionFlags PythonQtShell_QListView::selectionCommand(const QModelIndex& index, const QEvent* event) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "selectionCommand"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QItemSelectionModel::SelectionFlags" , "const QModelIndex&" , "const QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + QItemSelectionModel::SelectionFlags returnValue; + void* args[3] = {NULL, (void*)&index, (void*)&event}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("selectionCommand", methodInfo, result); + } else { + returnValue = *((QItemSelectionModel::SelectionFlags*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QListView::selectionCommand(index, event); +} +void PythonQtShell_QListView::setModel(QAbstractItemModel* model) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "setModel"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QAbstractItemModel*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&model}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QListView::setModel(model); +} +void PythonQtShell_QListView::setRootIndex(const QModelIndex& index) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "setRootIndex"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "const QModelIndex&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&index}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QListView::setRootIndex(index); +} +void PythonQtShell_QListView::setSelection(const QRect& rect, QItemSelectionModel::SelectionFlags command) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "setSelection"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "const QRect&" , "QItemSelectionModel::SelectionFlags"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + void* args[3] = {NULL, (void*)&rect, (void*)&command}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QListView::setSelection(rect, command); +} +void PythonQtShell_QListView::setSelectionModel(QItemSelectionModel* selectionModel) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "setSelectionModel"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QItemSelectionModel*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&selectionModel}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QListView::setSelectionModel(selectionModel); +} +void PythonQtShell_QListView::showEvent(QShowEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "showEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QShowEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QListView::showEvent(arg__1); +} +int PythonQtShell_QListView::sizeHintForColumn(int column) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "sizeHintForColumn"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"int" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + int returnValue; + void* args[2] = {NULL, (void*)&column}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("sizeHintForColumn", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QListView::sizeHintForColumn(column); +} +int PythonQtShell_QListView::sizeHintForRow(int row) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "sizeHintForRow"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"int" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + int returnValue; + void* args[2] = {NULL, (void*)&row}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("sizeHintForRow", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QListView::sizeHintForRow(row); +} +void PythonQtShell_QListView::startDrag(Qt::DropActions supportedActions) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "startDrag"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "Qt::DropActions"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&supportedActions}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QListView::startDrag(supportedActions); +} +void PythonQtShell_QListView::tabletEvent(QTabletEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "tabletEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QTabletEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QListView::tabletEvent(arg__1); +} +void PythonQtShell_QListView::timerEvent(QTimerEvent* e) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "timerEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QTimerEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&e}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QListView::timerEvent(e); +} +void PythonQtShell_QListView::updateEditorData() +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "updateEditorData"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={""}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QListView::updateEditorData(); +} +void PythonQtShell_QListView::updateEditorGeometries() +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "updateEditorGeometries"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={""}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QListView::updateEditorGeometries(); +} +void PythonQtShell_QListView::updateGeometries() +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "updateGeometries"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={""}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QListView::updateGeometries(); +} +int PythonQtShell_QListView::verticalOffset() const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "verticalOffset"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + int returnValue; + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("verticalOffset", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QListView::verticalOffset(); +} +void PythonQtShell_QListView::verticalScrollbarAction(int action) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "verticalScrollbarAction"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&action}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QListView::verticalScrollbarAction(action); +} +void PythonQtShell_QListView::verticalScrollbarValueChanged(int value) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "verticalScrollbarValueChanged"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&value}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QListView::verticalScrollbarValueChanged(value); +} +QStyleOptionViewItem PythonQtShell_QListView::viewOptions() const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "viewOptions"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QStyleOptionViewItem"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QStyleOptionViewItem returnValue; + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("viewOptions", methodInfo, result); + } else { + returnValue = *((QStyleOptionViewItem*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QListView::viewOptions(); +} +bool PythonQtShell_QListView::viewportEvent(QEvent* event) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "viewportEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue; + void* args[2] = {NULL, (void*)&event}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("viewportEvent", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QListView::viewportEvent(event); +} +QRect PythonQtShell_QListView::visualRect(const QModelIndex& index) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "visualRect"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QRect" , "const QModelIndex&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + QRect returnValue; + void* args[2] = {NULL, (void*)&index}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("visualRect", methodInfo, result); + } else { + returnValue = *((QRect*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QListView::visualRect(index); +} +QRegion PythonQtShell_QListView::visualRegionForSelection(const QItemSelection& selection) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "visualRegionForSelection"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QRegion" , "const QItemSelection&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + QRegion returnValue; + void* args[2] = {NULL, (void*)&selection}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("visualRegionForSelection", methodInfo, result); + } else { + returnValue = *((QRegion*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QListView::visualRegionForSelection(selection); +} +void PythonQtShell_QListView::wheelEvent(QWheelEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "wheelEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QWheelEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QListView::wheelEvent(arg__1); +} +QListView* PythonQtWrapper_QListView::new_QListView(QWidget* parent) +{ +return new PythonQtShell_QListView(parent); } + +int PythonQtWrapper_QListView::batchSize(QListView* theWrappedObject) const +{ + return ( theWrappedObject->batchSize()); +} + +void PythonQtWrapper_QListView::clearPropertyFlags(QListView* theWrappedObject) +{ + ( theWrappedObject->clearPropertyFlags()); +} + +void PythonQtWrapper_QListView::currentChanged(QListView* theWrappedObject, const QModelIndex& current, const QModelIndex& previous) +{ + ( ((PythonQtPublicPromoter_QListView*)theWrappedObject)->promoted_currentChanged(current, previous)); +} + +void PythonQtWrapper_QListView::dataChanged(QListView* theWrappedObject, const QModelIndex& topLeft, const QModelIndex& bottomRight) +{ + ( ((PythonQtPublicPromoter_QListView*)theWrappedObject)->promoted_dataChanged(topLeft, bottomRight)); +} + +void PythonQtWrapper_QListView::doItemsLayout(QListView* theWrappedObject) +{ + ( ((PythonQtPublicPromoter_QListView*)theWrappedObject)->promoted_doItemsLayout()); +} + +void PythonQtWrapper_QListView::dragLeaveEvent(QListView* theWrappedObject, QDragLeaveEvent* e) +{ + ( ((PythonQtPublicPromoter_QListView*)theWrappedObject)->promoted_dragLeaveEvent(e)); +} + +void PythonQtWrapper_QListView::dragMoveEvent(QListView* theWrappedObject, QDragMoveEvent* e) +{ + ( ((PythonQtPublicPromoter_QListView*)theWrappedObject)->promoted_dragMoveEvent(e)); +} + +void PythonQtWrapper_QListView::dropEvent(QListView* theWrappedObject, QDropEvent* e) +{ + ( ((PythonQtPublicPromoter_QListView*)theWrappedObject)->promoted_dropEvent(e)); +} + +bool PythonQtWrapper_QListView::event(QListView* theWrappedObject, QEvent* e) +{ + return ( ((PythonQtPublicPromoter_QListView*)theWrappedObject)->promoted_event(e)); +} + +QListView::Flow PythonQtWrapper_QListView::flow(QListView* theWrappedObject) const +{ + return ( theWrappedObject->flow()); +} + +QSize PythonQtWrapper_QListView::gridSize(QListView* theWrappedObject) const +{ + return ( theWrappedObject->gridSize()); +} + +int PythonQtWrapper_QListView::horizontalOffset(QListView* theWrappedObject) const +{ + return ( ((PythonQtPublicPromoter_QListView*)theWrappedObject)->promoted_horizontalOffset()); +} + +QModelIndex PythonQtWrapper_QListView::indexAt(QListView* theWrappedObject, const QPoint& p) const +{ + return ( ((PythonQtPublicPromoter_QListView*)theWrappedObject)->promoted_indexAt(p)); +} + +bool PythonQtWrapper_QListView::isIndexHidden(QListView* theWrappedObject, const QModelIndex& index) const +{ + return ( ((PythonQtPublicPromoter_QListView*)theWrappedObject)->promoted_isIndexHidden(index)); +} + +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()); +} + +QListView::LayoutMode PythonQtWrapper_QListView::layoutMode(QListView* theWrappedObject) const +{ + return ( theWrappedObject->layoutMode()); +} + +int PythonQtWrapper_QListView::modelColumn(QListView* theWrappedObject) const +{ + return ( theWrappedObject->modelColumn()); +} + +void PythonQtWrapper_QListView::mouseMoveEvent(QListView* theWrappedObject, QMouseEvent* e) +{ + ( ((PythonQtPublicPromoter_QListView*)theWrappedObject)->promoted_mouseMoveEvent(e)); +} + +void PythonQtWrapper_QListView::mouseReleaseEvent(QListView* theWrappedObject, QMouseEvent* e) +{ + ( ((PythonQtPublicPromoter_QListView*)theWrappedObject)->promoted_mouseReleaseEvent(e)); +} + +QListView::Movement PythonQtWrapper_QListView::movement(QListView* theWrappedObject) const +{ + return ( theWrappedObject->movement()); +} + +void PythonQtWrapper_QListView::paintEvent(QListView* theWrappedObject, QPaintEvent* e) +{ + ( ((PythonQtPublicPromoter_QListView*)theWrappedObject)->promoted_paintEvent(e)); +} + +void PythonQtWrapper_QListView::reset(QListView* theWrappedObject) +{ + ( ((PythonQtPublicPromoter_QListView*)theWrappedObject)->promoted_reset()); +} + +void PythonQtWrapper_QListView::resizeEvent(QListView* theWrappedObject, QResizeEvent* e) +{ + ( ((PythonQtPublicPromoter_QListView*)theWrappedObject)->promoted_resizeEvent(e)); +} + +QListView::ResizeMode PythonQtWrapper_QListView::resizeMode(QListView* theWrappedObject) const +{ + return ( theWrappedObject->resizeMode()); +} + +void PythonQtWrapper_QListView::rowsAboutToBeRemoved(QListView* theWrappedObject, const QModelIndex& parent, int start, int end) +{ + ( ((PythonQtPublicPromoter_QListView*)theWrappedObject)->promoted_rowsAboutToBeRemoved(parent, start, end)); +} + +void PythonQtWrapper_QListView::rowsInserted(QListView* theWrappedObject, const QModelIndex& parent, int start, int end) +{ + ( ((PythonQtPublicPromoter_QListView*)theWrappedObject)->promoted_rowsInserted(parent, start, end)); +} + +void PythonQtWrapper_QListView::scrollContentsBy(QListView* theWrappedObject, int dx, int dy) +{ + ( ((PythonQtPublicPromoter_QListView*)theWrappedObject)->promoted_scrollContentsBy(dx, dy)); +} + +void PythonQtWrapper_QListView::scrollTo(QListView* theWrappedObject, const QModelIndex& index, QAbstractItemView::ScrollHint hint) +{ + ( ((PythonQtPublicPromoter_QListView*)theWrappedObject)->promoted_scrollTo(index, hint)); +} + +QList PythonQtWrapper_QListView::selectedIndexes(QListView* theWrappedObject) const +{ + return ( ((PythonQtPublicPromoter_QListView*)theWrappedObject)->promoted_selectedIndexes()); +} + +void PythonQtWrapper_QListView::selectionChanged(QListView* theWrappedObject, const QItemSelection& selected, const QItemSelection& deselected) +{ + ( ((PythonQtPublicPromoter_QListView*)theWrappedObject)->promoted_selectionChanged(selected, deselected)); +} + +void PythonQtWrapper_QListView::setBatchSize(QListView* theWrappedObject, int batchSize) +{ + ( theWrappedObject->setBatchSize(batchSize)); +} + +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::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::setResizeMode(QListView* theWrappedObject, QListView::ResizeMode mode) +{ + ( theWrappedObject->setResizeMode(mode)); +} + +void PythonQtWrapper_QListView::setRootIndex(QListView* theWrappedObject, const QModelIndex& index) +{ + ( ((PythonQtPublicPromoter_QListView*)theWrappedObject)->promoted_setRootIndex(index)); +} + +void PythonQtWrapper_QListView::setRowHidden(QListView* theWrappedObject, int row, bool hide) +{ + ( theWrappedObject->setRowHidden(row, hide)); +} + +void PythonQtWrapper_QListView::setSelection(QListView* theWrappedObject, const QRect& rect, QItemSelectionModel::SelectionFlags command) +{ + ( ((PythonQtPublicPromoter_QListView*)theWrappedObject)->promoted_setSelection(rect, command)); +} + +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()); +} + +void PythonQtWrapper_QListView::startDrag(QListView* theWrappedObject, Qt::DropActions supportedActions) +{ + ( ((PythonQtPublicPromoter_QListView*)theWrappedObject)->promoted_startDrag(supportedActions)); +} + +void PythonQtWrapper_QListView::timerEvent(QListView* theWrappedObject, QTimerEvent* e) +{ + ( ((PythonQtPublicPromoter_QListView*)theWrappedObject)->promoted_timerEvent(e)); +} + +bool PythonQtWrapper_QListView::uniformItemSizes(QListView* theWrappedObject) const +{ + return ( theWrappedObject->uniformItemSizes()); +} + +void PythonQtWrapper_QListView::updateGeometries(QListView* theWrappedObject) +{ + ( ((PythonQtPublicPromoter_QListView*)theWrappedObject)->promoted_updateGeometries()); +} + +int PythonQtWrapper_QListView::verticalOffset(QListView* theWrappedObject) const +{ + return ( ((PythonQtPublicPromoter_QListView*)theWrappedObject)->promoted_verticalOffset()); +} + +QListView::ViewMode PythonQtWrapper_QListView::viewMode(QListView* theWrappedObject) const +{ + return ( theWrappedObject->viewMode()); +} + +QStyleOptionViewItem PythonQtWrapper_QListView::viewOptions(QListView* theWrappedObject) const +{ + return ( ((PythonQtPublicPromoter_QListView*)theWrappedObject)->promoted_viewOptions()); +} + +QRect PythonQtWrapper_QListView::visualRect(QListView* theWrappedObject, const QModelIndex& index) const +{ + return ( ((PythonQtPublicPromoter_QListView*)theWrappedObject)->promoted_visualRect(index)); +} + +QRegion PythonQtWrapper_QListView::visualRegionForSelection(QListView* theWrappedObject, const QItemSelection& selection) const +{ + return ( ((PythonQtPublicPromoter_QListView*)theWrappedObject)->promoted_visualRegionForSelection(selection)); +} + +bool PythonQtWrapper_QListView::wordWrap(QListView* theWrappedObject) const +{ + return ( theWrappedObject->wordWrap()); +} + + + +void PythonQtShell_QListWidget::actionEvent(QActionEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "actionEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QActionEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QListWidget::actionEvent(arg__1); +} +void PythonQtShell_QListWidget::changeEvent(QEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "changeEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QListWidget::changeEvent(arg__1); +} +void PythonQtShell_QListWidget::childEvent(QChildEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "childEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QChildEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QListWidget::childEvent(arg__1); +} +void PythonQtShell_QListWidget::closeEditor(QWidget* editor, QAbstractItemDelegate::EndEditHint hint) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "closeEditor"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QWidget*" , "QAbstractItemDelegate::EndEditHint"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + void* args[3] = {NULL, (void*)&editor, (void*)&hint}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QListWidget::closeEditor(editor, hint); +} +void PythonQtShell_QListWidget::closeEvent(QCloseEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "closeEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QCloseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QListWidget::closeEvent(arg__1); +} +void PythonQtShell_QListWidget::commitData(QWidget* editor) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "commitData"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QWidget*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&editor}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QListWidget::commitData(editor); +} +void PythonQtShell_QListWidget::contextMenuEvent(QContextMenuEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "contextMenuEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QContextMenuEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QListWidget::contextMenuEvent(arg__1); +} +void PythonQtShell_QListWidget::currentChanged(const QModelIndex& current, const QModelIndex& previous) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "currentChanged"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "const QModelIndex&" , "const QModelIndex&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + void* args[3] = {NULL, (void*)¤t, (void*)&previous}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QListWidget::currentChanged(current, previous); +} +void PythonQtShell_QListWidget::customEvent(QEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "customEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QListWidget::customEvent(arg__1); +} +void PythonQtShell_QListWidget::dataChanged(const QModelIndex& topLeft, const QModelIndex& bottomRight) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dataChanged"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "const QModelIndex&" , "const QModelIndex&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + void* args[3] = {NULL, (void*)&topLeft, (void*)&bottomRight}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QListWidget::dataChanged(topLeft, bottomRight); +} +int PythonQtShell_QListWidget::devType() const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "devType"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + int returnValue; + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("devType", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QListWidget::devType(); +} +void PythonQtShell_QListWidget::doItemsLayout() +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "doItemsLayout"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={""}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QListWidget::doItemsLayout(); +} +void PythonQtShell_QListWidget::dragEnterEvent(QDragEnterEvent* event) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dragEnterEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QDragEnterEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&event}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QListWidget::dragEnterEvent(event); +} +void PythonQtShell_QListWidget::dragLeaveEvent(QDragLeaveEvent* e) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dragLeaveEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QDragLeaveEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&e}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QListWidget::dragLeaveEvent(e); +} +void PythonQtShell_QListWidget::dragMoveEvent(QDragMoveEvent* e) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dragMoveEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QDragMoveEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&e}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QListWidget::dragMoveEvent(e); +} +void PythonQtShell_QListWidget::dropEvent(QDropEvent* event) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dropEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QDropEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&event}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QListWidget::dropEvent(event); +} +bool PythonQtShell_QListWidget::dropMimeData(int index, const QMimeData* data, Qt::DropAction action) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dropMimeData"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "int" , "const QMimeData*" , "Qt::DropAction"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + bool returnValue; + void* args[4] = {NULL, (void*)&index, (void*)&data, (void*)&action}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("dropMimeData", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QListWidget::dropMimeData(index, data, action); +} +bool PythonQtShell_QListWidget::edit(const QModelIndex& index, QAbstractItemView::EditTrigger trigger, QEvent* event) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "edit"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "const QModelIndex&" , "QAbstractItemView::EditTrigger" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + bool returnValue; + void* args[4] = {NULL, (void*)&index, (void*)&trigger, (void*)&event}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("edit", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QListWidget::edit(index, trigger, event); +} +void PythonQtShell_QListWidget::editorDestroyed(QObject* editor) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "editorDestroyed"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QObject*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&editor}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QListWidget::editorDestroyed(editor); +} +void PythonQtShell_QListWidget::enterEvent(QEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "enterEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QListWidget::enterEvent(arg__1); +} +bool PythonQtShell_QListWidget::event(QEvent* e) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "event"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue; + void* args[2] = {NULL, (void*)&e}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QListWidget::event(e); +} +bool PythonQtShell_QListWidget::eventFilter(QObject* arg__1, QEvent* arg__2) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "eventFilter"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue; + void* args[3] = {NULL, (void*)&arg__1, (void*)&arg__2}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QListWidget::eventFilter(arg__1, arg__2); +} +void PythonQtShell_QListWidget::focusInEvent(QFocusEvent* event) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "focusInEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QFocusEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&event}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QListWidget::focusInEvent(event); +} +bool PythonQtShell_QListWidget::focusNextPrevChild(bool next) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "focusNextPrevChild"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue; + void* args[2] = {NULL, (void*)&next}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("focusNextPrevChild", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QListWidget::focusNextPrevChild(next); +} +void PythonQtShell_QListWidget::focusOutEvent(QFocusEvent* event) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "focusOutEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QFocusEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&event}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QListWidget::focusOutEvent(event); +} +int PythonQtShell_QListWidget::heightForWidth(int arg__1) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "heightForWidth"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"int" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + int returnValue; + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("heightForWidth", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QListWidget::heightForWidth(arg__1); +} +void PythonQtShell_QListWidget::hideEvent(QHideEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "hideEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QHideEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QListWidget::hideEvent(arg__1); +} +int PythonQtShell_QListWidget::horizontalOffset() const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "horizontalOffset"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + int returnValue; + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("horizontalOffset", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QListWidget::horizontalOffset(); +} +void PythonQtShell_QListWidget::horizontalScrollbarAction(int action) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "horizontalScrollbarAction"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&action}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QListWidget::horizontalScrollbarAction(action); +} +void PythonQtShell_QListWidget::horizontalScrollbarValueChanged(int value) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "horizontalScrollbarValueChanged"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&value}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QListWidget::horizontalScrollbarValueChanged(value); +} +QModelIndex PythonQtShell_QListWidget::indexAt(const QPoint& p) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "indexAt"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QModelIndex" , "const QPoint&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + QModelIndex returnValue; + void* args[2] = {NULL, (void*)&p}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("indexAt", methodInfo, result); + } else { + returnValue = *((QModelIndex*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QListWidget::indexAt(p); +} +void PythonQtShell_QListWidget::inputMethodEvent(QInputMethodEvent* event) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "inputMethodEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QInputMethodEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&event}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QListWidget::inputMethodEvent(event); +} +QVariant PythonQtShell_QListWidget::inputMethodQuery(Qt::InputMethodQuery query) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "inputMethodQuery"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QVariant" , "Qt::InputMethodQuery"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + QVariant returnValue; + void* args[2] = {NULL, (void*)&query}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result); + } else { + returnValue = *((QVariant*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QListWidget::inputMethodQuery(query); +} +bool PythonQtShell_QListWidget::isIndexHidden(const QModelIndex& index) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "isIndexHidden"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "const QModelIndex&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue; + void* args[2] = {NULL, (void*)&index}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("isIndexHidden", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QListWidget::isIndexHidden(index); +} +void PythonQtShell_QListWidget::keyPressEvent(QKeyEvent* event) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "keyPressEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QKeyEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&event}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QListWidget::keyPressEvent(event); +} +void PythonQtShell_QListWidget::keyReleaseEvent(QKeyEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "keyReleaseEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QKeyEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QListWidget::keyReleaseEvent(arg__1); +} +void PythonQtShell_QListWidget::keyboardSearch(const QString& search) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "keyboardSearch"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "const QString&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&search}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QListWidget::keyboardSearch(search); +} +void PythonQtShell_QListWidget::languageChange() +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "languageChange"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={""}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QListWidget::languageChange(); +} +void PythonQtShell_QListWidget::leaveEvent(QEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "leaveEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QListWidget::leaveEvent(arg__1); +} +int PythonQtShell_QListWidget::metric(QPaintDevice::PaintDeviceMetric arg__1) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "metric"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + int returnValue; + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("metric", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QListWidget::metric(arg__1); +} +QMimeData* PythonQtShell_QListWidget::mimeData(const QList items) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mimeData"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QMimeData*" , "const QList"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + QMimeData* returnValue; + void* args[2] = {NULL, (void*)&items}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("mimeData", methodInfo, result); + } else { + returnValue = *((QMimeData**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QListWidget::mimeData(items); +} +QStringList PythonQtShell_QListWidget::mimeTypes() const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mimeTypes"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QStringList"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QStringList returnValue; + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("mimeTypes", methodInfo, result); + } else { + returnValue = *((QStringList*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QListWidget::mimeTypes(); +} +void PythonQtShell_QListWidget::mouseDoubleClickEvent(QMouseEvent* event) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mouseDoubleClickEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&event}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QListWidget::mouseDoubleClickEvent(event); +} +void PythonQtShell_QListWidget::mouseMoveEvent(QMouseEvent* e) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mouseMoveEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&e}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QListWidget::mouseMoveEvent(e); +} +void PythonQtShell_QListWidget::mousePressEvent(QMouseEvent* event) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mousePressEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&event}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QListWidget::mousePressEvent(event); +} +void PythonQtShell_QListWidget::mouseReleaseEvent(QMouseEvent* e) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mouseReleaseEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&e}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QListWidget::mouseReleaseEvent(e); +} +void PythonQtShell_QListWidget::moveEvent(QMoveEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "moveEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QMoveEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QListWidget::moveEvent(arg__1); +} +QPaintEngine* PythonQtShell_QListWidget::paintEngine() const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "paintEngine"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QPaintEngine*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QPaintEngine* returnValue; + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); + } else { + returnValue = *((QPaintEngine**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QListWidget::paintEngine(); +} +void PythonQtShell_QListWidget::paintEvent(QPaintEvent* e) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "paintEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QPaintEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&e}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QListWidget::paintEvent(e); +} +void PythonQtShell_QListWidget::reset() +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "reset"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={""}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QListWidget::reset(); +} +void PythonQtShell_QListWidget::resizeEvent(QResizeEvent* e) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "resizeEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QResizeEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&e}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QListWidget::resizeEvent(e); +} +void PythonQtShell_QListWidget::rowsAboutToBeRemoved(const QModelIndex& parent, int start, int end) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "rowsAboutToBeRemoved"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "const QModelIndex&" , "int" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + void* args[4] = {NULL, (void*)&parent, (void*)&start, (void*)&end}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QListWidget::rowsAboutToBeRemoved(parent, start, end); +} +void PythonQtShell_QListWidget::rowsInserted(const QModelIndex& parent, int start, int end) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "rowsInserted"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "const QModelIndex&" , "int" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + void* args[4] = {NULL, (void*)&parent, (void*)&start, (void*)&end}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QListWidget::rowsInserted(parent, start, end); +} +void PythonQtShell_QListWidget::scrollContentsBy(int dx, int dy) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "scrollContentsBy"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "int" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + void* args[3] = {NULL, (void*)&dx, (void*)&dy}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QListWidget::scrollContentsBy(dx, dy); +} +void PythonQtShell_QListWidget::scrollTo(const QModelIndex& index, QAbstractItemView::ScrollHint hint) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "scrollTo"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "const QModelIndex&" , "QAbstractItemView::ScrollHint"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + void* args[3] = {NULL, (void*)&index, (void*)&hint}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QListWidget::scrollTo(index, hint); +} +void PythonQtShell_QListWidget::selectAll() +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "selectAll"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={""}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QListWidget::selectAll(); +} +QList PythonQtShell_QListWidget::selectedIndexes() const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "selectedIndexes"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QList"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QList returnValue; + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("selectedIndexes", methodInfo, result); + } else { + returnValue = *((QList*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QListWidget::selectedIndexes(); +} +void PythonQtShell_QListWidget::selectionChanged(const QItemSelection& selected, const QItemSelection& deselected) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "selectionChanged"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "const QItemSelection&" , "const QItemSelection&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + void* args[3] = {NULL, (void*)&selected, (void*)&deselected}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QListWidget::selectionChanged(selected, deselected); +} +QItemSelectionModel::SelectionFlags PythonQtShell_QListWidget::selectionCommand(const QModelIndex& index, const QEvent* event) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "selectionCommand"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QItemSelectionModel::SelectionFlags" , "const QModelIndex&" , "const QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + QItemSelectionModel::SelectionFlags returnValue; + void* args[3] = {NULL, (void*)&index, (void*)&event}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("selectionCommand", methodInfo, result); + } else { + returnValue = *((QItemSelectionModel::SelectionFlags*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QListWidget::selectionCommand(index, event); +} +void PythonQtShell_QListWidget::setRootIndex(const QModelIndex& index) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "setRootIndex"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "const QModelIndex&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&index}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QListWidget::setRootIndex(index); +} +void PythonQtShell_QListWidget::setSelection(const QRect& rect, QItemSelectionModel::SelectionFlags command) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "setSelection"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "const QRect&" , "QItemSelectionModel::SelectionFlags"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + void* args[3] = {NULL, (void*)&rect, (void*)&command}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QListWidget::setSelection(rect, command); +} +void PythonQtShell_QListWidget::setSelectionModel(QItemSelectionModel* selectionModel) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "setSelectionModel"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QItemSelectionModel*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&selectionModel}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QListWidget::setSelectionModel(selectionModel); +} +void PythonQtShell_QListWidget::showEvent(QShowEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "showEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QShowEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QListWidget::showEvent(arg__1); +} +int PythonQtShell_QListWidget::sizeHintForColumn(int column) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "sizeHintForColumn"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"int" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + int returnValue; + void* args[2] = {NULL, (void*)&column}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("sizeHintForColumn", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QListWidget::sizeHintForColumn(column); +} +int PythonQtShell_QListWidget::sizeHintForRow(int row) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "sizeHintForRow"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"int" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + int returnValue; + void* args[2] = {NULL, (void*)&row}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("sizeHintForRow", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QListWidget::sizeHintForRow(row); +} +void PythonQtShell_QListWidget::startDrag(Qt::DropActions supportedActions) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "startDrag"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "Qt::DropActions"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&supportedActions}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QListWidget::startDrag(supportedActions); +} +Qt::DropActions PythonQtShell_QListWidget::supportedDropActions() const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "supportedDropActions"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"Qt::DropActions"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + Qt::DropActions returnValue; + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("supportedDropActions", methodInfo, result); + } else { + returnValue = *((Qt::DropActions*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QListWidget::supportedDropActions(); +} +void PythonQtShell_QListWidget::tabletEvent(QTabletEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "tabletEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QTabletEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QListWidget::tabletEvent(arg__1); +} +void PythonQtShell_QListWidget::timerEvent(QTimerEvent* e) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "timerEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QTimerEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&e}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QListWidget::timerEvent(e); +} +void PythonQtShell_QListWidget::updateEditorData() +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "updateEditorData"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={""}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QListWidget::updateEditorData(); +} +void PythonQtShell_QListWidget::updateEditorGeometries() +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "updateEditorGeometries"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={""}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QListWidget::updateEditorGeometries(); +} +void PythonQtShell_QListWidget::updateGeometries() +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "updateGeometries"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={""}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QListWidget::updateGeometries(); +} +int PythonQtShell_QListWidget::verticalOffset() const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "verticalOffset"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + int returnValue; + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("verticalOffset", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QListWidget::verticalOffset(); +} +void PythonQtShell_QListWidget::verticalScrollbarAction(int action) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "verticalScrollbarAction"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&action}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QListWidget::verticalScrollbarAction(action); +} +void PythonQtShell_QListWidget::verticalScrollbarValueChanged(int value) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "verticalScrollbarValueChanged"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&value}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QListWidget::verticalScrollbarValueChanged(value); +} +QStyleOptionViewItem PythonQtShell_QListWidget::viewOptions() const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "viewOptions"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QStyleOptionViewItem"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QStyleOptionViewItem returnValue; + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("viewOptions", methodInfo, result); + } else { + returnValue = *((QStyleOptionViewItem*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QListWidget::viewOptions(); +} +bool PythonQtShell_QListWidget::viewportEvent(QEvent* event) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "viewportEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue; + void* args[2] = {NULL, (void*)&event}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("viewportEvent", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QListWidget::viewportEvent(event); +} +QRect PythonQtShell_QListWidget::visualRect(const QModelIndex& index) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "visualRect"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QRect" , "const QModelIndex&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + QRect returnValue; + void* args[2] = {NULL, (void*)&index}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("visualRect", methodInfo, result); + } else { + returnValue = *((QRect*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QListWidget::visualRect(index); +} +QRegion PythonQtShell_QListWidget::visualRegionForSelection(const QItemSelection& selection) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "visualRegionForSelection"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QRegion" , "const QItemSelection&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + QRegion returnValue; + void* args[2] = {NULL, (void*)&selection}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("visualRegionForSelection", methodInfo, result); + } else { + returnValue = *((QRegion*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QListWidget::visualRegionForSelection(selection); +} +void PythonQtShell_QListWidget::wheelEvent(QWheelEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "wheelEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QWheelEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QListWidget::wheelEvent(arg__1); +} +QListWidget* PythonQtWrapper_QListWidget::new_QListWidget(QWidget* parent) +{ +return new PythonQtShell_QListWidget(parent); } + +void PythonQtWrapper_QListWidget::addItem(QListWidget* theWrappedObject, QListWidgetItem* 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()); +} + +void PythonQtWrapper_QListWidget::dropEvent(QListWidget* theWrappedObject, QDropEvent* event) +{ + ( ((PythonQtPublicPromoter_QListWidget*)theWrappedObject)->promoted_dropEvent(event)); +} + +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)); +} + +bool PythonQtWrapper_QListWidget::event(QListWidget* theWrappedObject, QEvent* e) +{ + return ( ((PythonQtPublicPromoter_QListWidget*)theWrappedObject)->promoted_event(e)); +} + +QList PythonQtWrapper_QListWidget::findItems(QListWidget* theWrappedObject, const QString& text, Qt::MatchFlags flags) const +{ + return ( theWrappedObject->findItems(text, flags)); +} + +void PythonQtWrapper_QListWidget::insertItem(QListWidget* theWrappedObject, int row, QListWidgetItem* 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::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)); +} + +QWidget* PythonQtWrapper_QListWidget::itemWidget(QListWidget* theWrappedObject, QListWidgetItem* item) const +{ + return ( theWrappedObject->itemWidget(item)); +} + +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 PythonQtWrapper_QListWidget::setItemWidget(QListWidget* theWrappedObject, QListWidgetItem* item, QWidget* widget) +{ + ( theWrappedObject->setItemWidget(item, widget)); +} + +void PythonQtWrapper_QListWidget::setSortingEnabled(QListWidget* theWrappedObject, bool enable) +{ + ( theWrappedObject->setSortingEnabled(enable)); +} + +void PythonQtWrapper_QListWidget::sortItems(QListWidget* theWrappedObject, Qt::SortOrder order) +{ + ( theWrappedObject->sortItems(order)); +} + +Qt::DropActions PythonQtWrapper_QListWidget::supportedDropActions(QListWidget* theWrappedObject) const +{ + return ( ((PythonQtPublicPromoter_QListWidget*)theWrappedObject)->promoted_supportedDropActions()); +} + +QListWidgetItem* 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)); +} + + + +QListWidgetItem* PythonQtShell_QListWidgetItem::clone() const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "clone"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QListWidgetItem*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QListWidgetItem* returnValue; + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("clone", methodInfo, result); + } else { + returnValue = *((QListWidgetItem**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QListWidgetItem::clone(); +} +QVariant PythonQtShell_QListWidgetItem::data(int role) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "data"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QVariant" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + QVariant returnValue; + void* args[2] = {NULL, (void*)&role}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("data", methodInfo, result); + } else { + returnValue = *((QVariant*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QListWidgetItem::data(role); +} +bool PythonQtShell_QListWidgetItem::__lt__(const QListWidgetItem& other) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "__lt__"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "const QListWidgetItem&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue; + void* args[2] = {NULL, (void*)&other}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("__lt__", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QListWidgetItem::operator<(other); +} +void PythonQtShell_QListWidgetItem::read(QDataStream& in) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "read"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QDataStream&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&in}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QListWidgetItem::read(in); +} +void PythonQtShell_QListWidgetItem::setBackgroundColor(const QColor& color) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "setBackgroundColor"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "const QColor&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&color}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QListWidgetItem::setBackgroundColor(color); +} +void PythonQtShell_QListWidgetItem::setData(int role, const QVariant& value) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "setData"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "int" , "const QVariant&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + void* args[3] = {NULL, (void*)&role, (void*)&value}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QListWidgetItem::setData(role, value); +} +void PythonQtShell_QListWidgetItem::write(QDataStream& out) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "write"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QDataStream&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&out}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QListWidgetItem::write(out); +} +QListWidgetItem* PythonQtWrapper_QListWidgetItem::new_QListWidgetItem(QListWidget* view, int type) +{ +return new PythonQtShell_QListWidgetItem(view, type); } + +QListWidgetItem* PythonQtWrapper_QListWidgetItem::new_QListWidgetItem(const QIcon& icon, const QString& text, QListWidget* view, int type) +{ +return new PythonQtShell_QListWidgetItem(icon, text, view, type); } + +QListWidgetItem* PythonQtWrapper_QListWidgetItem::new_QListWidgetItem(const QString& text, QListWidget* view, int type) +{ +return new PythonQtShell_QListWidgetItem(text, view, type); } + +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 ( ((PythonQtPublicPromoter_QListWidgetItem*)theWrappedObject)->promoted_clone()); +} + +QVariant PythonQtWrapper_QListWidgetItem::data(QListWidgetItem* theWrappedObject, int role) const +{ + return ( ((PythonQtPublicPromoter_QListWidgetItem*)theWrappedObject)->promoted_data(role)); +} + +Qt::ItemFlags PythonQtWrapper_QListWidgetItem::flags(QListWidgetItem* theWrappedObject) const +{ + return ( theWrappedObject->flags()); +} + +QFont PythonQtWrapper_QListWidgetItem::font(QListWidgetItem* theWrappedObject) const +{ + return ( theWrappedObject->font()); +} + +QBrush PythonQtWrapper_QListWidgetItem::foreground(QListWidgetItem* theWrappedObject) const +{ + return ( theWrappedObject->foreground()); +} + +QIcon PythonQtWrapper_QListWidgetItem::icon(QListWidgetItem* theWrappedObject) const +{ + return ( theWrappedObject->icon()); +} + +bool PythonQtWrapper_QListWidgetItem::isHidden(QListWidgetItem* theWrappedObject) const +{ + return ( theWrappedObject->isHidden()); +} + +bool PythonQtWrapper_QListWidgetItem::isSelected(QListWidgetItem* theWrappedObject) const +{ + return ( theWrappedObject->isSelected()); +} + +QListWidget* PythonQtWrapper_QListWidgetItem::listWidget(QListWidgetItem* theWrappedObject) const +{ + return ( theWrappedObject->listWidget()); +} + +void PythonQtWrapper_QListWidgetItem::writeTo(QListWidgetItem* theWrappedObject, QDataStream& out) +{ + out << (*theWrappedObject); +} + +void PythonQtWrapper_QListWidgetItem::readFrom(QListWidgetItem* theWrappedObject, QDataStream& in) +{ + in >> (*theWrappedObject); +} + +void PythonQtWrapper_QListWidgetItem::setBackground(QListWidgetItem* theWrappedObject, const QBrush& brush) +{ + ( theWrappedObject->setBackground(brush)); +} + +void PythonQtWrapper_QListWidgetItem::setCheckState(QListWidgetItem* theWrappedObject, Qt::CheckState state) +{ + ( theWrappedObject->setCheckState(state)); +} + +void PythonQtWrapper_QListWidgetItem::setData(QListWidgetItem* theWrappedObject, int role, const QVariant& value) +{ + ( ((PythonQtPublicPromoter_QListWidgetItem*)theWrappedObject)->promoted_setData(role, value)); +} + +void PythonQtWrapper_QListWidgetItem::setFlags(QListWidgetItem* theWrappedObject, Qt::ItemFlags flags) +{ + ( theWrappedObject->setFlags(flags)); +} + +void PythonQtWrapper_QListWidgetItem::setFont(QListWidgetItem* theWrappedObject, const QFont& font) +{ + ( theWrappedObject->setFont(font)); +} + +void PythonQtWrapper_QListWidgetItem::setForeground(QListWidgetItem* theWrappedObject, const QBrush& brush) +{ + ( 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_QListWidgetItem::setText(QListWidgetItem* theWrappedObject, const QString& text) +{ + ( theWrappedObject->setText(text)); +} + +void PythonQtWrapper_QListWidgetItem::setTextAlignment(QListWidgetItem* theWrappedObject, int alignment) +{ + ( theWrappedObject->setTextAlignment(alignment)); +} + +void PythonQtWrapper_QListWidgetItem::setToolTip(QListWidgetItem* theWrappedObject, const QString& toolTip) +{ + ( theWrappedObject->setToolTip(toolTip)); +} + +void PythonQtWrapper_QListWidgetItem::setWhatsThis(QListWidgetItem* theWrappedObject, const QString& whatsThis) +{ + ( theWrappedObject->setWhatsThis(whatsThis)); +} + +QSize PythonQtWrapper_QListWidgetItem::sizeHint(QListWidgetItem* theWrappedObject) const +{ + return ( theWrappedObject->sizeHint()); +} + +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 +{ + return ( theWrappedObject->toolTip()); +} + +int PythonQtWrapper_QListWidgetItem::type(QListWidgetItem* theWrappedObject) const +{ + return ( theWrappedObject->type()); +} + +QString PythonQtWrapper_QListWidgetItem::whatsThis(QListWidgetItem* theWrappedObject) const +{ + return ( theWrappedObject->whatsThis()); +} + + + +void PythonQtShell_QMainWindow::actionEvent(QActionEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "actionEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QActionEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QMainWindow::actionEvent(arg__1); +} +void PythonQtShell_QMainWindow::changeEvent(QEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "changeEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QMainWindow::changeEvent(arg__1); +} +void PythonQtShell_QMainWindow::childEvent(QChildEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "childEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QChildEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QMainWindow::childEvent(arg__1); +} +void PythonQtShell_QMainWindow::closeEvent(QCloseEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "closeEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QCloseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QMainWindow::closeEvent(arg__1); +} +void PythonQtShell_QMainWindow::contextMenuEvent(QContextMenuEvent* event) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "contextMenuEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QContextMenuEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&event}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QMainWindow::contextMenuEvent(event); +} +QMenu* PythonQtShell_QMainWindow::createPopupMenu() +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "createPopupMenu"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QMenu*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QMenu* returnValue; + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("createPopupMenu", methodInfo, result); + } else { + returnValue = *((QMenu**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QMainWindow::createPopupMenu(); +} +void PythonQtShell_QMainWindow::customEvent(QEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "customEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QMainWindow::customEvent(arg__1); +} +int PythonQtShell_QMainWindow::devType() const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "devType"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + int returnValue; + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("devType", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QMainWindow::devType(); +} +void PythonQtShell_QMainWindow::dragEnterEvent(QDragEnterEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dragEnterEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QDragEnterEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QMainWindow::dragEnterEvent(arg__1); +} +void PythonQtShell_QMainWindow::dragLeaveEvent(QDragLeaveEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dragLeaveEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QDragLeaveEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QMainWindow::dragLeaveEvent(arg__1); +} +void PythonQtShell_QMainWindow::dragMoveEvent(QDragMoveEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dragMoveEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QDragMoveEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QMainWindow::dragMoveEvent(arg__1); +} +void PythonQtShell_QMainWindow::dropEvent(QDropEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dropEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QDropEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QMainWindow::dropEvent(arg__1); +} +void PythonQtShell_QMainWindow::enterEvent(QEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "enterEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QMainWindow::enterEvent(arg__1); +} +bool PythonQtShell_QMainWindow::event(QEvent* event) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "event"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue; + void* args[2] = {NULL, (void*)&event}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QMainWindow::event(event); +} +bool PythonQtShell_QMainWindow::eventFilter(QObject* arg__1, QEvent* arg__2) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "eventFilter"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue; + void* args[3] = {NULL, (void*)&arg__1, (void*)&arg__2}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QMainWindow::eventFilter(arg__1, arg__2); +} +void PythonQtShell_QMainWindow::focusInEvent(QFocusEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "focusInEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QFocusEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QMainWindow::focusInEvent(arg__1); +} +bool PythonQtShell_QMainWindow::focusNextPrevChild(bool next) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "focusNextPrevChild"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue; + void* args[2] = {NULL, (void*)&next}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("focusNextPrevChild", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QMainWindow::focusNextPrevChild(next); +} +void PythonQtShell_QMainWindow::focusOutEvent(QFocusEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "focusOutEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QFocusEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QMainWindow::focusOutEvent(arg__1); +} +int PythonQtShell_QMainWindow::heightForWidth(int arg__1) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "heightForWidth"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"int" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + int returnValue; + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("heightForWidth", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QMainWindow::heightForWidth(arg__1); +} +void PythonQtShell_QMainWindow::hideEvent(QHideEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "hideEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QHideEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QMainWindow::hideEvent(arg__1); +} +void PythonQtShell_QMainWindow::inputMethodEvent(QInputMethodEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "inputMethodEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QInputMethodEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QMainWindow::inputMethodEvent(arg__1); +} +QVariant PythonQtShell_QMainWindow::inputMethodQuery(Qt::InputMethodQuery arg__1) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "inputMethodQuery"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QVariant" , "Qt::InputMethodQuery"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + QVariant returnValue; + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result); + } else { + returnValue = *((QVariant*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QMainWindow::inputMethodQuery(arg__1); +} +void PythonQtShell_QMainWindow::keyPressEvent(QKeyEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "keyPressEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QKeyEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QMainWindow::keyPressEvent(arg__1); +} +void PythonQtShell_QMainWindow::keyReleaseEvent(QKeyEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "keyReleaseEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QKeyEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QMainWindow::keyReleaseEvent(arg__1); +} +void PythonQtShell_QMainWindow::languageChange() +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "languageChange"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={""}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QMainWindow::languageChange(); +} +void PythonQtShell_QMainWindow::leaveEvent(QEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "leaveEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QMainWindow::leaveEvent(arg__1); +} +int PythonQtShell_QMainWindow::metric(QPaintDevice::PaintDeviceMetric arg__1) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "metric"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + int returnValue; + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("metric", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QMainWindow::metric(arg__1); +} +QSize PythonQtShell_QMainWindow::minimumSizeHint() const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "getMinimumSizeHint"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QSize"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QSize returnValue; + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("getMinimumSizeHint", methodInfo, result); + } else { + returnValue = *((QSize*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QMainWindow::minimumSizeHint(); +} +void PythonQtShell_QMainWindow::mouseDoubleClickEvent(QMouseEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mouseDoubleClickEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QMainWindow::mouseDoubleClickEvent(arg__1); +} +void PythonQtShell_QMainWindow::mouseMoveEvent(QMouseEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mouseMoveEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QMainWindow::mouseMoveEvent(arg__1); +} +void PythonQtShell_QMainWindow::mousePressEvent(QMouseEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mousePressEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QMainWindow::mousePressEvent(arg__1); +} +void PythonQtShell_QMainWindow::mouseReleaseEvent(QMouseEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mouseReleaseEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QMainWindow::mouseReleaseEvent(arg__1); +} +void PythonQtShell_QMainWindow::moveEvent(QMoveEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "moveEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QMoveEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QMainWindow::moveEvent(arg__1); +} +QPaintEngine* PythonQtShell_QMainWindow::paintEngine() const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "paintEngine"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QPaintEngine*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QPaintEngine* returnValue; + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); + } else { + returnValue = *((QPaintEngine**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QMainWindow::paintEngine(); +} +void PythonQtShell_QMainWindow::paintEvent(QPaintEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "paintEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QPaintEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QMainWindow::paintEvent(arg__1); +} +void PythonQtShell_QMainWindow::resizeEvent(QResizeEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "resizeEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QResizeEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QMainWindow::resizeEvent(arg__1); +} +void PythonQtShell_QMainWindow::showEvent(QShowEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "showEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QShowEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QMainWindow::showEvent(arg__1); +} +QSize PythonQtShell_QMainWindow::sizeHint() const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "getSizeHint"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QSize"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QSize returnValue; + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("getSizeHint", methodInfo, result); + } else { + returnValue = *((QSize*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QMainWindow::sizeHint(); +} +void PythonQtShell_QMainWindow::tabletEvent(QTabletEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "tabletEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QTabletEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QMainWindow::tabletEvent(arg__1); +} +void PythonQtShell_QMainWindow::timerEvent(QTimerEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "timerEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QTimerEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QMainWindow::timerEvent(arg__1); +} +void PythonQtShell_QMainWindow::wheelEvent(QWheelEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "wheelEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QWheelEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QMainWindow::wheelEvent(arg__1); +} +QMainWindow* PythonQtWrapper_QMainWindow::new_QMainWindow(QWidget* parent, Qt::WindowFlags flags) +{ +return new PythonQtShell_QMainWindow(parent, flags); } + +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()); +} + +void PythonQtWrapper_QMainWindow::contextMenuEvent(QMainWindow* theWrappedObject, QContextMenuEvent* event) +{ + ( ((PythonQtPublicPromoter_QMainWindow*)theWrappedObject)->promoted_contextMenuEvent(event)); +} + +Qt::DockWidgetArea PythonQtWrapper_QMainWindow::corner(QMainWindow* theWrappedObject, Qt::Corner corner) const +{ + return ( theWrappedObject->corner(corner)); +} + +QMenu* PythonQtWrapper_QMainWindow::createPopupMenu(QMainWindow* theWrappedObject) +{ + return ( ((PythonQtPublicPromoter_QMainWindow*)theWrappedObject)->promoted_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()); +} + +bool PythonQtWrapper_QMainWindow::event(QMainWindow* theWrappedObject, QEvent* event) +{ + return ( ((PythonQtPublicPromoter_QMainWindow*)theWrappedObject)->promoted_event(event)); +} + +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)); +} + +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::setUnifiedTitleAndToolBarOnMac(QMainWindow* theWrappedObject, bool set) +{ + ( theWrappedObject->setUnifiedTitleAndToolBarOnMac(set)); +} + +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)); +} + +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::__eq__(QMargins* theWrappedObject, const QMargins& m2) +{ + return ( (*theWrappedObject)== m2); +} + +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; +} + + diff --git a/generated_cpp_47/com_trolltech_qt_gui/com_trolltech_qt_gui4.h b/generated_cpp_47/com_trolltech_qt_gui/com_trolltech_qt_gui4.h new file mode 100644 index 00000000..b702d4bc --- /dev/null +++ b/generated_cpp_47/com_trolltech_qt_gui/com_trolltech_qt_gui4.h @@ -0,0 +1,2053 @@ +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#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_QIconEnginePluginV2 : public QIconEnginePluginV2 +{ +public: + PythonQtShell_QIconEnginePluginV2(QObject* parent = 0):QIconEnginePluginV2(parent),_wrapper(NULL) {}; + +virtual void childEvent(QChildEvent* arg__1); +virtual QIconEngineV2* create(const QString& filename = QString()); +virtual void customEvent(QEvent* arg__1); +virtual bool event(QEvent* arg__1); +virtual bool eventFilter(QObject* arg__1, QEvent* arg__2); +virtual QStringList keys() const; +virtual void timerEvent(QTimerEvent* arg__1); + + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtWrapper_QIconEnginePluginV2 : public QObject +{ Q_OBJECT +public: +public slots: +QIconEnginePluginV2* new_QIconEnginePluginV2(QObject* parent = 0); +void delete_QIconEnginePluginV2(QIconEnginePluginV2* obj) { delete obj; } +}; + + + + + +class PythonQtShell_QImageIOHandler : public QImageIOHandler +{ +public: + PythonQtShell_QImageIOHandler():QImageIOHandler(),_wrapper(NULL) {}; + +virtual bool canRead() const; +virtual int currentImageNumber() const; +virtual QRect currentImageRect() const; +virtual int imageCount() const; +virtual bool jumpToImage(int imageNumber); +virtual bool jumpToNextImage(); +virtual int loopCount() const; +virtual QByteArray name() const; +virtual int nextImageDelay() const; +virtual QVariant option(QImageIOHandler::ImageOption option) const; +virtual bool read(QImage* image); +virtual void setOption(QImageIOHandler::ImageOption option, const QVariant& value); +virtual bool supportsOption(QImageIOHandler::ImageOption option) const; +virtual bool write(const QImage& image); + + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtPublicPromoter_QImageIOHandler : public QImageIOHandler +{ public: +inline int promoted_currentImageNumber() const { return QImageIOHandler::currentImageNumber(); } +inline QRect promoted_currentImageRect() const { return QImageIOHandler::currentImageRect(); } +inline int promoted_imageCount() const { return QImageIOHandler::imageCount(); } +inline bool promoted_jumpToImage(int imageNumber) { return QImageIOHandler::jumpToImage(imageNumber); } +inline bool promoted_jumpToNextImage() { return QImageIOHandler::jumpToNextImage(); } +inline int promoted_loopCount() const { return QImageIOHandler::loopCount(); } +inline int promoted_nextImageDelay() const { return QImageIOHandler::nextImageDelay(); } +inline QVariant promoted_option(QImageIOHandler::ImageOption option) const { return QImageIOHandler::option(option); } +inline void promoted_setOption(QImageIOHandler::ImageOption option, const QVariant& value) { QImageIOHandler::setOption(option, value); } +inline bool promoted_supportsOption(QImageIOHandler::ImageOption option) const { return QImageIOHandler::supportsOption(option); } +inline bool promoted_write(const QImage& image) { return QImageIOHandler::write(image); } +}; + +class PythonQtWrapper_QImageIOHandler : public QObject +{ Q_OBJECT +public: +Q_ENUMS(ImageOption ) +enum ImageOption{ + Size = QImageIOHandler::Size, ClipRect = QImageIOHandler::ClipRect, Description = QImageIOHandler::Description, ScaledClipRect = QImageIOHandler::ScaledClipRect, ScaledSize = QImageIOHandler::ScaledSize, CompressionRatio = QImageIOHandler::CompressionRatio, Gamma = QImageIOHandler::Gamma, Quality = QImageIOHandler::Quality, Name = QImageIOHandler::Name, SubType = QImageIOHandler::SubType, IncrementalReading = QImageIOHandler::IncrementalReading, Endianness = QImageIOHandler::Endianness, Animation = QImageIOHandler::Animation, BackgroundColor = QImageIOHandler::BackgroundColor, ImageFormat = QImageIOHandler::ImageFormat}; +public slots: +QImageIOHandler* new_QImageIOHandler(); +void delete_QImageIOHandler(QImageIOHandler* obj) { delete obj; } + int currentImageNumber(QImageIOHandler* theWrappedObject) const; + QRect currentImageRect(QImageIOHandler* theWrappedObject) const; + QIODevice* device(QImageIOHandler* theWrappedObject) const; + QByteArray format(QImageIOHandler* theWrappedObject) const; + int imageCount(QImageIOHandler* theWrappedObject) const; + bool jumpToImage(QImageIOHandler* theWrappedObject, int imageNumber); + bool jumpToNextImage(QImageIOHandler* theWrappedObject); + int loopCount(QImageIOHandler* theWrappedObject) const; + int nextImageDelay(QImageIOHandler* theWrappedObject) const; + QVariant option(QImageIOHandler* theWrappedObject, QImageIOHandler::ImageOption option) const; + void setDevice(QImageIOHandler* theWrappedObject, QIODevice* device); + void setFormat(QImageIOHandler* theWrappedObject, const QByteArray& format); + void setOption(QImageIOHandler* theWrappedObject, QImageIOHandler::ImageOption option, const QVariant& value); + bool supportsOption(QImageIOHandler* theWrappedObject, QImageIOHandler::ImageOption option) const; + bool write(QImageIOHandler* theWrappedObject, const QImage& image); +}; + + + + + +class PythonQtShell_QImageIOPlugin : public QImageIOPlugin +{ +public: + PythonQtShell_QImageIOPlugin(QObject* parent = 0):QImageIOPlugin(parent),_wrapper(NULL) {}; + +virtual QImageIOPlugin::Capabilities capabilities(QIODevice* device, const QByteArray& format) const; +virtual void childEvent(QChildEvent* arg__1); +virtual QImageIOHandler* create(QIODevice* device, const QByteArray& format = QByteArray()) const; +virtual void customEvent(QEvent* arg__1); +virtual bool event(QEvent* arg__1); +virtual bool eventFilter(QObject* arg__1, QEvent* arg__2); +virtual QStringList keys() const; +virtual void timerEvent(QTimerEvent* arg__1); + + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtWrapper_QImageIOPlugin : public QObject +{ Q_OBJECT +public: +Q_ENUMS(Capability ) +Q_FLAGS(Capabilities ) +enum Capability{ + CanRead = QImageIOPlugin::CanRead, CanWrite = QImageIOPlugin::CanWrite, CanReadIncremental = QImageIOPlugin::CanReadIncremental}; +Q_DECLARE_FLAGS(Capabilities, Capability) +public slots: +QImageIOPlugin* new_QImageIOPlugin(QObject* parent = 0); +void delete_QImageIOPlugin(QImageIOPlugin* obj) { delete obj; } +}; + + + + + +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; + 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; + int imageCount(QImageReader* theWrappedObject) const; + QImage::Format imageFormat(QImageReader* theWrappedObject) const; + QByteArray static_QImageReader_imageFormat(QIODevice* device); + QByteArray static_QImageReader_imageFormat(const QString& fileName); + 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 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 setQuality(QImageReader* theWrappedObject, int quality); + void setScaledClipRect(QImageReader* theWrappedObject, const QRect& rect); + void setScaledSize(QImageReader* theWrappedObject, const QSize& size); + QSize size(QImageReader* theWrappedObject) const; + QList static_QImageReader_supportedImageFormats(); + 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; +}; + + + + + +class PythonQtWrapper_QImageWriter : public QObject +{ Q_OBJECT +public: +Q_ENUMS(ImageWriterError ) +enum ImageWriterError{ + UnknownError = QImageWriter::UnknownError, DeviceError = QImageWriter::DeviceError, UnsupportedFormatError = QImageWriter::UnsupportedFormatError}; +public slots: +QImageWriter* new_QImageWriter(); +QImageWriter* new_QImageWriter(QIODevice* device, const QByteArray& format); +QImageWriter* new_QImageWriter(const QString& fileName, const QByteArray& format = QByteArray()); +void delete_QImageWriter(QImageWriter* obj) { delete obj; } + 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; + 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 setQuality(QImageWriter* theWrappedObject, int quality); + void setText(QImageWriter* theWrappedObject, const QString& key, const QString& text); + QList static_QImageWriter_supportedImageFormats(); + bool supportsOption(QImageWriter* theWrappedObject, QImageIOHandler::ImageOption option) const; + bool write(QImageWriter* theWrappedObject, const QImage& image); +}; + + + + + +class PythonQtShell_QInputContext : public QInputContext +{ +public: + PythonQtShell_QInputContext(QObject* parent = 0):QInputContext(parent),_wrapper(NULL) {}; + +virtual QList actions(); +virtual void childEvent(QChildEvent* arg__1); +virtual void customEvent(QEvent* arg__1); +virtual bool event(QEvent* arg__1); +virtual bool eventFilter(QObject* arg__1, QEvent* arg__2); +virtual bool filterEvent(const QEvent* event); +virtual QFont font() const; +virtual QString identifierName(); +virtual bool isComposing() const; +virtual QString language(); +virtual void mouseHandler(int x, QMouseEvent* event); +virtual void reset(); +virtual void setFocusWidget(QWidget* w); +virtual void timerEvent(QTimerEvent* arg__1); +virtual void update(); +virtual void widgetDestroyed(QWidget* w); + + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtPublicPromoter_QInputContext : public QInputContext +{ public: +inline QList promoted_actions() { return QInputContext::actions(); } +inline bool promoted_filterEvent(const QEvent* event) { return QInputContext::filterEvent(event); } +inline QFont promoted_font() const { return QInputContext::font(); } +inline void promoted_mouseHandler(int x, QMouseEvent* event) { QInputContext::mouseHandler(x, event); } +inline void promoted_update() { QInputContext::update(); } +inline void promoted_widgetDestroyed(QWidget* w) { QInputContext::widgetDestroyed(w); } +}; + +class PythonQtWrapper_QInputContext : public QObject +{ Q_OBJECT +public: +Q_ENUMS(StandardFormat ) +enum StandardFormat{ + PreeditFormat = QInputContext::PreeditFormat, SelectionFormat = QInputContext::SelectionFormat}; +public slots: +QInputContext* new_QInputContext(QObject* parent = 0); +void delete_QInputContext(QInputContext* obj) { delete obj; } + QList actions(QInputContext* theWrappedObject); + bool filterEvent(QInputContext* theWrappedObject, const QEvent* event); + QWidget* focusWidget(QInputContext* theWrappedObject) const; + QFont font(QInputContext* theWrappedObject) const; + void mouseHandler(QInputContext* theWrappedObject, int x, QMouseEvent* event); + void sendEvent(QInputContext* theWrappedObject, const QInputMethodEvent& event); + QTextFormat standardFormat(QInputContext* theWrappedObject, QInputContext::StandardFormat s) const; + void update(QInputContext* theWrappedObject); + void widgetDestroyed(QInputContext* theWrappedObject, QWidget* w); +}; + + + + + +class PythonQtShell_QInputContextFactory : public QInputContextFactory +{ +public: + PythonQtShell_QInputContextFactory():QInputContextFactory(),_wrapper(NULL) {}; + + + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtWrapper_QInputContextFactory : public QObject +{ Q_OBJECT +public: +public slots: +QInputContextFactory* new_QInputContextFactory(); +void delete_QInputContextFactory(QInputContextFactory* obj) { delete obj; } + QInputContext* static_QInputContextFactory_create(const QString& key, QObject* parent); + QString static_QInputContextFactory_description(const QString& key); + QString static_QInputContextFactory_displayName(const QString& key); + QStringList static_QInputContextFactory_keys(); + QStringList static_QInputContextFactory_languages(const QString& key); +}; + + + + + +class PythonQtShell_QInputContextPlugin : public QInputContextPlugin +{ +public: + PythonQtShell_QInputContextPlugin(QObject* parent = 0):QInputContextPlugin(parent),_wrapper(NULL) {}; + +virtual void childEvent(QChildEvent* arg__1); +virtual QInputContext* create(const QString& key); +virtual void customEvent(QEvent* arg__1); +virtual QString description(const QString& key); +virtual QString displayName(const QString& key); +virtual bool event(QEvent* arg__1); +virtual bool eventFilter(QObject* arg__1, QEvent* arg__2); +virtual QStringList keys() const; +virtual QStringList languages(const QString& key); +virtual void timerEvent(QTimerEvent* arg__1); + + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtWrapper_QInputContextPlugin : public QObject +{ Q_OBJECT +public: +public slots: +QInputContextPlugin* new_QInputContextPlugin(QObject* parent = 0); +void delete_QInputContextPlugin(QInputContextPlugin* obj) { delete obj; } +}; + + + + + +class PythonQtShell_QInputDialog : public QInputDialog +{ +public: + PythonQtShell_QInputDialog(QWidget* parent = 0, Qt::WindowFlags flags = 0):QInputDialog(parent, flags),_wrapper(NULL) {}; + +virtual void accept(); +virtual void actionEvent(QActionEvent* arg__1); +virtual void changeEvent(QEvent* arg__1); +virtual void childEvent(QChildEvent* arg__1); +virtual void closeEvent(QCloseEvent* arg__1); +virtual void contextMenuEvent(QContextMenuEvent* arg__1); +virtual void customEvent(QEvent* arg__1); +virtual int devType() const; +virtual void done(int result); +virtual void dragEnterEvent(QDragEnterEvent* arg__1); +virtual void dragLeaveEvent(QDragLeaveEvent* arg__1); +virtual void dragMoveEvent(QDragMoveEvent* arg__1); +virtual void dropEvent(QDropEvent* arg__1); +virtual void enterEvent(QEvent* arg__1); +virtual bool event(QEvent* arg__1); +virtual bool eventFilter(QObject* arg__1, QEvent* arg__2); +virtual void focusInEvent(QFocusEvent* arg__1); +virtual bool focusNextPrevChild(bool next); +virtual void focusOutEvent(QFocusEvent* arg__1); +virtual int heightForWidth(int arg__1) const; +virtual void hideEvent(QHideEvent* arg__1); +virtual void inputMethodEvent(QInputMethodEvent* arg__1); +virtual QVariant inputMethodQuery(Qt::InputMethodQuery arg__1) const; +virtual void keyPressEvent(QKeyEvent* arg__1); +virtual void keyReleaseEvent(QKeyEvent* arg__1); +virtual void languageChange(); +virtual void leaveEvent(QEvent* arg__1); +virtual int metric(QPaintDevice::PaintDeviceMetric arg__1) const; +virtual void mouseDoubleClickEvent(QMouseEvent* arg__1); +virtual void mouseMoveEvent(QMouseEvent* arg__1); +virtual void mousePressEvent(QMouseEvent* arg__1); +virtual void mouseReleaseEvent(QMouseEvent* arg__1); +virtual void moveEvent(QMoveEvent* arg__1); +virtual QPaintEngine* paintEngine() const; +virtual void paintEvent(QPaintEvent* arg__1); +virtual void reject(); +virtual void resizeEvent(QResizeEvent* arg__1); +virtual void showEvent(QShowEvent* arg__1); +virtual void tabletEvent(QTabletEvent* arg__1); +virtual void timerEvent(QTimerEvent* arg__1); +virtual void wheelEvent(QWheelEvent* arg__1); + + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtPublicPromoter_QInputDialog : public QInputDialog +{ public: +inline void promoted_done(int result) { QInputDialog::done(result); } +}; + +class PythonQtWrapper_QInputDialog : public QObject +{ Q_OBJECT +public: +Q_ENUMS(InputMode InputDialogOption ) +Q_FLAGS(InputDialogOptions ) +enum InputMode{ + TextInput = QInputDialog::TextInput, IntInput = QInputDialog::IntInput, DoubleInput = QInputDialog::DoubleInput}; +enum InputDialogOption{ + NoButtons = QInputDialog::NoButtons, UseListViewForComboBoxItems = QInputDialog::UseListViewForComboBoxItems}; +Q_DECLARE_FLAGS(InputDialogOptions, InputDialogOption) +public slots: +QInputDialog* new_QInputDialog(QWidget* parent = 0, Qt::WindowFlags flags = 0); +void delete_QInputDialog(QInputDialog* obj) { delete obj; } + QString cancelButtonText(QInputDialog* theWrappedObject) const; + QStringList comboBoxItems(QInputDialog* theWrappedObject) const; + void done(QInputDialog* theWrappedObject, int result); + int doubleDecimals(QInputDialog* theWrappedObject) const; + double doubleMaximum(QInputDialog* theWrappedObject) const; + double doubleMinimum(QInputDialog* theWrappedObject) const; + double doubleValue(QInputDialog* theWrappedObject) const; + double static_QInputDialog_getDouble(QWidget* parent, const QString& title, const QString& label, double value = 0, double minValue = -2147483647, double maxValue = 2147483647, int decimals = 1, bool* ok = 0, Qt::WindowFlags flags = 0); + int static_QInputDialog_getInt(QWidget* parent, const QString& title, const QString& label, int value = 0, int minValue = -2147483647, int maxValue = 2147483647, int step = 1, bool* ok = 0, Qt::WindowFlags flags = 0); + int static_QInputDialog_getInteger(QWidget* parent, const QString& title, const QString& label, int value = 0, int minValue = -2147483647, int maxValue = 2147483647, int step = 1, bool* ok = 0, Qt::WindowFlags flags = 0); + QString static_QInputDialog_getItem(QWidget* parent, const QString& title, const QString& label, const QStringList& items, int current = 0, bool editable = true, bool* ok = 0, Qt::WindowFlags flags = 0); + QString static_QInputDialog_getText(QWidget* parent, const QString& title, const QString& label, QLineEdit::EchoMode echo = QLineEdit::Normal, const QString& text = QString(), bool* ok = 0, Qt::WindowFlags flags = 0); + QInputDialog::InputMode inputMode(QInputDialog* theWrappedObject) const; + int intMaximum(QInputDialog* theWrappedObject) const; + int intMinimum(QInputDialog* theWrappedObject) const; + int intStep(QInputDialog* theWrappedObject) const; + int intValue(QInputDialog* theWrappedObject) const; + bool isComboBoxEditable(QInputDialog* theWrappedObject) const; + QString labelText(QInputDialog* theWrappedObject) const; + QSize minimumSizeHint(QInputDialog* theWrappedObject) const; + QString okButtonText(QInputDialog* theWrappedObject) const; + void open(QInputDialog* theWrappedObject); + void open(QInputDialog* theWrappedObject, QObject* receiver, const char* member); + QInputDialog::InputDialogOptions options(QInputDialog* theWrappedObject) const; + void setCancelButtonText(QInputDialog* theWrappedObject, const QString& text); + void setComboBoxEditable(QInputDialog* theWrappedObject, bool editable); + void setComboBoxItems(QInputDialog* theWrappedObject, const QStringList& items); + void setDoubleDecimals(QInputDialog* theWrappedObject, int decimals); + void setDoubleMaximum(QInputDialog* theWrappedObject, double max); + void setDoubleMinimum(QInputDialog* theWrappedObject, double min); + void setDoubleRange(QInputDialog* theWrappedObject, double min, double max); + void setDoubleValue(QInputDialog* theWrappedObject, double value); + void setInputMode(QInputDialog* theWrappedObject, QInputDialog::InputMode mode); + void setIntMaximum(QInputDialog* theWrappedObject, int max); + void setIntMinimum(QInputDialog* theWrappedObject, int min); + void setIntRange(QInputDialog* theWrappedObject, int min, int max); + void setIntStep(QInputDialog* theWrappedObject, int step); + void setIntValue(QInputDialog* theWrappedObject, int value); + void setLabelText(QInputDialog* theWrappedObject, const QString& text); + void setOkButtonText(QInputDialog* theWrappedObject, const QString& text); + void setOption(QInputDialog* theWrappedObject, QInputDialog::InputDialogOption option, bool on = true); + void setOptions(QInputDialog* theWrappedObject, QInputDialog::InputDialogOptions options); + void setTextEchoMode(QInputDialog* theWrappedObject, QLineEdit::EchoMode mode); + void setTextValue(QInputDialog* theWrappedObject, const QString& text); + void setVisible(QInputDialog* theWrappedObject, bool visible); + QSize sizeHint(QInputDialog* theWrappedObject) const; + bool testOption(QInputDialog* theWrappedObject, QInputDialog::InputDialogOption option) const; + QLineEdit::EchoMode textEchoMode(QInputDialog* theWrappedObject) const; + QString textValue(QInputDialog* theWrappedObject) const; +}; + + + + + +class PythonQtShell_QInputEvent : public QInputEvent +{ +public: + PythonQtShell_QInputEvent(QEvent::Type type, Qt::KeyboardModifiers modifiers = Qt::NoModifier):QInputEvent(type, modifiers),_wrapper(NULL) {}; + + + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtWrapper_QInputEvent : public QObject +{ Q_OBJECT +public: +public slots: +QInputEvent* new_QInputEvent(QEvent::Type type, Qt::KeyboardModifiers modifiers = Qt::NoModifier); +void delete_QInputEvent(QInputEvent* obj) { delete obj; } + Qt::KeyboardModifiers modifiers(QInputEvent* theWrappedObject) const; + void setModifiers(QInputEvent* theWrappedObject, Qt::KeyboardModifiers amodifiers); +}; + + + + + +class PythonQtShell_QIntValidator : public QIntValidator +{ +public: + PythonQtShell_QIntValidator(QObject* parent = 0):QIntValidator(parent),_wrapper(NULL) {}; + PythonQtShell_QIntValidator(int bottom, int top, QObject* parent):QIntValidator(bottom, top, parent),_wrapper(NULL) {}; + +virtual void childEvent(QChildEvent* arg__1); +virtual void customEvent(QEvent* arg__1); +virtual bool event(QEvent* arg__1); +virtual bool eventFilter(QObject* arg__1, QEvent* arg__2); +virtual void fixup(QString& arg__1) const; +virtual void setRange(int bottom, int top); +virtual void timerEvent(QTimerEvent* arg__1); +virtual QValidator::State validate(QString& arg__1, int& arg__2) const; + + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtPublicPromoter_QIntValidator : public QIntValidator +{ public: +inline void promoted_setRange(int bottom, int top) { QIntValidator::setRange(bottom, top); } +inline QValidator::State promoted_validate(QString& arg__1, int& arg__2) const { return QIntValidator::validate(arg__1, arg__2); } +}; + +class PythonQtWrapper_QIntValidator : public QObject +{ Q_OBJECT +public: +public slots: +QIntValidator* new_QIntValidator(QObject* parent = 0); +QIntValidator* new_QIntValidator(int bottom, int top, QObject* parent); +void delete_QIntValidator(QIntValidator* obj) { delete obj; } + int bottom(QIntValidator* theWrappedObject) const; + void setBottom(QIntValidator* theWrappedObject, int arg__1); + void setRange(QIntValidator* theWrappedObject, int bottom, int top); + void setTop(QIntValidator* theWrappedObject, int arg__1); + int top(QIntValidator* theWrappedObject) const; + QValidator::State validate(QIntValidator* theWrappedObject, QString& arg__1, int& arg__2) const; +}; + + + + + +class PythonQtShell_QItemDelegate : public QItemDelegate +{ +public: + PythonQtShell_QItemDelegate(QObject* parent = 0):QItemDelegate(parent),_wrapper(NULL) {}; + +virtual void childEvent(QChildEvent* arg__1); +virtual QWidget* createEditor(QWidget* parent, const QStyleOptionViewItem& option, const QModelIndex& index) const; +virtual void customEvent(QEvent* arg__1); +virtual void drawCheck(QPainter* painter, const QStyleOptionViewItem& option, const QRect& rect, Qt::CheckState state) const; +virtual void drawDecoration(QPainter* painter, const QStyleOptionViewItem& option, const QRect& rect, const QPixmap& pixmap) const; +virtual void drawDisplay(QPainter* painter, const QStyleOptionViewItem& option, const QRect& rect, const QString& text) const; +virtual void drawFocus(QPainter* painter, const QStyleOptionViewItem& option, const QRect& rect) const; +virtual bool editorEvent(QEvent* event, QAbstractItemModel* model, const QStyleOptionViewItem& option, const QModelIndex& index); +virtual bool event(QEvent* arg__1); +virtual bool eventFilter(QObject* object, QEvent* event); +virtual void paint(QPainter* painter, const QStyleOptionViewItem& option, const QModelIndex& index) const; +virtual void setEditorData(QWidget* editor, const QModelIndex& index) const; +virtual void setModelData(QWidget* editor, QAbstractItemModel* model, const QModelIndex& index) const; +virtual QSize sizeHint(const QStyleOptionViewItem& option, const QModelIndex& index) const; +virtual void timerEvent(QTimerEvent* arg__1); +virtual void updateEditorGeometry(QWidget* editor, const QStyleOptionViewItem& option, const QModelIndex& index) const; + + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtPublicPromoter_QItemDelegate : public QItemDelegate +{ public: +inline QWidget* promoted_createEditor(QWidget* parent, const QStyleOptionViewItem& option, const QModelIndex& index) const { return QItemDelegate::createEditor(parent, option, index); } +inline void promoted_drawCheck(QPainter* painter, const QStyleOptionViewItem& option, const QRect& rect, Qt::CheckState state) const { QItemDelegate::drawCheck(painter, option, rect, state); } +inline void promoted_drawDecoration(QPainter* painter, const QStyleOptionViewItem& option, const QRect& rect, const QPixmap& pixmap) const { QItemDelegate::drawDecoration(painter, option, rect, pixmap); } +inline void promoted_drawDisplay(QPainter* painter, const QStyleOptionViewItem& option, const QRect& rect, const QString& text) const { QItemDelegate::drawDisplay(painter, option, rect, text); } +inline void promoted_drawFocus(QPainter* painter, const QStyleOptionViewItem& option, const QRect& rect) const { QItemDelegate::drawFocus(painter, option, rect); } +inline bool promoted_editorEvent(QEvent* event, QAbstractItemModel* model, const QStyleOptionViewItem& option, const QModelIndex& index) { return QItemDelegate::editorEvent(event, model, option, index); } +inline bool promoted_eventFilter(QObject* object, QEvent* event) { return QItemDelegate::eventFilter(object, event); } +inline void promoted_paint(QPainter* painter, const QStyleOptionViewItem& option, const QModelIndex& index) const { QItemDelegate::paint(painter, option, index); } +inline void promoted_setEditorData(QWidget* editor, const QModelIndex& index) const { QItemDelegate::setEditorData(editor, index); } +inline void promoted_setModelData(QWidget* editor, QAbstractItemModel* model, const QModelIndex& index) const { QItemDelegate::setModelData(editor, model, index); } +inline QSize promoted_sizeHint(const QStyleOptionViewItem& option, const QModelIndex& index) const { return QItemDelegate::sizeHint(option, index); } +inline void promoted_updateEditorGeometry(QWidget* editor, const QStyleOptionViewItem& option, const QModelIndex& index) const { QItemDelegate::updateEditorGeometry(editor, option, index); } +}; + +class PythonQtWrapper_QItemDelegate : public QObject +{ Q_OBJECT +public: +public slots: +QItemDelegate* new_QItemDelegate(QObject* parent = 0); +void delete_QItemDelegate(QItemDelegate* obj) { delete obj; } + QWidget* createEditor(QItemDelegate* theWrappedObject, QWidget* parent, const QStyleOptionViewItem& option, const QModelIndex& index) const; + void drawCheck(QItemDelegate* theWrappedObject, QPainter* painter, const QStyleOptionViewItem& option, const QRect& rect, Qt::CheckState state) const; + void drawDecoration(QItemDelegate* theWrappedObject, QPainter* painter, const QStyleOptionViewItem& option, const QRect& rect, const QPixmap& pixmap) const; + void drawDisplay(QItemDelegate* theWrappedObject, QPainter* painter, const QStyleOptionViewItem& option, const QRect& rect, const QString& text) const; + void drawFocus(QItemDelegate* theWrappedObject, QPainter* painter, const QStyleOptionViewItem& option, const QRect& rect) const; + bool editorEvent(QItemDelegate* theWrappedObject, QEvent* event, QAbstractItemModel* model, const QStyleOptionViewItem& option, const QModelIndex& index); + bool eventFilter(QItemDelegate* theWrappedObject, QObject* object, QEvent* event); + bool hasClipping(QItemDelegate* theWrappedObject) const; + QItemEditorFactory* itemEditorFactory(QItemDelegate* theWrappedObject) const; + void paint(QItemDelegate* theWrappedObject, QPainter* painter, const QStyleOptionViewItem& option, const QModelIndex& index) const; + void setClipping(QItemDelegate* theWrappedObject, bool clip); + void setEditorData(QItemDelegate* theWrappedObject, QWidget* editor, const QModelIndex& index) const; + void setItemEditorFactory(QItemDelegate* theWrappedObject, QItemEditorFactory* factory); + void setModelData(QItemDelegate* theWrappedObject, QWidget* editor, QAbstractItemModel* model, const QModelIndex& index) const; + QSize sizeHint(QItemDelegate* theWrappedObject, const QStyleOptionViewItem& option, const QModelIndex& index) const; + void updateEditorGeometry(QItemDelegate* theWrappedObject, QWidget* editor, const QStyleOptionViewItem& option, const QModelIndex& index) const; +}; + + + + + +class PythonQtShell_QItemEditorCreatorBase : public QItemEditorCreatorBase +{ +public: + PythonQtShell_QItemEditorCreatorBase():QItemEditorCreatorBase(),_wrapper(NULL) {}; + +virtual QWidget* createWidget(QWidget* parent) const; +virtual QByteArray valuePropertyName() const; + + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtWrapper_QItemEditorCreatorBase : public QObject +{ Q_OBJECT +public: +public slots: +QItemEditorCreatorBase* new_QItemEditorCreatorBase(); +void delete_QItemEditorCreatorBase(QItemEditorCreatorBase* obj) { delete obj; } +}; + + + + + +class PythonQtShell_QItemEditorFactory : public QItemEditorFactory +{ +public: + PythonQtShell_QItemEditorFactory():QItemEditorFactory(),_wrapper(NULL) {}; + +virtual QWidget* createEditor(QVariant::Type type, QWidget* parent) const; +virtual QByteArray valuePropertyName(QVariant::Type type) const; + + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtPublicPromoter_QItemEditorFactory : public QItemEditorFactory +{ public: +inline QWidget* promoted_createEditor(QVariant::Type type, QWidget* parent) const { return QItemEditorFactory::createEditor(type, parent); } +inline QByteArray promoted_valuePropertyName(QVariant::Type type) const { return QItemEditorFactory::valuePropertyName(type); } +}; + +class PythonQtWrapper_QItemEditorFactory : public QObject +{ Q_OBJECT +public: +public slots: +QItemEditorFactory* new_QItemEditorFactory(); +void delete_QItemEditorFactory(QItemEditorFactory* obj) { delete obj; } + QWidget* createEditor(QItemEditorFactory* theWrappedObject, QVariant::Type type, QWidget* parent) const; + const QItemEditorFactory* static_QItemEditorFactory_defaultFactory(); + void registerEditor(QItemEditorFactory* theWrappedObject, QVariant::Type type, QItemEditorCreatorBase* creator); + void static_QItemEditorFactory_setDefaultFactory(QItemEditorFactory* factory); + QByteArray valuePropertyName(QItemEditorFactory* theWrappedObject, QVariant::Type type) const; +}; + + + + + +class PythonQtWrapper_QItemSelection : public QObject +{ Q_OBJECT +public: +public slots: +QItemSelection* new_QItemSelection(); +QItemSelection* new_QItemSelection(const QModelIndex& topLeft, const QModelIndex& bottomRight); +QItemSelection* new_QItemSelection(const QItemSelection& other) { +QItemSelection* a = new QItemSelection(); +*((QItemSelection*)a) = other; +return a; } +void delete_QItemSelection(QItemSelection* obj) { delete obj; } + 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); + 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) const; + QList indexes(QItemSelection* theWrappedObject) const; + bool isEmpty(QItemSelection* theWrappedObject) const; + const QItemSelectionRange* last(QItemSelection* theWrappedObject) const; + int lastIndexOf(QItemSelection* theWrappedObject, const QItemSelectionRange& t, int from) const; + int length(QItemSelection* theWrappedObject) const; + void merge(QItemSelection* theWrappedObject, const QItemSelection& other, QItemSelectionModel::SelectionFlags command); + QList mid(QItemSelection* theWrappedObject, int pos, int length) 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 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, 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; +}; + + + + + +class PythonQtShell_QItemSelectionModel : public QItemSelectionModel +{ +public: + PythonQtShell_QItemSelectionModel(QAbstractItemModel* model):QItemSelectionModel(model),_wrapper(NULL) {}; + PythonQtShell_QItemSelectionModel(QAbstractItemModel* model, QObject* parent):QItemSelectionModel(model, parent),_wrapper(NULL) {}; + +virtual void childEvent(QChildEvent* arg__1); +virtual void clear(); +virtual void customEvent(QEvent* arg__1); +virtual bool event(QEvent* arg__1); +virtual bool eventFilter(QObject* arg__1, QEvent* arg__2); +virtual void reset(); +virtual void select(const QItemSelection& selection, QItemSelectionModel::SelectionFlags command); +virtual void select(const QModelIndex& index, QItemSelectionModel::SelectionFlags command); +virtual void timerEvent(QTimerEvent* arg__1); + + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtPublicPromoter_QItemSelectionModel : public QItemSelectionModel +{ public: +inline void promoted_clear() { QItemSelectionModel::clear(); } +inline void promoted_reset() { QItemSelectionModel::reset(); } +inline void promoted_select(const QItemSelection& selection, QItemSelectionModel::SelectionFlags command) { QItemSelectionModel::select(selection, command); } +inline void promoted_select(const QModelIndex& index, QItemSelectionModel::SelectionFlags command) { QItemSelectionModel::select(index, command); } +}; + +class PythonQtWrapper_QItemSelectionModel : public QObject +{ Q_OBJECT +public: +Q_ENUMS(SelectionFlag ) +Q_FLAGS(SelectionFlags ) +enum SelectionFlag{ + NoUpdate = QItemSelectionModel::NoUpdate, Clear = QItemSelectionModel::Clear, Select = QItemSelectionModel::Select, Deselect = QItemSelectionModel::Deselect, Toggle = QItemSelectionModel::Toggle, Current = QItemSelectionModel::Current, Rows = QItemSelectionModel::Rows, Columns = QItemSelectionModel::Columns, SelectCurrent = QItemSelectionModel::SelectCurrent, ToggleCurrent = QItemSelectionModel::ToggleCurrent, ClearAndSelect = QItemSelectionModel::ClearAndSelect}; +Q_DECLARE_FLAGS(SelectionFlags, SelectionFlag) +public slots: +QItemSelectionModel* new_QItemSelectionModel(QAbstractItemModel* model); +QItemSelectionModel* new_QItemSelectionModel(QAbstractItemModel* model, QObject* parent); +void delete_QItemSelectionModel(QItemSelectionModel* obj) { delete obj; } + bool columnIntersectsSelection(QItemSelectionModel* theWrappedObject, int column, const QModelIndex& parent) const; + QModelIndex currentIndex(QItemSelectionModel* theWrappedObject) const; + bool hasSelection(QItemSelectionModel* theWrappedObject) const; + bool isColumnSelected(QItemSelectionModel* theWrappedObject, int column, const QModelIndex& parent) const; + bool isRowSelected(QItemSelectionModel* theWrappedObject, int row, const QModelIndex& parent) const; + bool isSelected(QItemSelectionModel* theWrappedObject, const QModelIndex& index) const; + const QAbstractItemModel* model(QItemSelectionModel* theWrappedObject) const; + bool rowIntersectsSelection(QItemSelectionModel* theWrappedObject, int row, const QModelIndex& parent) const; + QList selectedColumns(QItemSelectionModel* theWrappedObject, int row = 0) const; + QList selectedIndexes(QItemSelectionModel* theWrappedObject) const; + QList selectedRows(QItemSelectionModel* theWrappedObject, int column = 0) const; + const QItemSelection selection(QItemSelectionModel* theWrappedObject) const; +}; + + + + + +class PythonQtWrapper_QItemSelectionRange : public QObject +{ Q_OBJECT +public: +public slots: +QItemSelectionRange* new_QItemSelectionRange(); +QItemSelectionRange* new_QItemSelectionRange(const QItemSelectionRange& other); +QItemSelectionRange* new_QItemSelectionRange(const QModelIndex& index); +QItemSelectionRange* new_QItemSelectionRange(const QModelIndex& topLeft, const QModelIndex& bottomRight); +void delete_QItemSelectionRange(QItemSelectionRange* obj) { delete obj; } + int bottom(QItemSelectionRange* theWrappedObject) const; + QModelIndex 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 isValid(QItemSelectionRange* theWrappedObject) const; + int left(QItemSelectionRange* theWrappedObject) const; + const QAbstractItemModel* model(QItemSelectionRange* theWrappedObject) const; + bool __ne__(QItemSelectionRange* theWrappedObject, const QItemSelectionRange& other) const; + bool __eq__(QItemSelectionRange* theWrappedObject, const QItemSelectionRange& other) const; + QModelIndex parent(QItemSelectionRange* theWrappedObject) const; + int right(QItemSelectionRange* theWrappedObject) const; + int top(QItemSelectionRange* theWrappedObject) const; + QModelIndex topLeft(QItemSelectionRange* theWrappedObject) const; + int width(QItemSelectionRange* theWrappedObject) const; + QString py_toString(QItemSelectionRange*); +}; + + + + + +class PythonQtShell_QKeyEvent : public QKeyEvent +{ +public: + PythonQtShell_QKeyEvent(QEvent::Type type, int key, Qt::KeyboardModifiers modifiers, const QString& text = QString(), bool autorep = false, ushort count = 1):QKeyEvent(type, key, modifiers, text, autorep, count),_wrapper(NULL) {}; + + + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtWrapper_QKeyEvent : public QObject +{ Q_OBJECT +public: +public slots: +QKeyEvent* new_QKeyEvent(QEvent::Type type, int key, Qt::KeyboardModifiers modifiers, const QString& text = QString(), bool autorep = false, ushort count = 1); +void delete_QKeyEvent(QKeyEvent* obj) { delete obj; } + int count(QKeyEvent* theWrappedObject) const; + QKeyEvent* static_QKeyEvent_createExtendedKeyEvent(QEvent::Type type, int key, Qt::KeyboardModifiers modifiers, unsigned int nativeScanCode, unsigned int nativeVirtualKey, unsigned int nativeModifiers, const QString& text = QString(), bool autorep = false, ushort count = 1); + bool hasExtendedInfo(QKeyEvent* theWrappedObject) const; + bool isAutoRepeat(QKeyEvent* theWrappedObject) const; + int key(QKeyEvent* theWrappedObject) const; + bool matches(QKeyEvent* theWrappedObject, QKeySequence::StandardKey key) const; + Qt::KeyboardModifiers modifiers(QKeyEvent* theWrappedObject) const; + unsigned int nativeModifiers(QKeyEvent* theWrappedObject) const; + unsigned int nativeScanCode(QKeyEvent* theWrappedObject) const; + unsigned int nativeVirtualKey(QKeyEvent* theWrappedObject) const; + QString text(QKeyEvent* theWrappedObject) const; +}; + + + + + +class PythonQtShell_QKeyEventTransition : public QKeyEventTransition +{ +public: + PythonQtShell_QKeyEventTransition(QObject* object, QEvent::Type type, int key, QState* sourceState = 0):QKeyEventTransition(object, type, key, sourceState),_wrapper(NULL) {}; + PythonQtShell_QKeyEventTransition(QState* sourceState = 0):QKeyEventTransition(sourceState),_wrapper(NULL) {}; + +virtual void childEvent(QChildEvent* arg__1); +virtual void customEvent(QEvent* arg__1); +virtual bool event(QEvent* e); +virtual bool eventFilter(QObject* arg__1, QEvent* arg__2); +virtual bool eventTest(QEvent* event); +virtual void onTransition(QEvent* event); +virtual void timerEvent(QTimerEvent* arg__1); + + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtPublicPromoter_QKeyEventTransition : public QKeyEventTransition +{ public: +inline bool promoted_eventTest(QEvent* event) { return QKeyEventTransition::eventTest(event); } +inline void promoted_onTransition(QEvent* event) { QKeyEventTransition::onTransition(event); } +}; + +class PythonQtWrapper_QKeyEventTransition : public QObject +{ Q_OBJECT +public: +public slots: +QKeyEventTransition* new_QKeyEventTransition(QObject* object, QEvent::Type type, int key, QState* sourceState = 0); +QKeyEventTransition* new_QKeyEventTransition(QState* sourceState = 0); +void delete_QKeyEventTransition(QKeyEventTransition* obj) { delete obj; } + bool eventTest(QKeyEventTransition* theWrappedObject, QEvent* event); + int key(QKeyEventTransition* theWrappedObject) const; + Qt::KeyboardModifiers modifierMask(QKeyEventTransition* theWrappedObject) const; + void onTransition(QKeyEventTransition* theWrappedObject, QEvent* event); + void setKey(QKeyEventTransition* theWrappedObject, int key); + void setModifierMask(QKeyEventTransition* theWrappedObject, Qt::KeyboardModifiers modifiers); +}; + + + + + +class PythonQtShell_QLCDNumber : public QLCDNumber +{ +public: + PythonQtShell_QLCDNumber(QWidget* parent = 0):QLCDNumber(parent),_wrapper(NULL) {}; + PythonQtShell_QLCDNumber(uint numDigits, QWidget* parent = 0):QLCDNumber(numDigits, parent),_wrapper(NULL) {}; + +virtual void actionEvent(QActionEvent* arg__1); +virtual void changeEvent(QEvent* arg__1); +virtual void childEvent(QChildEvent* arg__1); +virtual void closeEvent(QCloseEvent* arg__1); +virtual void contextMenuEvent(QContextMenuEvent* arg__1); +virtual void customEvent(QEvent* arg__1); +virtual int devType() const; +virtual void dragEnterEvent(QDragEnterEvent* arg__1); +virtual void dragLeaveEvent(QDragLeaveEvent* arg__1); +virtual void dragMoveEvent(QDragMoveEvent* arg__1); +virtual void dropEvent(QDropEvent* arg__1); +virtual void enterEvent(QEvent* arg__1); +virtual bool event(QEvent* e); +virtual bool eventFilter(QObject* arg__1, QEvent* arg__2); +virtual void focusInEvent(QFocusEvent* arg__1); +virtual bool focusNextPrevChild(bool next); +virtual void focusOutEvent(QFocusEvent* arg__1); +virtual int heightForWidth(int arg__1) const; +virtual void hideEvent(QHideEvent* arg__1); +virtual void inputMethodEvent(QInputMethodEvent* arg__1); +virtual QVariant inputMethodQuery(Qt::InputMethodQuery arg__1) const; +virtual void keyPressEvent(QKeyEvent* arg__1); +virtual void keyReleaseEvent(QKeyEvent* arg__1); +virtual void languageChange(); +virtual void leaveEvent(QEvent* arg__1); +virtual int metric(QPaintDevice::PaintDeviceMetric arg__1) const; +virtual QSize minimumSizeHint() const; +virtual void mouseDoubleClickEvent(QMouseEvent* arg__1); +virtual void mouseMoveEvent(QMouseEvent* arg__1); +virtual void mousePressEvent(QMouseEvent* arg__1); +virtual void mouseReleaseEvent(QMouseEvent* arg__1); +virtual void moveEvent(QMoveEvent* arg__1); +virtual QPaintEngine* paintEngine() const; +virtual void paintEvent(QPaintEvent* arg__1); +virtual void resizeEvent(QResizeEvent* arg__1); +virtual void showEvent(QShowEvent* arg__1); +virtual void tabletEvent(QTabletEvent* arg__1); +virtual void timerEvent(QTimerEvent* arg__1); +virtual void wheelEvent(QWheelEvent* arg__1); + + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtPublicPromoter_QLCDNumber : public QLCDNumber +{ public: +inline bool promoted_event(QEvent* e) { return QLCDNumber::event(e); } +inline void promoted_paintEvent(QPaintEvent* arg__1) { QLCDNumber::paintEvent(arg__1); } +}; + +class PythonQtWrapper_QLCDNumber : public QObject +{ Q_OBJECT +public: +public slots: +QLCDNumber* new_QLCDNumber(QWidget* parent = 0); +QLCDNumber* new_QLCDNumber(uint numDigits, QWidget* parent = 0); +void delete_QLCDNumber(QLCDNumber* obj) { delete obj; } + bool checkOverflow(QLCDNumber* theWrappedObject, double num) const; + bool checkOverflow(QLCDNumber* theWrappedObject, int num) const; + int digitCount(QLCDNumber* theWrappedObject) const; + bool event(QLCDNumber* theWrappedObject, QEvent* e); + int intValue(QLCDNumber* theWrappedObject) const; + QLCDNumber::Mode mode(QLCDNumber* theWrappedObject) const; + int numDigits(QLCDNumber* theWrappedObject) const; + void paintEvent(QLCDNumber* theWrappedObject, QPaintEvent* arg__1); + QLCDNumber::SegmentStyle segmentStyle(QLCDNumber* theWrappedObject) const; + void setDigitCount(QLCDNumber* theWrappedObject, int nDigits); + void setMode(QLCDNumber* theWrappedObject, QLCDNumber::Mode arg__1); + void setNumDigits(QLCDNumber* theWrappedObject, int nDigits); + void setSegmentStyle(QLCDNumber* theWrappedObject, QLCDNumber::SegmentStyle arg__1); + QSize sizeHint(QLCDNumber* theWrappedObject) const; + bool smallDecimalPoint(QLCDNumber* theWrappedObject) const; + double value(QLCDNumber* theWrappedObject) const; +}; + + + + + +class PythonQtShell_QLabel : public QLabel +{ +public: + PythonQtShell_QLabel(QWidget* parent = 0, Qt::WindowFlags f = 0):QLabel(parent, f),_wrapper(NULL) {}; + PythonQtShell_QLabel(const QString& text, QWidget* parent = 0, Qt::WindowFlags f = 0):QLabel(text, parent, f),_wrapper(NULL) {}; + +virtual void actionEvent(QActionEvent* arg__1); +virtual void changeEvent(QEvent* arg__1); +virtual void childEvent(QChildEvent* arg__1); +virtual void closeEvent(QCloseEvent* arg__1); +virtual void contextMenuEvent(QContextMenuEvent* ev); +virtual void customEvent(QEvent* arg__1); +virtual int devType() const; +virtual void dragEnterEvent(QDragEnterEvent* arg__1); +virtual void dragLeaveEvent(QDragLeaveEvent* arg__1); +virtual void dragMoveEvent(QDragMoveEvent* arg__1); +virtual void dropEvent(QDropEvent* arg__1); +virtual void enterEvent(QEvent* arg__1); +virtual bool event(QEvent* e); +virtual bool eventFilter(QObject* arg__1, QEvent* arg__2); +virtual void focusInEvent(QFocusEvent* ev); +virtual bool focusNextPrevChild(bool next); +virtual void focusOutEvent(QFocusEvent* ev); +virtual int heightForWidth(int arg__1) const; +virtual void hideEvent(QHideEvent* arg__1); +virtual void inputMethodEvent(QInputMethodEvent* arg__1); +virtual QVariant inputMethodQuery(Qt::InputMethodQuery arg__1) const; +virtual void keyPressEvent(QKeyEvent* ev); +virtual void keyReleaseEvent(QKeyEvent* arg__1); +virtual void languageChange(); +virtual void leaveEvent(QEvent* arg__1); +virtual int metric(QPaintDevice::PaintDeviceMetric arg__1) const; +virtual void mouseDoubleClickEvent(QMouseEvent* arg__1); +virtual void mouseMoveEvent(QMouseEvent* ev); +virtual void mousePressEvent(QMouseEvent* ev); +virtual void mouseReleaseEvent(QMouseEvent* ev); +virtual void moveEvent(QMoveEvent* arg__1); +virtual QPaintEngine* paintEngine() const; +virtual void paintEvent(QPaintEvent* arg__1); +virtual void resizeEvent(QResizeEvent* arg__1); +virtual void showEvent(QShowEvent* arg__1); +virtual void tabletEvent(QTabletEvent* arg__1); +virtual void timerEvent(QTimerEvent* arg__1); +virtual void wheelEvent(QWheelEvent* arg__1); + + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtPublicPromoter_QLabel : public QLabel +{ public: +inline void promoted_changeEvent(QEvent* arg__1) { QLabel::changeEvent(arg__1); } +inline void promoted_contextMenuEvent(QContextMenuEvent* ev) { QLabel::contextMenuEvent(ev); } +inline bool promoted_event(QEvent* e) { return QLabel::event(e); } +inline void promoted_focusInEvent(QFocusEvent* ev) { QLabel::focusInEvent(ev); } +inline bool promoted_focusNextPrevChild(bool next) { return QLabel::focusNextPrevChild(next); } +inline void promoted_focusOutEvent(QFocusEvent* ev) { QLabel::focusOutEvent(ev); } +inline int promoted_heightForWidth(int arg__1) const { return QLabel::heightForWidth(arg__1); } +inline void promoted_keyPressEvent(QKeyEvent* ev) { QLabel::keyPressEvent(ev); } +inline void promoted_mouseMoveEvent(QMouseEvent* ev) { QLabel::mouseMoveEvent(ev); } +inline void promoted_mousePressEvent(QMouseEvent* ev) { QLabel::mousePressEvent(ev); } +inline void promoted_mouseReleaseEvent(QMouseEvent* ev) { QLabel::mouseReleaseEvent(ev); } +inline void promoted_paintEvent(QPaintEvent* arg__1) { QLabel::paintEvent(arg__1); } +}; + +class PythonQtWrapper_QLabel : public QObject +{ Q_OBJECT +public: +public slots: +QLabel* new_QLabel(QWidget* parent = 0, Qt::WindowFlags f = 0); +QLabel* new_QLabel(const QString& text, QWidget* parent = 0, Qt::WindowFlags f = 0); +void delete_QLabel(QLabel* obj) { delete obj; } + Qt::Alignment alignment(QLabel* theWrappedObject) const; + QWidget* buddy(QLabel* theWrappedObject) const; + void changeEvent(QLabel* theWrappedObject, QEvent* arg__1); + void contextMenuEvent(QLabel* theWrappedObject, QContextMenuEvent* ev); + bool event(QLabel* theWrappedObject, QEvent* e); + void focusInEvent(QLabel* theWrappedObject, QFocusEvent* ev); + bool focusNextPrevChild(QLabel* theWrappedObject, bool next); + void focusOutEvent(QLabel* theWrappedObject, QFocusEvent* ev); + bool hasScaledContents(QLabel* theWrappedObject) const; + int heightForWidth(QLabel* theWrappedObject, int arg__1) const; + int indent(QLabel* theWrappedObject) const; + void keyPressEvent(QLabel* theWrappedObject, QKeyEvent* ev); + int margin(QLabel* theWrappedObject) const; + QSize minimumSizeHint(QLabel* theWrappedObject) const; + void mouseMoveEvent(QLabel* theWrappedObject, QMouseEvent* ev); + void mousePressEvent(QLabel* theWrappedObject, QMouseEvent* ev); + void mouseReleaseEvent(QLabel* theWrappedObject, QMouseEvent* ev); + QMovie* movie(QLabel* theWrappedObject) const; + bool openExternalLinks(QLabel* theWrappedObject) const; + void paintEvent(QLabel* theWrappedObject, QPaintEvent* arg__1); + const QPicture* picture(QLabel* theWrappedObject) const; + const QPixmap* pixmap(QLabel* theWrappedObject) const; + void setAlignment(QLabel* theWrappedObject, Qt::Alignment arg__1); + void setBuddy(QLabel* theWrappedObject, QWidget* arg__1); + void setIndent(QLabel* theWrappedObject, int arg__1); + void setMargin(QLabel* theWrappedObject, int arg__1); + void setOpenExternalLinks(QLabel* theWrappedObject, bool open); + void setScaledContents(QLabel* theWrappedObject, bool arg__1); + void setTextFormat(QLabel* theWrappedObject, Qt::TextFormat arg__1); + void setTextInteractionFlags(QLabel* theWrappedObject, Qt::TextInteractionFlags flags); + void setWordWrap(QLabel* theWrappedObject, bool on); + QSize sizeHint(QLabel* theWrappedObject) const; + QString text(QLabel* theWrappedObject) const; + Qt::TextFormat textFormat(QLabel* theWrappedObject) const; + Qt::TextInteractionFlags textInteractionFlags(QLabel* theWrappedObject) const; + bool wordWrap(QLabel* theWrappedObject) const; +}; + + + + + +class PythonQtShell_QLayout : public QLayout +{ +public: + PythonQtShell_QLayout():QLayout(),_wrapper(NULL) {}; + PythonQtShell_QLayout(QWidget* parent):QLayout(parent),_wrapper(NULL) {}; + +virtual void addItem(QLayoutItem* arg__1); +virtual void childEvent(QChildEvent* e); +virtual int count() const; +virtual void customEvent(QEvent* arg__1); +virtual bool event(QEvent* arg__1); +virtual bool eventFilter(QObject* arg__1, QEvent* arg__2); +virtual Qt::Orientations expandingDirections() const; +virtual QRect geometry() const; +virtual bool hasHeightForWidth() const; +virtual int heightForWidth(int arg__1) const; +virtual int indexOf(QWidget* arg__1) const; +virtual void invalidate(); +virtual bool isEmpty() const; +virtual QLayoutItem* itemAt(int index) const; +virtual QLayout* layout(); +virtual QSize maximumSize() const; +virtual int minimumHeightForWidth(int arg__1) const; +virtual QSize minimumSize() const; +virtual void setGeometry(const QRect& arg__1); +virtual QSize sizeHint() const; +virtual QSpacerItem* spacerItem(); +virtual QLayoutItem* takeAt(int index); +virtual void timerEvent(QTimerEvent* arg__1); +virtual QWidget* widget(); + + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtPublicPromoter_QLayout : public QLayout +{ public: +inline void promoted_childEvent(QChildEvent* e) { QLayout::childEvent(e); } +inline Qt::Orientations promoted_expandingDirections() const { return QLayout::expandingDirections(); } +inline QRect promoted_geometry() const { return QLayout::geometry(); } +inline int promoted_indexOf(QWidget* arg__1) const { return QLayout::indexOf(arg__1); } +inline void promoted_invalidate() { QLayout::invalidate(); } +inline bool promoted_isEmpty() const { return QLayout::isEmpty(); } +inline QLayout* promoted_layout() { return QLayout::layout(); } +inline QSize promoted_maximumSize() const { return QLayout::maximumSize(); } +inline QSize promoted_minimumSize() const { return QLayout::minimumSize(); } +inline void promoted_setGeometry(const QRect& arg__1) { QLayout::setGeometry(arg__1); } +}; + +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 addWidget(QLayout* theWrappedObject, QWidget* w); + void childEvent(QLayout* theWrappedObject, QChildEvent* e); + QSize static_QLayout_closestAcceptableSize(const QWidget* w, const QSize& s); + QMargins contentsMargins(QLayout* theWrappedObject) const; + QRect contentsRect(QLayout* theWrappedObject) const; + Qt::Orientations expandingDirections(QLayout* theWrappedObject) const; + QRect geometry(QLayout* theWrappedObject) const; + void getContentsMargins(QLayout* theWrappedObject, int* left, int* top, int* right, int* bottom) const; + int indexOf(QLayout* theWrappedObject, QWidget* arg__1) const; + void invalidate(QLayout* theWrappedObject); + bool isEmpty(QLayout* theWrappedObject) const; + bool isEnabled(QLayout* theWrappedObject) const; + QLayout* layout(QLayout* theWrappedObject); + QSize maximumSize(QLayout* theWrappedObject) const; + QWidget* menuBar(QLayout* theWrappedObject) const; + QSize minimumSize(QLayout* theWrappedObject) const; + QWidget* parentWidget(QLayout* theWrappedObject) const; + void removeItem(QLayout* theWrappedObject, QLayoutItem* arg__1); + void removeWidget(QLayout* theWrappedObject, QWidget* w); + void setAlignment(QLayout* theWrappedObject, Qt::Alignment alignment); + 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 setGeometry(QLayout* theWrappedObject, const QRect& 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; + 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); +}; + + + + + +class PythonQtShell_QLayoutItem : public QLayoutItem +{ +public: + PythonQtShell_QLayoutItem(Qt::Alignment alignment = 0):QLayoutItem(alignment),_wrapper(NULL) {}; + +virtual Qt::Orientations expandingDirections() const; +virtual QRect geometry() const; +virtual bool hasHeightForWidth() const; +virtual int heightForWidth(int arg__1) const; +virtual void invalidate(); +virtual bool isEmpty() const; +virtual QLayout* layout(); +virtual QSize maximumSize() const; +virtual int minimumHeightForWidth(int arg__1) const; +virtual QSize minimumSize() const; +virtual void setGeometry(const QRect& arg__1); +virtual QSize sizeHint() const; +virtual QSpacerItem* spacerItem(); +virtual QWidget* widget(); + + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtPublicPromoter_QLayoutItem : public QLayoutItem +{ public: +inline bool promoted_hasHeightForWidth() const { return QLayoutItem::hasHeightForWidth(); } +inline int promoted_heightForWidth(int arg__1) const { return QLayoutItem::heightForWidth(arg__1); } +inline void promoted_invalidate() { QLayoutItem::invalidate(); } +inline QLayout* promoted_layout() { return QLayoutItem::layout(); } +inline int promoted_minimumHeightForWidth(int arg__1) const { return QLayoutItem::minimumHeightForWidth(arg__1); } +inline QSpacerItem* promoted_spacerItem() { return QLayoutItem::spacerItem(); } +inline QWidget* promoted_widget() { return QLayoutItem::widget(); } +}; + +class PythonQtWrapper_QLayoutItem : public QObject +{ Q_OBJECT +public: +public slots: +QLayoutItem* new_QLayoutItem(Qt::Alignment alignment = 0); +void delete_QLayoutItem(QLayoutItem* obj) { delete obj; } + Qt::Alignment alignment(QLayoutItem* theWrappedObject) const; + QSizePolicy::ControlTypes controlTypes(QLayoutItem* theWrappedObject) const; + bool hasHeightForWidth(QLayoutItem* theWrappedObject) const; + int heightForWidth(QLayoutItem* theWrappedObject, int arg__1) const; + void invalidate(QLayoutItem* theWrappedObject); + QLayout* layout(QLayoutItem* theWrappedObject); + int minimumHeightForWidth(QLayoutItem* theWrappedObject, int arg__1) const; + void setAlignment(QLayoutItem* theWrappedObject, Qt::Alignment a); + QSpacerItem* spacerItem(QLayoutItem* theWrappedObject); + QWidget* widget(QLayoutItem* theWrappedObject); +}; + + + + + +class PythonQtShell_QLineEdit : public QLineEdit +{ +public: + PythonQtShell_QLineEdit(QWidget* parent = 0):QLineEdit(parent),_wrapper(NULL) {}; + PythonQtShell_QLineEdit(const QString& arg__1, QWidget* parent = 0):QLineEdit(arg__1, parent),_wrapper(NULL) {}; + +virtual void actionEvent(QActionEvent* arg__1); +virtual void changeEvent(QEvent* arg__1); +virtual void childEvent(QChildEvent* arg__1); +virtual void closeEvent(QCloseEvent* arg__1); +virtual void contextMenuEvent(QContextMenuEvent* arg__1); +virtual void customEvent(QEvent* arg__1); +virtual int devType() const; +virtual void dragEnterEvent(QDragEnterEvent* arg__1); +virtual void dragLeaveEvent(QDragLeaveEvent* e); +virtual void dragMoveEvent(QDragMoveEvent* e); +virtual void dropEvent(QDropEvent* arg__1); +virtual void enterEvent(QEvent* arg__1); +virtual bool event(QEvent* arg__1); +virtual bool eventFilter(QObject* arg__1, QEvent* arg__2); +virtual void focusInEvent(QFocusEvent* arg__1); +virtual bool focusNextPrevChild(bool next); +virtual void focusOutEvent(QFocusEvent* arg__1); +virtual int heightForWidth(int arg__1) const; +virtual void hideEvent(QHideEvent* arg__1); +virtual void inputMethodEvent(QInputMethodEvent* arg__1); +virtual QVariant inputMethodQuery(Qt::InputMethodQuery arg__1) const; +virtual void keyPressEvent(QKeyEvent* arg__1); +virtual void keyReleaseEvent(QKeyEvent* arg__1); +virtual void languageChange(); +virtual void leaveEvent(QEvent* arg__1); +virtual int metric(QPaintDevice::PaintDeviceMetric arg__1) const; +virtual void mouseDoubleClickEvent(QMouseEvent* arg__1); +virtual void mouseMoveEvent(QMouseEvent* arg__1); +virtual void mousePressEvent(QMouseEvent* arg__1); +virtual void mouseReleaseEvent(QMouseEvent* arg__1); +virtual void moveEvent(QMoveEvent* arg__1); +virtual QPaintEngine* paintEngine() const; +virtual void paintEvent(QPaintEvent* arg__1); +virtual void resizeEvent(QResizeEvent* arg__1); +virtual void showEvent(QShowEvent* arg__1); +virtual void tabletEvent(QTabletEvent* arg__1); +virtual void timerEvent(QTimerEvent* arg__1); +virtual void wheelEvent(QWheelEvent* arg__1); + + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtPublicPromoter_QLineEdit : public QLineEdit +{ public: +inline void promoted_changeEvent(QEvent* arg__1) { QLineEdit::changeEvent(arg__1); } +inline void promoted_contextMenuEvent(QContextMenuEvent* arg__1) { QLineEdit::contextMenuEvent(arg__1); } +inline void promoted_dragEnterEvent(QDragEnterEvent* arg__1) { QLineEdit::dragEnterEvent(arg__1); } +inline void promoted_dragLeaveEvent(QDragLeaveEvent* e) { QLineEdit::dragLeaveEvent(e); } +inline void promoted_dragMoveEvent(QDragMoveEvent* e) { QLineEdit::dragMoveEvent(e); } +inline void promoted_dropEvent(QDropEvent* arg__1) { QLineEdit::dropEvent(arg__1); } +inline bool promoted_event(QEvent* arg__1) { return QLineEdit::event(arg__1); } +inline void promoted_focusInEvent(QFocusEvent* arg__1) { QLineEdit::focusInEvent(arg__1); } +inline void promoted_focusOutEvent(QFocusEvent* arg__1) { QLineEdit::focusOutEvent(arg__1); } +inline void promoted_inputMethodEvent(QInputMethodEvent* arg__1) { QLineEdit::inputMethodEvent(arg__1); } +inline QVariant promoted_inputMethodQuery(Qt::InputMethodQuery arg__1) const { return QLineEdit::inputMethodQuery(arg__1); } +inline void promoted_keyPressEvent(QKeyEvent* arg__1) { QLineEdit::keyPressEvent(arg__1); } +inline void promoted_mouseDoubleClickEvent(QMouseEvent* arg__1) { QLineEdit::mouseDoubleClickEvent(arg__1); } +inline void promoted_mouseMoveEvent(QMouseEvent* arg__1) { QLineEdit::mouseMoveEvent(arg__1); } +inline void promoted_mousePressEvent(QMouseEvent* arg__1) { QLineEdit::mousePressEvent(arg__1); } +inline void promoted_mouseReleaseEvent(QMouseEvent* arg__1) { QLineEdit::mouseReleaseEvent(arg__1); } +inline void promoted_paintEvent(QPaintEvent* arg__1) { QLineEdit::paintEvent(arg__1); } +}; + +class PythonQtWrapper_QLineEdit : public QObject +{ Q_OBJECT +public: +public slots: +QLineEdit* new_QLineEdit(QWidget* parent = 0); +QLineEdit* new_QLineEdit(const QString& arg__1, QWidget* parent = 0); +void delete_QLineEdit(QLineEdit* obj) { delete obj; } + Qt::Alignment alignment(QLineEdit* theWrappedObject) const; + void backspace(QLineEdit* theWrappedObject); + void changeEvent(QLineEdit* theWrappedObject, QEvent* arg__1); + QCompleter* completer(QLineEdit* theWrappedObject) const; + void contextMenuEvent(QLineEdit* theWrappedObject, QContextMenuEvent* arg__1); + QMenu* createStandardContextMenu(QLineEdit* theWrappedObject); + void cursorBackward(QLineEdit* theWrappedObject, bool mark, int steps = 1); + void cursorForward(QLineEdit* theWrappedObject, bool mark, int steps = 1); + int cursorPosition(QLineEdit* theWrappedObject) const; + int cursorPositionAt(QLineEdit* theWrappedObject, const QPoint& pos); + void cursorWordBackward(QLineEdit* theWrappedObject, bool mark); + void cursorWordForward(QLineEdit* theWrappedObject, bool mark); + void del(QLineEdit* theWrappedObject); + void deselect(QLineEdit* theWrappedObject); + QString displayText(QLineEdit* theWrappedObject) const; + bool dragEnabled(QLineEdit* theWrappedObject) const; + void dragEnterEvent(QLineEdit* theWrappedObject, QDragEnterEvent* arg__1); + void dragLeaveEvent(QLineEdit* theWrappedObject, QDragLeaveEvent* e); + void dragMoveEvent(QLineEdit* theWrappedObject, QDragMoveEvent* e); + void dropEvent(QLineEdit* theWrappedObject, QDropEvent* arg__1); + QLineEdit::EchoMode echoMode(QLineEdit* theWrappedObject) const; + void end(QLineEdit* theWrappedObject, bool mark); + bool event(QLineEdit* theWrappedObject, QEvent* arg__1); + void focusInEvent(QLineEdit* theWrappedObject, QFocusEvent* arg__1); + void focusOutEvent(QLineEdit* theWrappedObject, QFocusEvent* arg__1); + void getTextMargins(QLineEdit* theWrappedObject, int* left, int* top, int* right, int* bottom) const; + bool hasAcceptableInput(QLineEdit* theWrappedObject) const; + bool hasFrame(QLineEdit* theWrappedObject) const; + bool hasSelectedText(QLineEdit* theWrappedObject) const; + void home(QLineEdit* theWrappedObject, bool mark); + QString inputMask(QLineEdit* theWrappedObject) const; + void inputMethodEvent(QLineEdit* theWrappedObject, QInputMethodEvent* arg__1); + QVariant inputMethodQuery(QLineEdit* theWrappedObject, Qt::InputMethodQuery arg__1) const; + void insert(QLineEdit* theWrappedObject, const QString& arg__1); + bool isModified(QLineEdit* theWrappedObject) const; + bool isReadOnly(QLineEdit* theWrappedObject) const; + bool isRedoAvailable(QLineEdit* theWrappedObject) const; + bool isUndoAvailable(QLineEdit* theWrappedObject) const; + void keyPressEvent(QLineEdit* theWrappedObject, QKeyEvent* arg__1); + int maxLength(QLineEdit* theWrappedObject) const; + QSize minimumSizeHint(QLineEdit* theWrappedObject) const; + void mouseDoubleClickEvent(QLineEdit* theWrappedObject, QMouseEvent* arg__1); + void mouseMoveEvent(QLineEdit* theWrappedObject, QMouseEvent* arg__1); + void mousePressEvent(QLineEdit* theWrappedObject, QMouseEvent* arg__1); + void mouseReleaseEvent(QLineEdit* theWrappedObject, QMouseEvent* arg__1); + void paintEvent(QLineEdit* theWrappedObject, QPaintEvent* arg__1); + QString selectedText(QLineEdit* theWrappedObject) const; + int selectionStart(QLineEdit* theWrappedObject) const; + void setAlignment(QLineEdit* theWrappedObject, Qt::Alignment flag); + void setCompleter(QLineEdit* theWrappedObject, QCompleter* completer); + void setCursorPosition(QLineEdit* theWrappedObject, int arg__1); + void setDragEnabled(QLineEdit* theWrappedObject, bool b); + void setEchoMode(QLineEdit* theWrappedObject, QLineEdit::EchoMode arg__1); + void setFrame(QLineEdit* theWrappedObject, bool arg__1); + void setInputMask(QLineEdit* theWrappedObject, const QString& inputMask); + void setMaxLength(QLineEdit* theWrappedObject, int arg__1); + void setModified(QLineEdit* theWrappedObject, bool arg__1); + void setReadOnly(QLineEdit* theWrappedObject, bool arg__1); + void setSelection(QLineEdit* theWrappedObject, int arg__1, int arg__2); + void setTextMargins(QLineEdit* theWrappedObject, const QMargins& margins); + void setTextMargins(QLineEdit* theWrappedObject, int left, int top, int right, int bottom); + void setValidator(QLineEdit* theWrappedObject, const QValidator* arg__1); + QSize sizeHint(QLineEdit* theWrappedObject) const; + QString text(QLineEdit* theWrappedObject) const; + QMargins textMargins(QLineEdit* theWrappedObject) const; + const QValidator* validator(QLineEdit* theWrappedObject) const; +}; + + + + + +class PythonQtWrapper_QLinearGradient : public QObject +{ Q_OBJECT +public: +public slots: +QLinearGradient* new_QLinearGradient(); +QLinearGradient* new_QLinearGradient(const QPointF& start, const QPointF& finalStop); +QLinearGradient* new_QLinearGradient(qreal xStart, qreal yStart, qreal xFinalStop, qreal yFinalStop); +QLinearGradient* new_QLinearGradient(const QLinearGradient& other) { +QLinearGradient* a = new QLinearGradient(); +*((QLinearGradient*)a) = other; +return a; } +void delete_QLinearGradient(QLinearGradient* obj) { delete obj; } + QPointF finalStop(QLinearGradient* theWrappedObject) const; + void setFinalStop(QLinearGradient* theWrappedObject, const QPointF& stop); + void setFinalStop(QLinearGradient* theWrappedObject, qreal x, qreal y); + void setStart(QLinearGradient* theWrappedObject, const QPointF& start); + void setStart(QLinearGradient* theWrappedObject, qreal x, qreal y); + QPointF start(QLinearGradient* theWrappedObject) const; +}; + + + + + +class PythonQtShell_QListView : public QListView +{ +public: + PythonQtShell_QListView(QWidget* parent = 0):QListView(parent),_wrapper(NULL) {}; + +virtual void actionEvent(QActionEvent* arg__1); +virtual void changeEvent(QEvent* arg__1); +virtual void childEvent(QChildEvent* arg__1); +virtual void closeEditor(QWidget* editor, QAbstractItemDelegate::EndEditHint hint); +virtual void closeEvent(QCloseEvent* arg__1); +virtual void commitData(QWidget* editor); +virtual void contextMenuEvent(QContextMenuEvent* arg__1); +virtual void currentChanged(const QModelIndex& current, const QModelIndex& previous); +virtual void customEvent(QEvent* arg__1); +virtual void dataChanged(const QModelIndex& topLeft, const QModelIndex& bottomRight); +virtual int devType() const; +virtual void doItemsLayout(); +virtual void dragEnterEvent(QDragEnterEvent* event); +virtual void dragLeaveEvent(QDragLeaveEvent* e); +virtual void dragMoveEvent(QDragMoveEvent* e); +virtual void dropEvent(QDropEvent* e); +virtual bool edit(const QModelIndex& index, QAbstractItemView::EditTrigger trigger, QEvent* event); +virtual void editorDestroyed(QObject* editor); +virtual void enterEvent(QEvent* arg__1); +virtual bool event(QEvent* e); +virtual bool eventFilter(QObject* arg__1, QEvent* arg__2); +virtual void focusInEvent(QFocusEvent* event); +virtual bool focusNextPrevChild(bool next); +virtual void focusOutEvent(QFocusEvent* event); +virtual int heightForWidth(int arg__1) const; +virtual void hideEvent(QHideEvent* arg__1); +virtual int horizontalOffset() const; +virtual void horizontalScrollbarAction(int action); +virtual void horizontalScrollbarValueChanged(int value); +virtual QModelIndex indexAt(const QPoint& p) const; +virtual void inputMethodEvent(QInputMethodEvent* event); +virtual QVariant inputMethodQuery(Qt::InputMethodQuery query) const; +virtual bool isIndexHidden(const QModelIndex& index) const; +virtual void keyPressEvent(QKeyEvent* event); +virtual void keyReleaseEvent(QKeyEvent* arg__1); +virtual void keyboardSearch(const QString& search); +virtual void languageChange(); +virtual void leaveEvent(QEvent* arg__1); +virtual int metric(QPaintDevice::PaintDeviceMetric arg__1) const; +virtual void mouseDoubleClickEvent(QMouseEvent* event); +virtual void mouseMoveEvent(QMouseEvent* e); +virtual void mousePressEvent(QMouseEvent* event); +virtual void mouseReleaseEvent(QMouseEvent* e); +virtual void moveEvent(QMoveEvent* arg__1); +virtual QPaintEngine* paintEngine() const; +virtual void paintEvent(QPaintEvent* e); +virtual void reset(); +virtual void resizeEvent(QResizeEvent* e); +virtual void rowsAboutToBeRemoved(const QModelIndex& parent, int start, int end); +virtual void rowsInserted(const QModelIndex& parent, int start, int end); +virtual void scrollContentsBy(int dx, int dy); +virtual void scrollTo(const QModelIndex& index, QAbstractItemView::ScrollHint hint = QAbstractItemView::EnsureVisible); +virtual void selectAll(); +virtual QList selectedIndexes() const; +virtual void selectionChanged(const QItemSelection& selected, const QItemSelection& deselected); +virtual QItemSelectionModel::SelectionFlags selectionCommand(const QModelIndex& index, const QEvent* event) const; +virtual void setModel(QAbstractItemModel* model); +virtual void setRootIndex(const QModelIndex& index); +virtual void setSelection(const QRect& rect, QItemSelectionModel::SelectionFlags command); +virtual void setSelectionModel(QItemSelectionModel* selectionModel); +virtual void showEvent(QShowEvent* arg__1); +virtual int sizeHintForColumn(int column) const; +virtual int sizeHintForRow(int row) const; +virtual void startDrag(Qt::DropActions supportedActions); +virtual void tabletEvent(QTabletEvent* arg__1); +virtual void timerEvent(QTimerEvent* e); +virtual void updateEditorData(); +virtual void updateEditorGeometries(); +virtual void updateGeometries(); +virtual int verticalOffset() const; +virtual void verticalScrollbarAction(int action); +virtual void verticalScrollbarValueChanged(int value); +virtual QStyleOptionViewItem viewOptions() const; +virtual bool viewportEvent(QEvent* event); +virtual QRect visualRect(const QModelIndex& index) const; +virtual QRegion visualRegionForSelection(const QItemSelection& selection) const; +virtual void wheelEvent(QWheelEvent* arg__1); + + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtPublicPromoter_QListView : public QListView +{ public: +inline void promoted_currentChanged(const QModelIndex& current, const QModelIndex& previous) { QListView::currentChanged(current, previous); } +inline void promoted_dataChanged(const QModelIndex& topLeft, const QModelIndex& bottomRight) { QListView::dataChanged(topLeft, bottomRight); } +inline void promoted_doItemsLayout() { QListView::doItemsLayout(); } +inline void promoted_dragLeaveEvent(QDragLeaveEvent* e) { QListView::dragLeaveEvent(e); } +inline void promoted_dragMoveEvent(QDragMoveEvent* e) { QListView::dragMoveEvent(e); } +inline void promoted_dropEvent(QDropEvent* e) { QListView::dropEvent(e); } +inline bool promoted_event(QEvent* e) { return QListView::event(e); } +inline int promoted_horizontalOffset() const { return QListView::horizontalOffset(); } +inline QModelIndex promoted_indexAt(const QPoint& p) const { return QListView::indexAt(p); } +inline bool promoted_isIndexHidden(const QModelIndex& index) const { return QListView::isIndexHidden(index); } +inline void promoted_mouseMoveEvent(QMouseEvent* e) { QListView::mouseMoveEvent(e); } +inline void promoted_mouseReleaseEvent(QMouseEvent* e) { QListView::mouseReleaseEvent(e); } +inline void promoted_paintEvent(QPaintEvent* e) { QListView::paintEvent(e); } +inline void promoted_reset() { QListView::reset(); } +inline void promoted_resizeEvent(QResizeEvent* e) { QListView::resizeEvent(e); } +inline void promoted_rowsAboutToBeRemoved(const QModelIndex& parent, int start, int end) { QListView::rowsAboutToBeRemoved(parent, start, end); } +inline void promoted_rowsInserted(const QModelIndex& parent, int start, int end) { QListView::rowsInserted(parent, start, end); } +inline void promoted_scrollContentsBy(int dx, int dy) { QListView::scrollContentsBy(dx, dy); } +inline void promoted_scrollTo(const QModelIndex& index, QAbstractItemView::ScrollHint hint = QAbstractItemView::EnsureVisible) { QListView::scrollTo(index, hint); } +inline QList promoted_selectedIndexes() const { return QListView::selectedIndexes(); } +inline void promoted_selectionChanged(const QItemSelection& selected, const QItemSelection& deselected) { QListView::selectionChanged(selected, deselected); } +inline void promoted_setRootIndex(const QModelIndex& index) { QListView::setRootIndex(index); } +inline void promoted_setSelection(const QRect& rect, QItemSelectionModel::SelectionFlags command) { QListView::setSelection(rect, command); } +inline void promoted_startDrag(Qt::DropActions supportedActions) { QListView::startDrag(supportedActions); } +inline void promoted_timerEvent(QTimerEvent* e) { QListView::timerEvent(e); } +inline void promoted_updateGeometries() { QListView::updateGeometries(); } +inline int promoted_verticalOffset() const { return QListView::verticalOffset(); } +inline QStyleOptionViewItem promoted_viewOptions() const { return QListView::viewOptions(); } +inline QRect promoted_visualRect(const QModelIndex& index) const { return QListView::visualRect(index); } +inline QRegion promoted_visualRegionForSelection(const QItemSelection& selection) const { return QListView::visualRegionForSelection(selection); } +}; + +class PythonQtWrapper_QListView : public QObject +{ Q_OBJECT +public: +public slots: +QListView* new_QListView(QWidget* parent = 0); +void delete_QListView(QListView* obj) { delete obj; } + int batchSize(QListView* theWrappedObject) const; + void clearPropertyFlags(QListView* theWrappedObject); + void currentChanged(QListView* theWrappedObject, const QModelIndex& current, const QModelIndex& previous); + void dataChanged(QListView* theWrappedObject, const QModelIndex& topLeft, const QModelIndex& bottomRight); + void doItemsLayout(QListView* theWrappedObject); + void dragLeaveEvent(QListView* theWrappedObject, QDragLeaveEvent* e); + void dragMoveEvent(QListView* theWrappedObject, QDragMoveEvent* e); + void dropEvent(QListView* theWrappedObject, QDropEvent* e); + bool event(QListView* theWrappedObject, QEvent* e); + QListView::Flow flow(QListView* theWrappedObject) const; + QSize gridSize(QListView* theWrappedObject) const; + int horizontalOffset(QListView* theWrappedObject) const; + QModelIndex indexAt(QListView* theWrappedObject, const QPoint& p) const; + bool isIndexHidden(QListView* theWrappedObject, const QModelIndex& index) const; + bool isRowHidden(QListView* theWrappedObject, int row) const; + bool isSelectionRectVisible(QListView* theWrappedObject) const; + bool isWrapping(QListView* theWrappedObject) const; + QListView::LayoutMode layoutMode(QListView* theWrappedObject) const; + int modelColumn(QListView* theWrappedObject) const; + void mouseMoveEvent(QListView* theWrappedObject, QMouseEvent* e); + void mouseReleaseEvent(QListView* theWrappedObject, QMouseEvent* e); + QListView::Movement movement(QListView* theWrappedObject) const; + void paintEvent(QListView* theWrappedObject, QPaintEvent* e); + void reset(QListView* theWrappedObject); + void resizeEvent(QListView* theWrappedObject, QResizeEvent* e); + QListView::ResizeMode resizeMode(QListView* theWrappedObject) const; + void rowsAboutToBeRemoved(QListView* theWrappedObject, const QModelIndex& parent, int start, int end); + void rowsInserted(QListView* theWrappedObject, const QModelIndex& parent, int start, int end); + void scrollContentsBy(QListView* theWrappedObject, int dx, int dy); + void scrollTo(QListView* theWrappedObject, const QModelIndex& index, QAbstractItemView::ScrollHint hint = QAbstractItemView::EnsureVisible); + QList selectedIndexes(QListView* theWrappedObject) const; + void selectionChanged(QListView* theWrappedObject, const QItemSelection& selected, const QItemSelection& deselected); + void setBatchSize(QListView* theWrappedObject, int batchSize); + void setFlow(QListView* theWrappedObject, QListView::Flow flow); + void setGridSize(QListView* theWrappedObject, const QSize& size); + void setLayoutMode(QListView* theWrappedObject, QListView::LayoutMode mode); + void setModelColumn(QListView* theWrappedObject, int column); + void setMovement(QListView* theWrappedObject, QListView::Movement movement); + void setResizeMode(QListView* theWrappedObject, QListView::ResizeMode mode); + void setRootIndex(QListView* theWrappedObject, const QModelIndex& index); + void setRowHidden(QListView* theWrappedObject, int row, bool hide); + void setSelection(QListView* theWrappedObject, const QRect& rect, QItemSelectionModel::SelectionFlags command); + void setSelectionRectVisible(QListView* theWrappedObject, bool show); + void setSpacing(QListView* theWrappedObject, int space); + void setUniformItemSizes(QListView* theWrappedObject, bool enable); + void setViewMode(QListView* theWrappedObject, QListView::ViewMode mode); + void setWordWrap(QListView* theWrappedObject, bool on); + void setWrapping(QListView* theWrappedObject, bool enable); + int spacing(QListView* theWrappedObject) const; + void startDrag(QListView* theWrappedObject, Qt::DropActions supportedActions); + void timerEvent(QListView* theWrappedObject, QTimerEvent* e); + bool uniformItemSizes(QListView* theWrappedObject) const; + void updateGeometries(QListView* theWrappedObject); + int verticalOffset(QListView* theWrappedObject) const; + QListView::ViewMode viewMode(QListView* theWrappedObject) const; + QStyleOptionViewItem viewOptions(QListView* theWrappedObject) const; + QRect visualRect(QListView* theWrappedObject, const QModelIndex& index) const; + QRegion visualRegionForSelection(QListView* theWrappedObject, const QItemSelection& selection) const; + bool wordWrap(QListView* theWrappedObject) const; +}; + + + + + +class PythonQtShell_QListWidget : public QListWidget +{ +public: + PythonQtShell_QListWidget(QWidget* parent = 0):QListWidget(parent),_wrapper(NULL) {}; + +virtual void actionEvent(QActionEvent* arg__1); +virtual void changeEvent(QEvent* arg__1); +virtual void childEvent(QChildEvent* arg__1); +virtual void closeEditor(QWidget* editor, QAbstractItemDelegate::EndEditHint hint); +virtual void closeEvent(QCloseEvent* arg__1); +virtual void commitData(QWidget* editor); +virtual void contextMenuEvent(QContextMenuEvent* arg__1); +virtual void currentChanged(const QModelIndex& current, const QModelIndex& previous); +virtual void customEvent(QEvent* arg__1); +virtual void dataChanged(const QModelIndex& topLeft, const QModelIndex& bottomRight); +virtual int devType() const; +virtual void doItemsLayout(); +virtual void dragEnterEvent(QDragEnterEvent* event); +virtual void dragLeaveEvent(QDragLeaveEvent* e); +virtual void dragMoveEvent(QDragMoveEvent* e); +virtual void dropEvent(QDropEvent* event); +virtual bool dropMimeData(int index, const QMimeData* data, Qt::DropAction action); +virtual bool edit(const QModelIndex& index, QAbstractItemView::EditTrigger trigger, QEvent* event); +virtual void editorDestroyed(QObject* editor); +virtual void enterEvent(QEvent* arg__1); +virtual bool event(QEvent* e); +virtual bool eventFilter(QObject* arg__1, QEvent* arg__2); +virtual void focusInEvent(QFocusEvent* event); +virtual bool focusNextPrevChild(bool next); +virtual void focusOutEvent(QFocusEvent* event); +virtual int heightForWidth(int arg__1) const; +virtual void hideEvent(QHideEvent* arg__1); +virtual int horizontalOffset() const; +virtual void horizontalScrollbarAction(int action); +virtual void horizontalScrollbarValueChanged(int value); +virtual QModelIndex indexAt(const QPoint& p) const; +virtual void inputMethodEvent(QInputMethodEvent* event); +virtual QVariant inputMethodQuery(Qt::InputMethodQuery query) const; +virtual bool isIndexHidden(const QModelIndex& index) const; +virtual void keyPressEvent(QKeyEvent* event); +virtual void keyReleaseEvent(QKeyEvent* arg__1); +virtual void keyboardSearch(const QString& search); +virtual void languageChange(); +virtual void leaveEvent(QEvent* arg__1); +virtual int metric(QPaintDevice::PaintDeviceMetric arg__1) const; +virtual QMimeData* mimeData(const QList items) const; +virtual QStringList mimeTypes() const; +virtual void mouseDoubleClickEvent(QMouseEvent* event); +virtual void mouseMoveEvent(QMouseEvent* e); +virtual void mousePressEvent(QMouseEvent* event); +virtual void mouseReleaseEvent(QMouseEvent* e); +virtual void moveEvent(QMoveEvent* arg__1); +virtual QPaintEngine* paintEngine() const; +virtual void paintEvent(QPaintEvent* e); +virtual void reset(); +virtual void resizeEvent(QResizeEvent* e); +virtual void rowsAboutToBeRemoved(const QModelIndex& parent, int start, int end); +virtual void rowsInserted(const QModelIndex& parent, int start, int end); +virtual void scrollContentsBy(int dx, int dy); +virtual void scrollTo(const QModelIndex& index, QAbstractItemView::ScrollHint hint); +virtual void selectAll(); +virtual QList selectedIndexes() const; +virtual void selectionChanged(const QItemSelection& selected, const QItemSelection& deselected); +virtual QItemSelectionModel::SelectionFlags selectionCommand(const QModelIndex& index, const QEvent* event) const; +virtual void setRootIndex(const QModelIndex& index); +virtual void setSelection(const QRect& rect, QItemSelectionModel::SelectionFlags command); +virtual void setSelectionModel(QItemSelectionModel* selectionModel); +virtual void showEvent(QShowEvent* arg__1); +virtual int sizeHintForColumn(int column) const; +virtual int sizeHintForRow(int row) const; +virtual void startDrag(Qt::DropActions supportedActions); +virtual Qt::DropActions supportedDropActions() const; +virtual void tabletEvent(QTabletEvent* arg__1); +virtual void timerEvent(QTimerEvent* e); +virtual void updateEditorData(); +virtual void updateEditorGeometries(); +virtual void updateGeometries(); +virtual int verticalOffset() const; +virtual void verticalScrollbarAction(int action); +virtual void verticalScrollbarValueChanged(int value); +virtual QStyleOptionViewItem viewOptions() const; +virtual bool viewportEvent(QEvent* event); +virtual QRect visualRect(const QModelIndex& index) const; +virtual QRegion visualRegionForSelection(const QItemSelection& selection) const; +virtual void wheelEvent(QWheelEvent* arg__1); + + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtPublicPromoter_QListWidget : public QListWidget +{ public: +inline void promoted_dropEvent(QDropEvent* event) { QListWidget::dropEvent(event); } +inline bool promoted_dropMimeData(int index, const QMimeData* data, Qt::DropAction action) { return QListWidget::dropMimeData(index, data, action); } +inline bool promoted_event(QEvent* e) { return QListWidget::event(e); } +inline QStringList promoted_mimeTypes() const { return QListWidget::mimeTypes(); } +inline Qt::DropActions promoted_supportedDropActions() const { return QListWidget::supportedDropActions(); } +}; + +class PythonQtWrapper_QListWidget : public QObject +{ Q_OBJECT +public: +public slots: +QListWidget* new_QListWidget(QWidget* parent = 0); +void delete_QListWidget(QListWidget* obj) { delete obj; } + void addItem(QListWidget* theWrappedObject, QListWidgetItem* item); + void addItem(QListWidget* theWrappedObject, const QString& label); + void addItems(QListWidget* theWrappedObject, const QStringList& labels); + void closePersistentEditor(QListWidget* theWrappedObject, QListWidgetItem* item); + int count(QListWidget* theWrappedObject) const; + QListWidgetItem* currentItem(QListWidget* theWrappedObject) const; + int currentRow(QListWidget* theWrappedObject) const; + void dropEvent(QListWidget* theWrappedObject, QDropEvent* event); + bool dropMimeData(QListWidget* theWrappedObject, int index, const QMimeData* data, Qt::DropAction action); + void editItem(QListWidget* theWrappedObject, QListWidgetItem* item); + bool event(QListWidget* theWrappedObject, QEvent* e); + QList findItems(QListWidget* theWrappedObject, const QString& text, Qt::MatchFlags flags) const; + void insertItem(QListWidget* theWrappedObject, int row, QListWidgetItem* item); + void insertItem(QListWidget* theWrappedObject, int row, const QString& label); + void insertItems(QListWidget* theWrappedObject, int row, const QStringList& labels); + bool isSortingEnabled(QListWidget* theWrappedObject) const; + QListWidgetItem* item(QListWidget* theWrappedObject, int row) const; + QListWidgetItem* itemAt(QListWidget* theWrappedObject, const QPoint& p) const; + QListWidgetItem* itemAt(QListWidget* theWrappedObject, int x, int y) const; + QWidget* itemWidget(QListWidget* theWrappedObject, QListWidgetItem* item) const; + QStringList mimeTypes(QListWidget* theWrappedObject) const; + void openPersistentEditor(QListWidget* theWrappedObject, QListWidgetItem* item); + void removeItemWidget(QListWidget* theWrappedObject, QListWidgetItem* item); + int row(QListWidget* theWrappedObject, const QListWidgetItem* item) const; + QList selectedItems(QListWidget* theWrappedObject) const; + void setCurrentItem(QListWidget* theWrappedObject, QListWidgetItem* item); + void setCurrentItem(QListWidget* theWrappedObject, QListWidgetItem* item, QItemSelectionModel::SelectionFlags command); + void setCurrentRow(QListWidget* theWrappedObject, int row); + void setCurrentRow(QListWidget* theWrappedObject, int row, QItemSelectionModel::SelectionFlags command); + void setItemWidget(QListWidget* theWrappedObject, QListWidgetItem* item, QWidget* widget); + void setSortingEnabled(QListWidget* theWrappedObject, bool enable); + void sortItems(QListWidget* theWrappedObject, Qt::SortOrder order = Qt::AscendingOrder); + Qt::DropActions supportedDropActions(QListWidget* theWrappedObject) const; + QListWidgetItem* takeItem(QListWidget* theWrappedObject, int row); + QRect visualItemRect(QListWidget* theWrappedObject, const QListWidgetItem* item) const; +}; + + + + + +class PythonQtShell_QListWidgetItem : public QListWidgetItem +{ +public: + PythonQtShell_QListWidgetItem(QListWidget* view = 0, int type = Type):QListWidgetItem(view, type),_wrapper(NULL) {}; + PythonQtShell_QListWidgetItem(const QIcon& icon, const QString& text, QListWidget* view = 0, int type = Type):QListWidgetItem(icon, text, view, type),_wrapper(NULL) {}; + PythonQtShell_QListWidgetItem(const QString& text, QListWidget* view = 0, int type = Type):QListWidgetItem(text, view, type),_wrapper(NULL) {}; + +virtual QListWidgetItem* clone() const; +virtual QVariant data(int role) const; +virtual bool __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; + + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtPublicPromoter_QListWidgetItem : public QListWidgetItem +{ public: +inline QListWidgetItem* promoted_clone() const { return QListWidgetItem::clone(); } +inline QVariant promoted_data(int role) const { return QListWidgetItem::data(role); } +inline void promoted_setData(int role, const QVariant& value) { QListWidgetItem::setData(role, value); } +}; + +class PythonQtWrapper_QListWidgetItem : public QObject +{ Q_OBJECT +public: +Q_ENUMS(ItemType ) +enum ItemType{ + Type = QListWidgetItem::Type, UserType = QListWidgetItem::UserType}; +public slots: +QListWidgetItem* new_QListWidgetItem(QListWidget* view = 0, int type = Type); +QListWidgetItem* new_QListWidgetItem(const QIcon& icon, const QString& text, QListWidget* view = 0, int type = Type); +QListWidgetItem* new_QListWidgetItem(const QString& text, QListWidget* view = 0, int type = Type); +void delete_QListWidgetItem(QListWidgetItem* obj) { delete obj; } + QBrush background(QListWidgetItem* theWrappedObject) const; + Qt::CheckState checkState(QListWidgetItem* theWrappedObject) const; + QListWidgetItem* clone(QListWidgetItem* theWrappedObject) const; + QVariant data(QListWidgetItem* theWrappedObject, int role) const; + Qt::ItemFlags flags(QListWidgetItem* theWrappedObject) const; + QFont font(QListWidgetItem* theWrappedObject) const; + QBrush foreground(QListWidgetItem* theWrappedObject) const; + QIcon icon(QListWidgetItem* theWrappedObject) const; + bool isHidden(QListWidgetItem* theWrappedObject) const; + bool isSelected(QListWidgetItem* theWrappedObject) const; + QListWidget* listWidget(QListWidgetItem* theWrappedObject) const; + void writeTo(QListWidgetItem* theWrappedObject, QDataStream& out); + void readFrom(QListWidgetItem* theWrappedObject, QDataStream& in); + void setBackground(QListWidgetItem* theWrappedObject, const QBrush& brush); + void setCheckState(QListWidgetItem* theWrappedObject, Qt::CheckState state); + void setData(QListWidgetItem* theWrappedObject, int role, const QVariant& value); + void setFlags(QListWidgetItem* theWrappedObject, Qt::ItemFlags flags); + void setFont(QListWidgetItem* theWrappedObject, const QFont& font); + void setForeground(QListWidgetItem* theWrappedObject, const QBrush& brush); + void setHidden(QListWidgetItem* theWrappedObject, bool hide); + void setIcon(QListWidgetItem* theWrappedObject, const QIcon& icon); + void setSelected(QListWidgetItem* theWrappedObject, bool select); + void setSizeHint(QListWidgetItem* theWrappedObject, const QSize& size); + void setStatusTip(QListWidgetItem* theWrappedObject, const QString& statusTip); + void setText(QListWidgetItem* theWrappedObject, const QString& text); + void setTextAlignment(QListWidgetItem* theWrappedObject, int alignment); + void setToolTip(QListWidgetItem* theWrappedObject, const QString& toolTip); + void setWhatsThis(QListWidgetItem* theWrappedObject, const QString& whatsThis); + QSize sizeHint(QListWidgetItem* theWrappedObject) const; + QString statusTip(QListWidgetItem* theWrappedObject) const; + QString text(QListWidgetItem* theWrappedObject) const; + int textAlignment(QListWidgetItem* theWrappedObject) const; + QString toolTip(QListWidgetItem* theWrappedObject) const; + int type(QListWidgetItem* theWrappedObject) const; + QString whatsThis(QListWidgetItem* theWrappedObject) const; +}; + + + + + +class PythonQtShell_QMainWindow : public QMainWindow +{ +public: + PythonQtShell_QMainWindow(QWidget* parent = 0, Qt::WindowFlags flags = 0):QMainWindow(parent, flags),_wrapper(NULL) {}; + +virtual void actionEvent(QActionEvent* arg__1); +virtual void changeEvent(QEvent* arg__1); +virtual void childEvent(QChildEvent* arg__1); +virtual void closeEvent(QCloseEvent* arg__1); +virtual void contextMenuEvent(QContextMenuEvent* event); +virtual QMenu* createPopupMenu(); +virtual void customEvent(QEvent* arg__1); +virtual int devType() const; +virtual void dragEnterEvent(QDragEnterEvent* arg__1); +virtual void dragLeaveEvent(QDragLeaveEvent* arg__1); +virtual void dragMoveEvent(QDragMoveEvent* arg__1); +virtual void dropEvent(QDropEvent* arg__1); +virtual void enterEvent(QEvent* arg__1); +virtual bool event(QEvent* event); +virtual bool eventFilter(QObject* arg__1, QEvent* arg__2); +virtual void focusInEvent(QFocusEvent* arg__1); +virtual bool focusNextPrevChild(bool next); +virtual void focusOutEvent(QFocusEvent* arg__1); +virtual int heightForWidth(int arg__1) const; +virtual void hideEvent(QHideEvent* arg__1); +virtual void inputMethodEvent(QInputMethodEvent* arg__1); +virtual QVariant inputMethodQuery(Qt::InputMethodQuery arg__1) const; +virtual void keyPressEvent(QKeyEvent* arg__1); +virtual void keyReleaseEvent(QKeyEvent* arg__1); +virtual void languageChange(); +virtual void leaveEvent(QEvent* arg__1); +virtual int metric(QPaintDevice::PaintDeviceMetric arg__1) const; +virtual QSize minimumSizeHint() const; +virtual void mouseDoubleClickEvent(QMouseEvent* arg__1); +virtual void mouseMoveEvent(QMouseEvent* arg__1); +virtual void mousePressEvent(QMouseEvent* arg__1); +virtual void mouseReleaseEvent(QMouseEvent* arg__1); +virtual void moveEvent(QMoveEvent* arg__1); +virtual QPaintEngine* paintEngine() const; +virtual void paintEvent(QPaintEvent* arg__1); +virtual void resizeEvent(QResizeEvent* arg__1); +virtual void showEvent(QShowEvent* arg__1); +virtual QSize sizeHint() const; +virtual void tabletEvent(QTabletEvent* arg__1); +virtual void timerEvent(QTimerEvent* arg__1); +virtual void wheelEvent(QWheelEvent* arg__1); + + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtPublicPromoter_QMainWindow : public QMainWindow +{ public: +inline void promoted_contextMenuEvent(QContextMenuEvent* event) { QMainWindow::contextMenuEvent(event); } +inline QMenu* promoted_createPopupMenu() { return QMainWindow::createPopupMenu(); } +inline bool promoted_event(QEvent* event) { return QMainWindow::event(event); } +}; + +class PythonQtWrapper_QMainWindow : public QObject +{ Q_OBJECT +public: +public slots: +QMainWindow* new_QMainWindow(QWidget* parent = 0, Qt::WindowFlags flags = 0); +void delete_QMainWindow(QMainWindow* obj) { delete obj; } + 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 contextMenuEvent(QMainWindow* theWrappedObject, QContextMenuEvent* event); + Qt::DockWidgetArea corner(QMainWindow* theWrappedObject, Qt::Corner corner) const; + QMenu* createPopupMenu(QMainWindow* theWrappedObject); + QMainWindow::DockOptions dockOptions(QMainWindow* theWrappedObject) const; + Qt::DockWidgetArea dockWidgetArea(QMainWindow* theWrappedObject, QDockWidget* dockwidget) const; + bool documentMode(QMainWindow* theWrappedObject) const; + bool event(QMainWindow* theWrappedObject, QEvent* 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); + 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 setUnifiedTitleAndToolBarOnMac(QMainWindow* theWrappedObject, bool set); + 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); + 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 __eq__(QMargins* theWrappedObject, const QMargins& m2); + 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(); } +}; + + diff --git a/generated_cpp_47/com_trolltech_qt_gui/com_trolltech_qt_gui5.cpp b/generated_cpp_47/com_trolltech_qt_gui/com_trolltech_qt_gui5.cpp new file mode 100644 index 00000000..8a225142 --- /dev/null +++ b/generated_cpp_47/com_trolltech_qt_gui/com_trolltech_qt_gui5.cpp @@ -0,0 +1,12800 @@ +#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 +#include +#include +#include +#include +#include +#include +#include + +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 qreal* values) +{ +return new QMatrix4x4(values); } + +QMatrix4x4* PythonQtWrapper_QMatrix4x4::new_QMatrix4x4(const qreal* values, int cols, int rows) +{ +return new QMatrix4x4(values, cols, rows); } + +QMatrix4x4* PythonQtWrapper_QMatrix4x4::new_QMatrix4x4(qreal m11, qreal m12, qreal m13, qreal m14, qreal m21, qreal m22, qreal m23, qreal m24, qreal m31, qreal m32, qreal m33, qreal m34, qreal m41, qreal m42, qreal m43, qreal 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 qreal* PythonQtWrapper_QMatrix4x4::constData(QMatrix4x4* theWrappedObject) const +{ + return ( theWrappedObject->constData()); +} + +void PythonQtWrapper_QMatrix4x4::copyDataTo(QMatrix4x4* theWrappedObject, qreal* values) const +{ + ( theWrappedObject->copyDataTo(values)); +} + +qreal* PythonQtWrapper_QMatrix4x4::data(QMatrix4x4* theWrappedObject) +{ + return ( theWrappedObject->data()); +} + +qreal PythonQtWrapper_QMatrix4x4::determinant(QMatrix4x4* theWrappedObject) const +{ + return ( theWrappedObject->determinant()); +} + +void PythonQtWrapper_QMatrix4x4::fill(QMatrix4x4* theWrappedObject, qreal value) +{ + ( theWrappedObject->fill(value)); +} + +void PythonQtWrapper_QMatrix4x4::flipCoordinates(QMatrix4x4* theWrappedObject) +{ + ( theWrappedObject->flipCoordinates()); +} + +void PythonQtWrapper_QMatrix4x4::frustum(QMatrix4x4* theWrappedObject, qreal left, qreal right, qreal bottom, qreal top, qreal nearPlane, qreal 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::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); +} + +qreal* 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, qreal factor) +{ + return ( (*theWrappedObject)* factor); +} + +QMatrix4x4* PythonQtWrapper_QMatrix4x4::__imul__(QMatrix4x4* theWrappedObject, const QMatrix4x4& other) +{ + return &( (*theWrappedObject)*= other); +} + +QMatrix4x4* PythonQtWrapper_QMatrix4x4::__imul__(QMatrix4x4* theWrappedObject, qreal 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, qreal divisor) +{ + return ( (*theWrappedObject)/ divisor); +} + +QMatrix4x4* PythonQtWrapper_QMatrix4x4::__idiv__(QMatrix4x4* theWrappedObject, qreal 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, qreal left, qreal right, qreal bottom, qreal top, qreal nearPlane, qreal farPlane) +{ + ( theWrappedObject->ortho(left, right, bottom, top, nearPlane, farPlane)); +} + +void PythonQtWrapper_QMatrix4x4::perspective(QMatrix4x4* theWrappedObject, qreal angle, qreal aspect, qreal nearPlane, qreal farPlane) +{ + ( theWrappedObject->perspective(angle, aspect, nearPlane, farPlane)); +} + +void PythonQtWrapper_QMatrix4x4::rotate(QMatrix4x4* theWrappedObject, const QQuaternion& quaternion) +{ + ( theWrappedObject->rotate(quaternion)); +} + +void PythonQtWrapper_QMatrix4x4::rotate(QMatrix4x4* theWrappedObject, qreal angle, const QVector3D& vector) +{ + ( theWrappedObject->rotate(angle, vector)); +} + +void PythonQtWrapper_QMatrix4x4::rotate(QMatrix4x4* theWrappedObject, qreal angle, qreal x, qreal y, qreal 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, qreal factor) +{ + ( theWrappedObject->scale(factor)); +} + +void PythonQtWrapper_QMatrix4x4::scale(QMatrix4x4* theWrappedObject, qreal x, qreal y) +{ + ( theWrappedObject->scale(x, y)); +} + +void PythonQtWrapper_QMatrix4x4::scale(QMatrix4x4* theWrappedObject, qreal x, qreal y, qreal 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, qreal distanceToPlane) const +{ + return ( theWrappedObject->toTransform(distanceToPlane)); +} + +void PythonQtWrapper_QMatrix4x4::translate(QMatrix4x4* theWrappedObject, const QVector3D& vector) +{ + ( theWrappedObject->translate(vector)); +} + +void PythonQtWrapper_QMatrix4x4::translate(QMatrix4x4* theWrappedObject, qreal x, qreal y) +{ + ( theWrappedObject->translate(x, y)); +} + +void PythonQtWrapper_QMatrix4x4::translate(QMatrix4x4* theWrappedObject, qreal x, qreal y, qreal z) +{ + ( theWrappedObject->translate(x, y, z)); +} + +QMatrix4x4 PythonQtWrapper_QMatrix4x4::transposed(QMatrix4x4* theWrappedObject) const +{ + return ( theWrappedObject->transposed()); +} + +QString PythonQtWrapper_QMatrix4x4::py_toString(QMatrix4x4* obj) { + QString result; + QDebug d(&result); + d << *obj; + return result; +} + + + +void PythonQtShell_QMdiArea::actionEvent(QActionEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "actionEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QActionEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QMdiArea::actionEvent(arg__1); +} +void PythonQtShell_QMdiArea::changeEvent(QEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "changeEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QMdiArea::changeEvent(arg__1); +} +void PythonQtShell_QMdiArea::childEvent(QChildEvent* childEvent) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "childEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QChildEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&childEvent}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QMdiArea::childEvent(childEvent); +} +void PythonQtShell_QMdiArea::closeEvent(QCloseEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "closeEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QCloseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QMdiArea::closeEvent(arg__1); +} +void PythonQtShell_QMdiArea::contextMenuEvent(QContextMenuEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "contextMenuEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QContextMenuEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QMdiArea::contextMenuEvent(arg__1); +} +void PythonQtShell_QMdiArea::customEvent(QEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "customEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QMdiArea::customEvent(arg__1); +} +int PythonQtShell_QMdiArea::devType() const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "devType"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + int returnValue; + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("devType", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QMdiArea::devType(); +} +void PythonQtShell_QMdiArea::dragEnterEvent(QDragEnterEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dragEnterEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QDragEnterEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QMdiArea::dragEnterEvent(arg__1); +} +void PythonQtShell_QMdiArea::dragLeaveEvent(QDragLeaveEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dragLeaveEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QDragLeaveEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QMdiArea::dragLeaveEvent(arg__1); +} +void PythonQtShell_QMdiArea::dragMoveEvent(QDragMoveEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dragMoveEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QDragMoveEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QMdiArea::dragMoveEvent(arg__1); +} +void PythonQtShell_QMdiArea::dropEvent(QDropEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dropEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QDropEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QMdiArea::dropEvent(arg__1); +} +void PythonQtShell_QMdiArea::enterEvent(QEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "enterEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QMdiArea::enterEvent(arg__1); +} +bool PythonQtShell_QMdiArea::event(QEvent* event) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "event"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue; + void* args[2] = {NULL, (void*)&event}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QMdiArea::event(event); +} +bool PythonQtShell_QMdiArea::eventFilter(QObject* object, QEvent* event) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "eventFilter"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue; + void* args[3] = {NULL, (void*)&object, (void*)&event}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QMdiArea::eventFilter(object, event); +} +void PythonQtShell_QMdiArea::focusInEvent(QFocusEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "focusInEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QFocusEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QMdiArea::focusInEvent(arg__1); +} +bool PythonQtShell_QMdiArea::focusNextPrevChild(bool next) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "focusNextPrevChild"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue; + void* args[2] = {NULL, (void*)&next}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("focusNextPrevChild", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QMdiArea::focusNextPrevChild(next); +} +void PythonQtShell_QMdiArea::focusOutEvent(QFocusEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "focusOutEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QFocusEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QMdiArea::focusOutEvent(arg__1); +} +int PythonQtShell_QMdiArea::heightForWidth(int arg__1) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "heightForWidth"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"int" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + int returnValue; + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("heightForWidth", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QMdiArea::heightForWidth(arg__1); +} +void PythonQtShell_QMdiArea::hideEvent(QHideEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "hideEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QHideEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QMdiArea::hideEvent(arg__1); +} +void PythonQtShell_QMdiArea::inputMethodEvent(QInputMethodEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "inputMethodEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QInputMethodEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QMdiArea::inputMethodEvent(arg__1); +} +QVariant PythonQtShell_QMdiArea::inputMethodQuery(Qt::InputMethodQuery arg__1) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "inputMethodQuery"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QVariant" , "Qt::InputMethodQuery"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + QVariant returnValue; + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result); + } else { + returnValue = *((QVariant*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QMdiArea::inputMethodQuery(arg__1); +} +void PythonQtShell_QMdiArea::keyPressEvent(QKeyEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "keyPressEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QKeyEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QMdiArea::keyPressEvent(arg__1); +} +void PythonQtShell_QMdiArea::keyReleaseEvent(QKeyEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "keyReleaseEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QKeyEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QMdiArea::keyReleaseEvent(arg__1); +} +void PythonQtShell_QMdiArea::languageChange() +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "languageChange"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={""}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QMdiArea::languageChange(); +} +void PythonQtShell_QMdiArea::leaveEvent(QEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "leaveEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QMdiArea::leaveEvent(arg__1); +} +int PythonQtShell_QMdiArea::metric(QPaintDevice::PaintDeviceMetric arg__1) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "metric"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + int returnValue; + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("metric", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QMdiArea::metric(arg__1); +} +void PythonQtShell_QMdiArea::mouseDoubleClickEvent(QMouseEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mouseDoubleClickEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QMdiArea::mouseDoubleClickEvent(arg__1); +} +void PythonQtShell_QMdiArea::mouseMoveEvent(QMouseEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mouseMoveEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QMdiArea::mouseMoveEvent(arg__1); +} +void PythonQtShell_QMdiArea::mousePressEvent(QMouseEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mousePressEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QMdiArea::mousePressEvent(arg__1); +} +void PythonQtShell_QMdiArea::mouseReleaseEvent(QMouseEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mouseReleaseEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QMdiArea::mouseReleaseEvent(arg__1); +} +void PythonQtShell_QMdiArea::moveEvent(QMoveEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "moveEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QMoveEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QMdiArea::moveEvent(arg__1); +} +QPaintEngine* PythonQtShell_QMdiArea::paintEngine() const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "paintEngine"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QPaintEngine*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QPaintEngine* returnValue; + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); + } else { + returnValue = *((QPaintEngine**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QMdiArea::paintEngine(); +} +void PythonQtShell_QMdiArea::paintEvent(QPaintEvent* paintEvent) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "paintEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QPaintEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&paintEvent}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QMdiArea::paintEvent(paintEvent); +} +void PythonQtShell_QMdiArea::resizeEvent(QResizeEvent* resizeEvent) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "resizeEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QResizeEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&resizeEvent}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QMdiArea::resizeEvent(resizeEvent); +} +void PythonQtShell_QMdiArea::scrollContentsBy(int dx, int dy) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "scrollContentsBy"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "int" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + void* args[3] = {NULL, (void*)&dx, (void*)&dy}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QMdiArea::scrollContentsBy(dx, dy); +} +void PythonQtShell_QMdiArea::showEvent(QShowEvent* showEvent) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "showEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QShowEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&showEvent}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QMdiArea::showEvent(showEvent); +} +void PythonQtShell_QMdiArea::tabletEvent(QTabletEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "tabletEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QTabletEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QMdiArea::tabletEvent(arg__1); +} +void PythonQtShell_QMdiArea::timerEvent(QTimerEvent* timerEvent) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "timerEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QTimerEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&timerEvent}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QMdiArea::timerEvent(timerEvent); +} +bool PythonQtShell_QMdiArea::viewportEvent(QEvent* event) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "viewportEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue; + void* args[2] = {NULL, (void*)&event}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("viewportEvent", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QMdiArea::viewportEvent(event); +} +void PythonQtShell_QMdiArea::wheelEvent(QWheelEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "wheelEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QWheelEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QMdiArea::wheelEvent(arg__1); +} +QMdiArea* PythonQtWrapper_QMdiArea::new_QMdiArea(QWidget* parent) +{ +return new PythonQtShell_QMdiArea(parent); } + +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()); +} + +bool PythonQtWrapper_QMdiArea::event(QMdiArea* theWrappedObject, QEvent* event) +{ + return ( ((PythonQtPublicPromoter_QMdiArea*)theWrappedObject)->promoted_event(event)); +} + +bool PythonQtWrapper_QMdiArea::eventFilter(QMdiArea* theWrappedObject, QObject* object, QEvent* event) +{ + return ( ((PythonQtPublicPromoter_QMdiArea*)theWrappedObject)->promoted_eventFilter(object, event)); +} + +QSize PythonQtWrapper_QMdiArea::minimumSizeHint(QMdiArea* theWrappedObject) const +{ + return ( theWrappedObject->minimumSizeHint()); +} + +void PythonQtWrapper_QMdiArea::paintEvent(QMdiArea* theWrappedObject, QPaintEvent* paintEvent) +{ + ( ((PythonQtPublicPromoter_QMdiArea*)theWrappedObject)->promoted_paintEvent(paintEvent)); +} + +void PythonQtWrapper_QMdiArea::removeSubWindow(QMdiArea* theWrappedObject, QWidget* widget) +{ + ( theWrappedObject->removeSubWindow(widget)); +} + +void PythonQtWrapper_QMdiArea::resizeEvent(QMdiArea* theWrappedObject, QResizeEvent* resizeEvent) +{ + ( ((PythonQtPublicPromoter_QMdiArea*)theWrappedObject)->promoted_resizeEvent(resizeEvent)); +} + +void PythonQtWrapper_QMdiArea::scrollContentsBy(QMdiArea* theWrappedObject, int dx, int dy) +{ + ( ((PythonQtPublicPromoter_QMdiArea*)theWrappedObject)->promoted_scrollContentsBy(dx, dy)); +} + +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::setViewMode(QMdiArea* theWrappedObject, QMdiArea::ViewMode mode) +{ + ( theWrappedObject->setViewMode(mode)); +} + +void PythonQtWrapper_QMdiArea::showEvent(QMdiArea* theWrappedObject, QShowEvent* showEvent) +{ + ( ((PythonQtPublicPromoter_QMdiArea*)theWrappedObject)->promoted_showEvent(showEvent)); +} + +QSize PythonQtWrapper_QMdiArea::sizeHint(QMdiArea* theWrappedObject) const +{ + return ( theWrappedObject->sizeHint()); +} + +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::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()); +} + +bool PythonQtWrapper_QMdiArea::viewportEvent(QMdiArea* theWrappedObject, QEvent* event) +{ + return ( ((PythonQtPublicPromoter_QMdiArea*)theWrappedObject)->promoted_viewportEvent(event)); +} + + + +void PythonQtShell_QMdiSubWindow::actionEvent(QActionEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "actionEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QActionEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QMdiSubWindow::actionEvent(arg__1); +} +void PythonQtShell_QMdiSubWindow::changeEvent(QEvent* changeEvent) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "changeEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&changeEvent}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QMdiSubWindow::changeEvent(changeEvent); +} +void PythonQtShell_QMdiSubWindow::childEvent(QChildEvent* childEvent) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "childEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QChildEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&childEvent}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QMdiSubWindow::childEvent(childEvent); +} +void PythonQtShell_QMdiSubWindow::closeEvent(QCloseEvent* closeEvent) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "closeEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QCloseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&closeEvent}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QMdiSubWindow::closeEvent(closeEvent); +} +void PythonQtShell_QMdiSubWindow::contextMenuEvent(QContextMenuEvent* contextMenuEvent) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "contextMenuEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QContextMenuEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&contextMenuEvent}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QMdiSubWindow::contextMenuEvent(contextMenuEvent); +} +void PythonQtShell_QMdiSubWindow::customEvent(QEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "customEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QMdiSubWindow::customEvent(arg__1); +} +int PythonQtShell_QMdiSubWindow::devType() const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "devType"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + int returnValue; + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("devType", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QMdiSubWindow::devType(); +} +void PythonQtShell_QMdiSubWindow::dragEnterEvent(QDragEnterEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dragEnterEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QDragEnterEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QMdiSubWindow::dragEnterEvent(arg__1); +} +void PythonQtShell_QMdiSubWindow::dragLeaveEvent(QDragLeaveEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dragLeaveEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QDragLeaveEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QMdiSubWindow::dragLeaveEvent(arg__1); +} +void PythonQtShell_QMdiSubWindow::dragMoveEvent(QDragMoveEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dragMoveEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QDragMoveEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QMdiSubWindow::dragMoveEvent(arg__1); +} +void PythonQtShell_QMdiSubWindow::dropEvent(QDropEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dropEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QDropEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QMdiSubWindow::dropEvent(arg__1); +} +void PythonQtShell_QMdiSubWindow::enterEvent(QEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "enterEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QMdiSubWindow::enterEvent(arg__1); +} +bool PythonQtShell_QMdiSubWindow::event(QEvent* event) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "event"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue; + void* args[2] = {NULL, (void*)&event}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QMdiSubWindow::event(event); +} +bool PythonQtShell_QMdiSubWindow::eventFilter(QObject* object, QEvent* event) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "eventFilter"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue; + void* args[3] = {NULL, (void*)&object, (void*)&event}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QMdiSubWindow::eventFilter(object, event); +} +void PythonQtShell_QMdiSubWindow::focusInEvent(QFocusEvent* focusInEvent) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "focusInEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QFocusEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&focusInEvent}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QMdiSubWindow::focusInEvent(focusInEvent); +} +bool PythonQtShell_QMdiSubWindow::focusNextPrevChild(bool next) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "focusNextPrevChild"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue; + void* args[2] = {NULL, (void*)&next}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("focusNextPrevChild", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QMdiSubWindow::focusNextPrevChild(next); +} +void PythonQtShell_QMdiSubWindow::focusOutEvent(QFocusEvent* focusOutEvent) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "focusOutEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QFocusEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&focusOutEvent}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QMdiSubWindow::focusOutEvent(focusOutEvent); +} +int PythonQtShell_QMdiSubWindow::heightForWidth(int arg__1) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "heightForWidth"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"int" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + int returnValue; + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("heightForWidth", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QMdiSubWindow::heightForWidth(arg__1); +} +void PythonQtShell_QMdiSubWindow::hideEvent(QHideEvent* hideEvent) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "hideEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QHideEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&hideEvent}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QMdiSubWindow::hideEvent(hideEvent); +} +void PythonQtShell_QMdiSubWindow::inputMethodEvent(QInputMethodEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "inputMethodEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QInputMethodEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QMdiSubWindow::inputMethodEvent(arg__1); +} +QVariant PythonQtShell_QMdiSubWindow::inputMethodQuery(Qt::InputMethodQuery arg__1) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "inputMethodQuery"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QVariant" , "Qt::InputMethodQuery"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + QVariant returnValue; + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result); + } else { + returnValue = *((QVariant*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QMdiSubWindow::inputMethodQuery(arg__1); +} +void PythonQtShell_QMdiSubWindow::keyPressEvent(QKeyEvent* keyEvent) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "keyPressEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QKeyEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&keyEvent}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QMdiSubWindow::keyPressEvent(keyEvent); +} +void PythonQtShell_QMdiSubWindow::keyReleaseEvent(QKeyEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "keyReleaseEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QKeyEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QMdiSubWindow::keyReleaseEvent(arg__1); +} +void PythonQtShell_QMdiSubWindow::languageChange() +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "languageChange"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={""}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QMdiSubWindow::languageChange(); +} +void PythonQtShell_QMdiSubWindow::leaveEvent(QEvent* leaveEvent) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "leaveEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&leaveEvent}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QMdiSubWindow::leaveEvent(leaveEvent); +} +int PythonQtShell_QMdiSubWindow::metric(QPaintDevice::PaintDeviceMetric arg__1) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "metric"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + int returnValue; + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("metric", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QMdiSubWindow::metric(arg__1); +} +void PythonQtShell_QMdiSubWindow::mouseDoubleClickEvent(QMouseEvent* mouseEvent) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mouseDoubleClickEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&mouseEvent}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QMdiSubWindow::mouseDoubleClickEvent(mouseEvent); +} +void PythonQtShell_QMdiSubWindow::mouseMoveEvent(QMouseEvent* mouseEvent) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mouseMoveEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&mouseEvent}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QMdiSubWindow::mouseMoveEvent(mouseEvent); +} +void PythonQtShell_QMdiSubWindow::mousePressEvent(QMouseEvent* mouseEvent) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mousePressEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&mouseEvent}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QMdiSubWindow::mousePressEvent(mouseEvent); +} +void PythonQtShell_QMdiSubWindow::mouseReleaseEvent(QMouseEvent* mouseEvent) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mouseReleaseEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&mouseEvent}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QMdiSubWindow::mouseReleaseEvent(mouseEvent); +} +void PythonQtShell_QMdiSubWindow::moveEvent(QMoveEvent* moveEvent) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "moveEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QMoveEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&moveEvent}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QMdiSubWindow::moveEvent(moveEvent); +} +QPaintEngine* PythonQtShell_QMdiSubWindow::paintEngine() const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "paintEngine"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QPaintEngine*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QPaintEngine* returnValue; + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); + } else { + returnValue = *((QPaintEngine**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QMdiSubWindow::paintEngine(); +} +void PythonQtShell_QMdiSubWindow::paintEvent(QPaintEvent* paintEvent) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "paintEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QPaintEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&paintEvent}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QMdiSubWindow::paintEvent(paintEvent); +} +void PythonQtShell_QMdiSubWindow::resizeEvent(QResizeEvent* resizeEvent) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "resizeEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QResizeEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&resizeEvent}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QMdiSubWindow::resizeEvent(resizeEvent); +} +void PythonQtShell_QMdiSubWindow::showEvent(QShowEvent* showEvent) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "showEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QShowEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&showEvent}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QMdiSubWindow::showEvent(showEvent); +} +void PythonQtShell_QMdiSubWindow::tabletEvent(QTabletEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "tabletEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QTabletEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QMdiSubWindow::tabletEvent(arg__1); +} +void PythonQtShell_QMdiSubWindow::timerEvent(QTimerEvent* timerEvent) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "timerEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QTimerEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&timerEvent}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QMdiSubWindow::timerEvent(timerEvent); +} +void PythonQtShell_QMdiSubWindow::wheelEvent(QWheelEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "wheelEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QWheelEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QMdiSubWindow::wheelEvent(arg__1); +} +QMdiSubWindow* PythonQtWrapper_QMdiSubWindow::new_QMdiSubWindow(QWidget* parent, Qt::WindowFlags flags) +{ +return new PythonQtShell_QMdiSubWindow(parent, flags); } + +void PythonQtWrapper_QMdiSubWindow::changeEvent(QMdiSubWindow* theWrappedObject, QEvent* changeEvent) +{ + ( ((PythonQtPublicPromoter_QMdiSubWindow*)theWrappedObject)->promoted_changeEvent(changeEvent)); +} + +void PythonQtWrapper_QMdiSubWindow::childEvent(QMdiSubWindow* theWrappedObject, QChildEvent* childEvent) +{ + ( ((PythonQtPublicPromoter_QMdiSubWindow*)theWrappedObject)->promoted_childEvent(childEvent)); +} + +void PythonQtWrapper_QMdiSubWindow::closeEvent(QMdiSubWindow* theWrappedObject, QCloseEvent* closeEvent) +{ + ( ((PythonQtPublicPromoter_QMdiSubWindow*)theWrappedObject)->promoted_closeEvent(closeEvent)); +} + +void PythonQtWrapper_QMdiSubWindow::contextMenuEvent(QMdiSubWindow* theWrappedObject, QContextMenuEvent* contextMenuEvent) +{ + ( ((PythonQtPublicPromoter_QMdiSubWindow*)theWrappedObject)->promoted_contextMenuEvent(contextMenuEvent)); +} + +bool PythonQtWrapper_QMdiSubWindow::event(QMdiSubWindow* theWrappedObject, QEvent* event) +{ + return ( ((PythonQtPublicPromoter_QMdiSubWindow*)theWrappedObject)->promoted_event(event)); +} + +bool PythonQtWrapper_QMdiSubWindow::eventFilter(QMdiSubWindow* theWrappedObject, QObject* object, QEvent* event) +{ + return ( ((PythonQtPublicPromoter_QMdiSubWindow*)theWrappedObject)->promoted_eventFilter(object, event)); +} + +void PythonQtWrapper_QMdiSubWindow::focusInEvent(QMdiSubWindow* theWrappedObject, QFocusEvent* focusInEvent) +{ + ( ((PythonQtPublicPromoter_QMdiSubWindow*)theWrappedObject)->promoted_focusInEvent(focusInEvent)); +} + +void PythonQtWrapper_QMdiSubWindow::focusOutEvent(QMdiSubWindow* theWrappedObject, QFocusEvent* focusOutEvent) +{ + ( ((PythonQtPublicPromoter_QMdiSubWindow*)theWrappedObject)->promoted_focusOutEvent(focusOutEvent)); +} + +void PythonQtWrapper_QMdiSubWindow::hideEvent(QMdiSubWindow* theWrappedObject, QHideEvent* hideEvent) +{ + ( ((PythonQtPublicPromoter_QMdiSubWindow*)theWrappedObject)->promoted_hideEvent(hideEvent)); +} + +bool PythonQtWrapper_QMdiSubWindow::isShaded(QMdiSubWindow* theWrappedObject) const +{ + return ( theWrappedObject->isShaded()); +} + +void PythonQtWrapper_QMdiSubWindow::keyPressEvent(QMdiSubWindow* theWrappedObject, QKeyEvent* keyEvent) +{ + ( ((PythonQtPublicPromoter_QMdiSubWindow*)theWrappedObject)->promoted_keyPressEvent(keyEvent)); +} + +int PythonQtWrapper_QMdiSubWindow::keyboardPageStep(QMdiSubWindow* theWrappedObject) const +{ + return ( theWrappedObject->keyboardPageStep()); +} + +int PythonQtWrapper_QMdiSubWindow::keyboardSingleStep(QMdiSubWindow* theWrappedObject) const +{ + return ( theWrappedObject->keyboardSingleStep()); +} + +void PythonQtWrapper_QMdiSubWindow::leaveEvent(QMdiSubWindow* theWrappedObject, QEvent* leaveEvent) +{ + ( ((PythonQtPublicPromoter_QMdiSubWindow*)theWrappedObject)->promoted_leaveEvent(leaveEvent)); +} + +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::mouseDoubleClickEvent(QMdiSubWindow* theWrappedObject, QMouseEvent* mouseEvent) +{ + ( ((PythonQtPublicPromoter_QMdiSubWindow*)theWrappedObject)->promoted_mouseDoubleClickEvent(mouseEvent)); +} + +void PythonQtWrapper_QMdiSubWindow::mouseMoveEvent(QMdiSubWindow* theWrappedObject, QMouseEvent* mouseEvent) +{ + ( ((PythonQtPublicPromoter_QMdiSubWindow*)theWrappedObject)->promoted_mouseMoveEvent(mouseEvent)); +} + +void PythonQtWrapper_QMdiSubWindow::mousePressEvent(QMdiSubWindow* theWrappedObject, QMouseEvent* mouseEvent) +{ + ( ((PythonQtPublicPromoter_QMdiSubWindow*)theWrappedObject)->promoted_mousePressEvent(mouseEvent)); +} + +void PythonQtWrapper_QMdiSubWindow::mouseReleaseEvent(QMdiSubWindow* theWrappedObject, QMouseEvent* mouseEvent) +{ + ( ((PythonQtPublicPromoter_QMdiSubWindow*)theWrappedObject)->promoted_mouseReleaseEvent(mouseEvent)); +} + +void PythonQtWrapper_QMdiSubWindow::moveEvent(QMdiSubWindow* theWrappedObject, QMoveEvent* moveEvent) +{ + ( ((PythonQtPublicPromoter_QMdiSubWindow*)theWrappedObject)->promoted_moveEvent(moveEvent)); +} + +void PythonQtWrapper_QMdiSubWindow::paintEvent(QMdiSubWindow* theWrappedObject, QPaintEvent* paintEvent) +{ + ( ((PythonQtPublicPromoter_QMdiSubWindow*)theWrappedObject)->promoted_paintEvent(paintEvent)); +} + +void PythonQtWrapper_QMdiSubWindow::resizeEvent(QMdiSubWindow* theWrappedObject, QResizeEvent* resizeEvent) +{ + ( ((PythonQtPublicPromoter_QMdiSubWindow*)theWrappedObject)->promoted_resizeEvent(resizeEvent)); +} + +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)); +} + +void PythonQtWrapper_QMdiSubWindow::showEvent(QMdiSubWindow* theWrappedObject, QShowEvent* showEvent) +{ + ( ((PythonQtPublicPromoter_QMdiSubWindow*)theWrappedObject)->promoted_showEvent(showEvent)); +} + +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()); +} + + + +void PythonQtShell_QMenu::actionEvent(QActionEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "actionEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QActionEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QMenu::actionEvent(arg__1); +} +void PythonQtShell_QMenu::changeEvent(QEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "changeEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QMenu::changeEvent(arg__1); +} +void PythonQtShell_QMenu::childEvent(QChildEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "childEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QChildEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QMenu::childEvent(arg__1); +} +void PythonQtShell_QMenu::closeEvent(QCloseEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "closeEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QCloseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QMenu::closeEvent(arg__1); +} +void PythonQtShell_QMenu::contextMenuEvent(QContextMenuEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "contextMenuEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QContextMenuEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QMenu::contextMenuEvent(arg__1); +} +void PythonQtShell_QMenu::customEvent(QEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "customEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QMenu::customEvent(arg__1); +} +int PythonQtShell_QMenu::devType() const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "devType"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + int returnValue; + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("devType", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QMenu::devType(); +} +void PythonQtShell_QMenu::dragEnterEvent(QDragEnterEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dragEnterEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QDragEnterEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QMenu::dragEnterEvent(arg__1); +} +void PythonQtShell_QMenu::dragLeaveEvent(QDragLeaveEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dragLeaveEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QDragLeaveEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QMenu::dragLeaveEvent(arg__1); +} +void PythonQtShell_QMenu::dragMoveEvent(QDragMoveEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dragMoveEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QDragMoveEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QMenu::dragMoveEvent(arg__1); +} +void PythonQtShell_QMenu::dropEvent(QDropEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dropEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QDropEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QMenu::dropEvent(arg__1); +} +void PythonQtShell_QMenu::enterEvent(QEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "enterEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QMenu::enterEvent(arg__1); +} +bool PythonQtShell_QMenu::event(QEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "event"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue; + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QMenu::event(arg__1); +} +bool PythonQtShell_QMenu::eventFilter(QObject* arg__1, QEvent* arg__2) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "eventFilter"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue; + void* args[3] = {NULL, (void*)&arg__1, (void*)&arg__2}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QMenu::eventFilter(arg__1, arg__2); +} +void PythonQtShell_QMenu::focusInEvent(QFocusEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "focusInEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QFocusEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QMenu::focusInEvent(arg__1); +} +bool PythonQtShell_QMenu::focusNextPrevChild(bool next) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "focusNextPrevChild"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue; + void* args[2] = {NULL, (void*)&next}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("focusNextPrevChild", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QMenu::focusNextPrevChild(next); +} +void PythonQtShell_QMenu::focusOutEvent(QFocusEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "focusOutEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QFocusEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QMenu::focusOutEvent(arg__1); +} +int PythonQtShell_QMenu::heightForWidth(int arg__1) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "heightForWidth"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"int" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + int returnValue; + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("heightForWidth", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QMenu::heightForWidth(arg__1); +} +void PythonQtShell_QMenu::hideEvent(QHideEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "hideEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QHideEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QMenu::hideEvent(arg__1); +} +void PythonQtShell_QMenu::inputMethodEvent(QInputMethodEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "inputMethodEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QInputMethodEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QMenu::inputMethodEvent(arg__1); +} +QVariant PythonQtShell_QMenu::inputMethodQuery(Qt::InputMethodQuery arg__1) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "inputMethodQuery"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QVariant" , "Qt::InputMethodQuery"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + QVariant returnValue; + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result); + } else { + returnValue = *((QVariant*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QMenu::inputMethodQuery(arg__1); +} +void PythonQtShell_QMenu::keyPressEvent(QKeyEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "keyPressEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QKeyEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QMenu::keyPressEvent(arg__1); +} +void PythonQtShell_QMenu::keyReleaseEvent(QKeyEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "keyReleaseEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QKeyEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QMenu::keyReleaseEvent(arg__1); +} +void PythonQtShell_QMenu::languageChange() +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "languageChange"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={""}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QMenu::languageChange(); +} +void PythonQtShell_QMenu::leaveEvent(QEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "leaveEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QMenu::leaveEvent(arg__1); +} +int PythonQtShell_QMenu::metric(QPaintDevice::PaintDeviceMetric arg__1) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "metric"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + int returnValue; + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("metric", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QMenu::metric(arg__1); +} +QSize PythonQtShell_QMenu::minimumSizeHint() const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "getMinimumSizeHint"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QSize"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QSize returnValue; + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("getMinimumSizeHint", methodInfo, result); + } else { + returnValue = *((QSize*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QMenu::minimumSizeHint(); +} +void PythonQtShell_QMenu::mouseDoubleClickEvent(QMouseEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mouseDoubleClickEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QMenu::mouseDoubleClickEvent(arg__1); +} +void PythonQtShell_QMenu::mouseMoveEvent(QMouseEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mouseMoveEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QMenu::mouseMoveEvent(arg__1); +} +void PythonQtShell_QMenu::mousePressEvent(QMouseEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mousePressEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QMenu::mousePressEvent(arg__1); +} +void PythonQtShell_QMenu::mouseReleaseEvent(QMouseEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mouseReleaseEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QMenu::mouseReleaseEvent(arg__1); +} +void PythonQtShell_QMenu::moveEvent(QMoveEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "moveEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QMoveEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QMenu::moveEvent(arg__1); +} +QPaintEngine* PythonQtShell_QMenu::paintEngine() const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "paintEngine"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QPaintEngine*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QPaintEngine* returnValue; + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); + } else { + returnValue = *((QPaintEngine**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QMenu::paintEngine(); +} +void PythonQtShell_QMenu::paintEvent(QPaintEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "paintEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QPaintEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QMenu::paintEvent(arg__1); +} +void PythonQtShell_QMenu::resizeEvent(QResizeEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "resizeEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QResizeEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QMenu::resizeEvent(arg__1); +} +void PythonQtShell_QMenu::showEvent(QShowEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "showEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QShowEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QMenu::showEvent(arg__1); +} +void PythonQtShell_QMenu::tabletEvent(QTabletEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "tabletEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QTabletEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QMenu::tabletEvent(arg__1); +} +void PythonQtShell_QMenu::timerEvent(QTimerEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "timerEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QTimerEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QMenu::timerEvent(arg__1); +} +void PythonQtShell_QMenu::wheelEvent(QWheelEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "wheelEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QWheelEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QMenu::wheelEvent(arg__1); +} +QMenu* PythonQtWrapper_QMenu::new_QMenu(QWidget* parent) +{ +return new PythonQtShell_QMenu(parent); } + +QMenu* PythonQtWrapper_QMenu::new_QMenu(const QString& title, QWidget* parent) +{ +return new PythonQtShell_QMenu(title, parent); } + +QAction* PythonQtWrapper_QMenu::actionAt(QMenu* theWrappedObject, const QPoint& arg__1) const +{ + return ( theWrappedObject->actionAt(arg__1)); +} + +void PythonQtWrapper_QMenu::actionEvent(QMenu* theWrappedObject, QActionEvent* arg__1) +{ + ( ((PythonQtPublicPromoter_QMenu*)theWrappedObject)->promoted_actionEvent(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()); +} + +void PythonQtWrapper_QMenu::addAction(QMenu* theWrappedObject, QAction* action) +{ + ( theWrappedObject->addAction(action)); +} + +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::addSeparator(QMenu* theWrappedObject) +{ + return ( theWrappedObject->addSeparator()); +} + +void PythonQtWrapper_QMenu::changeEvent(QMenu* theWrappedObject, QEvent* arg__1) +{ + ( ((PythonQtPublicPromoter_QMenu*)theWrappedObject)->promoted_changeEvent(arg__1)); +} + +void PythonQtWrapper_QMenu::clear(QMenu* theWrappedObject) +{ + ( theWrappedObject->clear()); +} + +QAction* PythonQtWrapper_QMenu::defaultAction(QMenu* theWrappedObject) const +{ + return ( theWrappedObject->defaultAction()); +} + +void PythonQtWrapper_QMenu::enterEvent(QMenu* theWrappedObject, QEvent* arg__1) +{ + ( ((PythonQtPublicPromoter_QMenu*)theWrappedObject)->promoted_enterEvent(arg__1)); +} + +bool PythonQtWrapper_QMenu::event(QMenu* theWrappedObject, QEvent* arg__1) +{ + return ( ((PythonQtPublicPromoter_QMenu*)theWrappedObject)->promoted_event(arg__1)); +} + +QAction* PythonQtWrapper_QMenu::exec(QMenu* theWrappedObject) +{ + return ( theWrappedObject->exec()); +} + +QAction* PythonQtWrapper_QMenu::static_QMenu_exec(QList actions, const QPoint& pos, QAction* at) +{ + return (QMenu::exec(actions, pos, at)); +} + +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)); +} + +bool PythonQtWrapper_QMenu::focusNextPrevChild(QMenu* theWrappedObject, bool next) +{ + return ( ((PythonQtPublicPromoter_QMenu*)theWrappedObject)->promoted_focusNextPrevChild(next)); +} + +void PythonQtWrapper_QMenu::hideEvent(QMenu* theWrappedObject, QHideEvent* arg__1) +{ + ( ((PythonQtPublicPromoter_QMenu*)theWrappedObject)->promoted_hideEvent(arg__1)); +} + +void PythonQtWrapper_QMenu::hideTearOffMenu(QMenu* theWrappedObject) +{ + ( theWrappedObject->hideTearOffMenu()); +} + +QIcon PythonQtWrapper_QMenu::icon(QMenu* theWrappedObject) const +{ + return ( theWrappedObject->icon()); +} + +QAction* PythonQtWrapper_QMenu::insertMenu(QMenu* theWrappedObject, QAction* before, QMenu* menu) +{ + return ( theWrappedObject->insertMenu(before, menu)); +} + +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()); +} + +void PythonQtWrapper_QMenu::keyPressEvent(QMenu* theWrappedObject, QKeyEvent* arg__1) +{ + ( ((PythonQtPublicPromoter_QMenu*)theWrappedObject)->promoted_keyPressEvent(arg__1)); +} + +void PythonQtWrapper_QMenu::leaveEvent(QMenu* theWrappedObject, QEvent* arg__1) +{ + ( ((PythonQtPublicPromoter_QMenu*)theWrappedObject)->promoted_leaveEvent(arg__1)); +} + +QAction* PythonQtWrapper_QMenu::menuAction(QMenu* theWrappedObject) const +{ + return ( theWrappedObject->menuAction()); +} + +void PythonQtWrapper_QMenu::mouseMoveEvent(QMenu* theWrappedObject, QMouseEvent* arg__1) +{ + ( ((PythonQtPublicPromoter_QMenu*)theWrappedObject)->promoted_mouseMoveEvent(arg__1)); +} + +void PythonQtWrapper_QMenu::mousePressEvent(QMenu* theWrappedObject, QMouseEvent* arg__1) +{ + ( ((PythonQtPublicPromoter_QMenu*)theWrappedObject)->promoted_mousePressEvent(arg__1)); +} + +void PythonQtWrapper_QMenu::mouseReleaseEvent(QMenu* theWrappedObject, QMouseEvent* arg__1) +{ + ( ((PythonQtPublicPromoter_QMenu*)theWrappedObject)->promoted_mouseReleaseEvent(arg__1)); +} + +void PythonQtWrapper_QMenu::paintEvent(QMenu* theWrappedObject, QPaintEvent* arg__1) +{ + ( ((PythonQtPublicPromoter_QMenu*)theWrappedObject)->promoted_paintEvent(arg__1)); +} + +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)); +} + +QSize PythonQtWrapper_QMenu::sizeHint(QMenu* theWrappedObject) const +{ + return ( theWrappedObject->sizeHint()); +} + +void PythonQtWrapper_QMenu::timerEvent(QMenu* theWrappedObject, QTimerEvent* arg__1) +{ + ( ((PythonQtPublicPromoter_QMenu*)theWrappedObject)->promoted_timerEvent(arg__1)); +} + +QString PythonQtWrapper_QMenu::title(QMenu* theWrappedObject) const +{ + return ( theWrappedObject->title()); +} + +void PythonQtWrapper_QMenu::wheelEvent(QMenu* theWrappedObject, QWheelEvent* arg__1) +{ + ( ((PythonQtPublicPromoter_QMenu*)theWrappedObject)->promoted_wheelEvent(arg__1)); +} + + + +void PythonQtShell_QMenuBar::actionEvent(QActionEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "actionEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QActionEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QMenuBar::actionEvent(arg__1); +} +void PythonQtShell_QMenuBar::changeEvent(QEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "changeEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QMenuBar::changeEvent(arg__1); +} +void PythonQtShell_QMenuBar::childEvent(QChildEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "childEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QChildEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QMenuBar::childEvent(arg__1); +} +void PythonQtShell_QMenuBar::closeEvent(QCloseEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "closeEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QCloseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QMenuBar::closeEvent(arg__1); +} +void PythonQtShell_QMenuBar::contextMenuEvent(QContextMenuEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "contextMenuEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QContextMenuEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QMenuBar::contextMenuEvent(arg__1); +} +void PythonQtShell_QMenuBar::customEvent(QEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "customEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QMenuBar::customEvent(arg__1); +} +int PythonQtShell_QMenuBar::devType() const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "devType"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + int returnValue; + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("devType", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QMenuBar::devType(); +} +void PythonQtShell_QMenuBar::dragEnterEvent(QDragEnterEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dragEnterEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QDragEnterEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QMenuBar::dragEnterEvent(arg__1); +} +void PythonQtShell_QMenuBar::dragLeaveEvent(QDragLeaveEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dragLeaveEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QDragLeaveEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QMenuBar::dragLeaveEvent(arg__1); +} +void PythonQtShell_QMenuBar::dragMoveEvent(QDragMoveEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dragMoveEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QDragMoveEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QMenuBar::dragMoveEvent(arg__1); +} +void PythonQtShell_QMenuBar::dropEvent(QDropEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dropEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QDropEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QMenuBar::dropEvent(arg__1); +} +void PythonQtShell_QMenuBar::enterEvent(QEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "enterEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QMenuBar::enterEvent(arg__1); +} +bool PythonQtShell_QMenuBar::event(QEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "event"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue; + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QMenuBar::event(arg__1); +} +bool PythonQtShell_QMenuBar::eventFilter(QObject* arg__1, QEvent* arg__2) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "eventFilter"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue; + void* args[3] = {NULL, (void*)&arg__1, (void*)&arg__2}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QMenuBar::eventFilter(arg__1, arg__2); +} +void PythonQtShell_QMenuBar::focusInEvent(QFocusEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "focusInEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QFocusEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QMenuBar::focusInEvent(arg__1); +} +bool PythonQtShell_QMenuBar::focusNextPrevChild(bool next) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "focusNextPrevChild"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue; + void* args[2] = {NULL, (void*)&next}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("focusNextPrevChild", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QMenuBar::focusNextPrevChild(next); +} +void PythonQtShell_QMenuBar::focusOutEvent(QFocusEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "focusOutEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QFocusEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QMenuBar::focusOutEvent(arg__1); +} +int PythonQtShell_QMenuBar::heightForWidth(int arg__1) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "heightForWidth"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"int" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + int returnValue; + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("heightForWidth", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QMenuBar::heightForWidth(arg__1); +} +void PythonQtShell_QMenuBar::hideEvent(QHideEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "hideEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QHideEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QMenuBar::hideEvent(arg__1); +} +void PythonQtShell_QMenuBar::inputMethodEvent(QInputMethodEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "inputMethodEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QInputMethodEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QMenuBar::inputMethodEvent(arg__1); +} +QVariant PythonQtShell_QMenuBar::inputMethodQuery(Qt::InputMethodQuery arg__1) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "inputMethodQuery"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QVariant" , "Qt::InputMethodQuery"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + QVariant returnValue; + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result); + } else { + returnValue = *((QVariant*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QMenuBar::inputMethodQuery(arg__1); +} +void PythonQtShell_QMenuBar::keyPressEvent(QKeyEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "keyPressEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QKeyEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QMenuBar::keyPressEvent(arg__1); +} +void PythonQtShell_QMenuBar::keyReleaseEvent(QKeyEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "keyReleaseEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QKeyEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QMenuBar::keyReleaseEvent(arg__1); +} +void PythonQtShell_QMenuBar::languageChange() +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "languageChange"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={""}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QMenuBar::languageChange(); +} +void PythonQtShell_QMenuBar::leaveEvent(QEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "leaveEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QMenuBar::leaveEvent(arg__1); +} +int PythonQtShell_QMenuBar::metric(QPaintDevice::PaintDeviceMetric arg__1) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "metric"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + int returnValue; + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("metric", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QMenuBar::metric(arg__1); +} +void PythonQtShell_QMenuBar::mouseDoubleClickEvent(QMouseEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mouseDoubleClickEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QMenuBar::mouseDoubleClickEvent(arg__1); +} +void PythonQtShell_QMenuBar::mouseMoveEvent(QMouseEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mouseMoveEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QMenuBar::mouseMoveEvent(arg__1); +} +void PythonQtShell_QMenuBar::mousePressEvent(QMouseEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mousePressEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QMenuBar::mousePressEvent(arg__1); +} +void PythonQtShell_QMenuBar::mouseReleaseEvent(QMouseEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mouseReleaseEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QMenuBar::mouseReleaseEvent(arg__1); +} +void PythonQtShell_QMenuBar::moveEvent(QMoveEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "moveEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QMoveEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QMenuBar::moveEvent(arg__1); +} +QPaintEngine* PythonQtShell_QMenuBar::paintEngine() const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "paintEngine"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QPaintEngine*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QPaintEngine* returnValue; + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); + } else { + returnValue = *((QPaintEngine**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QMenuBar::paintEngine(); +} +void PythonQtShell_QMenuBar::paintEvent(QPaintEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "paintEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QPaintEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QMenuBar::paintEvent(arg__1); +} +void PythonQtShell_QMenuBar::resizeEvent(QResizeEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "resizeEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QResizeEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QMenuBar::resizeEvent(arg__1); +} +void PythonQtShell_QMenuBar::setVisible(bool visible) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "setVisible"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&visible}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QMenuBar::setVisible(visible); +} +void PythonQtShell_QMenuBar::showEvent(QShowEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "showEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QShowEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QMenuBar::showEvent(arg__1); +} +void PythonQtShell_QMenuBar::tabletEvent(QTabletEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "tabletEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QTabletEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QMenuBar::tabletEvent(arg__1); +} +void PythonQtShell_QMenuBar::timerEvent(QTimerEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "timerEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QTimerEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QMenuBar::timerEvent(arg__1); +} +void PythonQtShell_QMenuBar::wheelEvent(QWheelEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "wheelEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QWheelEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QMenuBar::wheelEvent(arg__1); +} +QMenuBar* PythonQtWrapper_QMenuBar::new_QMenuBar(QWidget* parent) +{ +return new PythonQtShell_QMenuBar(parent); } + +QAction* PythonQtWrapper_QMenuBar::actionAt(QMenuBar* theWrappedObject, const QPoint& arg__1) const +{ + return ( theWrappedObject->actionAt(arg__1)); +} + +void PythonQtWrapper_QMenuBar::actionEvent(QMenuBar* theWrappedObject, QActionEvent* arg__1) +{ + ( ((PythonQtPublicPromoter_QMenuBar*)theWrappedObject)->promoted_actionEvent(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()); +} + +void PythonQtWrapper_QMenuBar::addAction(QMenuBar* theWrappedObject, QAction* action) +{ + ( theWrappedObject->addAction(action)); +} + +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::changeEvent(QMenuBar* theWrappedObject, QEvent* arg__1) +{ + ( ((PythonQtPublicPromoter_QMenuBar*)theWrappedObject)->promoted_changeEvent(arg__1)); +} + +void PythonQtWrapper_QMenuBar::clear(QMenuBar* theWrappedObject) +{ + ( theWrappedObject->clear()); +} + +QWidget* PythonQtWrapper_QMenuBar::cornerWidget(QMenuBar* theWrappedObject, Qt::Corner corner) const +{ + return ( theWrappedObject->cornerWidget(corner)); +} + +bool PythonQtWrapper_QMenuBar::event(QMenuBar* theWrappedObject, QEvent* arg__1) +{ + return ( ((PythonQtPublicPromoter_QMenuBar*)theWrappedObject)->promoted_event(arg__1)); +} + +bool PythonQtWrapper_QMenuBar::eventFilter(QMenuBar* theWrappedObject, QObject* arg__1, QEvent* arg__2) +{ + return ( ((PythonQtPublicPromoter_QMenuBar*)theWrappedObject)->promoted_eventFilter(arg__1, arg__2)); +} + +void PythonQtWrapper_QMenuBar::focusInEvent(QMenuBar* theWrappedObject, QFocusEvent* arg__1) +{ + ( ((PythonQtPublicPromoter_QMenuBar*)theWrappedObject)->promoted_focusInEvent(arg__1)); +} + +void PythonQtWrapper_QMenuBar::focusOutEvent(QMenuBar* theWrappedObject, QFocusEvent* arg__1) +{ + ( ((PythonQtPublicPromoter_QMenuBar*)theWrappedObject)->promoted_focusOutEvent(arg__1)); +} + +int PythonQtWrapper_QMenuBar::heightForWidth(QMenuBar* theWrappedObject, int arg__1) const +{ + return ( ((PythonQtPublicPromoter_QMenuBar*)theWrappedObject)->promoted_heightForWidth(arg__1)); +} + +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()); +} + +void PythonQtWrapper_QMenuBar::keyPressEvent(QMenuBar* theWrappedObject, QKeyEvent* arg__1) +{ + ( ((PythonQtPublicPromoter_QMenuBar*)theWrappedObject)->promoted_keyPressEvent(arg__1)); +} + +void PythonQtWrapper_QMenuBar::leaveEvent(QMenuBar* theWrappedObject, QEvent* arg__1) +{ + ( ((PythonQtPublicPromoter_QMenuBar*)theWrappedObject)->promoted_leaveEvent(arg__1)); +} + +QSize PythonQtWrapper_QMenuBar::minimumSizeHint(QMenuBar* theWrappedObject) const +{ + return ( theWrappedObject->minimumSizeHint()); +} + +void PythonQtWrapper_QMenuBar::mouseMoveEvent(QMenuBar* theWrappedObject, QMouseEvent* arg__1) +{ + ( ((PythonQtPublicPromoter_QMenuBar*)theWrappedObject)->promoted_mouseMoveEvent(arg__1)); +} + +void PythonQtWrapper_QMenuBar::mousePressEvent(QMenuBar* theWrappedObject, QMouseEvent* arg__1) +{ + ( ((PythonQtPublicPromoter_QMenuBar*)theWrappedObject)->promoted_mousePressEvent(arg__1)); +} + +void PythonQtWrapper_QMenuBar::mouseReleaseEvent(QMenuBar* theWrappedObject, QMouseEvent* arg__1) +{ + ( ((PythonQtPublicPromoter_QMenuBar*)theWrappedObject)->promoted_mouseReleaseEvent(arg__1)); +} + +void PythonQtWrapper_QMenuBar::paintEvent(QMenuBar* theWrappedObject, QPaintEvent* arg__1) +{ + ( ((PythonQtPublicPromoter_QMenuBar*)theWrappedObject)->promoted_paintEvent(arg__1)); +} + +void PythonQtWrapper_QMenuBar::resizeEvent(QMenuBar* theWrappedObject, QResizeEvent* arg__1) +{ + ( ((PythonQtPublicPromoter_QMenuBar*)theWrappedObject)->promoted_resizeEvent(arg__1)); +} + +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()); +} + +void PythonQtWrapper_QMenuBar::timerEvent(QMenuBar* theWrappedObject, QTimerEvent* arg__1) +{ + ( ((PythonQtPublicPromoter_QMenuBar*)theWrappedObject)->promoted_timerEvent(arg__1)); +} + + + +void PythonQtShell_QMessageBox::accept() +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "accept"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={""}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QMessageBox::accept(); +} +void PythonQtShell_QMessageBox::actionEvent(QActionEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "actionEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QActionEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QMessageBox::actionEvent(arg__1); +} +void PythonQtShell_QMessageBox::changeEvent(QEvent* event) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "changeEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&event}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QMessageBox::changeEvent(event); +} +void PythonQtShell_QMessageBox::childEvent(QChildEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "childEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QChildEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QMessageBox::childEvent(arg__1); +} +void PythonQtShell_QMessageBox::closeEvent(QCloseEvent* event) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "closeEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QCloseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&event}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QMessageBox::closeEvent(event); +} +void PythonQtShell_QMessageBox::contextMenuEvent(QContextMenuEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "contextMenuEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QContextMenuEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QMessageBox::contextMenuEvent(arg__1); +} +void PythonQtShell_QMessageBox::customEvent(QEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "customEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QMessageBox::customEvent(arg__1); +} +int PythonQtShell_QMessageBox::devType() const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "devType"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + int returnValue; + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("devType", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QMessageBox::devType(); +} +void PythonQtShell_QMessageBox::done(int arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "done"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QMessageBox::done(arg__1); +} +void PythonQtShell_QMessageBox::dragEnterEvent(QDragEnterEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dragEnterEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QDragEnterEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QMessageBox::dragEnterEvent(arg__1); +} +void PythonQtShell_QMessageBox::dragLeaveEvent(QDragLeaveEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dragLeaveEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QDragLeaveEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QMessageBox::dragLeaveEvent(arg__1); +} +void PythonQtShell_QMessageBox::dragMoveEvent(QDragMoveEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dragMoveEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QDragMoveEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QMessageBox::dragMoveEvent(arg__1); +} +void PythonQtShell_QMessageBox::dropEvent(QDropEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dropEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QDropEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QMessageBox::dropEvent(arg__1); +} +void PythonQtShell_QMessageBox::enterEvent(QEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "enterEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QMessageBox::enterEvent(arg__1); +} +bool PythonQtShell_QMessageBox::event(QEvent* e) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "event"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue; + void* args[2] = {NULL, (void*)&e}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QMessageBox::event(e); +} +bool PythonQtShell_QMessageBox::eventFilter(QObject* arg__1, QEvent* arg__2) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "eventFilter"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue; + void* args[3] = {NULL, (void*)&arg__1, (void*)&arg__2}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QMessageBox::eventFilter(arg__1, arg__2); +} +void PythonQtShell_QMessageBox::focusInEvent(QFocusEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "focusInEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QFocusEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QMessageBox::focusInEvent(arg__1); +} +bool PythonQtShell_QMessageBox::focusNextPrevChild(bool next) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "focusNextPrevChild"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue; + void* args[2] = {NULL, (void*)&next}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("focusNextPrevChild", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QMessageBox::focusNextPrevChild(next); +} +void PythonQtShell_QMessageBox::focusOutEvent(QFocusEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "focusOutEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QFocusEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QMessageBox::focusOutEvent(arg__1); +} +int PythonQtShell_QMessageBox::heightForWidth(int arg__1) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "heightForWidth"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"int" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + int returnValue; + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("heightForWidth", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QMessageBox::heightForWidth(arg__1); +} +void PythonQtShell_QMessageBox::hideEvent(QHideEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "hideEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QHideEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QMessageBox::hideEvent(arg__1); +} +void PythonQtShell_QMessageBox::inputMethodEvent(QInputMethodEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "inputMethodEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QInputMethodEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QMessageBox::inputMethodEvent(arg__1); +} +QVariant PythonQtShell_QMessageBox::inputMethodQuery(Qt::InputMethodQuery arg__1) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "inputMethodQuery"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QVariant" , "Qt::InputMethodQuery"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + QVariant returnValue; + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result); + } else { + returnValue = *((QVariant*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QMessageBox::inputMethodQuery(arg__1); +} +void PythonQtShell_QMessageBox::keyPressEvent(QKeyEvent* event) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "keyPressEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QKeyEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&event}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QMessageBox::keyPressEvent(event); +} +void PythonQtShell_QMessageBox::keyReleaseEvent(QKeyEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "keyReleaseEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QKeyEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QMessageBox::keyReleaseEvent(arg__1); +} +void PythonQtShell_QMessageBox::languageChange() +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "languageChange"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={""}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QMessageBox::languageChange(); +} +void PythonQtShell_QMessageBox::leaveEvent(QEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "leaveEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QMessageBox::leaveEvent(arg__1); +} +int PythonQtShell_QMessageBox::metric(QPaintDevice::PaintDeviceMetric arg__1) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "metric"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + int returnValue; + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("metric", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QMessageBox::metric(arg__1); +} +void PythonQtShell_QMessageBox::mouseDoubleClickEvent(QMouseEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mouseDoubleClickEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QMessageBox::mouseDoubleClickEvent(arg__1); +} +void PythonQtShell_QMessageBox::mouseMoveEvent(QMouseEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mouseMoveEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QMessageBox::mouseMoveEvent(arg__1); +} +void PythonQtShell_QMessageBox::mousePressEvent(QMouseEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mousePressEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QMessageBox::mousePressEvent(arg__1); +} +void PythonQtShell_QMessageBox::mouseReleaseEvent(QMouseEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mouseReleaseEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QMessageBox::mouseReleaseEvent(arg__1); +} +void PythonQtShell_QMessageBox::moveEvent(QMoveEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "moveEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QMoveEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QMessageBox::moveEvent(arg__1); +} +QPaintEngine* PythonQtShell_QMessageBox::paintEngine() const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "paintEngine"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QPaintEngine*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QPaintEngine* returnValue; + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); + } else { + returnValue = *((QPaintEngine**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QMessageBox::paintEngine(); +} +void PythonQtShell_QMessageBox::paintEvent(QPaintEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "paintEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QPaintEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QMessageBox::paintEvent(arg__1); +} +void PythonQtShell_QMessageBox::reject() +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "reject"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={""}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QMessageBox::reject(); +} +void PythonQtShell_QMessageBox::resizeEvent(QResizeEvent* event) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "resizeEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QResizeEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&event}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QMessageBox::resizeEvent(event); +} +void PythonQtShell_QMessageBox::showEvent(QShowEvent* event) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "showEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QShowEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&event}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QMessageBox::showEvent(event); +} +void PythonQtShell_QMessageBox::tabletEvent(QTabletEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "tabletEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QTabletEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QMessageBox::tabletEvent(arg__1); +} +void PythonQtShell_QMessageBox::timerEvent(QTimerEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "timerEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QTimerEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QMessageBox::timerEvent(arg__1); +} +void PythonQtShell_QMessageBox::wheelEvent(QWheelEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "wheelEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QWheelEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QMessageBox::wheelEvent(arg__1); +} +QMessageBox* PythonQtWrapper_QMessageBox::new_QMessageBox(QMessageBox::Icon icon, const QString& title, const QString& text, QMessageBox::StandardButtons buttons, QWidget* parent, Qt::WindowFlags flags) +{ +return new PythonQtShell_QMessageBox(icon, title, text, buttons, parent, flags); } + +QMessageBox* PythonQtWrapper_QMessageBox::new_QMessageBox(QWidget* parent) +{ +return new PythonQtShell_QMessageBox(parent); } + +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()); +} + +void PythonQtWrapper_QMessageBox::changeEvent(QMessageBox* theWrappedObject, QEvent* event) +{ + ( ((PythonQtPublicPromoter_QMessageBox*)theWrappedObject)->promoted_changeEvent(event)); +} + +QAbstractButton* PythonQtWrapper_QMessageBox::clickedButton(QMessageBox* theWrappedObject) const +{ + return ( theWrappedObject->clickedButton()); +} + +void PythonQtWrapper_QMessageBox::closeEvent(QMessageBox* theWrappedObject, QCloseEvent* event) +{ + ( ((PythonQtPublicPromoter_QMessageBox*)theWrappedObject)->promoted_closeEvent(event)); +} + +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()); +} + +bool PythonQtWrapper_QMessageBox::event(QMessageBox* theWrappedObject, QEvent* e) +{ + return ( ((PythonQtPublicPromoter_QMessageBox*)theWrappedObject)->promoted_event(e)); +} + +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::keyPressEvent(QMessageBox* theWrappedObject, QKeyEvent* event) +{ + ( ((PythonQtPublicPromoter_QMessageBox*)theWrappedObject)->promoted_keyPressEvent(event)); +} + +void PythonQtWrapper_QMessageBox::open(QMessageBox* theWrappedObject) +{ + ( theWrappedObject->open()); +} + +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::resizeEvent(QMessageBox* theWrappedObject, QResizeEvent* event) +{ + ( ((PythonQtPublicPromoter_QMessageBox*)theWrappedObject)->promoted_resizeEvent(event)); +} + +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::showEvent(QMessageBox* theWrappedObject, QShowEvent* event) +{ + ( ((PythonQtPublicPromoter_QMessageBox*)theWrappedObject)->promoted_showEvent(event)); +} + +QSize PythonQtWrapper_QMessageBox::sizeHint(QMessageBox* theWrappedObject) const +{ + return ( theWrappedObject->sizeHint()); +} + +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()); +} + +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)); +} + + + +void PythonQtShell_QMotifStyle::childEvent(QChildEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "childEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QChildEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QMotifStyle::childEvent(arg__1); +} +void PythonQtShell_QMotifStyle::customEvent(QEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "customEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QMotifStyle::customEvent(arg__1); +} +void PythonQtShell_QMotifStyle::drawComplexControl(QStyle::ComplexControl cc, const QStyleOptionComplex* opt, QPainter* p, const QWidget* w) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "drawComplexControl"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QStyle::ComplexControl" , "const QStyleOptionComplex*" , "QPainter*" , "const QWidget*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(5, argumentList); + void* args[5] = {NULL, (void*)&cc, (void*)&opt, (void*)&p, (void*)&w}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QMotifStyle::drawComplexControl(cc, opt, p, w); +} +void PythonQtShell_QMotifStyle::drawControl(QStyle::ControlElement element, const QStyleOption* opt, QPainter* p, const QWidget* w) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "drawControl"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QStyle::ControlElement" , "const QStyleOption*" , "QPainter*" , "const QWidget*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(5, argumentList); + void* args[5] = {NULL, (void*)&element, (void*)&opt, (void*)&p, (void*)&w}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QMotifStyle::drawControl(element, opt, p, w); +} +void PythonQtShell_QMotifStyle::drawItemPixmap(QPainter* painter, const QRect& rect, int alignment, const QPixmap& pixmap) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "drawItemPixmap"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QPainter*" , "const QRect&" , "int" , "const QPixmap&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(5, argumentList); + void* args[5] = {NULL, (void*)&painter, (void*)&rect, (void*)&alignment, (void*)&pixmap}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QMotifStyle::drawItemPixmap(painter, rect, alignment, pixmap); +} +void PythonQtShell_QMotifStyle::drawItemText(QPainter* painter, const QRect& rect, int flags, const QPalette& pal, bool enabled, const QString& text, QPalette::ColorRole textRole) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "drawItemText"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QPainter*" , "const QRect&" , "int" , "const QPalette&" , "bool" , "const QString&" , "QPalette::ColorRole"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(8, argumentList); + void* args[8] = {NULL, (void*)&painter, (void*)&rect, (void*)&flags, (void*)&pal, (void*)&enabled, (void*)&text, (void*)&textRole}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QMotifStyle::drawItemText(painter, rect, flags, pal, enabled, text, textRole); +} +void PythonQtShell_QMotifStyle::drawPrimitive(QStyle::PrimitiveElement pe, const QStyleOption* opt, QPainter* p, const QWidget* w) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "drawPrimitive"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QStyle::PrimitiveElement" , "const QStyleOption*" , "QPainter*" , "const QWidget*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(5, argumentList); + void* args[5] = {NULL, (void*)&pe, (void*)&opt, (void*)&p, (void*)&w}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QMotifStyle::drawPrimitive(pe, opt, p, w); +} +bool PythonQtShell_QMotifStyle::event(QEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "event"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue; + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QMotifStyle::event(arg__1); +} +bool PythonQtShell_QMotifStyle::eventFilter(QObject* o, QEvent* e) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "eventFilter"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue; + void* args[3] = {NULL, (void*)&o, (void*)&e}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QMotifStyle::eventFilter(o, e); +} +QPixmap PythonQtShell_QMotifStyle::generatedIconPixmap(QIcon::Mode iconMode, const QPixmap& pixmap, const QStyleOption* opt) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "generatedIconPixmap"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QPixmap" , "QIcon::Mode" , "const QPixmap&" , "const QStyleOption*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + QPixmap returnValue; + void* args[4] = {NULL, (void*)&iconMode, (void*)&pixmap, (void*)&opt}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("generatedIconPixmap", methodInfo, result); + } else { + returnValue = *((QPixmap*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QMotifStyle::generatedIconPixmap(iconMode, pixmap, opt); +} +QStyle::SubControl PythonQtShell_QMotifStyle::hitTestComplexControl(QStyle::ComplexControl cc, const QStyleOptionComplex* opt, const QPoint& pt, const QWidget* w) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "hitTestComplexControl"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QStyle::SubControl" , "QStyle::ComplexControl" , "const QStyleOptionComplex*" , "const QPoint&" , "const QWidget*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(5, argumentList); + QStyle::SubControl returnValue; + void* args[5] = {NULL, (void*)&cc, (void*)&opt, (void*)&pt, (void*)&w}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("hitTestComplexControl", methodInfo, result); + } else { + returnValue = *((QStyle::SubControl*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QMotifStyle::hitTestComplexControl(cc, opt, pt, w); +} +QRect PythonQtShell_QMotifStyle::itemPixmapRect(const QRect& r, int flags, const QPixmap& pixmap) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "itemPixmapRect"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QRect" , "const QRect&" , "int" , "const QPixmap&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + QRect returnValue; + void* args[4] = {NULL, (void*)&r, (void*)&flags, (void*)&pixmap}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("itemPixmapRect", methodInfo, result); + } else { + returnValue = *((QRect*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QMotifStyle::itemPixmapRect(r, flags, pixmap); +} +int PythonQtShell_QMotifStyle::pixelMetric(QStyle::PixelMetric metric, const QStyleOption* option, const QWidget* widget) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "pixelMetric"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"int" , "QStyle::PixelMetric" , "const QStyleOption*" , "const QWidget*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + int returnValue; + void* args[4] = {NULL, (void*)&metric, (void*)&option, (void*)&widget}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("pixelMetric", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QMotifStyle::pixelMetric(metric, option, widget); +} +void PythonQtShell_QMotifStyle::polish(QApplication* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "polish"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QApplication*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QMotifStyle::polish(arg__1); +} +void PythonQtShell_QMotifStyle::polish(QPalette& arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "polish"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QPalette&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QMotifStyle::polish(arg__1); +} +void PythonQtShell_QMotifStyle::polish(QWidget* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "polish"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QWidget*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QMotifStyle::polish(arg__1); +} +QSize PythonQtShell_QMotifStyle::sizeFromContents(QStyle::ContentsType ct, const QStyleOption* opt, const QSize& contentsSize, const QWidget* widget) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "sizeFromContents"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QSize" , "QStyle::ContentsType" , "const QStyleOption*" , "const QSize&" , "const QWidget*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(5, argumentList); + QSize returnValue; + void* args[5] = {NULL, (void*)&ct, (void*)&opt, (void*)&contentsSize, (void*)&widget}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("sizeFromContents", methodInfo, result); + } else { + returnValue = *((QSize*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QMotifStyle::sizeFromContents(ct, opt, contentsSize, widget); +} +QPalette PythonQtShell_QMotifStyle::standardPalette() const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "standardPalette"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QPalette"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QPalette returnValue; + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("standardPalette", methodInfo, result); + } else { + returnValue = *((QPalette*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QMotifStyle::standardPalette(); +} +QPixmap PythonQtShell_QMotifStyle::standardPixmap(QStyle::StandardPixmap standardPixmap, const QStyleOption* opt, const QWidget* widget) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "standardPixmap"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QPixmap" , "QStyle::StandardPixmap" , "const QStyleOption*" , "const QWidget*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + QPixmap returnValue; + void* args[4] = {NULL, (void*)&standardPixmap, (void*)&opt, (void*)&widget}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("standardPixmap", methodInfo, result); + } else { + returnValue = *((QPixmap*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QPixmap(); +} +int PythonQtShell_QMotifStyle::styleHint(QStyle::StyleHint hint, const QStyleOption* opt, const QWidget* widget, QStyleHintReturn* returnData) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "styleHint"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"int" , "QStyle::StyleHint" , "const QStyleOption*" , "const QWidget*" , "QStyleHintReturn*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(5, argumentList); + int returnValue; + void* args[5] = {NULL, (void*)&hint, (void*)&opt, (void*)&widget, (void*)&returnData}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("styleHint", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QMotifStyle::styleHint(hint, opt, widget, returnData); +} +QRect PythonQtShell_QMotifStyle::subControlRect(QStyle::ComplexControl cc, const QStyleOptionComplex* opt, QStyle::SubControl sc, const QWidget* widget) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "subControlRect"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QRect" , "QStyle::ComplexControl" , "const QStyleOptionComplex*" , "QStyle::SubControl" , "const QWidget*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(5, argumentList); + QRect returnValue; + void* args[5] = {NULL, (void*)&cc, (void*)&opt, (void*)&sc, (void*)&widget}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("subControlRect", methodInfo, result); + } else { + returnValue = *((QRect*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QMotifStyle::subControlRect(cc, opt, sc, widget); +} +QRect PythonQtShell_QMotifStyle::subElementRect(QStyle::SubElement r, const QStyleOption* opt, const QWidget* widget) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "subElementRect"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QRect" , "QStyle::SubElement" , "const QStyleOption*" , "const QWidget*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + QRect returnValue; + void* args[4] = {NULL, (void*)&r, (void*)&opt, (void*)&widget}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("subElementRect", methodInfo, result); + } else { + returnValue = *((QRect*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QMotifStyle::subElementRect(r, opt, widget); +} +void PythonQtShell_QMotifStyle::timerEvent(QTimerEvent* event) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "timerEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QTimerEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&event}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QMotifStyle::timerEvent(event); +} +void PythonQtShell_QMotifStyle::unpolish(QApplication* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "unpolish"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QApplication*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QMotifStyle::unpolish(arg__1); +} +void PythonQtShell_QMotifStyle::unpolish(QWidget* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "unpolish"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QWidget*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QMotifStyle::unpolish(arg__1); +} +QMotifStyle* PythonQtWrapper_QMotifStyle::new_QMotifStyle(bool useHighlightCols) +{ +return new PythonQtShell_QMotifStyle(useHighlightCols); } + +void PythonQtWrapper_QMotifStyle::drawComplexControl(QMotifStyle* theWrappedObject, QStyle::ComplexControl cc, const QStyleOptionComplex* opt, QPainter* p, const QWidget* w) const +{ + ( ((PythonQtPublicPromoter_QMotifStyle*)theWrappedObject)->promoted_drawComplexControl(cc, opt, p, w)); +} + +void PythonQtWrapper_QMotifStyle::drawControl(QMotifStyle* theWrappedObject, QStyle::ControlElement element, const QStyleOption* opt, QPainter* p, const QWidget* w) const +{ + ( ((PythonQtPublicPromoter_QMotifStyle*)theWrappedObject)->promoted_drawControl(element, opt, p, w)); +} + +void PythonQtWrapper_QMotifStyle::drawPrimitive(QMotifStyle* theWrappedObject, QStyle::PrimitiveElement pe, const QStyleOption* opt, QPainter* p, const QWidget* w) const +{ + ( ((PythonQtPublicPromoter_QMotifStyle*)theWrappedObject)->promoted_drawPrimitive(pe, opt, p, w)); +} + +bool PythonQtWrapper_QMotifStyle::event(QMotifStyle* theWrappedObject, QEvent* arg__1) +{ + return ( ((PythonQtPublicPromoter_QMotifStyle*)theWrappedObject)->promoted_event(arg__1)); +} + +bool PythonQtWrapper_QMotifStyle::eventFilter(QMotifStyle* theWrappedObject, QObject* o, QEvent* e) +{ + return ( ((PythonQtPublicPromoter_QMotifStyle*)theWrappedObject)->promoted_eventFilter(o, e)); +} + +int PythonQtWrapper_QMotifStyle::pixelMetric(QMotifStyle* theWrappedObject, QStyle::PixelMetric metric, const QStyleOption* option, const QWidget* widget) const +{ + return ( ((PythonQtPublicPromoter_QMotifStyle*)theWrappedObject)->promoted_pixelMetric(metric, option, widget)); +} + +void PythonQtWrapper_QMotifStyle::polish(QMotifStyle* theWrappedObject, QApplication* arg__1) +{ + ( ((PythonQtPublicPromoter_QMotifStyle*)theWrappedObject)->promoted_polish(arg__1)); +} + +void PythonQtWrapper_QMotifStyle::polish(QMotifStyle* theWrappedObject, QPalette& arg__1) +{ + ( ((PythonQtPublicPromoter_QMotifStyle*)theWrappedObject)->promoted_polish(arg__1)); +} + +void PythonQtWrapper_QMotifStyle::polish(QMotifStyle* theWrappedObject, QWidget* arg__1) +{ + ( ((PythonQtPublicPromoter_QMotifStyle*)theWrappedObject)->promoted_polish(arg__1)); +} + +void PythonQtWrapper_QMotifStyle::setUseHighlightColors(QMotifStyle* theWrappedObject, bool arg__1) +{ + ( theWrappedObject->setUseHighlightColors(arg__1)); +} + +QSize PythonQtWrapper_QMotifStyle::sizeFromContents(QMotifStyle* theWrappedObject, QStyle::ContentsType ct, const QStyleOption* opt, const QSize& contentsSize, const QWidget* widget) const +{ + return ( ((PythonQtPublicPromoter_QMotifStyle*)theWrappedObject)->promoted_sizeFromContents(ct, opt, contentsSize, widget)); +} + +QPalette PythonQtWrapper_QMotifStyle::standardPalette(QMotifStyle* theWrappedObject) const +{ + return ( ((PythonQtPublicPromoter_QMotifStyle*)theWrappedObject)->promoted_standardPalette()); +} + +int PythonQtWrapper_QMotifStyle::styleHint(QMotifStyle* theWrappedObject, QStyle::StyleHint hint, const QStyleOption* opt, const QWidget* widget, QStyleHintReturn* returnData) const +{ + return ( ((PythonQtPublicPromoter_QMotifStyle*)theWrappedObject)->promoted_styleHint(hint, opt, widget, returnData)); +} + +QRect PythonQtWrapper_QMotifStyle::subControlRect(QMotifStyle* theWrappedObject, QStyle::ComplexControl cc, const QStyleOptionComplex* opt, QStyle::SubControl sc, const QWidget* widget) const +{ + return ( ((PythonQtPublicPromoter_QMotifStyle*)theWrappedObject)->promoted_subControlRect(cc, opt, sc, widget)); +} + +QRect PythonQtWrapper_QMotifStyle::subElementRect(QMotifStyle* theWrappedObject, QStyle::SubElement r, const QStyleOption* opt, const QWidget* widget) const +{ + return ( ((PythonQtPublicPromoter_QMotifStyle*)theWrappedObject)->promoted_subElementRect(r, opt, widget)); +} + +void PythonQtWrapper_QMotifStyle::timerEvent(QMotifStyle* theWrappedObject, QTimerEvent* event) +{ + ( ((PythonQtPublicPromoter_QMotifStyle*)theWrappedObject)->promoted_timerEvent(event)); +} + +void PythonQtWrapper_QMotifStyle::unpolish(QMotifStyle* theWrappedObject, QApplication* arg__1) +{ + ( ((PythonQtPublicPromoter_QMotifStyle*)theWrappedObject)->promoted_unpolish(arg__1)); +} + +void PythonQtWrapper_QMotifStyle::unpolish(QMotifStyle* theWrappedObject, QWidget* arg__1) +{ + ( ((PythonQtPublicPromoter_QMotifStyle*)theWrappedObject)->promoted_unpolish(arg__1)); +} + +bool PythonQtWrapper_QMotifStyle::useHighlightColors(QMotifStyle* theWrappedObject) const +{ + return ( theWrappedObject->useHighlightColors()); +} + + + +QMouseEvent* PythonQtWrapper_QMouseEvent::new_QMouseEvent(QEvent::Type type, const QPoint& pos, Qt::MouseButton button, Qt::MouseButtons buttons, Qt::KeyboardModifiers modifiers) +{ +return new PythonQtShell_QMouseEvent(type, pos, button, buttons, modifiers); } + +QMouseEvent* PythonQtWrapper_QMouseEvent::new_QMouseEvent(QEvent::Type type, const QPoint& pos, const QPoint& globalPos, Qt::MouseButton button, Qt::MouseButtons buttons, Qt::KeyboardModifiers modifiers) +{ +return new PythonQtShell_QMouseEvent(type, pos, globalPos, button, buttons, modifiers); } + +Qt::MouseButton PythonQtWrapper_QMouseEvent::button(QMouseEvent* theWrappedObject) const +{ + return ( theWrappedObject->button()); +} + +Qt::MouseButtons PythonQtWrapper_QMouseEvent::buttons(QMouseEvent* theWrappedObject) const +{ + return ( theWrappedObject->buttons()); +} + +QMouseEvent* PythonQtWrapper_QMouseEvent::static_QMouseEvent_createExtendedMouseEvent(QEvent::Type type, const QPointF& pos, const QPoint& globalPos, Qt::MouseButton button, Qt::MouseButtons buttons, Qt::KeyboardModifiers modifiers) +{ + return (QMouseEvent::createExtendedMouseEvent(type, pos, globalPos, button, buttons, modifiers)); +} + +const QPoint* PythonQtWrapper_QMouseEvent::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()); +} + +bool PythonQtWrapper_QMouseEvent::hasExtendedInfo(QMouseEvent* theWrappedObject) const +{ + return ( theWrappedObject->hasExtendedInfo()); +} + +const QPoint* PythonQtWrapper_QMouseEvent::pos(QMouseEvent* theWrappedObject) const +{ + return &( theWrappedObject->pos()); +} + +QPointF PythonQtWrapper_QMouseEvent::posF(QMouseEvent* theWrappedObject) const +{ + return ( theWrappedObject->posF()); +} + +int PythonQtWrapper_QMouseEvent::x(QMouseEvent* theWrappedObject) const +{ + return ( theWrappedObject->x()); +} + +int PythonQtWrapper_QMouseEvent::y(QMouseEvent* theWrappedObject) const +{ + return ( theWrappedObject->y()); +} + + + +void PythonQtShell_QMouseEventTransition::childEvent(QChildEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "childEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QChildEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QMouseEventTransition::childEvent(arg__1); +} +void PythonQtShell_QMouseEventTransition::customEvent(QEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "customEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QMouseEventTransition::customEvent(arg__1); +} +bool PythonQtShell_QMouseEventTransition::event(QEvent* e) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "event"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue; + void* args[2] = {NULL, (void*)&e}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QMouseEventTransition::event(e); +} +bool PythonQtShell_QMouseEventTransition::eventFilter(QObject* arg__1, QEvent* arg__2) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "eventFilter"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue; + void* args[3] = {NULL, (void*)&arg__1, (void*)&arg__2}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QMouseEventTransition::eventFilter(arg__1, arg__2); +} +bool PythonQtShell_QMouseEventTransition::eventTest(QEvent* event) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "eventTest"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue; + void* args[2] = {NULL, (void*)&event}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("eventTest", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QMouseEventTransition::eventTest(event); +} +void PythonQtShell_QMouseEventTransition::onTransition(QEvent* event) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "onTransition"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&event}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QMouseEventTransition::onTransition(event); +} +void PythonQtShell_QMouseEventTransition::timerEvent(QTimerEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "timerEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QTimerEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QMouseEventTransition::timerEvent(arg__1); +} +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); } + +Qt::MouseButton PythonQtWrapper_QMouseEventTransition::button(QMouseEventTransition* theWrappedObject) const +{ + return ( theWrappedObject->button()); +} + +bool PythonQtWrapper_QMouseEventTransition::eventTest(QMouseEventTransition* theWrappedObject, QEvent* event) +{ + return ( ((PythonQtPublicPromoter_QMouseEventTransition*)theWrappedObject)->promoted_eventTest(event)); +} + +QPainterPath PythonQtWrapper_QMouseEventTransition::hitTestPath(QMouseEventTransition* theWrappedObject) const +{ + return ( theWrappedObject->hitTestPath()); +} + +Qt::KeyboardModifiers PythonQtWrapper_QMouseEventTransition::modifierMask(QMouseEventTransition* theWrappedObject) const +{ + return ( theWrappedObject->modifierMask()); +} + +void PythonQtWrapper_QMouseEventTransition::onTransition(QMouseEventTransition* theWrappedObject, QEvent* event) +{ + ( ((PythonQtPublicPromoter_QMouseEventTransition*)theWrappedObject)->promoted_onTransition(event)); +} + +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)); +} + + + +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()); +} + + + +void PythonQtShell_QMovie::childEvent(QChildEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "childEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QChildEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QMovie::childEvent(arg__1); +} +void PythonQtShell_QMovie::customEvent(QEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "customEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QMovie::customEvent(arg__1); +} +bool PythonQtShell_QMovie::event(QEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "event"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue; + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QMovie::event(arg__1); +} +bool PythonQtShell_QMovie::eventFilter(QObject* arg__1, QEvent* arg__2) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "eventFilter"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue; + void* args[3] = {NULL, (void*)&arg__1, (void*)&arg__2}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QMovie::eventFilter(arg__1, arg__2); +} +void PythonQtShell_QMovie::timerEvent(QTimerEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "timerEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QTimerEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QMovie::timerEvent(arg__1); +} +QMovie* PythonQtWrapper_QMovie::new_QMovie(QIODevice* device, const QByteArray& format, QObject* parent) +{ +return new PythonQtShell_QMovie(device, format, parent); } + +QMovie* PythonQtWrapper_QMovie::new_QMovie(QObject* parent) +{ +return new PythonQtShell_QMovie(parent); } + +QMovie* PythonQtWrapper_QMovie::new_QMovie(const QString& fileName, const QByteArray& format, QObject* parent) +{ +return new PythonQtShell_QMovie(fileName, format, parent); } + +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)); +} + +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()); +} + + + +void PythonQtShell_QPageSetupDialog::accept() +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "accept"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={""}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QPageSetupDialog::accept(); +} +void PythonQtShell_QPageSetupDialog::actionEvent(QActionEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "actionEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QActionEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QPageSetupDialog::actionEvent(arg__1); +} +void PythonQtShell_QPageSetupDialog::changeEvent(QEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "changeEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QPageSetupDialog::changeEvent(arg__1); +} +void PythonQtShell_QPageSetupDialog::childEvent(QChildEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "childEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QChildEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QPageSetupDialog::childEvent(arg__1); +} +void PythonQtShell_QPageSetupDialog::closeEvent(QCloseEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "closeEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QCloseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QPageSetupDialog::closeEvent(arg__1); +} +void PythonQtShell_QPageSetupDialog::contextMenuEvent(QContextMenuEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "contextMenuEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QContextMenuEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QPageSetupDialog::contextMenuEvent(arg__1); +} +void PythonQtShell_QPageSetupDialog::customEvent(QEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "customEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QPageSetupDialog::customEvent(arg__1); +} +int PythonQtShell_QPageSetupDialog::devType() const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "devType"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + int returnValue; + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("devType", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QPageSetupDialog::devType(); +} +void PythonQtShell_QPageSetupDialog::done(int result) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "done"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&result}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QPageSetupDialog::done(result); +} +void PythonQtShell_QPageSetupDialog::dragEnterEvent(QDragEnterEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dragEnterEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QDragEnterEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QPageSetupDialog::dragEnterEvent(arg__1); +} +void PythonQtShell_QPageSetupDialog::dragLeaveEvent(QDragLeaveEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dragLeaveEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QDragLeaveEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QPageSetupDialog::dragLeaveEvent(arg__1); +} +void PythonQtShell_QPageSetupDialog::dragMoveEvent(QDragMoveEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dragMoveEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QDragMoveEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QPageSetupDialog::dragMoveEvent(arg__1); +} +void PythonQtShell_QPageSetupDialog::dropEvent(QDropEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dropEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QDropEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QPageSetupDialog::dropEvent(arg__1); +} +void PythonQtShell_QPageSetupDialog::enterEvent(QEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "enterEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QPageSetupDialog::enterEvent(arg__1); +} +bool PythonQtShell_QPageSetupDialog::event(QEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "event"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue; + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QPageSetupDialog::event(arg__1); +} +bool PythonQtShell_QPageSetupDialog::eventFilter(QObject* arg__1, QEvent* arg__2) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "eventFilter"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue; + void* args[3] = {NULL, (void*)&arg__1, (void*)&arg__2}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QPageSetupDialog::eventFilter(arg__1, arg__2); +} +int PythonQtShell_QPageSetupDialog::exec() +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "exec"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + int returnValue; + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("exec", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QPageSetupDialog::exec(); +} +void PythonQtShell_QPageSetupDialog::focusInEvent(QFocusEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "focusInEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QFocusEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QPageSetupDialog::focusInEvent(arg__1); +} +bool PythonQtShell_QPageSetupDialog::focusNextPrevChild(bool next) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "focusNextPrevChild"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue; + void* args[2] = {NULL, (void*)&next}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("focusNextPrevChild", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QPageSetupDialog::focusNextPrevChild(next); +} +void PythonQtShell_QPageSetupDialog::focusOutEvent(QFocusEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "focusOutEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QFocusEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QPageSetupDialog::focusOutEvent(arg__1); +} +int PythonQtShell_QPageSetupDialog::heightForWidth(int arg__1) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "heightForWidth"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"int" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + int returnValue; + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("heightForWidth", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QPageSetupDialog::heightForWidth(arg__1); +} +void PythonQtShell_QPageSetupDialog::hideEvent(QHideEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "hideEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QHideEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QPageSetupDialog::hideEvent(arg__1); +} +void PythonQtShell_QPageSetupDialog::inputMethodEvent(QInputMethodEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "inputMethodEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QInputMethodEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QPageSetupDialog::inputMethodEvent(arg__1); +} +QVariant PythonQtShell_QPageSetupDialog::inputMethodQuery(Qt::InputMethodQuery arg__1) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "inputMethodQuery"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QVariant" , "Qt::InputMethodQuery"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + QVariant returnValue; + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result); + } else { + returnValue = *((QVariant*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QPageSetupDialog::inputMethodQuery(arg__1); +} +void PythonQtShell_QPageSetupDialog::keyPressEvent(QKeyEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "keyPressEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QKeyEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QPageSetupDialog::keyPressEvent(arg__1); +} +void PythonQtShell_QPageSetupDialog::keyReleaseEvent(QKeyEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "keyReleaseEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QKeyEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QPageSetupDialog::keyReleaseEvent(arg__1); +} +void PythonQtShell_QPageSetupDialog::languageChange() +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "languageChange"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={""}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QPageSetupDialog::languageChange(); +} +void PythonQtShell_QPageSetupDialog::leaveEvent(QEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "leaveEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QPageSetupDialog::leaveEvent(arg__1); +} +int PythonQtShell_QPageSetupDialog::metric(QPaintDevice::PaintDeviceMetric arg__1) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "metric"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + int returnValue; + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("metric", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QPageSetupDialog::metric(arg__1); +} +void PythonQtShell_QPageSetupDialog::mouseDoubleClickEvent(QMouseEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mouseDoubleClickEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QPageSetupDialog::mouseDoubleClickEvent(arg__1); +} +void PythonQtShell_QPageSetupDialog::mouseMoveEvent(QMouseEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mouseMoveEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QPageSetupDialog::mouseMoveEvent(arg__1); +} +void PythonQtShell_QPageSetupDialog::mousePressEvent(QMouseEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mousePressEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QPageSetupDialog::mousePressEvent(arg__1); +} +void PythonQtShell_QPageSetupDialog::mouseReleaseEvent(QMouseEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mouseReleaseEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QPageSetupDialog::mouseReleaseEvent(arg__1); +} +void PythonQtShell_QPageSetupDialog::moveEvent(QMoveEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "moveEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QMoveEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QPageSetupDialog::moveEvent(arg__1); +} +QPaintEngine* PythonQtShell_QPageSetupDialog::paintEngine() const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "paintEngine"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QPaintEngine*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QPaintEngine* returnValue; + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); + } else { + returnValue = *((QPaintEngine**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QPageSetupDialog::paintEngine(); +} +void PythonQtShell_QPageSetupDialog::paintEvent(QPaintEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "paintEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QPaintEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QPageSetupDialog::paintEvent(arg__1); +} +void PythonQtShell_QPageSetupDialog::reject() +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "reject"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={""}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QPageSetupDialog::reject(); +} +void PythonQtShell_QPageSetupDialog::resizeEvent(QResizeEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "resizeEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QResizeEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QPageSetupDialog::resizeEvent(arg__1); +} +void PythonQtShell_QPageSetupDialog::showEvent(QShowEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "showEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QShowEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QPageSetupDialog::showEvent(arg__1); +} +void PythonQtShell_QPageSetupDialog::tabletEvent(QTabletEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "tabletEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QTabletEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QPageSetupDialog::tabletEvent(arg__1); +} +void PythonQtShell_QPageSetupDialog::timerEvent(QTimerEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "timerEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QTimerEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QPageSetupDialog::timerEvent(arg__1); +} +void PythonQtShell_QPageSetupDialog::wheelEvent(QWheelEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "wheelEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QWheelEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QPageSetupDialog::wheelEvent(arg__1); +} +QPageSetupDialog* PythonQtWrapper_QPageSetupDialog::new_QPageSetupDialog(QPrinter* printer, QWidget* parent) +{ +return new PythonQtShell_QPageSetupDialog(printer, parent); } + +QPageSetupDialog* PythonQtWrapper_QPageSetupDialog::new_QPageSetupDialog(QWidget* parent) +{ +return new PythonQtShell_QPageSetupDialog(parent); } + +void PythonQtWrapper_QPageSetupDialog::addEnabledOption(QPageSetupDialog* theWrappedObject, QPageSetupDialog::PageSetupDialogOption option) +{ + ( theWrappedObject->addEnabledOption(option)); +} + +QPageSetupDialog::PageSetupDialogOptions PythonQtWrapper_QPageSetupDialog::enabledOptions(QPageSetupDialog* theWrappedObject) const +{ + return ( theWrappedObject->enabledOptions()); +} + +int PythonQtWrapper_QPageSetupDialog::exec(QPageSetupDialog* theWrappedObject) +{ + return ( ((PythonQtPublicPromoter_QPageSetupDialog*)theWrappedObject)->promoted_exec()); +} + +bool PythonQtWrapper_QPageSetupDialog::isOptionEnabled(QPageSetupDialog* theWrappedObject, QPageSetupDialog::PageSetupDialogOption option) const +{ + return ( theWrappedObject->isOptionEnabled(option)); +} + +void PythonQtWrapper_QPageSetupDialog::open(QPageSetupDialog* theWrappedObject) +{ + ( theWrappedObject->open()); +} + +void PythonQtWrapper_QPageSetupDialog::open(QPageSetupDialog* theWrappedObject, QObject* receiver, const char* member) +{ + ( theWrappedObject->open(receiver, member)); +} + +QPageSetupDialog::PageSetupDialogOptions PythonQtWrapper_QPageSetupDialog::options(QPageSetupDialog* theWrappedObject) const +{ + return ( theWrappedObject->options()); +} + +void PythonQtWrapper_QPageSetupDialog::setEnabledOptions(QPageSetupDialog* theWrappedObject, QPageSetupDialog::PageSetupDialogOptions options) +{ + ( theWrappedObject->setEnabledOptions(options)); +} + +void PythonQtWrapper_QPageSetupDialog::setOption(QPageSetupDialog* theWrappedObject, QPageSetupDialog::PageSetupDialogOption option, bool on) +{ + ( theWrappedObject->setOption(option, on)); +} + +void PythonQtWrapper_QPageSetupDialog::setOptions(QPageSetupDialog* theWrappedObject, QPageSetupDialog::PageSetupDialogOptions options) +{ + ( theWrappedObject->setOptions(options)); +} + +bool PythonQtWrapper_QPageSetupDialog::testOption(QPageSetupDialog* theWrappedObject, QPageSetupDialog::PageSetupDialogOption option) const +{ + return ( theWrappedObject->testOption(option)); +} + + + +int PythonQtShell_QPaintDevice::devType() const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "devType"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + int returnValue; + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("devType", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QPaintDevice::devType(); +} +int PythonQtShell_QPaintDevice::metric(QPaintDevice::PaintDeviceMetric metric) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "metric"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + int returnValue; + void* args[2] = {NULL, (void*)&metric}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("metric", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QPaintDevice::metric(metric); +} +QPaintEngine* PythonQtShell_QPaintDevice::paintEngine() const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "paintEngine"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QPaintEngine*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QPaintEngine* returnValue; + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); + } else { + returnValue = *((QPaintEngine**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return 0; +} +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 ( ((PythonQtPublicPromoter_QPaintDevice*)theWrappedObject)->promoted_devType()); +} + +int PythonQtWrapper_QPaintDevice::height(QPaintDevice* theWrappedObject) const +{ + return ( theWrappedObject->height()); +} + +int PythonQtWrapper_QPaintDevice::heightMM(QPaintDevice* theWrappedObject) const +{ + return ( theWrappedObject->heightMM()); +} + +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)); +} + +int PythonQtWrapper_QPaintDevice::numColors(QPaintDevice* theWrappedObject) const +{ + return ( theWrappedObject->numColors()); +} + +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()); +} + +int PythonQtWrapper_QPaintDevice::width(QPaintDevice* theWrappedObject) const +{ + return ( theWrappedObject->width()); +} + +int PythonQtWrapper_QPaintDevice::widthMM(QPaintDevice* theWrappedObject) const +{ + return ( theWrappedObject->widthMM()); +} + + + +bool PythonQtShell_QPaintEngine::begin(QPaintDevice* pdev) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "begin"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "QPaintDevice*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue; + void* args[2] = {NULL, (void*)&pdev}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("begin", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return bool(); +} +QPoint PythonQtShell_QPaintEngine::coordinateOffset() const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "coordinateOffset"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QPoint"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QPoint returnValue; + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("coordinateOffset", methodInfo, result); + } else { + returnValue = *((QPoint*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QPaintEngine::coordinateOffset(); +} +void PythonQtShell_QPaintEngine::drawEllipse(const QRect& r) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "drawEllipse"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "const QRect&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&r}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QPaintEngine::drawEllipse(r); +} +void PythonQtShell_QPaintEngine::drawEllipse(const QRectF& r) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "drawEllipse"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "const QRectF&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&r}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QPaintEngine::drawEllipse(r); +} +void PythonQtShell_QPaintEngine::drawImage(const QRectF& r, const QImage& pm, const QRectF& sr, Qt::ImageConversionFlags flags) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "drawImage"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "const QRectF&" , "const QImage&" , "const QRectF&" , "Qt::ImageConversionFlags"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(5, argumentList); + void* args[5] = {NULL, (void*)&r, (void*)&pm, (void*)&sr, (void*)&flags}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QPaintEngine::drawImage(r, pm, sr, flags); +} +void PythonQtShell_QPaintEngine::drawLines(const QLine* lines, int lineCount) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "drawLines"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "const QLine*" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + void* args[3] = {NULL, (void*)&lines, (void*)&lineCount}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QPaintEngine::drawLines(lines, lineCount); +} +void PythonQtShell_QPaintEngine::drawLines(const QLineF* lines, int lineCount) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "drawLines"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "const QLineF*" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + void* args[3] = {NULL, (void*)&lines, (void*)&lineCount}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QPaintEngine::drawLines(lines, lineCount); +} +void PythonQtShell_QPaintEngine::drawPath(const QPainterPath& path) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "drawPath"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "const QPainterPath&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&path}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QPaintEngine::drawPath(path); +} +void PythonQtShell_QPaintEngine::drawPixmap(const QRectF& r, const QPixmap& pm, const QRectF& sr) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "drawPixmap"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "const QRectF&" , "const QPixmap&" , "const QRectF&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + void* args[4] = {NULL, (void*)&r, (void*)&pm, (void*)&sr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + +} +void PythonQtShell_QPaintEngine::drawPoints(const QPoint* points, int pointCount) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "drawPoints"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "const QPoint*" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + void* args[3] = {NULL, (void*)&points, (void*)&pointCount}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QPaintEngine::drawPoints(points, pointCount); +} +void PythonQtShell_QPaintEngine::drawPoints(const QPointF* points, int pointCount) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "drawPoints"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "const QPointF*" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + void* args[3] = {NULL, (void*)&points, (void*)&pointCount}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QPaintEngine::drawPoints(points, pointCount); +} +void PythonQtShell_QPaintEngine::drawPolygon(const QPoint* points, int pointCount, QPaintEngine::PolygonDrawMode mode) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "drawPolygon"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "const QPoint*" , "int" , "QPaintEngine::PolygonDrawMode"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + void* args[4] = {NULL, (void*)&points, (void*)&pointCount, (void*)&mode}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QPaintEngine::drawPolygon(points, pointCount, mode); +} +void PythonQtShell_QPaintEngine::drawPolygon(const QPointF* points, int pointCount, QPaintEngine::PolygonDrawMode mode) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "drawPolygon"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "const QPointF*" , "int" , "QPaintEngine::PolygonDrawMode"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + void* args[4] = {NULL, (void*)&points, (void*)&pointCount, (void*)&mode}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QPaintEngine::drawPolygon(points, pointCount, mode); +} +void PythonQtShell_QPaintEngine::drawRects(const QRect* rects, int rectCount) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "drawRects"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "const QRect*" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + void* args[3] = {NULL, (void*)&rects, (void*)&rectCount}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QPaintEngine::drawRects(rects, rectCount); +} +void PythonQtShell_QPaintEngine::drawRects(const QRectF* rects, int rectCount) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "drawRects"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "const QRectF*" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + void* args[3] = {NULL, (void*)&rects, (void*)&rectCount}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QPaintEngine::drawRects(rects, rectCount); +} +void PythonQtShell_QPaintEngine::drawTextItem(const QPointF& p, const QTextItem& textItem) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "drawTextItem"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "const QPointF&" , "const QTextItem&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + void* args[3] = {NULL, (void*)&p, (void*)&textItem}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QPaintEngine::drawTextItem(p, textItem); +} +void PythonQtShell_QPaintEngine::drawTiledPixmap(const QRectF& r, const QPixmap& pixmap, const QPointF& s) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "drawTiledPixmap"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "const QRectF&" , "const QPixmap&" , "const QPointF&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + void* args[4] = {NULL, (void*)&r, (void*)&pixmap, (void*)&s}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QPaintEngine::drawTiledPixmap(r, pixmap, s); +} +bool PythonQtShell_QPaintEngine::end() +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "end"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + bool returnValue; + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("end", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return bool(); +} +QPaintEngine::Type PythonQtShell_QPaintEngine::type() const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "type"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QPaintEngine::Type"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QPaintEngine::Type returnValue; + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("type", methodInfo, result); + } else { + returnValue = *((QPaintEngine::Type*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QPaintEngine::Type(); +} +void PythonQtShell_QPaintEngine::updateState(const QPaintEngineState& state) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "updateState"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "const QPaintEngineState&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&state}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + +} +QPaintEngine* PythonQtWrapper_QPaintEngine::new_QPaintEngine(QPaintEngine::PaintEngineFeatures features) +{ +return new PythonQtShell_QPaintEngine(features); } + +void PythonQtWrapper_QPaintEngine::clearDirty(QPaintEngine* theWrappedObject, QPaintEngine::DirtyFlags df) +{ + ( theWrappedObject->clearDirty(df)); +} + +QPoint PythonQtWrapper_QPaintEngine::coordinateOffset(QPaintEngine* theWrappedObject) const +{ + return ( ((PythonQtPublicPromoter_QPaintEngine*)theWrappedObject)->promoted_coordinateOffset()); +} + +void PythonQtWrapper_QPaintEngine::drawEllipse(QPaintEngine* theWrappedObject, const QRect& r) +{ + ( ((PythonQtPublicPromoter_QPaintEngine*)theWrappedObject)->promoted_drawEllipse(r)); +} + +void PythonQtWrapper_QPaintEngine::drawEllipse(QPaintEngine* theWrappedObject, const QRectF& r) +{ + ( ((PythonQtPublicPromoter_QPaintEngine*)theWrappedObject)->promoted_drawEllipse(r)); +} + +void PythonQtWrapper_QPaintEngine::drawImage(QPaintEngine* theWrappedObject, const QRectF& r, const QImage& pm, const QRectF& sr, Qt::ImageConversionFlags flags) +{ + ( ((PythonQtPublicPromoter_QPaintEngine*)theWrappedObject)->promoted_drawImage(r, pm, sr, flags)); +} + +void PythonQtWrapper_QPaintEngine::drawLines(QPaintEngine* theWrappedObject, const QLine* lines, int lineCount) +{ + ( ((PythonQtPublicPromoter_QPaintEngine*)theWrappedObject)->promoted_drawLines(lines, lineCount)); +} + +void PythonQtWrapper_QPaintEngine::drawLines(QPaintEngine* theWrappedObject, const QLineF* lines, int lineCount) +{ + ( ((PythonQtPublicPromoter_QPaintEngine*)theWrappedObject)->promoted_drawLines(lines, lineCount)); +} + +void PythonQtWrapper_QPaintEngine::drawPath(QPaintEngine* theWrappedObject, const QPainterPath& path) +{ + ( ((PythonQtPublicPromoter_QPaintEngine*)theWrappedObject)->promoted_drawPath(path)); +} + +void PythonQtWrapper_QPaintEngine::drawPoints(QPaintEngine* theWrappedObject, const QPoint* points, int pointCount) +{ + ( ((PythonQtPublicPromoter_QPaintEngine*)theWrappedObject)->promoted_drawPoints(points, pointCount)); +} + +void PythonQtWrapper_QPaintEngine::drawPoints(QPaintEngine* theWrappedObject, const QPointF* points, int pointCount) +{ + ( ((PythonQtPublicPromoter_QPaintEngine*)theWrappedObject)->promoted_drawPoints(points, pointCount)); +} + +void PythonQtWrapper_QPaintEngine::drawPolygon(QPaintEngine* theWrappedObject, const QPoint* points, int pointCount, QPaintEngine::PolygonDrawMode mode) +{ + ( ((PythonQtPublicPromoter_QPaintEngine*)theWrappedObject)->promoted_drawPolygon(points, pointCount, mode)); +} + +void PythonQtWrapper_QPaintEngine::drawPolygon(QPaintEngine* theWrappedObject, const QPointF* points, int pointCount, QPaintEngine::PolygonDrawMode mode) +{ + ( ((PythonQtPublicPromoter_QPaintEngine*)theWrappedObject)->promoted_drawPolygon(points, pointCount, mode)); +} + +void PythonQtWrapper_QPaintEngine::drawRects(QPaintEngine* theWrappedObject, const QRect* rects, int rectCount) +{ + ( ((PythonQtPublicPromoter_QPaintEngine*)theWrappedObject)->promoted_drawRects(rects, rectCount)); +} + +void PythonQtWrapper_QPaintEngine::drawRects(QPaintEngine* theWrappedObject, const QRectF* rects, int rectCount) +{ + ( ((PythonQtPublicPromoter_QPaintEngine*)theWrappedObject)->promoted_drawRects(rects, rectCount)); +} + +void PythonQtWrapper_QPaintEngine::drawTextItem(QPaintEngine* theWrappedObject, const QPointF& p, const QTextItem& textItem) +{ + ( ((PythonQtPublicPromoter_QPaintEngine*)theWrappedObject)->promoted_drawTextItem(p, textItem)); +} + +void PythonQtWrapper_QPaintEngine::drawTiledPixmap(QPaintEngine* theWrappedObject, const QRectF& r, const QPixmap& pixmap, const QPointF& s) +{ + ( ((PythonQtPublicPromoter_QPaintEngine*)theWrappedObject)->promoted_drawTiledPixmap(r, pixmap, s)); +} + +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)); +} + + + +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()); +} + + + +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(); } + +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()); +} + +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::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::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::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, 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, 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, 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()); +} + +bool PythonQtWrapper_QPainter::hasClipping(QPainter* theWrappedObject) const +{ + return ( theWrappedObject->hasClipping()); +} + +void PythonQtWrapper_QPainter::initFrom(QPainter* theWrappedObject, const QWidget* widget) +{ + ( theWrappedObject->initFrom(widget)); +} + +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, Qt::BrushStyle style) +{ + ( theWrappedObject->setBrush(style)); +} + +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()); +} + +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()); +} + +const 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::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)); +} + +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(); } + +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()); +} + + + +void PythonQtShell_QPanGesture::childEvent(QChildEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "childEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QChildEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QPanGesture::childEvent(arg__1); +} +void PythonQtShell_QPanGesture::customEvent(QEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "customEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QPanGesture::customEvent(arg__1); +} +bool PythonQtShell_QPanGesture::event(QEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "event"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue; + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QPanGesture::event(arg__1); +} +bool PythonQtShell_QPanGesture::eventFilter(QObject* arg__1, QEvent* arg__2) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "eventFilter"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue; + void* args[3] = {NULL, (void*)&arg__1, (void*)&arg__2}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QPanGesture::eventFilter(arg__1, arg__2); +} +void PythonQtShell_QPanGesture::timerEvent(QTimerEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "timerEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QTimerEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QPanGesture::timerEvent(arg__1); +} +QPanGesture* PythonQtWrapper_QPanGesture::new_QPanGesture(QObject* parent) +{ +return new PythonQtShell_QPanGesture(parent); } + +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)); +} + + + +int PythonQtShell_QPicture::devType() const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "devType"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + int returnValue; + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("devType", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QPicture::devType(); +} +int PythonQtShell_QPicture::metric(QPaintDevice::PaintDeviceMetric m) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "metric"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + int returnValue; + void* args[2] = {NULL, (void*)&m}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("metric", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QPicture::metric(m); +} +QPaintEngine* PythonQtShell_QPicture::paintEngine() const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "paintEngine"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QPaintEngine*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QPaintEngine* returnValue; + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); + } else { + returnValue = *((QPaintEngine**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QPicture::paintEngine(); +} +void PythonQtShell_QPicture::setData(const char* data, uint size) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "setData"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "const char*" , "uint"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + void* args[3] = {NULL, (void*)&data, (void*)&size}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QPicture::setData(data, size); +} +QPicture* PythonQtWrapper_QPicture::new_QPicture(const QPicture& arg__1) +{ +return new PythonQtShell_QPicture(arg__1); } + +QPicture* PythonQtWrapper_QPicture::new_QPicture(int formatVersion) +{ +return new PythonQtShell_QPicture(formatVersion); } + +QRect PythonQtWrapper_QPicture::boundingRect(QPicture* theWrappedObject) const +{ + return ( theWrappedObject->boundingRect()); +} + +const char* PythonQtWrapper_QPicture::data(QPicture* theWrappedObject) const +{ + return ( theWrappedObject->data()); +} + +int PythonQtWrapper_QPicture::devType(QPicture* theWrappedObject) const +{ + return ( ((PythonQtPublicPromoter_QPicture*)theWrappedObject)->promoted_devType()); +} + +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)); +} + +int PythonQtWrapper_QPicture::metric(QPicture* theWrappedObject, QPaintDevice::PaintDeviceMetric m) const +{ + return ( ((PythonQtPublicPromoter_QPicture*)theWrappedObject)->promoted_metric(m)); +} + +void PythonQtWrapper_QPicture::writeTo(QPicture* theWrappedObject, QDataStream& arg__1) +{ + arg__1 << (*theWrappedObject); +} + +void PythonQtWrapper_QPicture::readFrom(QPicture* theWrappedObject, QDataStream& arg__1) +{ + arg__1 >> (*theWrappedObject); +} + +QPaintEngine* PythonQtWrapper_QPicture::paintEngine(QPicture* theWrappedObject) const +{ + return ( ((PythonQtPublicPromoter_QPicture*)theWrappedObject)->promoted_paintEngine()); +} + +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 PythonQtShell_QPictureFormatPlugin::childEvent(QChildEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "childEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QChildEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QPictureFormatPlugin::childEvent(arg__1); +} +void PythonQtShell_QPictureFormatPlugin::customEvent(QEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "customEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QPictureFormatPlugin::customEvent(arg__1); +} +bool PythonQtShell_QPictureFormatPlugin::event(QEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "event"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue; + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QPictureFormatPlugin::event(arg__1); +} +bool PythonQtShell_QPictureFormatPlugin::eventFilter(QObject* arg__1, QEvent* arg__2) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "eventFilter"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue; + void* args[3] = {NULL, (void*)&arg__1, (void*)&arg__2}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QPictureFormatPlugin::eventFilter(arg__1, arg__2); +} +bool PythonQtShell_QPictureFormatPlugin::installIOHandler(const QString& format) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "installIOHandler"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "const QString&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue; + void* args[2] = {NULL, (void*)&format}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("installIOHandler", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return bool(); +} +QStringList PythonQtShell_QPictureFormatPlugin::keys() const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "keys"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QStringList"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QStringList returnValue; + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("keys", methodInfo, result); + } else { + returnValue = *((QStringList*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QStringList(); +} +bool PythonQtShell_QPictureFormatPlugin::loadPicture(const QString& format, const QString& filename, QPicture* pic) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "loadPicture"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "const QString&" , "const QString&" , "QPicture*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + bool returnValue; + void* args[4] = {NULL, (void*)&format, (void*)&filename, (void*)&pic}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("loadPicture", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QPictureFormatPlugin::loadPicture(format, filename, pic); +} +bool PythonQtShell_QPictureFormatPlugin::savePicture(const QString& format, const QString& filename, const QPicture& pic) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "savePicture"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "const QString&" , "const QString&" , "const QPicture&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + bool returnValue; + void* args[4] = {NULL, (void*)&format, (void*)&filename, (void*)&pic}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("savePicture", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QPictureFormatPlugin::savePicture(format, filename, pic); +} +void PythonQtShell_QPictureFormatPlugin::timerEvent(QTimerEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "timerEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QTimerEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QPictureFormatPlugin::timerEvent(arg__1); +} +QPictureFormatPlugin* PythonQtWrapper_QPictureFormatPlugin::new_QPictureFormatPlugin(QObject* parent) +{ +return new PythonQtShell_QPictureFormatPlugin(parent); } + +bool PythonQtWrapper_QPictureFormatPlugin::loadPicture(QPictureFormatPlugin* theWrappedObject, const QString& format, const QString& filename, QPicture* pic) +{ + return ( ((PythonQtPublicPromoter_QPictureFormatPlugin*)theWrappedObject)->promoted_loadPicture(format, filename, pic)); +} + +bool PythonQtWrapper_QPictureFormatPlugin::savePicture(QPictureFormatPlugin* theWrappedObject, const QString& format, const QString& filename, const QPicture& pic) +{ + return ( ((PythonQtPublicPromoter_QPictureFormatPlugin*)theWrappedObject)->promoted_savePicture(format, filename, pic)); +} + + + +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()); +} + + + +void PythonQtShell_QPinchGesture::childEvent(QChildEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "childEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QChildEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QPinchGesture::childEvent(arg__1); +} +void PythonQtShell_QPinchGesture::customEvent(QEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "customEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QPinchGesture::customEvent(arg__1); +} +bool PythonQtShell_QPinchGesture::event(QEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "event"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue; + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QPinchGesture::event(arg__1); +} +bool PythonQtShell_QPinchGesture::eventFilter(QObject* arg__1, QEvent* arg__2) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "eventFilter"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue; + void* args[3] = {NULL, (void*)&arg__1, (void*)&arg__2}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QPinchGesture::eventFilter(arg__1, arg__2); +} +void PythonQtShell_QPinchGesture::timerEvent(QTimerEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "timerEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QTimerEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QPinchGesture::timerEvent(arg__1); +} +QPinchGesture* PythonQtWrapper_QPinchGesture::new_QPinchGesture(QObject* parent) +{ +return new PythonQtShell_QPinchGesture(parent); } + +QPointF PythonQtWrapper_QPinchGesture::centerPoint(QPinchGesture* theWrappedObject) const +{ + return ( theWrappedObject->centerPoint()); +} + +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::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::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()); +} + +qreal PythonQtWrapper_QPinchGesture::totalRotationAngle(QPinchGesture* theWrappedObject) const +{ + return ( theWrappedObject->totalRotationAngle()); +} + +qreal PythonQtWrapper_QPinchGesture::totalScaleFactor(QPinchGesture* theWrappedObject) const +{ + return ( theWrappedObject->totalScaleFactor()); +} + + + +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::__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); +} + + + +QPlainTextDocumentLayout* PythonQtWrapper_QPlainTextDocumentLayout::new_QPlainTextDocumentLayout(QTextDocument* document) +{ +return new PythonQtShell_QPlainTextDocumentLayout(document); } + +QRectF PythonQtWrapper_QPlainTextDocumentLayout::blockBoundingRect(QPlainTextDocumentLayout* theWrappedObject, const QTextBlock& block) const +{ + return ( theWrappedObject->blockBoundingRect(block)); +} + +int PythonQtWrapper_QPlainTextDocumentLayout::cursorWidth(QPlainTextDocumentLayout* theWrappedObject) const +{ + return ( theWrappedObject->cursorWidth()); +} + +QSizeF PythonQtWrapper_QPlainTextDocumentLayout::documentSize(QPlainTextDocumentLayout* theWrappedObject) const +{ + return ( theWrappedObject->documentSize()); +} + +void PythonQtWrapper_QPlainTextDocumentLayout::draw(QPlainTextDocumentLayout* theWrappedObject, QPainter* arg__1, const QAbstractTextDocumentLayout::PaintContext& arg__2) +{ + ( theWrappedObject->draw(arg__1, arg__2)); +} + +void PythonQtWrapper_QPlainTextDocumentLayout::ensureBlockLayout(QPlainTextDocumentLayout* theWrappedObject, const QTextBlock& block) const +{ + ( theWrappedObject->ensureBlockLayout(block)); +} + +QRectF PythonQtWrapper_QPlainTextDocumentLayout::frameBoundingRect(QPlainTextDocumentLayout* theWrappedObject, QTextFrame* arg__1) const +{ + return ( theWrappedObject->frameBoundingRect(arg__1)); +} + +int PythonQtWrapper_QPlainTextDocumentLayout::hitTest(QPlainTextDocumentLayout* theWrappedObject, const QPointF& arg__1, Qt::HitTestAccuracy arg__2) const +{ + return ( theWrappedObject->hitTest(arg__1, arg__2)); +} + +int PythonQtWrapper_QPlainTextDocumentLayout::pageCount(QPlainTextDocumentLayout* theWrappedObject) const +{ + return ( theWrappedObject->pageCount()); +} + +void PythonQtWrapper_QPlainTextDocumentLayout::requestUpdate(QPlainTextDocumentLayout* theWrappedObject) +{ + ( theWrappedObject->requestUpdate()); +} + +void PythonQtWrapper_QPlainTextDocumentLayout::setCursorWidth(QPlainTextDocumentLayout* theWrappedObject, int width) +{ + ( theWrappedObject->setCursorWidth(width)); +} + + + +void PythonQtShell_QPlainTextEdit::actionEvent(QActionEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "actionEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QActionEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QPlainTextEdit::actionEvent(arg__1); +} +bool PythonQtShell_QPlainTextEdit::canInsertFromMimeData(const QMimeData* source) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "canInsertFromMimeData"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "const QMimeData*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue; + void* args[2] = {NULL, (void*)&source}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("canInsertFromMimeData", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QPlainTextEdit::canInsertFromMimeData(source); +} +void PythonQtShell_QPlainTextEdit::changeEvent(QEvent* e) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "changeEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&e}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QPlainTextEdit::changeEvent(e); +} +void PythonQtShell_QPlainTextEdit::childEvent(QChildEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "childEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QChildEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QPlainTextEdit::childEvent(arg__1); +} +void PythonQtShell_QPlainTextEdit::closeEvent(QCloseEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "closeEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QCloseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QPlainTextEdit::closeEvent(arg__1); +} +void PythonQtShell_QPlainTextEdit::contextMenuEvent(QContextMenuEvent* e) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "contextMenuEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QContextMenuEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&e}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QPlainTextEdit::contextMenuEvent(e); +} +QMimeData* PythonQtShell_QPlainTextEdit::createMimeDataFromSelection() const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "createMimeDataFromSelection"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QMimeData*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QMimeData* returnValue; + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("createMimeDataFromSelection", methodInfo, result); + } else { + returnValue = *((QMimeData**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QPlainTextEdit::createMimeDataFromSelection(); +} +void PythonQtShell_QPlainTextEdit::customEvent(QEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "customEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QPlainTextEdit::customEvent(arg__1); +} +int PythonQtShell_QPlainTextEdit::devType() const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "devType"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + int returnValue; + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("devType", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QPlainTextEdit::devType(); +} +void PythonQtShell_QPlainTextEdit::dragEnterEvent(QDragEnterEvent* e) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dragEnterEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QDragEnterEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&e}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QPlainTextEdit::dragEnterEvent(e); +} +void PythonQtShell_QPlainTextEdit::dragLeaveEvent(QDragLeaveEvent* e) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dragLeaveEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QDragLeaveEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&e}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QPlainTextEdit::dragLeaveEvent(e); +} +void PythonQtShell_QPlainTextEdit::dragMoveEvent(QDragMoveEvent* e) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dragMoveEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QDragMoveEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&e}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QPlainTextEdit::dragMoveEvent(e); +} +void PythonQtShell_QPlainTextEdit::dropEvent(QDropEvent* e) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dropEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QDropEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&e}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QPlainTextEdit::dropEvent(e); +} +void PythonQtShell_QPlainTextEdit::enterEvent(QEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "enterEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QPlainTextEdit::enterEvent(arg__1); +} +bool PythonQtShell_QPlainTextEdit::event(QEvent* e) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "event"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue; + void* args[2] = {NULL, (void*)&e}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QPlainTextEdit::event(e); +} +bool PythonQtShell_QPlainTextEdit::eventFilter(QObject* arg__1, QEvent* arg__2) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "eventFilter"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue; + void* args[3] = {NULL, (void*)&arg__1, (void*)&arg__2}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QPlainTextEdit::eventFilter(arg__1, arg__2); +} +void PythonQtShell_QPlainTextEdit::focusInEvent(QFocusEvent* e) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "focusInEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QFocusEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&e}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QPlainTextEdit::focusInEvent(e); +} +bool PythonQtShell_QPlainTextEdit::focusNextPrevChild(bool next) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "focusNextPrevChild"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue; + void* args[2] = {NULL, (void*)&next}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("focusNextPrevChild", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QPlainTextEdit::focusNextPrevChild(next); +} +void PythonQtShell_QPlainTextEdit::focusOutEvent(QFocusEvent* e) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "focusOutEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QFocusEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&e}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QPlainTextEdit::focusOutEvent(e); +} +int PythonQtShell_QPlainTextEdit::heightForWidth(int arg__1) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "heightForWidth"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"int" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + int returnValue; + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("heightForWidth", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QPlainTextEdit::heightForWidth(arg__1); +} +void PythonQtShell_QPlainTextEdit::hideEvent(QHideEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "hideEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QHideEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QPlainTextEdit::hideEvent(arg__1); +} +void PythonQtShell_QPlainTextEdit::inputMethodEvent(QInputMethodEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "inputMethodEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QInputMethodEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QPlainTextEdit::inputMethodEvent(arg__1); +} +QVariant PythonQtShell_QPlainTextEdit::inputMethodQuery(Qt::InputMethodQuery property) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "inputMethodQuery"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QVariant" , "Qt::InputMethodQuery"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + QVariant returnValue; + void* args[2] = {NULL, (void*)&property}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result); + } else { + returnValue = *((QVariant*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QPlainTextEdit::inputMethodQuery(property); +} +void PythonQtShell_QPlainTextEdit::insertFromMimeData(const QMimeData* source) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "insertFromMimeData"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "const QMimeData*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&source}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QPlainTextEdit::insertFromMimeData(source); +} +void PythonQtShell_QPlainTextEdit::keyPressEvent(QKeyEvent* e) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "keyPressEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QKeyEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&e}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QPlainTextEdit::keyPressEvent(e); +} +void PythonQtShell_QPlainTextEdit::keyReleaseEvent(QKeyEvent* e) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "keyReleaseEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QKeyEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&e}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QPlainTextEdit::keyReleaseEvent(e); +} +void PythonQtShell_QPlainTextEdit::languageChange() +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "languageChange"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={""}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QPlainTextEdit::languageChange(); +} +void PythonQtShell_QPlainTextEdit::leaveEvent(QEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "leaveEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QPlainTextEdit::leaveEvent(arg__1); +} +QVariant PythonQtShell_QPlainTextEdit::loadResource(int type, const QUrl& name) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "loadResource"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QVariant" , "int" , "const QUrl&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + QVariant returnValue; + void* args[3] = {NULL, (void*)&type, (void*)&name}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("loadResource", methodInfo, result); + } else { + returnValue = *((QVariant*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QPlainTextEdit::loadResource(type, name); +} +int PythonQtShell_QPlainTextEdit::metric(QPaintDevice::PaintDeviceMetric arg__1) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "metric"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + int returnValue; + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("metric", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QPlainTextEdit::metric(arg__1); +} +void PythonQtShell_QPlainTextEdit::mouseDoubleClickEvent(QMouseEvent* e) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mouseDoubleClickEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&e}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QPlainTextEdit::mouseDoubleClickEvent(e); +} +void PythonQtShell_QPlainTextEdit::mouseMoveEvent(QMouseEvent* e) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mouseMoveEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&e}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QPlainTextEdit::mouseMoveEvent(e); +} +void PythonQtShell_QPlainTextEdit::mousePressEvent(QMouseEvent* e) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mousePressEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&e}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QPlainTextEdit::mousePressEvent(e); +} +void PythonQtShell_QPlainTextEdit::mouseReleaseEvent(QMouseEvent* e) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mouseReleaseEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&e}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QPlainTextEdit::mouseReleaseEvent(e); +} +void PythonQtShell_QPlainTextEdit::moveEvent(QMoveEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "moveEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QMoveEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QPlainTextEdit::moveEvent(arg__1); +} +QPaintEngine* PythonQtShell_QPlainTextEdit::paintEngine() const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "paintEngine"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QPaintEngine*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QPaintEngine* returnValue; + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); + } else { + returnValue = *((QPaintEngine**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QPlainTextEdit::paintEngine(); +} +void PythonQtShell_QPlainTextEdit::paintEvent(QPaintEvent* e) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "paintEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QPaintEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&e}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QPlainTextEdit::paintEvent(e); +} +void PythonQtShell_QPlainTextEdit::resizeEvent(QResizeEvent* e) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "resizeEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QResizeEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&e}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QPlainTextEdit::resizeEvent(e); +} +void PythonQtShell_QPlainTextEdit::scrollContentsBy(int dx, int dy) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "scrollContentsBy"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "int" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + void* args[3] = {NULL, (void*)&dx, (void*)&dy}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QPlainTextEdit::scrollContentsBy(dx, dy); +} +void PythonQtShell_QPlainTextEdit::showEvent(QShowEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "showEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QShowEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QPlainTextEdit::showEvent(arg__1); +} +void PythonQtShell_QPlainTextEdit::tabletEvent(QTabletEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "tabletEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QTabletEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QPlainTextEdit::tabletEvent(arg__1); +} +void PythonQtShell_QPlainTextEdit::timerEvent(QTimerEvent* e) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "timerEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QTimerEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&e}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QPlainTextEdit::timerEvent(e); +} +bool PythonQtShell_QPlainTextEdit::viewportEvent(QEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "viewportEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue; + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("viewportEvent", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QPlainTextEdit::viewportEvent(arg__1); +} +void PythonQtShell_QPlainTextEdit::wheelEvent(QWheelEvent* e) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "wheelEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QWheelEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&e}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QPlainTextEdit::wheelEvent(e); +} +QPlainTextEdit* PythonQtWrapper_QPlainTextEdit::new_QPlainTextEdit(QWidget* parent) +{ +return new PythonQtShell_QPlainTextEdit(parent); } + +QPlainTextEdit* PythonQtWrapper_QPlainTextEdit::new_QPlainTextEdit(const QString& text, QWidget* parent) +{ +return new PythonQtShell_QPlainTextEdit(text, parent); } + +bool PythonQtWrapper_QPlainTextEdit::backgroundVisible(QPlainTextEdit* theWrappedObject) const +{ + return ( theWrappedObject->backgroundVisible()); +} + +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()); +} + +void PythonQtWrapper_QPlainTextEdit::changeEvent(QPlainTextEdit* theWrappedObject, QEvent* e) +{ + ( ((PythonQtPublicPromoter_QPlainTextEdit*)theWrappedObject)->promoted_changeEvent(e)); +} + +void PythonQtWrapper_QPlainTextEdit::contextMenuEvent(QPlainTextEdit* theWrappedObject, QContextMenuEvent* e) +{ + ( ((PythonQtPublicPromoter_QPlainTextEdit*)theWrappedObject)->promoted_contextMenuEvent(e)); +} + +QMimeData* PythonQtWrapper_QPlainTextEdit::createMimeDataFromSelection(QPlainTextEdit* theWrappedObject) const +{ + return ( ((PythonQtPublicPromoter_QPlainTextEdit*)theWrappedObject)->promoted_createMimeDataFromSelection()); +} + +QMenu* PythonQtWrapper_QPlainTextEdit::createStandardContextMenu(QPlainTextEdit* theWrappedObject) +{ + return ( theWrappedObject->createStandardContextMenu()); +} + +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()); +} + +QTextDocument* PythonQtWrapper_QPlainTextEdit::document(QPlainTextEdit* theWrappedObject) const +{ + return ( theWrappedObject->document()); +} + +QString PythonQtWrapper_QPlainTextEdit::documentTitle(QPlainTextEdit* theWrappedObject) const +{ + return ( theWrappedObject->documentTitle()); +} + +void PythonQtWrapper_QPlainTextEdit::dragEnterEvent(QPlainTextEdit* theWrappedObject, QDragEnterEvent* e) +{ + ( ((PythonQtPublicPromoter_QPlainTextEdit*)theWrappedObject)->promoted_dragEnterEvent(e)); +} + +void PythonQtWrapper_QPlainTextEdit::dragLeaveEvent(QPlainTextEdit* theWrappedObject, QDragLeaveEvent* e) +{ + ( ((PythonQtPublicPromoter_QPlainTextEdit*)theWrappedObject)->promoted_dragLeaveEvent(e)); +} + +void PythonQtWrapper_QPlainTextEdit::dragMoveEvent(QPlainTextEdit* theWrappedObject, QDragMoveEvent* e) +{ + ( ((PythonQtPublicPromoter_QPlainTextEdit*)theWrappedObject)->promoted_dragMoveEvent(e)); +} + +void PythonQtWrapper_QPlainTextEdit::dropEvent(QPlainTextEdit* theWrappedObject, QDropEvent* e) +{ + ( ((PythonQtPublicPromoter_QPlainTextEdit*)theWrappedObject)->promoted_dropEvent(e)); +} + +void PythonQtWrapper_QPlainTextEdit::ensureCursorVisible(QPlainTextEdit* theWrappedObject) +{ + ( theWrappedObject->ensureCursorVisible()); +} + +bool PythonQtWrapper_QPlainTextEdit::event(QPlainTextEdit* theWrappedObject, QEvent* e) +{ + return ( ((PythonQtPublicPromoter_QPlainTextEdit*)theWrappedObject)->promoted_event(e)); +} + +QList PythonQtWrapper_QPlainTextEdit::extraSelections(QPlainTextEdit* theWrappedObject) const +{ + return ( theWrappedObject->extraSelections()); +} + +bool PythonQtWrapper_QPlainTextEdit::find(QPlainTextEdit* theWrappedObject, const QString& exp, QTextDocument::FindFlags options) +{ + return ( theWrappedObject->find(exp, options)); +} + +void PythonQtWrapper_QPlainTextEdit::focusInEvent(QPlainTextEdit* theWrappedObject, QFocusEvent* e) +{ + ( ((PythonQtPublicPromoter_QPlainTextEdit*)theWrappedObject)->promoted_focusInEvent(e)); +} + +bool PythonQtWrapper_QPlainTextEdit::focusNextPrevChild(QPlainTextEdit* theWrappedObject, bool next) +{ + return ( ((PythonQtPublicPromoter_QPlainTextEdit*)theWrappedObject)->promoted_focusNextPrevChild(next)); +} + +void PythonQtWrapper_QPlainTextEdit::focusOutEvent(QPlainTextEdit* theWrappedObject, QFocusEvent* e) +{ + ( ((PythonQtPublicPromoter_QPlainTextEdit*)theWrappedObject)->promoted_focusOutEvent(e)); +} + +void PythonQtWrapper_QPlainTextEdit::inputMethodEvent(QPlainTextEdit* theWrappedObject, QInputMethodEvent* arg__1) +{ + ( ((PythonQtPublicPromoter_QPlainTextEdit*)theWrappedObject)->promoted_inputMethodEvent(arg__1)); +} + +QVariant PythonQtWrapper_QPlainTextEdit::inputMethodQuery(QPlainTextEdit* theWrappedObject, Qt::InputMethodQuery property) const +{ + return ( ((PythonQtPublicPromoter_QPlainTextEdit*)theWrappedObject)->promoted_inputMethodQuery(property)); +} + +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()); +} + +void PythonQtWrapper_QPlainTextEdit::keyPressEvent(QPlainTextEdit* theWrappedObject, QKeyEvent* e) +{ + ( ((PythonQtPublicPromoter_QPlainTextEdit*)theWrappedObject)->promoted_keyPressEvent(e)); +} + +void PythonQtWrapper_QPlainTextEdit::keyReleaseEvent(QPlainTextEdit* theWrappedObject, QKeyEvent* e) +{ + ( ((PythonQtPublicPromoter_QPlainTextEdit*)theWrappedObject)->promoted_keyReleaseEvent(e)); +} + +QPlainTextEdit::LineWrapMode PythonQtWrapper_QPlainTextEdit::lineWrapMode(QPlainTextEdit* theWrappedObject) const +{ + return ( theWrappedObject->lineWrapMode()); +} + +QVariant PythonQtWrapper_QPlainTextEdit::loadResource(QPlainTextEdit* theWrappedObject, int type, const QUrl& name) +{ + return ( ((PythonQtPublicPromoter_QPlainTextEdit*)theWrappedObject)->promoted_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::mouseDoubleClickEvent(QPlainTextEdit* theWrappedObject, QMouseEvent* e) +{ + ( ((PythonQtPublicPromoter_QPlainTextEdit*)theWrappedObject)->promoted_mouseDoubleClickEvent(e)); +} + +void PythonQtWrapper_QPlainTextEdit::mouseMoveEvent(QPlainTextEdit* theWrappedObject, QMouseEvent* e) +{ + ( ((PythonQtPublicPromoter_QPlainTextEdit*)theWrappedObject)->promoted_mouseMoveEvent(e)); +} + +void PythonQtWrapper_QPlainTextEdit::mousePressEvent(QPlainTextEdit* theWrappedObject, QMouseEvent* e) +{ + ( ((PythonQtPublicPromoter_QPlainTextEdit*)theWrappedObject)->promoted_mousePressEvent(e)); +} + +void PythonQtWrapper_QPlainTextEdit::mouseReleaseEvent(QPlainTextEdit* theWrappedObject, QMouseEvent* e) +{ + ( ((PythonQtPublicPromoter_QPlainTextEdit*)theWrappedObject)->promoted_mouseReleaseEvent(e)); +} + +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()); +} + +void PythonQtWrapper_QPlainTextEdit::paintEvent(QPlainTextEdit* theWrappedObject, QPaintEvent* e) +{ + ( ((PythonQtPublicPromoter_QPlainTextEdit*)theWrappedObject)->promoted_paintEvent(e)); +} + +void PythonQtWrapper_QPlainTextEdit::print(QPlainTextEdit* theWrappedObject, QPrinter* printer) const +{ + ( theWrappedObject->print(printer)); +} + +void PythonQtWrapper_QPlainTextEdit::resizeEvent(QPlainTextEdit* theWrappedObject, QResizeEvent* e) +{ + ( ((PythonQtPublicPromoter_QPlainTextEdit*)theWrappedObject)->promoted_resizeEvent(e)); +} + +void PythonQtWrapper_QPlainTextEdit::scrollContentsBy(QPlainTextEdit* theWrappedObject, int dx, int dy) +{ + ( ((PythonQtPublicPromoter_QPlainTextEdit*)theWrappedObject)->promoted_scrollContentsBy(dx, dy)); +} + +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::setReadOnly(QPlainTextEdit* theWrappedObject, bool ro) +{ + ( theWrappedObject->setReadOnly(ro)); +} + +void PythonQtWrapper_QPlainTextEdit::setTabChangesFocus(QPlainTextEdit* theWrappedObject, bool b) +{ + ( theWrappedObject->setTabChangesFocus(b)); +} + +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)); +} + +void PythonQtWrapper_QPlainTextEdit::showEvent(QPlainTextEdit* theWrappedObject, QShowEvent* arg__1) +{ + ( ((PythonQtPublicPromoter_QPlainTextEdit*)theWrappedObject)->promoted_showEvent(arg__1)); +} + +bool PythonQtWrapper_QPlainTextEdit::tabChangesFocus(QPlainTextEdit* theWrappedObject) const +{ + return ( theWrappedObject->tabChangesFocus()); +} + +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()); +} + +void PythonQtWrapper_QPlainTextEdit::wheelEvent(QPlainTextEdit* theWrappedObject, QWheelEvent* e) +{ + ( ((PythonQtPublicPromoter_QPlainTextEdit*)theWrappedObject)->promoted_wheelEvent(e)); +} + +QTextOption::WrapMode PythonQtWrapper_QPlainTextEdit::wordWrapMode(QPlainTextEdit* theWrappedObject) const +{ + return ( theWrappedObject->wordWrapMode()); +} + + + +void PythonQtShell_QPlastiqueStyle::childEvent(QChildEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "childEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QChildEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QPlastiqueStyle::childEvent(arg__1); +} +void PythonQtShell_QPlastiqueStyle::customEvent(QEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "customEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QPlastiqueStyle::customEvent(arg__1); +} +void PythonQtShell_QPlastiqueStyle::drawComplexControl(QStyle::ComplexControl control, const QStyleOptionComplex* option, QPainter* painter, const QWidget* widget) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "drawComplexControl"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QStyle::ComplexControl" , "const QStyleOptionComplex*" , "QPainter*" , "const QWidget*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(5, argumentList); + void* args[5] = {NULL, (void*)&control, (void*)&option, (void*)&painter, (void*)&widget}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QPlastiqueStyle::drawComplexControl(control, option, painter, widget); +} +void PythonQtShell_QPlastiqueStyle::drawControl(QStyle::ControlElement element, const QStyleOption* option, QPainter* painter, const QWidget* widget) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "drawControl"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QStyle::ControlElement" , "const QStyleOption*" , "QPainter*" , "const QWidget*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(5, argumentList); + void* args[5] = {NULL, (void*)&element, (void*)&option, (void*)&painter, (void*)&widget}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QPlastiqueStyle::drawControl(element, option, painter, widget); +} +void PythonQtShell_QPlastiqueStyle::drawItemPixmap(QPainter* painter, const QRect& rect, int alignment, const QPixmap& pixmap) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "drawItemPixmap"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QPainter*" , "const QRect&" , "int" , "const QPixmap&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(5, argumentList); + void* args[5] = {NULL, (void*)&painter, (void*)&rect, (void*)&alignment, (void*)&pixmap}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QPlastiqueStyle::drawItemPixmap(painter, rect, alignment, pixmap); +} +void PythonQtShell_QPlastiqueStyle::drawItemText(QPainter* painter, const QRect& rect, int flags, const QPalette& pal, bool enabled, const QString& text, QPalette::ColorRole textRole) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "drawItemText"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QPainter*" , "const QRect&" , "int" , "const QPalette&" , "bool" , "const QString&" , "QPalette::ColorRole"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(8, argumentList); + void* args[8] = {NULL, (void*)&painter, (void*)&rect, (void*)&flags, (void*)&pal, (void*)&enabled, (void*)&text, (void*)&textRole}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QPlastiqueStyle::drawItemText(painter, rect, flags, pal, enabled, text, textRole); +} +void PythonQtShell_QPlastiqueStyle::drawPrimitive(QStyle::PrimitiveElement element, const QStyleOption* option, QPainter* painter, const QWidget* widget) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "drawPrimitive"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QStyle::PrimitiveElement" , "const QStyleOption*" , "QPainter*" , "const QWidget*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(5, argumentList); + void* args[5] = {NULL, (void*)&element, (void*)&option, (void*)&painter, (void*)&widget}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QPlastiqueStyle::drawPrimitive(element, option, painter, widget); +} +bool PythonQtShell_QPlastiqueStyle::event(QEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "event"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue; + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QPlastiqueStyle::event(arg__1); +} +bool PythonQtShell_QPlastiqueStyle::eventFilter(QObject* watched, QEvent* event) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "eventFilter"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue; + void* args[3] = {NULL, (void*)&watched, (void*)&event}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QPlastiqueStyle::eventFilter(watched, event); +} +QPixmap PythonQtShell_QPlastiqueStyle::generatedIconPixmap(QIcon::Mode iconMode, const QPixmap& pixmap, const QStyleOption* opt) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "generatedIconPixmap"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QPixmap" , "QIcon::Mode" , "const QPixmap&" , "const QStyleOption*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + QPixmap returnValue; + void* args[4] = {NULL, (void*)&iconMode, (void*)&pixmap, (void*)&opt}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("generatedIconPixmap", methodInfo, result); + } else { + returnValue = *((QPixmap*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QPlastiqueStyle::generatedIconPixmap(iconMode, pixmap, opt); +} +QStyle::SubControl PythonQtShell_QPlastiqueStyle::hitTestComplexControl(QStyle::ComplexControl control, const QStyleOptionComplex* option, const QPoint& pos, const QWidget* widget) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "hitTestComplexControl"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QStyle::SubControl" , "QStyle::ComplexControl" , "const QStyleOptionComplex*" , "const QPoint&" , "const QWidget*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(5, argumentList); + QStyle::SubControl returnValue; + void* args[5] = {NULL, (void*)&control, (void*)&option, (void*)&pos, (void*)&widget}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("hitTestComplexControl", methodInfo, result); + } else { + returnValue = *((QStyle::SubControl*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QPlastiqueStyle::hitTestComplexControl(control, option, pos, widget); +} +QRect PythonQtShell_QPlastiqueStyle::itemPixmapRect(const QRect& r, int flags, const QPixmap& pixmap) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "itemPixmapRect"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QRect" , "const QRect&" , "int" , "const QPixmap&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + QRect returnValue; + void* args[4] = {NULL, (void*)&r, (void*)&flags, (void*)&pixmap}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("itemPixmapRect", methodInfo, result); + } else { + returnValue = *((QRect*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QPlastiqueStyle::itemPixmapRect(r, flags, pixmap); +} +int PythonQtShell_QPlastiqueStyle::pixelMetric(QStyle::PixelMetric metric, const QStyleOption* option, const QWidget* widget) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "pixelMetric"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"int" , "QStyle::PixelMetric" , "const QStyleOption*" , "const QWidget*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + int returnValue; + void* args[4] = {NULL, (void*)&metric, (void*)&option, (void*)&widget}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("pixelMetric", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QPlastiqueStyle::pixelMetric(metric, option, widget); +} +void PythonQtShell_QPlastiqueStyle::polish(QApplication* app) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "polish"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QApplication*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&app}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QPlastiqueStyle::polish(app); +} +void PythonQtShell_QPlastiqueStyle::polish(QPalette& pal) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "polish"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QPalette&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&pal}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QPlastiqueStyle::polish(pal); +} +void PythonQtShell_QPlastiqueStyle::polish(QWidget* widget) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "polish"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QWidget*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&widget}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QPlastiqueStyle::polish(widget); +} +QSize PythonQtShell_QPlastiqueStyle::sizeFromContents(QStyle::ContentsType type, const QStyleOption* option, const QSize& size, const QWidget* widget) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "sizeFromContents"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QSize" , "QStyle::ContentsType" , "const QStyleOption*" , "const QSize&" , "const QWidget*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(5, argumentList); + QSize returnValue; + void* args[5] = {NULL, (void*)&type, (void*)&option, (void*)&size, (void*)&widget}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("sizeFromContents", methodInfo, result); + } else { + returnValue = *((QSize*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QPlastiqueStyle::sizeFromContents(type, option, size, widget); +} +QPalette PythonQtShell_QPlastiqueStyle::standardPalette() const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "standardPalette"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QPalette"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QPalette returnValue; + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("standardPalette", methodInfo, result); + } else { + returnValue = *((QPalette*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QPlastiqueStyle::standardPalette(); +} +QPixmap PythonQtShell_QPlastiqueStyle::standardPixmap(QStyle::StandardPixmap standardPixmap, const QStyleOption* opt, const QWidget* widget) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "standardPixmap"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QPixmap" , "QStyle::StandardPixmap" , "const QStyleOption*" , "const QWidget*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + QPixmap returnValue; + void* args[4] = {NULL, (void*)&standardPixmap, (void*)&opt, (void*)&widget}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("standardPixmap", methodInfo, result); + } else { + returnValue = *((QPixmap*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QPixmap(); +} +int PythonQtShell_QPlastiqueStyle::styleHint(QStyle::StyleHint hint, const QStyleOption* option, const QWidget* widget, QStyleHintReturn* returnData) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "styleHint"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"int" , "QStyle::StyleHint" , "const QStyleOption*" , "const QWidget*" , "QStyleHintReturn*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(5, argumentList); + int returnValue; + void* args[5] = {NULL, (void*)&hint, (void*)&option, (void*)&widget, (void*)&returnData}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("styleHint", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QPlastiqueStyle::styleHint(hint, option, widget, returnData); +} +QRect PythonQtShell_QPlastiqueStyle::subControlRect(QStyle::ComplexControl cc, const QStyleOptionComplex* opt, QStyle::SubControl sc, const QWidget* widget) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "subControlRect"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QRect" , "QStyle::ComplexControl" , "const QStyleOptionComplex*" , "QStyle::SubControl" , "const QWidget*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(5, argumentList); + QRect returnValue; + void* args[5] = {NULL, (void*)&cc, (void*)&opt, (void*)&sc, (void*)&widget}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("subControlRect", methodInfo, result); + } else { + returnValue = *((QRect*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QPlastiqueStyle::subControlRect(cc, opt, sc, widget); +} +QRect PythonQtShell_QPlastiqueStyle::subElementRect(QStyle::SubElement element, const QStyleOption* option, const QWidget* widget) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "subElementRect"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QRect" , "QStyle::SubElement" , "const QStyleOption*" , "const QWidget*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + QRect returnValue; + void* args[4] = {NULL, (void*)&element, (void*)&option, (void*)&widget}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("subElementRect", methodInfo, result); + } else { + returnValue = *((QRect*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QPlastiqueStyle::subElementRect(element, option, widget); +} +void PythonQtShell_QPlastiqueStyle::timerEvent(QTimerEvent* event) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "timerEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QTimerEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&event}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QPlastiqueStyle::timerEvent(event); +} +void PythonQtShell_QPlastiqueStyle::unpolish(QApplication* app) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "unpolish"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QApplication*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&app}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QPlastiqueStyle::unpolish(app); +} +void PythonQtShell_QPlastiqueStyle::unpolish(QWidget* widget) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "unpolish"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QWidget*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&widget}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QPlastiqueStyle::unpolish(widget); +} +QPlastiqueStyle* PythonQtWrapper_QPlastiqueStyle::new_QPlastiqueStyle() +{ +return new PythonQtShell_QPlastiqueStyle(); } + +void PythonQtWrapper_QPlastiqueStyle::drawComplexControl(QPlastiqueStyle* theWrappedObject, QStyle::ComplexControl control, const QStyleOptionComplex* option, QPainter* painter, const QWidget* widget) const +{ + ( ((PythonQtPublicPromoter_QPlastiqueStyle*)theWrappedObject)->promoted_drawComplexControl(control, option, painter, widget)); +} + +void PythonQtWrapper_QPlastiqueStyle::drawControl(QPlastiqueStyle* theWrappedObject, QStyle::ControlElement element, const QStyleOption* option, QPainter* painter, const QWidget* widget) const +{ + ( ((PythonQtPublicPromoter_QPlastiqueStyle*)theWrappedObject)->promoted_drawControl(element, option, painter, widget)); +} + +void PythonQtWrapper_QPlastiqueStyle::drawPrimitive(QPlastiqueStyle* theWrappedObject, QStyle::PrimitiveElement element, const QStyleOption* option, QPainter* painter, const QWidget* widget) const +{ + ( ((PythonQtPublicPromoter_QPlastiqueStyle*)theWrappedObject)->promoted_drawPrimitive(element, option, painter, widget)); +} + +bool PythonQtWrapper_QPlastiqueStyle::eventFilter(QPlastiqueStyle* theWrappedObject, QObject* watched, QEvent* event) +{ + return ( ((PythonQtPublicPromoter_QPlastiqueStyle*)theWrappedObject)->promoted_eventFilter(watched, event)); +} + +QStyle::SubControl PythonQtWrapper_QPlastiqueStyle::hitTestComplexControl(QPlastiqueStyle* theWrappedObject, QStyle::ComplexControl control, const QStyleOptionComplex* option, const QPoint& pos, const QWidget* widget) const +{ + return ( ((PythonQtPublicPromoter_QPlastiqueStyle*)theWrappedObject)->promoted_hitTestComplexControl(control, option, pos, widget)); +} + +int PythonQtWrapper_QPlastiqueStyle::pixelMetric(QPlastiqueStyle* theWrappedObject, QStyle::PixelMetric metric, const QStyleOption* option, const QWidget* widget) const +{ + return ( ((PythonQtPublicPromoter_QPlastiqueStyle*)theWrappedObject)->promoted_pixelMetric(metric, option, widget)); +} + +void PythonQtWrapper_QPlastiqueStyle::polish(QPlastiqueStyle* theWrappedObject, QApplication* app) +{ + ( ((PythonQtPublicPromoter_QPlastiqueStyle*)theWrappedObject)->promoted_polish(app)); +} + +void PythonQtWrapper_QPlastiqueStyle::polish(QPlastiqueStyle* theWrappedObject, QPalette& pal) +{ + ( ((PythonQtPublicPromoter_QPlastiqueStyle*)theWrappedObject)->promoted_polish(pal)); +} + +void PythonQtWrapper_QPlastiqueStyle::polish(QPlastiqueStyle* theWrappedObject, QWidget* widget) +{ + ( ((PythonQtPublicPromoter_QPlastiqueStyle*)theWrappedObject)->promoted_polish(widget)); +} + +QSize PythonQtWrapper_QPlastiqueStyle::sizeFromContents(QPlastiqueStyle* theWrappedObject, QStyle::ContentsType type, const QStyleOption* option, const QSize& size, const QWidget* widget) const +{ + return ( ((PythonQtPublicPromoter_QPlastiqueStyle*)theWrappedObject)->promoted_sizeFromContents(type, option, size, widget)); +} + +QPalette PythonQtWrapper_QPlastiqueStyle::standardPalette(QPlastiqueStyle* theWrappedObject) const +{ + return ( ((PythonQtPublicPromoter_QPlastiqueStyle*)theWrappedObject)->promoted_standardPalette()); +} + +int PythonQtWrapper_QPlastiqueStyle::styleHint(QPlastiqueStyle* theWrappedObject, QStyle::StyleHint hint, const QStyleOption* option, const QWidget* widget, QStyleHintReturn* returnData) const +{ + return ( ((PythonQtPublicPromoter_QPlastiqueStyle*)theWrappedObject)->promoted_styleHint(hint, option, widget, returnData)); +} + +QRect PythonQtWrapper_QPlastiqueStyle::subControlRect(QPlastiqueStyle* theWrappedObject, QStyle::ComplexControl cc, const QStyleOptionComplex* opt, QStyle::SubControl sc, const QWidget* widget) const +{ + return ( ((PythonQtPublicPromoter_QPlastiqueStyle*)theWrappedObject)->promoted_subControlRect(cc, opt, sc, widget)); +} + +QRect PythonQtWrapper_QPlastiqueStyle::subElementRect(QPlastiqueStyle* theWrappedObject, QStyle::SubElement element, const QStyleOption* option, const QWidget* widget) const +{ + return ( ((PythonQtPublicPromoter_QPlastiqueStyle*)theWrappedObject)->promoted_subElementRect(element, option, widget)); +} + +void PythonQtWrapper_QPlastiqueStyle::timerEvent(QPlastiqueStyle* theWrappedObject, QTimerEvent* event) +{ + ( ((PythonQtPublicPromoter_QPlastiqueStyle*)theWrappedObject)->promoted_timerEvent(event)); +} + +void PythonQtWrapper_QPlastiqueStyle::unpolish(QPlastiqueStyle* theWrappedObject, QApplication* app) +{ + ( ((PythonQtPublicPromoter_QPlastiqueStyle*)theWrappedObject)->promoted_unpolish(app)); +} + +void PythonQtWrapper_QPlastiqueStyle::unpolish(QPlastiqueStyle* theWrappedObject, QWidget* widget) +{ + ( ((PythonQtPublicPromoter_QPlastiqueStyle*)theWrappedObject)->promoted_unpolish(widget)); +} + + + +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)); +} + +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()); +} + +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::isClosed(QPolygonF* theWrappedObject) const +{ + return ( theWrappedObject->isClosed()); +} + +bool PythonQtWrapper_QPolygonF::isEmpty(QPolygonF* theWrappedObject) const +{ + return ( theWrappedObject->isEmpty()); +} + +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)); +} + +QVector PythonQtWrapper_QPolygonF::mid(QPolygonF* theWrappedObject, int pos, int length) const +{ + return ( theWrappedObject->mid(pos, length)); +} + +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); +} + +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)); +} + +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)); +} + +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)); +} + +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; +} + + diff --git a/generated_cpp_47/com_trolltech_qt_gui/com_trolltech_qt_gui5.h b/generated_cpp_47/com_trolltech_qt_gui/com_trolltech_qt_gui5.h new file mode 100644 index 00000000..93ba9e03 --- /dev/null +++ b/generated_cpp_47/com_trolltech_qt_gui/com_trolltech_qt_gui5.h @@ -0,0 +1,2273 @@ +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#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_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 qreal* values); +QMatrix4x4* new_QMatrix4x4(const qreal* values, int cols, int rows); +QMatrix4x4* new_QMatrix4x4(qreal m11, qreal m12, qreal m13, qreal m14, qreal m21, qreal m22, qreal m23, qreal m24, qreal m31, qreal m32, qreal m33, qreal m34, qreal m41, qreal m42, qreal m43, qreal 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 qreal* constData(QMatrix4x4* theWrappedObject) const; + void copyDataTo(QMatrix4x4* theWrappedObject, qreal* values) const; + qreal* data(QMatrix4x4* theWrappedObject); + qreal determinant(QMatrix4x4* theWrappedObject) const; + void fill(QMatrix4x4* theWrappedObject, qreal value); + void flipCoordinates(QMatrix4x4* theWrappedObject); + void frustum(QMatrix4x4* theWrappedObject, qreal left, qreal right, qreal bottom, qreal top, qreal nearPlane, qreal farPlane); + QMatrix4x4 inverted(QMatrix4x4* theWrappedObject, bool* invertible = 0) 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; + qreal* 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, qreal factor); + QMatrix4x4* __imul__(QMatrix4x4* theWrappedObject, const QMatrix4x4& other); + QMatrix4x4* __imul__(QMatrix4x4* theWrappedObject, qreal 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, qreal divisor); + QMatrix4x4* __idiv__(QMatrix4x4* theWrappedObject, qreal 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, qreal left, qreal right, qreal bottom, qreal top, qreal nearPlane, qreal farPlane); + void perspective(QMatrix4x4* theWrappedObject, qreal angle, qreal aspect, qreal nearPlane, qreal farPlane); + void rotate(QMatrix4x4* theWrappedObject, const QQuaternion& quaternion); + void rotate(QMatrix4x4* theWrappedObject, qreal angle, const QVector3D& vector); + void rotate(QMatrix4x4* theWrappedObject, qreal angle, qreal x, qreal y, qreal z = 0.0f); + QVector4D row(QMatrix4x4* theWrappedObject, int index) const; + void scale(QMatrix4x4* theWrappedObject, const QVector3D& vector); + void scale(QMatrix4x4* theWrappedObject, qreal factor); + void scale(QMatrix4x4* theWrappedObject, qreal x, qreal y); + void scale(QMatrix4x4* theWrappedObject, qreal x, qreal y, qreal 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, qreal distanceToPlane) const; + void translate(QMatrix4x4* theWrappedObject, const QVector3D& vector); + void translate(QMatrix4x4* theWrappedObject, qreal x, qreal y); + void translate(QMatrix4x4* theWrappedObject, qreal x, qreal y, qreal z); + QMatrix4x4 transposed(QMatrix4x4* theWrappedObject) const; + QString py_toString(QMatrix4x4*); +}; + + + + + +class PythonQtShell_QMdiArea : public QMdiArea +{ +public: + PythonQtShell_QMdiArea(QWidget* parent = 0):QMdiArea(parent),_wrapper(NULL) {}; + +virtual void actionEvent(QActionEvent* arg__1); +virtual void changeEvent(QEvent* arg__1); +virtual void childEvent(QChildEvent* childEvent); +virtual void closeEvent(QCloseEvent* arg__1); +virtual void contextMenuEvent(QContextMenuEvent* arg__1); +virtual void customEvent(QEvent* arg__1); +virtual int devType() const; +virtual void dragEnterEvent(QDragEnterEvent* arg__1); +virtual void dragLeaveEvent(QDragLeaveEvent* arg__1); +virtual void dragMoveEvent(QDragMoveEvent* arg__1); +virtual void dropEvent(QDropEvent* arg__1); +virtual void enterEvent(QEvent* arg__1); +virtual bool event(QEvent* event); +virtual bool eventFilter(QObject* object, QEvent* event); +virtual void focusInEvent(QFocusEvent* arg__1); +virtual bool focusNextPrevChild(bool next); +virtual void focusOutEvent(QFocusEvent* arg__1); +virtual int heightForWidth(int arg__1) const; +virtual void hideEvent(QHideEvent* arg__1); +virtual void inputMethodEvent(QInputMethodEvent* arg__1); +virtual QVariant inputMethodQuery(Qt::InputMethodQuery arg__1) const; +virtual void keyPressEvent(QKeyEvent* arg__1); +virtual void keyReleaseEvent(QKeyEvent* arg__1); +virtual void languageChange(); +virtual void leaveEvent(QEvent* arg__1); +virtual int metric(QPaintDevice::PaintDeviceMetric arg__1) const; +virtual void mouseDoubleClickEvent(QMouseEvent* arg__1); +virtual void mouseMoveEvent(QMouseEvent* arg__1); +virtual void mousePressEvent(QMouseEvent* arg__1); +virtual void mouseReleaseEvent(QMouseEvent* arg__1); +virtual void moveEvent(QMoveEvent* arg__1); +virtual QPaintEngine* paintEngine() const; +virtual void paintEvent(QPaintEvent* paintEvent); +virtual void resizeEvent(QResizeEvent* resizeEvent); +virtual void scrollContentsBy(int dx, int dy); +virtual void showEvent(QShowEvent* showEvent); +virtual void tabletEvent(QTabletEvent* arg__1); +virtual void timerEvent(QTimerEvent* timerEvent); +virtual bool viewportEvent(QEvent* event); +virtual void wheelEvent(QWheelEvent* arg__1); + + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtPublicPromoter_QMdiArea : public QMdiArea +{ public: +inline void promoted_childEvent(QChildEvent* childEvent) { QMdiArea::childEvent(childEvent); } +inline bool promoted_event(QEvent* event) { return QMdiArea::event(event); } +inline bool promoted_eventFilter(QObject* object, QEvent* event) { return QMdiArea::eventFilter(object, event); } +inline void promoted_paintEvent(QPaintEvent* paintEvent) { QMdiArea::paintEvent(paintEvent); } +inline void promoted_resizeEvent(QResizeEvent* resizeEvent) { QMdiArea::resizeEvent(resizeEvent); } +inline void promoted_scrollContentsBy(int dx, int dy) { QMdiArea::scrollContentsBy(dx, dy); } +inline void promoted_showEvent(QShowEvent* showEvent) { QMdiArea::showEvent(showEvent); } +inline void promoted_timerEvent(QTimerEvent* timerEvent) { QMdiArea::timerEvent(timerEvent); } +inline bool promoted_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 = 0); +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 = 0); + QBrush background(QMdiArea* theWrappedObject) const; + void childEvent(QMdiArea* theWrappedObject, QChildEvent* childEvent); + QMdiSubWindow* currentSubWindow(QMdiArea* theWrappedObject) const; + bool documentMode(QMdiArea* theWrappedObject) const; + bool event(QMdiArea* theWrappedObject, QEvent* event); + bool eventFilter(QMdiArea* theWrappedObject, QObject* object, QEvent* event); + QSize minimumSizeHint(QMdiArea* theWrappedObject) const; + void paintEvent(QMdiArea* theWrappedObject, QPaintEvent* paintEvent); + void removeSubWindow(QMdiArea* theWrappedObject, QWidget* widget); + void resizeEvent(QMdiArea* theWrappedObject, QResizeEvent* resizeEvent); + void scrollContentsBy(QMdiArea* theWrappedObject, int dx, int 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 setViewMode(QMdiArea* theWrappedObject, QMdiArea::ViewMode mode); + void showEvent(QMdiArea* theWrappedObject, QShowEvent* showEvent); + QSize sizeHint(QMdiArea* theWrappedObject) const; + QList subWindowList(QMdiArea* theWrappedObject, QMdiArea::WindowOrder order = QMdiArea::CreationOrder) const; + QTabWidget::TabPosition tabPosition(QMdiArea* theWrappedObject) const; + QTabWidget::TabShape tabShape(QMdiArea* theWrappedObject) const; + bool testOption(QMdiArea* theWrappedObject, QMdiArea::AreaOption opton) const; + void timerEvent(QMdiArea* theWrappedObject, QTimerEvent* timerEvent); + QMdiArea::ViewMode viewMode(QMdiArea* theWrappedObject) const; + bool viewportEvent(QMdiArea* theWrappedObject, QEvent* event); +}; + + + + + +class PythonQtShell_QMdiSubWindow : public QMdiSubWindow +{ +public: + PythonQtShell_QMdiSubWindow(QWidget* parent = 0, Qt::WindowFlags flags = 0):QMdiSubWindow(parent, flags),_wrapper(NULL) {}; + +virtual void actionEvent(QActionEvent* arg__1); +virtual void changeEvent(QEvent* changeEvent); +virtual void childEvent(QChildEvent* childEvent); +virtual void closeEvent(QCloseEvent* closeEvent); +virtual void contextMenuEvent(QContextMenuEvent* contextMenuEvent); +virtual void customEvent(QEvent* arg__1); +virtual int devType() const; +virtual void dragEnterEvent(QDragEnterEvent* arg__1); +virtual void dragLeaveEvent(QDragLeaveEvent* arg__1); +virtual void dragMoveEvent(QDragMoveEvent* arg__1); +virtual void dropEvent(QDropEvent* arg__1); +virtual void enterEvent(QEvent* arg__1); +virtual bool event(QEvent* event); +virtual bool eventFilter(QObject* object, QEvent* event); +virtual void focusInEvent(QFocusEvent* focusInEvent); +virtual bool focusNextPrevChild(bool next); +virtual void focusOutEvent(QFocusEvent* focusOutEvent); +virtual int heightForWidth(int arg__1) const; +virtual void hideEvent(QHideEvent* hideEvent); +virtual void inputMethodEvent(QInputMethodEvent* arg__1); +virtual QVariant inputMethodQuery(Qt::InputMethodQuery arg__1) const; +virtual void keyPressEvent(QKeyEvent* keyEvent); +virtual void keyReleaseEvent(QKeyEvent* arg__1); +virtual void languageChange(); +virtual void leaveEvent(QEvent* leaveEvent); +virtual int metric(QPaintDevice::PaintDeviceMetric arg__1) const; +virtual void mouseDoubleClickEvent(QMouseEvent* mouseEvent); +virtual void mouseMoveEvent(QMouseEvent* mouseEvent); +virtual void mousePressEvent(QMouseEvent* mouseEvent); +virtual void mouseReleaseEvent(QMouseEvent* mouseEvent); +virtual void moveEvent(QMoveEvent* moveEvent); +virtual QPaintEngine* paintEngine() const; +virtual void paintEvent(QPaintEvent* paintEvent); +virtual void resizeEvent(QResizeEvent* resizeEvent); +virtual void showEvent(QShowEvent* showEvent); +virtual void tabletEvent(QTabletEvent* arg__1); +virtual void timerEvent(QTimerEvent* timerEvent); +virtual void wheelEvent(QWheelEvent* arg__1); + + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtPublicPromoter_QMdiSubWindow : public QMdiSubWindow +{ public: +inline void promoted_changeEvent(QEvent* changeEvent) { QMdiSubWindow::changeEvent(changeEvent); } +inline void promoted_childEvent(QChildEvent* childEvent) { QMdiSubWindow::childEvent(childEvent); } +inline void promoted_closeEvent(QCloseEvent* closeEvent) { QMdiSubWindow::closeEvent(closeEvent); } +inline void promoted_contextMenuEvent(QContextMenuEvent* contextMenuEvent) { QMdiSubWindow::contextMenuEvent(contextMenuEvent); } +inline bool promoted_event(QEvent* event) { return QMdiSubWindow::event(event); } +inline bool promoted_eventFilter(QObject* object, QEvent* event) { return QMdiSubWindow::eventFilter(object, event); } +inline void promoted_focusInEvent(QFocusEvent* focusInEvent) { QMdiSubWindow::focusInEvent(focusInEvent); } +inline void promoted_focusOutEvent(QFocusEvent* focusOutEvent) { QMdiSubWindow::focusOutEvent(focusOutEvent); } +inline void promoted_hideEvent(QHideEvent* hideEvent) { QMdiSubWindow::hideEvent(hideEvent); } +inline void promoted_keyPressEvent(QKeyEvent* keyEvent) { QMdiSubWindow::keyPressEvent(keyEvent); } +inline void promoted_leaveEvent(QEvent* leaveEvent) { QMdiSubWindow::leaveEvent(leaveEvent); } +inline void promoted_mouseDoubleClickEvent(QMouseEvent* mouseEvent) { QMdiSubWindow::mouseDoubleClickEvent(mouseEvent); } +inline void promoted_mouseMoveEvent(QMouseEvent* mouseEvent) { QMdiSubWindow::mouseMoveEvent(mouseEvent); } +inline void promoted_mousePressEvent(QMouseEvent* mouseEvent) { QMdiSubWindow::mousePressEvent(mouseEvent); } +inline void promoted_mouseReleaseEvent(QMouseEvent* mouseEvent) { QMdiSubWindow::mouseReleaseEvent(mouseEvent); } +inline void promoted_moveEvent(QMoveEvent* moveEvent) { QMdiSubWindow::moveEvent(moveEvent); } +inline void promoted_paintEvent(QPaintEvent* paintEvent) { QMdiSubWindow::paintEvent(paintEvent); } +inline void promoted_resizeEvent(QResizeEvent* resizeEvent) { QMdiSubWindow::resizeEvent(resizeEvent); } +inline void promoted_showEvent(QShowEvent* showEvent) { QMdiSubWindow::showEvent(showEvent); } +inline void promoted_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 = 0, Qt::WindowFlags flags = 0); +void delete_QMdiSubWindow(QMdiSubWindow* obj) { delete obj; } + void changeEvent(QMdiSubWindow* theWrappedObject, QEvent* changeEvent); + void childEvent(QMdiSubWindow* theWrappedObject, QChildEvent* childEvent); + void closeEvent(QMdiSubWindow* theWrappedObject, QCloseEvent* closeEvent); + void contextMenuEvent(QMdiSubWindow* theWrappedObject, QContextMenuEvent* contextMenuEvent); + bool event(QMdiSubWindow* theWrappedObject, QEvent* event); + bool eventFilter(QMdiSubWindow* theWrappedObject, QObject* object, QEvent* event); + void focusInEvent(QMdiSubWindow* theWrappedObject, QFocusEvent* focusInEvent); + void focusOutEvent(QMdiSubWindow* theWrappedObject, QFocusEvent* focusOutEvent); + void hideEvent(QMdiSubWindow* theWrappedObject, QHideEvent* hideEvent); + bool isShaded(QMdiSubWindow* theWrappedObject) const; + void keyPressEvent(QMdiSubWindow* theWrappedObject, QKeyEvent* keyEvent); + int keyboardPageStep(QMdiSubWindow* theWrappedObject) const; + int keyboardSingleStep(QMdiSubWindow* theWrappedObject) const; + void leaveEvent(QMdiSubWindow* theWrappedObject, QEvent* leaveEvent); + QWidget* maximizedButtonsWidget(QMdiSubWindow* theWrappedObject) const; + QWidget* maximizedSystemMenuIconWidget(QMdiSubWindow* theWrappedObject) const; + QMdiArea* mdiArea(QMdiSubWindow* theWrappedObject) const; + QSize minimumSizeHint(QMdiSubWindow* theWrappedObject) const; + void mouseDoubleClickEvent(QMdiSubWindow* theWrappedObject, QMouseEvent* mouseEvent); + void mouseMoveEvent(QMdiSubWindow* theWrappedObject, QMouseEvent* mouseEvent); + void mousePressEvent(QMdiSubWindow* theWrappedObject, QMouseEvent* mouseEvent); + void mouseReleaseEvent(QMdiSubWindow* theWrappedObject, QMouseEvent* mouseEvent); + void moveEvent(QMdiSubWindow* theWrappedObject, QMoveEvent* moveEvent); + void paintEvent(QMdiSubWindow* theWrappedObject, QPaintEvent* paintEvent); + void resizeEvent(QMdiSubWindow* theWrappedObject, QResizeEvent* 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 showEvent(QMdiSubWindow* theWrappedObject, QShowEvent* showEvent); + QSize sizeHint(QMdiSubWindow* theWrappedObject) const; + QMenu* systemMenu(QMdiSubWindow* theWrappedObject) const; + bool testOption(QMdiSubWindow* theWrappedObject, QMdiSubWindow::SubWindowOption arg__1) const; + void timerEvent(QMdiSubWindow* theWrappedObject, QTimerEvent* timerEvent); + QWidget* widget(QMdiSubWindow* theWrappedObject) const; +}; + + + + + +class PythonQtShell_QMenu : public QMenu +{ +public: + PythonQtShell_QMenu(QWidget* parent = 0):QMenu(parent),_wrapper(NULL) {}; + PythonQtShell_QMenu(const QString& title, QWidget* parent = 0):QMenu(title, parent),_wrapper(NULL) {}; + +virtual void actionEvent(QActionEvent* arg__1); +virtual void changeEvent(QEvent* arg__1); +virtual void childEvent(QChildEvent* arg__1); +virtual void closeEvent(QCloseEvent* arg__1); +virtual void contextMenuEvent(QContextMenuEvent* arg__1); +virtual void customEvent(QEvent* arg__1); +virtual int devType() const; +virtual void dragEnterEvent(QDragEnterEvent* arg__1); +virtual void dragLeaveEvent(QDragLeaveEvent* arg__1); +virtual void dragMoveEvent(QDragMoveEvent* arg__1); +virtual void dropEvent(QDropEvent* arg__1); +virtual void enterEvent(QEvent* arg__1); +virtual bool event(QEvent* arg__1); +virtual bool eventFilter(QObject* arg__1, QEvent* arg__2); +virtual void focusInEvent(QFocusEvent* arg__1); +virtual bool focusNextPrevChild(bool next); +virtual void focusOutEvent(QFocusEvent* arg__1); +virtual int heightForWidth(int arg__1) const; +virtual void hideEvent(QHideEvent* arg__1); +virtual void inputMethodEvent(QInputMethodEvent* arg__1); +virtual QVariant inputMethodQuery(Qt::InputMethodQuery arg__1) const; +virtual void keyPressEvent(QKeyEvent* arg__1); +virtual void keyReleaseEvent(QKeyEvent* arg__1); +virtual void languageChange(); +virtual void leaveEvent(QEvent* arg__1); +virtual int metric(QPaintDevice::PaintDeviceMetric arg__1) const; +virtual QSize minimumSizeHint() const; +virtual void mouseDoubleClickEvent(QMouseEvent* arg__1); +virtual void mouseMoveEvent(QMouseEvent* arg__1); +virtual void mousePressEvent(QMouseEvent* arg__1); +virtual void mouseReleaseEvent(QMouseEvent* arg__1); +virtual void moveEvent(QMoveEvent* arg__1); +virtual QPaintEngine* paintEngine() const; +virtual void paintEvent(QPaintEvent* arg__1); +virtual void resizeEvent(QResizeEvent* arg__1); +virtual void showEvent(QShowEvent* arg__1); +virtual void tabletEvent(QTabletEvent* arg__1); +virtual void timerEvent(QTimerEvent* arg__1); +virtual void wheelEvent(QWheelEvent* arg__1); + + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtPublicPromoter_QMenu : public QMenu +{ public: +inline void promoted_actionEvent(QActionEvent* arg__1) { QMenu::actionEvent(arg__1); } +inline void promoted_changeEvent(QEvent* arg__1) { QMenu::changeEvent(arg__1); } +inline void promoted_enterEvent(QEvent* arg__1) { QMenu::enterEvent(arg__1); } +inline bool promoted_event(QEvent* arg__1) { return QMenu::event(arg__1); } +inline bool promoted_focusNextPrevChild(bool next) { return QMenu::focusNextPrevChild(next); } +inline void promoted_hideEvent(QHideEvent* arg__1) { QMenu::hideEvent(arg__1); } +inline void promoted_keyPressEvent(QKeyEvent* arg__1) { QMenu::keyPressEvent(arg__1); } +inline void promoted_leaveEvent(QEvent* arg__1) { QMenu::leaveEvent(arg__1); } +inline void promoted_mouseMoveEvent(QMouseEvent* arg__1) { QMenu::mouseMoveEvent(arg__1); } +inline void promoted_mousePressEvent(QMouseEvent* arg__1) { QMenu::mousePressEvent(arg__1); } +inline void promoted_mouseReleaseEvent(QMouseEvent* arg__1) { QMenu::mouseReleaseEvent(arg__1); } +inline void promoted_paintEvent(QPaintEvent* arg__1) { QMenu::paintEvent(arg__1); } +inline void promoted_timerEvent(QTimerEvent* arg__1) { QMenu::timerEvent(arg__1); } +inline void promoted_wheelEvent(QWheelEvent* arg__1) { QMenu::wheelEvent(arg__1); } +}; + +class PythonQtWrapper_QMenu : public QObject +{ Q_OBJECT +public: +public slots: +QMenu* new_QMenu(QWidget* parent = 0); +QMenu* new_QMenu(const QString& title, QWidget* parent = 0); +void delete_QMenu(QMenu* obj) { delete obj; } + QAction* actionAt(QMenu* theWrappedObject, const QPoint& arg__1) const; + void actionEvent(QMenu* theWrappedObject, QActionEvent* arg__1); + QRect actionGeometry(QMenu* theWrappedObject, QAction* arg__1) const; + QAction* activeAction(QMenu* theWrappedObject) const; + void addAction(QMenu* theWrappedObject, QAction* action); + 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* addSeparator(QMenu* theWrappedObject); + void changeEvent(QMenu* theWrappedObject, QEvent* arg__1); + void clear(QMenu* theWrappedObject); + QAction* defaultAction(QMenu* theWrappedObject) const; + void enterEvent(QMenu* theWrappedObject, QEvent* arg__1); + bool event(QMenu* theWrappedObject, QEvent* arg__1); + QAction* exec(QMenu* theWrappedObject); + QAction* static_QMenu_exec(QList actions, const QPoint& pos, QAction* at = 0); + QAction* static_QMenu_exec(QList actions, const QPoint& pos, QAction* at, QWidget* parent); + QAction* exec(QMenu* theWrappedObject, const QPoint& pos, QAction* at = 0); + bool focusNextPrevChild(QMenu* theWrappedObject, bool next); + void hideEvent(QMenu* theWrappedObject, QHideEvent* arg__1); + void hideTearOffMenu(QMenu* theWrappedObject); + QIcon icon(QMenu* theWrappedObject) const; + QAction* insertMenu(QMenu* theWrappedObject, QAction* before, QMenu* menu); + QAction* insertSeparator(QMenu* theWrappedObject, QAction* before); + bool isEmpty(QMenu* theWrappedObject) const; + bool isTearOffEnabled(QMenu* theWrappedObject) const; + bool isTearOffMenuVisible(QMenu* theWrappedObject) const; + void keyPressEvent(QMenu* theWrappedObject, QKeyEvent* arg__1); + void leaveEvent(QMenu* theWrappedObject, QEvent* arg__1); + QAction* menuAction(QMenu* theWrappedObject) const; + void mouseMoveEvent(QMenu* theWrappedObject, QMouseEvent* arg__1); + void mousePressEvent(QMenu* theWrappedObject, QMouseEvent* arg__1); + void mouseReleaseEvent(QMenu* theWrappedObject, QMouseEvent* arg__1); + void paintEvent(QMenu* theWrappedObject, QPaintEvent* arg__1); + void popup(QMenu* theWrappedObject, const QPoint& pos, QAction* at = 0); + 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); + QSize sizeHint(QMenu* theWrappedObject) const; + void timerEvent(QMenu* theWrappedObject, QTimerEvent* arg__1); + QString title(QMenu* theWrappedObject) const; + void wheelEvent(QMenu* theWrappedObject, QWheelEvent* arg__1); + + 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 = 0):QMenuBar(parent),_wrapper(NULL) {}; + +virtual void actionEvent(QActionEvent* arg__1); +virtual void changeEvent(QEvent* arg__1); +virtual void childEvent(QChildEvent* arg__1); +virtual void closeEvent(QCloseEvent* arg__1); +virtual void contextMenuEvent(QContextMenuEvent* arg__1); +virtual void customEvent(QEvent* arg__1); +virtual int devType() const; +virtual void dragEnterEvent(QDragEnterEvent* arg__1); +virtual void dragLeaveEvent(QDragLeaveEvent* arg__1); +virtual void dragMoveEvent(QDragMoveEvent* arg__1); +virtual void dropEvent(QDropEvent* arg__1); +virtual void enterEvent(QEvent* arg__1); +virtual bool event(QEvent* arg__1); +virtual bool eventFilter(QObject* arg__1, QEvent* arg__2); +virtual void focusInEvent(QFocusEvent* arg__1); +virtual bool focusNextPrevChild(bool next); +virtual void focusOutEvent(QFocusEvent* arg__1); +virtual int heightForWidth(int arg__1) const; +virtual void hideEvent(QHideEvent* arg__1); +virtual void inputMethodEvent(QInputMethodEvent* arg__1); +virtual QVariant inputMethodQuery(Qt::InputMethodQuery arg__1) const; +virtual void keyPressEvent(QKeyEvent* arg__1); +virtual void keyReleaseEvent(QKeyEvent* arg__1); +virtual void languageChange(); +virtual void leaveEvent(QEvent* arg__1); +virtual int metric(QPaintDevice::PaintDeviceMetric arg__1) const; +virtual void mouseDoubleClickEvent(QMouseEvent* arg__1); +virtual void mouseMoveEvent(QMouseEvent* arg__1); +virtual void mousePressEvent(QMouseEvent* arg__1); +virtual void mouseReleaseEvent(QMouseEvent* arg__1); +virtual void moveEvent(QMoveEvent* arg__1); +virtual QPaintEngine* paintEngine() const; +virtual void paintEvent(QPaintEvent* arg__1); +virtual void resizeEvent(QResizeEvent* arg__1); +virtual void setVisible(bool visible); +virtual void showEvent(QShowEvent* arg__1); +virtual void tabletEvent(QTabletEvent* arg__1); +virtual void timerEvent(QTimerEvent* arg__1); +virtual void wheelEvent(QWheelEvent* arg__1); + + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtPublicPromoter_QMenuBar : public QMenuBar +{ public: +inline void promoted_actionEvent(QActionEvent* arg__1) { QMenuBar::actionEvent(arg__1); } +inline void promoted_changeEvent(QEvent* arg__1) { QMenuBar::changeEvent(arg__1); } +inline bool promoted_event(QEvent* arg__1) { return QMenuBar::event(arg__1); } +inline bool promoted_eventFilter(QObject* arg__1, QEvent* arg__2) { return QMenuBar::eventFilter(arg__1, arg__2); } +inline void promoted_focusInEvent(QFocusEvent* arg__1) { QMenuBar::focusInEvent(arg__1); } +inline void promoted_focusOutEvent(QFocusEvent* arg__1) { QMenuBar::focusOutEvent(arg__1); } +inline int promoted_heightForWidth(int arg__1) const { return QMenuBar::heightForWidth(arg__1); } +inline void promoted_keyPressEvent(QKeyEvent* arg__1) { QMenuBar::keyPressEvent(arg__1); } +inline void promoted_leaveEvent(QEvent* arg__1) { QMenuBar::leaveEvent(arg__1); } +inline void promoted_mouseMoveEvent(QMouseEvent* arg__1) { QMenuBar::mouseMoveEvent(arg__1); } +inline void promoted_mousePressEvent(QMouseEvent* arg__1) { QMenuBar::mousePressEvent(arg__1); } +inline void promoted_mouseReleaseEvent(QMouseEvent* arg__1) { QMenuBar::mouseReleaseEvent(arg__1); } +inline void promoted_paintEvent(QPaintEvent* arg__1) { QMenuBar::paintEvent(arg__1); } +inline void promoted_resizeEvent(QResizeEvent* arg__1) { QMenuBar::resizeEvent(arg__1); } +inline void promoted_setVisible(bool visible) { QMenuBar::setVisible(visible); } +inline void promoted_timerEvent(QTimerEvent* arg__1) { QMenuBar::timerEvent(arg__1); } +}; + +class PythonQtWrapper_QMenuBar : public QObject +{ Q_OBJECT +public: +public slots: +QMenuBar* new_QMenuBar(QWidget* parent = 0); +void delete_QMenuBar(QMenuBar* obj) { delete obj; } + QAction* actionAt(QMenuBar* theWrappedObject, const QPoint& arg__1) const; + void actionEvent(QMenuBar* theWrappedObject, QActionEvent* arg__1); + QRect actionGeometry(QMenuBar* theWrappedObject, QAction* arg__1) const; + QAction* activeAction(QMenuBar* theWrappedObject) const; + void addAction(QMenuBar* theWrappedObject, QAction* action); + 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 changeEvent(QMenuBar* theWrappedObject, QEvent* arg__1); + void clear(QMenuBar* theWrappedObject); + QWidget* cornerWidget(QMenuBar* theWrappedObject, Qt::Corner corner = Qt::TopRightCorner) const; + bool event(QMenuBar* theWrappedObject, QEvent* arg__1); + bool eventFilter(QMenuBar* theWrappedObject, QObject* arg__1, QEvent* arg__2); + void focusInEvent(QMenuBar* theWrappedObject, QFocusEvent* arg__1); + void focusOutEvent(QMenuBar* theWrappedObject, QFocusEvent* arg__1); + int heightForWidth(QMenuBar* theWrappedObject, int arg__1) 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 keyPressEvent(QMenuBar* theWrappedObject, QKeyEvent* arg__1); + void leaveEvent(QMenuBar* theWrappedObject, QEvent* arg__1); + QSize minimumSizeHint(QMenuBar* theWrappedObject) const; + void mouseMoveEvent(QMenuBar* theWrappedObject, QMouseEvent* arg__1); + void mousePressEvent(QMenuBar* theWrappedObject, QMouseEvent* arg__1); + void mouseReleaseEvent(QMenuBar* theWrappedObject, QMouseEvent* arg__1); + void paintEvent(QMenuBar* theWrappedObject, QPaintEvent* arg__1); + void resizeEvent(QMenuBar* theWrappedObject, QResizeEvent* 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); + QSize sizeHint(QMenuBar* theWrappedObject) const; + void timerEvent(QMenuBar* theWrappedObject, QTimerEvent* 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 = 0, Qt::WindowFlags flags = Qt::Dialog | Qt::MSWindowsFixedSizeDialogHint):QMessageBox(icon, title, text, buttons, parent, flags),_wrapper(NULL) {}; + PythonQtShell_QMessageBox(QWidget* parent = 0):QMessageBox(parent),_wrapper(NULL) {}; + +virtual void accept(); +virtual void actionEvent(QActionEvent* arg__1); +virtual void changeEvent(QEvent* event); +virtual void childEvent(QChildEvent* arg__1); +virtual void closeEvent(QCloseEvent* event); +virtual void contextMenuEvent(QContextMenuEvent* arg__1); +virtual void customEvent(QEvent* arg__1); +virtual int devType() const; +virtual void done(int arg__1); +virtual void dragEnterEvent(QDragEnterEvent* arg__1); +virtual void dragLeaveEvent(QDragLeaveEvent* arg__1); +virtual void dragMoveEvent(QDragMoveEvent* arg__1); +virtual void dropEvent(QDropEvent* arg__1); +virtual void enterEvent(QEvent* arg__1); +virtual bool event(QEvent* e); +virtual bool eventFilter(QObject* arg__1, QEvent* arg__2); +virtual void focusInEvent(QFocusEvent* arg__1); +virtual bool focusNextPrevChild(bool next); +virtual void focusOutEvent(QFocusEvent* arg__1); +virtual int heightForWidth(int arg__1) const; +virtual void hideEvent(QHideEvent* arg__1); +virtual void inputMethodEvent(QInputMethodEvent* arg__1); +virtual QVariant inputMethodQuery(Qt::InputMethodQuery arg__1) const; +virtual void keyPressEvent(QKeyEvent* event); +virtual void keyReleaseEvent(QKeyEvent* arg__1); +virtual void languageChange(); +virtual void leaveEvent(QEvent* arg__1); +virtual int metric(QPaintDevice::PaintDeviceMetric arg__1) const; +virtual void mouseDoubleClickEvent(QMouseEvent* arg__1); +virtual void mouseMoveEvent(QMouseEvent* arg__1); +virtual void mousePressEvent(QMouseEvent* arg__1); +virtual void mouseReleaseEvent(QMouseEvent* arg__1); +virtual void moveEvent(QMoveEvent* arg__1); +virtual QPaintEngine* paintEngine() const; +virtual void paintEvent(QPaintEvent* arg__1); +virtual void reject(); +virtual void resizeEvent(QResizeEvent* event); +virtual void showEvent(QShowEvent* event); +virtual void tabletEvent(QTabletEvent* arg__1); +virtual void timerEvent(QTimerEvent* arg__1); +virtual void wheelEvent(QWheelEvent* arg__1); + + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtPublicPromoter_QMessageBox : public QMessageBox +{ public: +inline void promoted_changeEvent(QEvent* event) { QMessageBox::changeEvent(event); } +inline void promoted_closeEvent(QCloseEvent* event) { QMessageBox::closeEvent(event); } +inline bool promoted_event(QEvent* e) { return QMessageBox::event(e); } +inline void promoted_keyPressEvent(QKeyEvent* event) { QMessageBox::keyPressEvent(event); } +inline void promoted_resizeEvent(QResizeEvent* event) { QMessageBox::resizeEvent(event); } +inline void promoted_showEvent(QShowEvent* event) { QMessageBox::showEvent(event); } +}; + +class PythonQtWrapper_QMessageBox : public QObject +{ Q_OBJECT +public: +Q_ENUMS(ButtonRole StandardButton ) +Q_FLAGS(StandardButtons ) +enum ButtonRole{ + InvalidRole = QMessageBox::InvalidRole, AcceptRole = QMessageBox::AcceptRole, RejectRole = QMessageBox::RejectRole, DestructiveRole = QMessageBox::DestructiveRole, ActionRole = QMessageBox::ActionRole, HelpRole = QMessageBox::HelpRole, YesRole = QMessageBox::YesRole, NoRole = QMessageBox::NoRole, ResetRole = QMessageBox::ResetRole, ApplyRole = QMessageBox::ApplyRole, NRoles = QMessageBox::NRoles}; +enum StandardButton{ + NoButton = QMessageBox::NoButton, Ok = QMessageBox::Ok, Save = QMessageBox::Save, SaveAll = QMessageBox::SaveAll, Open = QMessageBox::Open, Yes = QMessageBox::Yes, YesToAll = QMessageBox::YesToAll, No = QMessageBox::No, NoToAll = QMessageBox::NoToAll, Abort = QMessageBox::Abort, Retry = QMessageBox::Retry, Ignore = QMessageBox::Ignore, Close = QMessageBox::Close, Cancel = QMessageBox::Cancel, Discard = QMessageBox::Discard, Help = QMessageBox::Help, Apply = QMessageBox::Apply, Reset = QMessageBox::Reset, RestoreDefaults = QMessageBox::RestoreDefaults, FirstButton = QMessageBox::FirstButton, LastButton = QMessageBox::LastButton, YesAll = QMessageBox::YesAll, NoAll = QMessageBox::NoAll, Default = QMessageBox::Default, Escape = QMessageBox::Escape, FlagMask = QMessageBox::FlagMask, ButtonMask = QMessageBox::ButtonMask}; +Q_DECLARE_FLAGS(StandardButtons, StandardButton) +public slots: +QMessageBox* new_QMessageBox(QMessageBox::Icon icon, const QString& title, const QString& text, QMessageBox::StandardButtons buttons = QMessageBox::NoButton, QWidget* parent = 0, Qt::WindowFlags flags = Qt::Dialog | Qt::MSWindowsFixedSizeDialogHint); +QMessageBox* new_QMessageBox(QWidget* parent = 0); +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); + QPushButton* addButton(QMessageBox* theWrappedObject, QMessageBox::StandardButton button); + QPushButton* addButton(QMessageBox* theWrappedObject, const QString& text, QMessageBox::ButtonRole role); + QAbstractButton* button(QMessageBox* theWrappedObject, QMessageBox::StandardButton which) const; + QMessageBox::ButtonRole buttonRole(QMessageBox* theWrappedObject, QAbstractButton* button) const; + QList buttons(QMessageBox* theWrappedObject) const; + void changeEvent(QMessageBox* theWrappedObject, QEvent* event); + QAbstractButton* clickedButton(QMessageBox* theWrappedObject) const; + void closeEvent(QMessageBox* theWrappedObject, QCloseEvent* event); + QMessageBox::StandardButton static_QMessageBox_critical(QWidget* parent, const QString& title, const QString& text, QMessageBox::StandardButtons buttons = QMessageBox::Ok, QMessageBox::StandardButton defaultButton = QMessageBox::NoButton); + int static_QMessageBox_critical(QWidget* parent, const QString& title, const QString& text, QMessageBox::StandardButton button0, QMessageBox::StandardButton button1); + QPushButton* defaultButton(QMessageBox* theWrappedObject) const; + QString detailedText(QMessageBox* theWrappedObject) const; + QAbstractButton* escapeButton(QMessageBox* theWrappedObject) const; + bool event(QMessageBox* theWrappedObject, QEvent* e); + QMessageBox::Icon icon(QMessageBox* theWrappedObject) const; + QPixmap iconPixmap(QMessageBox* theWrappedObject) const; + QMessageBox::StandardButton static_QMessageBox_information(QWidget* parent, const QString& title, const QString& text, QMessageBox::StandardButtons buttons = QMessageBox::Ok, QMessageBox::StandardButton defaultButton = QMessageBox::NoButton); + QMessageBox::StandardButton static_QMessageBox_information(QWidget* parent, const QString& title, const QString& text, QMessageBox::StandardButton button0, QMessageBox::StandardButton button1 = QMessageBox::NoButton); + QString informativeText(QMessageBox* theWrappedObject) const; + void keyPressEvent(QMessageBox* theWrappedObject, QKeyEvent* event); + void open(QMessageBox* theWrappedObject); + void open(QMessageBox* theWrappedObject, QObject* receiver, const char* member); + QMessageBox::StandardButton static_QMessageBox_question(QWidget* parent, const QString& title, const QString& text, QMessageBox::StandardButtons buttons = QMessageBox::Ok, QMessageBox::StandardButton defaultButton = QMessageBox::NoButton); + int static_QMessageBox_question(QWidget* parent, const QString& title, const QString& text, QMessageBox::StandardButton button0, QMessageBox::StandardButton button1); + void removeButton(QMessageBox* theWrappedObject, QAbstractButton* button); + void resizeEvent(QMessageBox* theWrappedObject, QResizeEvent* event); + void setDefaultButton(QMessageBox* theWrappedObject, QMessageBox::StandardButton button); + void setDefaultButton(QMessageBox* theWrappedObject, QPushButton* button); + void setDetailedText(QMessageBox* theWrappedObject, const QString& text); + void setEscapeButton(QMessageBox* theWrappedObject, QAbstractButton* button); + void setEscapeButton(QMessageBox* theWrappedObject, QMessageBox::StandardButton button); + void setIcon(QMessageBox* theWrappedObject, QMessageBox::Icon arg__1); + void setIconPixmap(QMessageBox* theWrappedObject, const QPixmap& pixmap); + void setInformativeText(QMessageBox* theWrappedObject, const QString& text); + void setStandardButtons(QMessageBox* theWrappedObject, QMessageBox::StandardButtons buttons); + void setText(QMessageBox* theWrappedObject, const QString& text); + void setTextFormat(QMessageBox* theWrappedObject, Qt::TextFormat format); + void showEvent(QMessageBox* theWrappedObject, QShowEvent* event); + QSize sizeHint(QMessageBox* theWrappedObject) const; + QMessageBox::StandardButton standardButton(QMessageBox* theWrappedObject, QAbstractButton* button) const; + QMessageBox::StandardButtons standardButtons(QMessageBox* theWrappedObject) const; + QString text(QMessageBox* theWrappedObject) const; + Qt::TextFormat textFormat(QMessageBox* theWrappedObject) const; + QMessageBox::StandardButton static_QMessageBox_warning(QWidget* parent, const QString& title, const QString& text, QMessageBox::StandardButtons buttons = QMessageBox::Ok, QMessageBox::StandardButton defaultButton = QMessageBox::NoButton); + int static_QMessageBox_warning(QWidget* parent, const QString& title, const QString& text, QMessageBox::StandardButton button0, QMessageBox::StandardButton button1); +}; + + + + + +class PythonQtShell_QMotifStyle : public QMotifStyle +{ +public: + PythonQtShell_QMotifStyle(bool useHighlightCols = false):QMotifStyle(useHighlightCols),_wrapper(NULL) {}; + +virtual void childEvent(QChildEvent* arg__1); +virtual void customEvent(QEvent* arg__1); +virtual void drawComplexControl(QStyle::ComplexControl cc, const QStyleOptionComplex* opt, QPainter* p, const QWidget* w = 0) const; +virtual void drawControl(QStyle::ControlElement element, const QStyleOption* opt, QPainter* p, const QWidget* w = 0) const; +virtual void drawItemPixmap(QPainter* painter, const QRect& rect, int alignment, const QPixmap& pixmap) const; +virtual void drawItemText(QPainter* painter, const QRect& rect, int flags, const QPalette& pal, bool enabled, const QString& text, QPalette::ColorRole textRole) const; +virtual void drawPrimitive(QStyle::PrimitiveElement pe, const QStyleOption* opt, QPainter* p, const QWidget* w = 0) const; +virtual bool event(QEvent* arg__1); +virtual bool eventFilter(QObject* o, QEvent* e); +virtual QPixmap generatedIconPixmap(QIcon::Mode iconMode, const QPixmap& pixmap, const QStyleOption* opt) const; +virtual QStyle::SubControl hitTestComplexControl(QStyle::ComplexControl cc, const QStyleOptionComplex* opt, const QPoint& pt, const QWidget* w) const; +virtual QRect itemPixmapRect(const QRect& r, int flags, const QPixmap& pixmap) const; +virtual int pixelMetric(QStyle::PixelMetric metric, const QStyleOption* option = 0, const QWidget* widget = 0) const; +virtual void polish(QApplication* arg__1); +virtual void polish(QPalette& arg__1); +virtual void polish(QWidget* arg__1); +virtual QSize sizeFromContents(QStyle::ContentsType ct, const QStyleOption* opt, const QSize& contentsSize, const QWidget* widget = 0) const; +virtual QPalette standardPalette() const; +virtual QPixmap standardPixmap(QStyle::StandardPixmap standardPixmap, const QStyleOption* opt, const QWidget* widget) const; +virtual int styleHint(QStyle::StyleHint hint, const QStyleOption* opt = 0, const QWidget* widget = 0, QStyleHintReturn* returnData = 0) const; +virtual QRect subControlRect(QStyle::ComplexControl cc, const QStyleOptionComplex* opt, QStyle::SubControl sc, const QWidget* widget = 0) const; +virtual QRect subElementRect(QStyle::SubElement r, const QStyleOption* opt, const QWidget* widget = 0) const; +virtual void timerEvent(QTimerEvent* event); +virtual void unpolish(QApplication* arg__1); +virtual void unpolish(QWidget* arg__1); + + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtPublicPromoter_QMotifStyle : public QMotifStyle +{ public: +inline void promoted_drawComplexControl(QStyle::ComplexControl cc, const QStyleOptionComplex* opt, QPainter* p, const QWidget* w = 0) const { QMotifStyle::drawComplexControl(cc, opt, p, w); } +inline void promoted_drawControl(QStyle::ControlElement element, const QStyleOption* opt, QPainter* p, const QWidget* w = 0) const { QMotifStyle::drawControl(element, opt, p, w); } +inline void promoted_drawPrimitive(QStyle::PrimitiveElement pe, const QStyleOption* opt, QPainter* p, const QWidget* w = 0) const { QMotifStyle::drawPrimitive(pe, opt, p, w); } +inline bool promoted_event(QEvent* arg__1) { return QMotifStyle::event(arg__1); } +inline bool promoted_eventFilter(QObject* o, QEvent* e) { return QMotifStyle::eventFilter(o, e); } +inline int promoted_pixelMetric(QStyle::PixelMetric metric, const QStyleOption* option = 0, const QWidget* widget = 0) const { return QMotifStyle::pixelMetric(metric, option, widget); } +inline void promoted_polish(QApplication* arg__1) { QMotifStyle::polish(arg__1); } +inline void promoted_polish(QPalette& arg__1) { QMotifStyle::polish(arg__1); } +inline void promoted_polish(QWidget* arg__1) { QMotifStyle::polish(arg__1); } +inline QSize promoted_sizeFromContents(QStyle::ContentsType ct, const QStyleOption* opt, const QSize& contentsSize, const QWidget* widget = 0) const { return QMotifStyle::sizeFromContents(ct, opt, contentsSize, widget); } +inline QPalette promoted_standardPalette() const { return QMotifStyle::standardPalette(); } +inline int promoted_styleHint(QStyle::StyleHint hint, const QStyleOption* opt = 0, const QWidget* widget = 0, QStyleHintReturn* returnData = 0) const { return QMotifStyle::styleHint(hint, opt, widget, returnData); } +inline QRect promoted_subControlRect(QStyle::ComplexControl cc, const QStyleOptionComplex* opt, QStyle::SubControl sc, const QWidget* widget = 0) const { return QMotifStyle::subControlRect(cc, opt, sc, widget); } +inline QRect promoted_subElementRect(QStyle::SubElement r, const QStyleOption* opt, const QWidget* widget = 0) const { return QMotifStyle::subElementRect(r, opt, widget); } +inline void promoted_timerEvent(QTimerEvent* event) { QMotifStyle::timerEvent(event); } +inline void promoted_unpolish(QApplication* arg__1) { QMotifStyle::unpolish(arg__1); } +inline void promoted_unpolish(QWidget* arg__1) { QMotifStyle::unpolish(arg__1); } +}; + +class PythonQtWrapper_QMotifStyle : public QObject +{ Q_OBJECT +public: +public slots: +QMotifStyle* new_QMotifStyle(bool useHighlightCols = false); +void delete_QMotifStyle(QMotifStyle* obj) { delete obj; } + void drawComplexControl(QMotifStyle* theWrappedObject, QStyle::ComplexControl cc, const QStyleOptionComplex* opt, QPainter* p, const QWidget* w = 0) const; + void drawControl(QMotifStyle* theWrappedObject, QStyle::ControlElement element, const QStyleOption* opt, QPainter* p, const QWidget* w = 0) const; + void drawPrimitive(QMotifStyle* theWrappedObject, QStyle::PrimitiveElement pe, const QStyleOption* opt, QPainter* p, const QWidget* w = 0) const; + bool event(QMotifStyle* theWrappedObject, QEvent* arg__1); + bool eventFilter(QMotifStyle* theWrappedObject, QObject* o, QEvent* e); + int pixelMetric(QMotifStyle* theWrappedObject, QStyle::PixelMetric metric, const QStyleOption* option = 0, const QWidget* widget = 0) const; + void polish(QMotifStyle* theWrappedObject, QApplication* arg__1); + void polish(QMotifStyle* theWrappedObject, QPalette& arg__1); + void polish(QMotifStyle* theWrappedObject, QWidget* arg__1); + void setUseHighlightColors(QMotifStyle* theWrappedObject, bool arg__1); + QSize sizeFromContents(QMotifStyle* theWrappedObject, QStyle::ContentsType ct, const QStyleOption* opt, const QSize& contentsSize, const QWidget* widget = 0) const; + QPalette standardPalette(QMotifStyle* theWrappedObject) const; + int styleHint(QMotifStyle* theWrappedObject, QStyle::StyleHint hint, const QStyleOption* opt = 0, const QWidget* widget = 0, QStyleHintReturn* returnData = 0) const; + QRect subControlRect(QMotifStyle* theWrappedObject, QStyle::ComplexControl cc, const QStyleOptionComplex* opt, QStyle::SubControl sc, const QWidget* widget = 0) const; + QRect subElementRect(QMotifStyle* theWrappedObject, QStyle::SubElement r, const QStyleOption* opt, const QWidget* widget = 0) const; + void timerEvent(QMotifStyle* theWrappedObject, QTimerEvent* event); + void unpolish(QMotifStyle* theWrappedObject, QApplication* arg__1); + void unpolish(QMotifStyle* theWrappedObject, QWidget* arg__1); + bool useHighlightColors(QMotifStyle* theWrappedObject) const; +}; + + + + + +class PythonQtShell_QMouseEvent : public QMouseEvent +{ +public: + PythonQtShell_QMouseEvent(QEvent::Type type, const QPoint& pos, Qt::MouseButton button, Qt::MouseButtons buttons, Qt::KeyboardModifiers modifiers):QMouseEvent(type, pos, button, buttons, modifiers),_wrapper(NULL) {}; + PythonQtShell_QMouseEvent(QEvent::Type type, const QPoint& pos, const QPoint& globalPos, Qt::MouseButton button, Qt::MouseButtons buttons, Qt::KeyboardModifiers modifiers):QMouseEvent(type, pos, globalPos, button, buttons, modifiers),_wrapper(NULL) {}; + + + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtWrapper_QMouseEvent : public QObject +{ Q_OBJECT +public: +public slots: +QMouseEvent* new_QMouseEvent(QEvent::Type type, const QPoint& pos, Qt::MouseButton button, Qt::MouseButtons buttons, Qt::KeyboardModifiers modifiers); +QMouseEvent* new_QMouseEvent(QEvent::Type type, const QPoint& pos, const QPoint& globalPos, Qt::MouseButton button, Qt::MouseButtons buttons, Qt::KeyboardModifiers modifiers); +void delete_QMouseEvent(QMouseEvent* obj) { delete obj; } + Qt::MouseButton button(QMouseEvent* theWrappedObject) const; + Qt::MouseButtons buttons(QMouseEvent* theWrappedObject) const; + QMouseEvent* static_QMouseEvent_createExtendedMouseEvent(QEvent::Type type, const QPointF& pos, const QPoint& globalPos, Qt::MouseButton button, Qt::MouseButtons buttons, Qt::KeyboardModifiers modifiers); + const QPoint* globalPos(QMouseEvent* theWrappedObject) const; + int globalX(QMouseEvent* theWrappedObject) const; + int globalY(QMouseEvent* theWrappedObject) const; + bool hasExtendedInfo(QMouseEvent* theWrappedObject) const; + const QPoint* pos(QMouseEvent* theWrappedObject) const; + QPointF posF(QMouseEvent* theWrappedObject) const; + int x(QMouseEvent* theWrappedObject) const; + int y(QMouseEvent* theWrappedObject) const; +}; + + + + + +class PythonQtShell_QMouseEventTransition : public QMouseEventTransition +{ +public: + PythonQtShell_QMouseEventTransition(QObject* object, QEvent::Type type, Qt::MouseButton button, QState* sourceState = 0):QMouseEventTransition(object, type, button, sourceState),_wrapper(NULL) {}; + PythonQtShell_QMouseEventTransition(QState* sourceState = 0):QMouseEventTransition(sourceState),_wrapper(NULL) {}; + +virtual void childEvent(QChildEvent* arg__1); +virtual void customEvent(QEvent* arg__1); +virtual bool event(QEvent* e); +virtual bool eventFilter(QObject* arg__1, QEvent* arg__2); +virtual bool eventTest(QEvent* event); +virtual void onTransition(QEvent* event); +virtual void timerEvent(QTimerEvent* arg__1); + + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtPublicPromoter_QMouseEventTransition : public QMouseEventTransition +{ public: +inline bool promoted_eventTest(QEvent* event) { return QMouseEventTransition::eventTest(event); } +inline void promoted_onTransition(QEvent* event) { QMouseEventTransition::onTransition(event); } +}; + +class PythonQtWrapper_QMouseEventTransition : public QObject +{ Q_OBJECT +public: +public slots: +QMouseEventTransition* new_QMouseEventTransition(QObject* object, QEvent::Type type, Qt::MouseButton button, QState* sourceState = 0); +QMouseEventTransition* new_QMouseEventTransition(QState* sourceState = 0); +void delete_QMouseEventTransition(QMouseEventTransition* obj) { delete obj; } + Qt::MouseButton button(QMouseEventTransition* theWrappedObject) const; + bool eventTest(QMouseEventTransition* theWrappedObject, QEvent* event); + QPainterPath hitTestPath(QMouseEventTransition* theWrappedObject) const; + Qt::KeyboardModifiers modifierMask(QMouseEventTransition* theWrappedObject) const; + void onTransition(QMouseEventTransition* theWrappedObject, QEvent* event); + void setButton(QMouseEventTransition* theWrappedObject, Qt::MouseButton button); + void setHitTestPath(QMouseEventTransition* theWrappedObject, const QPainterPath& path); + void setModifierMask(QMouseEventTransition* theWrappedObject, Qt::KeyboardModifiers modifiers); +}; + + + + + +class PythonQtShell_QMoveEvent : public QMoveEvent +{ +public: + PythonQtShell_QMoveEvent(const QPoint& pos, const QPoint& oldPos):QMoveEvent(pos, oldPos),_wrapper(NULL) {}; + + + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtWrapper_QMoveEvent : public QObject +{ Q_OBJECT +public: +public slots: +QMoveEvent* new_QMoveEvent(const QPoint& pos, const QPoint& oldPos); +void delete_QMoveEvent(QMoveEvent* obj) { delete obj; } + const QPoint* oldPos(QMoveEvent* theWrappedObject) const; + const QPoint* pos(QMoveEvent* theWrappedObject) const; +}; + + + + + +class PythonQtShell_QMovie : public QMovie +{ +public: + PythonQtShell_QMovie(QIODevice* device, const QByteArray& format = QByteArray(), QObject* parent = 0):QMovie(device, format, parent),_wrapper(NULL) {}; + PythonQtShell_QMovie(QObject* parent = 0):QMovie(parent),_wrapper(NULL) {}; + PythonQtShell_QMovie(const QString& fileName, const QByteArray& format = QByteArray(), QObject* parent = 0):QMovie(fileName, format, parent),_wrapper(NULL) {}; + +virtual void childEvent(QChildEvent* arg__1); +virtual void customEvent(QEvent* arg__1); +virtual bool event(QEvent* arg__1); +virtual bool eventFilter(QObject* arg__1, QEvent* arg__2); +virtual void timerEvent(QTimerEvent* arg__1); + + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtWrapper_QMovie : public QObject +{ Q_OBJECT +public: +public slots: +QMovie* new_QMovie(QIODevice* device, const QByteArray& format = QByteArray(), QObject* parent = 0); +QMovie* new_QMovie(QObject* parent = 0); +QMovie* new_QMovie(const QString& fileName, const QByteArray& format = QByteArray(), QObject* parent = 0); +void delete_QMovie(QMovie* obj) { delete obj; } + QColor backgroundColor(QMovie* theWrappedObject) const; + QMovie::CacheMode cacheMode(QMovie* theWrappedObject) const; + int currentFrameNumber(QMovie* theWrappedObject) const; + QImage currentImage(QMovie* theWrappedObject) const; + QPixmap currentPixmap(QMovie* theWrappedObject) const; + QIODevice* device(QMovie* theWrappedObject) const; + QString fileName(QMovie* theWrappedObject) const; + QByteArray format(QMovie* theWrappedObject) const; + int frameCount(QMovie* theWrappedObject) const; + QRect frameRect(QMovie* theWrappedObject) const; + bool isValid(QMovie* theWrappedObject) const; + bool jumpToFrame(QMovie* theWrappedObject, int frameNumber); + int loopCount(QMovie* theWrappedObject) const; + int nextFrameDelay(QMovie* theWrappedObject) const; + QSize scaledSize(QMovie* theWrappedObject); + void setBackgroundColor(QMovie* theWrappedObject, const QColor& color); + void setCacheMode(QMovie* theWrappedObject, QMovie::CacheMode mode); + void setDevice(QMovie* theWrappedObject, QIODevice* device); + void setFileName(QMovie* theWrappedObject, const QString& fileName); + void setFormat(QMovie* theWrappedObject, const QByteArray& format); + void setScaledSize(QMovie* theWrappedObject, const QSize& size); + int speed(QMovie* theWrappedObject) const; + QMovie::MovieState state(QMovie* theWrappedObject) const; + QList static_QMovie_supportedFormats(); +}; + + + + + +class PythonQtShell_QPageSetupDialog : public QPageSetupDialog +{ +public: + PythonQtShell_QPageSetupDialog(QPrinter* printer, QWidget* parent = 0):QPageSetupDialog(printer, parent),_wrapper(NULL) {}; + PythonQtShell_QPageSetupDialog(QWidget* parent = 0):QPageSetupDialog(parent),_wrapper(NULL) {}; + +virtual void accept(); +virtual void actionEvent(QActionEvent* arg__1); +virtual void changeEvent(QEvent* arg__1); +virtual void childEvent(QChildEvent* arg__1); +virtual void closeEvent(QCloseEvent* arg__1); +virtual void contextMenuEvent(QContextMenuEvent* arg__1); +virtual void customEvent(QEvent* arg__1); +virtual int devType() const; +virtual void done(int result); +virtual void dragEnterEvent(QDragEnterEvent* arg__1); +virtual void dragLeaveEvent(QDragLeaveEvent* arg__1); +virtual void dragMoveEvent(QDragMoveEvent* arg__1); +virtual void dropEvent(QDropEvent* arg__1); +virtual void enterEvent(QEvent* arg__1); +virtual bool event(QEvent* arg__1); +virtual bool eventFilter(QObject* arg__1, QEvent* arg__2); +virtual int exec(); +virtual void focusInEvent(QFocusEvent* arg__1); +virtual bool focusNextPrevChild(bool next); +virtual void focusOutEvent(QFocusEvent* arg__1); +virtual int heightForWidth(int arg__1) const; +virtual void hideEvent(QHideEvent* arg__1); +virtual void inputMethodEvent(QInputMethodEvent* arg__1); +virtual QVariant inputMethodQuery(Qt::InputMethodQuery arg__1) const; +virtual void keyPressEvent(QKeyEvent* arg__1); +virtual void keyReleaseEvent(QKeyEvent* arg__1); +virtual void languageChange(); +virtual void leaveEvent(QEvent* arg__1); +virtual int metric(QPaintDevice::PaintDeviceMetric arg__1) const; +virtual void mouseDoubleClickEvent(QMouseEvent* arg__1); +virtual void mouseMoveEvent(QMouseEvent* arg__1); +virtual void mousePressEvent(QMouseEvent* arg__1); +virtual void mouseReleaseEvent(QMouseEvent* arg__1); +virtual void moveEvent(QMoveEvent* arg__1); +virtual QPaintEngine* paintEngine() const; +virtual void paintEvent(QPaintEvent* arg__1); +virtual void reject(); +virtual void resizeEvent(QResizeEvent* arg__1); +virtual void showEvent(QShowEvent* arg__1); +virtual void tabletEvent(QTabletEvent* arg__1); +virtual void timerEvent(QTimerEvent* arg__1); +virtual void wheelEvent(QWheelEvent* arg__1); + + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtPublicPromoter_QPageSetupDialog : public QPageSetupDialog +{ public: +inline int promoted_exec() { return QPageSetupDialog::exec(); } +}; + +class PythonQtWrapper_QPageSetupDialog : public QObject +{ Q_OBJECT +public: +public slots: +QPageSetupDialog* new_QPageSetupDialog(QPrinter* printer, QWidget* parent = 0); +QPageSetupDialog* new_QPageSetupDialog(QWidget* parent = 0); +void delete_QPageSetupDialog(QPageSetupDialog* obj) { delete obj; } + void addEnabledOption(QPageSetupDialog* theWrappedObject, QPageSetupDialog::PageSetupDialogOption option); + QPageSetupDialog::PageSetupDialogOptions enabledOptions(QPageSetupDialog* theWrappedObject) const; + int exec(QPageSetupDialog* theWrappedObject); + bool isOptionEnabled(QPageSetupDialog* theWrappedObject, QPageSetupDialog::PageSetupDialogOption option) const; + void open(QPageSetupDialog* theWrappedObject); + void open(QPageSetupDialog* theWrappedObject, QObject* receiver, const char* member); + QPageSetupDialog::PageSetupDialogOptions options(QPageSetupDialog* theWrappedObject) const; + void setEnabledOptions(QPageSetupDialog* theWrappedObject, QPageSetupDialog::PageSetupDialogOptions options); + void setOption(QPageSetupDialog* theWrappedObject, QPageSetupDialog::PageSetupDialogOption option, bool on = true); + void setOptions(QPageSetupDialog* theWrappedObject, QPageSetupDialog::PageSetupDialogOptions options); + bool testOption(QPageSetupDialog* theWrappedObject, QPageSetupDialog::PageSetupDialogOption option) const; +}; + + + + + +class PythonQtShell_QPaintDevice : public QPaintDevice +{ +public: + PythonQtShell_QPaintDevice():QPaintDevice(),_wrapper(NULL) {}; + +virtual int devType() const; +virtual int metric(QPaintDevice::PaintDeviceMetric metric) const; +virtual QPaintEngine* paintEngine() const; + + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtPublicPromoter_QPaintDevice : public QPaintDevice +{ public: +inline int promoted_devType() const { return QPaintDevice::devType(); } +inline int promoted_metric(QPaintDevice::PaintDeviceMetric metric) const { return QPaintDevice::metric(metric); } +}; + +class PythonQtWrapper_QPaintDevice : public QObject +{ Q_OBJECT +public: +Q_ENUMS(PaintDeviceMetric ) +enum PaintDeviceMetric{ + PdmWidth = QPaintDevice::PdmWidth, PdmHeight = QPaintDevice::PdmHeight, PdmWidthMM = QPaintDevice::PdmWidthMM, PdmHeightMM = QPaintDevice::PdmHeightMM, PdmNumColors = QPaintDevice::PdmNumColors, PdmDepth = QPaintDevice::PdmDepth, PdmDpiX = QPaintDevice::PdmDpiX, PdmDpiY = QPaintDevice::PdmDpiY, PdmPhysicalDpiX = QPaintDevice::PdmPhysicalDpiX, PdmPhysicalDpiY = QPaintDevice::PdmPhysicalDpiY}; +public slots: +QPaintDevice* new_QPaintDevice(); +void delete_QPaintDevice(QPaintDevice* obj) { delete obj; } + int colorCount(QPaintDevice* theWrappedObject) const; + int depth(QPaintDevice* theWrappedObject) const; + int devType(QPaintDevice* theWrappedObject) const; + int height(QPaintDevice* theWrappedObject) const; + int heightMM(QPaintDevice* theWrappedObject) const; + int logicalDpiX(QPaintDevice* theWrappedObject) const; + int logicalDpiY(QPaintDevice* theWrappedObject) const; + int metric(QPaintDevice* theWrappedObject, QPaintDevice::PaintDeviceMetric metric) const; + int numColors(QPaintDevice* theWrappedObject) const; + bool paintingActive(QPaintDevice* theWrappedObject) const; + int physicalDpiX(QPaintDevice* theWrappedObject) const; + int physicalDpiY(QPaintDevice* theWrappedObject) const; + int width(QPaintDevice* theWrappedObject) const; + int widthMM(QPaintDevice* theWrappedObject) const; +}; + + + + + +class PythonQtShell_QPaintEngine : public QPaintEngine +{ +public: + PythonQtShell_QPaintEngine(QPaintEngine::PaintEngineFeatures features = 0):QPaintEngine(features),_wrapper(NULL) {}; + +virtual bool begin(QPaintDevice* pdev); +virtual QPoint coordinateOffset() const; +virtual void drawEllipse(const QRect& r); +virtual void drawEllipse(const QRectF& r); +virtual void drawImage(const QRectF& r, const QImage& pm, const QRectF& sr, Qt::ImageConversionFlags flags = Qt::AutoColor); +virtual void drawLines(const QLine* lines, int lineCount); +virtual void drawLines(const QLineF* lines, int lineCount); +virtual void drawPath(const QPainterPath& path); +virtual void drawPixmap(const QRectF& r, const QPixmap& pm, const QRectF& sr); +virtual void drawPoints(const QPoint* points, int pointCount); +virtual void drawPoints(const QPointF* points, int pointCount); +virtual void drawPolygon(const QPoint* points, int pointCount, QPaintEngine::PolygonDrawMode mode); +virtual void drawPolygon(const QPointF* points, int pointCount, QPaintEngine::PolygonDrawMode mode); +virtual void drawRects(const QRect* rects, int rectCount); +virtual void drawRects(const QRectF* rects, int rectCount); +virtual void drawTextItem(const QPointF& p, const QTextItem& textItem); +virtual void drawTiledPixmap(const QRectF& r, const QPixmap& pixmap, const QPointF& s); +virtual bool end(); +virtual QPaintEngine::Type type() const; +virtual void updateState(const QPaintEngineState& state); + + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtPublicPromoter_QPaintEngine : public QPaintEngine +{ public: +inline QPoint promoted_coordinateOffset() const { return QPaintEngine::coordinateOffset(); } +inline void promoted_drawEllipse(const QRect& r) { QPaintEngine::drawEllipse(r); } +inline void promoted_drawEllipse(const QRectF& r) { QPaintEngine::drawEllipse(r); } +inline void promoted_drawImage(const QRectF& r, const QImage& pm, const QRectF& sr, Qt::ImageConversionFlags flags = Qt::AutoColor) { QPaintEngine::drawImage(r, pm, sr, flags); } +inline void promoted_drawLines(const QLine* lines, int lineCount) { QPaintEngine::drawLines(lines, lineCount); } +inline void promoted_drawLines(const QLineF* lines, int lineCount) { QPaintEngine::drawLines(lines, lineCount); } +inline void promoted_drawPath(const QPainterPath& path) { QPaintEngine::drawPath(path); } +inline void promoted_drawPoints(const QPoint* points, int pointCount) { QPaintEngine::drawPoints(points, pointCount); } +inline void promoted_drawPoints(const QPointF* points, int pointCount) { QPaintEngine::drawPoints(points, pointCount); } +inline void promoted_drawPolygon(const QPoint* points, int pointCount, QPaintEngine::PolygonDrawMode mode) { QPaintEngine::drawPolygon(points, pointCount, mode); } +inline void promoted_drawPolygon(const QPointF* points, int pointCount, QPaintEngine::PolygonDrawMode mode) { QPaintEngine::drawPolygon(points, pointCount, mode); } +inline void promoted_drawRects(const QRect* rects, int rectCount) { QPaintEngine::drawRects(rects, rectCount); } +inline void promoted_drawRects(const QRectF* rects, int rectCount) { QPaintEngine::drawRects(rects, rectCount); } +inline void promoted_drawTextItem(const QPointF& p, const QTextItem& textItem) { QPaintEngine::drawTextItem(p, textItem); } +inline void promoted_drawTiledPixmap(const QRectF& r, const QPixmap& pixmap, const QPointF& s) { QPaintEngine::drawTiledPixmap(r, pixmap, s); } +}; + +class PythonQtWrapper_QPaintEngine : public QObject +{ Q_OBJECT +public: +Q_ENUMS(PolygonDrawMode Type PaintEngineFeature DirtyFlag ) +Q_FLAGS(PaintEngineFeatures DirtyFlags ) +enum PolygonDrawMode{ + OddEvenMode = QPaintEngine::OddEvenMode, WindingMode = QPaintEngine::WindingMode, ConvexMode = QPaintEngine::ConvexMode, PolylineMode = QPaintEngine::PolylineMode}; +enum Type{ + X11 = QPaintEngine::X11, Windows = QPaintEngine::Windows, QuickDraw = QPaintEngine::QuickDraw, CoreGraphics = QPaintEngine::CoreGraphics, MacPrinter = QPaintEngine::MacPrinter, QWindowSystem = QPaintEngine::QWindowSystem, PostScript = QPaintEngine::PostScript, OpenGL = QPaintEngine::OpenGL, Picture = QPaintEngine::Picture, SVG = QPaintEngine::SVG, Raster = QPaintEngine::Raster, Direct3D = QPaintEngine::Direct3D, Pdf = QPaintEngine::Pdf, OpenVG = QPaintEngine::OpenVG, OpenGL2 = QPaintEngine::OpenGL2, PaintBuffer = QPaintEngine::PaintBuffer, User = QPaintEngine::User, MaxUser = QPaintEngine::MaxUser}; +enum PaintEngineFeature{ + PrimitiveTransform = QPaintEngine::PrimitiveTransform, PatternTransform = QPaintEngine::PatternTransform, PixmapTransform = QPaintEngine::PixmapTransform, PatternBrush = QPaintEngine::PatternBrush, LinearGradientFill = QPaintEngine::LinearGradientFill, RadialGradientFill = QPaintEngine::RadialGradientFill, ConicalGradientFill = QPaintEngine::ConicalGradientFill, AlphaBlend = QPaintEngine::AlphaBlend, PorterDuff = QPaintEngine::PorterDuff, PainterPaths = QPaintEngine::PainterPaths, Antialiasing = QPaintEngine::Antialiasing, BrushStroke = QPaintEngine::BrushStroke, ConstantOpacity = QPaintEngine::ConstantOpacity, MaskedBrush = QPaintEngine::MaskedBrush, PerspectiveTransform = QPaintEngine::PerspectiveTransform, BlendModes = QPaintEngine::BlendModes, ObjectBoundingModeGradients = QPaintEngine::ObjectBoundingModeGradients, RasterOpModes = QPaintEngine::RasterOpModes, PaintOutsidePaintEvent = QPaintEngine::PaintOutsidePaintEvent, AllFeatures = QPaintEngine::AllFeatures}; +enum DirtyFlag{ + DirtyPen = QPaintEngine::DirtyPen, DirtyBrush = QPaintEngine::DirtyBrush, DirtyBrushOrigin = QPaintEngine::DirtyBrushOrigin, DirtyFont = QPaintEngine::DirtyFont, DirtyBackground = QPaintEngine::DirtyBackground, DirtyBackgroundMode = QPaintEngine::DirtyBackgroundMode, DirtyTransform = QPaintEngine::DirtyTransform, DirtyClipRegion = QPaintEngine::DirtyClipRegion, DirtyClipPath = QPaintEngine::DirtyClipPath, DirtyHints = QPaintEngine::DirtyHints, DirtyCompositionMode = QPaintEngine::DirtyCompositionMode, DirtyClipEnabled = QPaintEngine::DirtyClipEnabled, DirtyOpacity = QPaintEngine::DirtyOpacity, AllDirty = QPaintEngine::AllDirty}; +Q_DECLARE_FLAGS(PaintEngineFeatures, PaintEngineFeature) +Q_DECLARE_FLAGS(DirtyFlags, DirtyFlag) +public slots: +QPaintEngine* new_QPaintEngine(QPaintEngine::PaintEngineFeatures features = 0); +void delete_QPaintEngine(QPaintEngine* obj) { delete obj; } + void clearDirty(QPaintEngine* theWrappedObject, QPaintEngine::DirtyFlags df); + QPoint coordinateOffset(QPaintEngine* theWrappedObject) const; + void drawEllipse(QPaintEngine* theWrappedObject, const QRect& r); + void drawEllipse(QPaintEngine* theWrappedObject, const QRectF& r); + void drawImage(QPaintEngine* theWrappedObject, const QRectF& r, const QImage& pm, const QRectF& sr, Qt::ImageConversionFlags flags = Qt::AutoColor); + void drawLines(QPaintEngine* theWrappedObject, const QLine* lines, int lineCount); + void drawLines(QPaintEngine* theWrappedObject, const QLineF* lines, int lineCount); + void drawPath(QPaintEngine* theWrappedObject, const QPainterPath& path); + void drawPoints(QPaintEngine* theWrappedObject, const QPoint* points, int pointCount); + void drawPoints(QPaintEngine* theWrappedObject, const QPointF* points, int pointCount); + void drawPolygon(QPaintEngine* theWrappedObject, const QPoint* points, int pointCount, QPaintEngine::PolygonDrawMode mode); + void drawPolygon(QPaintEngine* theWrappedObject, const QPointF* points, int pointCount, QPaintEngine::PolygonDrawMode mode); + void drawRects(QPaintEngine* theWrappedObject, const QRect* rects, int rectCount); + void drawRects(QPaintEngine* theWrappedObject, const QRectF* rects, int rectCount); + void drawTextItem(QPaintEngine* theWrappedObject, const QPointF& p, const QTextItem& textItem); + void drawTiledPixmap(QPaintEngine* theWrappedObject, const QRectF& r, const QPixmap& pixmap, const QPointF& s); + 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); +}; + + + + + +class PythonQtShell_QPaintEngineState : public QPaintEngineState +{ +public: + PythonQtShell_QPaintEngineState():QPaintEngineState(),_wrapper(NULL) {}; + + + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtWrapper_QPaintEngineState : public QObject +{ Q_OBJECT +public: +public slots: +QPaintEngineState* new_QPaintEngineState(); +void delete_QPaintEngineState(QPaintEngineState* obj) { delete obj; } + 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) {}; + + + 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 RenderHint ) +Q_FLAGS(RenderHints ) +enum CompositionMode{ + CompositionMode_SourceOver = QPainter::CompositionMode_SourceOver, CompositionMode_DestinationOver = QPainter::CompositionMode_DestinationOver, CompositionMode_Clear = QPainter::CompositionMode_Clear, CompositionMode_Source = QPainter::CompositionMode_Source, CompositionMode_Destination = QPainter::CompositionMode_Destination, CompositionMode_SourceIn = QPainter::CompositionMode_SourceIn, CompositionMode_DestinationIn = QPainter::CompositionMode_DestinationIn, CompositionMode_SourceOut = QPainter::CompositionMode_SourceOut, CompositionMode_DestinationOut = QPainter::CompositionMode_DestinationOut, CompositionMode_SourceAtop = QPainter::CompositionMode_SourceAtop, CompositionMode_DestinationAtop = QPainter::CompositionMode_DestinationAtop, CompositionMode_Xor = QPainter::CompositionMode_Xor, CompositionMode_Plus = QPainter::CompositionMode_Plus, CompositionMode_Multiply = QPainter::CompositionMode_Multiply, CompositionMode_Screen = QPainter::CompositionMode_Screen, CompositionMode_Overlay = QPainter::CompositionMode_Overlay, CompositionMode_Darken = QPainter::CompositionMode_Darken, CompositionMode_Lighten = QPainter::CompositionMode_Lighten, CompositionMode_ColorDodge = QPainter::CompositionMode_ColorDodge, CompositionMode_ColorBurn = QPainter::CompositionMode_ColorBurn, CompositionMode_HardLight = QPainter::CompositionMode_HardLight, CompositionMode_SoftLight = QPainter::CompositionMode_SoftLight, CompositionMode_Difference = QPainter::CompositionMode_Difference, CompositionMode_Exclusion = QPainter::CompositionMode_Exclusion, 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}; +enum RenderHint{ + Antialiasing = QPainter::Antialiasing, TextAntialiasing = QPainter::TextAntialiasing, SmoothPixmapTransform = QPainter::SmoothPixmapTransform, HighQualityAntialiasing = QPainter::HighQualityAntialiasing, NonCosmeticDefaultPen = QPainter::NonCosmeticDefaultPen}; +Q_DECLARE_FLAGS(RenderHints, RenderHint) +public slots: +QPainter* new_QPainter(); +void delete_QPainter(QPainter* obj) { delete obj; } + 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; + 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 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 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 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 = 0); + 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 = 0); + 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 = 0); + 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; + bool hasClipping(QPainter* theWrappedObject) const; + void initFrom(QPainter* theWrappedObject, const QWidget* widget); + 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 = 0); + 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, Qt::BrushStyle style); + 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; + 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; + 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 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; + QPolygonF toFillPolygon(QPainterPath* theWrappedObject, const QMatrix& matrix = QMatrix()) const; + QPolygonF toFillPolygon(QPainterPath* theWrappedObject, const QTransform& matrix) const; + QList toFillPolygons(QPainterPath* theWrappedObject, const QMatrix& matrix = QMatrix()) const; + QList toFillPolygons(QPainterPath* theWrappedObject, const QTransform& matrix) const; + QPainterPath toReversed(QPainterPath* theWrappedObject) const; + QList toSubpathPolygons(QPainterPath* theWrappedObject, const QMatrix& matrix = QMatrix()) const; + QList toSubpathPolygons(QPainterPath* theWrappedObject, const QTransform& matrix) 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*); +}; + + + + + +class PythonQtWrapper_QPainterPathStroker : public QObject +{ Q_OBJECT +public: +public slots: +QPainterPathStroker* new_QPainterPathStroker(); +void delete_QPainterPathStroker(QPainterPathStroker* obj) { delete obj; } + Qt::PenCapStyle capStyle(QPainterPathStroker* theWrappedObject) const; + 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_QPanGesture : public QPanGesture +{ +public: + PythonQtShell_QPanGesture(QObject* parent = 0):QPanGesture(parent),_wrapper(NULL) {}; + +virtual void childEvent(QChildEvent* arg__1); +virtual void customEvent(QEvent* arg__1); +virtual bool event(QEvent* arg__1); +virtual bool eventFilter(QObject* arg__1, QEvent* arg__2); +virtual void timerEvent(QTimerEvent* arg__1); + + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtWrapper_QPanGesture : public QObject +{ Q_OBJECT +public: +public slots: +QPanGesture* new_QPanGesture(QObject* parent = 0); +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_QPicture : public QPicture +{ +public: + PythonQtShell_QPicture(const QPicture& arg__1):QPicture(arg__1),_wrapper(NULL) {}; + PythonQtShell_QPicture(int formatVersion = -1):QPicture(formatVersion),_wrapper(NULL) {}; + +virtual int devType() const; +virtual int metric(QPaintDevice::PaintDeviceMetric m) const; +virtual QPaintEngine* paintEngine() const; +virtual void setData(const char* data, uint size); + + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtPublicPromoter_QPicture : public QPicture +{ public: +inline int promoted_devType() const { return QPicture::devType(); } +inline int promoted_metric(QPaintDevice::PaintDeviceMetric m) const { return QPicture::metric(m); } +inline QPaintEngine* promoted_paintEngine() const { return QPicture::paintEngine(); } +}; + +class PythonQtWrapper_QPicture : public QObject +{ Q_OBJECT +public: +public slots: +QPicture* new_QPicture(const QPicture& arg__1); +QPicture* new_QPicture(int formatVersion = -1); +void delete_QPicture(QPicture* obj) { delete obj; } + QRect boundingRect(QPicture* theWrappedObject) const; + const char* data(QPicture* theWrappedObject) const; + int devType(QPicture* theWrappedObject) const; + bool isNull(QPicture* theWrappedObject) const; + bool load(QPicture* theWrappedObject, QIODevice* dev, const char* format = 0); + bool load(QPicture* theWrappedObject, const QString& fileName, const char* format = 0); + int metric(QPicture* theWrappedObject, QPaintDevice::PaintDeviceMetric m) const; + void writeTo(QPicture* theWrappedObject, QDataStream& arg__1); + void readFrom(QPicture* theWrappedObject, QDataStream& arg__1); + QPaintEngine* paintEngine(QPicture* theWrappedObject) const; + bool play(QPicture* theWrappedObject, QPainter* p); + bool save(QPicture* theWrappedObject, QIODevice* dev, const char* format = 0); + bool save(QPicture* theWrappedObject, const QString& fileName, const char* format = 0); + void setBoundingRect(QPicture* theWrappedObject, const QRect& r); + uint size(QPicture* theWrappedObject) const; + bool __nonzero__(QPicture* obj) { return !obj->isNull(); } +}; + + + + + +class PythonQtShell_QPictureFormatPlugin : public QPictureFormatPlugin +{ +public: + PythonQtShell_QPictureFormatPlugin(QObject* parent = 0):QPictureFormatPlugin(parent),_wrapper(NULL) {}; + +virtual void childEvent(QChildEvent* arg__1); +virtual void customEvent(QEvent* arg__1); +virtual bool event(QEvent* arg__1); +virtual bool eventFilter(QObject* arg__1, QEvent* arg__2); +virtual bool installIOHandler(const QString& format); +virtual QStringList keys() const; +virtual bool loadPicture(const QString& format, const QString& filename, QPicture* pic); +virtual bool savePicture(const QString& format, const QString& filename, const QPicture& pic); +virtual void timerEvent(QTimerEvent* arg__1); + + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtPublicPromoter_QPictureFormatPlugin : public QPictureFormatPlugin +{ public: +inline bool promoted_loadPicture(const QString& format, const QString& filename, QPicture* pic) { return QPictureFormatPlugin::loadPicture(format, filename, pic); } +inline bool promoted_savePicture(const QString& format, const QString& filename, const QPicture& pic) { return QPictureFormatPlugin::savePicture(format, filename, pic); } +}; + +class PythonQtWrapper_QPictureFormatPlugin : public QObject +{ Q_OBJECT +public: +public slots: +QPictureFormatPlugin* new_QPictureFormatPlugin(QObject* parent = 0); +void delete_QPictureFormatPlugin(QPictureFormatPlugin* obj) { delete obj; } + bool loadPicture(QPictureFormatPlugin* theWrappedObject, const QString& format, const QString& filename, QPicture* pic); + bool savePicture(QPictureFormatPlugin* theWrappedObject, const QString& format, const QString& filename, const QPicture& pic); +}; + + + + + +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 = 0):QPinchGesture(parent),_wrapper(NULL) {}; + +virtual void childEvent(QChildEvent* arg__1); +virtual void customEvent(QEvent* arg__1); +virtual bool event(QEvent* arg__1); +virtual bool eventFilter(QObject* arg__1, QEvent* arg__2); +virtual void timerEvent(QTimerEvent* arg__1); + + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtWrapper_QPinchGesture : public QObject +{ Q_OBJECT +public: +public slots: +QPinchGesture* new_QPinchGesture(QObject* parent = 0); +void delete_QPinchGesture(QPinchGesture* obj) { delete obj; } + QPointF centerPoint(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 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 setTotalRotationAngle(QPinchGesture* theWrappedObject, qreal value); + void setTotalScaleFactor(QPinchGesture* theWrappedObject, qreal value); + QPointF startCenterPoint(QPinchGesture* theWrappedObject) const; + qreal totalRotationAngle(QPinchGesture* theWrappedObject) const; + qreal totalScaleFactor(QPinchGesture* theWrappedObject) const; +}; + + + + + +class PythonQtShell_QPixmapCache : public QPixmapCache +{ +public: + PythonQtShell_QPixmapCache():QPixmapCache(),_wrapper(NULL) {}; + + + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtWrapper_QPixmapCache : public QObject +{ Q_OBJECT +public: +public slots: +QPixmapCache* new_QPixmapCache(); +void delete_QPixmapCache(QPixmapCache* obj) { delete obj; } + int static_QPixmapCache_cacheLimit(); + 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 __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; +}; + + + + + +class PythonQtShell_QPlainTextDocumentLayout : public QPlainTextDocumentLayout +{ +public: + PythonQtShell_QPlainTextDocumentLayout(QTextDocument* document):QPlainTextDocumentLayout(document),_wrapper(NULL) {}; + + + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtWrapper_QPlainTextDocumentLayout : public QObject +{ Q_OBJECT +public: +public slots: +QPlainTextDocumentLayout* new_QPlainTextDocumentLayout(QTextDocument* document); +void delete_QPlainTextDocumentLayout(QPlainTextDocumentLayout* obj) { delete obj; } + QRectF blockBoundingRect(QPlainTextDocumentLayout* theWrappedObject, const QTextBlock& block) const; + int cursorWidth(QPlainTextDocumentLayout* theWrappedObject) const; + QSizeF documentSize(QPlainTextDocumentLayout* theWrappedObject) const; + void draw(QPlainTextDocumentLayout* theWrappedObject, QPainter* arg__1, const QAbstractTextDocumentLayout::PaintContext& arg__2); + void ensureBlockLayout(QPlainTextDocumentLayout* theWrappedObject, const QTextBlock& block) const; + QRectF frameBoundingRect(QPlainTextDocumentLayout* theWrappedObject, QTextFrame* arg__1) const; + int hitTest(QPlainTextDocumentLayout* theWrappedObject, const QPointF& arg__1, Qt::HitTestAccuracy arg__2) const; + int pageCount(QPlainTextDocumentLayout* theWrappedObject) const; + void requestUpdate(QPlainTextDocumentLayout* theWrappedObject); + void setCursorWidth(QPlainTextDocumentLayout* theWrappedObject, int width); +}; + + + + + +class PythonQtShell_QPlainTextEdit : public QPlainTextEdit +{ +public: + PythonQtShell_QPlainTextEdit(QWidget* parent = 0):QPlainTextEdit(parent),_wrapper(NULL) {}; + PythonQtShell_QPlainTextEdit(const QString& text, QWidget* parent = 0):QPlainTextEdit(text, parent),_wrapper(NULL) {}; + +virtual void actionEvent(QActionEvent* arg__1); +virtual bool canInsertFromMimeData(const QMimeData* source) const; +virtual void changeEvent(QEvent* e); +virtual void childEvent(QChildEvent* arg__1); +virtual void closeEvent(QCloseEvent* arg__1); +virtual void contextMenuEvent(QContextMenuEvent* e); +virtual QMimeData* createMimeDataFromSelection() const; +virtual void customEvent(QEvent* arg__1); +virtual int devType() const; +virtual void dragEnterEvent(QDragEnterEvent* e); +virtual void dragLeaveEvent(QDragLeaveEvent* e); +virtual void dragMoveEvent(QDragMoveEvent* e); +virtual void dropEvent(QDropEvent* e); +virtual void enterEvent(QEvent* arg__1); +virtual bool event(QEvent* e); +virtual bool eventFilter(QObject* arg__1, QEvent* arg__2); +virtual void focusInEvent(QFocusEvent* e); +virtual bool focusNextPrevChild(bool next); +virtual void focusOutEvent(QFocusEvent* e); +virtual int heightForWidth(int arg__1) const; +virtual void hideEvent(QHideEvent* arg__1); +virtual void inputMethodEvent(QInputMethodEvent* arg__1); +virtual QVariant inputMethodQuery(Qt::InputMethodQuery property) const; +virtual void insertFromMimeData(const QMimeData* source); +virtual void keyPressEvent(QKeyEvent* e); +virtual void keyReleaseEvent(QKeyEvent* e); +virtual void languageChange(); +virtual void leaveEvent(QEvent* arg__1); +virtual QVariant loadResource(int type, const QUrl& name); +virtual int metric(QPaintDevice::PaintDeviceMetric arg__1) const; +virtual void mouseDoubleClickEvent(QMouseEvent* e); +virtual void mouseMoveEvent(QMouseEvent* e); +virtual void mousePressEvent(QMouseEvent* e); +virtual void mouseReleaseEvent(QMouseEvent* e); +virtual void moveEvent(QMoveEvent* arg__1); +virtual QPaintEngine* paintEngine() const; +virtual void paintEvent(QPaintEvent* e); +virtual void resizeEvent(QResizeEvent* e); +virtual void scrollContentsBy(int dx, int dy); +virtual void showEvent(QShowEvent* arg__1); +virtual void tabletEvent(QTabletEvent* arg__1); +virtual void timerEvent(QTimerEvent* e); +virtual bool viewportEvent(QEvent* arg__1); +virtual void wheelEvent(QWheelEvent* e); + + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtPublicPromoter_QPlainTextEdit : public QPlainTextEdit +{ public: +inline bool promoted_canInsertFromMimeData(const QMimeData* source) const { return QPlainTextEdit::canInsertFromMimeData(source); } +inline void promoted_changeEvent(QEvent* e) { QPlainTextEdit::changeEvent(e); } +inline void promoted_contextMenuEvent(QContextMenuEvent* e) { QPlainTextEdit::contextMenuEvent(e); } +inline QMimeData* promoted_createMimeDataFromSelection() const { return QPlainTextEdit::createMimeDataFromSelection(); } +inline void promoted_dragEnterEvent(QDragEnterEvent* e) { QPlainTextEdit::dragEnterEvent(e); } +inline void promoted_dragLeaveEvent(QDragLeaveEvent* e) { QPlainTextEdit::dragLeaveEvent(e); } +inline void promoted_dragMoveEvent(QDragMoveEvent* e) { QPlainTextEdit::dragMoveEvent(e); } +inline void promoted_dropEvent(QDropEvent* e) { QPlainTextEdit::dropEvent(e); } +inline bool promoted_event(QEvent* e) { return QPlainTextEdit::event(e); } +inline void promoted_focusInEvent(QFocusEvent* e) { QPlainTextEdit::focusInEvent(e); } +inline bool promoted_focusNextPrevChild(bool next) { return QPlainTextEdit::focusNextPrevChild(next); } +inline void promoted_focusOutEvent(QFocusEvent* e) { QPlainTextEdit::focusOutEvent(e); } +inline void promoted_inputMethodEvent(QInputMethodEvent* arg__1) { QPlainTextEdit::inputMethodEvent(arg__1); } +inline QVariant promoted_inputMethodQuery(Qt::InputMethodQuery property) const { return QPlainTextEdit::inputMethodQuery(property); } +inline void promoted_insertFromMimeData(const QMimeData* source) { QPlainTextEdit::insertFromMimeData(source); } +inline void promoted_keyPressEvent(QKeyEvent* e) { QPlainTextEdit::keyPressEvent(e); } +inline void promoted_keyReleaseEvent(QKeyEvent* e) { QPlainTextEdit::keyReleaseEvent(e); } +inline QVariant promoted_loadResource(int type, const QUrl& name) { return QPlainTextEdit::loadResource(type, name); } +inline void promoted_mouseDoubleClickEvent(QMouseEvent* e) { QPlainTextEdit::mouseDoubleClickEvent(e); } +inline void promoted_mouseMoveEvent(QMouseEvent* e) { QPlainTextEdit::mouseMoveEvent(e); } +inline void promoted_mousePressEvent(QMouseEvent* e) { QPlainTextEdit::mousePressEvent(e); } +inline void promoted_mouseReleaseEvent(QMouseEvent* e) { QPlainTextEdit::mouseReleaseEvent(e); } +inline void promoted_paintEvent(QPaintEvent* e) { QPlainTextEdit::paintEvent(e); } +inline void promoted_resizeEvent(QResizeEvent* e) { QPlainTextEdit::resizeEvent(e); } +inline void promoted_scrollContentsBy(int dx, int dy) { QPlainTextEdit::scrollContentsBy(dx, dy); } +inline void promoted_showEvent(QShowEvent* arg__1) { QPlainTextEdit::showEvent(arg__1); } +inline void promoted_timerEvent(QTimerEvent* e) { QPlainTextEdit::timerEvent(e); } +inline void promoted_wheelEvent(QWheelEvent* e) { QPlainTextEdit::wheelEvent(e); } +}; + +class PythonQtWrapper_QPlainTextEdit : public QObject +{ Q_OBJECT +public: +public slots: +QPlainTextEdit* new_QPlainTextEdit(QWidget* parent = 0); +QPlainTextEdit* new_QPlainTextEdit(const QString& text, QWidget* parent = 0); +void delete_QPlainTextEdit(QPlainTextEdit* obj) { delete obj; } + bool backgroundVisible(QPlainTextEdit* theWrappedObject) const; + int blockCount(QPlainTextEdit* theWrappedObject) const; + bool canInsertFromMimeData(QPlainTextEdit* theWrappedObject, const QMimeData* source) const; + bool canPaste(QPlainTextEdit* theWrappedObject) const; + bool centerOnScroll(QPlainTextEdit* theWrappedObject) const; + void changeEvent(QPlainTextEdit* theWrappedObject, QEvent* e); + void contextMenuEvent(QPlainTextEdit* theWrappedObject, QContextMenuEvent* e); + QMimeData* createMimeDataFromSelection(QPlainTextEdit* theWrappedObject) const; + QMenu* createStandardContextMenu(QPlainTextEdit* theWrappedObject); + 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; + QTextDocument* document(QPlainTextEdit* theWrappedObject) const; + QString documentTitle(QPlainTextEdit* theWrappedObject) const; + void dragEnterEvent(QPlainTextEdit* theWrappedObject, QDragEnterEvent* e); + void dragLeaveEvent(QPlainTextEdit* theWrappedObject, QDragLeaveEvent* e); + void dragMoveEvent(QPlainTextEdit* theWrappedObject, QDragMoveEvent* e); + void dropEvent(QPlainTextEdit* theWrappedObject, QDropEvent* e); + void ensureCursorVisible(QPlainTextEdit* theWrappedObject); + bool event(QPlainTextEdit* theWrappedObject, QEvent* e); + QList extraSelections(QPlainTextEdit* theWrappedObject) const; + bool find(QPlainTextEdit* theWrappedObject, const QString& exp, QTextDocument::FindFlags options = 0); + void focusInEvent(QPlainTextEdit* theWrappedObject, QFocusEvent* e); + bool focusNextPrevChild(QPlainTextEdit* theWrappedObject, bool next); + void focusOutEvent(QPlainTextEdit* theWrappedObject, QFocusEvent* e); + void inputMethodEvent(QPlainTextEdit* theWrappedObject, QInputMethodEvent* arg__1); + QVariant inputMethodQuery(QPlainTextEdit* theWrappedObject, Qt::InputMethodQuery property) const; + void insertFromMimeData(QPlainTextEdit* theWrappedObject, const QMimeData* source); + bool isReadOnly(QPlainTextEdit* theWrappedObject) const; + bool isUndoRedoEnabled(QPlainTextEdit* theWrappedObject) const; + void keyPressEvent(QPlainTextEdit* theWrappedObject, QKeyEvent* e); + void keyReleaseEvent(QPlainTextEdit* theWrappedObject, QKeyEvent* e); + QPlainTextEdit::LineWrapMode lineWrapMode(QPlainTextEdit* theWrappedObject) const; + QVariant loadResource(QPlainTextEdit* theWrappedObject, int type, const QUrl& name); + int maximumBlockCount(QPlainTextEdit* theWrappedObject) const; + void mergeCurrentCharFormat(QPlainTextEdit* theWrappedObject, const QTextCharFormat& modifier); + void mouseDoubleClickEvent(QPlainTextEdit* theWrappedObject, QMouseEvent* e); + void mouseMoveEvent(QPlainTextEdit* theWrappedObject, QMouseEvent* e); + void mousePressEvent(QPlainTextEdit* theWrappedObject, QMouseEvent* e); + void mouseReleaseEvent(QPlainTextEdit* theWrappedObject, QMouseEvent* e); + void moveCursor(QPlainTextEdit* theWrappedObject, QTextCursor::MoveOperation operation, QTextCursor::MoveMode mode = QTextCursor::MoveAnchor); + bool overwriteMode(QPlainTextEdit* theWrappedObject) const; + void paintEvent(QPlainTextEdit* theWrappedObject, QPaintEvent* e); + void print(QPlainTextEdit* theWrappedObject, QPrinter* printer) const; + void resizeEvent(QPlainTextEdit* theWrappedObject, QResizeEvent* e); + void scrollContentsBy(QPlainTextEdit* theWrappedObject, int dx, int 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 setReadOnly(QPlainTextEdit* theWrappedObject, bool ro); + void setTabChangesFocus(QPlainTextEdit* theWrappedObject, bool b); + 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 showEvent(QPlainTextEdit* theWrappedObject, QShowEvent* arg__1); + bool tabChangesFocus(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); + QString toPlainText(QPlainTextEdit* theWrappedObject) const; + void wheelEvent(QPlainTextEdit* theWrappedObject, QWheelEvent* e); + QTextOption::WrapMode wordWrapMode(QPlainTextEdit* theWrappedObject) const; +}; + + + + + +class PythonQtShell_QPlastiqueStyle : public QPlastiqueStyle +{ +public: + PythonQtShell_QPlastiqueStyle():QPlastiqueStyle(),_wrapper(NULL) {}; + +virtual void childEvent(QChildEvent* arg__1); +virtual void customEvent(QEvent* arg__1); +virtual void drawComplexControl(QStyle::ComplexControl control, const QStyleOptionComplex* option, QPainter* painter, const QWidget* widget) const; +virtual void drawControl(QStyle::ControlElement element, const QStyleOption* option, QPainter* painter, const QWidget* widget) const; +virtual void drawItemPixmap(QPainter* painter, const QRect& rect, int alignment, const QPixmap& pixmap) const; +virtual void drawItemText(QPainter* painter, const QRect& rect, int flags, const QPalette& pal, bool enabled, const QString& text, QPalette::ColorRole textRole) const; +virtual void drawPrimitive(QStyle::PrimitiveElement element, const QStyleOption* option, QPainter* painter, const QWidget* widget = 0) const; +virtual bool event(QEvent* arg__1); +virtual bool eventFilter(QObject* watched, QEvent* event); +virtual QPixmap generatedIconPixmap(QIcon::Mode iconMode, const QPixmap& pixmap, const QStyleOption* opt) const; +virtual QStyle::SubControl hitTestComplexControl(QStyle::ComplexControl control, const QStyleOptionComplex* option, const QPoint& pos, const QWidget* widget = 0) const; +virtual QRect itemPixmapRect(const QRect& r, int flags, const QPixmap& pixmap) const; +virtual int pixelMetric(QStyle::PixelMetric metric, const QStyleOption* option = 0, const QWidget* widget = 0) const; +virtual void polish(QApplication* app); +virtual void polish(QPalette& pal); +virtual void polish(QWidget* widget); +virtual QSize sizeFromContents(QStyle::ContentsType type, const QStyleOption* option, const QSize& size, const QWidget* widget) const; +virtual QPalette standardPalette() const; +virtual QPixmap standardPixmap(QStyle::StandardPixmap standardPixmap, const QStyleOption* opt, const QWidget* widget) const; +virtual int styleHint(QStyle::StyleHint hint, const QStyleOption* option = 0, const QWidget* widget = 0, QStyleHintReturn* returnData = 0) const; +virtual QRect subControlRect(QStyle::ComplexControl cc, const QStyleOptionComplex* opt, QStyle::SubControl sc, const QWidget* widget) const; +virtual QRect subElementRect(QStyle::SubElement element, const QStyleOption* option, const QWidget* widget) const; +virtual void timerEvent(QTimerEvent* event); +virtual void unpolish(QApplication* app); +virtual void unpolish(QWidget* widget); + + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtPublicPromoter_QPlastiqueStyle : public QPlastiqueStyle +{ public: +inline void promoted_drawComplexControl(QStyle::ComplexControl control, const QStyleOptionComplex* option, QPainter* painter, const QWidget* widget) const { QPlastiqueStyle::drawComplexControl(control, option, painter, widget); } +inline void promoted_drawControl(QStyle::ControlElement element, const QStyleOption* option, QPainter* painter, const QWidget* widget) const { QPlastiqueStyle::drawControl(element, option, painter, widget); } +inline void promoted_drawPrimitive(QStyle::PrimitiveElement element, const QStyleOption* option, QPainter* painter, const QWidget* widget = 0) const { QPlastiqueStyle::drawPrimitive(element, option, painter, widget); } +inline bool promoted_eventFilter(QObject* watched, QEvent* event) { return QPlastiqueStyle::eventFilter(watched, event); } +inline QStyle::SubControl promoted_hitTestComplexControl(QStyle::ComplexControl control, const QStyleOptionComplex* option, const QPoint& pos, const QWidget* widget = 0) const { return QPlastiqueStyle::hitTestComplexControl(control, option, pos, widget); } +inline int promoted_pixelMetric(QStyle::PixelMetric metric, const QStyleOption* option = 0, const QWidget* widget = 0) const { return QPlastiqueStyle::pixelMetric(metric, option, widget); } +inline void promoted_polish(QApplication* app) { QPlastiqueStyle::polish(app); } +inline void promoted_polish(QPalette& pal) { QPlastiqueStyle::polish(pal); } +inline void promoted_polish(QWidget* widget) { QPlastiqueStyle::polish(widget); } +inline QSize promoted_sizeFromContents(QStyle::ContentsType type, const QStyleOption* option, const QSize& size, const QWidget* widget) const { return QPlastiqueStyle::sizeFromContents(type, option, size, widget); } +inline QPalette promoted_standardPalette() const { return QPlastiqueStyle::standardPalette(); } +inline int promoted_styleHint(QStyle::StyleHint hint, const QStyleOption* option = 0, const QWidget* widget = 0, QStyleHintReturn* returnData = 0) const { return QPlastiqueStyle::styleHint(hint, option, widget, returnData); } +inline QRect promoted_subControlRect(QStyle::ComplexControl cc, const QStyleOptionComplex* opt, QStyle::SubControl sc, const QWidget* widget) const { return QPlastiqueStyle::subControlRect(cc, opt, sc, widget); } +inline QRect promoted_subElementRect(QStyle::SubElement element, const QStyleOption* option, const QWidget* widget) const { return QPlastiqueStyle::subElementRect(element, option, widget); } +inline void promoted_timerEvent(QTimerEvent* event) { QPlastiqueStyle::timerEvent(event); } +inline void promoted_unpolish(QApplication* app) { QPlastiqueStyle::unpolish(app); } +inline void promoted_unpolish(QWidget* widget) { QPlastiqueStyle::unpolish(widget); } +}; + +class PythonQtWrapper_QPlastiqueStyle : public QObject +{ Q_OBJECT +public: +public slots: +QPlastiqueStyle* new_QPlastiqueStyle(); +void delete_QPlastiqueStyle(QPlastiqueStyle* obj) { delete obj; } + void drawComplexControl(QPlastiqueStyle* theWrappedObject, QStyle::ComplexControl control, const QStyleOptionComplex* option, QPainter* painter, const QWidget* widget) const; + void drawControl(QPlastiqueStyle* theWrappedObject, QStyle::ControlElement element, const QStyleOption* option, QPainter* painter, const QWidget* widget) const; + void drawPrimitive(QPlastiqueStyle* theWrappedObject, QStyle::PrimitiveElement element, const QStyleOption* option, QPainter* painter, const QWidget* widget = 0) const; + bool eventFilter(QPlastiqueStyle* theWrappedObject, QObject* watched, QEvent* event); + QStyle::SubControl hitTestComplexControl(QPlastiqueStyle* theWrappedObject, QStyle::ComplexControl control, const QStyleOptionComplex* option, const QPoint& pos, const QWidget* widget = 0) const; + int pixelMetric(QPlastiqueStyle* theWrappedObject, QStyle::PixelMetric metric, const QStyleOption* option = 0, const QWidget* widget = 0) const; + void polish(QPlastiqueStyle* theWrappedObject, QApplication* app); + void polish(QPlastiqueStyle* theWrappedObject, QPalette& pal); + void polish(QPlastiqueStyle* theWrappedObject, QWidget* widget); + QSize sizeFromContents(QPlastiqueStyle* theWrappedObject, QStyle::ContentsType type, const QStyleOption* option, const QSize& size, const QWidget* widget) const; + QPalette standardPalette(QPlastiqueStyle* theWrappedObject) const; + int styleHint(QPlastiqueStyle* theWrappedObject, QStyle::StyleHint hint, const QStyleOption* option = 0, const QWidget* widget = 0, QStyleHintReturn* returnData = 0) const; + QRect subControlRect(QPlastiqueStyle* theWrappedObject, QStyle::ComplexControl cc, const QStyleOptionComplex* opt, QStyle::SubControl sc, const QWidget* widget) const; + QRect subElementRect(QPlastiqueStyle* theWrappedObject, QStyle::SubElement element, const QStyleOption* option, const QWidget* widget) const; + void timerEvent(QPlastiqueStyle* theWrappedObject, QTimerEvent* event); + void unpolish(QPlastiqueStyle* theWrappedObject, QApplication* app); + void unpolish(QPlastiqueStyle* theWrappedObject, QWidget* widget); +}; + + + + + +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); + const QPointF* at(QPolygonF* theWrappedObject, int i) const; + QRectF boundingRect(QPolygonF* theWrappedObject) const; + int capacity(QPolygonF* theWrappedObject) const; + void clear(QPolygonF* theWrappedObject); + 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); + const QPointF* first(QPolygonF* theWrappedObject) const; + QVector static_QPolygonF_fromList(const QList& list); + int indexOf(QPolygonF* theWrappedObject, const QPointF& t, int from) const; + QPolygonF intersected(QPolygonF* theWrappedObject, const QPolygonF& r) const; + bool isClosed(QPolygonF* theWrappedObject) const; + bool isEmpty(QPolygonF* theWrappedObject) const; + const QPointF* last(QPolygonF* theWrappedObject) const; + int lastIndexOf(QPolygonF* theWrappedObject, const QPointF& t, int from) const; + QVector mid(QPolygonF* theWrappedObject, int pos, int length) const; + 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); + 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); + 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); + 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; + 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*); +}; + + diff --git a/generated_cpp_47/com_trolltech_qt_gui/com_trolltech_qt_gui6.cpp b/generated_cpp_47/com_trolltech_qt_gui/com_trolltech_qt_gui6.cpp new file mode 100644 index 00000000..415722c2 --- /dev/null +++ b/generated_cpp_47/com_trolltech_qt_gui/com_trolltech_qt_gui6.cpp @@ -0,0 +1,16944 @@ +#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 + +void PythonQtShell_QPrintDialog::accept() +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "accept"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={""}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QPrintDialog::accept(); +} +void PythonQtShell_QPrintDialog::actionEvent(QActionEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "actionEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QActionEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QPrintDialog::actionEvent(arg__1); +} +void PythonQtShell_QPrintDialog::changeEvent(QEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "changeEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QPrintDialog::changeEvent(arg__1); +} +void PythonQtShell_QPrintDialog::childEvent(QChildEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "childEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QChildEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QPrintDialog::childEvent(arg__1); +} +void PythonQtShell_QPrintDialog::closeEvent(QCloseEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "closeEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QCloseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QPrintDialog::closeEvent(arg__1); +} +void PythonQtShell_QPrintDialog::contextMenuEvent(QContextMenuEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "contextMenuEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QContextMenuEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QPrintDialog::contextMenuEvent(arg__1); +} +void PythonQtShell_QPrintDialog::customEvent(QEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "customEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QPrintDialog::customEvent(arg__1); +} +int PythonQtShell_QPrintDialog::devType() const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "devType"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + int returnValue; + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("devType", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QPrintDialog::devType(); +} +void PythonQtShell_QPrintDialog::done(int result) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "done"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&result}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QPrintDialog::done(result); +} +void PythonQtShell_QPrintDialog::dragEnterEvent(QDragEnterEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dragEnterEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QDragEnterEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QPrintDialog::dragEnterEvent(arg__1); +} +void PythonQtShell_QPrintDialog::dragLeaveEvent(QDragLeaveEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dragLeaveEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QDragLeaveEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QPrintDialog::dragLeaveEvent(arg__1); +} +void PythonQtShell_QPrintDialog::dragMoveEvent(QDragMoveEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dragMoveEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QDragMoveEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QPrintDialog::dragMoveEvent(arg__1); +} +void PythonQtShell_QPrintDialog::dropEvent(QDropEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dropEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QDropEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QPrintDialog::dropEvent(arg__1); +} +void PythonQtShell_QPrintDialog::enterEvent(QEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "enterEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QPrintDialog::enterEvent(arg__1); +} +bool PythonQtShell_QPrintDialog::event(QEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "event"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue; + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QPrintDialog::event(arg__1); +} +bool PythonQtShell_QPrintDialog::eventFilter(QObject* arg__1, QEvent* arg__2) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "eventFilter"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue; + void* args[3] = {NULL, (void*)&arg__1, (void*)&arg__2}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QPrintDialog::eventFilter(arg__1, arg__2); +} +int PythonQtShell_QPrintDialog::exec() +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "exec"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + int returnValue; + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("exec", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QPrintDialog::exec(); +} +void PythonQtShell_QPrintDialog::focusInEvent(QFocusEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "focusInEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QFocusEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QPrintDialog::focusInEvent(arg__1); +} +bool PythonQtShell_QPrintDialog::focusNextPrevChild(bool next) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "focusNextPrevChild"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue; + void* args[2] = {NULL, (void*)&next}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("focusNextPrevChild", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QPrintDialog::focusNextPrevChild(next); +} +void PythonQtShell_QPrintDialog::focusOutEvent(QFocusEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "focusOutEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QFocusEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QPrintDialog::focusOutEvent(arg__1); +} +int PythonQtShell_QPrintDialog::heightForWidth(int arg__1) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "heightForWidth"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"int" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + int returnValue; + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("heightForWidth", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QPrintDialog::heightForWidth(arg__1); +} +void PythonQtShell_QPrintDialog::hideEvent(QHideEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "hideEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QHideEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QPrintDialog::hideEvent(arg__1); +} +void PythonQtShell_QPrintDialog::inputMethodEvent(QInputMethodEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "inputMethodEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QInputMethodEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QPrintDialog::inputMethodEvent(arg__1); +} +QVariant PythonQtShell_QPrintDialog::inputMethodQuery(Qt::InputMethodQuery arg__1) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "inputMethodQuery"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QVariant" , "Qt::InputMethodQuery"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + QVariant returnValue; + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result); + } else { + returnValue = *((QVariant*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QPrintDialog::inputMethodQuery(arg__1); +} +void PythonQtShell_QPrintDialog::keyPressEvent(QKeyEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "keyPressEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QKeyEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QPrintDialog::keyPressEvent(arg__1); +} +void PythonQtShell_QPrintDialog::keyReleaseEvent(QKeyEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "keyReleaseEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QKeyEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QPrintDialog::keyReleaseEvent(arg__1); +} +void PythonQtShell_QPrintDialog::languageChange() +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "languageChange"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={""}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QPrintDialog::languageChange(); +} +void PythonQtShell_QPrintDialog::leaveEvent(QEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "leaveEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QPrintDialog::leaveEvent(arg__1); +} +int PythonQtShell_QPrintDialog::metric(QPaintDevice::PaintDeviceMetric arg__1) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "metric"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + int returnValue; + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("metric", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QPrintDialog::metric(arg__1); +} +void PythonQtShell_QPrintDialog::mouseDoubleClickEvent(QMouseEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mouseDoubleClickEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QPrintDialog::mouseDoubleClickEvent(arg__1); +} +void PythonQtShell_QPrintDialog::mouseMoveEvent(QMouseEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mouseMoveEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QPrintDialog::mouseMoveEvent(arg__1); +} +void PythonQtShell_QPrintDialog::mousePressEvent(QMouseEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mousePressEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QPrintDialog::mousePressEvent(arg__1); +} +void PythonQtShell_QPrintDialog::mouseReleaseEvent(QMouseEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mouseReleaseEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QPrintDialog::mouseReleaseEvent(arg__1); +} +void PythonQtShell_QPrintDialog::moveEvent(QMoveEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "moveEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QMoveEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QPrintDialog::moveEvent(arg__1); +} +QPaintEngine* PythonQtShell_QPrintDialog::paintEngine() const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "paintEngine"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QPaintEngine*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QPaintEngine* returnValue; + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); + } else { + returnValue = *((QPaintEngine**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QPrintDialog::paintEngine(); +} +void PythonQtShell_QPrintDialog::paintEvent(QPaintEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "paintEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QPaintEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QPrintDialog::paintEvent(arg__1); +} +void PythonQtShell_QPrintDialog::reject() +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "reject"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={""}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QPrintDialog::reject(); +} +void PythonQtShell_QPrintDialog::resizeEvent(QResizeEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "resizeEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QResizeEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QPrintDialog::resizeEvent(arg__1); +} +void PythonQtShell_QPrintDialog::showEvent(QShowEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "showEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QShowEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QPrintDialog::showEvent(arg__1); +} +void PythonQtShell_QPrintDialog::tabletEvent(QTabletEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "tabletEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QTabletEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QPrintDialog::tabletEvent(arg__1); +} +void PythonQtShell_QPrintDialog::timerEvent(QTimerEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "timerEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QTimerEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QPrintDialog::timerEvent(arg__1); +} +void PythonQtShell_QPrintDialog::wheelEvent(QWheelEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "wheelEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QWheelEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QPrintDialog::wheelEvent(arg__1); +} +QPrintDialog* PythonQtWrapper_QPrintDialog::new_QPrintDialog(QPrinter* printer, QWidget* parent) +{ +return new PythonQtShell_QPrintDialog(printer, parent); } + +QPrintDialog* PythonQtWrapper_QPrintDialog::new_QPrintDialog(QWidget* parent) +{ +return new PythonQtShell_QPrintDialog(parent); } + +void PythonQtWrapper_QPrintDialog::accepted(QPrintDialog* theWrappedObject) +{ + ( ((PythonQtPublicPromoter_QPrintDialog*)theWrappedObject)->promoted_accepted()); +} + +void PythonQtWrapper_QPrintDialog::done(QPrintDialog* theWrappedObject, int result) +{ + ( ((PythonQtPublicPromoter_QPrintDialog*)theWrappedObject)->promoted_done(result)); +} + +int PythonQtWrapper_QPrintDialog::exec(QPrintDialog* theWrappedObject) +{ + return ( ((PythonQtPublicPromoter_QPrintDialog*)theWrappedObject)->promoted_exec()); +} + +void PythonQtWrapper_QPrintDialog::open(QPrintDialog* theWrappedObject) +{ + ( theWrappedObject->open()); +} + +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)); +} + + + +bool PythonQtShell_QPrintEngine::abort() +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "abort"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + bool returnValue; + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("abort", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return bool(); +} +int PythonQtShell_QPrintEngine::metric(QPaintDevice::PaintDeviceMetric arg__1) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "metric"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + int returnValue; + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("metric", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return int(); +} +bool PythonQtShell_QPrintEngine::newPage() +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "newPage"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + bool returnValue; + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("newPage", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return bool(); +} +QPrinter::PrinterState PythonQtShell_QPrintEngine::printerState() const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "printerState"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QPrinter::PrinterState"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QPrinter::PrinterState returnValue; + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("printerState", methodInfo, result); + } else { + returnValue = *((QPrinter::PrinterState*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QPrinter::PrinterState(); +} +QVariant PythonQtShell_QPrintEngine::property(QPrintEngine::PrintEnginePropertyKey key) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "property"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QVariant" , "QPrintEngine::PrintEnginePropertyKey"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + QVariant returnValue; + void* args[2] = {NULL, (void*)&key}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("property", methodInfo, result); + } else { + returnValue = *((QVariant*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QVariant(); +} +void PythonQtShell_QPrintEngine::setProperty(QPrintEngine::PrintEnginePropertyKey key, const QVariant& value) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "setProperty"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QPrintEngine::PrintEnginePropertyKey" , "const QVariant&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + void* args[3] = {NULL, (void*)&key, (void*)&value}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + +} +QPrintEngine* PythonQtWrapper_QPrintEngine::new_QPrintEngine() +{ +return new PythonQtShell_QPrintEngine(); } + + + +void PythonQtShell_QPrintPreviewDialog::accept() +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "accept"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={""}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QPrintPreviewDialog::accept(); +} +void PythonQtShell_QPrintPreviewDialog::actionEvent(QActionEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "actionEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QActionEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QPrintPreviewDialog::actionEvent(arg__1); +} +void PythonQtShell_QPrintPreviewDialog::changeEvent(QEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "changeEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QPrintPreviewDialog::changeEvent(arg__1); +} +void PythonQtShell_QPrintPreviewDialog::childEvent(QChildEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "childEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QChildEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QPrintPreviewDialog::childEvent(arg__1); +} +void PythonQtShell_QPrintPreviewDialog::closeEvent(QCloseEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "closeEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QCloseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QPrintPreviewDialog::closeEvent(arg__1); +} +void PythonQtShell_QPrintPreviewDialog::contextMenuEvent(QContextMenuEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "contextMenuEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QContextMenuEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QPrintPreviewDialog::contextMenuEvent(arg__1); +} +void PythonQtShell_QPrintPreviewDialog::customEvent(QEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "customEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QPrintPreviewDialog::customEvent(arg__1); +} +int PythonQtShell_QPrintPreviewDialog::devType() const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "devType"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + int returnValue; + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("devType", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QPrintPreviewDialog::devType(); +} +void PythonQtShell_QPrintPreviewDialog::done(int result) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "done"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&result}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QPrintPreviewDialog::done(result); +} +void PythonQtShell_QPrintPreviewDialog::dragEnterEvent(QDragEnterEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dragEnterEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QDragEnterEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QPrintPreviewDialog::dragEnterEvent(arg__1); +} +void PythonQtShell_QPrintPreviewDialog::dragLeaveEvent(QDragLeaveEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dragLeaveEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QDragLeaveEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QPrintPreviewDialog::dragLeaveEvent(arg__1); +} +void PythonQtShell_QPrintPreviewDialog::dragMoveEvent(QDragMoveEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dragMoveEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QDragMoveEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QPrintPreviewDialog::dragMoveEvent(arg__1); +} +void PythonQtShell_QPrintPreviewDialog::dropEvent(QDropEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dropEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QDropEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QPrintPreviewDialog::dropEvent(arg__1); +} +void PythonQtShell_QPrintPreviewDialog::enterEvent(QEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "enterEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QPrintPreviewDialog::enterEvent(arg__1); +} +bool PythonQtShell_QPrintPreviewDialog::event(QEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "event"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue; + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QPrintPreviewDialog::event(arg__1); +} +bool PythonQtShell_QPrintPreviewDialog::eventFilter(QObject* arg__1, QEvent* arg__2) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "eventFilter"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue; + void* args[3] = {NULL, (void*)&arg__1, (void*)&arg__2}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QPrintPreviewDialog::eventFilter(arg__1, arg__2); +} +void PythonQtShell_QPrintPreviewDialog::focusInEvent(QFocusEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "focusInEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QFocusEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QPrintPreviewDialog::focusInEvent(arg__1); +} +bool PythonQtShell_QPrintPreviewDialog::focusNextPrevChild(bool next) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "focusNextPrevChild"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue; + void* args[2] = {NULL, (void*)&next}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("focusNextPrevChild", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QPrintPreviewDialog::focusNextPrevChild(next); +} +void PythonQtShell_QPrintPreviewDialog::focusOutEvent(QFocusEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "focusOutEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QFocusEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QPrintPreviewDialog::focusOutEvent(arg__1); +} +int PythonQtShell_QPrintPreviewDialog::heightForWidth(int arg__1) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "heightForWidth"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"int" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + int returnValue; + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("heightForWidth", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QPrintPreviewDialog::heightForWidth(arg__1); +} +void PythonQtShell_QPrintPreviewDialog::hideEvent(QHideEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "hideEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QHideEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QPrintPreviewDialog::hideEvent(arg__1); +} +void PythonQtShell_QPrintPreviewDialog::inputMethodEvent(QInputMethodEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "inputMethodEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QInputMethodEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QPrintPreviewDialog::inputMethodEvent(arg__1); +} +QVariant PythonQtShell_QPrintPreviewDialog::inputMethodQuery(Qt::InputMethodQuery arg__1) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "inputMethodQuery"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QVariant" , "Qt::InputMethodQuery"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + QVariant returnValue; + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result); + } else { + returnValue = *((QVariant*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QPrintPreviewDialog::inputMethodQuery(arg__1); +} +void PythonQtShell_QPrintPreviewDialog::keyPressEvent(QKeyEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "keyPressEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QKeyEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QPrintPreviewDialog::keyPressEvent(arg__1); +} +void PythonQtShell_QPrintPreviewDialog::keyReleaseEvent(QKeyEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "keyReleaseEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QKeyEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QPrintPreviewDialog::keyReleaseEvent(arg__1); +} +void PythonQtShell_QPrintPreviewDialog::languageChange() +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "languageChange"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={""}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QPrintPreviewDialog::languageChange(); +} +void PythonQtShell_QPrintPreviewDialog::leaveEvent(QEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "leaveEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QPrintPreviewDialog::leaveEvent(arg__1); +} +int PythonQtShell_QPrintPreviewDialog::metric(QPaintDevice::PaintDeviceMetric arg__1) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "metric"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + int returnValue; + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("metric", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QPrintPreviewDialog::metric(arg__1); +} +void PythonQtShell_QPrintPreviewDialog::mouseDoubleClickEvent(QMouseEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mouseDoubleClickEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QPrintPreviewDialog::mouseDoubleClickEvent(arg__1); +} +void PythonQtShell_QPrintPreviewDialog::mouseMoveEvent(QMouseEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mouseMoveEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QPrintPreviewDialog::mouseMoveEvent(arg__1); +} +void PythonQtShell_QPrintPreviewDialog::mousePressEvent(QMouseEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mousePressEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QPrintPreviewDialog::mousePressEvent(arg__1); +} +void PythonQtShell_QPrintPreviewDialog::mouseReleaseEvent(QMouseEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mouseReleaseEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QPrintPreviewDialog::mouseReleaseEvent(arg__1); +} +void PythonQtShell_QPrintPreviewDialog::moveEvent(QMoveEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "moveEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QMoveEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QPrintPreviewDialog::moveEvent(arg__1); +} +QPaintEngine* PythonQtShell_QPrintPreviewDialog::paintEngine() const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "paintEngine"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QPaintEngine*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QPaintEngine* returnValue; + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); + } else { + returnValue = *((QPaintEngine**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QPrintPreviewDialog::paintEngine(); +} +void PythonQtShell_QPrintPreviewDialog::paintEvent(QPaintEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "paintEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QPaintEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QPrintPreviewDialog::paintEvent(arg__1); +} +void PythonQtShell_QPrintPreviewDialog::reject() +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "reject"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={""}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QPrintPreviewDialog::reject(); +} +void PythonQtShell_QPrintPreviewDialog::resizeEvent(QResizeEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "resizeEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QResizeEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QPrintPreviewDialog::resizeEvent(arg__1); +} +void PythonQtShell_QPrintPreviewDialog::showEvent(QShowEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "showEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QShowEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QPrintPreviewDialog::showEvent(arg__1); +} +void PythonQtShell_QPrintPreviewDialog::tabletEvent(QTabletEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "tabletEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QTabletEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QPrintPreviewDialog::tabletEvent(arg__1); +} +void PythonQtShell_QPrintPreviewDialog::timerEvent(QTimerEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "timerEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QTimerEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QPrintPreviewDialog::timerEvent(arg__1); +} +void PythonQtShell_QPrintPreviewDialog::wheelEvent(QWheelEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "wheelEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QWheelEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QPrintPreviewDialog::wheelEvent(arg__1); +} +QPrintPreviewDialog* PythonQtWrapper_QPrintPreviewDialog::new_QPrintPreviewDialog(QPrinter* printer, QWidget* parent, Qt::WindowFlags flags) +{ +return new PythonQtShell_QPrintPreviewDialog(printer, parent, flags); } + +QPrintPreviewDialog* PythonQtWrapper_QPrintPreviewDialog::new_QPrintPreviewDialog(QWidget* parent, Qt::WindowFlags flags) +{ +return new PythonQtShell_QPrintPreviewDialog(parent, flags); } + +void PythonQtWrapper_QPrintPreviewDialog::done(QPrintPreviewDialog* theWrappedObject, int result) +{ + ( ((PythonQtPublicPromoter_QPrintPreviewDialog*)theWrappedObject)->promoted_done(result)); +} + +void PythonQtWrapper_QPrintPreviewDialog::open(QPrintPreviewDialog* theWrappedObject) +{ + ( theWrappedObject->open()); +} + +void PythonQtWrapper_QPrintPreviewDialog::open(QPrintPreviewDialog* theWrappedObject, QObject* receiver, const char* member) +{ + ( theWrappedObject->open(receiver, member)); +} + +QPrinter* PythonQtWrapper_QPrintPreviewDialog::printer(QPrintPreviewDialog* theWrappedObject) +{ + return ( theWrappedObject->printer()); +} + +void PythonQtWrapper_QPrintPreviewDialog::setVisible(QPrintPreviewDialog* theWrappedObject, bool visible) +{ + ( theWrappedObject->setVisible(visible)); +} + + + +void PythonQtShell_QPrintPreviewWidget::actionEvent(QActionEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "actionEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QActionEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QPrintPreviewWidget::actionEvent(arg__1); +} +void PythonQtShell_QPrintPreviewWidget::changeEvent(QEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "changeEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QPrintPreviewWidget::changeEvent(arg__1); +} +void PythonQtShell_QPrintPreviewWidget::childEvent(QChildEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "childEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QChildEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QPrintPreviewWidget::childEvent(arg__1); +} +void PythonQtShell_QPrintPreviewWidget::closeEvent(QCloseEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "closeEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QCloseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QPrintPreviewWidget::closeEvent(arg__1); +} +void PythonQtShell_QPrintPreviewWidget::contextMenuEvent(QContextMenuEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "contextMenuEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QContextMenuEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QPrintPreviewWidget::contextMenuEvent(arg__1); +} +void PythonQtShell_QPrintPreviewWidget::customEvent(QEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "customEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QPrintPreviewWidget::customEvent(arg__1); +} +int PythonQtShell_QPrintPreviewWidget::devType() const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "devType"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + int returnValue; + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("devType", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QPrintPreviewWidget::devType(); +} +void PythonQtShell_QPrintPreviewWidget::dragEnterEvent(QDragEnterEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dragEnterEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QDragEnterEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QPrintPreviewWidget::dragEnterEvent(arg__1); +} +void PythonQtShell_QPrintPreviewWidget::dragLeaveEvent(QDragLeaveEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dragLeaveEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QDragLeaveEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QPrintPreviewWidget::dragLeaveEvent(arg__1); +} +void PythonQtShell_QPrintPreviewWidget::dragMoveEvent(QDragMoveEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dragMoveEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QDragMoveEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QPrintPreviewWidget::dragMoveEvent(arg__1); +} +void PythonQtShell_QPrintPreviewWidget::dropEvent(QDropEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dropEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QDropEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QPrintPreviewWidget::dropEvent(arg__1); +} +void PythonQtShell_QPrintPreviewWidget::enterEvent(QEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "enterEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QPrintPreviewWidget::enterEvent(arg__1); +} +bool PythonQtShell_QPrintPreviewWidget::event(QEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "event"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue; + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QPrintPreviewWidget::event(arg__1); +} +bool PythonQtShell_QPrintPreviewWidget::eventFilter(QObject* arg__1, QEvent* arg__2) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "eventFilter"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue; + void* args[3] = {NULL, (void*)&arg__1, (void*)&arg__2}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QPrintPreviewWidget::eventFilter(arg__1, arg__2); +} +void PythonQtShell_QPrintPreviewWidget::focusInEvent(QFocusEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "focusInEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QFocusEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QPrintPreviewWidget::focusInEvent(arg__1); +} +bool PythonQtShell_QPrintPreviewWidget::focusNextPrevChild(bool next) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "focusNextPrevChild"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue; + void* args[2] = {NULL, (void*)&next}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("focusNextPrevChild", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QPrintPreviewWidget::focusNextPrevChild(next); +} +void PythonQtShell_QPrintPreviewWidget::focusOutEvent(QFocusEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "focusOutEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QFocusEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QPrintPreviewWidget::focusOutEvent(arg__1); +} +int PythonQtShell_QPrintPreviewWidget::heightForWidth(int arg__1) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "heightForWidth"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"int" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + int returnValue; + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("heightForWidth", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QPrintPreviewWidget::heightForWidth(arg__1); +} +void PythonQtShell_QPrintPreviewWidget::hideEvent(QHideEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "hideEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QHideEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QPrintPreviewWidget::hideEvent(arg__1); +} +void PythonQtShell_QPrintPreviewWidget::inputMethodEvent(QInputMethodEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "inputMethodEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QInputMethodEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QPrintPreviewWidget::inputMethodEvent(arg__1); +} +QVariant PythonQtShell_QPrintPreviewWidget::inputMethodQuery(Qt::InputMethodQuery arg__1) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "inputMethodQuery"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QVariant" , "Qt::InputMethodQuery"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + QVariant returnValue; + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result); + } else { + returnValue = *((QVariant*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QPrintPreviewWidget::inputMethodQuery(arg__1); +} +void PythonQtShell_QPrintPreviewWidget::keyPressEvent(QKeyEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "keyPressEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QKeyEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QPrintPreviewWidget::keyPressEvent(arg__1); +} +void PythonQtShell_QPrintPreviewWidget::keyReleaseEvent(QKeyEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "keyReleaseEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QKeyEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QPrintPreviewWidget::keyReleaseEvent(arg__1); +} +void PythonQtShell_QPrintPreviewWidget::languageChange() +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "languageChange"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={""}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QPrintPreviewWidget::languageChange(); +} +void PythonQtShell_QPrintPreviewWidget::leaveEvent(QEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "leaveEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QPrintPreviewWidget::leaveEvent(arg__1); +} +int PythonQtShell_QPrintPreviewWidget::metric(QPaintDevice::PaintDeviceMetric arg__1) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "metric"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + int returnValue; + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("metric", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QPrintPreviewWidget::metric(arg__1); +} +QSize PythonQtShell_QPrintPreviewWidget::minimumSizeHint() const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "getMinimumSizeHint"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QSize"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QSize returnValue; + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("getMinimumSizeHint", methodInfo, result); + } else { + returnValue = *((QSize*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QPrintPreviewWidget::minimumSizeHint(); +} +void PythonQtShell_QPrintPreviewWidget::mouseDoubleClickEvent(QMouseEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mouseDoubleClickEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QPrintPreviewWidget::mouseDoubleClickEvent(arg__1); +} +void PythonQtShell_QPrintPreviewWidget::mouseMoveEvent(QMouseEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mouseMoveEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QPrintPreviewWidget::mouseMoveEvent(arg__1); +} +void PythonQtShell_QPrintPreviewWidget::mousePressEvent(QMouseEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mousePressEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QPrintPreviewWidget::mousePressEvent(arg__1); +} +void PythonQtShell_QPrintPreviewWidget::mouseReleaseEvent(QMouseEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mouseReleaseEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QPrintPreviewWidget::mouseReleaseEvent(arg__1); +} +void PythonQtShell_QPrintPreviewWidget::moveEvent(QMoveEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "moveEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QMoveEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QPrintPreviewWidget::moveEvent(arg__1); +} +QPaintEngine* PythonQtShell_QPrintPreviewWidget::paintEngine() const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "paintEngine"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QPaintEngine*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QPaintEngine* returnValue; + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); + } else { + returnValue = *((QPaintEngine**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QPrintPreviewWidget::paintEngine(); +} +void PythonQtShell_QPrintPreviewWidget::paintEvent(QPaintEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "paintEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QPaintEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QPrintPreviewWidget::paintEvent(arg__1); +} +void PythonQtShell_QPrintPreviewWidget::resizeEvent(QResizeEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "resizeEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QResizeEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QPrintPreviewWidget::resizeEvent(arg__1); +} +void PythonQtShell_QPrintPreviewWidget::showEvent(QShowEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "showEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QShowEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QPrintPreviewWidget::showEvent(arg__1); +} +QSize PythonQtShell_QPrintPreviewWidget::sizeHint() const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "getSizeHint"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QSize"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QSize returnValue; + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("getSizeHint", methodInfo, result); + } else { + returnValue = *((QSize*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QPrintPreviewWidget::sizeHint(); +} +void PythonQtShell_QPrintPreviewWidget::tabletEvent(QTabletEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "tabletEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QTabletEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QPrintPreviewWidget::tabletEvent(arg__1); +} +void PythonQtShell_QPrintPreviewWidget::timerEvent(QTimerEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "timerEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QTimerEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QPrintPreviewWidget::timerEvent(arg__1); +} +void PythonQtShell_QPrintPreviewWidget::wheelEvent(QWheelEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "wheelEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QWheelEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QPrintPreviewWidget::wheelEvent(arg__1); +} +QPrintPreviewWidget* PythonQtWrapper_QPrintPreviewWidget::new_QPrintPreviewWidget(QPrinter* printer, QWidget* parent, Qt::WindowFlags flags) +{ +return new PythonQtShell_QPrintPreviewWidget(printer, parent, flags); } + +QPrintPreviewWidget* PythonQtWrapper_QPrintPreviewWidget::new_QPrintPreviewWidget(QWidget* parent, Qt::WindowFlags flags) +{ +return new PythonQtShell_QPrintPreviewWidget(parent, flags); } + +int PythonQtWrapper_QPrintPreviewWidget::currentPage(QPrintPreviewWidget* theWrappedObject) const +{ + return ( theWrappedObject->currentPage()); +} + +int PythonQtWrapper_QPrintPreviewWidget::numPages(QPrintPreviewWidget* theWrappedObject) const +{ + return ( theWrappedObject->numPages()); +} + +QPrinter::Orientation PythonQtWrapper_QPrintPreviewWidget::orientation(QPrintPreviewWidget* theWrappedObject) const +{ + return ( theWrappedObject->orientation()); +} + +int PythonQtWrapper_QPrintPreviewWidget::pageCount(QPrintPreviewWidget* theWrappedObject) const +{ + return ( theWrappedObject->pageCount()); +} + +void PythonQtWrapper_QPrintPreviewWidget::setVisible(QPrintPreviewWidget* theWrappedObject, bool visible) +{ + ( theWrappedObject->setVisible(visible)); +} + +QPrintPreviewWidget::ViewMode PythonQtWrapper_QPrintPreviewWidget::viewMode(QPrintPreviewWidget* theWrappedObject) const +{ + return ( theWrappedObject->viewMode()); +} + +qreal PythonQtWrapper_QPrintPreviewWidget::zoomFactor(QPrintPreviewWidget* theWrappedObject) const +{ + return ( theWrappedObject->zoomFactor()); +} + +QPrintPreviewWidget::ZoomMode PythonQtWrapper_QPrintPreviewWidget::zoomMode(QPrintPreviewWidget* theWrappedObject) const +{ + return ( theWrappedObject->zoomMode()); +} + + + +int PythonQtShell_QPrinter::devType() const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "devType"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + int returnValue; + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("devType", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QPrinter::devType(); +} +int PythonQtShell_QPrinter::metric(QPaintDevice::PaintDeviceMetric arg__1) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "metric"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + int returnValue; + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("metric", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QPrinter::metric(arg__1); +} +QPaintEngine* PythonQtShell_QPrinter::paintEngine() const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "paintEngine"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QPaintEngine*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QPaintEngine* returnValue; + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); + } else { + returnValue = *((QPaintEngine**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QPrinter::paintEngine(); +} +QPrinter* PythonQtWrapper_QPrinter::new_QPrinter(QPrinter::PrinterMode mode) +{ +return new PythonQtShell_QPrinter(mode); } + +QPrinter* PythonQtWrapper_QPrinter::new_QPrinter(const QPrinterInfo& printer, QPrinter::PrinterMode mode) +{ +return new PythonQtShell_QPrinter(printer, mode); } + +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()); +} + +QString PythonQtWrapper_QPrinter::creator(QPrinter* theWrappedObject) const +{ + return ( theWrappedObject->creator()); +} + +int PythonQtWrapper_QPrinter::devType(QPrinter* theWrappedObject) const +{ + return ( ((PythonQtPublicPromoter_QPrinter*)theWrappedObject)->promoted_devType()); +} + +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::metric(QPrinter* theWrappedObject, QPaintDevice::PaintDeviceMetric arg__1) const +{ + return ( ((PythonQtPublicPromoter_QPrinter*)theWrappedObject)->promoted_metric(arg__1)); +} + +bool PythonQtWrapper_QPrinter::newPage(QPrinter* theWrappedObject) +{ + return ( theWrappedObject->newPage()); +} + +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)); +} + +QPrinter::PageSize PythonQtWrapper_QPrinter::pageSize(QPrinter* theWrappedObject) const +{ + return ( theWrappedObject->pageSize()); +} + +QPaintEngine* PythonQtWrapper_QPrinter::paintEngine(QPrinter* theWrappedObject) const +{ + return ( ((PythonQtPublicPromoter_QPrinter*)theWrappedObject)->promoted_paintEngine()); +} + +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)); +} + +QPrinter::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()); +} + +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::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)); +} + +void PythonQtWrapper_QPrinter::setFontEmbeddingEnabled(QPrinter* theWrappedObject, bool enable) +{ + ( theWrappedObject->setFontEmbeddingEnabled(enable)); +} + +void PythonQtWrapper_QPrinter::setFromTo(QPrinter* theWrappedObject, int fromPage, int toPage) +{ + ( theWrappedObject->setFromTo(fromPage, toPage)); +} + +void PythonQtWrapper_QPrinter::setFullPage(QPrinter* theWrappedObject, bool arg__1) +{ + ( theWrappedObject->setFullPage(arg__1)); +} + +void PythonQtWrapper_QPrinter::setNumCopies(QPrinter* theWrappedObject, int arg__1) +{ + ( theWrappedObject->setNumCopies(arg__1)); +} + +void PythonQtWrapper_QPrinter::setOrientation(QPrinter* theWrappedObject, QPrinter::Orientation arg__1) +{ + ( theWrappedObject->setOrientation(arg__1)); +} + +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)); +} + +void PythonQtWrapper_QPrinter::setPageMargins(QPrinter* theWrappedObject, qreal left, qreal top, qreal right, qreal bottom, QPrinter::Unit unit) +{ + ( theWrappedObject->setPageMargins(left, top, right, bottom, unit)); +} + +void PythonQtWrapper_QPrinter::setPageOrder(QPrinter* theWrappedObject, QPrinter::PageOrder arg__1) +{ + ( theWrappedObject->setPageOrder(arg__1)); +} + +void PythonQtWrapper_QPrinter::setPageSize(QPrinter* theWrappedObject, QPrinter::PageSize arg__1) +{ + ( theWrappedObject->setPageSize(arg__1)); +} + +void PythonQtWrapper_QPrinter::setPaperSize(QPrinter* theWrappedObject, QPrinter::PageSize arg__1) +{ + ( theWrappedObject->setPaperSize(arg__1)); +} + +void PythonQtWrapper_QPrinter::setPaperSize(QPrinter* theWrappedObject, const QSizeF& paperSize, QPrinter::Unit unit) +{ + ( theWrappedObject->setPaperSize(paperSize, unit)); +} + +void PythonQtWrapper_QPrinter::setPaperSource(QPrinter* theWrappedObject, QPrinter::PaperSource arg__1) +{ + ( theWrappedObject->setPaperSource(arg__1)); +} + +void PythonQtWrapper_QPrinter::setPrintProgram(QPrinter* theWrappedObject, const QString& arg__1) +{ + ( theWrappedObject->setPrintProgram(arg__1)); +} + +void PythonQtWrapper_QPrinter::setPrintRange(QPrinter* theWrappedObject, QPrinter::PrintRange range) +{ + ( theWrappedObject->setPrintRange(range)); +} + +void PythonQtWrapper_QPrinter::setPrinterName(QPrinter* theWrappedObject, const QString& arg__1) +{ + ( theWrappedObject->setPrinterName(arg__1)); +} + +void PythonQtWrapper_QPrinter::setResolution(QPrinter* theWrappedObject, int arg__1) +{ + ( theWrappedObject->setResolution(arg__1)); +} + +QList PythonQtWrapper_QPrinter::supportedResolutions(QPrinter* theWrappedObject) const +{ + return ( theWrappedObject->supportedResolutions()); +} + +int PythonQtWrapper_QPrinter::toPage(QPrinter* theWrappedObject) const +{ + return ( theWrappedObject->toPage()); +} + + + +void PythonQtShell_QProgressBar::actionEvent(QActionEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "actionEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QActionEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QProgressBar::actionEvent(arg__1); +} +void PythonQtShell_QProgressBar::changeEvent(QEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "changeEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QProgressBar::changeEvent(arg__1); +} +void PythonQtShell_QProgressBar::childEvent(QChildEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "childEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QChildEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QProgressBar::childEvent(arg__1); +} +void PythonQtShell_QProgressBar::closeEvent(QCloseEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "closeEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QCloseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QProgressBar::closeEvent(arg__1); +} +void PythonQtShell_QProgressBar::contextMenuEvent(QContextMenuEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "contextMenuEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QContextMenuEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QProgressBar::contextMenuEvent(arg__1); +} +void PythonQtShell_QProgressBar::customEvent(QEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "customEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QProgressBar::customEvent(arg__1); +} +int PythonQtShell_QProgressBar::devType() const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "devType"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + int returnValue; + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("devType", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QProgressBar::devType(); +} +void PythonQtShell_QProgressBar::dragEnterEvent(QDragEnterEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dragEnterEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QDragEnterEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QProgressBar::dragEnterEvent(arg__1); +} +void PythonQtShell_QProgressBar::dragLeaveEvent(QDragLeaveEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dragLeaveEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QDragLeaveEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QProgressBar::dragLeaveEvent(arg__1); +} +void PythonQtShell_QProgressBar::dragMoveEvent(QDragMoveEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dragMoveEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QDragMoveEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QProgressBar::dragMoveEvent(arg__1); +} +void PythonQtShell_QProgressBar::dropEvent(QDropEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dropEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QDropEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QProgressBar::dropEvent(arg__1); +} +void PythonQtShell_QProgressBar::enterEvent(QEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "enterEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QProgressBar::enterEvent(arg__1); +} +bool PythonQtShell_QProgressBar::event(QEvent* e) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "event"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue; + void* args[2] = {NULL, (void*)&e}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QProgressBar::event(e); +} +bool PythonQtShell_QProgressBar::eventFilter(QObject* arg__1, QEvent* arg__2) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "eventFilter"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue; + void* args[3] = {NULL, (void*)&arg__1, (void*)&arg__2}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QProgressBar::eventFilter(arg__1, arg__2); +} +void PythonQtShell_QProgressBar::focusInEvent(QFocusEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "focusInEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QFocusEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QProgressBar::focusInEvent(arg__1); +} +bool PythonQtShell_QProgressBar::focusNextPrevChild(bool next) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "focusNextPrevChild"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue; + void* args[2] = {NULL, (void*)&next}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("focusNextPrevChild", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QProgressBar::focusNextPrevChild(next); +} +void PythonQtShell_QProgressBar::focusOutEvent(QFocusEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "focusOutEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QFocusEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QProgressBar::focusOutEvent(arg__1); +} +int PythonQtShell_QProgressBar::heightForWidth(int arg__1) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "heightForWidth"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"int" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + int returnValue; + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("heightForWidth", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QProgressBar::heightForWidth(arg__1); +} +void PythonQtShell_QProgressBar::hideEvent(QHideEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "hideEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QHideEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QProgressBar::hideEvent(arg__1); +} +void PythonQtShell_QProgressBar::inputMethodEvent(QInputMethodEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "inputMethodEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QInputMethodEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QProgressBar::inputMethodEvent(arg__1); +} +QVariant PythonQtShell_QProgressBar::inputMethodQuery(Qt::InputMethodQuery arg__1) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "inputMethodQuery"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QVariant" , "Qt::InputMethodQuery"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + QVariant returnValue; + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result); + } else { + returnValue = *((QVariant*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QProgressBar::inputMethodQuery(arg__1); +} +void PythonQtShell_QProgressBar::keyPressEvent(QKeyEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "keyPressEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QKeyEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QProgressBar::keyPressEvent(arg__1); +} +void PythonQtShell_QProgressBar::keyReleaseEvent(QKeyEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "keyReleaseEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QKeyEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QProgressBar::keyReleaseEvent(arg__1); +} +void PythonQtShell_QProgressBar::languageChange() +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "languageChange"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={""}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QProgressBar::languageChange(); +} +void PythonQtShell_QProgressBar::leaveEvent(QEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "leaveEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QProgressBar::leaveEvent(arg__1); +} +int PythonQtShell_QProgressBar::metric(QPaintDevice::PaintDeviceMetric arg__1) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "metric"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + int returnValue; + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("metric", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QProgressBar::metric(arg__1); +} +void PythonQtShell_QProgressBar::mouseDoubleClickEvent(QMouseEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mouseDoubleClickEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QProgressBar::mouseDoubleClickEvent(arg__1); +} +void PythonQtShell_QProgressBar::mouseMoveEvent(QMouseEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mouseMoveEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QProgressBar::mouseMoveEvent(arg__1); +} +void PythonQtShell_QProgressBar::mousePressEvent(QMouseEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mousePressEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QProgressBar::mousePressEvent(arg__1); +} +void PythonQtShell_QProgressBar::mouseReleaseEvent(QMouseEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mouseReleaseEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QProgressBar::mouseReleaseEvent(arg__1); +} +void PythonQtShell_QProgressBar::moveEvent(QMoveEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "moveEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QMoveEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QProgressBar::moveEvent(arg__1); +} +QPaintEngine* PythonQtShell_QProgressBar::paintEngine() const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "paintEngine"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QPaintEngine*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QPaintEngine* returnValue; + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); + } else { + returnValue = *((QPaintEngine**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QProgressBar::paintEngine(); +} +void PythonQtShell_QProgressBar::paintEvent(QPaintEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "paintEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QPaintEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QProgressBar::paintEvent(arg__1); +} +void PythonQtShell_QProgressBar::resizeEvent(QResizeEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "resizeEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QResizeEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QProgressBar::resizeEvent(arg__1); +} +void PythonQtShell_QProgressBar::showEvent(QShowEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "showEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QShowEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QProgressBar::showEvent(arg__1); +} +void PythonQtShell_QProgressBar::tabletEvent(QTabletEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "tabletEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QTabletEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QProgressBar::tabletEvent(arg__1); +} +QString PythonQtShell_QProgressBar::text() const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "text"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QString"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QString returnValue; + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("text", methodInfo, result); + } else { + returnValue = *((QString*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QProgressBar::text(); +} +void PythonQtShell_QProgressBar::timerEvent(QTimerEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "timerEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QTimerEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QProgressBar::timerEvent(arg__1); +} +void PythonQtShell_QProgressBar::wheelEvent(QWheelEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "wheelEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QWheelEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QProgressBar::wheelEvent(arg__1); +} +QProgressBar* PythonQtWrapper_QProgressBar::new_QProgressBar(QWidget* parent) +{ +return new PythonQtShell_QProgressBar(parent); } + +Qt::Alignment PythonQtWrapper_QProgressBar::alignment(QProgressBar* theWrappedObject) const +{ + return ( theWrappedObject->alignment()); +} + +bool PythonQtWrapper_QProgressBar::event(QProgressBar* theWrappedObject, QEvent* e) +{ + return ( ((PythonQtPublicPromoter_QProgressBar*)theWrappedObject)->promoted_event(e)); +} + +QString PythonQtWrapper_QProgressBar::format(QProgressBar* theWrappedObject) const +{ + return ( theWrappedObject->format()); +} + +bool PythonQtWrapper_QProgressBar::invertedAppearance(QProgressBar* theWrappedObject) +{ + 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::paintEvent(QProgressBar* theWrappedObject, QPaintEvent* arg__1) +{ + ( ((PythonQtPublicPromoter_QProgressBar*)theWrappedObject)->promoted_paintEvent(arg__1)); +} + +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 ( ((PythonQtPublicPromoter_QProgressBar*)theWrappedObject)->promoted_text()); +} + +QProgressBar::Direction PythonQtWrapper_QProgressBar::textDirection(QProgressBar* theWrappedObject) +{ + return ( theWrappedObject->textDirection()); +} + +int PythonQtWrapper_QProgressBar::value(QProgressBar* theWrappedObject) const +{ + return ( theWrappedObject->value()); +} + + + +void PythonQtShell_QProgressDialog::accept() +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "accept"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={""}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QProgressDialog::accept(); +} +void PythonQtShell_QProgressDialog::actionEvent(QActionEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "actionEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QActionEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QProgressDialog::actionEvent(arg__1); +} +void PythonQtShell_QProgressDialog::changeEvent(QEvent* event) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "changeEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&event}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QProgressDialog::changeEvent(event); +} +void PythonQtShell_QProgressDialog::childEvent(QChildEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "childEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QChildEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QProgressDialog::childEvent(arg__1); +} +void PythonQtShell_QProgressDialog::closeEvent(QCloseEvent* event) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "closeEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QCloseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&event}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QProgressDialog::closeEvent(event); +} +void PythonQtShell_QProgressDialog::contextMenuEvent(QContextMenuEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "contextMenuEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QContextMenuEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QProgressDialog::contextMenuEvent(arg__1); +} +void PythonQtShell_QProgressDialog::customEvent(QEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "customEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QProgressDialog::customEvent(arg__1); +} +int PythonQtShell_QProgressDialog::devType() const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "devType"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + int returnValue; + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("devType", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QProgressDialog::devType(); +} +void PythonQtShell_QProgressDialog::done(int arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "done"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QProgressDialog::done(arg__1); +} +void PythonQtShell_QProgressDialog::dragEnterEvent(QDragEnterEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dragEnterEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QDragEnterEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QProgressDialog::dragEnterEvent(arg__1); +} +void PythonQtShell_QProgressDialog::dragLeaveEvent(QDragLeaveEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dragLeaveEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QDragLeaveEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QProgressDialog::dragLeaveEvent(arg__1); +} +void PythonQtShell_QProgressDialog::dragMoveEvent(QDragMoveEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dragMoveEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QDragMoveEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QProgressDialog::dragMoveEvent(arg__1); +} +void PythonQtShell_QProgressDialog::dropEvent(QDropEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dropEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QDropEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QProgressDialog::dropEvent(arg__1); +} +void PythonQtShell_QProgressDialog::enterEvent(QEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "enterEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QProgressDialog::enterEvent(arg__1); +} +bool PythonQtShell_QProgressDialog::event(QEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "event"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue; + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QProgressDialog::event(arg__1); +} +bool PythonQtShell_QProgressDialog::eventFilter(QObject* arg__1, QEvent* arg__2) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "eventFilter"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue; + void* args[3] = {NULL, (void*)&arg__1, (void*)&arg__2}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QProgressDialog::eventFilter(arg__1, arg__2); +} +void PythonQtShell_QProgressDialog::focusInEvent(QFocusEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "focusInEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QFocusEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QProgressDialog::focusInEvent(arg__1); +} +bool PythonQtShell_QProgressDialog::focusNextPrevChild(bool next) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "focusNextPrevChild"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue; + void* args[2] = {NULL, (void*)&next}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("focusNextPrevChild", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QProgressDialog::focusNextPrevChild(next); +} +void PythonQtShell_QProgressDialog::focusOutEvent(QFocusEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "focusOutEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QFocusEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QProgressDialog::focusOutEvent(arg__1); +} +int PythonQtShell_QProgressDialog::heightForWidth(int arg__1) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "heightForWidth"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"int" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + int returnValue; + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("heightForWidth", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QProgressDialog::heightForWidth(arg__1); +} +void PythonQtShell_QProgressDialog::hideEvent(QHideEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "hideEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QHideEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QProgressDialog::hideEvent(arg__1); +} +void PythonQtShell_QProgressDialog::inputMethodEvent(QInputMethodEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "inputMethodEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QInputMethodEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QProgressDialog::inputMethodEvent(arg__1); +} +QVariant PythonQtShell_QProgressDialog::inputMethodQuery(Qt::InputMethodQuery arg__1) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "inputMethodQuery"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QVariant" , "Qt::InputMethodQuery"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + QVariant returnValue; + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result); + } else { + returnValue = *((QVariant*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QProgressDialog::inputMethodQuery(arg__1); +} +void PythonQtShell_QProgressDialog::keyPressEvent(QKeyEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "keyPressEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QKeyEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QProgressDialog::keyPressEvent(arg__1); +} +void PythonQtShell_QProgressDialog::keyReleaseEvent(QKeyEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "keyReleaseEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QKeyEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QProgressDialog::keyReleaseEvent(arg__1); +} +void PythonQtShell_QProgressDialog::languageChange() +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "languageChange"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={""}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QProgressDialog::languageChange(); +} +void PythonQtShell_QProgressDialog::leaveEvent(QEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "leaveEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QProgressDialog::leaveEvent(arg__1); +} +int PythonQtShell_QProgressDialog::metric(QPaintDevice::PaintDeviceMetric arg__1) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "metric"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + int returnValue; + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("metric", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QProgressDialog::metric(arg__1); +} +void PythonQtShell_QProgressDialog::mouseDoubleClickEvent(QMouseEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mouseDoubleClickEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QProgressDialog::mouseDoubleClickEvent(arg__1); +} +void PythonQtShell_QProgressDialog::mouseMoveEvent(QMouseEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mouseMoveEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QProgressDialog::mouseMoveEvent(arg__1); +} +void PythonQtShell_QProgressDialog::mousePressEvent(QMouseEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mousePressEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QProgressDialog::mousePressEvent(arg__1); +} +void PythonQtShell_QProgressDialog::mouseReleaseEvent(QMouseEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mouseReleaseEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QProgressDialog::mouseReleaseEvent(arg__1); +} +void PythonQtShell_QProgressDialog::moveEvent(QMoveEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "moveEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QMoveEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QProgressDialog::moveEvent(arg__1); +} +QPaintEngine* PythonQtShell_QProgressDialog::paintEngine() const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "paintEngine"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QPaintEngine*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QPaintEngine* returnValue; + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); + } else { + returnValue = *((QPaintEngine**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QProgressDialog::paintEngine(); +} +void PythonQtShell_QProgressDialog::paintEvent(QPaintEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "paintEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QPaintEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QProgressDialog::paintEvent(arg__1); +} +void PythonQtShell_QProgressDialog::reject() +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "reject"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={""}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QProgressDialog::reject(); +} +void PythonQtShell_QProgressDialog::resizeEvent(QResizeEvent* event) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "resizeEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QResizeEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&event}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QProgressDialog::resizeEvent(event); +} +void PythonQtShell_QProgressDialog::showEvent(QShowEvent* event) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "showEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QShowEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&event}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QProgressDialog::showEvent(event); +} +void PythonQtShell_QProgressDialog::tabletEvent(QTabletEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "tabletEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QTabletEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QProgressDialog::tabletEvent(arg__1); +} +void PythonQtShell_QProgressDialog::timerEvent(QTimerEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "timerEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QTimerEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QProgressDialog::timerEvent(arg__1); +} +void PythonQtShell_QProgressDialog::wheelEvent(QWheelEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "wheelEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QWheelEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QProgressDialog::wheelEvent(arg__1); +} +QProgressDialog* PythonQtWrapper_QProgressDialog::new_QProgressDialog(QWidget* parent, Qt::WindowFlags 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); } + +bool PythonQtWrapper_QProgressDialog::autoClose(QProgressDialog* theWrappedObject) const +{ + return ( theWrappedObject->autoClose()); +} + +bool PythonQtWrapper_QProgressDialog::autoReset(QProgressDialog* theWrappedObject) const +{ + return ( theWrappedObject->autoReset()); +} + +void PythonQtWrapper_QProgressDialog::changeEvent(QProgressDialog* theWrappedObject, QEvent* event) +{ + ( ((PythonQtPublicPromoter_QProgressDialog*)theWrappedObject)->promoted_changeEvent(event)); +} + +void PythonQtWrapper_QProgressDialog::closeEvent(QProgressDialog* theWrappedObject, QCloseEvent* event) +{ + ( ((PythonQtPublicPromoter_QProgressDialog*)theWrappedObject)->promoted_closeEvent(event)); +} + +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) +{ + ( theWrappedObject->open()); +} + +void PythonQtWrapper_QProgressDialog::open(QProgressDialog* theWrappedObject, QObject* receiver, const char* member) +{ + ( theWrappedObject->open(receiver, member)); +} + +void PythonQtWrapper_QProgressDialog::resizeEvent(QProgressDialog* theWrappedObject, QResizeEvent* event) +{ + ( ((PythonQtPublicPromoter_QProgressDialog*)theWrappedObject)->promoted_resizeEvent(event)); +} + +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)); +} + +void PythonQtWrapper_QProgressDialog::showEvent(QProgressDialog* theWrappedObject, QShowEvent* event) +{ + ( ((PythonQtPublicPromoter_QProgressDialog*)theWrappedObject)->promoted_showEvent(event)); +} + +QSize PythonQtWrapper_QProgressDialog::sizeHint(QProgressDialog* theWrappedObject) const +{ + return ( theWrappedObject->sizeHint()); +} + +int PythonQtWrapper_QProgressDialog::value(QProgressDialog* theWrappedObject) const +{ + return ( theWrappedObject->value()); +} + +bool PythonQtWrapper_QProgressDialog::wasCanceled(QProgressDialog* theWrappedObject) const +{ + return ( theWrappedObject->wasCanceled()); +} + + + +void PythonQtShell_QProxyStyle::childEvent(QChildEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "childEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QChildEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QProxyStyle::childEvent(arg__1); +} +void PythonQtShell_QProxyStyle::customEvent(QEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "customEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QProxyStyle::customEvent(arg__1); +} +void PythonQtShell_QProxyStyle::drawComplexControl(QStyle::ComplexControl control, const QStyleOptionComplex* option, QPainter* painter, const QWidget* widget) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "drawComplexControl"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QStyle::ComplexControl" , "const QStyleOptionComplex*" , "QPainter*" , "const QWidget*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(5, argumentList); + void* args[5] = {NULL, (void*)&control, (void*)&option, (void*)&painter, (void*)&widget}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QProxyStyle::drawComplexControl(control, option, painter, widget); +} +void PythonQtShell_QProxyStyle::drawControl(QStyle::ControlElement element, const QStyleOption* option, QPainter* painter, const QWidget* widget) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "drawControl"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QStyle::ControlElement" , "const QStyleOption*" , "QPainter*" , "const QWidget*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(5, argumentList); + void* args[5] = {NULL, (void*)&element, (void*)&option, (void*)&painter, (void*)&widget}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QProxyStyle::drawControl(element, option, painter, widget); +} +void PythonQtShell_QProxyStyle::drawItemPixmap(QPainter* painter, const QRect& rect, int alignment, const QPixmap& pixmap) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "drawItemPixmap"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QPainter*" , "const QRect&" , "int" , "const QPixmap&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(5, argumentList); + void* args[5] = {NULL, (void*)&painter, (void*)&rect, (void*)&alignment, (void*)&pixmap}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QProxyStyle::drawItemPixmap(painter, rect, alignment, pixmap); +} +void PythonQtShell_QProxyStyle::drawItemText(QPainter* painter, const QRect& rect, int flags, const QPalette& pal, bool enabled, const QString& text, QPalette::ColorRole textRole) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "drawItemText"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QPainter*" , "const QRect&" , "int" , "const QPalette&" , "bool" , "const QString&" , "QPalette::ColorRole"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(8, argumentList); + void* args[8] = {NULL, (void*)&painter, (void*)&rect, (void*)&flags, (void*)&pal, (void*)&enabled, (void*)&text, (void*)&textRole}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QProxyStyle::drawItemText(painter, rect, flags, pal, enabled, text, textRole); +} +void PythonQtShell_QProxyStyle::drawPrimitive(QStyle::PrimitiveElement element, const QStyleOption* option, QPainter* painter, const QWidget* widget) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "drawPrimitive"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QStyle::PrimitiveElement" , "const QStyleOption*" , "QPainter*" , "const QWidget*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(5, argumentList); + void* args[5] = {NULL, (void*)&element, (void*)&option, (void*)&painter, (void*)&widget}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QProxyStyle::drawPrimitive(element, option, painter, widget); +} +bool PythonQtShell_QProxyStyle::event(QEvent* e) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "event"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue; + void* args[2] = {NULL, (void*)&e}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QProxyStyle::event(e); +} +bool PythonQtShell_QProxyStyle::eventFilter(QObject* arg__1, QEvent* arg__2) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "eventFilter"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue; + void* args[3] = {NULL, (void*)&arg__1, (void*)&arg__2}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QProxyStyle::eventFilter(arg__1, arg__2); +} +QPixmap PythonQtShell_QProxyStyle::generatedIconPixmap(QIcon::Mode iconMode, const QPixmap& pixmap, const QStyleOption* opt) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "generatedIconPixmap"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QPixmap" , "QIcon::Mode" , "const QPixmap&" , "const QStyleOption*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + QPixmap returnValue; + void* args[4] = {NULL, (void*)&iconMode, (void*)&pixmap, (void*)&opt}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("generatedIconPixmap", methodInfo, result); + } else { + returnValue = *((QPixmap*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QProxyStyle::generatedIconPixmap(iconMode, pixmap, opt); +} +QStyle::SubControl PythonQtShell_QProxyStyle::hitTestComplexControl(QStyle::ComplexControl control, const QStyleOptionComplex* option, const QPoint& pos, const QWidget* widget) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "hitTestComplexControl"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QStyle::SubControl" , "QStyle::ComplexControl" , "const QStyleOptionComplex*" , "const QPoint&" , "const QWidget*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(5, argumentList); + QStyle::SubControl returnValue; + void* args[5] = {NULL, (void*)&control, (void*)&option, (void*)&pos, (void*)&widget}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("hitTestComplexControl", methodInfo, result); + } else { + returnValue = *((QStyle::SubControl*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QProxyStyle::hitTestComplexControl(control, option, pos, widget); +} +QRect PythonQtShell_QProxyStyle::itemPixmapRect(const QRect& r, int flags, const QPixmap& pixmap) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "itemPixmapRect"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QRect" , "const QRect&" , "int" , "const QPixmap&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + QRect returnValue; + void* args[4] = {NULL, (void*)&r, (void*)&flags, (void*)&pixmap}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("itemPixmapRect", methodInfo, result); + } else { + returnValue = *((QRect*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QProxyStyle::itemPixmapRect(r, flags, pixmap); +} +int PythonQtShell_QProxyStyle::pixelMetric(QStyle::PixelMetric metric, const QStyleOption* option, const QWidget* widget) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "pixelMetric"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"int" , "QStyle::PixelMetric" , "const QStyleOption*" , "const QWidget*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + int returnValue; + void* args[4] = {NULL, (void*)&metric, (void*)&option, (void*)&widget}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("pixelMetric", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QProxyStyle::pixelMetric(metric, option, widget); +} +void PythonQtShell_QProxyStyle::polish(QApplication* app) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "polish"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QApplication*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&app}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QProxyStyle::polish(app); +} +void PythonQtShell_QProxyStyle::polish(QPalette& pal) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "polish"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QPalette&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&pal}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QProxyStyle::polish(pal); +} +void PythonQtShell_QProxyStyle::polish(QWidget* widget) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "polish"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QWidget*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&widget}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QProxyStyle::polish(widget); +} +QSize PythonQtShell_QProxyStyle::sizeFromContents(QStyle::ContentsType type, const QStyleOption* option, const QSize& size, const QWidget* widget) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "sizeFromContents"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QSize" , "QStyle::ContentsType" , "const QStyleOption*" , "const QSize&" , "const QWidget*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(5, argumentList); + QSize returnValue; + void* args[5] = {NULL, (void*)&type, (void*)&option, (void*)&size, (void*)&widget}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("sizeFromContents", methodInfo, result); + } else { + returnValue = *((QSize*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QProxyStyle::sizeFromContents(type, option, size, widget); +} +QPalette PythonQtShell_QProxyStyle::standardPalette() const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "standardPalette"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QPalette"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QPalette returnValue; + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("standardPalette", methodInfo, result); + } else { + returnValue = *((QPalette*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QProxyStyle::standardPalette(); +} +QPixmap PythonQtShell_QProxyStyle::standardPixmap(QStyle::StandardPixmap standardPixmap, const QStyleOption* opt, const QWidget* widget) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "standardPixmap"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QPixmap" , "QStyle::StandardPixmap" , "const QStyleOption*" , "const QWidget*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + QPixmap returnValue; + void* args[4] = {NULL, (void*)&standardPixmap, (void*)&opt, (void*)&widget}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("standardPixmap", methodInfo, result); + } else { + returnValue = *((QPixmap*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QProxyStyle::standardPixmap(standardPixmap, opt, widget); +} +int PythonQtShell_QProxyStyle::styleHint(QStyle::StyleHint hint, const QStyleOption* option, const QWidget* widget, QStyleHintReturn* returnData) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "styleHint"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"int" , "QStyle::StyleHint" , "const QStyleOption*" , "const QWidget*" , "QStyleHintReturn*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(5, argumentList); + int returnValue; + void* args[5] = {NULL, (void*)&hint, (void*)&option, (void*)&widget, (void*)&returnData}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("styleHint", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QProxyStyle::styleHint(hint, option, widget, returnData); +} +QRect PythonQtShell_QProxyStyle::subControlRect(QStyle::ComplexControl cc, const QStyleOptionComplex* opt, QStyle::SubControl sc, const QWidget* widget) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "subControlRect"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QRect" , "QStyle::ComplexControl" , "const QStyleOptionComplex*" , "QStyle::SubControl" , "const QWidget*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(5, argumentList); + QRect returnValue; + void* args[5] = {NULL, (void*)&cc, (void*)&opt, (void*)&sc, (void*)&widget}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("subControlRect", methodInfo, result); + } else { + returnValue = *((QRect*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QProxyStyle::subControlRect(cc, opt, sc, widget); +} +QRect PythonQtShell_QProxyStyle::subElementRect(QStyle::SubElement element, const QStyleOption* option, const QWidget* widget) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "subElementRect"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QRect" , "QStyle::SubElement" , "const QStyleOption*" , "const QWidget*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + QRect returnValue; + void* args[4] = {NULL, (void*)&element, (void*)&option, (void*)&widget}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("subElementRect", methodInfo, result); + } else { + returnValue = *((QRect*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QProxyStyle::subElementRect(element, option, widget); +} +void PythonQtShell_QProxyStyle::timerEvent(QTimerEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "timerEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QTimerEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QProxyStyle::timerEvent(arg__1); +} +void PythonQtShell_QProxyStyle::unpolish(QApplication* app) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "unpolish"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QApplication*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&app}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QProxyStyle::unpolish(app); +} +void PythonQtShell_QProxyStyle::unpolish(QWidget* widget) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "unpolish"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QWidget*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&widget}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QProxyStyle::unpolish(widget); +} +QProxyStyle* PythonQtWrapper_QProxyStyle::new_QProxyStyle(QStyle* baseStyle) +{ +return new PythonQtShell_QProxyStyle(baseStyle); } + +QStyle* PythonQtWrapper_QProxyStyle::baseStyle(QProxyStyle* theWrappedObject) const +{ + return ( theWrappedObject->baseStyle()); +} + +void PythonQtWrapper_QProxyStyle::drawComplexControl(QProxyStyle* theWrappedObject, QStyle::ComplexControl control, const QStyleOptionComplex* option, QPainter* painter, const QWidget* widget) const +{ + ( ((PythonQtPublicPromoter_QProxyStyle*)theWrappedObject)->promoted_drawComplexControl(control, option, painter, widget)); +} + +void PythonQtWrapper_QProxyStyle::drawControl(QProxyStyle* theWrappedObject, QStyle::ControlElement element, const QStyleOption* option, QPainter* painter, const QWidget* widget) const +{ + ( ((PythonQtPublicPromoter_QProxyStyle*)theWrappedObject)->promoted_drawControl(element, option, painter, widget)); +} + +void PythonQtWrapper_QProxyStyle::drawItemPixmap(QProxyStyle* theWrappedObject, QPainter* painter, const QRect& rect, int alignment, const QPixmap& pixmap) const +{ + ( ((PythonQtPublicPromoter_QProxyStyle*)theWrappedObject)->promoted_drawItemPixmap(painter, rect, alignment, pixmap)); +} + +void PythonQtWrapper_QProxyStyle::drawItemText(QProxyStyle* theWrappedObject, QPainter* painter, const QRect& rect, int flags, const QPalette& pal, bool enabled, const QString& text, QPalette::ColorRole textRole) const +{ + ( ((PythonQtPublicPromoter_QProxyStyle*)theWrappedObject)->promoted_drawItemText(painter, rect, flags, pal, enabled, text, textRole)); +} + +void PythonQtWrapper_QProxyStyle::drawPrimitive(QProxyStyle* theWrappedObject, QStyle::PrimitiveElement element, const QStyleOption* option, QPainter* painter, const QWidget* widget) const +{ + ( ((PythonQtPublicPromoter_QProxyStyle*)theWrappedObject)->promoted_drawPrimitive(element, option, painter, widget)); +} + +bool PythonQtWrapper_QProxyStyle::event(QProxyStyle* theWrappedObject, QEvent* e) +{ + return ( ((PythonQtPublicPromoter_QProxyStyle*)theWrappedObject)->promoted_event(e)); +} + +QPixmap PythonQtWrapper_QProxyStyle::generatedIconPixmap(QProxyStyle* theWrappedObject, QIcon::Mode iconMode, const QPixmap& pixmap, const QStyleOption* opt) const +{ + return ( ((PythonQtPublicPromoter_QProxyStyle*)theWrappedObject)->promoted_generatedIconPixmap(iconMode, pixmap, opt)); +} + +QStyle::SubControl PythonQtWrapper_QProxyStyle::hitTestComplexControl(QProxyStyle* theWrappedObject, QStyle::ComplexControl control, const QStyleOptionComplex* option, const QPoint& pos, const QWidget* widget) const +{ + return ( ((PythonQtPublicPromoter_QProxyStyle*)theWrappedObject)->promoted_hitTestComplexControl(control, option, pos, widget)); +} + +QRect PythonQtWrapper_QProxyStyle::itemPixmapRect(QProxyStyle* theWrappedObject, const QRect& r, int flags, const QPixmap& pixmap) const +{ + return ( ((PythonQtPublicPromoter_QProxyStyle*)theWrappedObject)->promoted_itemPixmapRect(r, flags, pixmap)); +} + +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)); +} + +int PythonQtWrapper_QProxyStyle::pixelMetric(QProxyStyle* theWrappedObject, QStyle::PixelMetric metric, const QStyleOption* option, const QWidget* widget) const +{ + return ( ((PythonQtPublicPromoter_QProxyStyle*)theWrappedObject)->promoted_pixelMetric(metric, option, widget)); +} + +void PythonQtWrapper_QProxyStyle::polish(QProxyStyle* theWrappedObject, QApplication* app) +{ + ( ((PythonQtPublicPromoter_QProxyStyle*)theWrappedObject)->promoted_polish(app)); +} + +void PythonQtWrapper_QProxyStyle::polish(QProxyStyle* theWrappedObject, QPalette& pal) +{ + ( ((PythonQtPublicPromoter_QProxyStyle*)theWrappedObject)->promoted_polish(pal)); +} + +void PythonQtWrapper_QProxyStyle::polish(QProxyStyle* theWrappedObject, QWidget* widget) +{ + ( ((PythonQtPublicPromoter_QProxyStyle*)theWrappedObject)->promoted_polish(widget)); +} + +void PythonQtWrapper_QProxyStyle::setBaseStyle(QProxyStyle* theWrappedObject, QStyle* style) +{ + ( theWrappedObject->setBaseStyle(style)); +} + +QSize PythonQtWrapper_QProxyStyle::sizeFromContents(QProxyStyle* theWrappedObject, QStyle::ContentsType type, const QStyleOption* option, const QSize& size, const QWidget* widget) const +{ + return ( ((PythonQtPublicPromoter_QProxyStyle*)theWrappedObject)->promoted_sizeFromContents(type, option, size, widget)); +} + +QPalette PythonQtWrapper_QProxyStyle::standardPalette(QProxyStyle* theWrappedObject) const +{ + return ( ((PythonQtPublicPromoter_QProxyStyle*)theWrappedObject)->promoted_standardPalette()); +} + +QPixmap PythonQtWrapper_QProxyStyle::standardPixmap(QProxyStyle* theWrappedObject, QStyle::StandardPixmap standardPixmap, const QStyleOption* opt, const QWidget* widget) const +{ + return ( ((PythonQtPublicPromoter_QProxyStyle*)theWrappedObject)->promoted_standardPixmap(standardPixmap, opt, widget)); +} + +int PythonQtWrapper_QProxyStyle::styleHint(QProxyStyle* theWrappedObject, QStyle::StyleHint hint, const QStyleOption* option, const QWidget* widget, QStyleHintReturn* returnData) const +{ + return ( ((PythonQtPublicPromoter_QProxyStyle*)theWrappedObject)->promoted_styleHint(hint, option, widget, returnData)); +} + +QRect PythonQtWrapper_QProxyStyle::subControlRect(QProxyStyle* theWrappedObject, QStyle::ComplexControl cc, const QStyleOptionComplex* opt, QStyle::SubControl sc, const QWidget* widget) const +{ + return ( ((PythonQtPublicPromoter_QProxyStyle*)theWrappedObject)->promoted_subControlRect(cc, opt, sc, widget)); +} + +QRect PythonQtWrapper_QProxyStyle::subElementRect(QProxyStyle* theWrappedObject, QStyle::SubElement element, const QStyleOption* option, const QWidget* widget) const +{ + return ( ((PythonQtPublicPromoter_QProxyStyle*)theWrappedObject)->promoted_subElementRect(element, option, widget)); +} + +void PythonQtWrapper_QProxyStyle::unpolish(QProxyStyle* theWrappedObject, QApplication* app) +{ + ( ((PythonQtPublicPromoter_QProxyStyle*)theWrappedObject)->promoted_unpolish(app)); +} + +void PythonQtWrapper_QProxyStyle::unpolish(QProxyStyle* theWrappedObject, QWidget* widget) +{ + ( ((PythonQtPublicPromoter_QProxyStyle*)theWrappedObject)->promoted_unpolish(widget)); +} + + + +void PythonQtShell_QPushButton::actionEvent(QActionEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "actionEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QActionEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QPushButton::actionEvent(arg__1); +} +void PythonQtShell_QPushButton::changeEvent(QEvent* e) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "changeEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&e}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QPushButton::changeEvent(e); +} +void PythonQtShell_QPushButton::checkStateSet() +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "checkStateSet"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={""}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QPushButton::checkStateSet(); +} +void PythonQtShell_QPushButton::childEvent(QChildEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "childEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QChildEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QPushButton::childEvent(arg__1); +} +void PythonQtShell_QPushButton::closeEvent(QCloseEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "closeEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QCloseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QPushButton::closeEvent(arg__1); +} +void PythonQtShell_QPushButton::contextMenuEvent(QContextMenuEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "contextMenuEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QContextMenuEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QPushButton::contextMenuEvent(arg__1); +} +void PythonQtShell_QPushButton::customEvent(QEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "customEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QPushButton::customEvent(arg__1); +} +int PythonQtShell_QPushButton::devType() const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "devType"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + int returnValue; + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("devType", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QPushButton::devType(); +} +void PythonQtShell_QPushButton::dragEnterEvent(QDragEnterEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dragEnterEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QDragEnterEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QPushButton::dragEnterEvent(arg__1); +} +void PythonQtShell_QPushButton::dragLeaveEvent(QDragLeaveEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dragLeaveEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QDragLeaveEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QPushButton::dragLeaveEvent(arg__1); +} +void PythonQtShell_QPushButton::dragMoveEvent(QDragMoveEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dragMoveEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QDragMoveEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QPushButton::dragMoveEvent(arg__1); +} +void PythonQtShell_QPushButton::dropEvent(QDropEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dropEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QDropEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QPushButton::dropEvent(arg__1); +} +void PythonQtShell_QPushButton::enterEvent(QEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "enterEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QPushButton::enterEvent(arg__1); +} +bool PythonQtShell_QPushButton::event(QEvent* e) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "event"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue; + void* args[2] = {NULL, (void*)&e}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QPushButton::event(e); +} +bool PythonQtShell_QPushButton::eventFilter(QObject* arg__1, QEvent* arg__2) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "eventFilter"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue; + void* args[3] = {NULL, (void*)&arg__1, (void*)&arg__2}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QPushButton::eventFilter(arg__1, arg__2); +} +void PythonQtShell_QPushButton::focusInEvent(QFocusEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "focusInEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QFocusEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QPushButton::focusInEvent(arg__1); +} +bool PythonQtShell_QPushButton::focusNextPrevChild(bool next) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "focusNextPrevChild"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue; + void* args[2] = {NULL, (void*)&next}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("focusNextPrevChild", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QPushButton::focusNextPrevChild(next); +} +void PythonQtShell_QPushButton::focusOutEvent(QFocusEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "focusOutEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QFocusEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QPushButton::focusOutEvent(arg__1); +} +int PythonQtShell_QPushButton::heightForWidth(int arg__1) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "heightForWidth"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"int" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + int returnValue; + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("heightForWidth", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QPushButton::heightForWidth(arg__1); +} +void PythonQtShell_QPushButton::hideEvent(QHideEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "hideEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QHideEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QPushButton::hideEvent(arg__1); +} +bool PythonQtShell_QPushButton::hitButton(const QPoint& pos) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "hitButton"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "const QPoint&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue; + void* args[2] = {NULL, (void*)&pos}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("hitButton", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QPushButton::hitButton(pos); +} +void PythonQtShell_QPushButton::inputMethodEvent(QInputMethodEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "inputMethodEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QInputMethodEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QPushButton::inputMethodEvent(arg__1); +} +QVariant PythonQtShell_QPushButton::inputMethodQuery(Qt::InputMethodQuery arg__1) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "inputMethodQuery"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QVariant" , "Qt::InputMethodQuery"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + QVariant returnValue; + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result); + } else { + returnValue = *((QVariant*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QPushButton::inputMethodQuery(arg__1); +} +void PythonQtShell_QPushButton::keyPressEvent(QKeyEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "keyPressEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QKeyEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QPushButton::keyPressEvent(arg__1); +} +void PythonQtShell_QPushButton::keyReleaseEvent(QKeyEvent* e) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "keyReleaseEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QKeyEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&e}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QPushButton::keyReleaseEvent(e); +} +void PythonQtShell_QPushButton::languageChange() +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "languageChange"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={""}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QPushButton::languageChange(); +} +void PythonQtShell_QPushButton::leaveEvent(QEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "leaveEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QPushButton::leaveEvent(arg__1); +} +int PythonQtShell_QPushButton::metric(QPaintDevice::PaintDeviceMetric arg__1) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "metric"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + int returnValue; + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("metric", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QPushButton::metric(arg__1); +} +void PythonQtShell_QPushButton::mouseDoubleClickEvent(QMouseEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mouseDoubleClickEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QPushButton::mouseDoubleClickEvent(arg__1); +} +void PythonQtShell_QPushButton::mouseMoveEvent(QMouseEvent* e) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mouseMoveEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&e}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QPushButton::mouseMoveEvent(e); +} +void PythonQtShell_QPushButton::mousePressEvent(QMouseEvent* e) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mousePressEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&e}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QPushButton::mousePressEvent(e); +} +void PythonQtShell_QPushButton::mouseReleaseEvent(QMouseEvent* e) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mouseReleaseEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&e}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QPushButton::mouseReleaseEvent(e); +} +void PythonQtShell_QPushButton::moveEvent(QMoveEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "moveEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QMoveEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QPushButton::moveEvent(arg__1); +} +void PythonQtShell_QPushButton::nextCheckState() +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "nextCheckState"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={""}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QPushButton::nextCheckState(); +} +QPaintEngine* PythonQtShell_QPushButton::paintEngine() const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "paintEngine"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QPaintEngine*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QPaintEngine* returnValue; + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); + } else { + returnValue = *((QPaintEngine**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QPushButton::paintEngine(); +} +void PythonQtShell_QPushButton::paintEvent(QPaintEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "paintEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QPaintEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QPushButton::paintEvent(arg__1); +} +void PythonQtShell_QPushButton::resizeEvent(QResizeEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "resizeEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QResizeEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QPushButton::resizeEvent(arg__1); +} +void PythonQtShell_QPushButton::showEvent(QShowEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "showEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QShowEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QPushButton::showEvent(arg__1); +} +void PythonQtShell_QPushButton::tabletEvent(QTabletEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "tabletEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QTabletEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QPushButton::tabletEvent(arg__1); +} +void PythonQtShell_QPushButton::timerEvent(QTimerEvent* e) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "timerEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QTimerEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&e}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QPushButton::timerEvent(e); +} +void PythonQtShell_QPushButton::wheelEvent(QWheelEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "wheelEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QWheelEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QPushButton::wheelEvent(arg__1); +} +QPushButton* PythonQtWrapper_QPushButton::new_QPushButton(QWidget* parent) +{ +return new PythonQtShell_QPushButton(parent); } + +QPushButton* PythonQtWrapper_QPushButton::new_QPushButton(const QIcon& icon, const QString& text, QWidget* parent) +{ +return new PythonQtShell_QPushButton(icon, text, parent); } + +QPushButton* PythonQtWrapper_QPushButton::new_QPushButton(const QString& text, QWidget* parent) +{ +return new PythonQtShell_QPushButton(text, parent); } + +bool PythonQtWrapper_QPushButton::autoDefault(QPushButton* theWrappedObject) const +{ + return ( theWrappedObject->autoDefault()); +} + +bool PythonQtWrapper_QPushButton::event(QPushButton* theWrappedObject, QEvent* e) +{ + return ( ((PythonQtPublicPromoter_QPushButton*)theWrappedObject)->promoted_event(e)); +} + +void PythonQtWrapper_QPushButton::focusInEvent(QPushButton* theWrappedObject, QFocusEvent* arg__1) +{ + ( ((PythonQtPublicPromoter_QPushButton*)theWrappedObject)->promoted_focusInEvent(arg__1)); +} + +void PythonQtWrapper_QPushButton::focusOutEvent(QPushButton* theWrappedObject, QFocusEvent* arg__1) +{ + ( ((PythonQtPublicPromoter_QPushButton*)theWrappedObject)->promoted_focusOutEvent(arg__1)); +} + +bool PythonQtWrapper_QPushButton::isDefault(QPushButton* theWrappedObject) const +{ + return ( theWrappedObject->isDefault()); +} + +bool PythonQtWrapper_QPushButton::isFlat(QPushButton* theWrappedObject) const +{ + return ( theWrappedObject->isFlat()); +} + +void PythonQtWrapper_QPushButton::keyPressEvent(QPushButton* theWrappedObject, QKeyEvent* arg__1) +{ + ( ((PythonQtPublicPromoter_QPushButton*)theWrappedObject)->promoted_keyPressEvent(arg__1)); +} + +QMenu* PythonQtWrapper_QPushButton::menu(QPushButton* theWrappedObject) const +{ + return ( theWrappedObject->menu()); +} + +QSize PythonQtWrapper_QPushButton::minimumSizeHint(QPushButton* theWrappedObject) const +{ + return ( theWrappedObject->minimumSizeHint()); +} + +void PythonQtWrapper_QPushButton::paintEvent(QPushButton* theWrappedObject, QPaintEvent* arg__1) +{ + ( ((PythonQtPublicPromoter_QPushButton*)theWrappedObject)->promoted_paintEvent(arg__1)); +} + +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(qreal scalar, const QVector3D& vector) +{ +return new QQuaternion(scalar, vector); } + +QQuaternion* PythonQtWrapper_QQuaternion::new_QQuaternion(qreal scalar, qreal xpos, qreal ypos, qreal zpos) +{ +return new QQuaternion(scalar, xpos, ypos, zpos); } + +QQuaternion PythonQtWrapper_QQuaternion::conjugate(QQuaternion* theWrappedObject) const +{ + return ( theWrappedObject->conjugate()); +} + +QQuaternion PythonQtWrapper_QQuaternion::static_QQuaternion_fromAxisAndAngle(const QVector3D& axis, qreal angle) +{ + return (QQuaternion::fromAxisAndAngle(axis, angle)); +} + +QQuaternion PythonQtWrapper_QQuaternion::static_QQuaternion_fromAxisAndAngle(qreal x, qreal y, qreal z, qreal angle) +{ + return (QQuaternion::fromAxisAndAngle(x, y, z, angle)); +} + +bool PythonQtWrapper_QQuaternion::isIdentity(QQuaternion* theWrappedObject) const +{ + return ( theWrappedObject->isIdentity()); +} + +bool PythonQtWrapper_QQuaternion::isNull(QQuaternion* theWrappedObject) const +{ + return ( theWrappedObject->isNull()); +} + +qreal PythonQtWrapper_QQuaternion::length(QQuaternion* theWrappedObject) const +{ + return ( theWrappedObject->length()); +} + +qreal PythonQtWrapper_QQuaternion::lengthSquared(QQuaternion* theWrappedObject) const +{ + return ( theWrappedObject->lengthSquared()); +} + +QQuaternion PythonQtWrapper_QQuaternion::static_QQuaternion_nlerp(const QQuaternion& q1, const QQuaternion& q2, qreal 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()); +} + +const QQuaternion PythonQtWrapper_QQuaternion::__mul__(QQuaternion* theWrappedObject, const QQuaternion& q2) +{ + return ( (*theWrappedObject)* q2); +} + +const QQuaternion PythonQtWrapper_QQuaternion::__mul__(QQuaternion* theWrappedObject, qreal factor) +{ + return ( (*theWrappedObject)* factor); +} + +QQuaternion* PythonQtWrapper_QQuaternion::__imul__(QQuaternion* theWrappedObject, const QQuaternion& quaternion) +{ + return &( (*theWrappedObject)*= quaternion); +} + +QQuaternion* PythonQtWrapper_QQuaternion::__imul__(QQuaternion* theWrappedObject, qreal 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, qreal divisor) +{ + return ( (*theWrappedObject)/ divisor); +} + +QQuaternion* PythonQtWrapper_QQuaternion::__idiv__(QQuaternion* theWrappedObject, qreal 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)); +} + +qreal PythonQtWrapper_QQuaternion::scalar(QQuaternion* theWrappedObject) const +{ + return ( theWrappedObject->scalar()); +} + +void PythonQtWrapper_QQuaternion::setScalar(QQuaternion* theWrappedObject, qreal scalar) +{ + ( theWrappedObject->setScalar(scalar)); +} + +void PythonQtWrapper_QQuaternion::setVector(QQuaternion* theWrappedObject, const QVector3D& vector) +{ + ( theWrappedObject->setVector(vector)); +} + +void PythonQtWrapper_QQuaternion::setVector(QQuaternion* theWrappedObject, qreal x, qreal y, qreal z) +{ + ( theWrappedObject->setVector(x, y, z)); +} + +void PythonQtWrapper_QQuaternion::setX(QQuaternion* theWrappedObject, qreal x) +{ + ( theWrappedObject->setX(x)); +} + +void PythonQtWrapper_QQuaternion::setY(QQuaternion* theWrappedObject, qreal y) +{ + ( theWrappedObject->setY(y)); +} + +void PythonQtWrapper_QQuaternion::setZ(QQuaternion* theWrappedObject, qreal z) +{ + ( theWrappedObject->setZ(z)); +} + +QQuaternion PythonQtWrapper_QQuaternion::static_QQuaternion_slerp(const QQuaternion& q1, const QQuaternion& q2, qreal t) +{ + return (QQuaternion::slerp(q1, q2, t)); +} + +QVector4D PythonQtWrapper_QQuaternion::toVector4D(QQuaternion* theWrappedObject) const +{ + return ( theWrappedObject->toVector4D()); +} + +QVector3D PythonQtWrapper_QQuaternion::vector(QQuaternion* theWrappedObject) const +{ + return ( theWrappedObject->vector()); +} + +qreal PythonQtWrapper_QQuaternion::x(QQuaternion* theWrappedObject) const +{ + return ( theWrappedObject->x()); +} + +qreal PythonQtWrapper_QQuaternion::y(QQuaternion* theWrappedObject) const +{ + return ( theWrappedObject->y()); +} + +qreal 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 radius) +{ +return new QRadialGradient(center, radius); } + +QRadialGradient* PythonQtWrapper_QRadialGradient::new_QRadialGradient(const QPointF& center, qreal radius, const QPointF& focalPoint) +{ +return new QRadialGradient(center, radius, focalPoint); } + +QRadialGradient* PythonQtWrapper_QRadialGradient::new_QRadialGradient(qreal cx, qreal cy, qreal radius) +{ +return new QRadialGradient(cx, cy, radius); } + +QRadialGradient* PythonQtWrapper_QRadialGradient::new_QRadialGradient(qreal cx, qreal cy, qreal radius, qreal fx, qreal fy) +{ +return new QRadialGradient(cx, cy, radius, fx, fy); } + +QPointF PythonQtWrapper_QRadialGradient::center(QRadialGradient* theWrappedObject) const +{ + return ( theWrappedObject->center()); +} + +QPointF PythonQtWrapper_QRadialGradient::focalPoint(QRadialGradient* theWrappedObject) const +{ + return ( theWrappedObject->focalPoint()); +} + +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::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::setRadius(QRadialGradient* theWrappedObject, qreal radius) +{ + ( theWrappedObject->setRadius(radius)); +} + + + +void PythonQtShell_QRadioButton::actionEvent(QActionEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "actionEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QActionEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QRadioButton::actionEvent(arg__1); +} +void PythonQtShell_QRadioButton::changeEvent(QEvent* e) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "changeEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&e}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QRadioButton::changeEvent(e); +} +void PythonQtShell_QRadioButton::checkStateSet() +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "checkStateSet"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={""}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QRadioButton::checkStateSet(); +} +void PythonQtShell_QRadioButton::childEvent(QChildEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "childEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QChildEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QRadioButton::childEvent(arg__1); +} +void PythonQtShell_QRadioButton::closeEvent(QCloseEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "closeEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QCloseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QRadioButton::closeEvent(arg__1); +} +void PythonQtShell_QRadioButton::contextMenuEvent(QContextMenuEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "contextMenuEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QContextMenuEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QRadioButton::contextMenuEvent(arg__1); +} +void PythonQtShell_QRadioButton::customEvent(QEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "customEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QRadioButton::customEvent(arg__1); +} +int PythonQtShell_QRadioButton::devType() const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "devType"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + int returnValue; + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("devType", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QRadioButton::devType(); +} +void PythonQtShell_QRadioButton::dragEnterEvent(QDragEnterEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dragEnterEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QDragEnterEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QRadioButton::dragEnterEvent(arg__1); +} +void PythonQtShell_QRadioButton::dragLeaveEvent(QDragLeaveEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dragLeaveEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QDragLeaveEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QRadioButton::dragLeaveEvent(arg__1); +} +void PythonQtShell_QRadioButton::dragMoveEvent(QDragMoveEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dragMoveEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QDragMoveEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QRadioButton::dragMoveEvent(arg__1); +} +void PythonQtShell_QRadioButton::dropEvent(QDropEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dropEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QDropEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QRadioButton::dropEvent(arg__1); +} +void PythonQtShell_QRadioButton::enterEvent(QEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "enterEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QRadioButton::enterEvent(arg__1); +} +bool PythonQtShell_QRadioButton::event(QEvent* e) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "event"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue; + void* args[2] = {NULL, (void*)&e}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QRadioButton::event(e); +} +bool PythonQtShell_QRadioButton::eventFilter(QObject* arg__1, QEvent* arg__2) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "eventFilter"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue; + void* args[3] = {NULL, (void*)&arg__1, (void*)&arg__2}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QRadioButton::eventFilter(arg__1, arg__2); +} +void PythonQtShell_QRadioButton::focusInEvent(QFocusEvent* e) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "focusInEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QFocusEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&e}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QRadioButton::focusInEvent(e); +} +bool PythonQtShell_QRadioButton::focusNextPrevChild(bool next) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "focusNextPrevChild"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue; + void* args[2] = {NULL, (void*)&next}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("focusNextPrevChild", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QRadioButton::focusNextPrevChild(next); +} +void PythonQtShell_QRadioButton::focusOutEvent(QFocusEvent* e) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "focusOutEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QFocusEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&e}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QRadioButton::focusOutEvent(e); +} +int PythonQtShell_QRadioButton::heightForWidth(int arg__1) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "heightForWidth"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"int" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + int returnValue; + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("heightForWidth", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QRadioButton::heightForWidth(arg__1); +} +void PythonQtShell_QRadioButton::hideEvent(QHideEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "hideEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QHideEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QRadioButton::hideEvent(arg__1); +} +bool PythonQtShell_QRadioButton::hitButton(const QPoint& arg__1) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "hitButton"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "const QPoint&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue; + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("hitButton", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QRadioButton::hitButton(arg__1); +} +void PythonQtShell_QRadioButton::inputMethodEvent(QInputMethodEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "inputMethodEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QInputMethodEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QRadioButton::inputMethodEvent(arg__1); +} +QVariant PythonQtShell_QRadioButton::inputMethodQuery(Qt::InputMethodQuery arg__1) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "inputMethodQuery"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QVariant" , "Qt::InputMethodQuery"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + QVariant returnValue; + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result); + } else { + returnValue = *((QVariant*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QRadioButton::inputMethodQuery(arg__1); +} +void PythonQtShell_QRadioButton::keyPressEvent(QKeyEvent* e) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "keyPressEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QKeyEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&e}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QRadioButton::keyPressEvent(e); +} +void PythonQtShell_QRadioButton::keyReleaseEvent(QKeyEvent* e) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "keyReleaseEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QKeyEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&e}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QRadioButton::keyReleaseEvent(e); +} +void PythonQtShell_QRadioButton::languageChange() +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "languageChange"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={""}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QRadioButton::languageChange(); +} +void PythonQtShell_QRadioButton::leaveEvent(QEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "leaveEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QRadioButton::leaveEvent(arg__1); +} +int PythonQtShell_QRadioButton::metric(QPaintDevice::PaintDeviceMetric arg__1) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "metric"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + int returnValue; + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("metric", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QRadioButton::metric(arg__1); +} +QSize PythonQtShell_QRadioButton::minimumSizeHint() const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "getMinimumSizeHint"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QSize"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QSize returnValue; + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("getMinimumSizeHint", methodInfo, result); + } else { + returnValue = *((QSize*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QRadioButton::minimumSizeHint(); +} +void PythonQtShell_QRadioButton::mouseDoubleClickEvent(QMouseEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mouseDoubleClickEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QRadioButton::mouseDoubleClickEvent(arg__1); +} +void PythonQtShell_QRadioButton::mouseMoveEvent(QMouseEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mouseMoveEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QRadioButton::mouseMoveEvent(arg__1); +} +void PythonQtShell_QRadioButton::mousePressEvent(QMouseEvent* e) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mousePressEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&e}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QRadioButton::mousePressEvent(e); +} +void PythonQtShell_QRadioButton::mouseReleaseEvent(QMouseEvent* e) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mouseReleaseEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&e}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QRadioButton::mouseReleaseEvent(e); +} +void PythonQtShell_QRadioButton::moveEvent(QMoveEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "moveEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QMoveEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QRadioButton::moveEvent(arg__1); +} +void PythonQtShell_QRadioButton::nextCheckState() +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "nextCheckState"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={""}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QRadioButton::nextCheckState(); +} +QPaintEngine* PythonQtShell_QRadioButton::paintEngine() const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "paintEngine"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QPaintEngine*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QPaintEngine* returnValue; + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); + } else { + returnValue = *((QPaintEngine**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QRadioButton::paintEngine(); +} +void PythonQtShell_QRadioButton::paintEvent(QPaintEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "paintEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QPaintEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QRadioButton::paintEvent(arg__1); +} +void PythonQtShell_QRadioButton::resizeEvent(QResizeEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "resizeEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QResizeEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QRadioButton::resizeEvent(arg__1); +} +void PythonQtShell_QRadioButton::showEvent(QShowEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "showEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QShowEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QRadioButton::showEvent(arg__1); +} +void PythonQtShell_QRadioButton::tabletEvent(QTabletEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "tabletEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QTabletEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QRadioButton::tabletEvent(arg__1); +} +void PythonQtShell_QRadioButton::timerEvent(QTimerEvent* e) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "timerEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QTimerEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&e}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QRadioButton::timerEvent(e); +} +void PythonQtShell_QRadioButton::wheelEvent(QWheelEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "wheelEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QWheelEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QRadioButton::wheelEvent(arg__1); +} +QRadioButton* PythonQtWrapper_QRadioButton::new_QRadioButton(QWidget* parent) +{ +return new PythonQtShell_QRadioButton(parent); } + +QRadioButton* PythonQtWrapper_QRadioButton::new_QRadioButton(const QString& text, QWidget* parent) +{ +return new PythonQtShell_QRadioButton(text, parent); } + +bool PythonQtWrapper_QRadioButton::event(QRadioButton* theWrappedObject, QEvent* e) +{ + return ( ((PythonQtPublicPromoter_QRadioButton*)theWrappedObject)->promoted_event(e)); +} + +bool PythonQtWrapper_QRadioButton::hitButton(QRadioButton* theWrappedObject, const QPoint& arg__1) const +{ + return ( ((PythonQtPublicPromoter_QRadioButton*)theWrappedObject)->promoted_hitButton(arg__1)); +} + +void PythonQtWrapper_QRadioButton::mouseMoveEvent(QRadioButton* theWrappedObject, QMouseEvent* arg__1) +{ + ( ((PythonQtPublicPromoter_QRadioButton*)theWrappedObject)->promoted_mouseMoveEvent(arg__1)); +} + +void PythonQtWrapper_QRadioButton::paintEvent(QRadioButton* theWrappedObject, QPaintEvent* arg__1) +{ + ( ((PythonQtPublicPromoter_QRadioButton*)theWrappedObject)->promoted_paintEvent(arg__1)); +} + +QSize PythonQtWrapper_QRadioButton::sizeHint(QRadioButton* theWrappedObject) const +{ + return ( theWrappedObject->sizeHint()); +} + + + +void PythonQtShell_QRegExpValidator::childEvent(QChildEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "childEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QChildEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QRegExpValidator::childEvent(arg__1); +} +void PythonQtShell_QRegExpValidator::customEvent(QEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "customEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QRegExpValidator::customEvent(arg__1); +} +bool PythonQtShell_QRegExpValidator::event(QEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "event"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue; + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QRegExpValidator::event(arg__1); +} +bool PythonQtShell_QRegExpValidator::eventFilter(QObject* arg__1, QEvent* arg__2) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "eventFilter"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue; + void* args[3] = {NULL, (void*)&arg__1, (void*)&arg__2}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QRegExpValidator::eventFilter(arg__1, arg__2); +} +void PythonQtShell_QRegExpValidator::fixup(QString& arg__1) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "fixup"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QString&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QRegExpValidator::fixup(arg__1); +} +void PythonQtShell_QRegExpValidator::timerEvent(QTimerEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "timerEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QTimerEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QRegExpValidator::timerEvent(arg__1); +} +QValidator::State PythonQtShell_QRegExpValidator::validate(QString& input, int& pos) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "validate"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QValidator::State" , "QString&" , "int&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + QValidator::State returnValue; + void* args[3] = {NULL, (void*)&input, (void*)&pos}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("validate", methodInfo, result); + } else { + returnValue = *((QValidator::State*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QRegExpValidator::validate(input, pos); +} +QRegExpValidator* PythonQtWrapper_QRegExpValidator::new_QRegExpValidator(QObject* parent) +{ +return new PythonQtShell_QRegExpValidator(parent); } + +QRegExpValidator* PythonQtWrapper_QRegExpValidator::new_QRegExpValidator(const QRegExp& rx, QObject* parent) +{ +return new PythonQtShell_QRegExpValidator(rx, parent); } + +const QRegExp* PythonQtWrapper_QRegExpValidator::regExp(QRegExpValidator* theWrappedObject) const +{ + return &( theWrappedObject->regExp()); +} + +void PythonQtWrapper_QRegExpValidator::setRegExp(QRegExpValidator* theWrappedObject, const QRegExp& rx) +{ + ( theWrappedObject->setRegExp(rx)); +} + +QValidator::State PythonQtWrapper_QRegExpValidator::validate(QRegExpValidator* theWrappedObject, QString& input, int& pos) const +{ + return ( ((PythonQtPublicPromoter_QRegExpValidator*)theWrappedObject)->promoted_validate(input, pos)); +} + + + +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()); +} + + + +void PythonQtShell_QRubberBand::actionEvent(QActionEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "actionEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QActionEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QRubberBand::actionEvent(arg__1); +} +void PythonQtShell_QRubberBand::changeEvent(QEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "changeEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QRubberBand::changeEvent(arg__1); +} +void PythonQtShell_QRubberBand::childEvent(QChildEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "childEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QChildEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QRubberBand::childEvent(arg__1); +} +void PythonQtShell_QRubberBand::closeEvent(QCloseEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "closeEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QCloseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QRubberBand::closeEvent(arg__1); +} +void PythonQtShell_QRubberBand::contextMenuEvent(QContextMenuEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "contextMenuEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QContextMenuEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QRubberBand::contextMenuEvent(arg__1); +} +void PythonQtShell_QRubberBand::customEvent(QEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "customEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QRubberBand::customEvent(arg__1); +} +int PythonQtShell_QRubberBand::devType() const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "devType"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + int returnValue; + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("devType", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QRubberBand::devType(); +} +void PythonQtShell_QRubberBand::dragEnterEvent(QDragEnterEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dragEnterEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QDragEnterEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QRubberBand::dragEnterEvent(arg__1); +} +void PythonQtShell_QRubberBand::dragLeaveEvent(QDragLeaveEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dragLeaveEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QDragLeaveEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QRubberBand::dragLeaveEvent(arg__1); +} +void PythonQtShell_QRubberBand::dragMoveEvent(QDragMoveEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dragMoveEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QDragMoveEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QRubberBand::dragMoveEvent(arg__1); +} +void PythonQtShell_QRubberBand::dropEvent(QDropEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dropEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QDropEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QRubberBand::dropEvent(arg__1); +} +void PythonQtShell_QRubberBand::enterEvent(QEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "enterEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QRubberBand::enterEvent(arg__1); +} +bool PythonQtShell_QRubberBand::event(QEvent* e) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "event"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue; + void* args[2] = {NULL, (void*)&e}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QRubberBand::event(e); +} +bool PythonQtShell_QRubberBand::eventFilter(QObject* arg__1, QEvent* arg__2) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "eventFilter"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue; + void* args[3] = {NULL, (void*)&arg__1, (void*)&arg__2}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QRubberBand::eventFilter(arg__1, arg__2); +} +void PythonQtShell_QRubberBand::focusInEvent(QFocusEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "focusInEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QFocusEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QRubberBand::focusInEvent(arg__1); +} +bool PythonQtShell_QRubberBand::focusNextPrevChild(bool next) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "focusNextPrevChild"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue; + void* args[2] = {NULL, (void*)&next}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("focusNextPrevChild", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QRubberBand::focusNextPrevChild(next); +} +void PythonQtShell_QRubberBand::focusOutEvent(QFocusEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "focusOutEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QFocusEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QRubberBand::focusOutEvent(arg__1); +} +int PythonQtShell_QRubberBand::heightForWidth(int arg__1) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "heightForWidth"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"int" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + int returnValue; + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("heightForWidth", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QRubberBand::heightForWidth(arg__1); +} +void PythonQtShell_QRubberBand::hideEvent(QHideEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "hideEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QHideEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QRubberBand::hideEvent(arg__1); +} +void PythonQtShell_QRubberBand::inputMethodEvent(QInputMethodEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "inputMethodEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QInputMethodEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QRubberBand::inputMethodEvent(arg__1); +} +QVariant PythonQtShell_QRubberBand::inputMethodQuery(Qt::InputMethodQuery arg__1) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "inputMethodQuery"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QVariant" , "Qt::InputMethodQuery"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + QVariant returnValue; + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result); + } else { + returnValue = *((QVariant*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QRubberBand::inputMethodQuery(arg__1); +} +void PythonQtShell_QRubberBand::keyPressEvent(QKeyEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "keyPressEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QKeyEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QRubberBand::keyPressEvent(arg__1); +} +void PythonQtShell_QRubberBand::keyReleaseEvent(QKeyEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "keyReleaseEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QKeyEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QRubberBand::keyReleaseEvent(arg__1); +} +void PythonQtShell_QRubberBand::languageChange() +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "languageChange"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={""}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QRubberBand::languageChange(); +} +void PythonQtShell_QRubberBand::leaveEvent(QEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "leaveEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QRubberBand::leaveEvent(arg__1); +} +int PythonQtShell_QRubberBand::metric(QPaintDevice::PaintDeviceMetric arg__1) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "metric"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + int returnValue; + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("metric", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QRubberBand::metric(arg__1); +} +QSize PythonQtShell_QRubberBand::minimumSizeHint() const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "getMinimumSizeHint"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QSize"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QSize returnValue; + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("getMinimumSizeHint", methodInfo, result); + } else { + returnValue = *((QSize*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QRubberBand::minimumSizeHint(); +} +void PythonQtShell_QRubberBand::mouseDoubleClickEvent(QMouseEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mouseDoubleClickEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QRubberBand::mouseDoubleClickEvent(arg__1); +} +void PythonQtShell_QRubberBand::mouseMoveEvent(QMouseEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mouseMoveEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QRubberBand::mouseMoveEvent(arg__1); +} +void PythonQtShell_QRubberBand::mousePressEvent(QMouseEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mousePressEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QRubberBand::mousePressEvent(arg__1); +} +void PythonQtShell_QRubberBand::mouseReleaseEvent(QMouseEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mouseReleaseEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QRubberBand::mouseReleaseEvent(arg__1); +} +void PythonQtShell_QRubberBand::moveEvent(QMoveEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "moveEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QMoveEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QRubberBand::moveEvent(arg__1); +} +QPaintEngine* PythonQtShell_QRubberBand::paintEngine() const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "paintEngine"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QPaintEngine*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QPaintEngine* returnValue; + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); + } else { + returnValue = *((QPaintEngine**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QRubberBand::paintEngine(); +} +void PythonQtShell_QRubberBand::paintEvent(QPaintEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "paintEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QPaintEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QRubberBand::paintEvent(arg__1); +} +void PythonQtShell_QRubberBand::resizeEvent(QResizeEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "resizeEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QResizeEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QRubberBand::resizeEvent(arg__1); +} +void PythonQtShell_QRubberBand::showEvent(QShowEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "showEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QShowEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QRubberBand::showEvent(arg__1); +} +QSize PythonQtShell_QRubberBand::sizeHint() const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "getSizeHint"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QSize"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QSize returnValue; + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("getSizeHint", methodInfo, result); + } else { + returnValue = *((QSize*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QRubberBand::sizeHint(); +} +void PythonQtShell_QRubberBand::tabletEvent(QTabletEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "tabletEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QTabletEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QRubberBand::tabletEvent(arg__1); +} +void PythonQtShell_QRubberBand::timerEvent(QTimerEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "timerEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QTimerEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QRubberBand::timerEvent(arg__1); +} +void PythonQtShell_QRubberBand::wheelEvent(QWheelEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "wheelEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QWheelEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QRubberBand::wheelEvent(arg__1); +} +QRubberBand* PythonQtWrapper_QRubberBand::new_QRubberBand(QRubberBand::Shape arg__1, QWidget* arg__2) +{ +return new PythonQtShell_QRubberBand(arg__1, arg__2); } + +void PythonQtWrapper_QRubberBand::changeEvent(QRubberBand* theWrappedObject, QEvent* arg__1) +{ + ( ((PythonQtPublicPromoter_QRubberBand*)theWrappedObject)->promoted_changeEvent(arg__1)); +} + +bool PythonQtWrapper_QRubberBand::event(QRubberBand* theWrappedObject, QEvent* e) +{ + return ( ((PythonQtPublicPromoter_QRubberBand*)theWrappedObject)->promoted_event(e)); +} + +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::moveEvent(QRubberBand* theWrappedObject, QMoveEvent* arg__1) +{ + ( ((PythonQtPublicPromoter_QRubberBand*)theWrappedObject)->promoted_moveEvent(arg__1)); +} + +void PythonQtWrapper_QRubberBand::paintEvent(QRubberBand* theWrappedObject, QPaintEvent* arg__1) +{ + ( ((PythonQtPublicPromoter_QRubberBand*)theWrappedObject)->promoted_paintEvent(arg__1)); +} + +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::resizeEvent(QRubberBand* theWrappedObject, QResizeEvent* arg__1) +{ + ( ((PythonQtPublicPromoter_QRubberBand*)theWrappedObject)->promoted_resizeEvent(arg__1)); +} + +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()); +} + +void PythonQtWrapper_QRubberBand::showEvent(QRubberBand* theWrappedObject, QShowEvent* arg__1) +{ + ( ((PythonQtPublicPromoter_QRubberBand*)theWrappedObject)->promoted_showEvent(arg__1)); +} + + + +void PythonQtShell_QScrollArea::actionEvent(QActionEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "actionEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QActionEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QScrollArea::actionEvent(arg__1); +} +void PythonQtShell_QScrollArea::changeEvent(QEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "changeEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QScrollArea::changeEvent(arg__1); +} +void PythonQtShell_QScrollArea::childEvent(QChildEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "childEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QChildEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QScrollArea::childEvent(arg__1); +} +void PythonQtShell_QScrollArea::closeEvent(QCloseEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "closeEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QCloseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QScrollArea::closeEvent(arg__1); +} +void PythonQtShell_QScrollArea::contextMenuEvent(QContextMenuEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "contextMenuEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QContextMenuEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QScrollArea::contextMenuEvent(arg__1); +} +void PythonQtShell_QScrollArea::customEvent(QEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "customEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QScrollArea::customEvent(arg__1); +} +int PythonQtShell_QScrollArea::devType() const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "devType"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + int returnValue; + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("devType", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QScrollArea::devType(); +} +void PythonQtShell_QScrollArea::dragEnterEvent(QDragEnterEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dragEnterEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QDragEnterEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QScrollArea::dragEnterEvent(arg__1); +} +void PythonQtShell_QScrollArea::dragLeaveEvent(QDragLeaveEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dragLeaveEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QDragLeaveEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QScrollArea::dragLeaveEvent(arg__1); +} +void PythonQtShell_QScrollArea::dragMoveEvent(QDragMoveEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dragMoveEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QDragMoveEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QScrollArea::dragMoveEvent(arg__1); +} +void PythonQtShell_QScrollArea::dropEvent(QDropEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dropEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QDropEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QScrollArea::dropEvent(arg__1); +} +void PythonQtShell_QScrollArea::enterEvent(QEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "enterEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QScrollArea::enterEvent(arg__1); +} +bool PythonQtShell_QScrollArea::event(QEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "event"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue; + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QScrollArea::event(arg__1); +} +bool PythonQtShell_QScrollArea::eventFilter(QObject* arg__1, QEvent* arg__2) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "eventFilter"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue; + void* args[3] = {NULL, (void*)&arg__1, (void*)&arg__2}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QScrollArea::eventFilter(arg__1, arg__2); +} +void PythonQtShell_QScrollArea::focusInEvent(QFocusEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "focusInEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QFocusEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QScrollArea::focusInEvent(arg__1); +} +bool PythonQtShell_QScrollArea::focusNextPrevChild(bool next) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "focusNextPrevChild"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue; + void* args[2] = {NULL, (void*)&next}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("focusNextPrevChild", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QScrollArea::focusNextPrevChild(next); +} +void PythonQtShell_QScrollArea::focusOutEvent(QFocusEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "focusOutEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QFocusEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QScrollArea::focusOutEvent(arg__1); +} +int PythonQtShell_QScrollArea::heightForWidth(int arg__1) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "heightForWidth"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"int" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + int returnValue; + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("heightForWidth", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QScrollArea::heightForWidth(arg__1); +} +void PythonQtShell_QScrollArea::hideEvent(QHideEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "hideEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QHideEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QScrollArea::hideEvent(arg__1); +} +void PythonQtShell_QScrollArea::inputMethodEvent(QInputMethodEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "inputMethodEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QInputMethodEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QScrollArea::inputMethodEvent(arg__1); +} +QVariant PythonQtShell_QScrollArea::inputMethodQuery(Qt::InputMethodQuery arg__1) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "inputMethodQuery"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QVariant" , "Qt::InputMethodQuery"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + QVariant returnValue; + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result); + } else { + returnValue = *((QVariant*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QScrollArea::inputMethodQuery(arg__1); +} +void PythonQtShell_QScrollArea::keyPressEvent(QKeyEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "keyPressEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QKeyEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QScrollArea::keyPressEvent(arg__1); +} +void PythonQtShell_QScrollArea::keyReleaseEvent(QKeyEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "keyReleaseEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QKeyEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QScrollArea::keyReleaseEvent(arg__1); +} +void PythonQtShell_QScrollArea::languageChange() +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "languageChange"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={""}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QScrollArea::languageChange(); +} +void PythonQtShell_QScrollArea::leaveEvent(QEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "leaveEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QScrollArea::leaveEvent(arg__1); +} +int PythonQtShell_QScrollArea::metric(QPaintDevice::PaintDeviceMetric arg__1) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "metric"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + int returnValue; + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("metric", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QScrollArea::metric(arg__1); +} +void PythonQtShell_QScrollArea::mouseDoubleClickEvent(QMouseEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mouseDoubleClickEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QScrollArea::mouseDoubleClickEvent(arg__1); +} +void PythonQtShell_QScrollArea::mouseMoveEvent(QMouseEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mouseMoveEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QScrollArea::mouseMoveEvent(arg__1); +} +void PythonQtShell_QScrollArea::mousePressEvent(QMouseEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mousePressEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QScrollArea::mousePressEvent(arg__1); +} +void PythonQtShell_QScrollArea::mouseReleaseEvent(QMouseEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mouseReleaseEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QScrollArea::mouseReleaseEvent(arg__1); +} +void PythonQtShell_QScrollArea::moveEvent(QMoveEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "moveEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QMoveEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QScrollArea::moveEvent(arg__1); +} +QPaintEngine* PythonQtShell_QScrollArea::paintEngine() const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "paintEngine"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QPaintEngine*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QPaintEngine* returnValue; + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); + } else { + returnValue = *((QPaintEngine**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QScrollArea::paintEngine(); +} +void PythonQtShell_QScrollArea::paintEvent(QPaintEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "paintEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QPaintEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QScrollArea::paintEvent(arg__1); +} +void PythonQtShell_QScrollArea::resizeEvent(QResizeEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "resizeEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QResizeEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QScrollArea::resizeEvent(arg__1); +} +void PythonQtShell_QScrollArea::scrollContentsBy(int dx, int dy) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "scrollContentsBy"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "int" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + void* args[3] = {NULL, (void*)&dx, (void*)&dy}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QScrollArea::scrollContentsBy(dx, dy); +} +void PythonQtShell_QScrollArea::showEvent(QShowEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "showEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QShowEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QScrollArea::showEvent(arg__1); +} +void PythonQtShell_QScrollArea::tabletEvent(QTabletEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "tabletEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QTabletEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QScrollArea::tabletEvent(arg__1); +} +void PythonQtShell_QScrollArea::timerEvent(QTimerEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "timerEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QTimerEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QScrollArea::timerEvent(arg__1); +} +bool PythonQtShell_QScrollArea::viewportEvent(QEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "viewportEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue; + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("viewportEvent", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QScrollArea::viewportEvent(arg__1); +} +void PythonQtShell_QScrollArea::wheelEvent(QWheelEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "wheelEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QWheelEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QScrollArea::wheelEvent(arg__1); +} +QScrollArea* PythonQtWrapper_QScrollArea::new_QScrollArea(QWidget* parent) +{ +return new PythonQtShell_QScrollArea(parent); } + +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)); +} + +bool PythonQtWrapper_QScrollArea::event(QScrollArea* theWrappedObject, QEvent* arg__1) +{ + return ( ((PythonQtPublicPromoter_QScrollArea*)theWrappedObject)->promoted_event(arg__1)); +} + +bool PythonQtWrapper_QScrollArea::eventFilter(QScrollArea* theWrappedObject, QObject* arg__1, QEvent* arg__2) +{ + return ( ((PythonQtPublicPromoter_QScrollArea*)theWrappedObject)->promoted_eventFilter(arg__1, arg__2)); +} + +bool PythonQtWrapper_QScrollArea::focusNextPrevChild(QScrollArea* theWrappedObject, bool next) +{ + return ( ((PythonQtPublicPromoter_QScrollArea*)theWrappedObject)->promoted_focusNextPrevChild(next)); +} + +void PythonQtWrapper_QScrollArea::resizeEvent(QScrollArea* theWrappedObject, QResizeEvent* arg__1) +{ + ( ((PythonQtPublicPromoter_QScrollArea*)theWrappedObject)->promoted_resizeEvent(arg__1)); +} + +void PythonQtWrapper_QScrollArea::scrollContentsBy(QScrollArea* theWrappedObject, int dx, int dy) +{ + ( ((PythonQtPublicPromoter_QScrollArea*)theWrappedObject)->promoted_scrollContentsBy(dx, dy)); +} + +void PythonQtWrapper_QScrollArea::setAlignment(QScrollArea* theWrappedObject, Qt::Alignment arg__1) +{ + ( theWrappedObject->setAlignment(arg__1)); +} + +void PythonQtWrapper_QScrollArea::setWidget(QScrollArea* theWrappedObject, QWidget* widget) +{ + ( theWrappedObject->setWidget(widget)); +} + +void PythonQtWrapper_QScrollArea::setWidgetResizable(QScrollArea* theWrappedObject, bool resizable) +{ + ( theWrappedObject->setWidgetResizable(resizable)); +} + +QSize PythonQtWrapper_QScrollArea::sizeHint(QScrollArea* theWrappedObject) const +{ + return ( theWrappedObject->sizeHint()); +} + +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()); +} + + + +void PythonQtShell_QScrollBar::actionEvent(QActionEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "actionEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QActionEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QScrollBar::actionEvent(arg__1); +} +void PythonQtShell_QScrollBar::changeEvent(QEvent* e) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "changeEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&e}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QScrollBar::changeEvent(e); +} +void PythonQtShell_QScrollBar::childEvent(QChildEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "childEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QChildEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QScrollBar::childEvent(arg__1); +} +void PythonQtShell_QScrollBar::closeEvent(QCloseEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "closeEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QCloseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QScrollBar::closeEvent(arg__1); +} +void PythonQtShell_QScrollBar::contextMenuEvent(QContextMenuEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "contextMenuEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QContextMenuEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QScrollBar::contextMenuEvent(arg__1); +} +void PythonQtShell_QScrollBar::customEvent(QEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "customEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QScrollBar::customEvent(arg__1); +} +int PythonQtShell_QScrollBar::devType() const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "devType"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + int returnValue; + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("devType", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QScrollBar::devType(); +} +void PythonQtShell_QScrollBar::dragEnterEvent(QDragEnterEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dragEnterEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QDragEnterEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QScrollBar::dragEnterEvent(arg__1); +} +void PythonQtShell_QScrollBar::dragLeaveEvent(QDragLeaveEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dragLeaveEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QDragLeaveEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QScrollBar::dragLeaveEvent(arg__1); +} +void PythonQtShell_QScrollBar::dragMoveEvent(QDragMoveEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dragMoveEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QDragMoveEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QScrollBar::dragMoveEvent(arg__1); +} +void PythonQtShell_QScrollBar::dropEvent(QDropEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dropEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QDropEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QScrollBar::dropEvent(arg__1); +} +void PythonQtShell_QScrollBar::enterEvent(QEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "enterEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QScrollBar::enterEvent(arg__1); +} +bool PythonQtShell_QScrollBar::event(QEvent* event) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "event"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue; + void* args[2] = {NULL, (void*)&event}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QScrollBar::event(event); +} +bool PythonQtShell_QScrollBar::eventFilter(QObject* arg__1, QEvent* arg__2) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "eventFilter"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue; + void* args[3] = {NULL, (void*)&arg__1, (void*)&arg__2}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QScrollBar::eventFilter(arg__1, arg__2); +} +void PythonQtShell_QScrollBar::focusInEvent(QFocusEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "focusInEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QFocusEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QScrollBar::focusInEvent(arg__1); +} +bool PythonQtShell_QScrollBar::focusNextPrevChild(bool next) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "focusNextPrevChild"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue; + void* args[2] = {NULL, (void*)&next}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("focusNextPrevChild", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QScrollBar::focusNextPrevChild(next); +} +void PythonQtShell_QScrollBar::focusOutEvent(QFocusEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "focusOutEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QFocusEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QScrollBar::focusOutEvent(arg__1); +} +int PythonQtShell_QScrollBar::heightForWidth(int arg__1) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "heightForWidth"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"int" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + int returnValue; + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("heightForWidth", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QScrollBar::heightForWidth(arg__1); +} +void PythonQtShell_QScrollBar::hideEvent(QHideEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "hideEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QHideEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QScrollBar::hideEvent(arg__1); +} +void PythonQtShell_QScrollBar::inputMethodEvent(QInputMethodEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "inputMethodEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QInputMethodEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QScrollBar::inputMethodEvent(arg__1); +} +QVariant PythonQtShell_QScrollBar::inputMethodQuery(Qt::InputMethodQuery arg__1) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "inputMethodQuery"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QVariant" , "Qt::InputMethodQuery"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + QVariant returnValue; + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result); + } else { + returnValue = *((QVariant*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QScrollBar::inputMethodQuery(arg__1); +} +void PythonQtShell_QScrollBar::keyPressEvent(QKeyEvent* ev) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "keyPressEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QKeyEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&ev}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QScrollBar::keyPressEvent(ev); +} +void PythonQtShell_QScrollBar::keyReleaseEvent(QKeyEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "keyReleaseEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QKeyEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QScrollBar::keyReleaseEvent(arg__1); +} +void PythonQtShell_QScrollBar::languageChange() +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "languageChange"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={""}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QScrollBar::languageChange(); +} +void PythonQtShell_QScrollBar::leaveEvent(QEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "leaveEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QScrollBar::leaveEvent(arg__1); +} +int PythonQtShell_QScrollBar::metric(QPaintDevice::PaintDeviceMetric arg__1) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "metric"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + int returnValue; + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("metric", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QScrollBar::metric(arg__1); +} +QSize PythonQtShell_QScrollBar::minimumSizeHint() const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "getMinimumSizeHint"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QSize"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QSize returnValue; + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("getMinimumSizeHint", methodInfo, result); + } else { + returnValue = *((QSize*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QScrollBar::minimumSizeHint(); +} +void PythonQtShell_QScrollBar::mouseDoubleClickEvent(QMouseEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mouseDoubleClickEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QScrollBar::mouseDoubleClickEvent(arg__1); +} +void PythonQtShell_QScrollBar::mouseMoveEvent(QMouseEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mouseMoveEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QScrollBar::mouseMoveEvent(arg__1); +} +void PythonQtShell_QScrollBar::mousePressEvent(QMouseEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mousePressEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QScrollBar::mousePressEvent(arg__1); +} +void PythonQtShell_QScrollBar::mouseReleaseEvent(QMouseEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mouseReleaseEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QScrollBar::mouseReleaseEvent(arg__1); +} +void PythonQtShell_QScrollBar::moveEvent(QMoveEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "moveEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QMoveEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QScrollBar::moveEvent(arg__1); +} +QPaintEngine* PythonQtShell_QScrollBar::paintEngine() const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "paintEngine"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QPaintEngine*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QPaintEngine* returnValue; + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); + } else { + returnValue = *((QPaintEngine**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QScrollBar::paintEngine(); +} +void PythonQtShell_QScrollBar::paintEvent(QPaintEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "paintEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QPaintEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QScrollBar::paintEvent(arg__1); +} +void PythonQtShell_QScrollBar::resizeEvent(QResizeEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "resizeEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QResizeEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QScrollBar::resizeEvent(arg__1); +} +void PythonQtShell_QScrollBar::showEvent(QShowEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "showEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QShowEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QScrollBar::showEvent(arg__1); +} +void PythonQtShell_QScrollBar::tabletEvent(QTabletEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "tabletEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QTabletEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QScrollBar::tabletEvent(arg__1); +} +void PythonQtShell_QScrollBar::timerEvent(QTimerEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "timerEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QTimerEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QScrollBar::timerEvent(arg__1); +} +void PythonQtShell_QScrollBar::wheelEvent(QWheelEvent* e) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "wheelEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QWheelEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&e}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QScrollBar::wheelEvent(e); +} +QScrollBar* PythonQtWrapper_QScrollBar::new_QScrollBar(QWidget* parent) +{ +return new PythonQtShell_QScrollBar(parent); } + +QScrollBar* PythonQtWrapper_QScrollBar::new_QScrollBar(Qt::Orientation arg__1, QWidget* parent) +{ +return new PythonQtShell_QScrollBar(arg__1, parent); } + +void PythonQtWrapper_QScrollBar::contextMenuEvent(QScrollBar* theWrappedObject, QContextMenuEvent* arg__1) +{ + ( ((PythonQtPublicPromoter_QScrollBar*)theWrappedObject)->promoted_contextMenuEvent(arg__1)); +} + +bool PythonQtWrapper_QScrollBar::event(QScrollBar* theWrappedObject, QEvent* event) +{ + return ( ((PythonQtPublicPromoter_QScrollBar*)theWrappedObject)->promoted_event(event)); +} + +void PythonQtWrapper_QScrollBar::hideEvent(QScrollBar* theWrappedObject, QHideEvent* arg__1) +{ + ( ((PythonQtPublicPromoter_QScrollBar*)theWrappedObject)->promoted_hideEvent(arg__1)); +} + +void PythonQtWrapper_QScrollBar::mouseMoveEvent(QScrollBar* theWrappedObject, QMouseEvent* arg__1) +{ + ( ((PythonQtPublicPromoter_QScrollBar*)theWrappedObject)->promoted_mouseMoveEvent(arg__1)); +} + +void PythonQtWrapper_QScrollBar::mousePressEvent(QScrollBar* theWrappedObject, QMouseEvent* arg__1) +{ + ( ((PythonQtPublicPromoter_QScrollBar*)theWrappedObject)->promoted_mousePressEvent(arg__1)); +} + +void PythonQtWrapper_QScrollBar::mouseReleaseEvent(QScrollBar* theWrappedObject, QMouseEvent* arg__1) +{ + ( ((PythonQtPublicPromoter_QScrollBar*)theWrappedObject)->promoted_mouseReleaseEvent(arg__1)); +} + +void PythonQtWrapper_QScrollBar::paintEvent(QScrollBar* theWrappedObject, QPaintEvent* arg__1) +{ + ( ((PythonQtPublicPromoter_QScrollBar*)theWrappedObject)->promoted_paintEvent(arg__1)); +} + +QSize PythonQtWrapper_QScrollBar::sizeHint(QScrollBar* theWrappedObject) const +{ + return ( theWrappedObject->sizeHint()); +} + + + +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)); +} + + + +void PythonQtShell_QShortcut::childEvent(QChildEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "childEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QChildEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QShortcut::childEvent(arg__1); +} +void PythonQtShell_QShortcut::customEvent(QEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "customEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QShortcut::customEvent(arg__1); +} +bool PythonQtShell_QShortcut::event(QEvent* e) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "event"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue; + void* args[2] = {NULL, (void*)&e}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QShortcut::event(e); +} +bool PythonQtShell_QShortcut::eventFilter(QObject* arg__1, QEvent* arg__2) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "eventFilter"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue; + void* args[3] = {NULL, (void*)&arg__1, (void*)&arg__2}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QShortcut::eventFilter(arg__1, arg__2); +} +void PythonQtShell_QShortcut::timerEvent(QTimerEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "timerEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QTimerEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QShortcut::timerEvent(arg__1); +} +QShortcut* PythonQtWrapper_QShortcut::new_QShortcut(QWidget* parent) +{ +return new PythonQtShell_QShortcut(parent); } + +QShortcut* PythonQtWrapper_QShortcut::new_QShortcut(const QKeySequence& key, QWidget* parent, const char* member, const char* ambiguousMember, Qt::ShortcutContext context) +{ +return new PythonQtShell_QShortcut(key, parent, member, ambiguousMember, context); } + +bool PythonQtWrapper_QShortcut::autoRepeat(QShortcut* theWrappedObject) const +{ + return ( theWrappedObject->autoRepeat()); +} + +Qt::ShortcutContext PythonQtWrapper_QShortcut::context(QShortcut* theWrappedObject) +{ + return ( theWrappedObject->context()); +} + +bool PythonQtWrapper_QShortcut::event(QShortcut* theWrappedObject, QEvent* e) +{ + return ( ((PythonQtPublicPromoter_QShortcut*)theWrappedObject)->promoted_event(e)); +} + +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()); +} + + + +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(); } + + + +void PythonQtShell_QSizeGrip::actionEvent(QActionEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "actionEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QActionEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QSizeGrip::actionEvent(arg__1); +} +void PythonQtShell_QSizeGrip::changeEvent(QEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "changeEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QSizeGrip::changeEvent(arg__1); +} +void PythonQtShell_QSizeGrip::childEvent(QChildEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "childEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QChildEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QSizeGrip::childEvent(arg__1); +} +void PythonQtShell_QSizeGrip::closeEvent(QCloseEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "closeEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QCloseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QSizeGrip::closeEvent(arg__1); +} +void PythonQtShell_QSizeGrip::contextMenuEvent(QContextMenuEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "contextMenuEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QContextMenuEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QSizeGrip::contextMenuEvent(arg__1); +} +void PythonQtShell_QSizeGrip::customEvent(QEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "customEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QSizeGrip::customEvent(arg__1); +} +int PythonQtShell_QSizeGrip::devType() const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "devType"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + int returnValue; + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("devType", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QSizeGrip::devType(); +} +void PythonQtShell_QSizeGrip::dragEnterEvent(QDragEnterEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dragEnterEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QDragEnterEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QSizeGrip::dragEnterEvent(arg__1); +} +void PythonQtShell_QSizeGrip::dragLeaveEvent(QDragLeaveEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dragLeaveEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QDragLeaveEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QSizeGrip::dragLeaveEvent(arg__1); +} +void PythonQtShell_QSizeGrip::dragMoveEvent(QDragMoveEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dragMoveEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QDragMoveEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QSizeGrip::dragMoveEvent(arg__1); +} +void PythonQtShell_QSizeGrip::dropEvent(QDropEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dropEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QDropEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QSizeGrip::dropEvent(arg__1); +} +void PythonQtShell_QSizeGrip::enterEvent(QEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "enterEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QSizeGrip::enterEvent(arg__1); +} +bool PythonQtShell_QSizeGrip::event(QEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "event"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue; + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QSizeGrip::event(arg__1); +} +bool PythonQtShell_QSizeGrip::eventFilter(QObject* arg__1, QEvent* arg__2) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "eventFilter"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue; + void* args[3] = {NULL, (void*)&arg__1, (void*)&arg__2}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QSizeGrip::eventFilter(arg__1, arg__2); +} +void PythonQtShell_QSizeGrip::focusInEvent(QFocusEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "focusInEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QFocusEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QSizeGrip::focusInEvent(arg__1); +} +bool PythonQtShell_QSizeGrip::focusNextPrevChild(bool next) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "focusNextPrevChild"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue; + void* args[2] = {NULL, (void*)&next}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("focusNextPrevChild", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QSizeGrip::focusNextPrevChild(next); +} +void PythonQtShell_QSizeGrip::focusOutEvent(QFocusEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "focusOutEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QFocusEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QSizeGrip::focusOutEvent(arg__1); +} +int PythonQtShell_QSizeGrip::heightForWidth(int arg__1) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "heightForWidth"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"int" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + int returnValue; + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("heightForWidth", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QSizeGrip::heightForWidth(arg__1); +} +void PythonQtShell_QSizeGrip::hideEvent(QHideEvent* hideEvent) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "hideEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QHideEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&hideEvent}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QSizeGrip::hideEvent(hideEvent); +} +void PythonQtShell_QSizeGrip::inputMethodEvent(QInputMethodEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "inputMethodEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QInputMethodEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QSizeGrip::inputMethodEvent(arg__1); +} +QVariant PythonQtShell_QSizeGrip::inputMethodQuery(Qt::InputMethodQuery arg__1) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "inputMethodQuery"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QVariant" , "Qt::InputMethodQuery"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + QVariant returnValue; + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result); + } else { + returnValue = *((QVariant*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QSizeGrip::inputMethodQuery(arg__1); +} +void PythonQtShell_QSizeGrip::keyPressEvent(QKeyEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "keyPressEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QKeyEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QSizeGrip::keyPressEvent(arg__1); +} +void PythonQtShell_QSizeGrip::keyReleaseEvent(QKeyEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "keyReleaseEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QKeyEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QSizeGrip::keyReleaseEvent(arg__1); +} +void PythonQtShell_QSizeGrip::languageChange() +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "languageChange"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={""}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QSizeGrip::languageChange(); +} +void PythonQtShell_QSizeGrip::leaveEvent(QEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "leaveEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QSizeGrip::leaveEvent(arg__1); +} +int PythonQtShell_QSizeGrip::metric(QPaintDevice::PaintDeviceMetric arg__1) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "metric"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + int returnValue; + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("metric", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QSizeGrip::metric(arg__1); +} +QSize PythonQtShell_QSizeGrip::minimumSizeHint() const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "getMinimumSizeHint"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QSize"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QSize returnValue; + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("getMinimumSizeHint", methodInfo, result); + } else { + returnValue = *((QSize*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QSizeGrip::minimumSizeHint(); +} +void PythonQtShell_QSizeGrip::mouseDoubleClickEvent(QMouseEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mouseDoubleClickEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QSizeGrip::mouseDoubleClickEvent(arg__1); +} +void PythonQtShell_QSizeGrip::mouseMoveEvent(QMouseEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mouseMoveEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QSizeGrip::mouseMoveEvent(arg__1); +} +void PythonQtShell_QSizeGrip::mousePressEvent(QMouseEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mousePressEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QSizeGrip::mousePressEvent(arg__1); +} +void PythonQtShell_QSizeGrip::mouseReleaseEvent(QMouseEvent* mouseEvent) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mouseReleaseEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&mouseEvent}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QSizeGrip::mouseReleaseEvent(mouseEvent); +} +void PythonQtShell_QSizeGrip::moveEvent(QMoveEvent* moveEvent) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "moveEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QMoveEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&moveEvent}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QSizeGrip::moveEvent(moveEvent); +} +QPaintEngine* PythonQtShell_QSizeGrip::paintEngine() const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "paintEngine"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QPaintEngine*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QPaintEngine* returnValue; + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); + } else { + returnValue = *((QPaintEngine**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QSizeGrip::paintEngine(); +} +void PythonQtShell_QSizeGrip::paintEvent(QPaintEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "paintEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QPaintEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QSizeGrip::paintEvent(arg__1); +} +void PythonQtShell_QSizeGrip::resizeEvent(QResizeEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "resizeEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QResizeEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QSizeGrip::resizeEvent(arg__1); +} +void PythonQtShell_QSizeGrip::showEvent(QShowEvent* showEvent) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "showEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QShowEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&showEvent}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QSizeGrip::showEvent(showEvent); +} +void PythonQtShell_QSizeGrip::tabletEvent(QTabletEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "tabletEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QTabletEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QSizeGrip::tabletEvent(arg__1); +} +void PythonQtShell_QSizeGrip::timerEvent(QTimerEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "timerEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QTimerEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QSizeGrip::timerEvent(arg__1); +} +void PythonQtShell_QSizeGrip::wheelEvent(QWheelEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "wheelEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QWheelEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QSizeGrip::wheelEvent(arg__1); +} +QSizeGrip* PythonQtWrapper_QSizeGrip::new_QSizeGrip(QWidget* parent) +{ +return new PythonQtShell_QSizeGrip(parent); } + +bool PythonQtWrapper_QSizeGrip::event(QSizeGrip* theWrappedObject, QEvent* arg__1) +{ + return ( ((PythonQtPublicPromoter_QSizeGrip*)theWrappedObject)->promoted_event(arg__1)); +} + +bool PythonQtWrapper_QSizeGrip::eventFilter(QSizeGrip* theWrappedObject, QObject* arg__1, QEvent* arg__2) +{ + return ( ((PythonQtPublicPromoter_QSizeGrip*)theWrappedObject)->promoted_eventFilter(arg__1, arg__2)); +} + +void PythonQtWrapper_QSizeGrip::hideEvent(QSizeGrip* theWrappedObject, QHideEvent* hideEvent) +{ + ( ((PythonQtPublicPromoter_QSizeGrip*)theWrappedObject)->promoted_hideEvent(hideEvent)); +} + +void PythonQtWrapper_QSizeGrip::mouseMoveEvent(QSizeGrip* theWrappedObject, QMouseEvent* arg__1) +{ + ( ((PythonQtPublicPromoter_QSizeGrip*)theWrappedObject)->promoted_mouseMoveEvent(arg__1)); +} + +void PythonQtWrapper_QSizeGrip::mousePressEvent(QSizeGrip* theWrappedObject, QMouseEvent* arg__1) +{ + ( ((PythonQtPublicPromoter_QSizeGrip*)theWrappedObject)->promoted_mousePressEvent(arg__1)); +} + +void PythonQtWrapper_QSizeGrip::mouseReleaseEvent(QSizeGrip* theWrappedObject, QMouseEvent* mouseEvent) +{ + ( ((PythonQtPublicPromoter_QSizeGrip*)theWrappedObject)->promoted_mouseReleaseEvent(mouseEvent)); +} + +void PythonQtWrapper_QSizeGrip::moveEvent(QSizeGrip* theWrappedObject, QMoveEvent* moveEvent) +{ + ( ((PythonQtPublicPromoter_QSizeGrip*)theWrappedObject)->promoted_moveEvent(moveEvent)); +} + +void PythonQtWrapper_QSizeGrip::paintEvent(QSizeGrip* theWrappedObject, QPaintEvent* arg__1) +{ + ( ((PythonQtPublicPromoter_QSizeGrip*)theWrappedObject)->promoted_paintEvent(arg__1)); +} + +void PythonQtWrapper_QSizeGrip::setVisible(QSizeGrip* theWrappedObject, bool arg__1) +{ + ( theWrappedObject->setVisible(arg__1)); +} + +void PythonQtWrapper_QSizeGrip::showEvent(QSizeGrip* theWrappedObject, QShowEvent* showEvent) +{ + ( ((PythonQtPublicPromoter_QSizeGrip*)theWrappedObject)->promoted_showEvent(showEvent)); +} + +QSize PythonQtWrapper_QSizeGrip::sizeHint(QSizeGrip* theWrappedObject) const +{ + return ( theWrappedObject->sizeHint()); +} + + + +void PythonQtShell_QSlider::actionEvent(QActionEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "actionEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QActionEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QSlider::actionEvent(arg__1); +} +void PythonQtShell_QSlider::changeEvent(QEvent* e) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "changeEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&e}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QSlider::changeEvent(e); +} +void PythonQtShell_QSlider::childEvent(QChildEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "childEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QChildEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QSlider::childEvent(arg__1); +} +void PythonQtShell_QSlider::closeEvent(QCloseEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "closeEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QCloseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QSlider::closeEvent(arg__1); +} +void PythonQtShell_QSlider::contextMenuEvent(QContextMenuEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "contextMenuEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QContextMenuEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QSlider::contextMenuEvent(arg__1); +} +void PythonQtShell_QSlider::customEvent(QEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "customEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QSlider::customEvent(arg__1); +} +int PythonQtShell_QSlider::devType() const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "devType"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + int returnValue; + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("devType", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QSlider::devType(); +} +void PythonQtShell_QSlider::dragEnterEvent(QDragEnterEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dragEnterEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QDragEnterEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QSlider::dragEnterEvent(arg__1); +} +void PythonQtShell_QSlider::dragLeaveEvent(QDragLeaveEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dragLeaveEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QDragLeaveEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QSlider::dragLeaveEvent(arg__1); +} +void PythonQtShell_QSlider::dragMoveEvent(QDragMoveEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dragMoveEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QDragMoveEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QSlider::dragMoveEvent(arg__1); +} +void PythonQtShell_QSlider::dropEvent(QDropEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dropEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QDropEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QSlider::dropEvent(arg__1); +} +void PythonQtShell_QSlider::enterEvent(QEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "enterEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QSlider::enterEvent(arg__1); +} +bool PythonQtShell_QSlider::event(QEvent* event) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "event"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue; + void* args[2] = {NULL, (void*)&event}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QSlider::event(event); +} +bool PythonQtShell_QSlider::eventFilter(QObject* arg__1, QEvent* arg__2) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "eventFilter"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue; + void* args[3] = {NULL, (void*)&arg__1, (void*)&arg__2}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QSlider::eventFilter(arg__1, arg__2); +} +void PythonQtShell_QSlider::focusInEvent(QFocusEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "focusInEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QFocusEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QSlider::focusInEvent(arg__1); +} +bool PythonQtShell_QSlider::focusNextPrevChild(bool next) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "focusNextPrevChild"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue; + void* args[2] = {NULL, (void*)&next}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("focusNextPrevChild", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QSlider::focusNextPrevChild(next); +} +void PythonQtShell_QSlider::focusOutEvent(QFocusEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "focusOutEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QFocusEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QSlider::focusOutEvent(arg__1); +} +int PythonQtShell_QSlider::heightForWidth(int arg__1) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "heightForWidth"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"int" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + int returnValue; + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("heightForWidth", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QSlider::heightForWidth(arg__1); +} +void PythonQtShell_QSlider::hideEvent(QHideEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "hideEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QHideEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QSlider::hideEvent(arg__1); +} +void PythonQtShell_QSlider::inputMethodEvent(QInputMethodEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "inputMethodEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QInputMethodEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QSlider::inputMethodEvent(arg__1); +} +QVariant PythonQtShell_QSlider::inputMethodQuery(Qt::InputMethodQuery arg__1) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "inputMethodQuery"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QVariant" , "Qt::InputMethodQuery"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + QVariant returnValue; + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result); + } else { + returnValue = *((QVariant*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QSlider::inputMethodQuery(arg__1); +} +void PythonQtShell_QSlider::keyPressEvent(QKeyEvent* ev) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "keyPressEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QKeyEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&ev}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QSlider::keyPressEvent(ev); +} +void PythonQtShell_QSlider::keyReleaseEvent(QKeyEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "keyReleaseEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QKeyEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QSlider::keyReleaseEvent(arg__1); +} +void PythonQtShell_QSlider::languageChange() +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "languageChange"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={""}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QSlider::languageChange(); +} +void PythonQtShell_QSlider::leaveEvent(QEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "leaveEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QSlider::leaveEvent(arg__1); +} +int PythonQtShell_QSlider::metric(QPaintDevice::PaintDeviceMetric arg__1) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "metric"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + int returnValue; + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("metric", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QSlider::metric(arg__1); +} +void PythonQtShell_QSlider::mouseDoubleClickEvent(QMouseEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mouseDoubleClickEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QSlider::mouseDoubleClickEvent(arg__1); +} +void PythonQtShell_QSlider::mouseMoveEvent(QMouseEvent* ev) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mouseMoveEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&ev}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QSlider::mouseMoveEvent(ev); +} +void PythonQtShell_QSlider::mousePressEvent(QMouseEvent* ev) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mousePressEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&ev}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QSlider::mousePressEvent(ev); +} +void PythonQtShell_QSlider::mouseReleaseEvent(QMouseEvent* ev) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mouseReleaseEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&ev}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QSlider::mouseReleaseEvent(ev); +} +void PythonQtShell_QSlider::moveEvent(QMoveEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "moveEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QMoveEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QSlider::moveEvent(arg__1); +} +QPaintEngine* PythonQtShell_QSlider::paintEngine() const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "paintEngine"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QPaintEngine*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QPaintEngine* returnValue; + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); + } else { + returnValue = *((QPaintEngine**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QSlider::paintEngine(); +} +void PythonQtShell_QSlider::paintEvent(QPaintEvent* ev) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "paintEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QPaintEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&ev}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QSlider::paintEvent(ev); +} +void PythonQtShell_QSlider::resizeEvent(QResizeEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "resizeEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QResizeEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QSlider::resizeEvent(arg__1); +} +void PythonQtShell_QSlider::showEvent(QShowEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "showEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QShowEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QSlider::showEvent(arg__1); +} +void PythonQtShell_QSlider::tabletEvent(QTabletEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "tabletEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QTabletEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QSlider::tabletEvent(arg__1); +} +void PythonQtShell_QSlider::timerEvent(QTimerEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "timerEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QTimerEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QSlider::timerEvent(arg__1); +} +void PythonQtShell_QSlider::wheelEvent(QWheelEvent* e) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "wheelEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QWheelEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&e}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QSlider::wheelEvent(e); +} +QSlider* PythonQtWrapper_QSlider::new_QSlider(QWidget* parent) +{ +return new PythonQtShell_QSlider(parent); } + +QSlider* PythonQtWrapper_QSlider::new_QSlider(Qt::Orientation orientation, QWidget* parent) +{ +return new PythonQtShell_QSlider(orientation, parent); } + +bool PythonQtWrapper_QSlider::event(QSlider* theWrappedObject, QEvent* event) +{ + return ( ((PythonQtPublicPromoter_QSlider*)theWrappedObject)->promoted_event(event)); +} + +QSize PythonQtWrapper_QSlider::minimumSizeHint(QSlider* theWrappedObject) const +{ + return ( theWrappedObject->minimumSizeHint()); +} + +void PythonQtWrapper_QSlider::mouseMoveEvent(QSlider* theWrappedObject, QMouseEvent* ev) +{ + ( ((PythonQtPublicPromoter_QSlider*)theWrappedObject)->promoted_mouseMoveEvent(ev)); +} + +void PythonQtWrapper_QSlider::mousePressEvent(QSlider* theWrappedObject, QMouseEvent* ev) +{ + ( ((PythonQtPublicPromoter_QSlider*)theWrappedObject)->promoted_mousePressEvent(ev)); +} + +void PythonQtWrapper_QSlider::mouseReleaseEvent(QSlider* theWrappedObject, QMouseEvent* ev) +{ + ( ((PythonQtPublicPromoter_QSlider*)theWrappedObject)->promoted_mouseReleaseEvent(ev)); +} + +void PythonQtWrapper_QSlider::paintEvent(QSlider* theWrappedObject, QPaintEvent* ev) +{ + ( ((PythonQtPublicPromoter_QSlider*)theWrappedObject)->promoted_paintEvent(ev)); +} + +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()); +} + + + +void PythonQtShell_QSound::childEvent(QChildEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "childEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QChildEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QSound::childEvent(arg__1); +} +void PythonQtShell_QSound::customEvent(QEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "customEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QSound::customEvent(arg__1); +} +bool PythonQtShell_QSound::event(QEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "event"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue; + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QSound::event(arg__1); +} +bool PythonQtShell_QSound::eventFilter(QObject* arg__1, QEvent* arg__2) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "eventFilter"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue; + void* args[3] = {NULL, (void*)&arg__1, (void*)&arg__2}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QSound::eventFilter(arg__1, arg__2); +} +void PythonQtShell_QSound::timerEvent(QTimerEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "timerEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QTimerEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QSound::timerEvent(arg__1); +} +QSound* PythonQtWrapper_QSound::new_QSound(const QString& filename, QObject* parent) +{ +return new PythonQtShell_QSound(filename, parent); } + +QString PythonQtWrapper_QSound::fileName(QSound* theWrappedObject) const +{ + return ( theWrappedObject->fileName()); +} + +bool PythonQtWrapper_QSound::static_QSound_isAvailable() +{ + return (QSound::isAvailable()); +} + +bool PythonQtWrapper_QSound::isFinished(QSound* theWrappedObject) const +{ + return ( theWrappedObject->isFinished()); +} + +int PythonQtWrapper_QSound::loops(QSound* theWrappedObject) const +{ + return ( theWrappedObject->loops()); +} + +int PythonQtWrapper_QSound::loopsRemaining(QSound* theWrappedObject) const +{ + return ( theWrappedObject->loopsRemaining()); +} + +void PythonQtWrapper_QSound::static_QSound_play(const QString& filename) +{ + (QSound::play(filename)); +} + +void PythonQtWrapper_QSound::setLoops(QSound* theWrappedObject, int arg__1) +{ + ( theWrappedObject->setLoops(arg__1)); +} + + + +Qt::Orientations PythonQtShell_QSpacerItem::expandingDirections() const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "expandingDirections"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"Qt::Orientations"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + Qt::Orientations returnValue; + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("expandingDirections", methodInfo, result); + } else { + returnValue = *((Qt::Orientations*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QSpacerItem::expandingDirections(); +} +QRect PythonQtShell_QSpacerItem::geometry() const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "geometry"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QRect"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QRect returnValue; + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("geometry", methodInfo, result); + } else { + returnValue = *((QRect*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QSpacerItem::geometry(); +} +bool PythonQtShell_QSpacerItem::hasHeightForWidth() const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "hasHeightForWidth"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + bool returnValue; + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("hasHeightForWidth", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QSpacerItem::hasHeightForWidth(); +} +int PythonQtShell_QSpacerItem::heightForWidth(int arg__1) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "heightForWidth"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"int" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + int returnValue; + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("heightForWidth", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QSpacerItem::heightForWidth(arg__1); +} +void PythonQtShell_QSpacerItem::invalidate() +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "invalidate"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={""}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QSpacerItem::invalidate(); +} +bool PythonQtShell_QSpacerItem::isEmpty() const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "isEmpty"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + bool returnValue; + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("isEmpty", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QSpacerItem::isEmpty(); +} +QLayout* PythonQtShell_QSpacerItem::layout() +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "layout"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QLayout*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QLayout* returnValue; + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("layout", methodInfo, result); + } else { + returnValue = *((QLayout**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QSpacerItem::layout(); +} +QSize PythonQtShell_QSpacerItem::maximumSize() const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "maximumSize"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QSize"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QSize returnValue; + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("maximumSize", methodInfo, result); + } else { + returnValue = *((QSize*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QSpacerItem::maximumSize(); +} +int PythonQtShell_QSpacerItem::minimumHeightForWidth(int arg__1) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "minimumHeightForWidth"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"int" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + int returnValue; + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("minimumHeightForWidth", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QSpacerItem::minimumHeightForWidth(arg__1); +} +QSize PythonQtShell_QSpacerItem::minimumSize() const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "minimumSize"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QSize"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QSize returnValue; + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("minimumSize", methodInfo, result); + } else { + returnValue = *((QSize*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QSpacerItem::minimumSize(); +} +void PythonQtShell_QSpacerItem::setGeometry(const QRect& arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "setGeometry"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "const QRect&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QSpacerItem::setGeometry(arg__1); +} +QSize PythonQtShell_QSpacerItem::sizeHint() const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "sizeHint"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QSize"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QSize returnValue; + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("sizeHint", methodInfo, result); + } else { + returnValue = *((QSize*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QSpacerItem::sizeHint(); +} +QSpacerItem* PythonQtShell_QSpacerItem::spacerItem() +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "spacerItem"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QSpacerItem*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QSpacerItem* returnValue; + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("spacerItem", methodInfo, result); + } else { + returnValue = *((QSpacerItem**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QSpacerItem::spacerItem(); +} +QWidget* PythonQtShell_QSpacerItem::widget() +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "widget"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QWidget*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QWidget* returnValue; + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("widget", methodInfo, result); + } else { + returnValue = *((QWidget**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QSpacerItem::widget(); +} +QSpacerItem* PythonQtWrapper_QSpacerItem::new_QSpacerItem(int w, int h, QSizePolicy::Policy hData, QSizePolicy::Policy vData) +{ +return new PythonQtShell_QSpacerItem(w, h, hData, vData); } + +void PythonQtWrapper_QSpacerItem::changeSize(QSpacerItem* theWrappedObject, int w, int h, QSizePolicy::Policy hData, QSizePolicy::Policy vData) +{ + ( theWrappedObject->changeSize(w, h, hData, vData)); +} + +Qt::Orientations PythonQtWrapper_QSpacerItem::expandingDirections(QSpacerItem* theWrappedObject) const +{ + return ( ((PythonQtPublicPromoter_QSpacerItem*)theWrappedObject)->promoted_expandingDirections()); +} + +QRect PythonQtWrapper_QSpacerItem::geometry(QSpacerItem* theWrappedObject) const +{ + return ( ((PythonQtPublicPromoter_QSpacerItem*)theWrappedObject)->promoted_geometry()); +} + +bool PythonQtWrapper_QSpacerItem::isEmpty(QSpacerItem* theWrappedObject) const +{ + return ( ((PythonQtPublicPromoter_QSpacerItem*)theWrappedObject)->promoted_isEmpty()); +} + +QSize PythonQtWrapper_QSpacerItem::maximumSize(QSpacerItem* theWrappedObject) const +{ + return ( ((PythonQtPublicPromoter_QSpacerItem*)theWrappedObject)->promoted_maximumSize()); +} + +QSize PythonQtWrapper_QSpacerItem::minimumSize(QSpacerItem* theWrappedObject) const +{ + return ( ((PythonQtPublicPromoter_QSpacerItem*)theWrappedObject)->promoted_minimumSize()); +} + +void PythonQtWrapper_QSpacerItem::setGeometry(QSpacerItem* theWrappedObject, const QRect& arg__1) +{ + ( ((PythonQtPublicPromoter_QSpacerItem*)theWrappedObject)->promoted_setGeometry(arg__1)); +} + +QSize PythonQtWrapper_QSpacerItem::sizeHint(QSpacerItem* theWrappedObject) const +{ + return ( ((PythonQtPublicPromoter_QSpacerItem*)theWrappedObject)->promoted_sizeHint()); +} + +QSpacerItem* PythonQtWrapper_QSpacerItem::spacerItem(QSpacerItem* theWrappedObject) +{ + return ( ((PythonQtPublicPromoter_QSpacerItem*)theWrappedObject)->promoted_spacerItem()); +} + + + +void PythonQtShell_QSpinBox::actionEvent(QActionEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "actionEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QActionEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QSpinBox::actionEvent(arg__1); +} +void PythonQtShell_QSpinBox::changeEvent(QEvent* event) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "changeEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&event}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QSpinBox::changeEvent(event); +} +void PythonQtShell_QSpinBox::childEvent(QChildEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "childEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QChildEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QSpinBox::childEvent(arg__1); +} +void PythonQtShell_QSpinBox::clear() +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "clear"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={""}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QSpinBox::clear(); +} +void PythonQtShell_QSpinBox::closeEvent(QCloseEvent* event) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "closeEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QCloseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&event}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QSpinBox::closeEvent(event); +} +void PythonQtShell_QSpinBox::contextMenuEvent(QContextMenuEvent* event) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "contextMenuEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QContextMenuEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&event}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QSpinBox::contextMenuEvent(event); +} +void PythonQtShell_QSpinBox::customEvent(QEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "customEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QSpinBox::customEvent(arg__1); +} +int PythonQtShell_QSpinBox::devType() const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "devType"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + int returnValue; + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("devType", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QSpinBox::devType(); +} +void PythonQtShell_QSpinBox::dragEnterEvent(QDragEnterEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dragEnterEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QDragEnterEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QSpinBox::dragEnterEvent(arg__1); +} +void PythonQtShell_QSpinBox::dragLeaveEvent(QDragLeaveEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dragLeaveEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QDragLeaveEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QSpinBox::dragLeaveEvent(arg__1); +} +void PythonQtShell_QSpinBox::dragMoveEvent(QDragMoveEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dragMoveEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QDragMoveEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QSpinBox::dragMoveEvent(arg__1); +} +void PythonQtShell_QSpinBox::dropEvent(QDropEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dropEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QDropEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QSpinBox::dropEvent(arg__1); +} +void PythonQtShell_QSpinBox::enterEvent(QEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "enterEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QSpinBox::enterEvent(arg__1); +} +bool PythonQtShell_QSpinBox::event(QEvent* event) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "event"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue; + void* args[2] = {NULL, (void*)&event}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QSpinBox::event(event); +} +bool PythonQtShell_QSpinBox::eventFilter(QObject* arg__1, QEvent* arg__2) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "eventFilter"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue; + void* args[3] = {NULL, (void*)&arg__1, (void*)&arg__2}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QSpinBox::eventFilter(arg__1, arg__2); +} +void PythonQtShell_QSpinBox::fixup(QString& str) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "fixup"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QString&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&str}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QSpinBox::fixup(str); +} +void PythonQtShell_QSpinBox::focusInEvent(QFocusEvent* event) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "focusInEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QFocusEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&event}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QSpinBox::focusInEvent(event); +} +bool PythonQtShell_QSpinBox::focusNextPrevChild(bool next) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "focusNextPrevChild"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue; + void* args[2] = {NULL, (void*)&next}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("focusNextPrevChild", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QSpinBox::focusNextPrevChild(next); +} +void PythonQtShell_QSpinBox::focusOutEvent(QFocusEvent* event) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "focusOutEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QFocusEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&event}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QSpinBox::focusOutEvent(event); +} +int PythonQtShell_QSpinBox::heightForWidth(int arg__1) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "heightForWidth"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"int" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + int returnValue; + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("heightForWidth", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QSpinBox::heightForWidth(arg__1); +} +void PythonQtShell_QSpinBox::hideEvent(QHideEvent* event) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "hideEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QHideEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&event}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QSpinBox::hideEvent(event); +} +void PythonQtShell_QSpinBox::inputMethodEvent(QInputMethodEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "inputMethodEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QInputMethodEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QSpinBox::inputMethodEvent(arg__1); +} +QVariant PythonQtShell_QSpinBox::inputMethodQuery(Qt::InputMethodQuery arg__1) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "inputMethodQuery"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QVariant" , "Qt::InputMethodQuery"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + QVariant returnValue; + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result); + } else { + returnValue = *((QVariant*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QSpinBox::inputMethodQuery(arg__1); +} +void PythonQtShell_QSpinBox::keyPressEvent(QKeyEvent* event) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "keyPressEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QKeyEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&event}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QSpinBox::keyPressEvent(event); +} +void PythonQtShell_QSpinBox::keyReleaseEvent(QKeyEvent* event) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "keyReleaseEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QKeyEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&event}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QSpinBox::keyReleaseEvent(event); +} +void PythonQtShell_QSpinBox::languageChange() +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "languageChange"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={""}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QSpinBox::languageChange(); +} +void PythonQtShell_QSpinBox::leaveEvent(QEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "leaveEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QSpinBox::leaveEvent(arg__1); +} +int PythonQtShell_QSpinBox::metric(QPaintDevice::PaintDeviceMetric arg__1) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "metric"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + int returnValue; + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("metric", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QSpinBox::metric(arg__1); +} +void PythonQtShell_QSpinBox::mouseDoubleClickEvent(QMouseEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mouseDoubleClickEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QSpinBox::mouseDoubleClickEvent(arg__1); +} +void PythonQtShell_QSpinBox::mouseMoveEvent(QMouseEvent* event) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mouseMoveEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&event}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QSpinBox::mouseMoveEvent(event); +} +void PythonQtShell_QSpinBox::mousePressEvent(QMouseEvent* event) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mousePressEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&event}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QSpinBox::mousePressEvent(event); +} +void PythonQtShell_QSpinBox::mouseReleaseEvent(QMouseEvent* event) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mouseReleaseEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&event}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QSpinBox::mouseReleaseEvent(event); +} +void PythonQtShell_QSpinBox::moveEvent(QMoveEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "moveEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QMoveEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QSpinBox::moveEvent(arg__1); +} +QPaintEngine* PythonQtShell_QSpinBox::paintEngine() const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "paintEngine"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QPaintEngine*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QPaintEngine* returnValue; + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); + } else { + returnValue = *((QPaintEngine**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QSpinBox::paintEngine(); +} +void PythonQtShell_QSpinBox::paintEvent(QPaintEvent* event) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "paintEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QPaintEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&event}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QSpinBox::paintEvent(event); +} +void PythonQtShell_QSpinBox::resizeEvent(QResizeEvent* event) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "resizeEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QResizeEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&event}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QSpinBox::resizeEvent(event); +} +void PythonQtShell_QSpinBox::showEvent(QShowEvent* event) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "showEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QShowEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&event}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QSpinBox::showEvent(event); +} +void PythonQtShell_QSpinBox::stepBy(int steps) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "stepBy"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&steps}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QSpinBox::stepBy(steps); +} +QAbstractSpinBox::StepEnabled PythonQtShell_QSpinBox::stepEnabled() const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "stepEnabled"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QAbstractSpinBox::StepEnabled"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QAbstractSpinBox::StepEnabled returnValue; + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("stepEnabled", methodInfo, result); + } else { + returnValue = *((QAbstractSpinBox::StepEnabled*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QSpinBox::stepEnabled(); +} +void PythonQtShell_QSpinBox::tabletEvent(QTabletEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "tabletEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QTabletEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QSpinBox::tabletEvent(arg__1); +} +QString PythonQtShell_QSpinBox::textFromValue(int val) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "textFromValue"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QString" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + QString returnValue; + void* args[2] = {NULL, (void*)&val}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("textFromValue", methodInfo, result); + } else { + returnValue = *((QString*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QSpinBox::textFromValue(val); +} +void PythonQtShell_QSpinBox::timerEvent(QTimerEvent* event) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "timerEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QTimerEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&event}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QSpinBox::timerEvent(event); +} +QValidator::State PythonQtShell_QSpinBox::validate(QString& input, int& pos) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "validate"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QValidator::State" , "QString&" , "int&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + QValidator::State returnValue; + void* args[3] = {NULL, (void*)&input, (void*)&pos}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("validate", methodInfo, result); + } else { + returnValue = *((QValidator::State*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QSpinBox::validate(input, pos); +} +int PythonQtShell_QSpinBox::valueFromText(const QString& text) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "valueFromText"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"int" , "const QString&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + int returnValue; + void* args[2] = {NULL, (void*)&text}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("valueFromText", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QSpinBox::valueFromText(text); +} +void PythonQtShell_QSpinBox::wheelEvent(QWheelEvent* event) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "wheelEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QWheelEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&event}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QSpinBox::wheelEvent(event); +} +QSpinBox* PythonQtWrapper_QSpinBox::new_QSpinBox(QWidget* parent) +{ +return new PythonQtShell_QSpinBox(parent); } + +QString PythonQtWrapper_QSpinBox::cleanText(QSpinBox* theWrappedObject) const +{ + return ( theWrappedObject->cleanText()); +} + +bool PythonQtWrapper_QSpinBox::event(QSpinBox* theWrappedObject, QEvent* event) +{ + return ( ((PythonQtPublicPromoter_QSpinBox*)theWrappedObject)->promoted_event(event)); +} + +void PythonQtWrapper_QSpinBox::fixup(QSpinBox* theWrappedObject, QString& str) const +{ + ( ((PythonQtPublicPromoter_QSpinBox*)theWrappedObject)->promoted_fixup(str)); +} + +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::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)); +} + +QValidator::State PythonQtWrapper_QSpinBox::validate(QSpinBox* theWrappedObject, QString& input, int& pos) const +{ + return ( ((PythonQtPublicPromoter_QSpinBox*)theWrappedObject)->promoted_validate(input, pos)); +} + +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)); +} + + + +void PythonQtShell_QSplashScreen::actionEvent(QActionEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "actionEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QActionEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QSplashScreen::actionEvent(arg__1); +} +void PythonQtShell_QSplashScreen::changeEvent(QEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "changeEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QSplashScreen::changeEvent(arg__1); +} +void PythonQtShell_QSplashScreen::childEvent(QChildEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "childEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QChildEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QSplashScreen::childEvent(arg__1); +} +void PythonQtShell_QSplashScreen::closeEvent(QCloseEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "closeEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QCloseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QSplashScreen::closeEvent(arg__1); +} +void PythonQtShell_QSplashScreen::contextMenuEvent(QContextMenuEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "contextMenuEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QContextMenuEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QSplashScreen::contextMenuEvent(arg__1); +} +void PythonQtShell_QSplashScreen::customEvent(QEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "customEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QSplashScreen::customEvent(arg__1); +} +int PythonQtShell_QSplashScreen::devType() const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "devType"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + int returnValue; + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("devType", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QSplashScreen::devType(); +} +void PythonQtShell_QSplashScreen::dragEnterEvent(QDragEnterEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dragEnterEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QDragEnterEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QSplashScreen::dragEnterEvent(arg__1); +} +void PythonQtShell_QSplashScreen::dragLeaveEvent(QDragLeaveEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dragLeaveEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QDragLeaveEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QSplashScreen::dragLeaveEvent(arg__1); +} +void PythonQtShell_QSplashScreen::dragMoveEvent(QDragMoveEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dragMoveEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QDragMoveEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QSplashScreen::dragMoveEvent(arg__1); +} +void PythonQtShell_QSplashScreen::drawContents(QPainter* painter) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "drawContents"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QPainter*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&painter}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QSplashScreen::drawContents(painter); +} +void PythonQtShell_QSplashScreen::dropEvent(QDropEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dropEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QDropEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QSplashScreen::dropEvent(arg__1); +} +void PythonQtShell_QSplashScreen::enterEvent(QEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "enterEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QSplashScreen::enterEvent(arg__1); +} +bool PythonQtShell_QSplashScreen::event(QEvent* e) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "event"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue; + void* args[2] = {NULL, (void*)&e}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QSplashScreen::event(e); +} +bool PythonQtShell_QSplashScreen::eventFilter(QObject* arg__1, QEvent* arg__2) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "eventFilter"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue; + void* args[3] = {NULL, (void*)&arg__1, (void*)&arg__2}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QSplashScreen::eventFilter(arg__1, arg__2); +} +void PythonQtShell_QSplashScreen::focusInEvent(QFocusEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "focusInEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QFocusEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QSplashScreen::focusInEvent(arg__1); +} +bool PythonQtShell_QSplashScreen::focusNextPrevChild(bool next) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "focusNextPrevChild"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue; + void* args[2] = {NULL, (void*)&next}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("focusNextPrevChild", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QSplashScreen::focusNextPrevChild(next); +} +void PythonQtShell_QSplashScreen::focusOutEvent(QFocusEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "focusOutEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QFocusEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QSplashScreen::focusOutEvent(arg__1); +} +int PythonQtShell_QSplashScreen::heightForWidth(int arg__1) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "heightForWidth"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"int" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + int returnValue; + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("heightForWidth", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QSplashScreen::heightForWidth(arg__1); +} +void PythonQtShell_QSplashScreen::hideEvent(QHideEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "hideEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QHideEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QSplashScreen::hideEvent(arg__1); +} +void PythonQtShell_QSplashScreen::inputMethodEvent(QInputMethodEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "inputMethodEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QInputMethodEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QSplashScreen::inputMethodEvent(arg__1); +} +QVariant PythonQtShell_QSplashScreen::inputMethodQuery(Qt::InputMethodQuery arg__1) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "inputMethodQuery"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QVariant" , "Qt::InputMethodQuery"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + QVariant returnValue; + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result); + } else { + returnValue = *((QVariant*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QSplashScreen::inputMethodQuery(arg__1); +} +void PythonQtShell_QSplashScreen::keyPressEvent(QKeyEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "keyPressEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QKeyEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QSplashScreen::keyPressEvent(arg__1); +} +void PythonQtShell_QSplashScreen::keyReleaseEvent(QKeyEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "keyReleaseEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QKeyEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QSplashScreen::keyReleaseEvent(arg__1); +} +void PythonQtShell_QSplashScreen::languageChange() +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "languageChange"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={""}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QSplashScreen::languageChange(); +} +void PythonQtShell_QSplashScreen::leaveEvent(QEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "leaveEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QSplashScreen::leaveEvent(arg__1); +} +int PythonQtShell_QSplashScreen::metric(QPaintDevice::PaintDeviceMetric arg__1) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "metric"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + int returnValue; + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("metric", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QSplashScreen::metric(arg__1); +} +QSize PythonQtShell_QSplashScreen::minimumSizeHint() const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "getMinimumSizeHint"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QSize"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QSize returnValue; + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("getMinimumSizeHint", methodInfo, result); + } else { + returnValue = *((QSize*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QSplashScreen::minimumSizeHint(); +} +void PythonQtShell_QSplashScreen::mouseDoubleClickEvent(QMouseEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mouseDoubleClickEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QSplashScreen::mouseDoubleClickEvent(arg__1); +} +void PythonQtShell_QSplashScreen::mouseMoveEvent(QMouseEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mouseMoveEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QSplashScreen::mouseMoveEvent(arg__1); +} +void PythonQtShell_QSplashScreen::mousePressEvent(QMouseEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mousePressEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QSplashScreen::mousePressEvent(arg__1); +} +void PythonQtShell_QSplashScreen::mouseReleaseEvent(QMouseEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mouseReleaseEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QSplashScreen::mouseReleaseEvent(arg__1); +} +void PythonQtShell_QSplashScreen::moveEvent(QMoveEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "moveEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QMoveEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QSplashScreen::moveEvent(arg__1); +} +QPaintEngine* PythonQtShell_QSplashScreen::paintEngine() const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "paintEngine"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QPaintEngine*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QPaintEngine* returnValue; + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); + } else { + returnValue = *((QPaintEngine**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QSplashScreen::paintEngine(); +} +void PythonQtShell_QSplashScreen::paintEvent(QPaintEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "paintEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QPaintEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QSplashScreen::paintEvent(arg__1); +} +void PythonQtShell_QSplashScreen::resizeEvent(QResizeEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "resizeEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QResizeEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QSplashScreen::resizeEvent(arg__1); +} +void PythonQtShell_QSplashScreen::showEvent(QShowEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "showEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QShowEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QSplashScreen::showEvent(arg__1); +} +QSize PythonQtShell_QSplashScreen::sizeHint() const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "getSizeHint"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QSize"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QSize returnValue; + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("getSizeHint", methodInfo, result); + } else { + returnValue = *((QSize*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QSplashScreen::sizeHint(); +} +void PythonQtShell_QSplashScreen::tabletEvent(QTabletEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "tabletEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QTabletEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QSplashScreen::tabletEvent(arg__1); +} +void PythonQtShell_QSplashScreen::timerEvent(QTimerEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "timerEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QTimerEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QSplashScreen::timerEvent(arg__1); +} +void PythonQtShell_QSplashScreen::wheelEvent(QWheelEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "wheelEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QWheelEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QSplashScreen::wheelEvent(arg__1); +} +QSplashScreen* PythonQtWrapper_QSplashScreen::new_QSplashScreen(QWidget* parent, const QPixmap& pixmap, Qt::WindowFlags f) +{ +return new PythonQtShell_QSplashScreen(parent, pixmap, f); } + +QSplashScreen* PythonQtWrapper_QSplashScreen::new_QSplashScreen(const QPixmap& pixmap, Qt::WindowFlags f) +{ +return new PythonQtShell_QSplashScreen(pixmap, f); } + +void PythonQtWrapper_QSplashScreen::drawContents(QSplashScreen* theWrappedObject, QPainter* painter) +{ + ( ((PythonQtPublicPromoter_QSplashScreen*)theWrappedObject)->promoted_drawContents(painter)); +} + +bool PythonQtWrapper_QSplashScreen::event(QSplashScreen* theWrappedObject, QEvent* e) +{ + return ( ((PythonQtPublicPromoter_QSplashScreen*)theWrappedObject)->promoted_event(e)); +} + +void PythonQtWrapper_QSplashScreen::finish(QSplashScreen* theWrappedObject, QWidget* w) +{ + ( theWrappedObject->finish(w)); +} + +void PythonQtWrapper_QSplashScreen::mousePressEvent(QSplashScreen* theWrappedObject, QMouseEvent* arg__1) +{ + ( ((PythonQtPublicPromoter_QSplashScreen*)theWrappedObject)->promoted_mousePressEvent(arg__1)); +} + +const QPixmap PythonQtWrapper_QSplashScreen::pixmap(QSplashScreen* theWrappedObject) const +{ + return ( theWrappedObject->pixmap()); +} + +void PythonQtWrapper_QSplashScreen::setPixmap(QSplashScreen* theWrappedObject, const QPixmap& pixmap) +{ + ( theWrappedObject->setPixmap(pixmap)); +} + + + +void PythonQtShell_QSplitter::actionEvent(QActionEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "actionEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QActionEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QSplitter::actionEvent(arg__1); +} +void PythonQtShell_QSplitter::changeEvent(QEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "changeEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QSplitter::changeEvent(arg__1); +} +void PythonQtShell_QSplitter::childEvent(QChildEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "childEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QChildEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QSplitter::childEvent(arg__1); +} +void PythonQtShell_QSplitter::closeEvent(QCloseEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "closeEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QCloseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QSplitter::closeEvent(arg__1); +} +void PythonQtShell_QSplitter::contextMenuEvent(QContextMenuEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "contextMenuEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QContextMenuEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QSplitter::contextMenuEvent(arg__1); +} +QSplitterHandle* PythonQtShell_QSplitter::createHandle() +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "createHandle"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QSplitterHandle*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QSplitterHandle* returnValue; + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("createHandle", methodInfo, result); + } else { + returnValue = *((QSplitterHandle**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QSplitter::createHandle(); +} +void PythonQtShell_QSplitter::customEvent(QEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "customEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QSplitter::customEvent(arg__1); +} +int PythonQtShell_QSplitter::devType() const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "devType"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + int returnValue; + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("devType", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QSplitter::devType(); +} +void PythonQtShell_QSplitter::dragEnterEvent(QDragEnterEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dragEnterEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QDragEnterEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QSplitter::dragEnterEvent(arg__1); +} +void PythonQtShell_QSplitter::dragLeaveEvent(QDragLeaveEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dragLeaveEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QDragLeaveEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QSplitter::dragLeaveEvent(arg__1); +} +void PythonQtShell_QSplitter::dragMoveEvent(QDragMoveEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dragMoveEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QDragMoveEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QSplitter::dragMoveEvent(arg__1); +} +void PythonQtShell_QSplitter::dropEvent(QDropEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dropEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QDropEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QSplitter::dropEvent(arg__1); +} +void PythonQtShell_QSplitter::enterEvent(QEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "enterEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QSplitter::enterEvent(arg__1); +} +bool PythonQtShell_QSplitter::event(QEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "event"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue; + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QSplitter::event(arg__1); +} +bool PythonQtShell_QSplitter::eventFilter(QObject* arg__1, QEvent* arg__2) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "eventFilter"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue; + void* args[3] = {NULL, (void*)&arg__1, (void*)&arg__2}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QSplitter::eventFilter(arg__1, arg__2); +} +void PythonQtShell_QSplitter::focusInEvent(QFocusEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "focusInEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QFocusEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QSplitter::focusInEvent(arg__1); +} +bool PythonQtShell_QSplitter::focusNextPrevChild(bool next) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "focusNextPrevChild"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue; + void* args[2] = {NULL, (void*)&next}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("focusNextPrevChild", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QSplitter::focusNextPrevChild(next); +} +void PythonQtShell_QSplitter::focusOutEvent(QFocusEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "focusOutEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QFocusEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QSplitter::focusOutEvent(arg__1); +} +int PythonQtShell_QSplitter::heightForWidth(int arg__1) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "heightForWidth"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"int" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + int returnValue; + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("heightForWidth", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QSplitter::heightForWidth(arg__1); +} +void PythonQtShell_QSplitter::hideEvent(QHideEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "hideEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QHideEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QSplitter::hideEvent(arg__1); +} +void PythonQtShell_QSplitter::inputMethodEvent(QInputMethodEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "inputMethodEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QInputMethodEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QSplitter::inputMethodEvent(arg__1); +} +QVariant PythonQtShell_QSplitter::inputMethodQuery(Qt::InputMethodQuery arg__1) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "inputMethodQuery"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QVariant" , "Qt::InputMethodQuery"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + QVariant returnValue; + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result); + } else { + returnValue = *((QVariant*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QSplitter::inputMethodQuery(arg__1); +} +void PythonQtShell_QSplitter::keyPressEvent(QKeyEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "keyPressEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QKeyEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QSplitter::keyPressEvent(arg__1); +} +void PythonQtShell_QSplitter::keyReleaseEvent(QKeyEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "keyReleaseEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QKeyEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QSplitter::keyReleaseEvent(arg__1); +} +void PythonQtShell_QSplitter::languageChange() +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "languageChange"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={""}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QSplitter::languageChange(); +} +void PythonQtShell_QSplitter::leaveEvent(QEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "leaveEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QSplitter::leaveEvent(arg__1); +} +int PythonQtShell_QSplitter::metric(QPaintDevice::PaintDeviceMetric arg__1) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "metric"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + int returnValue; + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("metric", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QSplitter::metric(arg__1); +} +void PythonQtShell_QSplitter::mouseDoubleClickEvent(QMouseEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mouseDoubleClickEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QSplitter::mouseDoubleClickEvent(arg__1); +} +void PythonQtShell_QSplitter::mouseMoveEvent(QMouseEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mouseMoveEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QSplitter::mouseMoveEvent(arg__1); +} +void PythonQtShell_QSplitter::mousePressEvent(QMouseEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mousePressEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QSplitter::mousePressEvent(arg__1); +} +void PythonQtShell_QSplitter::mouseReleaseEvent(QMouseEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mouseReleaseEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QSplitter::mouseReleaseEvent(arg__1); +} +void PythonQtShell_QSplitter::moveEvent(QMoveEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "moveEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QMoveEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QSplitter::moveEvent(arg__1); +} +QPaintEngine* PythonQtShell_QSplitter::paintEngine() const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "paintEngine"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QPaintEngine*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QPaintEngine* returnValue; + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); + } else { + returnValue = *((QPaintEngine**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QSplitter::paintEngine(); +} +void PythonQtShell_QSplitter::paintEvent(QPaintEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "paintEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QPaintEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QSplitter::paintEvent(arg__1); +} +void PythonQtShell_QSplitter::resizeEvent(QResizeEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "resizeEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QResizeEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QSplitter::resizeEvent(arg__1); +} +void PythonQtShell_QSplitter::showEvent(QShowEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "showEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QShowEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QSplitter::showEvent(arg__1); +} +void PythonQtShell_QSplitter::tabletEvent(QTabletEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "tabletEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QTabletEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QSplitter::tabletEvent(arg__1); +} +void PythonQtShell_QSplitter::timerEvent(QTimerEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "timerEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QTimerEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QSplitter::timerEvent(arg__1); +} +void PythonQtShell_QSplitter::wheelEvent(QWheelEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "wheelEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QWheelEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QSplitter::wheelEvent(arg__1); +} +QSplitter* PythonQtWrapper_QSplitter::new_QSplitter(QWidget* parent) +{ +return new PythonQtShell_QSplitter(parent); } + +QSplitter* PythonQtWrapper_QSplitter::new_QSplitter(Qt::Orientation arg__1, QWidget* parent) +{ +return new PythonQtShell_QSplitter(arg__1, parent); } + +void PythonQtWrapper_QSplitter::addWidget(QSplitter* theWrappedObject, QWidget* widget) +{ + ( theWrappedObject->addWidget(widget)); +} + +void PythonQtWrapper_QSplitter::changeEvent(QSplitter* theWrappedObject, QEvent* arg__1) +{ + ( ((PythonQtPublicPromoter_QSplitter*)theWrappedObject)->promoted_changeEvent(arg__1)); +} + +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::count(QSplitter* theWrappedObject) const +{ + return ( theWrappedObject->count()); +} + +QSplitterHandle* PythonQtWrapper_QSplitter::createHandle(QSplitter* theWrappedObject) +{ + return ( ((PythonQtPublicPromoter_QSplitter*)theWrappedObject)->promoted_createHandle()); +} + +bool PythonQtWrapper_QSplitter::event(QSplitter* theWrappedObject, QEvent* arg__1) +{ + return ( ((PythonQtPublicPromoter_QSplitter*)theWrappedObject)->promoted_event(arg__1)); +} + +void PythonQtWrapper_QSplitter::getRange(QSplitter* theWrappedObject, int index, int* arg__2, int* arg__3) const +{ + ( theWrappedObject->getRange(index, arg__2, arg__3)); +} + +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, QWidget* 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()); +} + +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()); +} + +void PythonQtWrapper_QSplitter::resizeEvent(QSplitter* theWrappedObject, QResizeEvent* arg__1) +{ + ( ((PythonQtPublicPromoter_QSplitter*)theWrappedObject)->promoted_resizeEvent(arg__1)); +} + +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::setSizes(QSplitter* theWrappedObject, const QList& list) +{ + ( theWrappedObject->setSizes(list)); +} + +void PythonQtWrapper_QSplitter::setStretchFactor(QSplitter* theWrappedObject, int index, int stretch) +{ + ( theWrappedObject->setStretchFactor(index, stretch)); +} + +QSize PythonQtWrapper_QSplitter::sizeHint(QSplitter* theWrappedObject) const +{ + return ( theWrappedObject->sizeHint()); +} + +QList PythonQtWrapper_QSplitter::sizes(QSplitter* theWrappedObject) const +{ + return ( theWrappedObject->sizes()); +} + +QWidget* PythonQtWrapper_QSplitter::widget(QSplitter* theWrappedObject, int index) const +{ + return ( theWrappedObject->widget(index)); +} + + + +void PythonQtShell_QSplitterHandle::actionEvent(QActionEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "actionEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QActionEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QSplitterHandle::actionEvent(arg__1); +} +void PythonQtShell_QSplitterHandle::changeEvent(QEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "changeEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QSplitterHandle::changeEvent(arg__1); +} +void PythonQtShell_QSplitterHandle::childEvent(QChildEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "childEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QChildEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QSplitterHandle::childEvent(arg__1); +} +void PythonQtShell_QSplitterHandle::closeEvent(QCloseEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "closeEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QCloseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QSplitterHandle::closeEvent(arg__1); +} +void PythonQtShell_QSplitterHandle::contextMenuEvent(QContextMenuEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "contextMenuEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QContextMenuEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QSplitterHandle::contextMenuEvent(arg__1); +} +void PythonQtShell_QSplitterHandle::customEvent(QEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "customEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QSplitterHandle::customEvent(arg__1); +} +int PythonQtShell_QSplitterHandle::devType() const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "devType"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + int returnValue; + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("devType", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QSplitterHandle::devType(); +} +void PythonQtShell_QSplitterHandle::dragEnterEvent(QDragEnterEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dragEnterEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QDragEnterEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QSplitterHandle::dragEnterEvent(arg__1); +} +void PythonQtShell_QSplitterHandle::dragLeaveEvent(QDragLeaveEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dragLeaveEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QDragLeaveEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QSplitterHandle::dragLeaveEvent(arg__1); +} +void PythonQtShell_QSplitterHandle::dragMoveEvent(QDragMoveEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dragMoveEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QDragMoveEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QSplitterHandle::dragMoveEvent(arg__1); +} +void PythonQtShell_QSplitterHandle::dropEvent(QDropEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dropEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QDropEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QSplitterHandle::dropEvent(arg__1); +} +void PythonQtShell_QSplitterHandle::enterEvent(QEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "enterEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QSplitterHandle::enterEvent(arg__1); +} +bool PythonQtShell_QSplitterHandle::event(QEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "event"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue; + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QSplitterHandle::event(arg__1); +} +bool PythonQtShell_QSplitterHandle::eventFilter(QObject* arg__1, QEvent* arg__2) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "eventFilter"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue; + void* args[3] = {NULL, (void*)&arg__1, (void*)&arg__2}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QSplitterHandle::eventFilter(arg__1, arg__2); +} +void PythonQtShell_QSplitterHandle::focusInEvent(QFocusEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "focusInEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QFocusEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QSplitterHandle::focusInEvent(arg__1); +} +bool PythonQtShell_QSplitterHandle::focusNextPrevChild(bool next) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "focusNextPrevChild"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue; + void* args[2] = {NULL, (void*)&next}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("focusNextPrevChild", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QSplitterHandle::focusNextPrevChild(next); +} +void PythonQtShell_QSplitterHandle::focusOutEvent(QFocusEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "focusOutEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QFocusEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QSplitterHandle::focusOutEvent(arg__1); +} +int PythonQtShell_QSplitterHandle::heightForWidth(int arg__1) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "heightForWidth"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"int" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + int returnValue; + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("heightForWidth", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QSplitterHandle::heightForWidth(arg__1); +} +void PythonQtShell_QSplitterHandle::hideEvent(QHideEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "hideEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QHideEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QSplitterHandle::hideEvent(arg__1); +} +void PythonQtShell_QSplitterHandle::inputMethodEvent(QInputMethodEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "inputMethodEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QInputMethodEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QSplitterHandle::inputMethodEvent(arg__1); +} +QVariant PythonQtShell_QSplitterHandle::inputMethodQuery(Qt::InputMethodQuery arg__1) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "inputMethodQuery"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QVariant" , "Qt::InputMethodQuery"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + QVariant returnValue; + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result); + } else { + returnValue = *((QVariant*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QSplitterHandle::inputMethodQuery(arg__1); +} +void PythonQtShell_QSplitterHandle::keyPressEvent(QKeyEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "keyPressEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QKeyEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QSplitterHandle::keyPressEvent(arg__1); +} +void PythonQtShell_QSplitterHandle::keyReleaseEvent(QKeyEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "keyReleaseEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QKeyEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QSplitterHandle::keyReleaseEvent(arg__1); +} +void PythonQtShell_QSplitterHandle::languageChange() +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "languageChange"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={""}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QSplitterHandle::languageChange(); +} +void PythonQtShell_QSplitterHandle::leaveEvent(QEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "leaveEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QSplitterHandle::leaveEvent(arg__1); +} +int PythonQtShell_QSplitterHandle::metric(QPaintDevice::PaintDeviceMetric arg__1) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "metric"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + int returnValue; + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("metric", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QSplitterHandle::metric(arg__1); +} +QSize PythonQtShell_QSplitterHandle::minimumSizeHint() const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "getMinimumSizeHint"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QSize"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QSize returnValue; + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("getMinimumSizeHint", methodInfo, result); + } else { + returnValue = *((QSize*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QSplitterHandle::minimumSizeHint(); +} +void PythonQtShell_QSplitterHandle::mouseDoubleClickEvent(QMouseEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mouseDoubleClickEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QSplitterHandle::mouseDoubleClickEvent(arg__1); +} +void PythonQtShell_QSplitterHandle::mouseMoveEvent(QMouseEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mouseMoveEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QSplitterHandle::mouseMoveEvent(arg__1); +} +void PythonQtShell_QSplitterHandle::mousePressEvent(QMouseEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mousePressEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QSplitterHandle::mousePressEvent(arg__1); +} +void PythonQtShell_QSplitterHandle::mouseReleaseEvent(QMouseEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mouseReleaseEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QSplitterHandle::mouseReleaseEvent(arg__1); +} +void PythonQtShell_QSplitterHandle::moveEvent(QMoveEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "moveEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QMoveEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QSplitterHandle::moveEvent(arg__1); +} +QPaintEngine* PythonQtShell_QSplitterHandle::paintEngine() const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "paintEngine"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QPaintEngine*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QPaintEngine* returnValue; + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); + } else { + returnValue = *((QPaintEngine**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QSplitterHandle::paintEngine(); +} +void PythonQtShell_QSplitterHandle::paintEvent(QPaintEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "paintEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QPaintEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QSplitterHandle::paintEvent(arg__1); +} +void PythonQtShell_QSplitterHandle::resizeEvent(QResizeEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "resizeEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QResizeEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QSplitterHandle::resizeEvent(arg__1); +} +void PythonQtShell_QSplitterHandle::showEvent(QShowEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "showEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QShowEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QSplitterHandle::showEvent(arg__1); +} +void PythonQtShell_QSplitterHandle::tabletEvent(QTabletEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "tabletEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QTabletEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QSplitterHandle::tabletEvent(arg__1); +} +void PythonQtShell_QSplitterHandle::timerEvent(QTimerEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "timerEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QTimerEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QSplitterHandle::timerEvent(arg__1); +} +void PythonQtShell_QSplitterHandle::wheelEvent(QWheelEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "wheelEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QWheelEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QSplitterHandle::wheelEvent(arg__1); +} +QSplitterHandle* PythonQtWrapper_QSplitterHandle::new_QSplitterHandle(Qt::Orientation o, QSplitter* parent) +{ +return new PythonQtShell_QSplitterHandle(o, parent); } + +bool PythonQtWrapper_QSplitterHandle::event(QSplitterHandle* theWrappedObject, QEvent* arg__1) +{ + return ( ((PythonQtPublicPromoter_QSplitterHandle*)theWrappedObject)->promoted_event(arg__1)); +} + +void PythonQtWrapper_QSplitterHandle::mouseMoveEvent(QSplitterHandle* theWrappedObject, QMouseEvent* arg__1) +{ + ( ((PythonQtPublicPromoter_QSplitterHandle*)theWrappedObject)->promoted_mouseMoveEvent(arg__1)); +} + +void PythonQtWrapper_QSplitterHandle::mousePressEvent(QSplitterHandle* theWrappedObject, QMouseEvent* arg__1) +{ + ( ((PythonQtPublicPromoter_QSplitterHandle*)theWrappedObject)->promoted_mousePressEvent(arg__1)); +} + +void PythonQtWrapper_QSplitterHandle::mouseReleaseEvent(QSplitterHandle* theWrappedObject, QMouseEvent* arg__1) +{ + ( ((PythonQtPublicPromoter_QSplitterHandle*)theWrappedObject)->promoted_mouseReleaseEvent(arg__1)); +} + +bool PythonQtWrapper_QSplitterHandle::opaqueResize(QSplitterHandle* theWrappedObject) const +{ + return ( theWrappedObject->opaqueResize()); +} + +Qt::Orientation PythonQtWrapper_QSplitterHandle::orientation(QSplitterHandle* theWrappedObject) const +{ + return ( theWrappedObject->orientation()); +} + +void PythonQtWrapper_QSplitterHandle::paintEvent(QSplitterHandle* theWrappedObject, QPaintEvent* arg__1) +{ + ( ((PythonQtPublicPromoter_QSplitterHandle*)theWrappedObject)->promoted_paintEvent(arg__1)); +} + +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()); +} + + + +void PythonQtShell_QStackedLayout::addItem(QLayoutItem* item) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "addItem"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QLayoutItem*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&item}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QStackedLayout::addItem(item); +} +void PythonQtShell_QStackedLayout::childEvent(QChildEvent* e) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "childEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QChildEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&e}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QStackedLayout::childEvent(e); +} +int PythonQtShell_QStackedLayout::count() const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "count"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + int returnValue; + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("count", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QStackedLayout::count(); +} +void PythonQtShell_QStackedLayout::customEvent(QEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "customEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QStackedLayout::customEvent(arg__1); +} +bool PythonQtShell_QStackedLayout::event(QEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "event"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue; + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QStackedLayout::event(arg__1); +} +bool PythonQtShell_QStackedLayout::eventFilter(QObject* arg__1, QEvent* arg__2) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "eventFilter"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue; + void* args[3] = {NULL, (void*)&arg__1, (void*)&arg__2}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QStackedLayout::eventFilter(arg__1, arg__2); +} +Qt::Orientations PythonQtShell_QStackedLayout::expandingDirections() const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "expandingDirections"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"Qt::Orientations"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + Qt::Orientations returnValue; + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("expandingDirections", methodInfo, result); + } else { + returnValue = *((Qt::Orientations*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QStackedLayout::expandingDirections(); +} +QRect PythonQtShell_QStackedLayout::geometry() const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "geometry"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QRect"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QRect returnValue; + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("geometry", methodInfo, result); + } else { + returnValue = *((QRect*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QStackedLayout::geometry(); +} +int PythonQtShell_QStackedLayout::indexOf(QWidget* arg__1) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "indexOf"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"int" , "QWidget*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + int returnValue; + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("indexOf", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QStackedLayout::indexOf(arg__1); +} +void PythonQtShell_QStackedLayout::invalidate() +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "invalidate"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={""}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QStackedLayout::invalidate(); +} +bool PythonQtShell_QStackedLayout::isEmpty() const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "isEmpty"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + bool returnValue; + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("isEmpty", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QStackedLayout::isEmpty(); +} +QLayoutItem* PythonQtShell_QStackedLayout::itemAt(int arg__1) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "itemAt"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QLayoutItem*" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + QLayoutItem* returnValue; + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("itemAt", methodInfo, result); + } else { + returnValue = *((QLayoutItem**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QStackedLayout::itemAt(arg__1); +} +QLayout* PythonQtShell_QStackedLayout::layout() +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "layout"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QLayout*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QLayout* returnValue; + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("layout", methodInfo, result); + } else { + returnValue = *((QLayout**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QStackedLayout::layout(); +} +QSize PythonQtShell_QStackedLayout::maximumSize() const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "maximumSize"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QSize"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QSize returnValue; + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("maximumSize", methodInfo, result); + } else { + returnValue = *((QSize*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QStackedLayout::maximumSize(); +} +QSize PythonQtShell_QStackedLayout::minimumSize() const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "minimumSize"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QSize"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QSize returnValue; + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("minimumSize", methodInfo, result); + } else { + returnValue = *((QSize*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QStackedLayout::minimumSize(); +} +void PythonQtShell_QStackedLayout::setGeometry(const QRect& rect) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "setGeometry"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "const QRect&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&rect}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QStackedLayout::setGeometry(rect); +} +QLayoutItem* PythonQtShell_QStackedLayout::takeAt(int arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "takeAt"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QLayoutItem*" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + QLayoutItem* returnValue; + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("takeAt", methodInfo, result); + } else { + returnValue = *((QLayoutItem**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QStackedLayout::takeAt(arg__1); +} +void PythonQtShell_QStackedLayout::timerEvent(QTimerEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "timerEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QTimerEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QStackedLayout::timerEvent(arg__1); +} +QStackedLayout* PythonQtWrapper_QStackedLayout::new_QStackedLayout() +{ +return new PythonQtShell_QStackedLayout(); } + +QStackedLayout* PythonQtWrapper_QStackedLayout::new_QStackedLayout(QLayout* parentLayout) +{ +return new PythonQtShell_QStackedLayout(parentLayout); } + +QStackedLayout* PythonQtWrapper_QStackedLayout::new_QStackedLayout(QWidget* parent) +{ +return new PythonQtShell_QStackedLayout(parent); } + +void PythonQtWrapper_QStackedLayout::addItem(QStackedLayout* theWrappedObject, QLayoutItem* item) +{ + ( ((PythonQtPublicPromoter_QStackedLayout*)theWrappedObject)->promoted_addItem(item)); +} + +int PythonQtWrapper_QStackedLayout::addWidget(QStackedLayout* theWrappedObject, QWidget* w) +{ + return ( theWrappedObject->addWidget(w)); +} + +int PythonQtWrapper_QStackedLayout::count(QStackedLayout* theWrappedObject) const +{ + return ( ((PythonQtPublicPromoter_QStackedLayout*)theWrappedObject)->promoted_count()); +} + +int PythonQtWrapper_QStackedLayout::currentIndex(QStackedLayout* theWrappedObject) const +{ + return ( theWrappedObject->currentIndex()); +} + +QWidget* PythonQtWrapper_QStackedLayout::currentWidget(QStackedLayout* theWrappedObject) const +{ + return ( theWrappedObject->currentWidget()); +} + +int PythonQtWrapper_QStackedLayout::insertWidget(QStackedLayout* theWrappedObject, int index, QWidget* w) +{ + return ( theWrappedObject->insertWidget(index, w)); +} + +QLayoutItem* PythonQtWrapper_QStackedLayout::itemAt(QStackedLayout* theWrappedObject, int arg__1) const +{ + return ( ((PythonQtPublicPromoter_QStackedLayout*)theWrappedObject)->promoted_itemAt(arg__1)); +} + +QSize PythonQtWrapper_QStackedLayout::minimumSize(QStackedLayout* theWrappedObject) const +{ + return ( ((PythonQtPublicPromoter_QStackedLayout*)theWrappedObject)->promoted_minimumSize()); +} + +void PythonQtWrapper_QStackedLayout::setGeometry(QStackedLayout* theWrappedObject, const QRect& rect) +{ + ( ((PythonQtPublicPromoter_QStackedLayout*)theWrappedObject)->promoted_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 ( ((PythonQtPublicPromoter_QStackedLayout*)theWrappedObject)->promoted_takeAt(arg__1)); +} + +QWidget* PythonQtWrapper_QStackedLayout::widget(QStackedLayout* theWrappedObject) +{ + return ( theWrappedObject->widget()); +} + +QWidget* PythonQtWrapper_QStackedLayout::widget(QStackedLayout* theWrappedObject, int arg__1) const +{ + return ( theWrappedObject->widget(arg__1)); +} + + diff --git a/generated_cpp_47/com_trolltech_qt_gui/com_trolltech_qt_gui6.h b/generated_cpp_47/com_trolltech_qt_gui/com_trolltech_qt_gui6.h new file mode 100644 index 00000000..0928645c --- /dev/null +++ b/generated_cpp_47/com_trolltech_qt_gui/com_trolltech_qt_gui6.h @@ -0,0 +1,2081 @@ +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include + + + +class PythonQtShell_QPrintDialog : public QPrintDialog +{ +public: + PythonQtShell_QPrintDialog(QPrinter* printer, QWidget* parent = 0):QPrintDialog(printer, parent),_wrapper(NULL) {}; + PythonQtShell_QPrintDialog(QWidget* parent = 0):QPrintDialog(parent),_wrapper(NULL) {}; + +virtual void accept(); +virtual void actionEvent(QActionEvent* arg__1); +virtual void changeEvent(QEvent* arg__1); +virtual void childEvent(QChildEvent* arg__1); +virtual void closeEvent(QCloseEvent* arg__1); +virtual void contextMenuEvent(QContextMenuEvent* arg__1); +virtual void customEvent(QEvent* arg__1); +virtual int devType() const; +virtual void done(int result); +virtual void dragEnterEvent(QDragEnterEvent* arg__1); +virtual void dragLeaveEvent(QDragLeaveEvent* arg__1); +virtual void dragMoveEvent(QDragMoveEvent* arg__1); +virtual void dropEvent(QDropEvent* arg__1); +virtual void enterEvent(QEvent* arg__1); +virtual bool event(QEvent* arg__1); +virtual bool eventFilter(QObject* arg__1, QEvent* arg__2); +virtual int exec(); +virtual void focusInEvent(QFocusEvent* arg__1); +virtual bool focusNextPrevChild(bool next); +virtual void focusOutEvent(QFocusEvent* arg__1); +virtual int heightForWidth(int arg__1) const; +virtual void hideEvent(QHideEvent* arg__1); +virtual void inputMethodEvent(QInputMethodEvent* arg__1); +virtual QVariant inputMethodQuery(Qt::InputMethodQuery arg__1) const; +virtual void keyPressEvent(QKeyEvent* arg__1); +virtual void keyReleaseEvent(QKeyEvent* arg__1); +virtual void languageChange(); +virtual void leaveEvent(QEvent* arg__1); +virtual int metric(QPaintDevice::PaintDeviceMetric arg__1) const; +virtual void mouseDoubleClickEvent(QMouseEvent* arg__1); +virtual void mouseMoveEvent(QMouseEvent* arg__1); +virtual void mousePressEvent(QMouseEvent* arg__1); +virtual void mouseReleaseEvent(QMouseEvent* arg__1); +virtual void moveEvent(QMoveEvent* arg__1); +virtual QPaintEngine* paintEngine() const; +virtual void paintEvent(QPaintEvent* arg__1); +virtual void reject(); +virtual void resizeEvent(QResizeEvent* arg__1); +virtual void showEvent(QShowEvent* arg__1); +virtual void tabletEvent(QTabletEvent* arg__1); +virtual void timerEvent(QTimerEvent* arg__1); +virtual void wheelEvent(QWheelEvent* arg__1); + + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtPublicPromoter_QPrintDialog : public QPrintDialog +{ public: +inline void promoted_accepted() { QPrintDialog::accepted(); } +inline void promoted_done(int result) { QPrintDialog::done(result); } +inline int promoted_exec() { return QPrintDialog::exec(); } +}; + +class PythonQtWrapper_QPrintDialog : public QObject +{ Q_OBJECT +public: +public slots: +QPrintDialog* new_QPrintDialog(QPrinter* printer, QWidget* parent = 0); +QPrintDialog* new_QPrintDialog(QWidget* parent = 0); +void delete_QPrintDialog(QPrintDialog* obj) { delete obj; } + void accepted(QPrintDialog* theWrappedObject); + void done(QPrintDialog* theWrappedObject, int result); + int exec(QPrintDialog* theWrappedObject); + void open(QPrintDialog* theWrappedObject); + 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); + bool testOption(QPrintDialog* theWrappedObject, QAbstractPrintDialog::PrintDialogOption option) const; +}; + + + + + +class PythonQtShell_QPrintEngine : public QPrintEngine +{ +public: + PythonQtShell_QPrintEngine():QPrintEngine(),_wrapper(NULL) {}; + +virtual bool abort(); +virtual int metric(QPaintDevice::PaintDeviceMetric arg__1) const; +virtual bool newPage(); +virtual QPrinter::PrinterState printerState() const; +virtual QVariant property(QPrintEngine::PrintEnginePropertyKey key) const; +virtual void setProperty(QPrintEngine::PrintEnginePropertyKey key, const QVariant& value); + + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtWrapper_QPrintEngine : public QObject +{ Q_OBJECT +public: +Q_ENUMS(PrintEnginePropertyKey ) +enum PrintEnginePropertyKey{ + PPK_CollateCopies = QPrintEngine::PPK_CollateCopies, PPK_ColorMode = QPrintEngine::PPK_ColorMode, PPK_Creator = QPrintEngine::PPK_Creator, PPK_DocumentName = QPrintEngine::PPK_DocumentName, PPK_FullPage = QPrintEngine::PPK_FullPage, PPK_NumberOfCopies = QPrintEngine::PPK_NumberOfCopies, PPK_Orientation = QPrintEngine::PPK_Orientation, PPK_OutputFileName = QPrintEngine::PPK_OutputFileName, PPK_PageOrder = QPrintEngine::PPK_PageOrder, PPK_PageRect = QPrintEngine::PPK_PageRect, PPK_PageSize = QPrintEngine::PPK_PageSize, PPK_PaperRect = QPrintEngine::PPK_PaperRect, PPK_PaperSource = QPrintEngine::PPK_PaperSource, PPK_PrinterName = QPrintEngine::PPK_PrinterName, PPK_PrinterProgram = QPrintEngine::PPK_PrinterProgram, PPK_Resolution = QPrintEngine::PPK_Resolution, PPK_SelectionOption = QPrintEngine::PPK_SelectionOption, PPK_SupportedResolutions = QPrintEngine::PPK_SupportedResolutions, PPK_WindowsPageSize = QPrintEngine::PPK_WindowsPageSize, PPK_FontEmbedding = QPrintEngine::PPK_FontEmbedding, PPK_SuppressSystemPrintStatus = QPrintEngine::PPK_SuppressSystemPrintStatus, PPK_Duplex = QPrintEngine::PPK_Duplex, PPK_PaperSources = QPrintEngine::PPK_PaperSources, PPK_CustomPaperSize = QPrintEngine::PPK_CustomPaperSize, PPK_PageMargins = QPrintEngine::PPK_PageMargins, PPK_PaperSize = QPrintEngine::PPK_PaperSize, PPK_CustomBase = QPrintEngine::PPK_CustomBase}; +public slots: +QPrintEngine* new_QPrintEngine(); +void delete_QPrintEngine(QPrintEngine* obj) { delete obj; } +}; + + + + + +class PythonQtShell_QPrintPreviewDialog : public QPrintPreviewDialog +{ +public: + PythonQtShell_QPrintPreviewDialog(QPrinter* printer, QWidget* parent = 0, Qt::WindowFlags flags = 0):QPrintPreviewDialog(printer, parent, flags),_wrapper(NULL) {}; + PythonQtShell_QPrintPreviewDialog(QWidget* parent = 0, Qt::WindowFlags flags = 0):QPrintPreviewDialog(parent, flags),_wrapper(NULL) {}; + +virtual void accept(); +virtual void actionEvent(QActionEvent* arg__1); +virtual void changeEvent(QEvent* arg__1); +virtual void childEvent(QChildEvent* arg__1); +virtual void closeEvent(QCloseEvent* arg__1); +virtual void contextMenuEvent(QContextMenuEvent* arg__1); +virtual void customEvent(QEvent* arg__1); +virtual int devType() const; +virtual void done(int result); +virtual void dragEnterEvent(QDragEnterEvent* arg__1); +virtual void dragLeaveEvent(QDragLeaveEvent* arg__1); +virtual void dragMoveEvent(QDragMoveEvent* arg__1); +virtual void dropEvent(QDropEvent* arg__1); +virtual void enterEvent(QEvent* arg__1); +virtual bool event(QEvent* arg__1); +virtual bool eventFilter(QObject* arg__1, QEvent* arg__2); +virtual void focusInEvent(QFocusEvent* arg__1); +virtual bool focusNextPrevChild(bool next); +virtual void focusOutEvent(QFocusEvent* arg__1); +virtual int heightForWidth(int arg__1) const; +virtual void hideEvent(QHideEvent* arg__1); +virtual void inputMethodEvent(QInputMethodEvent* arg__1); +virtual QVariant inputMethodQuery(Qt::InputMethodQuery arg__1) const; +virtual void keyPressEvent(QKeyEvent* arg__1); +virtual void keyReleaseEvent(QKeyEvent* arg__1); +virtual void languageChange(); +virtual void leaveEvent(QEvent* arg__1); +virtual int metric(QPaintDevice::PaintDeviceMetric arg__1) const; +virtual void mouseDoubleClickEvent(QMouseEvent* arg__1); +virtual void mouseMoveEvent(QMouseEvent* arg__1); +virtual void mousePressEvent(QMouseEvent* arg__1); +virtual void mouseReleaseEvent(QMouseEvent* arg__1); +virtual void moveEvent(QMoveEvent* arg__1); +virtual QPaintEngine* paintEngine() const; +virtual void paintEvent(QPaintEvent* arg__1); +virtual void reject(); +virtual void resizeEvent(QResizeEvent* arg__1); +virtual void showEvent(QShowEvent* arg__1); +virtual void tabletEvent(QTabletEvent* arg__1); +virtual void timerEvent(QTimerEvent* arg__1); +virtual void wheelEvent(QWheelEvent* arg__1); + + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtPublicPromoter_QPrintPreviewDialog : public QPrintPreviewDialog +{ public: +inline void promoted_done(int result) { QPrintPreviewDialog::done(result); } +}; + +class PythonQtWrapper_QPrintPreviewDialog : public QObject +{ Q_OBJECT +public: +public slots: +QPrintPreviewDialog* new_QPrintPreviewDialog(QPrinter* printer, QWidget* parent = 0, Qt::WindowFlags flags = 0); +QPrintPreviewDialog* new_QPrintPreviewDialog(QWidget* parent = 0, Qt::WindowFlags flags = 0); +void delete_QPrintPreviewDialog(QPrintPreviewDialog* obj) { delete obj; } + void done(QPrintPreviewDialog* theWrappedObject, int result); + void open(QPrintPreviewDialog* theWrappedObject); + void open(QPrintPreviewDialog* theWrappedObject, QObject* receiver, const char* member); + QPrinter* printer(QPrintPreviewDialog* theWrappedObject); + void setVisible(QPrintPreviewDialog* theWrappedObject, bool visible); +}; + + + + + +class PythonQtShell_QPrintPreviewWidget : public QPrintPreviewWidget +{ +public: + PythonQtShell_QPrintPreviewWidget(QPrinter* printer, QWidget* parent = 0, Qt::WindowFlags flags = 0):QPrintPreviewWidget(printer, parent, flags),_wrapper(NULL) {}; + PythonQtShell_QPrintPreviewWidget(QWidget* parent = 0, Qt::WindowFlags flags = 0):QPrintPreviewWidget(parent, flags),_wrapper(NULL) {}; + +virtual void actionEvent(QActionEvent* arg__1); +virtual void changeEvent(QEvent* arg__1); +virtual void childEvent(QChildEvent* arg__1); +virtual void closeEvent(QCloseEvent* arg__1); +virtual void contextMenuEvent(QContextMenuEvent* arg__1); +virtual void customEvent(QEvent* arg__1); +virtual int devType() const; +virtual void dragEnterEvent(QDragEnterEvent* arg__1); +virtual void dragLeaveEvent(QDragLeaveEvent* arg__1); +virtual void dragMoveEvent(QDragMoveEvent* arg__1); +virtual void dropEvent(QDropEvent* arg__1); +virtual void enterEvent(QEvent* arg__1); +virtual bool event(QEvent* arg__1); +virtual bool eventFilter(QObject* arg__1, QEvent* arg__2); +virtual void focusInEvent(QFocusEvent* arg__1); +virtual bool focusNextPrevChild(bool next); +virtual void focusOutEvent(QFocusEvent* arg__1); +virtual int heightForWidth(int arg__1) const; +virtual void hideEvent(QHideEvent* arg__1); +virtual void inputMethodEvent(QInputMethodEvent* arg__1); +virtual QVariant inputMethodQuery(Qt::InputMethodQuery arg__1) const; +virtual void keyPressEvent(QKeyEvent* arg__1); +virtual void keyReleaseEvent(QKeyEvent* arg__1); +virtual void languageChange(); +virtual void leaveEvent(QEvent* arg__1); +virtual int metric(QPaintDevice::PaintDeviceMetric arg__1) const; +virtual QSize minimumSizeHint() const; +virtual void mouseDoubleClickEvent(QMouseEvent* arg__1); +virtual void mouseMoveEvent(QMouseEvent* arg__1); +virtual void mousePressEvent(QMouseEvent* arg__1); +virtual void mouseReleaseEvent(QMouseEvent* arg__1); +virtual void moveEvent(QMoveEvent* arg__1); +virtual QPaintEngine* paintEngine() const; +virtual void paintEvent(QPaintEvent* arg__1); +virtual void resizeEvent(QResizeEvent* arg__1); +virtual void showEvent(QShowEvent* arg__1); +virtual QSize sizeHint() const; +virtual void tabletEvent(QTabletEvent* arg__1); +virtual void timerEvent(QTimerEvent* arg__1); +virtual void wheelEvent(QWheelEvent* arg__1); + + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtWrapper_QPrintPreviewWidget : public QObject +{ Q_OBJECT +public: +Q_ENUMS(ZoomMode ViewMode ) +enum ZoomMode{ + CustomZoom = QPrintPreviewWidget::CustomZoom, FitToWidth = QPrintPreviewWidget::FitToWidth, FitInView = QPrintPreviewWidget::FitInView}; +enum ViewMode{ + SinglePageView = QPrintPreviewWidget::SinglePageView, FacingPagesView = QPrintPreviewWidget::FacingPagesView, AllPagesView = QPrintPreviewWidget::AllPagesView}; +public slots: +QPrintPreviewWidget* new_QPrintPreviewWidget(QPrinter* printer, QWidget* parent = 0, Qt::WindowFlags flags = 0); +QPrintPreviewWidget* new_QPrintPreviewWidget(QWidget* parent = 0, Qt::WindowFlags flags = 0); +void delete_QPrintPreviewWidget(QPrintPreviewWidget* obj) { delete obj; } + int currentPage(QPrintPreviewWidget* theWrappedObject) const; + int numPages(QPrintPreviewWidget* theWrappedObject) const; + QPrinter::Orientation orientation(QPrintPreviewWidget* theWrappedObject) const; + int pageCount(QPrintPreviewWidget* theWrappedObject) const; + void setVisible(QPrintPreviewWidget* theWrappedObject, bool 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) {}; + +virtual int devType() const; +virtual int metric(QPaintDevice::PaintDeviceMetric arg__1) const; +virtual QPaintEngine* paintEngine() const; + + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtPublicPromoter_QPrinter : public QPrinter +{ public: +inline int promoted_devType() const { return QPrinter::devType(); } +inline int promoted_metric(QPaintDevice::PaintDeviceMetric arg__1) const { return QPrinter::metric(arg__1); } +inline QPaintEngine* promoted_paintEngine() const { return QPrinter::paintEngine(); } +}; + +class PythonQtWrapper_QPrinter : public QObject +{ Q_OBJECT +public: +Q_ENUMS(OutputFormat DuplexMode PrintRange Unit PrinterMode Orientation PrinterState ColorMode PaperSource PageOrder PageSize ) +enum OutputFormat{ + NativeFormat = QPrinter::NativeFormat, PdfFormat = QPrinter::PdfFormat, PostScriptFormat = QPrinter::PostScriptFormat}; +enum DuplexMode{ + DuplexNone = QPrinter::DuplexNone, DuplexAuto = QPrinter::DuplexAuto, DuplexLongSide = QPrinter::DuplexLongSide, DuplexShortSide = QPrinter::DuplexShortSide}; +enum PrintRange{ + AllPages = QPrinter::AllPages, Selection = QPrinter::Selection, PageRange = QPrinter::PageRange}; +enum Unit{ + Millimeter = QPrinter::Millimeter, Point = QPrinter::Point, Inch = QPrinter::Inch, Pica = QPrinter::Pica, Didot = QPrinter::Didot, Cicero = QPrinter::Cicero, DevicePixel = QPrinter::DevicePixel}; +enum PrinterMode{ + ScreenResolution = QPrinter::ScreenResolution, PrinterResolution = QPrinter::PrinterResolution, HighResolution = QPrinter::HighResolution}; +enum Orientation{ + Portrait = QPrinter::Portrait, Landscape = QPrinter::Landscape}; +enum PrinterState{ + Idle = QPrinter::Idle, Active = QPrinter::Active, Aborted = QPrinter::Aborted, Error = QPrinter::Error}; +enum ColorMode{ + GrayScale = QPrinter::GrayScale, Color = QPrinter::Color}; +enum PaperSource{ + OnlyOne = QPrinter::OnlyOne, Lower = QPrinter::Lower, Middle = QPrinter::Middle, Manual = QPrinter::Manual, Envelope = QPrinter::Envelope, EnvelopeManual = QPrinter::EnvelopeManual, Auto = QPrinter::Auto, Tractor = QPrinter::Tractor, SmallFormat = QPrinter::SmallFormat, LargeFormat = QPrinter::LargeFormat, LargeCapacity = QPrinter::LargeCapacity, Cassette = QPrinter::Cassette, FormSource = QPrinter::FormSource, MaxPageSource = QPrinter::MaxPageSource}; +enum PageOrder{ + FirstPageFirst = QPrinter::FirstPageFirst, LastPageFirst = QPrinter::LastPageFirst}; +enum PageSize{ + A4 = QPrinter::A4, B5 = QPrinter::B5, Letter = QPrinter::Letter, Legal = QPrinter::Legal, Executive = QPrinter::Executive, A0 = QPrinter::A0, A1 = QPrinter::A1, A2 = QPrinter::A2, A3 = QPrinter::A3, A5 = QPrinter::A5, A6 = QPrinter::A6, A7 = QPrinter::A7, A8 = QPrinter::A8, A9 = QPrinter::A9, B0 = QPrinter::B0, B1 = QPrinter::B1, B10 = QPrinter::B10, B2 = QPrinter::B2, B3 = QPrinter::B3, B4 = QPrinter::B4, B6 = QPrinter::B6, B7 = QPrinter::B7, B8 = QPrinter::B8, B9 = QPrinter::B9, C5E = QPrinter::C5E, Comm10E = QPrinter::Comm10E, DLE = QPrinter::DLE, Folio = QPrinter::Folio, Ledger = QPrinter::Ledger, Tabloid = QPrinter::Tabloid, Custom = QPrinter::Custom, NPageSize = QPrinter::NPageSize, NPaperSize = QPrinter::NPaperSize}; +public slots: +QPrinter* new_QPrinter(QPrinter::PrinterMode mode = QPrinter::ScreenResolution); +QPrinter* new_QPrinter(const QPrinterInfo& printer, QPrinter::PrinterMode mode = QPrinter::ScreenResolution); +void delete_QPrinter(QPrinter* obj) { delete obj; } + bool abort(QPrinter* theWrappedObject); + int actualNumCopies(QPrinter* theWrappedObject) const; + bool collateCopies(QPrinter* theWrappedObject) const; + QPrinter::ColorMode colorMode(QPrinter* theWrappedObject) const; + QString creator(QPrinter* theWrappedObject) const; + int devType(QPrinter* theWrappedObject) const; + 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 metric(QPrinter* theWrappedObject, QPaintDevice::PaintDeviceMetric arg__1) const; + bool newPage(QPrinter* theWrappedObject); + 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; + QPrinter::PageSize pageSize(QPrinter* theWrappedObject) const; + QPaintEngine* paintEngine(QPrinter* theWrappedObject) const; + QRect paperRect(QPrinter* theWrappedObject) const; + QRectF paperRect(QPrinter* theWrappedObject, QPrinter::Unit arg__1) const; + QPrinter::PageSize paperSize(QPrinter* theWrappedObject) const; + QSizeF paperSize(QPrinter* theWrappedObject, QPrinter::Unit unit) const; + QPrinter::PaperSource paperSource(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 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 setFontEmbeddingEnabled(QPrinter* theWrappedObject, bool enable); + void setFromTo(QPrinter* theWrappedObject, int fromPage, int toPage); + void setFullPage(QPrinter* theWrappedObject, bool arg__1); + 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 setPageSize(QPrinter* theWrappedObject, QPrinter::PageSize arg__1); + void setPaperSize(QPrinter* theWrappedObject, QPrinter::PageSize arg__1); + void setPaperSize(QPrinter* theWrappedObject, const QSizeF& paperSize, QPrinter::Unit unit); + void setPaperSource(QPrinter* theWrappedObject, QPrinter::PaperSource arg__1); + 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); + QList supportedResolutions(QPrinter* theWrappedObject) const; + int toPage(QPrinter* theWrappedObject) const; +}; + + + + + +class PythonQtShell_QProgressBar : public QProgressBar +{ +public: + PythonQtShell_QProgressBar(QWidget* parent = 0):QProgressBar(parent),_wrapper(NULL) {}; + +virtual void actionEvent(QActionEvent* arg__1); +virtual void changeEvent(QEvent* arg__1); +virtual void childEvent(QChildEvent* arg__1); +virtual void closeEvent(QCloseEvent* arg__1); +virtual void contextMenuEvent(QContextMenuEvent* arg__1); +virtual void customEvent(QEvent* arg__1); +virtual int devType() const; +virtual void dragEnterEvent(QDragEnterEvent* arg__1); +virtual void dragLeaveEvent(QDragLeaveEvent* arg__1); +virtual void dragMoveEvent(QDragMoveEvent* arg__1); +virtual void dropEvent(QDropEvent* arg__1); +virtual void enterEvent(QEvent* arg__1); +virtual bool event(QEvent* e); +virtual bool eventFilter(QObject* arg__1, QEvent* arg__2); +virtual void focusInEvent(QFocusEvent* arg__1); +virtual bool focusNextPrevChild(bool next); +virtual void focusOutEvent(QFocusEvent* arg__1); +virtual int heightForWidth(int arg__1) const; +virtual void hideEvent(QHideEvent* arg__1); +virtual void inputMethodEvent(QInputMethodEvent* arg__1); +virtual QVariant inputMethodQuery(Qt::InputMethodQuery arg__1) const; +virtual void keyPressEvent(QKeyEvent* arg__1); +virtual void keyReleaseEvent(QKeyEvent* arg__1); +virtual void languageChange(); +virtual void leaveEvent(QEvent* arg__1); +virtual int metric(QPaintDevice::PaintDeviceMetric arg__1) const; +virtual void mouseDoubleClickEvent(QMouseEvent* arg__1); +virtual void mouseMoveEvent(QMouseEvent* arg__1); +virtual void mousePressEvent(QMouseEvent* arg__1); +virtual void mouseReleaseEvent(QMouseEvent* arg__1); +virtual void moveEvent(QMoveEvent* arg__1); +virtual QPaintEngine* paintEngine() const; +virtual void paintEvent(QPaintEvent* arg__1); +virtual void resizeEvent(QResizeEvent* arg__1); +virtual void showEvent(QShowEvent* arg__1); +virtual void tabletEvent(QTabletEvent* arg__1); +virtual QString text() const; +virtual void timerEvent(QTimerEvent* arg__1); +virtual void wheelEvent(QWheelEvent* arg__1); + + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtPublicPromoter_QProgressBar : public QProgressBar +{ public: +inline bool promoted_event(QEvent* e) { return QProgressBar::event(e); } +inline void promoted_paintEvent(QPaintEvent* arg__1) { QProgressBar::paintEvent(arg__1); } +inline QString promoted_text() const { return QProgressBar::text(); } +}; + +class PythonQtWrapper_QProgressBar : public QObject +{ Q_OBJECT +public: +public slots: +QProgressBar* new_QProgressBar(QWidget* parent = 0); +void delete_QProgressBar(QProgressBar* obj) { delete obj; } + Qt::Alignment alignment(QProgressBar* theWrappedObject) const; + bool event(QProgressBar* theWrappedObject, QEvent* e); + QString format(QProgressBar* theWrappedObject) const; + bool invertedAppearance(QProgressBar* theWrappedObject); + bool isTextVisible(QProgressBar* theWrappedObject) const; + int maximum(QProgressBar* theWrappedObject) const; + int minimum(QProgressBar* theWrappedObject) const; + QSize minimumSizeHint(QProgressBar* theWrappedObject) const; + Qt::Orientation orientation(QProgressBar* theWrappedObject) const; + void paintEvent(QProgressBar* theWrappedObject, QPaintEvent* arg__1); + 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; + QString text(QProgressBar* theWrappedObject) const; + QProgressBar::Direction textDirection(QProgressBar* theWrappedObject); + int value(QProgressBar* theWrappedObject) const; +}; + + + + + +class PythonQtShell_QProgressDialog : public QProgressDialog +{ +public: + PythonQtShell_QProgressDialog(QWidget* parent = 0, Qt::WindowFlags flags = 0):QProgressDialog(parent, flags),_wrapper(NULL) {}; + PythonQtShell_QProgressDialog(const QString& labelText, const QString& cancelButtonText, int minimum, int maximum, QWidget* parent = 0, Qt::WindowFlags flags = 0):QProgressDialog(labelText, cancelButtonText, minimum, maximum, parent, flags),_wrapper(NULL) {}; + +virtual void accept(); +virtual void actionEvent(QActionEvent* arg__1); +virtual void changeEvent(QEvent* event); +virtual void childEvent(QChildEvent* arg__1); +virtual void closeEvent(QCloseEvent* event); +virtual void contextMenuEvent(QContextMenuEvent* arg__1); +virtual void customEvent(QEvent* arg__1); +virtual int devType() const; +virtual void done(int arg__1); +virtual void dragEnterEvent(QDragEnterEvent* arg__1); +virtual void dragLeaveEvent(QDragLeaveEvent* arg__1); +virtual void dragMoveEvent(QDragMoveEvent* arg__1); +virtual void dropEvent(QDropEvent* arg__1); +virtual void enterEvent(QEvent* arg__1); +virtual bool event(QEvent* arg__1); +virtual bool eventFilter(QObject* arg__1, QEvent* arg__2); +virtual void focusInEvent(QFocusEvent* arg__1); +virtual bool focusNextPrevChild(bool next); +virtual void focusOutEvent(QFocusEvent* arg__1); +virtual int heightForWidth(int arg__1) const; +virtual void hideEvent(QHideEvent* arg__1); +virtual void inputMethodEvent(QInputMethodEvent* arg__1); +virtual QVariant inputMethodQuery(Qt::InputMethodQuery arg__1) const; +virtual void keyPressEvent(QKeyEvent* arg__1); +virtual void keyReleaseEvent(QKeyEvent* arg__1); +virtual void languageChange(); +virtual void leaveEvent(QEvent* arg__1); +virtual int metric(QPaintDevice::PaintDeviceMetric arg__1) const; +virtual void mouseDoubleClickEvent(QMouseEvent* arg__1); +virtual void mouseMoveEvent(QMouseEvent* arg__1); +virtual void mousePressEvent(QMouseEvent* arg__1); +virtual void mouseReleaseEvent(QMouseEvent* arg__1); +virtual void moveEvent(QMoveEvent* arg__1); +virtual QPaintEngine* paintEngine() const; +virtual void paintEvent(QPaintEvent* arg__1); +virtual void reject(); +virtual void resizeEvent(QResizeEvent* event); +virtual void showEvent(QShowEvent* event); +virtual void tabletEvent(QTabletEvent* arg__1); +virtual void timerEvent(QTimerEvent* arg__1); +virtual void wheelEvent(QWheelEvent* arg__1); + + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtPublicPromoter_QProgressDialog : public QProgressDialog +{ public: +inline void promoted_changeEvent(QEvent* event) { QProgressDialog::changeEvent(event); } +inline void promoted_closeEvent(QCloseEvent* event) { QProgressDialog::closeEvent(event); } +inline void promoted_resizeEvent(QResizeEvent* event) { QProgressDialog::resizeEvent(event); } +inline void promoted_showEvent(QShowEvent* event) { QProgressDialog::showEvent(event); } +}; + +class PythonQtWrapper_QProgressDialog : public QObject +{ Q_OBJECT +public: +public slots: +QProgressDialog* new_QProgressDialog(QWidget* parent = 0, Qt::WindowFlags flags = 0); +QProgressDialog* new_QProgressDialog(const QString& labelText, const QString& cancelButtonText, int minimum, int maximum, QWidget* parent = 0, Qt::WindowFlags flags = 0); +void delete_QProgressDialog(QProgressDialog* obj) { delete obj; } + bool autoClose(QProgressDialog* theWrappedObject) const; + bool autoReset(QProgressDialog* theWrappedObject) const; + void changeEvent(QProgressDialog* theWrappedObject, QEvent* event); + void closeEvent(QProgressDialog* theWrappedObject, QCloseEvent* 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); + void open(QProgressDialog* theWrappedObject, QObject* receiver, const char* member); + void resizeEvent(QProgressDialog* theWrappedObject, QResizeEvent* 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 showEvent(QProgressDialog* theWrappedObject, QShowEvent* event); + QSize sizeHint(QProgressDialog* theWrappedObject) const; + int value(QProgressDialog* theWrappedObject) const; + bool wasCanceled(QProgressDialog* theWrappedObject) const; +}; + + + + + +class PythonQtShell_QProxyStyle : public QProxyStyle +{ +public: + PythonQtShell_QProxyStyle(QStyle* baseStyle = 0):QProxyStyle(baseStyle),_wrapper(NULL) {}; + +virtual void childEvent(QChildEvent* arg__1); +virtual void customEvent(QEvent* arg__1); +virtual void drawComplexControl(QStyle::ComplexControl control, const QStyleOptionComplex* option, QPainter* painter, const QWidget* widget = 0) const; +virtual void drawControl(QStyle::ControlElement element, const QStyleOption* option, QPainter* painter, const QWidget* widget = 0) const; +virtual void drawItemPixmap(QPainter* painter, const QRect& rect, int alignment, const QPixmap& pixmap) const; +virtual void drawItemText(QPainter* painter, const QRect& rect, int flags, const QPalette& pal, bool enabled, const QString& text, QPalette::ColorRole textRole = QPalette::NoRole) const; +virtual void drawPrimitive(QStyle::PrimitiveElement element, const QStyleOption* option, QPainter* painter, const QWidget* widget = 0) const; +virtual bool event(QEvent* e); +virtual bool eventFilter(QObject* arg__1, QEvent* arg__2); +virtual QPixmap generatedIconPixmap(QIcon::Mode iconMode, const QPixmap& pixmap, const QStyleOption* opt) const; +virtual QStyle::SubControl hitTestComplexControl(QStyle::ComplexControl control, const QStyleOptionComplex* option, const QPoint& pos, const QWidget* widget = 0) const; +virtual QRect itemPixmapRect(const QRect& r, int flags, const QPixmap& pixmap) const; +virtual int pixelMetric(QStyle::PixelMetric metric, const QStyleOption* option = 0, const QWidget* widget = 0) const; +virtual void polish(QApplication* app); +virtual void polish(QPalette& pal); +virtual void polish(QWidget* widget); +virtual QSize sizeFromContents(QStyle::ContentsType type, const QStyleOption* option, const QSize& size, const QWidget* widget) const; +virtual QPalette standardPalette() const; +virtual QPixmap standardPixmap(QStyle::StandardPixmap standardPixmap, const QStyleOption* opt, const QWidget* widget = 0) const; +virtual int styleHint(QStyle::StyleHint hint, const QStyleOption* option = 0, const QWidget* widget = 0, QStyleHintReturn* returnData = 0) const; +virtual QRect subControlRect(QStyle::ComplexControl cc, const QStyleOptionComplex* opt, QStyle::SubControl sc, const QWidget* widget) const; +virtual QRect subElementRect(QStyle::SubElement element, const QStyleOption* option, const QWidget* widget) const; +virtual void timerEvent(QTimerEvent* arg__1); +virtual void unpolish(QApplication* app); +virtual void unpolish(QWidget* widget); + + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtPublicPromoter_QProxyStyle : public QProxyStyle +{ public: +inline void promoted_drawComplexControl(QStyle::ComplexControl control, const QStyleOptionComplex* option, QPainter* painter, const QWidget* widget = 0) const { QProxyStyle::drawComplexControl(control, option, painter, widget); } +inline void promoted_drawControl(QStyle::ControlElement element, const QStyleOption* option, QPainter* painter, const QWidget* widget = 0) const { QProxyStyle::drawControl(element, option, painter, widget); } +inline void promoted_drawItemPixmap(QPainter* painter, const QRect& rect, int alignment, const QPixmap& pixmap) const { QProxyStyle::drawItemPixmap(painter, rect, alignment, pixmap); } +inline void promoted_drawItemText(QPainter* painter, const QRect& rect, int flags, const QPalette& pal, bool enabled, const QString& text, QPalette::ColorRole textRole = QPalette::NoRole) const { QProxyStyle::drawItemText(painter, rect, flags, pal, enabled, text, textRole); } +inline void promoted_drawPrimitive(QStyle::PrimitiveElement element, const QStyleOption* option, QPainter* painter, const QWidget* widget = 0) const { QProxyStyle::drawPrimitive(element, option, painter, widget); } +inline bool promoted_event(QEvent* e) { return QProxyStyle::event(e); } +inline QPixmap promoted_generatedIconPixmap(QIcon::Mode iconMode, const QPixmap& pixmap, const QStyleOption* opt) const { return QProxyStyle::generatedIconPixmap(iconMode, pixmap, opt); } +inline QStyle::SubControl promoted_hitTestComplexControl(QStyle::ComplexControl control, const QStyleOptionComplex* option, const QPoint& pos, const QWidget* widget = 0) const { return QProxyStyle::hitTestComplexControl(control, option, pos, widget); } +inline QRect promoted_itemPixmapRect(const QRect& r, int flags, const QPixmap& pixmap) const { return QProxyStyle::itemPixmapRect(r, flags, pixmap); } +inline int promoted_pixelMetric(QStyle::PixelMetric metric, const QStyleOption* option = 0, const QWidget* widget = 0) const { return QProxyStyle::pixelMetric(metric, option, widget); } +inline void promoted_polish(QApplication* app) { QProxyStyle::polish(app); } +inline void promoted_polish(QPalette& pal) { QProxyStyle::polish(pal); } +inline void promoted_polish(QWidget* widget) { QProxyStyle::polish(widget); } +inline QSize promoted_sizeFromContents(QStyle::ContentsType type, const QStyleOption* option, const QSize& size, const QWidget* widget) const { return QProxyStyle::sizeFromContents(type, option, size, widget); } +inline QPalette promoted_standardPalette() const { return QProxyStyle::standardPalette(); } +inline QPixmap promoted_standardPixmap(QStyle::StandardPixmap standardPixmap, const QStyleOption* opt, const QWidget* widget = 0) const { return QProxyStyle::standardPixmap(standardPixmap, opt, widget); } +inline int promoted_styleHint(QStyle::StyleHint hint, const QStyleOption* option = 0, const QWidget* widget = 0, QStyleHintReturn* returnData = 0) const { return QProxyStyle::styleHint(hint, option, widget, returnData); } +inline QRect promoted_subControlRect(QStyle::ComplexControl cc, const QStyleOptionComplex* opt, QStyle::SubControl sc, const QWidget* widget) const { return QProxyStyle::subControlRect(cc, opt, sc, widget); } +inline QRect promoted_subElementRect(QStyle::SubElement element, const QStyleOption* option, const QWidget* widget) const { return QProxyStyle::subElementRect(element, option, widget); } +inline void promoted_unpolish(QApplication* app) { QProxyStyle::unpolish(app); } +inline void promoted_unpolish(QWidget* widget) { QProxyStyle::unpolish(widget); } +}; + +class PythonQtWrapper_QProxyStyle : public QObject +{ Q_OBJECT +public: +public slots: +QProxyStyle* new_QProxyStyle(QStyle* baseStyle = 0); +void delete_QProxyStyle(QProxyStyle* obj) { delete obj; } + QStyle* baseStyle(QProxyStyle* theWrappedObject) const; + void drawComplexControl(QProxyStyle* theWrappedObject, QStyle::ComplexControl control, const QStyleOptionComplex* option, QPainter* painter, const QWidget* widget = 0) const; + void drawControl(QProxyStyle* theWrappedObject, QStyle::ControlElement element, const QStyleOption* option, QPainter* painter, const QWidget* widget = 0) const; + void drawItemPixmap(QProxyStyle* theWrappedObject, QPainter* painter, const QRect& rect, int alignment, const QPixmap& pixmap) const; + void drawItemText(QProxyStyle* theWrappedObject, QPainter* painter, const QRect& rect, int flags, const QPalette& pal, bool enabled, const QString& text, QPalette::ColorRole textRole = QPalette::NoRole) const; + void drawPrimitive(QProxyStyle* theWrappedObject, QStyle::PrimitiveElement element, const QStyleOption* option, QPainter* painter, const QWidget* widget = 0) const; + bool event(QProxyStyle* theWrappedObject, QEvent* e); + QPixmap generatedIconPixmap(QProxyStyle* theWrappedObject, QIcon::Mode iconMode, const QPixmap& pixmap, const QStyleOption* opt) const; + QStyle::SubControl hitTestComplexControl(QProxyStyle* theWrappedObject, QStyle::ComplexControl control, const QStyleOptionComplex* option, const QPoint& pos, const QWidget* widget = 0) const; + QRect itemPixmapRect(QProxyStyle* theWrappedObject, const QRect& r, int flags, const QPixmap& pixmap) const; + QRect itemTextRect(QProxyStyle* theWrappedObject, const QFontMetrics& fm, const QRect& r, int flags, bool enabled, const QString& text) const; + int pixelMetric(QProxyStyle* theWrappedObject, QStyle::PixelMetric metric, const QStyleOption* option = 0, const QWidget* widget = 0) const; + void polish(QProxyStyle* theWrappedObject, QApplication* app); + void polish(QProxyStyle* theWrappedObject, QPalette& pal); + void polish(QProxyStyle* theWrappedObject, QWidget* widget); + void setBaseStyle(QProxyStyle* theWrappedObject, QStyle* style); + QSize sizeFromContents(QProxyStyle* theWrappedObject, QStyle::ContentsType type, const QStyleOption* option, const QSize& size, const QWidget* widget) const; + QPalette standardPalette(QProxyStyle* theWrappedObject) const; + QPixmap standardPixmap(QProxyStyle* theWrappedObject, QStyle::StandardPixmap standardPixmap, const QStyleOption* opt, const QWidget* widget = 0) const; + int styleHint(QProxyStyle* theWrappedObject, QStyle::StyleHint hint, const QStyleOption* option = 0, const QWidget* widget = 0, QStyleHintReturn* returnData = 0) const; + QRect subControlRect(QProxyStyle* theWrappedObject, QStyle::ComplexControl cc, const QStyleOptionComplex* opt, QStyle::SubControl sc, const QWidget* widget) const; + QRect subElementRect(QProxyStyle* theWrappedObject, QStyle::SubElement element, const QStyleOption* option, const QWidget* widget) const; + void unpolish(QProxyStyle* theWrappedObject, QApplication* app); + void unpolish(QProxyStyle* theWrappedObject, QWidget* widget); +}; + + + + + +class PythonQtShell_QPushButton : public QPushButton +{ +public: + PythonQtShell_QPushButton(QWidget* parent = 0):QPushButton(parent),_wrapper(NULL) {}; + PythonQtShell_QPushButton(const QIcon& icon, const QString& text, QWidget* parent = 0):QPushButton(icon, text, parent),_wrapper(NULL) {}; + PythonQtShell_QPushButton(const QString& text, QWidget* parent = 0):QPushButton(text, parent),_wrapper(NULL) {}; + +virtual void actionEvent(QActionEvent* arg__1); +virtual void changeEvent(QEvent* e); +virtual void checkStateSet(); +virtual void childEvent(QChildEvent* arg__1); +virtual void closeEvent(QCloseEvent* arg__1); +virtual void contextMenuEvent(QContextMenuEvent* arg__1); +virtual void customEvent(QEvent* arg__1); +virtual int devType() const; +virtual void dragEnterEvent(QDragEnterEvent* arg__1); +virtual void dragLeaveEvent(QDragLeaveEvent* arg__1); +virtual void dragMoveEvent(QDragMoveEvent* arg__1); +virtual void dropEvent(QDropEvent* arg__1); +virtual void enterEvent(QEvent* arg__1); +virtual bool event(QEvent* e); +virtual bool eventFilter(QObject* arg__1, QEvent* arg__2); +virtual void focusInEvent(QFocusEvent* arg__1); +virtual bool focusNextPrevChild(bool next); +virtual void focusOutEvent(QFocusEvent* arg__1); +virtual int heightForWidth(int arg__1) const; +virtual void hideEvent(QHideEvent* arg__1); +virtual bool hitButton(const QPoint& pos) const; +virtual void inputMethodEvent(QInputMethodEvent* arg__1); +virtual QVariant inputMethodQuery(Qt::InputMethodQuery arg__1) const; +virtual void keyPressEvent(QKeyEvent* arg__1); +virtual void keyReleaseEvent(QKeyEvent* e); +virtual void languageChange(); +virtual void leaveEvent(QEvent* arg__1); +virtual int metric(QPaintDevice::PaintDeviceMetric arg__1) const; +virtual void mouseDoubleClickEvent(QMouseEvent* arg__1); +virtual void mouseMoveEvent(QMouseEvent* e); +virtual void mousePressEvent(QMouseEvent* e); +virtual void mouseReleaseEvent(QMouseEvent* e); +virtual void moveEvent(QMoveEvent* arg__1); +virtual void nextCheckState(); +virtual QPaintEngine* paintEngine() const; +virtual void paintEvent(QPaintEvent* arg__1); +virtual void resizeEvent(QResizeEvent* arg__1); +virtual void showEvent(QShowEvent* arg__1); +virtual void tabletEvent(QTabletEvent* arg__1); +virtual void timerEvent(QTimerEvent* e); +virtual void wheelEvent(QWheelEvent* arg__1); + + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtPublicPromoter_QPushButton : public QPushButton +{ public: +inline bool promoted_event(QEvent* e) { return QPushButton::event(e); } +inline void promoted_focusInEvent(QFocusEvent* arg__1) { QPushButton::focusInEvent(arg__1); } +inline void promoted_focusOutEvent(QFocusEvent* arg__1) { QPushButton::focusOutEvent(arg__1); } +inline void promoted_keyPressEvent(QKeyEvent* arg__1) { QPushButton::keyPressEvent(arg__1); } +inline void promoted_paintEvent(QPaintEvent* arg__1) { QPushButton::paintEvent(arg__1); } +}; + +class PythonQtWrapper_QPushButton : public QObject +{ Q_OBJECT +public: +public slots: +QPushButton* new_QPushButton(QWidget* parent = 0); +QPushButton* new_QPushButton(const QIcon& icon, const QString& text, QWidget* parent = 0); +QPushButton* new_QPushButton(const QString& text, QWidget* parent = 0); +void delete_QPushButton(QPushButton* obj) { delete obj; } + bool autoDefault(QPushButton* theWrappedObject) const; + bool event(QPushButton* theWrappedObject, QEvent* e); + void focusInEvent(QPushButton* theWrappedObject, QFocusEvent* arg__1); + void focusOutEvent(QPushButton* theWrappedObject, QFocusEvent* arg__1); + bool isDefault(QPushButton* theWrappedObject) const; + bool isFlat(QPushButton* theWrappedObject) const; + void keyPressEvent(QPushButton* theWrappedObject, QKeyEvent* arg__1); + QMenu* menu(QPushButton* theWrappedObject) const; + QSize minimumSizeHint(QPushButton* theWrappedObject) const; + void paintEvent(QPushButton* theWrappedObject, QPaintEvent* 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; +}; + + + + + +class PythonQtWrapper_QQuaternion : public QObject +{ Q_OBJECT +public: +public slots: +QQuaternion* new_QQuaternion(); +QQuaternion* new_QQuaternion(const QVector4D& vector); +QQuaternion* new_QQuaternion(qreal scalar, const QVector3D& vector); +QQuaternion* new_QQuaternion(qreal scalar, qreal xpos, qreal ypos, qreal 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 static_QQuaternion_fromAxisAndAngle(const QVector3D& axis, qreal angle); + QQuaternion static_QQuaternion_fromAxisAndAngle(qreal x, qreal y, qreal z, qreal angle); + bool isIdentity(QQuaternion* theWrappedObject) const; + bool isNull(QQuaternion* theWrappedObject) const; + qreal length(QQuaternion* theWrappedObject) const; + qreal lengthSquared(QQuaternion* theWrappedObject) const; + QQuaternion static_QQuaternion_nlerp(const QQuaternion& q1, const QQuaternion& q2, qreal t); + void normalize(QQuaternion* theWrappedObject); + QQuaternion normalized(QQuaternion* theWrappedObject) const; + const QQuaternion __mul__(QQuaternion* theWrappedObject, const QQuaternion& q2); + const QQuaternion __mul__(QQuaternion* theWrappedObject, qreal factor); + QQuaternion* __imul__(QQuaternion* theWrappedObject, const QQuaternion& quaternion); + QQuaternion* __imul__(QQuaternion* theWrappedObject, qreal 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, qreal divisor); + QQuaternion* __idiv__(QQuaternion* theWrappedObject, qreal 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; + qreal scalar(QQuaternion* theWrappedObject) const; + void setScalar(QQuaternion* theWrappedObject, qreal scalar); + void setVector(QQuaternion* theWrappedObject, const QVector3D& vector); + void setVector(QQuaternion* theWrappedObject, qreal x, qreal y, qreal z); + void setX(QQuaternion* theWrappedObject, qreal x); + void setY(QQuaternion* theWrappedObject, qreal y); + void setZ(QQuaternion* theWrappedObject, qreal z); + QQuaternion static_QQuaternion_slerp(const QQuaternion& q1, const QQuaternion& q2, qreal t); + QVector4D toVector4D(QQuaternion* theWrappedObject) const; + QVector3D vector(QQuaternion* theWrappedObject) const; + qreal x(QQuaternion* theWrappedObject) const; + qreal y(QQuaternion* theWrappedObject) const; + qreal 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 radius); +QRadialGradient* new_QRadialGradient(const QPointF& center, qreal radius, const QPointF& focalPoint); +QRadialGradient* new_QRadialGradient(qreal cx, qreal cy, qreal radius); +QRadialGradient* new_QRadialGradient(qreal cx, qreal cy, qreal radius, qreal fx, qreal fy); +QRadialGradient* new_QRadialGradient(const QRadialGradient& other) { +QRadialGradient* a = new QRadialGradient(); +*((QRadialGradient*)a) = other; +return a; } +void delete_QRadialGradient(QRadialGradient* obj) { delete obj; } + QPointF center(QRadialGradient* theWrappedObject) const; + QPointF focalPoint(QRadialGradient* theWrappedObject) const; + qreal radius(QRadialGradient* theWrappedObject) const; + void setCenter(QRadialGradient* theWrappedObject, const QPointF& center); + void setCenter(QRadialGradient* theWrappedObject, qreal x, qreal y); + void setFocalPoint(QRadialGradient* theWrappedObject, const QPointF& focalPoint); + void setFocalPoint(QRadialGradient* theWrappedObject, qreal x, qreal y); + void setRadius(QRadialGradient* theWrappedObject, qreal radius); +}; + + + + + +class PythonQtShell_QRadioButton : public QRadioButton +{ +public: + PythonQtShell_QRadioButton(QWidget* parent = 0):QRadioButton(parent),_wrapper(NULL) {}; + PythonQtShell_QRadioButton(const QString& text, QWidget* parent = 0):QRadioButton(text, parent),_wrapper(NULL) {}; + +virtual void actionEvent(QActionEvent* arg__1); +virtual void changeEvent(QEvent* e); +virtual void checkStateSet(); +virtual void childEvent(QChildEvent* arg__1); +virtual void closeEvent(QCloseEvent* arg__1); +virtual void contextMenuEvent(QContextMenuEvent* arg__1); +virtual void customEvent(QEvent* arg__1); +virtual int devType() const; +virtual void dragEnterEvent(QDragEnterEvent* arg__1); +virtual void dragLeaveEvent(QDragLeaveEvent* arg__1); +virtual void dragMoveEvent(QDragMoveEvent* arg__1); +virtual void dropEvent(QDropEvent* arg__1); +virtual void enterEvent(QEvent* arg__1); +virtual bool event(QEvent* e); +virtual bool eventFilter(QObject* arg__1, QEvent* arg__2); +virtual void focusInEvent(QFocusEvent* e); +virtual bool focusNextPrevChild(bool next); +virtual void focusOutEvent(QFocusEvent* e); +virtual int heightForWidth(int arg__1) const; +virtual void hideEvent(QHideEvent* arg__1); +virtual bool hitButton(const QPoint& arg__1) const; +virtual void inputMethodEvent(QInputMethodEvent* arg__1); +virtual QVariant inputMethodQuery(Qt::InputMethodQuery arg__1) const; +virtual void keyPressEvent(QKeyEvent* e); +virtual void keyReleaseEvent(QKeyEvent* e); +virtual void languageChange(); +virtual void leaveEvent(QEvent* arg__1); +virtual int metric(QPaintDevice::PaintDeviceMetric arg__1) const; +virtual QSize minimumSizeHint() const; +virtual void mouseDoubleClickEvent(QMouseEvent* arg__1); +virtual void mouseMoveEvent(QMouseEvent* arg__1); +virtual void mousePressEvent(QMouseEvent* e); +virtual void mouseReleaseEvent(QMouseEvent* e); +virtual void moveEvent(QMoveEvent* arg__1); +virtual void nextCheckState(); +virtual QPaintEngine* paintEngine() const; +virtual void paintEvent(QPaintEvent* arg__1); +virtual void resizeEvent(QResizeEvent* arg__1); +virtual void showEvent(QShowEvent* arg__1); +virtual void tabletEvent(QTabletEvent* arg__1); +virtual void timerEvent(QTimerEvent* e); +virtual void wheelEvent(QWheelEvent* arg__1); + + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtPublicPromoter_QRadioButton : public QRadioButton +{ public: +inline bool promoted_event(QEvent* e) { return QRadioButton::event(e); } +inline bool promoted_hitButton(const QPoint& arg__1) const { return QRadioButton::hitButton(arg__1); } +inline void promoted_mouseMoveEvent(QMouseEvent* arg__1) { QRadioButton::mouseMoveEvent(arg__1); } +inline void promoted_paintEvent(QPaintEvent* arg__1) { QRadioButton::paintEvent(arg__1); } +}; + +class PythonQtWrapper_QRadioButton : public QObject +{ Q_OBJECT +public: +public slots: +QRadioButton* new_QRadioButton(QWidget* parent = 0); +QRadioButton* new_QRadioButton(const QString& text, QWidget* parent = 0); +void delete_QRadioButton(QRadioButton* obj) { delete obj; } + bool event(QRadioButton* theWrappedObject, QEvent* e); + bool hitButton(QRadioButton* theWrappedObject, const QPoint& arg__1) const; + void mouseMoveEvent(QRadioButton* theWrappedObject, QMouseEvent* arg__1); + void paintEvent(QRadioButton* theWrappedObject, QPaintEvent* arg__1); + QSize sizeHint(QRadioButton* theWrappedObject) const; +}; + + + + + +class PythonQtShell_QRegExpValidator : public QRegExpValidator +{ +public: + PythonQtShell_QRegExpValidator(QObject* parent):QRegExpValidator(parent),_wrapper(NULL) {}; + PythonQtShell_QRegExpValidator(const QRegExp& rx, QObject* parent):QRegExpValidator(rx, parent),_wrapper(NULL) {}; + +virtual void childEvent(QChildEvent* arg__1); +virtual void customEvent(QEvent* arg__1); +virtual bool event(QEvent* arg__1); +virtual bool eventFilter(QObject* arg__1, QEvent* arg__2); +virtual void fixup(QString& arg__1) const; +virtual void timerEvent(QTimerEvent* arg__1); +virtual QValidator::State validate(QString& input, int& pos) const; + + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtPublicPromoter_QRegExpValidator : public QRegExpValidator +{ public: +inline QValidator::State promoted_validate(QString& input, int& pos) const { return QRegExpValidator::validate(input, pos); } +}; + +class PythonQtWrapper_QRegExpValidator : public QObject +{ Q_OBJECT +public: +public slots: +QRegExpValidator* new_QRegExpValidator(QObject* parent); +QRegExpValidator* new_QRegExpValidator(const QRegExp& rx, QObject* parent); +void delete_QRegExpValidator(QRegExpValidator* obj) { delete obj; } + const QRegExp* regExp(QRegExpValidator* theWrappedObject) const; + void setRegExp(QRegExpValidator* theWrappedObject, const QRegExp& rx); + QValidator::State validate(QRegExpValidator* theWrappedObject, QString& input, int& pos) const; +}; + + + + + +class PythonQtShell_QResizeEvent : public QResizeEvent +{ +public: + PythonQtShell_QResizeEvent(const QSize& size, const QSize& oldSize):QResizeEvent(size, oldSize),_wrapper(NULL) {}; + + + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtWrapper_QResizeEvent : public QObject +{ Q_OBJECT +public: +public slots: +QResizeEvent* new_QResizeEvent(const QSize& size, const QSize& oldSize); +void delete_QResizeEvent(QResizeEvent* obj) { delete obj; } + const QSize* oldSize(QResizeEvent* theWrappedObject) const; + const QSize* size(QResizeEvent* theWrappedObject) const; +}; + + + + + +class PythonQtShell_QRubberBand : public QRubberBand +{ +public: + PythonQtShell_QRubberBand(QRubberBand::Shape arg__1, QWidget* arg__2 = 0):QRubberBand(arg__1, arg__2),_wrapper(NULL) {}; + +virtual void actionEvent(QActionEvent* arg__1); +virtual void changeEvent(QEvent* arg__1); +virtual void childEvent(QChildEvent* arg__1); +virtual void closeEvent(QCloseEvent* arg__1); +virtual void contextMenuEvent(QContextMenuEvent* arg__1); +virtual void customEvent(QEvent* arg__1); +virtual int devType() const; +virtual void dragEnterEvent(QDragEnterEvent* arg__1); +virtual void dragLeaveEvent(QDragLeaveEvent* arg__1); +virtual void dragMoveEvent(QDragMoveEvent* arg__1); +virtual void dropEvent(QDropEvent* arg__1); +virtual void enterEvent(QEvent* arg__1); +virtual bool event(QEvent* e); +virtual bool eventFilter(QObject* arg__1, QEvent* arg__2); +virtual void focusInEvent(QFocusEvent* arg__1); +virtual bool focusNextPrevChild(bool next); +virtual void focusOutEvent(QFocusEvent* arg__1); +virtual int heightForWidth(int arg__1) const; +virtual void hideEvent(QHideEvent* arg__1); +virtual void inputMethodEvent(QInputMethodEvent* arg__1); +virtual QVariant inputMethodQuery(Qt::InputMethodQuery arg__1) const; +virtual void keyPressEvent(QKeyEvent* arg__1); +virtual void keyReleaseEvent(QKeyEvent* arg__1); +virtual void languageChange(); +virtual void leaveEvent(QEvent* arg__1); +virtual int metric(QPaintDevice::PaintDeviceMetric arg__1) const; +virtual QSize minimumSizeHint() const; +virtual void mouseDoubleClickEvent(QMouseEvent* arg__1); +virtual void mouseMoveEvent(QMouseEvent* arg__1); +virtual void mousePressEvent(QMouseEvent* arg__1); +virtual void mouseReleaseEvent(QMouseEvent* arg__1); +virtual void moveEvent(QMoveEvent* arg__1); +virtual QPaintEngine* paintEngine() const; +virtual void paintEvent(QPaintEvent* arg__1); +virtual void resizeEvent(QResizeEvent* arg__1); +virtual void showEvent(QShowEvent* arg__1); +virtual QSize sizeHint() const; +virtual void tabletEvent(QTabletEvent* arg__1); +virtual void timerEvent(QTimerEvent* arg__1); +virtual void wheelEvent(QWheelEvent* arg__1); + + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtPublicPromoter_QRubberBand : public QRubberBand +{ public: +inline void promoted_changeEvent(QEvent* arg__1) { QRubberBand::changeEvent(arg__1); } +inline bool promoted_event(QEvent* e) { return QRubberBand::event(e); } +inline void promoted_moveEvent(QMoveEvent* arg__1) { QRubberBand::moveEvent(arg__1); } +inline void promoted_paintEvent(QPaintEvent* arg__1) { QRubberBand::paintEvent(arg__1); } +inline void promoted_resizeEvent(QResizeEvent* arg__1) { QRubberBand::resizeEvent(arg__1); } +inline void promoted_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 = 0); +void delete_QRubberBand(QRubberBand* obj) { delete obj; } + void changeEvent(QRubberBand* theWrappedObject, QEvent* arg__1); + bool event(QRubberBand* theWrappedObject, QEvent* e); + void move(QRubberBand* theWrappedObject, const QPoint& p); + void move(QRubberBand* theWrappedObject, int x, int y); + void moveEvent(QRubberBand* theWrappedObject, QMoveEvent* arg__1); + void paintEvent(QRubberBand* theWrappedObject, QPaintEvent* arg__1); + void resize(QRubberBand* theWrappedObject, const QSize& s); + void resize(QRubberBand* theWrappedObject, int w, int h); + void resizeEvent(QRubberBand* theWrappedObject, QResizeEvent* 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 showEvent(QRubberBand* theWrappedObject, QShowEvent* arg__1); +}; + + + + + +class PythonQtShell_QScrollArea : public QScrollArea +{ +public: + PythonQtShell_QScrollArea(QWidget* parent = 0):QScrollArea(parent),_wrapper(NULL) {}; + +virtual void actionEvent(QActionEvent* arg__1); +virtual void changeEvent(QEvent* arg__1); +virtual void childEvent(QChildEvent* arg__1); +virtual void closeEvent(QCloseEvent* arg__1); +virtual void contextMenuEvent(QContextMenuEvent* arg__1); +virtual void customEvent(QEvent* arg__1); +virtual int devType() const; +virtual void dragEnterEvent(QDragEnterEvent* arg__1); +virtual void dragLeaveEvent(QDragLeaveEvent* arg__1); +virtual void dragMoveEvent(QDragMoveEvent* arg__1); +virtual void dropEvent(QDropEvent* arg__1); +virtual void enterEvent(QEvent* arg__1); +virtual bool event(QEvent* arg__1); +virtual bool eventFilter(QObject* arg__1, QEvent* arg__2); +virtual void focusInEvent(QFocusEvent* arg__1); +virtual bool focusNextPrevChild(bool next); +virtual void focusOutEvent(QFocusEvent* arg__1); +virtual int heightForWidth(int arg__1) const; +virtual void hideEvent(QHideEvent* arg__1); +virtual void inputMethodEvent(QInputMethodEvent* arg__1); +virtual QVariant inputMethodQuery(Qt::InputMethodQuery arg__1) const; +virtual void keyPressEvent(QKeyEvent* arg__1); +virtual void keyReleaseEvent(QKeyEvent* arg__1); +virtual void languageChange(); +virtual void leaveEvent(QEvent* arg__1); +virtual int metric(QPaintDevice::PaintDeviceMetric arg__1) const; +virtual void mouseDoubleClickEvent(QMouseEvent* arg__1); +virtual void mouseMoveEvent(QMouseEvent* arg__1); +virtual void mousePressEvent(QMouseEvent* arg__1); +virtual void mouseReleaseEvent(QMouseEvent* arg__1); +virtual void moveEvent(QMoveEvent* arg__1); +virtual QPaintEngine* paintEngine() const; +virtual void paintEvent(QPaintEvent* arg__1); +virtual void resizeEvent(QResizeEvent* arg__1); +virtual void scrollContentsBy(int dx, int dy); +virtual void showEvent(QShowEvent* arg__1); +virtual void tabletEvent(QTabletEvent* arg__1); +virtual void timerEvent(QTimerEvent* arg__1); +virtual bool viewportEvent(QEvent* arg__1); +virtual void wheelEvent(QWheelEvent* arg__1); + + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtPublicPromoter_QScrollArea : public QScrollArea +{ public: +inline bool promoted_event(QEvent* arg__1) { return QScrollArea::event(arg__1); } +inline bool promoted_eventFilter(QObject* arg__1, QEvent* arg__2) { return QScrollArea::eventFilter(arg__1, arg__2); } +inline bool promoted_focusNextPrevChild(bool next) { return QScrollArea::focusNextPrevChild(next); } +inline void promoted_resizeEvent(QResizeEvent* arg__1) { QScrollArea::resizeEvent(arg__1); } +inline void promoted_scrollContentsBy(int dx, int dy) { QScrollArea::scrollContentsBy(dx, dy); } +}; + +class PythonQtWrapper_QScrollArea : public QObject +{ Q_OBJECT +public: +public slots: +QScrollArea* new_QScrollArea(QWidget* parent = 0); +void delete_QScrollArea(QScrollArea* obj) { delete obj; } + 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 event(QScrollArea* theWrappedObject, QEvent* arg__1); + bool eventFilter(QScrollArea* theWrappedObject, QObject* arg__1, QEvent* arg__2); + bool focusNextPrevChild(QScrollArea* theWrappedObject, bool next); + void resizeEvent(QScrollArea* theWrappedObject, QResizeEvent* arg__1); + void scrollContentsBy(QScrollArea* theWrappedObject, int dx, int dy); + void setAlignment(QScrollArea* theWrappedObject, Qt::Alignment arg__1); + void setWidget(QScrollArea* theWrappedObject, QWidget* widget); + void setWidgetResizable(QScrollArea* theWrappedObject, bool resizable); + QSize sizeHint(QScrollArea* theWrappedObject) const; + QWidget* takeWidget(QScrollArea* theWrappedObject); + QWidget* widget(QScrollArea* theWrappedObject) const; + bool widgetResizable(QScrollArea* theWrappedObject) const; +}; + + + + + +class PythonQtShell_QScrollBar : public QScrollBar +{ +public: + PythonQtShell_QScrollBar(QWidget* parent = 0):QScrollBar(parent),_wrapper(NULL) {}; + PythonQtShell_QScrollBar(Qt::Orientation arg__1, QWidget* parent = 0):QScrollBar(arg__1, parent),_wrapper(NULL) {}; + +virtual void actionEvent(QActionEvent* arg__1); +virtual void changeEvent(QEvent* e); +virtual void childEvent(QChildEvent* arg__1); +virtual void closeEvent(QCloseEvent* arg__1); +virtual void contextMenuEvent(QContextMenuEvent* arg__1); +virtual void customEvent(QEvent* arg__1); +virtual int devType() const; +virtual void dragEnterEvent(QDragEnterEvent* arg__1); +virtual void dragLeaveEvent(QDragLeaveEvent* arg__1); +virtual void dragMoveEvent(QDragMoveEvent* arg__1); +virtual void dropEvent(QDropEvent* arg__1); +virtual void enterEvent(QEvent* arg__1); +virtual bool event(QEvent* event); +virtual bool eventFilter(QObject* arg__1, QEvent* arg__2); +virtual void focusInEvent(QFocusEvent* arg__1); +virtual bool focusNextPrevChild(bool next); +virtual void focusOutEvent(QFocusEvent* arg__1); +virtual int heightForWidth(int arg__1) const; +virtual void hideEvent(QHideEvent* arg__1); +virtual void inputMethodEvent(QInputMethodEvent* arg__1); +virtual QVariant inputMethodQuery(Qt::InputMethodQuery arg__1) const; +virtual void keyPressEvent(QKeyEvent* ev); +virtual void keyReleaseEvent(QKeyEvent* arg__1); +virtual void languageChange(); +virtual void leaveEvent(QEvent* arg__1); +virtual int metric(QPaintDevice::PaintDeviceMetric arg__1) const; +virtual QSize minimumSizeHint() const; +virtual void mouseDoubleClickEvent(QMouseEvent* arg__1); +virtual void mouseMoveEvent(QMouseEvent* arg__1); +virtual void mousePressEvent(QMouseEvent* arg__1); +virtual void mouseReleaseEvent(QMouseEvent* arg__1); +virtual void moveEvent(QMoveEvent* arg__1); +virtual QPaintEngine* paintEngine() const; +virtual void paintEvent(QPaintEvent* arg__1); +virtual void resizeEvent(QResizeEvent* arg__1); +virtual void showEvent(QShowEvent* arg__1); +virtual void tabletEvent(QTabletEvent* arg__1); +virtual void timerEvent(QTimerEvent* arg__1); +virtual void wheelEvent(QWheelEvent* e); + + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtPublicPromoter_QScrollBar : public QScrollBar +{ public: +inline void promoted_contextMenuEvent(QContextMenuEvent* arg__1) { QScrollBar::contextMenuEvent(arg__1); } +inline bool promoted_event(QEvent* event) { return QScrollBar::event(event); } +inline void promoted_hideEvent(QHideEvent* arg__1) { QScrollBar::hideEvent(arg__1); } +inline void promoted_mouseMoveEvent(QMouseEvent* arg__1) { QScrollBar::mouseMoveEvent(arg__1); } +inline void promoted_mousePressEvent(QMouseEvent* arg__1) { QScrollBar::mousePressEvent(arg__1); } +inline void promoted_mouseReleaseEvent(QMouseEvent* arg__1) { QScrollBar::mouseReleaseEvent(arg__1); } +inline void promoted_paintEvent(QPaintEvent* arg__1) { QScrollBar::paintEvent(arg__1); } +}; + +class PythonQtWrapper_QScrollBar : public QObject +{ Q_OBJECT +public: +public slots: +QScrollBar* new_QScrollBar(QWidget* parent = 0); +QScrollBar* new_QScrollBar(Qt::Orientation arg__1, QWidget* parent = 0); +void delete_QScrollBar(QScrollBar* obj) { delete obj; } + void contextMenuEvent(QScrollBar* theWrappedObject, QContextMenuEvent* arg__1); + bool event(QScrollBar* theWrappedObject, QEvent* event); + void hideEvent(QScrollBar* theWrappedObject, QHideEvent* arg__1); + void mouseMoveEvent(QScrollBar* theWrappedObject, QMouseEvent* arg__1); + void mousePressEvent(QScrollBar* theWrappedObject, QMouseEvent* arg__1); + void mouseReleaseEvent(QScrollBar* theWrappedObject, QMouseEvent* arg__1); + void paintEvent(QScrollBar* theWrappedObject, QPaintEvent* arg__1); + QSize sizeHint(QScrollBar* theWrappedObject) const; +}; + + + + + +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 = 0, const char* ambiguousMember = 0, Qt::ShortcutContext context = Qt::WindowShortcut):QShortcut(key, parent, member, ambiguousMember, context),_wrapper(NULL) {}; + +virtual void childEvent(QChildEvent* arg__1); +virtual void customEvent(QEvent* arg__1); +virtual bool event(QEvent* e); +virtual bool eventFilter(QObject* arg__1, QEvent* arg__2); +virtual void timerEvent(QTimerEvent* arg__1); + + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtPublicPromoter_QShortcut : public QShortcut +{ public: +inline bool promoted_event(QEvent* e) { return QShortcut::event(e); } +}; + +class PythonQtWrapper_QShortcut : public QObject +{ Q_OBJECT +public: +public slots: +QShortcut* new_QShortcut(QWidget* parent); +QShortcut* new_QShortcut(const QKeySequence& key, QWidget* parent, const char* member = 0, const char* ambiguousMember = 0, Qt::ShortcutContext context = Qt::WindowShortcut); +void delete_QShortcut(QShortcut* obj) { delete obj; } + bool autoRepeat(QShortcut* theWrappedObject) const; + Qt::ShortcutContext context(QShortcut* theWrappedObject); + bool event(QShortcut* theWrappedObject, QEvent* e); + 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) {}; + + + 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) {}; + +virtual void actionEvent(QActionEvent* arg__1); +virtual void changeEvent(QEvent* arg__1); +virtual void childEvent(QChildEvent* arg__1); +virtual void closeEvent(QCloseEvent* arg__1); +virtual void contextMenuEvent(QContextMenuEvent* arg__1); +virtual void customEvent(QEvent* arg__1); +virtual int devType() const; +virtual void dragEnterEvent(QDragEnterEvent* arg__1); +virtual void dragLeaveEvent(QDragLeaveEvent* arg__1); +virtual void dragMoveEvent(QDragMoveEvent* arg__1); +virtual void dropEvent(QDropEvent* arg__1); +virtual void enterEvent(QEvent* arg__1); +virtual bool event(QEvent* arg__1); +virtual bool eventFilter(QObject* arg__1, QEvent* arg__2); +virtual void focusInEvent(QFocusEvent* arg__1); +virtual bool focusNextPrevChild(bool next); +virtual void focusOutEvent(QFocusEvent* arg__1); +virtual int heightForWidth(int arg__1) const; +virtual void hideEvent(QHideEvent* hideEvent); +virtual void inputMethodEvent(QInputMethodEvent* arg__1); +virtual QVariant inputMethodQuery(Qt::InputMethodQuery arg__1) const; +virtual void keyPressEvent(QKeyEvent* arg__1); +virtual void keyReleaseEvent(QKeyEvent* arg__1); +virtual void languageChange(); +virtual void leaveEvent(QEvent* arg__1); +virtual int metric(QPaintDevice::PaintDeviceMetric arg__1) const; +virtual QSize minimumSizeHint() const; +virtual void mouseDoubleClickEvent(QMouseEvent* arg__1); +virtual void mouseMoveEvent(QMouseEvent* arg__1); +virtual void mousePressEvent(QMouseEvent* arg__1); +virtual void mouseReleaseEvent(QMouseEvent* mouseEvent); +virtual void moveEvent(QMoveEvent* moveEvent); +virtual QPaintEngine* paintEngine() const; +virtual void paintEvent(QPaintEvent* arg__1); +virtual void resizeEvent(QResizeEvent* arg__1); +virtual void showEvent(QShowEvent* showEvent); +virtual void tabletEvent(QTabletEvent* arg__1); +virtual void timerEvent(QTimerEvent* arg__1); +virtual void wheelEvent(QWheelEvent* arg__1); + + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtPublicPromoter_QSizeGrip : public QSizeGrip +{ public: +inline bool promoted_event(QEvent* arg__1) { return QSizeGrip::event(arg__1); } +inline bool promoted_eventFilter(QObject* arg__1, QEvent* arg__2) { return QSizeGrip::eventFilter(arg__1, arg__2); } +inline void promoted_hideEvent(QHideEvent* hideEvent) { QSizeGrip::hideEvent(hideEvent); } +inline void promoted_mouseMoveEvent(QMouseEvent* arg__1) { QSizeGrip::mouseMoveEvent(arg__1); } +inline void promoted_mousePressEvent(QMouseEvent* arg__1) { QSizeGrip::mousePressEvent(arg__1); } +inline void promoted_mouseReleaseEvent(QMouseEvent* mouseEvent) { QSizeGrip::mouseReleaseEvent(mouseEvent); } +inline void promoted_moveEvent(QMoveEvent* moveEvent) { QSizeGrip::moveEvent(moveEvent); } +inline void promoted_paintEvent(QPaintEvent* arg__1) { QSizeGrip::paintEvent(arg__1); } +inline void promoted_showEvent(QShowEvent* showEvent) { QSizeGrip::showEvent(showEvent); } +}; + +class PythonQtWrapper_QSizeGrip : public QObject +{ Q_OBJECT +public: +public slots: +QSizeGrip* new_QSizeGrip(QWidget* parent); +void delete_QSizeGrip(QSizeGrip* obj) { delete obj; } + bool event(QSizeGrip* theWrappedObject, QEvent* arg__1); + bool eventFilter(QSizeGrip* theWrappedObject, QObject* arg__1, QEvent* arg__2); + void hideEvent(QSizeGrip* theWrappedObject, QHideEvent* hideEvent); + void mouseMoveEvent(QSizeGrip* theWrappedObject, QMouseEvent* arg__1); + void mousePressEvent(QSizeGrip* theWrappedObject, QMouseEvent* arg__1); + void mouseReleaseEvent(QSizeGrip* theWrappedObject, QMouseEvent* mouseEvent); + void moveEvent(QSizeGrip* theWrappedObject, QMoveEvent* moveEvent); + void paintEvent(QSizeGrip* theWrappedObject, QPaintEvent* arg__1); + void setVisible(QSizeGrip* theWrappedObject, bool arg__1); + void showEvent(QSizeGrip* theWrappedObject, QShowEvent* showEvent); + QSize sizeHint(QSizeGrip* theWrappedObject) const; +}; + + + + + +class PythonQtShell_QSlider : public QSlider +{ +public: + PythonQtShell_QSlider(QWidget* parent = 0):QSlider(parent),_wrapper(NULL) {}; + PythonQtShell_QSlider(Qt::Orientation orientation, QWidget* parent = 0):QSlider(orientation, parent),_wrapper(NULL) {}; + +virtual void actionEvent(QActionEvent* arg__1); +virtual void changeEvent(QEvent* e); +virtual void childEvent(QChildEvent* arg__1); +virtual void closeEvent(QCloseEvent* arg__1); +virtual void contextMenuEvent(QContextMenuEvent* arg__1); +virtual void customEvent(QEvent* arg__1); +virtual int devType() const; +virtual void dragEnterEvent(QDragEnterEvent* arg__1); +virtual void dragLeaveEvent(QDragLeaveEvent* arg__1); +virtual void dragMoveEvent(QDragMoveEvent* arg__1); +virtual void dropEvent(QDropEvent* arg__1); +virtual void enterEvent(QEvent* arg__1); +virtual bool event(QEvent* event); +virtual bool eventFilter(QObject* arg__1, QEvent* arg__2); +virtual void focusInEvent(QFocusEvent* arg__1); +virtual bool focusNextPrevChild(bool next); +virtual void focusOutEvent(QFocusEvent* arg__1); +virtual int heightForWidth(int arg__1) const; +virtual void hideEvent(QHideEvent* arg__1); +virtual void inputMethodEvent(QInputMethodEvent* arg__1); +virtual QVariant inputMethodQuery(Qt::InputMethodQuery arg__1) const; +virtual void keyPressEvent(QKeyEvent* ev); +virtual void keyReleaseEvent(QKeyEvent* arg__1); +virtual void languageChange(); +virtual void leaveEvent(QEvent* arg__1); +virtual int metric(QPaintDevice::PaintDeviceMetric arg__1) const; +virtual void mouseDoubleClickEvent(QMouseEvent* arg__1); +virtual void mouseMoveEvent(QMouseEvent* ev); +virtual void mousePressEvent(QMouseEvent* ev); +virtual void mouseReleaseEvent(QMouseEvent* ev); +virtual void moveEvent(QMoveEvent* arg__1); +virtual QPaintEngine* paintEngine() const; +virtual void paintEvent(QPaintEvent* ev); +virtual void resizeEvent(QResizeEvent* arg__1); +virtual void showEvent(QShowEvent* arg__1); +virtual void tabletEvent(QTabletEvent* arg__1); +virtual void timerEvent(QTimerEvent* arg__1); +virtual void wheelEvent(QWheelEvent* e); + + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtPublicPromoter_QSlider : public QSlider +{ public: +inline bool promoted_event(QEvent* event) { return QSlider::event(event); } +inline void promoted_mouseMoveEvent(QMouseEvent* ev) { QSlider::mouseMoveEvent(ev); } +inline void promoted_mousePressEvent(QMouseEvent* ev) { QSlider::mousePressEvent(ev); } +inline void promoted_mouseReleaseEvent(QMouseEvent* ev) { QSlider::mouseReleaseEvent(ev); } +inline void promoted_paintEvent(QPaintEvent* ev) { QSlider::paintEvent(ev); } +}; + +class PythonQtWrapper_QSlider : public QObject +{ Q_OBJECT +public: +public slots: +QSlider* new_QSlider(QWidget* parent = 0); +QSlider* new_QSlider(Qt::Orientation orientation, QWidget* parent = 0); +void delete_QSlider(QSlider* obj) { delete obj; } + bool event(QSlider* theWrappedObject, QEvent* event); + QSize minimumSizeHint(QSlider* theWrappedObject) const; + void mouseMoveEvent(QSlider* theWrappedObject, QMouseEvent* ev); + void mousePressEvent(QSlider* theWrappedObject, QMouseEvent* ev); + void mouseReleaseEvent(QSlider* theWrappedObject, QMouseEvent* ev); + void paintEvent(QSlider* theWrappedObject, QPaintEvent* ev); + void setTickInterval(QSlider* theWrappedObject, int ti); + void setTickPosition(QSlider* theWrappedObject, QSlider::TickPosition position); + QSize sizeHint(QSlider* theWrappedObject) const; + int tickInterval(QSlider* theWrappedObject) const; + QSlider::TickPosition tickPosition(QSlider* theWrappedObject) const; +}; + + + + + +class PythonQtShell_QSound : public QSound +{ +public: + PythonQtShell_QSound(const QString& filename, QObject* parent = 0):QSound(filename, parent),_wrapper(NULL) {}; + +virtual void childEvent(QChildEvent* arg__1); +virtual void customEvent(QEvent* arg__1); +virtual bool event(QEvent* arg__1); +virtual bool eventFilter(QObject* arg__1, QEvent* arg__2); +virtual void timerEvent(QTimerEvent* arg__1); + + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtWrapper_QSound : public QObject +{ Q_OBJECT +public: +public slots: +QSound* new_QSound(const QString& filename, QObject* parent = 0); +void delete_QSound(QSound* obj) { delete obj; } + QString fileName(QSound* theWrappedObject) const; + bool static_QSound_isAvailable(); + bool isFinished(QSound* theWrappedObject) const; + int loops(QSound* theWrappedObject) const; + int loopsRemaining(QSound* theWrappedObject) const; + void static_QSound_play(const QString& filename); + void setLoops(QSound* theWrappedObject, int arg__1); +}; + + + + + +class PythonQtShell_QSpacerItem : public QSpacerItem +{ +public: + PythonQtShell_QSpacerItem(int w, int h, QSizePolicy::Policy hData = QSizePolicy::Minimum, QSizePolicy::Policy vData = QSizePolicy::Minimum):QSpacerItem(w, h, hData, vData),_wrapper(NULL) {}; + +virtual Qt::Orientations expandingDirections() const; +virtual QRect geometry() const; +virtual bool hasHeightForWidth() const; +virtual int heightForWidth(int arg__1) const; +virtual void invalidate(); +virtual bool isEmpty() const; +virtual QLayout* layout(); +virtual QSize maximumSize() const; +virtual int minimumHeightForWidth(int arg__1) const; +virtual QSize minimumSize() const; +virtual void setGeometry(const QRect& arg__1); +virtual QSize sizeHint() const; +virtual QSpacerItem* spacerItem(); +virtual QWidget* widget(); + + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtPublicPromoter_QSpacerItem : public QSpacerItem +{ public: +inline Qt::Orientations promoted_expandingDirections() const { return QSpacerItem::expandingDirections(); } +inline QRect promoted_geometry() const { return QSpacerItem::geometry(); } +inline bool promoted_isEmpty() const { return QSpacerItem::isEmpty(); } +inline QSize promoted_maximumSize() const { return QSpacerItem::maximumSize(); } +inline QSize promoted_minimumSize() const { return QSpacerItem::minimumSize(); } +inline void promoted_setGeometry(const QRect& arg__1) { QSpacerItem::setGeometry(arg__1); } +inline QSize promoted_sizeHint() const { return QSpacerItem::sizeHint(); } +inline QSpacerItem* promoted_spacerItem() { return QSpacerItem::spacerItem(); } +}; + +class PythonQtWrapper_QSpacerItem : public QObject +{ Q_OBJECT +public: +public slots: +QSpacerItem* new_QSpacerItem(int w, int h, QSizePolicy::Policy hData = QSizePolicy::Minimum, QSizePolicy::Policy vData = QSizePolicy::Minimum); +void delete_QSpacerItem(QSpacerItem* obj) { delete obj; } + void changeSize(QSpacerItem* theWrappedObject, int w, int h, QSizePolicy::Policy hData = QSizePolicy::Minimum, QSizePolicy::Policy vData = QSizePolicy::Minimum); + Qt::Orientations expandingDirections(QSpacerItem* theWrappedObject) const; + QRect geometry(QSpacerItem* theWrappedObject) const; + bool isEmpty(QSpacerItem* theWrappedObject) const; + QSize maximumSize(QSpacerItem* theWrappedObject) const; + QSize minimumSize(QSpacerItem* theWrappedObject) const; + void setGeometry(QSpacerItem* theWrappedObject, const QRect& arg__1); + QSize sizeHint(QSpacerItem* theWrappedObject) const; + QSpacerItem* spacerItem(QSpacerItem* theWrappedObject); +}; + + + + + +class PythonQtShell_QSpinBox : public QSpinBox +{ +public: + PythonQtShell_QSpinBox(QWidget* parent = 0):QSpinBox(parent),_wrapper(NULL) {}; + +virtual void actionEvent(QActionEvent* arg__1); +virtual void changeEvent(QEvent* event); +virtual void childEvent(QChildEvent* arg__1); +virtual void clear(); +virtual void closeEvent(QCloseEvent* event); +virtual void contextMenuEvent(QContextMenuEvent* event); +virtual void customEvent(QEvent* arg__1); +virtual int devType() const; +virtual void dragEnterEvent(QDragEnterEvent* arg__1); +virtual void dragLeaveEvent(QDragLeaveEvent* arg__1); +virtual void dragMoveEvent(QDragMoveEvent* arg__1); +virtual void dropEvent(QDropEvent* arg__1); +virtual void enterEvent(QEvent* arg__1); +virtual bool event(QEvent* event); +virtual bool eventFilter(QObject* arg__1, QEvent* arg__2); +virtual void fixup(QString& str) const; +virtual void focusInEvent(QFocusEvent* event); +virtual bool focusNextPrevChild(bool next); +virtual void focusOutEvent(QFocusEvent* event); +virtual int heightForWidth(int arg__1) const; +virtual void hideEvent(QHideEvent* event); +virtual void inputMethodEvent(QInputMethodEvent* arg__1); +virtual QVariant inputMethodQuery(Qt::InputMethodQuery arg__1) const; +virtual void keyPressEvent(QKeyEvent* event); +virtual void keyReleaseEvent(QKeyEvent* event); +virtual void languageChange(); +virtual void leaveEvent(QEvent* arg__1); +virtual int metric(QPaintDevice::PaintDeviceMetric arg__1) const; +virtual void mouseDoubleClickEvent(QMouseEvent* arg__1); +virtual void mouseMoveEvent(QMouseEvent* event); +virtual void mousePressEvent(QMouseEvent* event); +virtual void mouseReleaseEvent(QMouseEvent* event); +virtual void moveEvent(QMoveEvent* arg__1); +virtual QPaintEngine* paintEngine() const; +virtual void paintEvent(QPaintEvent* event); +virtual void resizeEvent(QResizeEvent* event); +virtual void showEvent(QShowEvent* event); +virtual void stepBy(int steps); +virtual QAbstractSpinBox::StepEnabled stepEnabled() const; +virtual void tabletEvent(QTabletEvent* arg__1); +virtual QString textFromValue(int val) const; +virtual void timerEvent(QTimerEvent* event); +virtual QValidator::State validate(QString& input, int& pos) const; +virtual int valueFromText(const QString& text) const; +virtual void wheelEvent(QWheelEvent* event); + + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtPublicPromoter_QSpinBox : public QSpinBox +{ public: +inline bool promoted_event(QEvent* event) { return QSpinBox::event(event); } +inline void promoted_fixup(QString& str) const { QSpinBox::fixup(str); } +inline QString promoted_textFromValue(int val) const { return QSpinBox::textFromValue(val); } +inline QValidator::State promoted_validate(QString& input, int& pos) const { return QSpinBox::validate(input, pos); } +inline int promoted_valueFromText(const QString& text) const { return QSpinBox::valueFromText(text); } +}; + +class PythonQtWrapper_QSpinBox : public QObject +{ Q_OBJECT +public: +public slots: +QSpinBox* new_QSpinBox(QWidget* parent = 0); +void delete_QSpinBox(QSpinBox* obj) { delete obj; } + QString cleanText(QSpinBox* theWrappedObject) const; + bool event(QSpinBox* theWrappedObject, QEvent* event); + void fixup(QSpinBox* theWrappedObject, QString& str) const; + int maximum(QSpinBox* theWrappedObject) const; + int minimum(QSpinBox* theWrappedObject) const; + QString prefix(QSpinBox* theWrappedObject) const; + void setMaximum(QSpinBox* theWrappedObject, int max); + void setMinimum(QSpinBox* theWrappedObject, int min); + void setPrefix(QSpinBox* theWrappedObject, const QString& prefix); + void setRange(QSpinBox* theWrappedObject, int min, int max); + void setSingleStep(QSpinBox* theWrappedObject, int val); + void setSuffix(QSpinBox* theWrappedObject, const QString& suffix); + int singleStep(QSpinBox* theWrappedObject) const; + QString suffix(QSpinBox* theWrappedObject) const; + QString textFromValue(QSpinBox* theWrappedObject, int val) const; + QValidator::State validate(QSpinBox* theWrappedObject, QString& input, int& pos) const; + int value(QSpinBox* theWrappedObject) const; + int valueFromText(QSpinBox* theWrappedObject, const QString& text) const; +}; + + + + + +class PythonQtShell_QSplashScreen : public QSplashScreen +{ +public: + PythonQtShell_QSplashScreen(QWidget* parent, const QPixmap& pixmap = QPixmap(), Qt::WindowFlags f = 0):QSplashScreen(parent, pixmap, f),_wrapper(NULL) {}; + PythonQtShell_QSplashScreen(const QPixmap& pixmap = QPixmap(), Qt::WindowFlags f = 0):QSplashScreen(pixmap, f),_wrapper(NULL) {}; + +virtual void actionEvent(QActionEvent* arg__1); +virtual void changeEvent(QEvent* arg__1); +virtual void childEvent(QChildEvent* arg__1); +virtual void closeEvent(QCloseEvent* arg__1); +virtual void contextMenuEvent(QContextMenuEvent* arg__1); +virtual void customEvent(QEvent* arg__1); +virtual int devType() const; +virtual void dragEnterEvent(QDragEnterEvent* arg__1); +virtual void dragLeaveEvent(QDragLeaveEvent* arg__1); +virtual void dragMoveEvent(QDragMoveEvent* arg__1); +virtual void drawContents(QPainter* painter); +virtual void dropEvent(QDropEvent* arg__1); +virtual void enterEvent(QEvent* arg__1); +virtual bool event(QEvent* e); +virtual bool eventFilter(QObject* arg__1, QEvent* arg__2); +virtual void focusInEvent(QFocusEvent* arg__1); +virtual bool focusNextPrevChild(bool next); +virtual void focusOutEvent(QFocusEvent* arg__1); +virtual int heightForWidth(int arg__1) const; +virtual void hideEvent(QHideEvent* arg__1); +virtual void inputMethodEvent(QInputMethodEvent* arg__1); +virtual QVariant inputMethodQuery(Qt::InputMethodQuery arg__1) const; +virtual void keyPressEvent(QKeyEvent* arg__1); +virtual void keyReleaseEvent(QKeyEvent* arg__1); +virtual void languageChange(); +virtual void leaveEvent(QEvent* arg__1); +virtual int metric(QPaintDevice::PaintDeviceMetric arg__1) const; +virtual QSize minimumSizeHint() const; +virtual void mouseDoubleClickEvent(QMouseEvent* arg__1); +virtual void mouseMoveEvent(QMouseEvent* arg__1); +virtual void mousePressEvent(QMouseEvent* arg__1); +virtual void mouseReleaseEvent(QMouseEvent* arg__1); +virtual void moveEvent(QMoveEvent* arg__1); +virtual QPaintEngine* paintEngine() const; +virtual void paintEvent(QPaintEvent* arg__1); +virtual void resizeEvent(QResizeEvent* arg__1); +virtual void showEvent(QShowEvent* arg__1); +virtual QSize sizeHint() const; +virtual void tabletEvent(QTabletEvent* arg__1); +virtual void timerEvent(QTimerEvent* arg__1); +virtual void wheelEvent(QWheelEvent* arg__1); + + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtPublicPromoter_QSplashScreen : public QSplashScreen +{ public: +inline void promoted_drawContents(QPainter* painter) { QSplashScreen::drawContents(painter); } +inline bool promoted_event(QEvent* e) { return QSplashScreen::event(e); } +inline void promoted_mousePressEvent(QMouseEvent* arg__1) { QSplashScreen::mousePressEvent(arg__1); } +}; + +class PythonQtWrapper_QSplashScreen : public QObject +{ Q_OBJECT +public: +public slots: +QSplashScreen* new_QSplashScreen(QWidget* parent, const QPixmap& pixmap = QPixmap(), Qt::WindowFlags f = 0); +QSplashScreen* new_QSplashScreen(const QPixmap& pixmap = QPixmap(), Qt::WindowFlags f = 0); +void delete_QSplashScreen(QSplashScreen* obj) { delete obj; } + void drawContents(QSplashScreen* theWrappedObject, QPainter* painter); + bool event(QSplashScreen* theWrappedObject, QEvent* e); + void finish(QSplashScreen* theWrappedObject, QWidget* w); + void mousePressEvent(QSplashScreen* theWrappedObject, QMouseEvent* arg__1); + const QPixmap pixmap(QSplashScreen* theWrappedObject) const; + void setPixmap(QSplashScreen* theWrappedObject, const QPixmap& pixmap); +}; + + + + + +class PythonQtShell_QSplitter : public QSplitter +{ +public: + PythonQtShell_QSplitter(QWidget* parent = 0):QSplitter(parent),_wrapper(NULL) {}; + PythonQtShell_QSplitter(Qt::Orientation arg__1, QWidget* parent = 0):QSplitter(arg__1, parent),_wrapper(NULL) {}; + +virtual void actionEvent(QActionEvent* arg__1); +virtual void changeEvent(QEvent* arg__1); +virtual void childEvent(QChildEvent* arg__1); +virtual void closeEvent(QCloseEvent* arg__1); +virtual void contextMenuEvent(QContextMenuEvent* arg__1); +virtual QSplitterHandle* createHandle(); +virtual void customEvent(QEvent* arg__1); +virtual int devType() const; +virtual void dragEnterEvent(QDragEnterEvent* arg__1); +virtual void dragLeaveEvent(QDragLeaveEvent* arg__1); +virtual void dragMoveEvent(QDragMoveEvent* arg__1); +virtual void dropEvent(QDropEvent* arg__1); +virtual void enterEvent(QEvent* arg__1); +virtual bool event(QEvent* arg__1); +virtual bool eventFilter(QObject* arg__1, QEvent* arg__2); +virtual void focusInEvent(QFocusEvent* arg__1); +virtual bool focusNextPrevChild(bool next); +virtual void focusOutEvent(QFocusEvent* arg__1); +virtual int heightForWidth(int arg__1) const; +virtual void hideEvent(QHideEvent* arg__1); +virtual void inputMethodEvent(QInputMethodEvent* arg__1); +virtual QVariant inputMethodQuery(Qt::InputMethodQuery arg__1) const; +virtual void keyPressEvent(QKeyEvent* arg__1); +virtual void keyReleaseEvent(QKeyEvent* arg__1); +virtual void languageChange(); +virtual void leaveEvent(QEvent* arg__1); +virtual int metric(QPaintDevice::PaintDeviceMetric arg__1) const; +virtual void mouseDoubleClickEvent(QMouseEvent* arg__1); +virtual void mouseMoveEvent(QMouseEvent* arg__1); +virtual void mousePressEvent(QMouseEvent* arg__1); +virtual void mouseReleaseEvent(QMouseEvent* arg__1); +virtual void moveEvent(QMoveEvent* arg__1); +virtual QPaintEngine* paintEngine() const; +virtual void paintEvent(QPaintEvent* arg__1); +virtual void resizeEvent(QResizeEvent* arg__1); +virtual void showEvent(QShowEvent* arg__1); +virtual void tabletEvent(QTabletEvent* arg__1); +virtual void timerEvent(QTimerEvent* arg__1); +virtual void wheelEvent(QWheelEvent* arg__1); + + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtPublicPromoter_QSplitter : public QSplitter +{ public: +inline void promoted_changeEvent(QEvent* arg__1) { QSplitter::changeEvent(arg__1); } +inline void promoted_childEvent(QChildEvent* arg__1) { QSplitter::childEvent(arg__1); } +inline QSplitterHandle* promoted_createHandle() { return QSplitter::createHandle(); } +inline bool promoted_event(QEvent* arg__1) { return QSplitter::event(arg__1); } +inline void promoted_resizeEvent(QResizeEvent* arg__1) { QSplitter::resizeEvent(arg__1); } +}; + +class PythonQtWrapper_QSplitter : public QObject +{ Q_OBJECT +public: +public slots: +QSplitter* new_QSplitter(QWidget* parent = 0); +QSplitter* new_QSplitter(Qt::Orientation arg__1, QWidget* parent = 0); +void delete_QSplitter(QSplitter* obj) { delete obj; } + void addWidget(QSplitter* theWrappedObject, QWidget* widget); + void changeEvent(QSplitter* theWrappedObject, QEvent* arg__1); + void childEvent(QSplitter* theWrappedObject, QChildEvent* arg__1); + bool childrenCollapsible(QSplitter* theWrappedObject) const; + int count(QSplitter* theWrappedObject) const; + QSplitterHandle* createHandle(QSplitter* theWrappedObject); + bool event(QSplitter* theWrappedObject, QEvent* arg__1); + void getRange(QSplitter* theWrappedObject, int index, int* arg__2, int* arg__3) const; + QSplitterHandle* handle(QSplitter* theWrappedObject, int index) const; + int handleWidth(QSplitter* theWrappedObject) const; + int indexOf(QSplitter* theWrappedObject, QWidget* w) const; + void insertWidget(QSplitter* theWrappedObject, int index, QWidget* widget); + bool isCollapsible(QSplitter* theWrappedObject, int index) const; + QSize minimumSizeHint(QSplitter* theWrappedObject) const; + bool opaqueResize(QSplitter* theWrappedObject) const; + void writeTo(QSplitter* theWrappedObject, QTextStream& arg__1); + void readFrom(QSplitter* theWrappedObject, QTextStream& arg__1); + Qt::Orientation orientation(QSplitter* theWrappedObject) const; + void refresh(QSplitter* theWrappedObject); + void resizeEvent(QSplitter* theWrappedObject, QResizeEvent* arg__1); + bool restoreState(QSplitter* theWrappedObject, const QByteArray& state); + QByteArray saveState(QSplitter* theWrappedObject) const; + void setChildrenCollapsible(QSplitter* theWrappedObject, bool arg__1); + void setCollapsible(QSplitter* theWrappedObject, int index, bool arg__2); + void setHandleWidth(QSplitter* theWrappedObject, int arg__1); + void setOpaqueResize(QSplitter* theWrappedObject, bool opaque = true); + void setOrientation(QSplitter* theWrappedObject, Qt::Orientation arg__1); + void setSizes(QSplitter* theWrappedObject, const QList& list); + void setStretchFactor(QSplitter* theWrappedObject, int index, int stretch); + QSize sizeHint(QSplitter* theWrappedObject) const; + QList sizes(QSplitter* theWrappedObject) const; + QWidget* widget(QSplitter* theWrappedObject, int index) const; +}; + + + + + +class PythonQtShell_QSplitterHandle : public QSplitterHandle +{ +public: + PythonQtShell_QSplitterHandle(Qt::Orientation o, QSplitter* parent):QSplitterHandle(o, parent),_wrapper(NULL) {}; + +virtual void actionEvent(QActionEvent* arg__1); +virtual void changeEvent(QEvent* arg__1); +virtual void childEvent(QChildEvent* arg__1); +virtual void closeEvent(QCloseEvent* arg__1); +virtual void contextMenuEvent(QContextMenuEvent* arg__1); +virtual void customEvent(QEvent* arg__1); +virtual int devType() const; +virtual void dragEnterEvent(QDragEnterEvent* arg__1); +virtual void dragLeaveEvent(QDragLeaveEvent* arg__1); +virtual void dragMoveEvent(QDragMoveEvent* arg__1); +virtual void dropEvent(QDropEvent* arg__1); +virtual void enterEvent(QEvent* arg__1); +virtual bool event(QEvent* arg__1); +virtual bool eventFilter(QObject* arg__1, QEvent* arg__2); +virtual void focusInEvent(QFocusEvent* arg__1); +virtual bool focusNextPrevChild(bool next); +virtual void focusOutEvent(QFocusEvent* arg__1); +virtual int heightForWidth(int arg__1) const; +virtual void hideEvent(QHideEvent* arg__1); +virtual void inputMethodEvent(QInputMethodEvent* arg__1); +virtual QVariant inputMethodQuery(Qt::InputMethodQuery arg__1) const; +virtual void keyPressEvent(QKeyEvent* arg__1); +virtual void keyReleaseEvent(QKeyEvent* arg__1); +virtual void languageChange(); +virtual void leaveEvent(QEvent* arg__1); +virtual int metric(QPaintDevice::PaintDeviceMetric arg__1) const; +virtual QSize minimumSizeHint() const; +virtual void mouseDoubleClickEvent(QMouseEvent* arg__1); +virtual void mouseMoveEvent(QMouseEvent* arg__1); +virtual void mousePressEvent(QMouseEvent* arg__1); +virtual void mouseReleaseEvent(QMouseEvent* arg__1); +virtual void moveEvent(QMoveEvent* arg__1); +virtual QPaintEngine* paintEngine() const; +virtual void paintEvent(QPaintEvent* arg__1); +virtual void resizeEvent(QResizeEvent* arg__1); +virtual void showEvent(QShowEvent* arg__1); +virtual void tabletEvent(QTabletEvent* arg__1); +virtual void timerEvent(QTimerEvent* arg__1); +virtual void wheelEvent(QWheelEvent* arg__1); + + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtPublicPromoter_QSplitterHandle : public QSplitterHandle +{ public: +inline bool promoted_event(QEvent* arg__1) { return QSplitterHandle::event(arg__1); } +inline void promoted_mouseMoveEvent(QMouseEvent* arg__1) { QSplitterHandle::mouseMoveEvent(arg__1); } +inline void promoted_mousePressEvent(QMouseEvent* arg__1) { QSplitterHandle::mousePressEvent(arg__1); } +inline void promoted_mouseReleaseEvent(QMouseEvent* arg__1) { QSplitterHandle::mouseReleaseEvent(arg__1); } +inline void promoted_paintEvent(QPaintEvent* arg__1) { QSplitterHandle::paintEvent(arg__1); } +}; + +class PythonQtWrapper_QSplitterHandle : public QObject +{ Q_OBJECT +public: +public slots: +QSplitterHandle* new_QSplitterHandle(Qt::Orientation o, QSplitter* parent); +void delete_QSplitterHandle(QSplitterHandle* obj) { delete obj; } + bool event(QSplitterHandle* theWrappedObject, QEvent* arg__1); + void mouseMoveEvent(QSplitterHandle* theWrappedObject, QMouseEvent* arg__1); + void mousePressEvent(QSplitterHandle* theWrappedObject, QMouseEvent* arg__1); + void mouseReleaseEvent(QSplitterHandle* theWrappedObject, QMouseEvent* arg__1); + bool opaqueResize(QSplitterHandle* theWrappedObject) const; + Qt::Orientation orientation(QSplitterHandle* theWrappedObject) const; + void paintEvent(QSplitterHandle* theWrappedObject, QPaintEvent* arg__1); + void setOrientation(QSplitterHandle* theWrappedObject, Qt::Orientation o); + QSize sizeHint(QSplitterHandle* theWrappedObject) const; + QSplitter* splitter(QSplitterHandle* theWrappedObject) const; +}; + + + + + +class PythonQtShell_QStackedLayout : public QStackedLayout +{ +public: + PythonQtShell_QStackedLayout():QStackedLayout(),_wrapper(NULL) {}; + PythonQtShell_QStackedLayout(QLayout* parentLayout):QStackedLayout(parentLayout),_wrapper(NULL) {}; + PythonQtShell_QStackedLayout(QWidget* parent):QStackedLayout(parent),_wrapper(NULL) {}; + +virtual void addItem(QLayoutItem* item); +virtual void childEvent(QChildEvent* e); +virtual int count() const; +virtual void customEvent(QEvent* arg__1); +virtual bool event(QEvent* arg__1); +virtual bool eventFilter(QObject* arg__1, QEvent* arg__2); +virtual Qt::Orientations expandingDirections() const; +virtual QRect geometry() const; +virtual int indexOf(QWidget* arg__1) const; +virtual void invalidate(); +virtual bool isEmpty() const; +virtual QLayoutItem* itemAt(int arg__1) const; +virtual QLayout* layout(); +virtual QSize maximumSize() const; +virtual QSize minimumSize() const; +virtual void setGeometry(const QRect& rect); +virtual QLayoutItem* takeAt(int arg__1); +virtual void timerEvent(QTimerEvent* arg__1); + + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtPublicPromoter_QStackedLayout : public QStackedLayout +{ public: +inline void promoted_addItem(QLayoutItem* item) { QStackedLayout::addItem(item); } +inline int promoted_count() const { return QStackedLayout::count(); } +inline QLayoutItem* promoted_itemAt(int arg__1) const { return QStackedLayout::itemAt(arg__1); } +inline QSize promoted_minimumSize() const { return QStackedLayout::minimumSize(); } +inline void promoted_setGeometry(const QRect& rect) { QStackedLayout::setGeometry(rect); } +inline QLayoutItem* promoted_takeAt(int arg__1) { return QStackedLayout::takeAt(arg__1); } +}; + +class PythonQtWrapper_QStackedLayout : public QObject +{ Q_OBJECT +public: +public slots: +QStackedLayout* new_QStackedLayout(); +QStackedLayout* new_QStackedLayout(QLayout* parentLayout); +QStackedLayout* new_QStackedLayout(QWidget* parent); +void delete_QStackedLayout(QStackedLayout* obj) { delete obj; } + void addItem(QStackedLayout* theWrappedObject, QLayoutItem* item); + int addWidget(QStackedLayout* theWrappedObject, QWidget* w); + int count(QStackedLayout* theWrappedObject) const; + int currentIndex(QStackedLayout* theWrappedObject) const; + QWidget* currentWidget(QStackedLayout* theWrappedObject) const; + int insertWidget(QStackedLayout* theWrappedObject, int index, QWidget* w); + QLayoutItem* itemAt(QStackedLayout* theWrappedObject, int arg__1) const; + QSize minimumSize(QStackedLayout* theWrappedObject) const; + void setGeometry(QStackedLayout* theWrappedObject, const QRect& rect); + void setStackingMode(QStackedLayout* theWrappedObject, QStackedLayout::StackingMode stackingMode); + QSize sizeHint(QStackedLayout* theWrappedObject) const; + QStackedLayout::StackingMode stackingMode(QStackedLayout* theWrappedObject) const; + QLayoutItem* takeAt(QStackedLayout* theWrappedObject, int arg__1); + QWidget* widget(QStackedLayout* theWrappedObject); + QWidget* widget(QStackedLayout* theWrappedObject, int arg__1) const; +}; + + diff --git a/generated_cpp_47/com_trolltech_qt_gui/com_trolltech_qt_gui7.cpp b/generated_cpp_47/com_trolltech_qt_gui/com_trolltech_qt_gui7.cpp new file mode 100644 index 00000000..4890c632 --- /dev/null +++ b/generated_cpp_47/com_trolltech_qt_gui/com_trolltech_qt_gui7.cpp @@ -0,0 +1,5209 @@ +#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 + +void PythonQtShell_QStackedWidget::actionEvent(QActionEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "actionEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QActionEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QStackedWidget::actionEvent(arg__1); +} +void PythonQtShell_QStackedWidget::changeEvent(QEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "changeEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QStackedWidget::changeEvent(arg__1); +} +void PythonQtShell_QStackedWidget::childEvent(QChildEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "childEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QChildEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QStackedWidget::childEvent(arg__1); +} +void PythonQtShell_QStackedWidget::closeEvent(QCloseEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "closeEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QCloseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QStackedWidget::closeEvent(arg__1); +} +void PythonQtShell_QStackedWidget::contextMenuEvent(QContextMenuEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "contextMenuEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QContextMenuEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QStackedWidget::contextMenuEvent(arg__1); +} +void PythonQtShell_QStackedWidget::customEvent(QEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "customEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QStackedWidget::customEvent(arg__1); +} +int PythonQtShell_QStackedWidget::devType() const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "devType"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + int returnValue; + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("devType", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QStackedWidget::devType(); +} +void PythonQtShell_QStackedWidget::dragEnterEvent(QDragEnterEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dragEnterEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QDragEnterEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QStackedWidget::dragEnterEvent(arg__1); +} +void PythonQtShell_QStackedWidget::dragLeaveEvent(QDragLeaveEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dragLeaveEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QDragLeaveEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QStackedWidget::dragLeaveEvent(arg__1); +} +void PythonQtShell_QStackedWidget::dragMoveEvent(QDragMoveEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dragMoveEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QDragMoveEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QStackedWidget::dragMoveEvent(arg__1); +} +void PythonQtShell_QStackedWidget::dropEvent(QDropEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dropEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QDropEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QStackedWidget::dropEvent(arg__1); +} +void PythonQtShell_QStackedWidget::enterEvent(QEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "enterEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QStackedWidget::enterEvent(arg__1); +} +bool PythonQtShell_QStackedWidget::event(QEvent* e) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "event"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue; + void* args[2] = {NULL, (void*)&e}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QStackedWidget::event(e); +} +bool PythonQtShell_QStackedWidget::eventFilter(QObject* arg__1, QEvent* arg__2) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "eventFilter"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue; + void* args[3] = {NULL, (void*)&arg__1, (void*)&arg__2}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QStackedWidget::eventFilter(arg__1, arg__2); +} +void PythonQtShell_QStackedWidget::focusInEvent(QFocusEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "focusInEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QFocusEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QStackedWidget::focusInEvent(arg__1); +} +bool PythonQtShell_QStackedWidget::focusNextPrevChild(bool next) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "focusNextPrevChild"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue; + void* args[2] = {NULL, (void*)&next}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("focusNextPrevChild", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QStackedWidget::focusNextPrevChild(next); +} +void PythonQtShell_QStackedWidget::focusOutEvent(QFocusEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "focusOutEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QFocusEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QStackedWidget::focusOutEvent(arg__1); +} +int PythonQtShell_QStackedWidget::heightForWidth(int arg__1) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "heightForWidth"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"int" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + int returnValue; + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("heightForWidth", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QStackedWidget::heightForWidth(arg__1); +} +void PythonQtShell_QStackedWidget::hideEvent(QHideEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "hideEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QHideEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QStackedWidget::hideEvent(arg__1); +} +void PythonQtShell_QStackedWidget::inputMethodEvent(QInputMethodEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "inputMethodEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QInputMethodEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QStackedWidget::inputMethodEvent(arg__1); +} +QVariant PythonQtShell_QStackedWidget::inputMethodQuery(Qt::InputMethodQuery arg__1) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "inputMethodQuery"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QVariant" , "Qt::InputMethodQuery"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + QVariant returnValue; + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result); + } else { + returnValue = *((QVariant*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QStackedWidget::inputMethodQuery(arg__1); +} +void PythonQtShell_QStackedWidget::keyPressEvent(QKeyEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "keyPressEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QKeyEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QStackedWidget::keyPressEvent(arg__1); +} +void PythonQtShell_QStackedWidget::keyReleaseEvent(QKeyEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "keyReleaseEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QKeyEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QStackedWidget::keyReleaseEvent(arg__1); +} +void PythonQtShell_QStackedWidget::languageChange() +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "languageChange"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={""}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QStackedWidget::languageChange(); +} +void PythonQtShell_QStackedWidget::leaveEvent(QEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "leaveEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QStackedWidget::leaveEvent(arg__1); +} +int PythonQtShell_QStackedWidget::metric(QPaintDevice::PaintDeviceMetric arg__1) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "metric"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + int returnValue; + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("metric", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QStackedWidget::metric(arg__1); +} +QSize PythonQtShell_QStackedWidget::minimumSizeHint() const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "getMinimumSizeHint"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QSize"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QSize returnValue; + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("getMinimumSizeHint", methodInfo, result); + } else { + returnValue = *((QSize*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QStackedWidget::minimumSizeHint(); +} +void PythonQtShell_QStackedWidget::mouseDoubleClickEvent(QMouseEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mouseDoubleClickEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QStackedWidget::mouseDoubleClickEvent(arg__1); +} +void PythonQtShell_QStackedWidget::mouseMoveEvent(QMouseEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mouseMoveEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QStackedWidget::mouseMoveEvent(arg__1); +} +void PythonQtShell_QStackedWidget::mousePressEvent(QMouseEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mousePressEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QStackedWidget::mousePressEvent(arg__1); +} +void PythonQtShell_QStackedWidget::mouseReleaseEvent(QMouseEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mouseReleaseEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QStackedWidget::mouseReleaseEvent(arg__1); +} +void PythonQtShell_QStackedWidget::moveEvent(QMoveEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "moveEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QMoveEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QStackedWidget::moveEvent(arg__1); +} +QPaintEngine* PythonQtShell_QStackedWidget::paintEngine() const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "paintEngine"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QPaintEngine*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QPaintEngine* returnValue; + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); + } else { + returnValue = *((QPaintEngine**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QStackedWidget::paintEngine(); +} +void PythonQtShell_QStackedWidget::paintEvent(QPaintEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "paintEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QPaintEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QStackedWidget::paintEvent(arg__1); +} +void PythonQtShell_QStackedWidget::resizeEvent(QResizeEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "resizeEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QResizeEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QStackedWidget::resizeEvent(arg__1); +} +void PythonQtShell_QStackedWidget::showEvent(QShowEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "showEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QShowEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QStackedWidget::showEvent(arg__1); +} +void PythonQtShell_QStackedWidget::tabletEvent(QTabletEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "tabletEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QTabletEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QStackedWidget::tabletEvent(arg__1); +} +void PythonQtShell_QStackedWidget::timerEvent(QTimerEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "timerEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QTimerEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QStackedWidget::timerEvent(arg__1); +} +void PythonQtShell_QStackedWidget::wheelEvent(QWheelEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "wheelEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QWheelEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QStackedWidget::wheelEvent(arg__1); +} +QStackedWidget* PythonQtWrapper_QStackedWidget::new_QStackedWidget(QWidget* parent) +{ +return new PythonQtShell_QStackedWidget(parent); } + +int PythonQtWrapper_QStackedWidget::addWidget(QStackedWidget* theWrappedObject, QWidget* w) +{ + return ( theWrappedObject->addWidget(w)); +} + +int PythonQtWrapper_QStackedWidget::count(QStackedWidget* theWrappedObject) const +{ + return ( theWrappedObject->count()); +} + +int PythonQtWrapper_QStackedWidget::currentIndex(QStackedWidget* theWrappedObject) const +{ + return ( theWrappedObject->currentIndex()); +} + +QWidget* PythonQtWrapper_QStackedWidget::currentWidget(QStackedWidget* theWrappedObject) const +{ + return ( theWrappedObject->currentWidget()); +} + +bool PythonQtWrapper_QStackedWidget::event(QStackedWidget* theWrappedObject, QEvent* e) +{ + return ( ((PythonQtPublicPromoter_QStackedWidget*)theWrappedObject)->promoted_event(e)); +} + +int PythonQtWrapper_QStackedWidget::indexOf(QStackedWidget* theWrappedObject, QWidget* arg__1) const +{ + return ( theWrappedObject->indexOf(arg__1)); +} + +int PythonQtWrapper_QStackedWidget::insertWidget(QStackedWidget* theWrappedObject, int index, QWidget* w) +{ + return ( theWrappedObject->insertWidget(index, w)); +} + +void PythonQtWrapper_QStackedWidget::removeWidget(QStackedWidget* theWrappedObject, QWidget* w) +{ + ( theWrappedObject->removeWidget(w)); +} + +QWidget* PythonQtWrapper_QStackedWidget::widget(QStackedWidget* theWrappedObject, int arg__1) const +{ + return ( theWrappedObject->widget(arg__1)); +} + + + +QStandardItem* PythonQtShell_QStandardItem::clone() const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "clone"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QStandardItem*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QStandardItem* returnValue; + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("clone", methodInfo, result); + } else { + returnValue = *((QStandardItem**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QStandardItem::clone(); +} +QVariant PythonQtShell_QStandardItem::data(int role) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "data"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QVariant" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + QVariant returnValue; + void* args[2] = {NULL, (void*)&role}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("data", methodInfo, result); + } else { + returnValue = *((QVariant*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QStandardItem::data(role); +} +bool PythonQtShell_QStandardItem::__lt__(const QStandardItem& other) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "__lt__"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "const QStandardItem&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue; + void* args[2] = {NULL, (void*)&other}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("__lt__", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QStandardItem::operator<(other); +} +void PythonQtShell_QStandardItem::read(QDataStream& in) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "read"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QDataStream&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&in}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QStandardItem::read(in); +} +void PythonQtShell_QStandardItem::setData(const QVariant& value, int role) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "setData"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "const QVariant&" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + void* args[3] = {NULL, (void*)&value, (void*)&role}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QStandardItem::setData(value, role); +} +int PythonQtShell_QStandardItem::type() const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "type"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + int returnValue; + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("type", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QStandardItem::type(); +} +void PythonQtShell_QStandardItem::write(QDataStream& out) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "write"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QDataStream&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&out}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QStandardItem::write(out); +} +QStandardItem* PythonQtWrapper_QStandardItem::new_QStandardItem() +{ +return new PythonQtShell_QStandardItem(); } + +QStandardItem* PythonQtWrapper_QStandardItem::new_QStandardItem(const QIcon& icon, const QString& text) +{ +return new PythonQtShell_QStandardItem(icon, text); } + +QStandardItem* PythonQtWrapper_QStandardItem::new_QStandardItem(const QString& text) +{ +return new PythonQtShell_QStandardItem(text); } + +QStandardItem* PythonQtWrapper_QStandardItem::new_QStandardItem(int rows, int columns) +{ +return new PythonQtShell_QStandardItem(rows, columns); } + +QString PythonQtWrapper_QStandardItem::accessibleDescription(QStandardItem* theWrappedObject) const +{ + return ( theWrappedObject->accessibleDescription()); +} + +QString PythonQtWrapper_QStandardItem::accessibleText(QStandardItem* theWrappedObject) const +{ + return ( theWrappedObject->accessibleText()); +} + +void PythonQtWrapper_QStandardItem::appendColumn(QStandardItem* theWrappedObject, const QList& items) +{ + ( theWrappedObject->appendColumn(items)); +} + +void PythonQtWrapper_QStandardItem::appendRow(QStandardItem* theWrappedObject, QStandardItem* item) +{ + ( theWrappedObject->appendRow(item)); +} + +void PythonQtWrapper_QStandardItem::appendRow(QStandardItem* theWrappedObject, const QList& items) +{ + ( theWrappedObject->appendRow(items)); +} + +void PythonQtWrapper_QStandardItem::appendRows(QStandardItem* theWrappedObject, const QList& items) +{ + ( theWrappedObject->appendRows(items)); +} + +QBrush PythonQtWrapper_QStandardItem::background(QStandardItem* theWrappedObject) const +{ + return ( theWrappedObject->background()); +} + +Qt::CheckState PythonQtWrapper_QStandardItem::checkState(QStandardItem* theWrappedObject) const +{ + return ( theWrappedObject->checkState()); +} + +QStandardItem* PythonQtWrapper_QStandardItem::child(QStandardItem* theWrappedObject, int row, int column) const +{ + return ( theWrappedObject->child(row, column)); +} + +QStandardItem* PythonQtWrapper_QStandardItem::clone(QStandardItem* theWrappedObject) const +{ + return ( ((PythonQtPublicPromoter_QStandardItem*)theWrappedObject)->promoted_clone()); +} + +int PythonQtWrapper_QStandardItem::column(QStandardItem* theWrappedObject) const +{ + return ( theWrappedObject->column()); +} + +int PythonQtWrapper_QStandardItem::columnCount(QStandardItem* theWrappedObject) const +{ + return ( theWrappedObject->columnCount()); +} + +QVariant PythonQtWrapper_QStandardItem::data(QStandardItem* theWrappedObject, int role) const +{ + return ( ((PythonQtPublicPromoter_QStandardItem*)theWrappedObject)->promoted_data(role)); +} + +Qt::ItemFlags PythonQtWrapper_QStandardItem::flags(QStandardItem* theWrappedObject) const +{ + return ( theWrappedObject->flags()); +} + +QFont PythonQtWrapper_QStandardItem::font(QStandardItem* theWrappedObject) const +{ + return ( theWrappedObject->font()); +} + +QBrush PythonQtWrapper_QStandardItem::foreground(QStandardItem* theWrappedObject) const +{ + return ( theWrappedObject->foreground()); +} + +bool PythonQtWrapper_QStandardItem::hasChildren(QStandardItem* theWrappedObject) const +{ + return ( theWrappedObject->hasChildren()); +} + +QIcon PythonQtWrapper_QStandardItem::icon(QStandardItem* theWrappedObject) const +{ + return ( theWrappedObject->icon()); +} + +QModelIndex PythonQtWrapper_QStandardItem::index(QStandardItem* theWrappedObject) const +{ + return ( theWrappedObject->index()); +} + +void PythonQtWrapper_QStandardItem::insertColumn(QStandardItem* theWrappedObject, int column, const QList& items) +{ + ( theWrappedObject->insertColumn(column, items)); +} + +void PythonQtWrapper_QStandardItem::insertColumns(QStandardItem* theWrappedObject, int column, int count) +{ + ( theWrappedObject->insertColumns(column, count)); +} + +void PythonQtWrapper_QStandardItem::insertRow(QStandardItem* theWrappedObject, int row, QStandardItem* item) +{ + ( theWrappedObject->insertRow(row, item)); +} + +void PythonQtWrapper_QStandardItem::insertRow(QStandardItem* theWrappedObject, int row, const QList& items) +{ + ( theWrappedObject->insertRow(row, items)); +} + +void PythonQtWrapper_QStandardItem::insertRows(QStandardItem* theWrappedObject, int row, const QList& items) +{ + ( theWrappedObject->insertRows(row, items)); +} + +void PythonQtWrapper_QStandardItem::insertRows(QStandardItem* theWrappedObject, int row, int count) +{ + ( theWrappedObject->insertRows(row, count)); +} + +bool PythonQtWrapper_QStandardItem::isCheckable(QStandardItem* theWrappedObject) const +{ + return ( theWrappedObject->isCheckable()); +} + +bool PythonQtWrapper_QStandardItem::isDragEnabled(QStandardItem* theWrappedObject) const +{ + return ( theWrappedObject->isDragEnabled()); +} + +bool PythonQtWrapper_QStandardItem::isDropEnabled(QStandardItem* theWrappedObject) const +{ + return ( theWrappedObject->isDropEnabled()); +} + +bool PythonQtWrapper_QStandardItem::isEditable(QStandardItem* theWrappedObject) const +{ + return ( theWrappedObject->isEditable()); +} + +bool PythonQtWrapper_QStandardItem::isEnabled(QStandardItem* theWrappedObject) const +{ + return ( theWrappedObject->isEnabled()); +} + +bool PythonQtWrapper_QStandardItem::isSelectable(QStandardItem* theWrappedObject) const +{ + return ( theWrappedObject->isSelectable()); +} + +bool PythonQtWrapper_QStandardItem::isTristate(QStandardItem* theWrappedObject) const +{ + return ( theWrappedObject->isTristate()); +} + +QStandardItemModel* PythonQtWrapper_QStandardItem::model(QStandardItem* theWrappedObject) const +{ + return ( theWrappedObject->model()); +} + +void PythonQtWrapper_QStandardItem::writeTo(QStandardItem* theWrappedObject, QDataStream& out) +{ + out << (*theWrappedObject); +} + +void PythonQtWrapper_QStandardItem::readFrom(QStandardItem* theWrappedObject, QDataStream& in) +{ + in >> (*theWrappedObject); +} + +QStandardItem* PythonQtWrapper_QStandardItem::parent(QStandardItem* theWrappedObject) const +{ + return ( theWrappedObject->parent()); +} + +void PythonQtWrapper_QStandardItem::removeColumn(QStandardItem* theWrappedObject, int column) +{ + ( theWrappedObject->removeColumn(column)); +} + +void PythonQtWrapper_QStandardItem::removeColumns(QStandardItem* theWrappedObject, int column, int count) +{ + ( theWrappedObject->removeColumns(column, count)); +} + +void PythonQtWrapper_QStandardItem::removeRow(QStandardItem* theWrappedObject, int row) +{ + ( theWrappedObject->removeRow(row)); +} + +void PythonQtWrapper_QStandardItem::removeRows(QStandardItem* theWrappedObject, int row, int count) +{ + ( theWrappedObject->removeRows(row, count)); +} + +int PythonQtWrapper_QStandardItem::row(QStandardItem* theWrappedObject) const +{ + return ( theWrappedObject->row()); +} + +int PythonQtWrapper_QStandardItem::rowCount(QStandardItem* theWrappedObject) const +{ + return ( theWrappedObject->rowCount()); +} + +void PythonQtWrapper_QStandardItem::setAccessibleDescription(QStandardItem* theWrappedObject, const QString& accessibleDescription) +{ + ( theWrappedObject->setAccessibleDescription(accessibleDescription)); +} + +void PythonQtWrapper_QStandardItem::setAccessibleText(QStandardItem* theWrappedObject, const QString& accessibleText) +{ + ( theWrappedObject->setAccessibleText(accessibleText)); +} + +void PythonQtWrapper_QStandardItem::setBackground(QStandardItem* theWrappedObject, const QBrush& brush) +{ + ( theWrappedObject->setBackground(brush)); +} + +void PythonQtWrapper_QStandardItem::setCheckState(QStandardItem* theWrappedObject, Qt::CheckState checkState) +{ + ( theWrappedObject->setCheckState(checkState)); +} + +void PythonQtWrapper_QStandardItem::setCheckable(QStandardItem* theWrappedObject, bool checkable) +{ + ( theWrappedObject->setCheckable(checkable)); +} + +void PythonQtWrapper_QStandardItem::setChild(QStandardItem* theWrappedObject, int row, QStandardItem* item) +{ + ( theWrappedObject->setChild(row, item)); +} + +void PythonQtWrapper_QStandardItem::setChild(QStandardItem* theWrappedObject, int row, int column, QStandardItem* item) +{ + ( theWrappedObject->setChild(row, column, item)); +} + +void PythonQtWrapper_QStandardItem::setColumnCount(QStandardItem* theWrappedObject, int columns) +{ + ( theWrappedObject->setColumnCount(columns)); +} + +void PythonQtWrapper_QStandardItem::setData(QStandardItem* theWrappedObject, const QVariant& value, int role) +{ + ( ((PythonQtPublicPromoter_QStandardItem*)theWrappedObject)->promoted_setData(value, role)); +} + +void PythonQtWrapper_QStandardItem::setDragEnabled(QStandardItem* theWrappedObject, bool dragEnabled) +{ + ( theWrappedObject->setDragEnabled(dragEnabled)); +} + +void PythonQtWrapper_QStandardItem::setDropEnabled(QStandardItem* theWrappedObject, bool dropEnabled) +{ + ( theWrappedObject->setDropEnabled(dropEnabled)); +} + +void PythonQtWrapper_QStandardItem::setEditable(QStandardItem* theWrappedObject, bool editable) +{ + ( theWrappedObject->setEditable(editable)); +} + +void PythonQtWrapper_QStandardItem::setEnabled(QStandardItem* theWrappedObject, bool enabled) +{ + ( theWrappedObject->setEnabled(enabled)); +} + +void PythonQtWrapper_QStandardItem::setFlags(QStandardItem* theWrappedObject, Qt::ItemFlags flags) +{ + ( theWrappedObject->setFlags(flags)); +} + +void PythonQtWrapper_QStandardItem::setFont(QStandardItem* theWrappedObject, const QFont& font) +{ + ( theWrappedObject->setFont(font)); +} + +void PythonQtWrapper_QStandardItem::setForeground(QStandardItem* theWrappedObject, const QBrush& brush) +{ + ( theWrappedObject->setForeground(brush)); +} + +void PythonQtWrapper_QStandardItem::setIcon(QStandardItem* theWrappedObject, const QIcon& icon) +{ + ( theWrappedObject->setIcon(icon)); +} + +void PythonQtWrapper_QStandardItem::setRowCount(QStandardItem* theWrappedObject, int rows) +{ + ( theWrappedObject->setRowCount(rows)); +} + +void PythonQtWrapper_QStandardItem::setSelectable(QStandardItem* theWrappedObject, bool selectable) +{ + ( theWrappedObject->setSelectable(selectable)); +} + +void PythonQtWrapper_QStandardItem::setSizeHint(QStandardItem* theWrappedObject, const QSize& sizeHint) +{ + ( theWrappedObject->setSizeHint(sizeHint)); +} + +void PythonQtWrapper_QStandardItem::setStatusTip(QStandardItem* theWrappedObject, const QString& statusTip) +{ + ( theWrappedObject->setStatusTip(statusTip)); +} + +void PythonQtWrapper_QStandardItem::setText(QStandardItem* theWrappedObject, const QString& text) +{ + ( theWrappedObject->setText(text)); +} + +void PythonQtWrapper_QStandardItem::setTextAlignment(QStandardItem* theWrappedObject, Qt::Alignment textAlignment) +{ + ( theWrappedObject->setTextAlignment(textAlignment)); +} + +void PythonQtWrapper_QStandardItem::setToolTip(QStandardItem* theWrappedObject, const QString& toolTip) +{ + ( theWrappedObject->setToolTip(toolTip)); +} + +void PythonQtWrapper_QStandardItem::setTristate(QStandardItem* theWrappedObject, bool tristate) +{ + ( theWrappedObject->setTristate(tristate)); +} + +void PythonQtWrapper_QStandardItem::setWhatsThis(QStandardItem* theWrappedObject, const QString& whatsThis) +{ + ( theWrappedObject->setWhatsThis(whatsThis)); +} + +QSize PythonQtWrapper_QStandardItem::sizeHint(QStandardItem* theWrappedObject) const +{ + return ( theWrappedObject->sizeHint()); +} + +void PythonQtWrapper_QStandardItem::sortChildren(QStandardItem* theWrappedObject, int column, Qt::SortOrder order) +{ + ( theWrappedObject->sortChildren(column, order)); +} + +QString PythonQtWrapper_QStandardItem::statusTip(QStandardItem* theWrappedObject) const +{ + return ( theWrappedObject->statusTip()); +} + +QStandardItem* PythonQtWrapper_QStandardItem::takeChild(QStandardItem* theWrappedObject, int row, int column) +{ + return ( theWrappedObject->takeChild(row, column)); +} + +QList PythonQtWrapper_QStandardItem::takeColumn(QStandardItem* theWrappedObject, int column) +{ + return ( theWrappedObject->takeColumn(column)); +} + +QList PythonQtWrapper_QStandardItem::takeRow(QStandardItem* theWrappedObject, int row) +{ + return ( theWrappedObject->takeRow(row)); +} + +QString PythonQtWrapper_QStandardItem::text(QStandardItem* theWrappedObject) const +{ + return ( theWrappedObject->text()); +} + +Qt::Alignment PythonQtWrapper_QStandardItem::textAlignment(QStandardItem* theWrappedObject) const +{ + return ( theWrappedObject->textAlignment()); +} + +QString PythonQtWrapper_QStandardItem::toolTip(QStandardItem* theWrappedObject) const +{ + return ( theWrappedObject->toolTip()); +} + +int PythonQtWrapper_QStandardItem::type(QStandardItem* theWrappedObject) const +{ + return ( ((PythonQtPublicPromoter_QStandardItem*)theWrappedObject)->promoted_type()); +} + +QString PythonQtWrapper_QStandardItem::whatsThis(QStandardItem* theWrappedObject) const +{ + return ( theWrappedObject->whatsThis()); +} + + + +QModelIndex PythonQtShell_QStandardItemModel::buddy(const QModelIndex& index) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "buddy"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QModelIndex" , "const QModelIndex&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + QModelIndex returnValue; + void* args[2] = {NULL, (void*)&index}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("buddy", methodInfo, result); + } else { + returnValue = *((QModelIndex*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QStandardItemModel::buddy(index); +} +bool PythonQtShell_QStandardItemModel::canFetchMore(const QModelIndex& parent) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "canFetchMore"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "const QModelIndex&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue; + void* args[2] = {NULL, (void*)&parent}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("canFetchMore", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QStandardItemModel::canFetchMore(parent); +} +void PythonQtShell_QStandardItemModel::childEvent(QChildEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "childEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QChildEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QStandardItemModel::childEvent(arg__1); +} +int PythonQtShell_QStandardItemModel::columnCount(const QModelIndex& parent) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "columnCount"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"int" , "const QModelIndex&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + int returnValue; + void* args[2] = {NULL, (void*)&parent}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("columnCount", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QStandardItemModel::columnCount(parent); +} +void PythonQtShell_QStandardItemModel::customEvent(QEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "customEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QStandardItemModel::customEvent(arg__1); +} +QVariant PythonQtShell_QStandardItemModel::data(const QModelIndex& index, int role) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "data"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QVariant" , "const QModelIndex&" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + QVariant returnValue; + void* args[3] = {NULL, (void*)&index, (void*)&role}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("data", methodInfo, result); + } else { + returnValue = *((QVariant*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QStandardItemModel::data(index, role); +} +bool PythonQtShell_QStandardItemModel::dropMimeData(const QMimeData* data, Qt::DropAction action, int row, int column, const QModelIndex& parent) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dropMimeData"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "const QMimeData*" , "Qt::DropAction" , "int" , "int" , "const QModelIndex&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(6, argumentList); + bool returnValue; + void* args[6] = {NULL, (void*)&data, (void*)&action, (void*)&row, (void*)&column, (void*)&parent}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("dropMimeData", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QStandardItemModel::dropMimeData(data, action, row, column, parent); +} +bool PythonQtShell_QStandardItemModel::event(QEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "event"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue; + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QStandardItemModel::event(arg__1); +} +bool PythonQtShell_QStandardItemModel::eventFilter(QObject* arg__1, QEvent* arg__2) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "eventFilter"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue; + void* args[3] = {NULL, (void*)&arg__1, (void*)&arg__2}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QStandardItemModel::eventFilter(arg__1, arg__2); +} +void PythonQtShell_QStandardItemModel::fetchMore(const QModelIndex& parent) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "fetchMore"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "const QModelIndex&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&parent}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QStandardItemModel::fetchMore(parent); +} +Qt::ItemFlags PythonQtShell_QStandardItemModel::flags(const QModelIndex& index) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "flags"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"Qt::ItemFlags" , "const QModelIndex&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + Qt::ItemFlags returnValue; + void* args[2] = {NULL, (void*)&index}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("flags", methodInfo, result); + } else { + returnValue = *((Qt::ItemFlags*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QStandardItemModel::flags(index); +} +bool PythonQtShell_QStandardItemModel::hasChildren(const QModelIndex& parent) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "hasChildren"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "const QModelIndex&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue; + void* args[2] = {NULL, (void*)&parent}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("hasChildren", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QStandardItemModel::hasChildren(parent); +} +QVariant PythonQtShell_QStandardItemModel::headerData(int section, Qt::Orientation orientation, int role) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "headerData"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QVariant" , "int" , "Qt::Orientation" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + QVariant returnValue; + void* args[4] = {NULL, (void*)§ion, (void*)&orientation, (void*)&role}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("headerData", methodInfo, result); + } else { + returnValue = *((QVariant*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QStandardItemModel::headerData(section, orientation, role); +} +QModelIndex PythonQtShell_QStandardItemModel::index(int row, int column, const QModelIndex& parent) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "index"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QModelIndex" , "int" , "int" , "const QModelIndex&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + QModelIndex returnValue; + void* args[4] = {NULL, (void*)&row, (void*)&column, (void*)&parent}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("index", methodInfo, result); + } else { + returnValue = *((QModelIndex*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QStandardItemModel::index(row, column, parent); +} +bool PythonQtShell_QStandardItemModel::insertColumns(int column, int count, const QModelIndex& parent) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "insertColumns"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "int" , "int" , "const QModelIndex&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + bool returnValue; + void* args[4] = {NULL, (void*)&column, (void*)&count, (void*)&parent}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("insertColumns", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QStandardItemModel::insertColumns(column, count, parent); +} +bool PythonQtShell_QStandardItemModel::insertRows(int row, int count, const QModelIndex& parent) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "insertRows"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "int" , "int" , "const QModelIndex&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + bool returnValue; + void* args[4] = {NULL, (void*)&row, (void*)&count, (void*)&parent}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("insertRows", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QStandardItemModel::insertRows(row, count, parent); +} +QMap PythonQtShell_QStandardItemModel::itemData(const QModelIndex& index) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "itemData"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QMap" , "const QModelIndex&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + QMap returnValue; + void* args[2] = {NULL, (void*)&index}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("itemData", methodInfo, result); + } else { + returnValue = *((QMap*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QStandardItemModel::itemData(index); +} +QList PythonQtShell_QStandardItemModel::match(const QModelIndex& start, int role, const QVariant& value, int hits, Qt::MatchFlags flags) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "match"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QList" , "const QModelIndex&" , "int" , "const QVariant&" , "int" , "Qt::MatchFlags"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(6, argumentList); + QList returnValue; + void* args[6] = {NULL, (void*)&start, (void*)&role, (void*)&value, (void*)&hits, (void*)&flags}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("match", methodInfo, result); + } else { + returnValue = *((QList*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QStandardItemModel::match(start, role, value, hits, flags); +} +QMimeData* PythonQtShell_QStandardItemModel::mimeData(const QList& indexes) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mimeData"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QMimeData*" , "const QList&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + QMimeData* returnValue; + void* args[2] = {NULL, (void*)&indexes}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("mimeData", methodInfo, result); + } else { + returnValue = *((QMimeData**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QStandardItemModel::mimeData(indexes); +} +QStringList PythonQtShell_QStandardItemModel::mimeTypes() const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mimeTypes"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QStringList"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QStringList returnValue; + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("mimeTypes", methodInfo, result); + } else { + returnValue = *((QStringList*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QStandardItemModel::mimeTypes(); +} +QModelIndex PythonQtShell_QStandardItemModel::parent(const QModelIndex& child) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "parent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QModelIndex" , "const QModelIndex&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + QModelIndex returnValue; + void* args[2] = {NULL, (void*)&child}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("parent", methodInfo, result); + } else { + returnValue = *((QModelIndex*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QStandardItemModel::parent(child); +} +bool PythonQtShell_QStandardItemModel::removeColumns(int column, int count, const QModelIndex& parent) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "removeColumns"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "int" , "int" , "const QModelIndex&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + bool returnValue; + void* args[4] = {NULL, (void*)&column, (void*)&count, (void*)&parent}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("removeColumns", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QStandardItemModel::removeColumns(column, count, parent); +} +bool PythonQtShell_QStandardItemModel::removeRows(int row, int count, const QModelIndex& parent) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "removeRows"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "int" , "int" , "const QModelIndex&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + bool returnValue; + void* args[4] = {NULL, (void*)&row, (void*)&count, (void*)&parent}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("removeRows", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QStandardItemModel::removeRows(row, count, parent); +} +void PythonQtShell_QStandardItemModel::revert() +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "revert"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={""}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QStandardItemModel::revert(); +} +int PythonQtShell_QStandardItemModel::rowCount(const QModelIndex& parent) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "rowCount"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"int" , "const QModelIndex&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + int returnValue; + void* args[2] = {NULL, (void*)&parent}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("rowCount", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QStandardItemModel::rowCount(parent); +} +bool PythonQtShell_QStandardItemModel::setData(const QModelIndex& index, const QVariant& value, int role) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "setData"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "const QModelIndex&" , "const QVariant&" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + bool returnValue; + void* args[4] = {NULL, (void*)&index, (void*)&value, (void*)&role}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("setData", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QStandardItemModel::setData(index, value, role); +} +bool PythonQtShell_QStandardItemModel::setHeaderData(int section, Qt::Orientation orientation, const QVariant& value, int role) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "setHeaderData"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "int" , "Qt::Orientation" , "const QVariant&" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(5, argumentList); + bool returnValue; + void* args[5] = {NULL, (void*)§ion, (void*)&orientation, (void*)&value, (void*)&role}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("setHeaderData", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QStandardItemModel::setHeaderData(section, orientation, value, role); +} +bool PythonQtShell_QStandardItemModel::setItemData(const QModelIndex& index, const QMap& roles) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "setItemData"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "const QModelIndex&" , "const QMap&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue; + void* args[3] = {NULL, (void*)&index, (void*)&roles}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("setItemData", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QStandardItemModel::setItemData(index, roles); +} +void PythonQtShell_QStandardItemModel::sort(int column, Qt::SortOrder order) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "sort"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "int" , "Qt::SortOrder"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + void* args[3] = {NULL, (void*)&column, (void*)&order}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QStandardItemModel::sort(column, order); +} +QSize PythonQtShell_QStandardItemModel::span(const QModelIndex& index) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "span"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QSize" , "const QModelIndex&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + QSize returnValue; + void* args[2] = {NULL, (void*)&index}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("span", methodInfo, result); + } else { + returnValue = *((QSize*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QStandardItemModel::span(index); +} +bool PythonQtShell_QStandardItemModel::submit() +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "submit"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + bool returnValue; + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("submit", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QStandardItemModel::submit(); +} +Qt::DropActions PythonQtShell_QStandardItemModel::supportedDropActions() const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "supportedDropActions"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"Qt::DropActions"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + Qt::DropActions returnValue; + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("supportedDropActions", methodInfo, result); + } else { + returnValue = *((Qt::DropActions*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QStandardItemModel::supportedDropActions(); +} +void PythonQtShell_QStandardItemModel::timerEvent(QTimerEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "timerEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QTimerEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QStandardItemModel::timerEvent(arg__1); +} +QStandardItemModel* PythonQtWrapper_QStandardItemModel::new_QStandardItemModel(QObject* parent) +{ +return new PythonQtShell_QStandardItemModel(parent); } + +QStandardItemModel* PythonQtWrapper_QStandardItemModel::new_QStandardItemModel(int rows, int columns, QObject* parent) +{ +return new PythonQtShell_QStandardItemModel(rows, columns, parent); } + +void PythonQtWrapper_QStandardItemModel::appendColumn(QStandardItemModel* theWrappedObject, const QList& items) +{ + ( theWrappedObject->appendColumn(items)); +} + +void PythonQtWrapper_QStandardItemModel::appendRow(QStandardItemModel* theWrappedObject, QStandardItem* item) +{ + ( theWrappedObject->appendRow(item)); +} + +void PythonQtWrapper_QStandardItemModel::appendRow(QStandardItemModel* theWrappedObject, const QList& items) +{ + ( theWrappedObject->appendRow(items)); +} + +void PythonQtWrapper_QStandardItemModel::clear(QStandardItemModel* theWrappedObject) +{ + ( theWrappedObject->clear()); +} + +int PythonQtWrapper_QStandardItemModel::columnCount(QStandardItemModel* theWrappedObject, const QModelIndex& parent) const +{ + return ( ((PythonQtPublicPromoter_QStandardItemModel*)theWrappedObject)->promoted_columnCount(parent)); +} + +QVariant PythonQtWrapper_QStandardItemModel::data(QStandardItemModel* theWrappedObject, const QModelIndex& index, int role) const +{ + return ( ((PythonQtPublicPromoter_QStandardItemModel*)theWrappedObject)->promoted_data(index, role)); +} + +bool PythonQtWrapper_QStandardItemModel::dropMimeData(QStandardItemModel* theWrappedObject, const QMimeData* data, Qt::DropAction action, int row, int column, const QModelIndex& parent) +{ + return ( ((PythonQtPublicPromoter_QStandardItemModel*)theWrappedObject)->promoted_dropMimeData(data, action, row, column, parent)); +} + +QList PythonQtWrapper_QStandardItemModel::findItems(QStandardItemModel* theWrappedObject, const QString& text, Qt::MatchFlags flags, int column) const +{ + return ( theWrappedObject->findItems(text, flags, column)); +} + +Qt::ItemFlags PythonQtWrapper_QStandardItemModel::flags(QStandardItemModel* theWrappedObject, const QModelIndex& index) const +{ + return ( ((PythonQtPublicPromoter_QStandardItemModel*)theWrappedObject)->promoted_flags(index)); +} + +bool PythonQtWrapper_QStandardItemModel::hasChildren(QStandardItemModel* theWrappedObject, const QModelIndex& parent) const +{ + return ( ((PythonQtPublicPromoter_QStandardItemModel*)theWrappedObject)->promoted_hasChildren(parent)); +} + +QVariant PythonQtWrapper_QStandardItemModel::headerData(QStandardItemModel* theWrappedObject, int section, Qt::Orientation orientation, int role) const +{ + return ( ((PythonQtPublicPromoter_QStandardItemModel*)theWrappedObject)->promoted_headerData(section, orientation, role)); +} + +QStandardItem* PythonQtWrapper_QStandardItemModel::horizontalHeaderItem(QStandardItemModel* theWrappedObject, int column) const +{ + return ( theWrappedObject->horizontalHeaderItem(column)); +} + +QModelIndex PythonQtWrapper_QStandardItemModel::index(QStandardItemModel* theWrappedObject, int row, int column, const QModelIndex& parent) const +{ + return ( ((PythonQtPublicPromoter_QStandardItemModel*)theWrappedObject)->promoted_index(row, column, parent)); +} + +QModelIndex PythonQtWrapper_QStandardItemModel::indexFromItem(QStandardItemModel* theWrappedObject, const QStandardItem* item) const +{ + return ( theWrappedObject->indexFromItem(item)); +} + +void PythonQtWrapper_QStandardItemModel::insertColumn(QStandardItemModel* theWrappedObject, int column, const QList& items) +{ + ( theWrappedObject->insertColumn(column, items)); +} + +bool PythonQtWrapper_QStandardItemModel::insertColumns(QStandardItemModel* theWrappedObject, int column, int count, const QModelIndex& parent) +{ + return ( ((PythonQtPublicPromoter_QStandardItemModel*)theWrappedObject)->promoted_insertColumns(column, count, parent)); +} + +void PythonQtWrapper_QStandardItemModel::insertRow(QStandardItemModel* theWrappedObject, int row, QStandardItem* item) +{ + ( theWrappedObject->insertRow(row, item)); +} + +void PythonQtWrapper_QStandardItemModel::insertRow(QStandardItemModel* theWrappedObject, int row, const QList& items) +{ + ( theWrappedObject->insertRow(row, items)); +} + +bool PythonQtWrapper_QStandardItemModel::insertRows(QStandardItemModel* theWrappedObject, int row, int count, const QModelIndex& parent) +{ + return ( ((PythonQtPublicPromoter_QStandardItemModel*)theWrappedObject)->promoted_insertRows(row, count, parent)); +} + +QStandardItem* PythonQtWrapper_QStandardItemModel::invisibleRootItem(QStandardItemModel* theWrappedObject) const +{ + return ( theWrappedObject->invisibleRootItem()); +} + +QStandardItem* PythonQtWrapper_QStandardItemModel::item(QStandardItemModel* theWrappedObject, int row, int column) const +{ + return ( theWrappedObject->item(row, column)); +} + +QMap PythonQtWrapper_QStandardItemModel::itemData(QStandardItemModel* theWrappedObject, const QModelIndex& index) const +{ + return ( ((PythonQtPublicPromoter_QStandardItemModel*)theWrappedObject)->promoted_itemData(index)); +} + +QStandardItem* PythonQtWrapper_QStandardItemModel::itemFromIndex(QStandardItemModel* theWrappedObject, const QModelIndex& index) const +{ + return ( theWrappedObject->itemFromIndex(index)); +} + +const QStandardItem* PythonQtWrapper_QStandardItemModel::itemPrototype(QStandardItemModel* theWrappedObject) const +{ + return ( theWrappedObject->itemPrototype()); +} + +QMimeData* PythonQtWrapper_QStandardItemModel::mimeData(QStandardItemModel* theWrappedObject, const QList& indexes) const +{ + return ( ((PythonQtPublicPromoter_QStandardItemModel*)theWrappedObject)->promoted_mimeData(indexes)); +} + +QStringList PythonQtWrapper_QStandardItemModel::mimeTypes(QStandardItemModel* theWrappedObject) const +{ + return ( ((PythonQtPublicPromoter_QStandardItemModel*)theWrappedObject)->promoted_mimeTypes()); +} + +QModelIndex PythonQtWrapper_QStandardItemModel::parent(QStandardItemModel* theWrappedObject, const QModelIndex& child) const +{ + return ( ((PythonQtPublicPromoter_QStandardItemModel*)theWrappedObject)->promoted_parent(child)); +} + +bool PythonQtWrapper_QStandardItemModel::removeColumns(QStandardItemModel* theWrappedObject, int column, int count, const QModelIndex& parent) +{ + return ( ((PythonQtPublicPromoter_QStandardItemModel*)theWrappedObject)->promoted_removeColumns(column, count, parent)); +} + +bool PythonQtWrapper_QStandardItemModel::removeRows(QStandardItemModel* theWrappedObject, int row, int count, const QModelIndex& parent) +{ + return ( ((PythonQtPublicPromoter_QStandardItemModel*)theWrappedObject)->promoted_removeRows(row, count, parent)); +} + +int PythonQtWrapper_QStandardItemModel::rowCount(QStandardItemModel* theWrappedObject, const QModelIndex& parent) const +{ + return ( ((PythonQtPublicPromoter_QStandardItemModel*)theWrappedObject)->promoted_rowCount(parent)); +} + +void PythonQtWrapper_QStandardItemModel::setColumnCount(QStandardItemModel* theWrappedObject, int columns) +{ + ( theWrappedObject->setColumnCount(columns)); +} + +bool PythonQtWrapper_QStandardItemModel::setData(QStandardItemModel* theWrappedObject, const QModelIndex& index, const QVariant& value, int role) +{ + return ( ((PythonQtPublicPromoter_QStandardItemModel*)theWrappedObject)->promoted_setData(index, value, role)); +} + +bool PythonQtWrapper_QStandardItemModel::setHeaderData(QStandardItemModel* theWrappedObject, int section, Qt::Orientation orientation, const QVariant& value, int role) +{ + return ( ((PythonQtPublicPromoter_QStandardItemModel*)theWrappedObject)->promoted_setHeaderData(section, orientation, value, role)); +} + +void PythonQtWrapper_QStandardItemModel::setHorizontalHeaderItem(QStandardItemModel* theWrappedObject, int column, QStandardItem* item) +{ + ( theWrappedObject->setHorizontalHeaderItem(column, item)); +} + +void PythonQtWrapper_QStandardItemModel::setHorizontalHeaderLabels(QStandardItemModel* theWrappedObject, const QStringList& labels) +{ + ( theWrappedObject->setHorizontalHeaderLabels(labels)); +} + +void PythonQtWrapper_QStandardItemModel::setItem(QStandardItemModel* theWrappedObject, int row, QStandardItem* item) +{ + ( theWrappedObject->setItem(row, item)); +} + +void PythonQtWrapper_QStandardItemModel::setItem(QStandardItemModel* theWrappedObject, int row, int column, QStandardItem* item) +{ + ( theWrappedObject->setItem(row, column, item)); +} + +bool PythonQtWrapper_QStandardItemModel::setItemData(QStandardItemModel* theWrappedObject, const QModelIndex& index, const QMap& roles) +{ + return ( ((PythonQtPublicPromoter_QStandardItemModel*)theWrappedObject)->promoted_setItemData(index, roles)); +} + +void PythonQtWrapper_QStandardItemModel::setItemPrototype(QStandardItemModel* theWrappedObject, const QStandardItem* item) +{ + ( theWrappedObject->setItemPrototype(item)); +} + +void PythonQtWrapper_QStandardItemModel::setRowCount(QStandardItemModel* theWrappedObject, int rows) +{ + ( theWrappedObject->setRowCount(rows)); +} + +void PythonQtWrapper_QStandardItemModel::setSortRole(QStandardItemModel* theWrappedObject, int role) +{ + ( theWrappedObject->setSortRole(role)); +} + +void PythonQtWrapper_QStandardItemModel::setVerticalHeaderItem(QStandardItemModel* theWrappedObject, int row, QStandardItem* item) +{ + ( theWrappedObject->setVerticalHeaderItem(row, item)); +} + +void PythonQtWrapper_QStandardItemModel::setVerticalHeaderLabels(QStandardItemModel* theWrappedObject, const QStringList& labels) +{ + ( theWrappedObject->setVerticalHeaderLabels(labels)); +} + +void PythonQtWrapper_QStandardItemModel::sort(QStandardItemModel* theWrappedObject, int column, Qt::SortOrder order) +{ + ( ((PythonQtPublicPromoter_QStandardItemModel*)theWrappedObject)->promoted_sort(column, order)); +} + +int PythonQtWrapper_QStandardItemModel::sortRole(QStandardItemModel* theWrappedObject) const +{ + return ( theWrappedObject->sortRole()); +} + +Qt::DropActions PythonQtWrapper_QStandardItemModel::supportedDropActions(QStandardItemModel* theWrappedObject) const +{ + return ( ((PythonQtPublicPromoter_QStandardItemModel*)theWrappedObject)->promoted_supportedDropActions()); +} + +QList PythonQtWrapper_QStandardItemModel::takeColumn(QStandardItemModel* theWrappedObject, int column) +{ + return ( theWrappedObject->takeColumn(column)); +} + +QStandardItem* PythonQtWrapper_QStandardItemModel::takeHorizontalHeaderItem(QStandardItemModel* theWrappedObject, int column) +{ + return ( theWrappedObject->takeHorizontalHeaderItem(column)); +} + +QStandardItem* PythonQtWrapper_QStandardItemModel::takeItem(QStandardItemModel* theWrappedObject, int row, int column) +{ + return ( theWrappedObject->takeItem(row, column)); +} + +QList PythonQtWrapper_QStandardItemModel::takeRow(QStandardItemModel* theWrappedObject, int row) +{ + return ( theWrappedObject->takeRow(row)); +} + +QStandardItem* PythonQtWrapper_QStandardItemModel::takeVerticalHeaderItem(QStandardItemModel* theWrappedObject, int row) +{ + return ( theWrappedObject->takeVerticalHeaderItem(row)); +} + +QStandardItem* PythonQtWrapper_QStandardItemModel::verticalHeaderItem(QStandardItemModel* theWrappedObject, int row) const +{ + return ( theWrappedObject->verticalHeaderItem(row)); +} + + + +void PythonQtShell_QStatusBar::actionEvent(QActionEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "actionEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QActionEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QStatusBar::actionEvent(arg__1); +} +void PythonQtShell_QStatusBar::changeEvent(QEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "changeEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QStatusBar::changeEvent(arg__1); +} +void PythonQtShell_QStatusBar::childEvent(QChildEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "childEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QChildEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QStatusBar::childEvent(arg__1); +} +void PythonQtShell_QStatusBar::closeEvent(QCloseEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "closeEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QCloseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QStatusBar::closeEvent(arg__1); +} +void PythonQtShell_QStatusBar::contextMenuEvent(QContextMenuEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "contextMenuEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QContextMenuEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QStatusBar::contextMenuEvent(arg__1); +} +void PythonQtShell_QStatusBar::customEvent(QEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "customEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QStatusBar::customEvent(arg__1); +} +int PythonQtShell_QStatusBar::devType() const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "devType"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + int returnValue; + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("devType", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QStatusBar::devType(); +} +void PythonQtShell_QStatusBar::dragEnterEvent(QDragEnterEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dragEnterEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QDragEnterEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QStatusBar::dragEnterEvent(arg__1); +} +void PythonQtShell_QStatusBar::dragLeaveEvent(QDragLeaveEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dragLeaveEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QDragLeaveEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QStatusBar::dragLeaveEvent(arg__1); +} +void PythonQtShell_QStatusBar::dragMoveEvent(QDragMoveEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dragMoveEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QDragMoveEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QStatusBar::dragMoveEvent(arg__1); +} +void PythonQtShell_QStatusBar::dropEvent(QDropEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dropEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QDropEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QStatusBar::dropEvent(arg__1); +} +void PythonQtShell_QStatusBar::enterEvent(QEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "enterEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QStatusBar::enterEvent(arg__1); +} +bool PythonQtShell_QStatusBar::event(QEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "event"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue; + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QStatusBar::event(arg__1); +} +bool PythonQtShell_QStatusBar::eventFilter(QObject* arg__1, QEvent* arg__2) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "eventFilter"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue; + void* args[3] = {NULL, (void*)&arg__1, (void*)&arg__2}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QStatusBar::eventFilter(arg__1, arg__2); +} +void PythonQtShell_QStatusBar::focusInEvent(QFocusEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "focusInEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QFocusEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QStatusBar::focusInEvent(arg__1); +} +bool PythonQtShell_QStatusBar::focusNextPrevChild(bool next) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "focusNextPrevChild"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue; + void* args[2] = {NULL, (void*)&next}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("focusNextPrevChild", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QStatusBar::focusNextPrevChild(next); +} +void PythonQtShell_QStatusBar::focusOutEvent(QFocusEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "focusOutEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QFocusEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QStatusBar::focusOutEvent(arg__1); +} +int PythonQtShell_QStatusBar::heightForWidth(int arg__1) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "heightForWidth"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"int" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + int returnValue; + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("heightForWidth", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QStatusBar::heightForWidth(arg__1); +} +void PythonQtShell_QStatusBar::hideEvent(QHideEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "hideEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QHideEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QStatusBar::hideEvent(arg__1); +} +void PythonQtShell_QStatusBar::inputMethodEvent(QInputMethodEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "inputMethodEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QInputMethodEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QStatusBar::inputMethodEvent(arg__1); +} +QVariant PythonQtShell_QStatusBar::inputMethodQuery(Qt::InputMethodQuery arg__1) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "inputMethodQuery"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QVariant" , "Qt::InputMethodQuery"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + QVariant returnValue; + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result); + } else { + returnValue = *((QVariant*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QStatusBar::inputMethodQuery(arg__1); +} +void PythonQtShell_QStatusBar::keyPressEvent(QKeyEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "keyPressEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QKeyEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QStatusBar::keyPressEvent(arg__1); +} +void PythonQtShell_QStatusBar::keyReleaseEvent(QKeyEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "keyReleaseEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QKeyEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QStatusBar::keyReleaseEvent(arg__1); +} +void PythonQtShell_QStatusBar::languageChange() +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "languageChange"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={""}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QStatusBar::languageChange(); +} +void PythonQtShell_QStatusBar::leaveEvent(QEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "leaveEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QStatusBar::leaveEvent(arg__1); +} +int PythonQtShell_QStatusBar::metric(QPaintDevice::PaintDeviceMetric arg__1) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "metric"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + int returnValue; + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("metric", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QStatusBar::metric(arg__1); +} +QSize PythonQtShell_QStatusBar::minimumSizeHint() const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "getMinimumSizeHint"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QSize"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QSize returnValue; + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("getMinimumSizeHint", methodInfo, result); + } else { + returnValue = *((QSize*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QStatusBar::minimumSizeHint(); +} +void PythonQtShell_QStatusBar::mouseDoubleClickEvent(QMouseEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mouseDoubleClickEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QStatusBar::mouseDoubleClickEvent(arg__1); +} +void PythonQtShell_QStatusBar::mouseMoveEvent(QMouseEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mouseMoveEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QStatusBar::mouseMoveEvent(arg__1); +} +void PythonQtShell_QStatusBar::mousePressEvent(QMouseEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mousePressEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QStatusBar::mousePressEvent(arg__1); +} +void PythonQtShell_QStatusBar::mouseReleaseEvent(QMouseEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mouseReleaseEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QStatusBar::mouseReleaseEvent(arg__1); +} +void PythonQtShell_QStatusBar::moveEvent(QMoveEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "moveEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QMoveEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QStatusBar::moveEvent(arg__1); +} +QPaintEngine* PythonQtShell_QStatusBar::paintEngine() const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "paintEngine"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QPaintEngine*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QPaintEngine* returnValue; + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); + } else { + returnValue = *((QPaintEngine**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QStatusBar::paintEngine(); +} +void PythonQtShell_QStatusBar::paintEvent(QPaintEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "paintEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QPaintEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QStatusBar::paintEvent(arg__1); +} +void PythonQtShell_QStatusBar::resizeEvent(QResizeEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "resizeEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QResizeEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QStatusBar::resizeEvent(arg__1); +} +void PythonQtShell_QStatusBar::showEvent(QShowEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "showEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QShowEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QStatusBar::showEvent(arg__1); +} +QSize PythonQtShell_QStatusBar::sizeHint() const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "getSizeHint"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QSize"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QSize returnValue; + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("getSizeHint", methodInfo, result); + } else { + returnValue = *((QSize*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QStatusBar::sizeHint(); +} +void PythonQtShell_QStatusBar::tabletEvent(QTabletEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "tabletEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QTabletEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QStatusBar::tabletEvent(arg__1); +} +void PythonQtShell_QStatusBar::timerEvent(QTimerEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "timerEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QTimerEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QStatusBar::timerEvent(arg__1); +} +void PythonQtShell_QStatusBar::wheelEvent(QWheelEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "wheelEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QWheelEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QStatusBar::wheelEvent(arg__1); +} +QStatusBar* PythonQtWrapper_QStatusBar::new_QStatusBar(QWidget* parent) +{ +return new PythonQtShell_QStatusBar(parent); } + +void PythonQtWrapper_QStatusBar::addPermanentWidget(QStatusBar* theWrappedObject, QWidget* widget, int stretch) +{ + ( theWrappedObject->addPermanentWidget(widget, stretch)); +} + +void PythonQtWrapper_QStatusBar::addWidget(QStatusBar* theWrappedObject, QWidget* widget, int stretch) +{ + ( theWrappedObject->addWidget(widget, stretch)); +} + +QString PythonQtWrapper_QStatusBar::currentMessage(QStatusBar* theWrappedObject) const +{ + return ( theWrappedObject->currentMessage()); +} + +bool PythonQtWrapper_QStatusBar::event(QStatusBar* theWrappedObject, QEvent* arg__1) +{ + return ( ((PythonQtPublicPromoter_QStatusBar*)theWrappedObject)->promoted_event(arg__1)); +} + +int PythonQtWrapper_QStatusBar::insertPermanentWidget(QStatusBar* theWrappedObject, int index, QWidget* widget, int stretch) +{ + return ( theWrappedObject->insertPermanentWidget(index, widget, stretch)); +} + +int PythonQtWrapper_QStatusBar::insertWidget(QStatusBar* theWrappedObject, int index, QWidget* widget, int stretch) +{ + return ( theWrappedObject->insertWidget(index, widget, stretch)); +} + +bool PythonQtWrapper_QStatusBar::isSizeGripEnabled(QStatusBar* theWrappedObject) const +{ + return ( theWrappedObject->isSizeGripEnabled()); +} + +void PythonQtWrapper_QStatusBar::paintEvent(QStatusBar* theWrappedObject, QPaintEvent* arg__1) +{ + ( ((PythonQtPublicPromoter_QStatusBar*)theWrappedObject)->promoted_paintEvent(arg__1)); +} + +void PythonQtWrapper_QStatusBar::removeWidget(QStatusBar* theWrappedObject, QWidget* widget) +{ + ( theWrappedObject->removeWidget(widget)); +} + +void PythonQtWrapper_QStatusBar::resizeEvent(QStatusBar* theWrappedObject, QResizeEvent* arg__1) +{ + ( ((PythonQtPublicPromoter_QStatusBar*)theWrappedObject)->promoted_resizeEvent(arg__1)); +} + +void PythonQtWrapper_QStatusBar::setSizeGripEnabled(QStatusBar* theWrappedObject, bool arg__1) +{ + ( theWrappedObject->setSizeGripEnabled(arg__1)); +} + +void PythonQtWrapper_QStatusBar::showEvent(QStatusBar* theWrappedObject, QShowEvent* arg__1) +{ + ( ((PythonQtPublicPromoter_QStatusBar*)theWrappedObject)->promoted_showEvent(arg__1)); +} + + + +QStatusTipEvent* PythonQtWrapper_QStatusTipEvent::new_QStatusTipEvent(const QString& tip) +{ +return new QStatusTipEvent(tip); } + +QString PythonQtWrapper_QStatusTipEvent::tip(QStatusTipEvent* theWrappedObject) const +{ + return ( theWrappedObject->tip()); +} + + + +QModelIndex PythonQtShell_QStringListModel::buddy(const QModelIndex& index) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "buddy"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QModelIndex" , "const QModelIndex&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + QModelIndex returnValue; + void* args[2] = {NULL, (void*)&index}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("buddy", methodInfo, result); + } else { + returnValue = *((QModelIndex*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QStringListModel::buddy(index); +} +bool PythonQtShell_QStringListModel::canFetchMore(const QModelIndex& parent) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "canFetchMore"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "const QModelIndex&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue; + void* args[2] = {NULL, (void*)&parent}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("canFetchMore", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QStringListModel::canFetchMore(parent); +} +void PythonQtShell_QStringListModel::childEvent(QChildEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "childEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QChildEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QStringListModel::childEvent(arg__1); +} +void PythonQtShell_QStringListModel::customEvent(QEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "customEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QStringListModel::customEvent(arg__1); +} +QVariant PythonQtShell_QStringListModel::data(const QModelIndex& index, int role) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "data"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QVariant" , "const QModelIndex&" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + QVariant returnValue; + void* args[3] = {NULL, (void*)&index, (void*)&role}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("data", methodInfo, result); + } else { + returnValue = *((QVariant*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QStringListModel::data(index, role); +} +bool PythonQtShell_QStringListModel::dropMimeData(const QMimeData* data, Qt::DropAction action, int row, int column, const QModelIndex& parent) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dropMimeData"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "const QMimeData*" , "Qt::DropAction" , "int" , "int" , "const QModelIndex&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(6, argumentList); + bool returnValue; + void* args[6] = {NULL, (void*)&data, (void*)&action, (void*)&row, (void*)&column, (void*)&parent}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("dropMimeData", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QStringListModel::dropMimeData(data, action, row, column, parent); +} +bool PythonQtShell_QStringListModel::event(QEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "event"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue; + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QStringListModel::event(arg__1); +} +bool PythonQtShell_QStringListModel::eventFilter(QObject* arg__1, QEvent* arg__2) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "eventFilter"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue; + void* args[3] = {NULL, (void*)&arg__1, (void*)&arg__2}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QStringListModel::eventFilter(arg__1, arg__2); +} +void PythonQtShell_QStringListModel::fetchMore(const QModelIndex& parent) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "fetchMore"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "const QModelIndex&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&parent}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QStringListModel::fetchMore(parent); +} +Qt::ItemFlags PythonQtShell_QStringListModel::flags(const QModelIndex& index) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "flags"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"Qt::ItemFlags" , "const QModelIndex&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + Qt::ItemFlags returnValue; + void* args[2] = {NULL, (void*)&index}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("flags", methodInfo, result); + } else { + returnValue = *((Qt::ItemFlags*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QStringListModel::flags(index); +} +QVariant PythonQtShell_QStringListModel::headerData(int section, Qt::Orientation orientation, int role) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "headerData"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QVariant" , "int" , "Qt::Orientation" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + QVariant returnValue; + void* args[4] = {NULL, (void*)§ion, (void*)&orientation, (void*)&role}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("headerData", methodInfo, result); + } else { + returnValue = *((QVariant*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QStringListModel::headerData(section, orientation, role); +} +QModelIndex PythonQtShell_QStringListModel::index(int row, int column, const QModelIndex& parent) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "index"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QModelIndex" , "int" , "int" , "const QModelIndex&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + QModelIndex returnValue; + void* args[4] = {NULL, (void*)&row, (void*)&column, (void*)&parent}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("index", methodInfo, result); + } else { + returnValue = *((QModelIndex*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QStringListModel::index(row, column, parent); +} +bool PythonQtShell_QStringListModel::insertColumns(int column, int count, const QModelIndex& parent) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "insertColumns"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "int" , "int" , "const QModelIndex&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + bool returnValue; + void* args[4] = {NULL, (void*)&column, (void*)&count, (void*)&parent}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("insertColumns", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QStringListModel::insertColumns(column, count, parent); +} +bool PythonQtShell_QStringListModel::insertRows(int row, int count, const QModelIndex& parent) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "insertRows"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "int" , "int" , "const QModelIndex&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + bool returnValue; + void* args[4] = {NULL, (void*)&row, (void*)&count, (void*)&parent}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("insertRows", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QStringListModel::insertRows(row, count, parent); +} +QMap PythonQtShell_QStringListModel::itemData(const QModelIndex& index) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "itemData"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QMap" , "const QModelIndex&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + QMap returnValue; + void* args[2] = {NULL, (void*)&index}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("itemData", methodInfo, result); + } else { + returnValue = *((QMap*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QStringListModel::itemData(index); +} +QList PythonQtShell_QStringListModel::match(const QModelIndex& start, int role, const QVariant& value, int hits, Qt::MatchFlags flags) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "match"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QList" , "const QModelIndex&" , "int" , "const QVariant&" , "int" , "Qt::MatchFlags"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(6, argumentList); + QList returnValue; + void* args[6] = {NULL, (void*)&start, (void*)&role, (void*)&value, (void*)&hits, (void*)&flags}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("match", methodInfo, result); + } else { + returnValue = *((QList*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QStringListModel::match(start, role, value, hits, flags); +} +QMimeData* PythonQtShell_QStringListModel::mimeData(const QList& indexes) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mimeData"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QMimeData*" , "const QList&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + QMimeData* returnValue; + void* args[2] = {NULL, (void*)&indexes}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("mimeData", methodInfo, result); + } else { + returnValue = *((QMimeData**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QStringListModel::mimeData(indexes); +} +QStringList PythonQtShell_QStringListModel::mimeTypes() const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mimeTypes"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QStringList"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QStringList returnValue; + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("mimeTypes", methodInfo, result); + } else { + returnValue = *((QStringList*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QStringListModel::mimeTypes(); +} +bool PythonQtShell_QStringListModel::removeColumns(int column, int count, const QModelIndex& parent) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "removeColumns"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "int" , "int" , "const QModelIndex&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + bool returnValue; + void* args[4] = {NULL, (void*)&column, (void*)&count, (void*)&parent}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("removeColumns", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QStringListModel::removeColumns(column, count, parent); +} +bool PythonQtShell_QStringListModel::removeRows(int row, int count, const QModelIndex& parent) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "removeRows"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "int" , "int" , "const QModelIndex&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + bool returnValue; + void* args[4] = {NULL, (void*)&row, (void*)&count, (void*)&parent}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("removeRows", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QStringListModel::removeRows(row, count, parent); +} +void PythonQtShell_QStringListModel::revert() +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "revert"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={""}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QStringListModel::revert(); +} +int PythonQtShell_QStringListModel::rowCount(const QModelIndex& parent) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "rowCount"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"int" , "const QModelIndex&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + int returnValue; + void* args[2] = {NULL, (void*)&parent}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("rowCount", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QStringListModel::rowCount(parent); +} +bool PythonQtShell_QStringListModel::setData(const QModelIndex& index, const QVariant& value, int role) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "setData"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "const QModelIndex&" , "const QVariant&" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + bool returnValue; + void* args[4] = {NULL, (void*)&index, (void*)&value, (void*)&role}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("setData", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QStringListModel::setData(index, value, role); +} +bool PythonQtShell_QStringListModel::setHeaderData(int section, Qt::Orientation orientation, const QVariant& value, int role) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "setHeaderData"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "int" , "Qt::Orientation" , "const QVariant&" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(5, argumentList); + bool returnValue; + void* args[5] = {NULL, (void*)§ion, (void*)&orientation, (void*)&value, (void*)&role}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("setHeaderData", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QStringListModel::setHeaderData(section, orientation, value, role); +} +bool PythonQtShell_QStringListModel::setItemData(const QModelIndex& index, const QMap& roles) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "setItemData"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "const QModelIndex&" , "const QMap&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue; + void* args[3] = {NULL, (void*)&index, (void*)&roles}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("setItemData", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QStringListModel::setItemData(index, roles); +} +void PythonQtShell_QStringListModel::sort(int column, Qt::SortOrder order) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "sort"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "int" , "Qt::SortOrder"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + void* args[3] = {NULL, (void*)&column, (void*)&order}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QStringListModel::sort(column, order); +} +QSize PythonQtShell_QStringListModel::span(const QModelIndex& index) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "span"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QSize" , "const QModelIndex&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + QSize returnValue; + void* args[2] = {NULL, (void*)&index}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("span", methodInfo, result); + } else { + returnValue = *((QSize*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QStringListModel::span(index); +} +bool PythonQtShell_QStringListModel::submit() +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "submit"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + bool returnValue; + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("submit", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QStringListModel::submit(); +} +Qt::DropActions PythonQtShell_QStringListModel::supportedDropActions() const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "supportedDropActions"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"Qt::DropActions"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + Qt::DropActions returnValue; + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("supportedDropActions", methodInfo, result); + } else { + returnValue = *((Qt::DropActions*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QStringListModel::supportedDropActions(); +} +void PythonQtShell_QStringListModel::timerEvent(QTimerEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "timerEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QTimerEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QStringListModel::timerEvent(arg__1); +} +QStringListModel* PythonQtWrapper_QStringListModel::new_QStringListModel(QObject* parent) +{ +return new PythonQtShell_QStringListModel(parent); } + +QStringListModel* PythonQtWrapper_QStringListModel::new_QStringListModel(const QStringList& strings, QObject* parent) +{ +return new PythonQtShell_QStringListModel(strings, parent); } + +QVariant PythonQtWrapper_QStringListModel::data(QStringListModel* theWrappedObject, const QModelIndex& index, int role) const +{ + return ( ((PythonQtPublicPromoter_QStringListModel*)theWrappedObject)->promoted_data(index, role)); +} + +Qt::ItemFlags PythonQtWrapper_QStringListModel::flags(QStringListModel* theWrappedObject, const QModelIndex& index) const +{ + return ( ((PythonQtPublicPromoter_QStringListModel*)theWrappedObject)->promoted_flags(index)); +} + +bool PythonQtWrapper_QStringListModel::insertRows(QStringListModel* theWrappedObject, int row, int count, const QModelIndex& parent) +{ + return ( ((PythonQtPublicPromoter_QStringListModel*)theWrappedObject)->promoted_insertRows(row, count, parent)); +} + +bool PythonQtWrapper_QStringListModel::removeRows(QStringListModel* theWrappedObject, int row, int count, const QModelIndex& parent) +{ + return ( ((PythonQtPublicPromoter_QStringListModel*)theWrappedObject)->promoted_removeRows(row, count, parent)); +} + +int PythonQtWrapper_QStringListModel::rowCount(QStringListModel* theWrappedObject, const QModelIndex& parent) const +{ + return ( ((PythonQtPublicPromoter_QStringListModel*)theWrappedObject)->promoted_rowCount(parent)); +} + +bool PythonQtWrapper_QStringListModel::setData(QStringListModel* theWrappedObject, const QModelIndex& index, const QVariant& value, int role) +{ + return ( ((PythonQtPublicPromoter_QStringListModel*)theWrappedObject)->promoted_setData(index, value, role)); +} + +void PythonQtWrapper_QStringListModel::setStringList(QStringListModel* theWrappedObject, const QStringList& strings) +{ + ( theWrappedObject->setStringList(strings)); +} + +void PythonQtWrapper_QStringListModel::sort(QStringListModel* theWrappedObject, int column, Qt::SortOrder order) +{ + ( ((PythonQtPublicPromoter_QStringListModel*)theWrappedObject)->promoted_sort(column, order)); +} + +QStringList PythonQtWrapper_QStringListModel::stringList(QStringListModel* theWrappedObject) const +{ + return ( theWrappedObject->stringList()); +} + +Qt::DropActions PythonQtWrapper_QStringListModel::supportedDropActions(QStringListModel* theWrappedObject) const +{ + return ( ((PythonQtPublicPromoter_QStringListModel*)theWrappedObject)->promoted_supportedDropActions()); +} + + + +void PythonQtShell_QStyle::childEvent(QChildEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "childEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QChildEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QStyle::childEvent(arg__1); +} +void PythonQtShell_QStyle::customEvent(QEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "customEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QStyle::customEvent(arg__1); +} +void PythonQtShell_QStyle::drawComplexControl(QStyle::ComplexControl cc, const QStyleOptionComplex* opt, QPainter* p, const QWidget* widget) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "drawComplexControl"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QStyle::ComplexControl" , "const QStyleOptionComplex*" , "QPainter*" , "const QWidget*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(5, argumentList); + void* args[5] = {NULL, (void*)&cc, (void*)&opt, (void*)&p, (void*)&widget}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + +} +void PythonQtShell_QStyle::drawControl(QStyle::ControlElement element, const QStyleOption* opt, QPainter* p, const QWidget* w) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "drawControl"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QStyle::ControlElement" , "const QStyleOption*" , "QPainter*" , "const QWidget*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(5, argumentList); + void* args[5] = {NULL, (void*)&element, (void*)&opt, (void*)&p, (void*)&w}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + +} +void PythonQtShell_QStyle::drawItemPixmap(QPainter* painter, const QRect& rect, int alignment, const QPixmap& pixmap) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "drawItemPixmap"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QPainter*" , "const QRect&" , "int" , "const QPixmap&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(5, argumentList); + void* args[5] = {NULL, (void*)&painter, (void*)&rect, (void*)&alignment, (void*)&pixmap}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QStyle::drawItemPixmap(painter, rect, alignment, pixmap); +} +void PythonQtShell_QStyle::drawItemText(QPainter* painter, const QRect& rect, int flags, const QPalette& pal, bool enabled, const QString& text, QPalette::ColorRole textRole) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "drawItemText"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QPainter*" , "const QRect&" , "int" , "const QPalette&" , "bool" , "const QString&" , "QPalette::ColorRole"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(8, argumentList); + void* args[8] = {NULL, (void*)&painter, (void*)&rect, (void*)&flags, (void*)&pal, (void*)&enabled, (void*)&text, (void*)&textRole}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QStyle::drawItemText(painter, rect, flags, pal, enabled, text, textRole); +} +void PythonQtShell_QStyle::drawPrimitive(QStyle::PrimitiveElement pe, const QStyleOption* opt, QPainter* p, const QWidget* w) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "drawPrimitive"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QStyle::PrimitiveElement" , "const QStyleOption*" , "QPainter*" , "const QWidget*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(5, argumentList); + void* args[5] = {NULL, (void*)&pe, (void*)&opt, (void*)&p, (void*)&w}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + +} +bool PythonQtShell_QStyle::event(QEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "event"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue; + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QStyle::event(arg__1); +} +bool PythonQtShell_QStyle::eventFilter(QObject* arg__1, QEvent* arg__2) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "eventFilter"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue; + void* args[3] = {NULL, (void*)&arg__1, (void*)&arg__2}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QStyle::eventFilter(arg__1, arg__2); +} +QPixmap PythonQtShell_QStyle::generatedIconPixmap(QIcon::Mode iconMode, const QPixmap& pixmap, const QStyleOption* opt) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "generatedIconPixmap"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QPixmap" , "QIcon::Mode" , "const QPixmap&" , "const QStyleOption*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + QPixmap returnValue; + void* args[4] = {NULL, (void*)&iconMode, (void*)&pixmap, (void*)&opt}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("generatedIconPixmap", methodInfo, result); + } else { + returnValue = *((QPixmap*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QPixmap(); +} +QStyle::SubControl PythonQtShell_QStyle::hitTestComplexControl(QStyle::ComplexControl cc, const QStyleOptionComplex* opt, const QPoint& pt, const QWidget* widget) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "hitTestComplexControl"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QStyle::SubControl" , "QStyle::ComplexControl" , "const QStyleOptionComplex*" , "const QPoint&" , "const QWidget*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(5, argumentList); + QStyle::SubControl returnValue; + void* args[5] = {NULL, (void*)&cc, (void*)&opt, (void*)&pt, (void*)&widget}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("hitTestComplexControl", methodInfo, result); + } else { + returnValue = *((QStyle::SubControl*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QStyle::SubControl(); +} +QRect PythonQtShell_QStyle::itemPixmapRect(const QRect& r, int flags, const QPixmap& pixmap) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "itemPixmapRect"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QRect" , "const QRect&" , "int" , "const QPixmap&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + QRect returnValue; + void* args[4] = {NULL, (void*)&r, (void*)&flags, (void*)&pixmap}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("itemPixmapRect", methodInfo, result); + } else { + returnValue = *((QRect*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QStyle::itemPixmapRect(r, flags, pixmap); +} +QRect PythonQtShell_QStyle::itemTextRect(const QFontMetrics& fm, const QRect& r, int flags, bool enabled, const QString& text) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "itemTextRect"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QRect" , "const QFontMetrics&" , "const QRect&" , "int" , "bool" , "const QString&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(6, argumentList); + QRect returnValue; + void* args[6] = {NULL, (void*)&fm, (void*)&r, (void*)&flags, (void*)&enabled, (void*)&text}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("itemTextRect", methodInfo, result); + } else { + returnValue = *((QRect*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QStyle::itemTextRect(fm, r, flags, enabled, text); +} +int PythonQtShell_QStyle::pixelMetric(QStyle::PixelMetric metric, const QStyleOption* option, const QWidget* widget) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "pixelMetric"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"int" , "QStyle::PixelMetric" , "const QStyleOption*" , "const QWidget*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + int returnValue; + void* args[4] = {NULL, (void*)&metric, (void*)&option, (void*)&widget}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("pixelMetric", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return int(); +} +void PythonQtShell_QStyle::polish(QApplication* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "polish"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QApplication*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QStyle::polish(arg__1); +} +void PythonQtShell_QStyle::polish(QPalette& arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "polish"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QPalette&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QStyle::polish(arg__1); +} +void PythonQtShell_QStyle::polish(QWidget* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "polish"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QWidget*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QStyle::polish(arg__1); +} +QSize PythonQtShell_QStyle::sizeFromContents(QStyle::ContentsType ct, const QStyleOption* opt, const QSize& contentsSize, const QWidget* w) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "sizeFromContents"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QSize" , "QStyle::ContentsType" , "const QStyleOption*" , "const QSize&" , "const QWidget*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(5, argumentList); + QSize returnValue; + void* args[5] = {NULL, (void*)&ct, (void*)&opt, (void*)&contentsSize, (void*)&w}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("sizeFromContents", methodInfo, result); + } else { + returnValue = *((QSize*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QSize(); +} +QPalette PythonQtShell_QStyle::standardPalette() const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "standardPalette"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QPalette"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QPalette returnValue; + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("standardPalette", methodInfo, result); + } else { + returnValue = *((QPalette*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QStyle::standardPalette(); +} +QPixmap PythonQtShell_QStyle::standardPixmap(QStyle::StandardPixmap standardPixmap, const QStyleOption* opt, const QWidget* widget) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "standardPixmap"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QPixmap" , "QStyle::StandardPixmap" , "const QStyleOption*" , "const QWidget*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + QPixmap returnValue; + void* args[4] = {NULL, (void*)&standardPixmap, (void*)&opt, (void*)&widget}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("standardPixmap", methodInfo, result); + } else { + returnValue = *((QPixmap*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QPixmap(); +} +int PythonQtShell_QStyle::styleHint(QStyle::StyleHint stylehint, const QStyleOption* opt, const QWidget* widget, QStyleHintReturn* returnData) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "styleHint"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"int" , "QStyle::StyleHint" , "const QStyleOption*" , "const QWidget*" , "QStyleHintReturn*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(5, argumentList); + int returnValue; + void* args[5] = {NULL, (void*)&stylehint, (void*)&opt, (void*)&widget, (void*)&returnData}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("styleHint", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return int(); +} +QRect PythonQtShell_QStyle::subControlRect(QStyle::ComplexControl cc, const QStyleOptionComplex* opt, QStyle::SubControl sc, const QWidget* widget) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "subControlRect"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QRect" , "QStyle::ComplexControl" , "const QStyleOptionComplex*" , "QStyle::SubControl" , "const QWidget*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(5, argumentList); + QRect returnValue; + void* args[5] = {NULL, (void*)&cc, (void*)&opt, (void*)&sc, (void*)&widget}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("subControlRect", methodInfo, result); + } else { + returnValue = *((QRect*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QRect(); +} +QRect PythonQtShell_QStyle::subElementRect(QStyle::SubElement subElement, const QStyleOption* option, const QWidget* widget) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "subElementRect"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QRect" , "QStyle::SubElement" , "const QStyleOption*" , "const QWidget*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + QRect returnValue; + void* args[4] = {NULL, (void*)&subElement, (void*)&option, (void*)&widget}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("subElementRect", methodInfo, result); + } else { + returnValue = *((QRect*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QRect(); +} +void PythonQtShell_QStyle::timerEvent(QTimerEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "timerEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QTimerEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QStyle::timerEvent(arg__1); +} +void PythonQtShell_QStyle::unpolish(QApplication* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "unpolish"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QApplication*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QStyle::unpolish(arg__1); +} +void PythonQtShell_QStyle::unpolish(QWidget* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "unpolish"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QWidget*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QStyle::unpolish(arg__1); +} +QStyle* PythonQtWrapper_QStyle::new_QStyle() +{ +return new PythonQtShell_QStyle(); } + +QRect PythonQtWrapper_QStyle::static_QStyle_alignedRect(Qt::LayoutDirection direction, Qt::Alignment alignment, const QSize& size, const QRect& rectangle) +{ + return (QStyle::alignedRect(direction, alignment, size, rectangle)); +} + +int PythonQtWrapper_QStyle::combinedLayoutSpacing(QStyle* theWrappedObject, QSizePolicy::ControlTypes controls1, QSizePolicy::ControlTypes controls2, Qt::Orientation orientation, QStyleOption* option, QWidget* widget) const +{ + return ( theWrappedObject->combinedLayoutSpacing(controls1, controls2, orientation, option, widget)); +} + +void PythonQtWrapper_QStyle::drawItemPixmap(QStyle* theWrappedObject, QPainter* painter, const QRect& rect, int alignment, const QPixmap& pixmap) const +{ + ( ((PythonQtPublicPromoter_QStyle*)theWrappedObject)->promoted_drawItemPixmap(painter, rect, alignment, pixmap)); +} + +void PythonQtWrapper_QStyle::drawItemText(QStyle* theWrappedObject, QPainter* painter, const QRect& rect, int flags, const QPalette& pal, bool enabled, const QString& text, QPalette::ColorRole textRole) const +{ + ( ((PythonQtPublicPromoter_QStyle*)theWrappedObject)->promoted_drawItemText(painter, rect, flags, pal, enabled, text, textRole)); +} + +QRect PythonQtWrapper_QStyle::itemPixmapRect(QStyle* theWrappedObject, const QRect& r, int flags, const QPixmap& pixmap) const +{ + return ( ((PythonQtPublicPromoter_QStyle*)theWrappedObject)->promoted_itemPixmapRect(r, flags, pixmap)); +} + +int PythonQtWrapper_QStyle::layoutSpacing(QStyle* theWrappedObject, QSizePolicy::ControlType control1, QSizePolicy::ControlType control2, Qt::Orientation orientation, const QStyleOption* option, const QWidget* widget) const +{ + return ( theWrappedObject->layoutSpacing(control1, control2, orientation, option, widget)); +} + +void PythonQtWrapper_QStyle::polish(QStyle* theWrappedObject, QApplication* arg__1) +{ + ( ((PythonQtPublicPromoter_QStyle*)theWrappedObject)->promoted_polish(arg__1)); +} + +void PythonQtWrapper_QStyle::polish(QStyle* theWrappedObject, QPalette& arg__1) +{ + ( ((PythonQtPublicPromoter_QStyle*)theWrappedObject)->promoted_polish(arg__1)); +} + +void PythonQtWrapper_QStyle::polish(QStyle* theWrappedObject, QWidget* arg__1) +{ + ( ((PythonQtPublicPromoter_QStyle*)theWrappedObject)->promoted_polish(arg__1)); +} + +const QStyle* PythonQtWrapper_QStyle::proxy(QStyle* theWrappedObject) const +{ + return ( theWrappedObject->proxy()); +} + +int PythonQtWrapper_QStyle::static_QStyle_sliderPositionFromValue(int min, int max, int val, int space, bool upsideDown) +{ + return (QStyle::sliderPositionFromValue(min, max, val, space, upsideDown)); +} + +int PythonQtWrapper_QStyle::static_QStyle_sliderValueFromPosition(int min, int max, int pos, int space, bool upsideDown) +{ + return (QStyle::sliderValueFromPosition(min, max, pos, space, upsideDown)); +} + +QIcon PythonQtWrapper_QStyle::standardIcon(QStyle* theWrappedObject, QStyle::StandardPixmap standardIcon, const QStyleOption* option, const QWidget* widget) const +{ + return ( theWrappedObject->standardIcon(standardIcon, option, widget)); +} + +QPalette PythonQtWrapper_QStyle::standardPalette(QStyle* theWrappedObject) const +{ + return ( ((PythonQtPublicPromoter_QStyle*)theWrappedObject)->promoted_standardPalette()); +} + +void PythonQtWrapper_QStyle::unpolish(QStyle* theWrappedObject, QApplication* arg__1) +{ + ( ((PythonQtPublicPromoter_QStyle*)theWrappedObject)->promoted_unpolish(arg__1)); +} + +void PythonQtWrapper_QStyle::unpolish(QStyle* theWrappedObject, QWidget* arg__1) +{ + ( ((PythonQtPublicPromoter_QStyle*)theWrappedObject)->promoted_unpolish(arg__1)); +} + +Qt::Alignment PythonQtWrapper_QStyle::static_QStyle_visualAlignment(Qt::LayoutDirection direction, Qt::Alignment alignment) +{ + return (QStyle::visualAlignment(direction, alignment)); +} + +QPoint PythonQtWrapper_QStyle::static_QStyle_visualPos(Qt::LayoutDirection direction, const QRect& boundingRect, const QPoint& logicalPos) +{ + return (QStyle::visualPos(direction, boundingRect, logicalPos)); +} + +QRect PythonQtWrapper_QStyle::static_QStyle_visualRect(Qt::LayoutDirection direction, const QRect& boundingRect, const QRect& logicalRect) +{ + return (QStyle::visualRect(direction, boundingRect, logicalRect)); +} + + + +QStyleFactory* PythonQtWrapper_QStyleFactory::new_QStyleFactory() +{ +return new PythonQtShell_QStyleFactory(); } + +QStyle* PythonQtWrapper_QStyleFactory::static_QStyleFactory_create(const QString& arg__1) +{ + return (QStyleFactory::create(arg__1)); +} + +QStringList PythonQtWrapper_QStyleFactory::static_QStyleFactory_keys() +{ + return (QStyleFactory::keys()); +} + + + +QStyleHintReturn* PythonQtWrapper_QStyleHintReturn::new_QStyleHintReturn(int version, int type) +{ +return new PythonQtShell_QStyleHintReturn(version, type); } + + + +QStyleHintReturnMask* PythonQtWrapper_QStyleHintReturnMask::new_QStyleHintReturnMask() +{ +return new PythonQtShell_QStyleHintReturnMask(); } + + + +QStyleHintReturnVariant* PythonQtWrapper_QStyleHintReturnVariant::new_QStyleHintReturnVariant() +{ +return new PythonQtShell_QStyleHintReturnVariant(); } + + + +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; +} + + + +QStyleOptionButton* PythonQtWrapper_QStyleOptionButton::new_QStyleOptionButton() +{ +return new PythonQtShell_QStyleOptionButton(); } + +QStyleOptionButton* PythonQtWrapper_QStyleOptionButton::new_QStyleOptionButton(const QStyleOptionButton& other) +{ +return new PythonQtShell_QStyleOptionButton(other); } + + + +QStyleOptionComboBox* PythonQtWrapper_QStyleOptionComboBox::new_QStyleOptionComboBox() +{ +return new PythonQtShell_QStyleOptionComboBox(); } + +QStyleOptionComboBox* PythonQtWrapper_QStyleOptionComboBox::new_QStyleOptionComboBox(const QStyleOptionComboBox& other) +{ +return new PythonQtShell_QStyleOptionComboBox(other); } + + + +QStyleOptionDockWidget* PythonQtWrapper_QStyleOptionDockWidget::new_QStyleOptionDockWidget() +{ +return new PythonQtShell_QStyleOptionDockWidget(); } + +QStyleOptionDockWidget* PythonQtWrapper_QStyleOptionDockWidget::new_QStyleOptionDockWidget(const QStyleOptionDockWidget& other) +{ +return new PythonQtShell_QStyleOptionDockWidget(other); } + + + +QStyleOptionDockWidgetV2* PythonQtWrapper_QStyleOptionDockWidgetV2::new_QStyleOptionDockWidgetV2() +{ +return new PythonQtShell_QStyleOptionDockWidgetV2(); } + +QStyleOptionDockWidgetV2* PythonQtWrapper_QStyleOptionDockWidgetV2::new_QStyleOptionDockWidgetV2(const QStyleOptionDockWidget& other) +{ +return new PythonQtShell_QStyleOptionDockWidgetV2(other); } + +QStyleOptionDockWidgetV2* PythonQtWrapper_QStyleOptionDockWidgetV2::new_QStyleOptionDockWidgetV2(const QStyleOptionDockWidgetV2& other) +{ +return new PythonQtShell_QStyleOptionDockWidgetV2(other); } + + + +QStyleOptionFocusRect* PythonQtWrapper_QStyleOptionFocusRect::new_QStyleOptionFocusRect() +{ +return new PythonQtShell_QStyleOptionFocusRect(); } + +QStyleOptionFocusRect* PythonQtWrapper_QStyleOptionFocusRect::new_QStyleOptionFocusRect(const QStyleOptionFocusRect& other) +{ +return new PythonQtShell_QStyleOptionFocusRect(other); } + + + +QStyleOptionFrame* PythonQtWrapper_QStyleOptionFrame::new_QStyleOptionFrame() +{ +return new PythonQtShell_QStyleOptionFrame(); } + +QStyleOptionFrame* PythonQtWrapper_QStyleOptionFrame::new_QStyleOptionFrame(const QStyleOptionFrame& other) +{ +return new PythonQtShell_QStyleOptionFrame(other); } + + + +QStyleOptionFrameV2* PythonQtWrapper_QStyleOptionFrameV2::new_QStyleOptionFrameV2() +{ +return new PythonQtShell_QStyleOptionFrameV2(); } + +QStyleOptionFrameV2* PythonQtWrapper_QStyleOptionFrameV2::new_QStyleOptionFrameV2(const QStyleOptionFrame& other) +{ +return new PythonQtShell_QStyleOptionFrameV2(other); } + +QStyleOptionFrameV2* PythonQtWrapper_QStyleOptionFrameV2::new_QStyleOptionFrameV2(const QStyleOptionFrameV2& other) +{ +return new PythonQtShell_QStyleOptionFrameV2(other); } + + + +QStyleOptionFrameV3* PythonQtWrapper_QStyleOptionFrameV3::new_QStyleOptionFrameV3() +{ +return new PythonQtShell_QStyleOptionFrameV3(); } + +QStyleOptionFrameV3* PythonQtWrapper_QStyleOptionFrameV3::new_QStyleOptionFrameV3(const QStyleOptionFrame& other) +{ +return new PythonQtShell_QStyleOptionFrameV3(other); } + +QStyleOptionFrameV3* PythonQtWrapper_QStyleOptionFrameV3::new_QStyleOptionFrameV3(const QStyleOptionFrameV3& other) +{ +return new PythonQtShell_QStyleOptionFrameV3(other); } + + + +QStyleOptionGraphicsItem* PythonQtWrapper_QStyleOptionGraphicsItem::new_QStyleOptionGraphicsItem() +{ +return new PythonQtShell_QStyleOptionGraphicsItem(); } + +QStyleOptionGraphicsItem* PythonQtWrapper_QStyleOptionGraphicsItem::new_QStyleOptionGraphicsItem(const QStyleOptionGraphicsItem& other) +{ +return new PythonQtShell_QStyleOptionGraphicsItem(other); } + +qreal PythonQtWrapper_QStyleOptionGraphicsItem::static_QStyleOptionGraphicsItem_levelOfDetailFromTransform(const QTransform& worldTransform) +{ + return (QStyleOptionGraphicsItem::levelOfDetailFromTransform(worldTransform)); +} + + + +QStyleOptionGroupBox* PythonQtWrapper_QStyleOptionGroupBox::new_QStyleOptionGroupBox() +{ +return new PythonQtShell_QStyleOptionGroupBox(); } + +QStyleOptionGroupBox* PythonQtWrapper_QStyleOptionGroupBox::new_QStyleOptionGroupBox(const QStyleOptionGroupBox& other) +{ +return new PythonQtShell_QStyleOptionGroupBox(other); } + + + +QStyleOptionHeader* PythonQtWrapper_QStyleOptionHeader::new_QStyleOptionHeader() +{ +return new PythonQtShell_QStyleOptionHeader(); } + +QStyleOptionHeader* PythonQtWrapper_QStyleOptionHeader::new_QStyleOptionHeader(const QStyleOptionHeader& other) +{ +return new PythonQtShell_QStyleOptionHeader(other); } + + + +QStyleOptionMenuItem* PythonQtWrapper_QStyleOptionMenuItem::new_QStyleOptionMenuItem() +{ +return new PythonQtShell_QStyleOptionMenuItem(); } + +QStyleOptionMenuItem* PythonQtWrapper_QStyleOptionMenuItem::new_QStyleOptionMenuItem(const QStyleOptionMenuItem& other) +{ +return new PythonQtShell_QStyleOptionMenuItem(other); } + + + +QStyleOptionProgressBar* PythonQtWrapper_QStyleOptionProgressBar::new_QStyleOptionProgressBar() +{ +return new PythonQtShell_QStyleOptionProgressBar(); } + +QStyleOptionProgressBar* PythonQtWrapper_QStyleOptionProgressBar::new_QStyleOptionProgressBar(const QStyleOptionProgressBar& other) +{ +return new PythonQtShell_QStyleOptionProgressBar(other); } + + + +QStyleOptionProgressBarV2* PythonQtWrapper_QStyleOptionProgressBarV2::new_QStyleOptionProgressBarV2() +{ +return new PythonQtShell_QStyleOptionProgressBarV2(); } + +QStyleOptionProgressBarV2* PythonQtWrapper_QStyleOptionProgressBarV2::new_QStyleOptionProgressBarV2(const QStyleOptionProgressBar& other) +{ +return new PythonQtShell_QStyleOptionProgressBarV2(other); } + +QStyleOptionProgressBarV2* PythonQtWrapper_QStyleOptionProgressBarV2::new_QStyleOptionProgressBarV2(const QStyleOptionProgressBarV2& other) +{ +return new PythonQtShell_QStyleOptionProgressBarV2(other); } + + + +QStyleOptionRubberBand* PythonQtWrapper_QStyleOptionRubberBand::new_QStyleOptionRubberBand() +{ +return new PythonQtShell_QStyleOptionRubberBand(); } + +QStyleOptionRubberBand* PythonQtWrapper_QStyleOptionRubberBand::new_QStyleOptionRubberBand(const QStyleOptionRubberBand& other) +{ +return new PythonQtShell_QStyleOptionRubberBand(other); } + + + +QStyleOptionSizeGrip* PythonQtWrapper_QStyleOptionSizeGrip::new_QStyleOptionSizeGrip() +{ +return new PythonQtShell_QStyleOptionSizeGrip(); } + +QStyleOptionSizeGrip* PythonQtWrapper_QStyleOptionSizeGrip::new_QStyleOptionSizeGrip(const QStyleOptionSizeGrip& other) +{ +return new PythonQtShell_QStyleOptionSizeGrip(other); } + + + +QStyleOptionSlider* PythonQtWrapper_QStyleOptionSlider::new_QStyleOptionSlider() +{ +return new PythonQtShell_QStyleOptionSlider(); } + +QStyleOptionSlider* PythonQtWrapper_QStyleOptionSlider::new_QStyleOptionSlider(const QStyleOptionSlider& other) +{ +return new PythonQtShell_QStyleOptionSlider(other); } + + + +QStyleOptionSpinBox* PythonQtWrapper_QStyleOptionSpinBox::new_QStyleOptionSpinBox() +{ +return new PythonQtShell_QStyleOptionSpinBox(); } + +QStyleOptionSpinBox* PythonQtWrapper_QStyleOptionSpinBox::new_QStyleOptionSpinBox(const QStyleOptionSpinBox& other) +{ +return new PythonQtShell_QStyleOptionSpinBox(other); } + + diff --git a/generated_cpp_47/com_trolltech_qt_gui/com_trolltech_qt_gui7.h b/generated_cpp_47/com_trolltech_qt_gui/com_trolltech_qt_gui7.h new file mode 100644 index 00000000..23ff35df --- /dev/null +++ b/generated_cpp_47/com_trolltech_qt_gui/com_trolltech_qt_gui7.h @@ -0,0 +1,1505 @@ +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include + + + +class PythonQtShell_QStackedWidget : public QStackedWidget +{ +public: + PythonQtShell_QStackedWidget(QWidget* parent = 0):QStackedWidget(parent),_wrapper(NULL) {}; + +virtual void actionEvent(QActionEvent* arg__1); +virtual void changeEvent(QEvent* arg__1); +virtual void childEvent(QChildEvent* arg__1); +virtual void closeEvent(QCloseEvent* arg__1); +virtual void contextMenuEvent(QContextMenuEvent* arg__1); +virtual void customEvent(QEvent* arg__1); +virtual int devType() const; +virtual void dragEnterEvent(QDragEnterEvent* arg__1); +virtual void dragLeaveEvent(QDragLeaveEvent* arg__1); +virtual void dragMoveEvent(QDragMoveEvent* arg__1); +virtual void dropEvent(QDropEvent* arg__1); +virtual void enterEvent(QEvent* arg__1); +virtual bool event(QEvent* e); +virtual bool eventFilter(QObject* arg__1, QEvent* arg__2); +virtual void focusInEvent(QFocusEvent* arg__1); +virtual bool focusNextPrevChild(bool next); +virtual void focusOutEvent(QFocusEvent* arg__1); +virtual int heightForWidth(int arg__1) const; +virtual void hideEvent(QHideEvent* arg__1); +virtual void inputMethodEvent(QInputMethodEvent* arg__1); +virtual QVariant inputMethodQuery(Qt::InputMethodQuery arg__1) const; +virtual void keyPressEvent(QKeyEvent* arg__1); +virtual void keyReleaseEvent(QKeyEvent* arg__1); +virtual void languageChange(); +virtual void leaveEvent(QEvent* arg__1); +virtual int metric(QPaintDevice::PaintDeviceMetric arg__1) const; +virtual QSize minimumSizeHint() const; +virtual void mouseDoubleClickEvent(QMouseEvent* arg__1); +virtual void mouseMoveEvent(QMouseEvent* arg__1); +virtual void mousePressEvent(QMouseEvent* arg__1); +virtual void mouseReleaseEvent(QMouseEvent* arg__1); +virtual void moveEvent(QMoveEvent* arg__1); +virtual QPaintEngine* paintEngine() const; +virtual void paintEvent(QPaintEvent* arg__1); +virtual void resizeEvent(QResizeEvent* arg__1); +virtual void showEvent(QShowEvent* arg__1); +virtual void tabletEvent(QTabletEvent* arg__1); +virtual void timerEvent(QTimerEvent* arg__1); +virtual void wheelEvent(QWheelEvent* arg__1); + + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtPublicPromoter_QStackedWidget : public QStackedWidget +{ public: +inline bool promoted_event(QEvent* e) { return QStackedWidget::event(e); } +}; + +class PythonQtWrapper_QStackedWidget : public QObject +{ Q_OBJECT +public: +public slots: +QStackedWidget* new_QStackedWidget(QWidget* parent = 0); +void delete_QStackedWidget(QStackedWidget* obj) { delete obj; } + int addWidget(QStackedWidget* theWrappedObject, QWidget* w); + int count(QStackedWidget* theWrappedObject) const; + int currentIndex(QStackedWidget* theWrappedObject) const; + QWidget* currentWidget(QStackedWidget* theWrappedObject) const; + bool event(QStackedWidget* theWrappedObject, QEvent* e); + int indexOf(QStackedWidget* theWrappedObject, QWidget* arg__1) const; + int insertWidget(QStackedWidget* theWrappedObject, int index, QWidget* w); + void removeWidget(QStackedWidget* theWrappedObject, QWidget* w); + QWidget* widget(QStackedWidget* theWrappedObject, int arg__1) const; +}; + + + + + +class PythonQtShell_QStandardItem : public QStandardItem +{ +public: + PythonQtShell_QStandardItem():QStandardItem(),_wrapper(NULL) {}; + PythonQtShell_QStandardItem(const QIcon& icon, const QString& text):QStandardItem(icon, text),_wrapper(NULL) {}; + PythonQtShell_QStandardItem(const QStandardItem& other):QStandardItem(other),_wrapper(NULL) {}; + PythonQtShell_QStandardItem(const QString& text):QStandardItem(text),_wrapper(NULL) {}; + PythonQtShell_QStandardItem(int rows, int columns = 1):QStandardItem(rows, columns),_wrapper(NULL) {}; + +virtual QStandardItem* clone() const; +virtual QVariant data(int role = Qt::UserRole + 1) const; +virtual bool __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; + + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtPublicPromoter_QStandardItem : public QStandardItem +{ public: +inline QStandardItem* promoted_clone() const { return QStandardItem::clone(); } +inline QVariant promoted_data(int role = Qt::UserRole + 1) const { return QStandardItem::data(role); } +inline void promoted_setData(const QVariant& value, int role = Qt::UserRole + 1) { QStandardItem::setData(value, role); } +inline int promoted_type() const { return QStandardItem::type(); } +}; + +class PythonQtWrapper_QStandardItem : public QObject +{ Q_OBJECT +public: +Q_ENUMS(ItemType ) +enum ItemType{ + Type = QStandardItem::Type, UserType = QStandardItem::UserType}; +public slots: +QStandardItem* new_QStandardItem(); +QStandardItem* new_QStandardItem(const QIcon& icon, const QString& text); +QStandardItem* new_QStandardItem(const QString& text); +QStandardItem* new_QStandardItem(int rows, int columns = 1); +void delete_QStandardItem(QStandardItem* obj) { delete obj; } + QString accessibleDescription(QStandardItem* theWrappedObject) const; + QString accessibleText(QStandardItem* theWrappedObject) const; + void appendColumn(QStandardItem* theWrappedObject, const QList& items); + void appendRow(QStandardItem* theWrappedObject, QStandardItem* item); + void appendRow(QStandardItem* theWrappedObject, const QList& items); + void appendRows(QStandardItem* theWrappedObject, const QList& items); + QBrush background(QStandardItem* theWrappedObject) const; + Qt::CheckState checkState(QStandardItem* theWrappedObject) const; + QStandardItem* child(QStandardItem* theWrappedObject, int row, int column = 0) const; + QStandardItem* clone(QStandardItem* theWrappedObject) const; + int column(QStandardItem* theWrappedObject) const; + int columnCount(QStandardItem* theWrappedObject) const; + QVariant data(QStandardItem* theWrappedObject, int role = Qt::UserRole + 1) const; + Qt::ItemFlags flags(QStandardItem* theWrappedObject) const; + QFont font(QStandardItem* theWrappedObject) const; + QBrush foreground(QStandardItem* theWrappedObject) const; + bool hasChildren(QStandardItem* theWrappedObject) const; + QIcon icon(QStandardItem* theWrappedObject) const; + QModelIndex index(QStandardItem* theWrappedObject) const; + void insertColumn(QStandardItem* theWrappedObject, int column, const QList& items); + void insertColumns(QStandardItem* theWrappedObject, int column, int count); + void insertRow(QStandardItem* theWrappedObject, int row, QStandardItem* item); + void insertRow(QStandardItem* theWrappedObject, int row, const QList& items); + void insertRows(QStandardItem* theWrappedObject, int row, const QList& items); + void insertRows(QStandardItem* theWrappedObject, int row, int count); + bool isCheckable(QStandardItem* theWrappedObject) const; + bool isDragEnabled(QStandardItem* theWrappedObject) const; + bool isDropEnabled(QStandardItem* theWrappedObject) const; + bool isEditable(QStandardItem* theWrappedObject) const; + bool isEnabled(QStandardItem* theWrappedObject) const; + bool isSelectable(QStandardItem* theWrappedObject) const; + bool isTristate(QStandardItem* theWrappedObject) const; + QStandardItemModel* model(QStandardItem* theWrappedObject) const; + void writeTo(QStandardItem* theWrappedObject, QDataStream& out); + void readFrom(QStandardItem* theWrappedObject, QDataStream& in); + QStandardItem* parent(QStandardItem* theWrappedObject) const; + void removeColumn(QStandardItem* theWrappedObject, int column); + void removeColumns(QStandardItem* theWrappedObject, int column, int count); + void removeRow(QStandardItem* theWrappedObject, int row); + void removeRows(QStandardItem* theWrappedObject, int row, int count); + int row(QStandardItem* theWrappedObject) const; + int rowCount(QStandardItem* theWrappedObject) const; + void setAccessibleDescription(QStandardItem* theWrappedObject, const QString& accessibleDescription); + void setAccessibleText(QStandardItem* theWrappedObject, const QString& accessibleText); + void setBackground(QStandardItem* theWrappedObject, const QBrush& brush); + void setCheckState(QStandardItem* theWrappedObject, Qt::CheckState checkState); + void setCheckable(QStandardItem* theWrappedObject, bool checkable); + void setChild(QStandardItem* theWrappedObject, int row, QStandardItem* item); + void setChild(QStandardItem* theWrappedObject, int row, int column, QStandardItem* item); + void setColumnCount(QStandardItem* theWrappedObject, int columns); + void setData(QStandardItem* theWrappedObject, const QVariant& value, int role = Qt::UserRole + 1); + void setDragEnabled(QStandardItem* theWrappedObject, bool dragEnabled); + void setDropEnabled(QStandardItem* theWrappedObject, bool dropEnabled); + void setEditable(QStandardItem* theWrappedObject, bool editable); + void setEnabled(QStandardItem* theWrappedObject, bool enabled); + void setFlags(QStandardItem* theWrappedObject, Qt::ItemFlags flags); + void setFont(QStandardItem* theWrappedObject, const QFont& font); + void setForeground(QStandardItem* theWrappedObject, const QBrush& brush); + void setIcon(QStandardItem* theWrappedObject, const QIcon& icon); + void setRowCount(QStandardItem* theWrappedObject, int rows); + void setSelectable(QStandardItem* theWrappedObject, bool selectable); + void setSizeHint(QStandardItem* theWrappedObject, const QSize& sizeHint); + void setStatusTip(QStandardItem* theWrappedObject, const QString& statusTip); + void setText(QStandardItem* theWrappedObject, const QString& text); + void setTextAlignment(QStandardItem* theWrappedObject, Qt::Alignment textAlignment); + void setToolTip(QStandardItem* theWrappedObject, const QString& toolTip); + void setTristate(QStandardItem* theWrappedObject, bool tristate); + void setWhatsThis(QStandardItem* theWrappedObject, const QString& whatsThis); + QSize sizeHint(QStandardItem* theWrappedObject) const; + void sortChildren(QStandardItem* theWrappedObject, int column, Qt::SortOrder order = Qt::AscendingOrder); + QString statusTip(QStandardItem* theWrappedObject) const; + QStandardItem* takeChild(QStandardItem* theWrappedObject, int row, int column = 0); + QList takeColumn(QStandardItem* theWrappedObject, int column); + QList takeRow(QStandardItem* theWrappedObject, int row); + QString text(QStandardItem* theWrappedObject) const; + Qt::Alignment textAlignment(QStandardItem* theWrappedObject) const; + QString toolTip(QStandardItem* theWrappedObject) const; + int type(QStandardItem* theWrappedObject) const; + QString whatsThis(QStandardItem* theWrappedObject) const; +}; + + + + + +class PythonQtShell_QStandardItemModel : public QStandardItemModel +{ +public: + PythonQtShell_QStandardItemModel(QObject* parent = 0):QStandardItemModel(parent),_wrapper(NULL) {}; + PythonQtShell_QStandardItemModel(int rows, int columns, QObject* parent = 0):QStandardItemModel(rows, columns, parent),_wrapper(NULL) {}; + +virtual QModelIndex buddy(const QModelIndex& index) const; +virtual bool canFetchMore(const QModelIndex& parent) const; +virtual void childEvent(QChildEvent* arg__1); +virtual int columnCount(const QModelIndex& parent = QModelIndex()) const; +virtual void customEvent(QEvent* arg__1); +virtual QVariant data(const QModelIndex& index, int role = Qt::DisplayRole) const; +virtual bool dropMimeData(const QMimeData* data, Qt::DropAction action, int row, int column, const QModelIndex& parent); +virtual bool event(QEvent* arg__1); +virtual bool eventFilter(QObject* arg__1, QEvent* arg__2); +virtual void fetchMore(const QModelIndex& parent); +virtual Qt::ItemFlags flags(const QModelIndex& index) const; +virtual bool hasChildren(const QModelIndex& parent = QModelIndex()) const; +virtual QVariant headerData(int section, Qt::Orientation orientation, int role = Qt::DisplayRole) const; +virtual QModelIndex index(int row, int column, const QModelIndex& parent = QModelIndex()) const; +virtual bool insertColumns(int column, int count, const QModelIndex& parent = QModelIndex()); +virtual bool insertRows(int row, int count, const QModelIndex& parent = QModelIndex()); +virtual QMap itemData(const QModelIndex& index) const; +virtual QList match(const QModelIndex& start, int role, const QVariant& value, int hits, Qt::MatchFlags flags) const; +virtual QMimeData* mimeData(const QList& indexes) const; +virtual QStringList mimeTypes() const; +virtual QModelIndex parent(const QModelIndex& child) const; +virtual bool removeColumns(int column, int count, const QModelIndex& parent = QModelIndex()); +virtual bool removeRows(int row, int count, const QModelIndex& parent = QModelIndex()); +virtual void revert(); +virtual int rowCount(const QModelIndex& parent = QModelIndex()) const; +virtual bool setData(const QModelIndex& index, const QVariant& value, int role = Qt::EditRole); +virtual bool setHeaderData(int section, Qt::Orientation orientation, const QVariant& value, int role = Qt::EditRole); +virtual bool setItemData(const QModelIndex& index, const QMap& roles); +virtual void sort(int column, Qt::SortOrder order = Qt::AscendingOrder); +virtual QSize span(const QModelIndex& index) const; +virtual bool submit(); +virtual Qt::DropActions supportedDropActions() const; +virtual void timerEvent(QTimerEvent* arg__1); + + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtPublicPromoter_QStandardItemModel : public QStandardItemModel +{ public: +inline int promoted_columnCount(const QModelIndex& parent = QModelIndex()) const { return QStandardItemModel::columnCount(parent); } +inline QVariant promoted_data(const QModelIndex& index, int role = Qt::DisplayRole) const { return QStandardItemModel::data(index, role); } +inline bool promoted_dropMimeData(const QMimeData* data, Qt::DropAction action, int row, int column, const QModelIndex& parent) { return QStandardItemModel::dropMimeData(data, action, row, column, parent); } +inline Qt::ItemFlags promoted_flags(const QModelIndex& index) const { return QStandardItemModel::flags(index); } +inline bool promoted_hasChildren(const QModelIndex& parent = QModelIndex()) const { return QStandardItemModel::hasChildren(parent); } +inline QVariant promoted_headerData(int section, Qt::Orientation orientation, int role = Qt::DisplayRole) const { return QStandardItemModel::headerData(section, orientation, role); } +inline QModelIndex promoted_index(int row, int column, const QModelIndex& parent = QModelIndex()) const { return QStandardItemModel::index(row, column, parent); } +inline bool promoted_insertColumns(int column, int count, const QModelIndex& parent = QModelIndex()) { return QStandardItemModel::insertColumns(column, count, parent); } +inline bool promoted_insertRows(int row, int count, const QModelIndex& parent = QModelIndex()) { return QStandardItemModel::insertRows(row, count, parent); } +inline QMap promoted_itemData(const QModelIndex& index) const { return QStandardItemModel::itemData(index); } +inline QMimeData* promoted_mimeData(const QList& indexes) const { return QStandardItemModel::mimeData(indexes); } +inline QStringList promoted_mimeTypes() const { return QStandardItemModel::mimeTypes(); } +inline QModelIndex promoted_parent(const QModelIndex& child) const { return QStandardItemModel::parent(child); } +inline bool promoted_removeColumns(int column, int count, const QModelIndex& parent = QModelIndex()) { return QStandardItemModel::removeColumns(column, count, parent); } +inline bool promoted_removeRows(int row, int count, const QModelIndex& parent = QModelIndex()) { return QStandardItemModel::removeRows(row, count, parent); } +inline int promoted_rowCount(const QModelIndex& parent = QModelIndex()) const { return QStandardItemModel::rowCount(parent); } +inline bool promoted_setData(const QModelIndex& index, const QVariant& value, int role = Qt::EditRole) { return QStandardItemModel::setData(index, value, role); } +inline bool promoted_setHeaderData(int section, Qt::Orientation orientation, const QVariant& value, int role = Qt::EditRole) { return QStandardItemModel::setHeaderData(section, orientation, value, role); } +inline bool promoted_setItemData(const QModelIndex& index, const QMap& roles) { return QStandardItemModel::setItemData(index, roles); } +inline void promoted_sort(int column, Qt::SortOrder order = Qt::AscendingOrder) { QStandardItemModel::sort(column, order); } +inline Qt::DropActions promoted_supportedDropActions() const { return QStandardItemModel::supportedDropActions(); } +}; + +class PythonQtWrapper_QStandardItemModel : public QObject +{ Q_OBJECT +public: +public slots: +QStandardItemModel* new_QStandardItemModel(QObject* parent = 0); +QStandardItemModel* new_QStandardItemModel(int rows, int columns, QObject* parent = 0); +void delete_QStandardItemModel(QStandardItemModel* obj) { delete obj; } + void appendColumn(QStandardItemModel* theWrappedObject, const QList& items); + void appendRow(QStandardItemModel* theWrappedObject, QStandardItem* item); + void appendRow(QStandardItemModel* theWrappedObject, const QList& items); + void clear(QStandardItemModel* theWrappedObject); + int columnCount(QStandardItemModel* theWrappedObject, const QModelIndex& parent = QModelIndex()) const; + QVariant data(QStandardItemModel* theWrappedObject, const QModelIndex& index, int role = Qt::DisplayRole) const; + bool dropMimeData(QStandardItemModel* theWrappedObject, const QMimeData* data, Qt::DropAction action, int row, int column, const QModelIndex& parent); + QList findItems(QStandardItemModel* theWrappedObject, const QString& text, Qt::MatchFlags flags = Qt::MatchExactly, int column = 0) const; + Qt::ItemFlags flags(QStandardItemModel* theWrappedObject, const QModelIndex& index) const; + bool hasChildren(QStandardItemModel* theWrappedObject, const QModelIndex& parent = QModelIndex()) const; + QVariant headerData(QStandardItemModel* theWrappedObject, int section, Qt::Orientation orientation, int role = Qt::DisplayRole) const; + QStandardItem* horizontalHeaderItem(QStandardItemModel* theWrappedObject, int column) const; + QModelIndex index(QStandardItemModel* theWrappedObject, int row, int column, const QModelIndex& parent = QModelIndex()) const; + QModelIndex indexFromItem(QStandardItemModel* theWrappedObject, const QStandardItem* item) const; + void insertColumn(QStandardItemModel* theWrappedObject, int column, const QList& items); + bool insertColumns(QStandardItemModel* theWrappedObject, int column, int count, const QModelIndex& parent = QModelIndex()); + void insertRow(QStandardItemModel* theWrappedObject, int row, QStandardItem* item); + void insertRow(QStandardItemModel* theWrappedObject, int row, const QList& items); + bool insertRows(QStandardItemModel* theWrappedObject, int row, int count, const QModelIndex& parent = QModelIndex()); + QStandardItem* invisibleRootItem(QStandardItemModel* theWrappedObject) const; + QStandardItem* item(QStandardItemModel* theWrappedObject, int row, int column = 0) const; + QMap itemData(QStandardItemModel* theWrappedObject, const QModelIndex& index) const; + QStandardItem* itemFromIndex(QStandardItemModel* theWrappedObject, const QModelIndex& index) const; + const QStandardItem* itemPrototype(QStandardItemModel* theWrappedObject) const; + QMimeData* mimeData(QStandardItemModel* theWrappedObject, const QList& indexes) const; + QStringList mimeTypes(QStandardItemModel* theWrappedObject) const; + QModelIndex parent(QStandardItemModel* theWrappedObject, const QModelIndex& child) const; + bool removeColumns(QStandardItemModel* theWrappedObject, int column, int count, const QModelIndex& parent = QModelIndex()); + bool removeRows(QStandardItemModel* theWrappedObject, int row, int count, const QModelIndex& parent = QModelIndex()); + int rowCount(QStandardItemModel* theWrappedObject, const QModelIndex& parent = QModelIndex()) const; + void setColumnCount(QStandardItemModel* theWrappedObject, int columns); + bool setData(QStandardItemModel* theWrappedObject, const QModelIndex& index, const QVariant& value, int role = Qt::EditRole); + bool setHeaderData(QStandardItemModel* theWrappedObject, int section, Qt::Orientation orientation, const QVariant& value, int role = Qt::EditRole); + void setHorizontalHeaderItem(QStandardItemModel* theWrappedObject, int column, QStandardItem* item); + void setHorizontalHeaderLabels(QStandardItemModel* theWrappedObject, const QStringList& labels); + void setItem(QStandardItemModel* theWrappedObject, int row, QStandardItem* item); + void setItem(QStandardItemModel* theWrappedObject, int row, int column, QStandardItem* item); + bool setItemData(QStandardItemModel* theWrappedObject, const QModelIndex& index, const QMap& roles); + void setItemPrototype(QStandardItemModel* theWrappedObject, const QStandardItem* item); + void setRowCount(QStandardItemModel* theWrappedObject, int rows); + void setSortRole(QStandardItemModel* theWrappedObject, int role); + void setVerticalHeaderItem(QStandardItemModel* theWrappedObject, int row, QStandardItem* item); + void setVerticalHeaderLabels(QStandardItemModel* theWrappedObject, const QStringList& labels); + void sort(QStandardItemModel* theWrappedObject, int column, Qt::SortOrder order = Qt::AscendingOrder); + int sortRole(QStandardItemModel* theWrappedObject) const; + Qt::DropActions supportedDropActions(QStandardItemModel* theWrappedObject) const; + QList takeColumn(QStandardItemModel* theWrappedObject, int column); + QStandardItem* takeHorizontalHeaderItem(QStandardItemModel* theWrappedObject, int column); + QStandardItem* takeItem(QStandardItemModel* theWrappedObject, int row, int column = 0); + QList takeRow(QStandardItemModel* theWrappedObject, int row); + QStandardItem* takeVerticalHeaderItem(QStandardItemModel* theWrappedObject, int row); + QStandardItem* verticalHeaderItem(QStandardItemModel* theWrappedObject, int row) const; +}; + + + + + +class PythonQtShell_QStatusBar : public QStatusBar +{ +public: + PythonQtShell_QStatusBar(QWidget* parent = 0):QStatusBar(parent),_wrapper(NULL) {}; + +virtual void actionEvent(QActionEvent* arg__1); +virtual void changeEvent(QEvent* arg__1); +virtual void childEvent(QChildEvent* arg__1); +virtual void closeEvent(QCloseEvent* arg__1); +virtual void contextMenuEvent(QContextMenuEvent* arg__1); +virtual void customEvent(QEvent* arg__1); +virtual int devType() const; +virtual void dragEnterEvent(QDragEnterEvent* arg__1); +virtual void dragLeaveEvent(QDragLeaveEvent* arg__1); +virtual void dragMoveEvent(QDragMoveEvent* arg__1); +virtual void dropEvent(QDropEvent* arg__1); +virtual void enterEvent(QEvent* arg__1); +virtual bool event(QEvent* arg__1); +virtual bool eventFilter(QObject* arg__1, QEvent* arg__2); +virtual void focusInEvent(QFocusEvent* arg__1); +virtual bool focusNextPrevChild(bool next); +virtual void focusOutEvent(QFocusEvent* arg__1); +virtual int heightForWidth(int arg__1) const; +virtual void hideEvent(QHideEvent* arg__1); +virtual void inputMethodEvent(QInputMethodEvent* arg__1); +virtual QVariant inputMethodQuery(Qt::InputMethodQuery arg__1) const; +virtual void keyPressEvent(QKeyEvent* arg__1); +virtual void keyReleaseEvent(QKeyEvent* arg__1); +virtual void languageChange(); +virtual void leaveEvent(QEvent* arg__1); +virtual int metric(QPaintDevice::PaintDeviceMetric arg__1) const; +virtual QSize minimumSizeHint() const; +virtual void mouseDoubleClickEvent(QMouseEvent* arg__1); +virtual void mouseMoveEvent(QMouseEvent* arg__1); +virtual void mousePressEvent(QMouseEvent* arg__1); +virtual void mouseReleaseEvent(QMouseEvent* arg__1); +virtual void moveEvent(QMoveEvent* arg__1); +virtual QPaintEngine* paintEngine() const; +virtual void paintEvent(QPaintEvent* arg__1); +virtual void resizeEvent(QResizeEvent* arg__1); +virtual void showEvent(QShowEvent* arg__1); +virtual QSize sizeHint() const; +virtual void tabletEvent(QTabletEvent* arg__1); +virtual void timerEvent(QTimerEvent* arg__1); +virtual void wheelEvent(QWheelEvent* arg__1); + + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtPublicPromoter_QStatusBar : public QStatusBar +{ public: +inline bool promoted_event(QEvent* arg__1) { return QStatusBar::event(arg__1); } +inline void promoted_paintEvent(QPaintEvent* arg__1) { QStatusBar::paintEvent(arg__1); } +inline void promoted_resizeEvent(QResizeEvent* arg__1) { QStatusBar::resizeEvent(arg__1); } +inline void promoted_showEvent(QShowEvent* arg__1) { QStatusBar::showEvent(arg__1); } +}; + +class PythonQtWrapper_QStatusBar : public QObject +{ Q_OBJECT +public: +public slots: +QStatusBar* new_QStatusBar(QWidget* parent = 0); +void delete_QStatusBar(QStatusBar* obj) { delete obj; } + void addPermanentWidget(QStatusBar* theWrappedObject, QWidget* widget, int stretch = 0); + void addWidget(QStatusBar* theWrappedObject, QWidget* widget, int stretch = 0); + QString currentMessage(QStatusBar* theWrappedObject) const; + bool event(QStatusBar* theWrappedObject, QEvent* arg__1); + int insertPermanentWidget(QStatusBar* theWrappedObject, int index, QWidget* widget, int stretch = 0); + int insertWidget(QStatusBar* theWrappedObject, int index, QWidget* widget, int stretch = 0); + bool isSizeGripEnabled(QStatusBar* theWrappedObject) const; + void paintEvent(QStatusBar* theWrappedObject, QPaintEvent* arg__1); + void removeWidget(QStatusBar* theWrappedObject, QWidget* widget); + void resizeEvent(QStatusBar* theWrappedObject, QResizeEvent* arg__1); + void setSizeGripEnabled(QStatusBar* theWrappedObject, bool arg__1); + void showEvent(QStatusBar* theWrappedObject, QShowEvent* arg__1); +}; + + + + + +class PythonQtWrapper_QStatusTipEvent : public QObject +{ Q_OBJECT +public: +public slots: +QStatusTipEvent* new_QStatusTipEvent(const QString& tip); +void delete_QStatusTipEvent(QStatusTipEvent* obj) { delete obj; } + QString tip(QStatusTipEvent* theWrappedObject) const; +}; + + + + + +class PythonQtShell_QStringListModel : public QStringListModel +{ +public: + PythonQtShell_QStringListModel(QObject* parent = 0):QStringListModel(parent),_wrapper(NULL) {}; + PythonQtShell_QStringListModel(const QStringList& strings, QObject* parent = 0):QStringListModel(strings, parent),_wrapper(NULL) {}; + +virtual QModelIndex buddy(const QModelIndex& index) const; +virtual bool canFetchMore(const QModelIndex& parent) const; +virtual void childEvent(QChildEvent* arg__1); +virtual void customEvent(QEvent* arg__1); +virtual QVariant data(const QModelIndex& index, int role) const; +virtual bool dropMimeData(const QMimeData* data, Qt::DropAction action, int row, int column, const QModelIndex& parent); +virtual bool event(QEvent* arg__1); +virtual bool eventFilter(QObject* arg__1, QEvent* arg__2); +virtual void fetchMore(const QModelIndex& parent); +virtual Qt::ItemFlags flags(const QModelIndex& index) const; +virtual QVariant headerData(int section, Qt::Orientation orientation, int role) const; +virtual QModelIndex index(int row, int column, const QModelIndex& parent) const; +virtual bool insertColumns(int column, int count, const QModelIndex& parent); +virtual bool insertRows(int row, int count, const QModelIndex& parent = QModelIndex()); +virtual QMap itemData(const QModelIndex& index) const; +virtual QList match(const QModelIndex& start, int role, const QVariant& value, int hits, Qt::MatchFlags flags) const; +virtual QMimeData* mimeData(const QList& indexes) const; +virtual QStringList mimeTypes() const; +virtual bool removeColumns(int column, int count, const QModelIndex& parent); +virtual bool removeRows(int row, int count, const QModelIndex& parent = QModelIndex()); +virtual void revert(); +virtual int rowCount(const QModelIndex& parent = QModelIndex()) const; +virtual bool setData(const QModelIndex& index, const QVariant& value, int role = Qt::EditRole); +virtual bool setHeaderData(int section, Qt::Orientation orientation, const QVariant& value, int role); +virtual bool setItemData(const QModelIndex& index, const QMap& roles); +virtual void sort(int column, Qt::SortOrder order = Qt::AscendingOrder); +virtual QSize span(const QModelIndex& index) const; +virtual bool submit(); +virtual Qt::DropActions supportedDropActions() const; +virtual void timerEvent(QTimerEvent* arg__1); + + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtPublicPromoter_QStringListModel : public QStringListModel +{ public: +inline QVariant promoted_data(const QModelIndex& index, int role) const { return QStringListModel::data(index, role); } +inline Qt::ItemFlags promoted_flags(const QModelIndex& index) const { return QStringListModel::flags(index); } +inline bool promoted_insertRows(int row, int count, const QModelIndex& parent = QModelIndex()) { return QStringListModel::insertRows(row, count, parent); } +inline bool promoted_removeRows(int row, int count, const QModelIndex& parent = QModelIndex()) { return QStringListModel::removeRows(row, count, parent); } +inline int promoted_rowCount(const QModelIndex& parent = QModelIndex()) const { return QStringListModel::rowCount(parent); } +inline bool promoted_setData(const QModelIndex& index, const QVariant& value, int role = Qt::EditRole) { return QStringListModel::setData(index, value, role); } +inline void promoted_sort(int column, Qt::SortOrder order = Qt::AscendingOrder) { QStringListModel::sort(column, order); } +inline Qt::DropActions promoted_supportedDropActions() const { return QStringListModel::supportedDropActions(); } +}; + +class PythonQtWrapper_QStringListModel : public QObject +{ Q_OBJECT +public: +public slots: +QStringListModel* new_QStringListModel(QObject* parent = 0); +QStringListModel* new_QStringListModel(const QStringList& strings, QObject* parent = 0); +void delete_QStringListModel(QStringListModel* obj) { delete obj; } + QVariant data(QStringListModel* theWrappedObject, const QModelIndex& index, int role) const; + Qt::ItemFlags flags(QStringListModel* theWrappedObject, const QModelIndex& index) const; + bool insertRows(QStringListModel* theWrappedObject, int row, int count, const QModelIndex& parent = QModelIndex()); + bool removeRows(QStringListModel* theWrappedObject, int row, int count, const QModelIndex& parent = QModelIndex()); + int rowCount(QStringListModel* theWrappedObject, const QModelIndex& parent = QModelIndex()) const; + bool setData(QStringListModel* theWrappedObject, const QModelIndex& index, const QVariant& value, int role = Qt::EditRole); + void setStringList(QStringListModel* theWrappedObject, const QStringList& strings); + void sort(QStringListModel* theWrappedObject, int column, Qt::SortOrder order = Qt::AscendingOrder); + QStringList stringList(QStringListModel* theWrappedObject) const; + Qt::DropActions supportedDropActions(QStringListModel* theWrappedObject) const; +}; + + + + + +class PythonQtShell_QStyle : public QStyle +{ +public: + PythonQtShell_QStyle():QStyle(),_wrapper(NULL) {}; + +virtual void childEvent(QChildEvent* arg__1); +virtual void customEvent(QEvent* arg__1); +virtual void drawComplexControl(QStyle::ComplexControl cc, const QStyleOptionComplex* opt, QPainter* p, const QWidget* widget = 0) const; +virtual void drawControl(QStyle::ControlElement element, const QStyleOption* opt, QPainter* p, const QWidget* w = 0) const; +virtual void drawItemPixmap(QPainter* painter, const QRect& rect, int alignment, const QPixmap& pixmap) const; +virtual void drawItemText(QPainter* painter, const QRect& rect, int flags, const QPalette& pal, bool enabled, const QString& text, QPalette::ColorRole textRole = QPalette::NoRole) const; +virtual void drawPrimitive(QStyle::PrimitiveElement pe, const QStyleOption* opt, QPainter* p, const QWidget* w = 0) const; +virtual bool event(QEvent* arg__1); +virtual bool eventFilter(QObject* arg__1, QEvent* arg__2); +virtual QPixmap generatedIconPixmap(QIcon::Mode iconMode, const QPixmap& pixmap, const QStyleOption* opt) const; +virtual QStyle::SubControl hitTestComplexControl(QStyle::ComplexControl cc, const QStyleOptionComplex* opt, const QPoint& pt, const QWidget* widget = 0) const; +virtual QRect itemPixmapRect(const QRect& r, int flags, const QPixmap& pixmap) const; +virtual QRect itemTextRect(const QFontMetrics& fm, const QRect& r, int flags, bool enabled, const QString& text) const; +virtual int pixelMetric(QStyle::PixelMetric metric, const QStyleOption* option = 0, const QWidget* widget = 0) const; +virtual void polish(QApplication* arg__1); +virtual void polish(QPalette& arg__1); +virtual void polish(QWidget* arg__1); +virtual QSize sizeFromContents(QStyle::ContentsType ct, const QStyleOption* opt, const QSize& contentsSize, const QWidget* w = 0) const; +virtual QPalette standardPalette() const; +virtual QPixmap standardPixmap(QStyle::StandardPixmap standardPixmap, const QStyleOption* opt = 0, const QWidget* widget = 0) const; +virtual int styleHint(QStyle::StyleHint stylehint, const QStyleOption* opt = 0, const QWidget* widget = 0, QStyleHintReturn* returnData = 0) const; +virtual QRect subControlRect(QStyle::ComplexControl cc, const QStyleOptionComplex* opt, QStyle::SubControl sc, const QWidget* widget = 0) const; +virtual QRect subElementRect(QStyle::SubElement subElement, const QStyleOption* option, const QWidget* widget = 0) const; +virtual void timerEvent(QTimerEvent* arg__1); +virtual void unpolish(QApplication* arg__1); +virtual void unpolish(QWidget* arg__1); + + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtPublicPromoter_QStyle : public QStyle +{ public: +inline void promoted_drawItemPixmap(QPainter* painter, const QRect& rect, int alignment, const QPixmap& pixmap) const { QStyle::drawItemPixmap(painter, rect, alignment, pixmap); } +inline void promoted_drawItemText(QPainter* painter, const QRect& rect, int flags, const QPalette& pal, bool enabled, const QString& text, QPalette::ColorRole textRole = QPalette::NoRole) const { QStyle::drawItemText(painter, rect, flags, pal, enabled, text, textRole); } +inline QRect promoted_itemPixmapRect(const QRect& r, int flags, const QPixmap& pixmap) const { return QStyle::itemPixmapRect(r, flags, pixmap); } +inline void promoted_polish(QApplication* arg__1) { QStyle::polish(arg__1); } +inline void promoted_polish(QPalette& arg__1) { QStyle::polish(arg__1); } +inline void promoted_polish(QWidget* arg__1) { QStyle::polish(arg__1); } +inline QPalette promoted_standardPalette() const { return QStyle::standardPalette(); } +inline void promoted_unpolish(QApplication* arg__1) { QStyle::unpolish(arg__1); } +inline void promoted_unpolish(QWidget* arg__1) { QStyle::unpolish(arg__1); } +}; + +class PythonQtWrapper_QStyle : public QObject +{ Q_OBJECT +public: +Q_ENUMS(PixelMetric SubControl StandardPixmap StyleHint PrimitiveElement ControlElement ContentsType StateFlag ComplexControl RequestSoftwareInputPanel SubElement ) +Q_FLAGS(SubControls State ) +enum PixelMetric{ + PM_ButtonMargin = QStyle::PM_ButtonMargin, PM_ButtonDefaultIndicator = QStyle::PM_ButtonDefaultIndicator, PM_MenuButtonIndicator = QStyle::PM_MenuButtonIndicator, PM_ButtonShiftHorizontal = QStyle::PM_ButtonShiftHorizontal, PM_ButtonShiftVertical = QStyle::PM_ButtonShiftVertical, PM_DefaultFrameWidth = QStyle::PM_DefaultFrameWidth, PM_SpinBoxFrameWidth = QStyle::PM_SpinBoxFrameWidth, PM_ComboBoxFrameWidth = QStyle::PM_ComboBoxFrameWidth, PM_MaximumDragDistance = QStyle::PM_MaximumDragDistance, PM_ScrollBarExtent = QStyle::PM_ScrollBarExtent, PM_ScrollBarSliderMin = QStyle::PM_ScrollBarSliderMin, PM_SliderThickness = QStyle::PM_SliderThickness, PM_SliderControlThickness = QStyle::PM_SliderControlThickness, PM_SliderLength = QStyle::PM_SliderLength, PM_SliderTickmarkOffset = QStyle::PM_SliderTickmarkOffset, PM_SliderSpaceAvailable = QStyle::PM_SliderSpaceAvailable, PM_DockWidgetSeparatorExtent = QStyle::PM_DockWidgetSeparatorExtent, PM_DockWidgetHandleExtent = QStyle::PM_DockWidgetHandleExtent, PM_DockWidgetFrameWidth = QStyle::PM_DockWidgetFrameWidth, PM_TabBarTabOverlap = QStyle::PM_TabBarTabOverlap, PM_TabBarTabHSpace = QStyle::PM_TabBarTabHSpace, PM_TabBarTabVSpace = QStyle::PM_TabBarTabVSpace, PM_TabBarBaseHeight = QStyle::PM_TabBarBaseHeight, PM_TabBarBaseOverlap = QStyle::PM_TabBarBaseOverlap, PM_ProgressBarChunkWidth = QStyle::PM_ProgressBarChunkWidth, PM_SplitterWidth = QStyle::PM_SplitterWidth, PM_TitleBarHeight = QStyle::PM_TitleBarHeight, PM_MenuScrollerHeight = QStyle::PM_MenuScrollerHeight, PM_MenuHMargin = QStyle::PM_MenuHMargin, PM_MenuVMargin = QStyle::PM_MenuVMargin, PM_MenuPanelWidth = QStyle::PM_MenuPanelWidth, PM_MenuTearoffHeight = QStyle::PM_MenuTearoffHeight, PM_MenuDesktopFrameWidth = QStyle::PM_MenuDesktopFrameWidth, PM_MenuBarPanelWidth = QStyle::PM_MenuBarPanelWidth, PM_MenuBarItemSpacing = QStyle::PM_MenuBarItemSpacing, PM_MenuBarVMargin = QStyle::PM_MenuBarVMargin, PM_MenuBarHMargin = QStyle::PM_MenuBarHMargin, PM_IndicatorWidth = QStyle::PM_IndicatorWidth, PM_IndicatorHeight = QStyle::PM_IndicatorHeight, PM_ExclusiveIndicatorWidth = QStyle::PM_ExclusiveIndicatorWidth, PM_ExclusiveIndicatorHeight = QStyle::PM_ExclusiveIndicatorHeight, PM_CheckListButtonSize = QStyle::PM_CheckListButtonSize, PM_CheckListControllerSize = QStyle::PM_CheckListControllerSize, PM_DialogButtonsSeparator = QStyle::PM_DialogButtonsSeparator, PM_DialogButtonsButtonWidth = QStyle::PM_DialogButtonsButtonWidth, PM_DialogButtonsButtonHeight = QStyle::PM_DialogButtonsButtonHeight, PM_MdiSubWindowFrameWidth = QStyle::PM_MdiSubWindowFrameWidth, PM_MDIFrameWidth = QStyle::PM_MDIFrameWidth, PM_MdiSubWindowMinimizedWidth = QStyle::PM_MdiSubWindowMinimizedWidth, PM_MDIMinimizedWidth = QStyle::PM_MDIMinimizedWidth, PM_HeaderMargin = QStyle::PM_HeaderMargin, PM_HeaderMarkSize = QStyle::PM_HeaderMarkSize, PM_HeaderGripMargin = QStyle::PM_HeaderGripMargin, PM_TabBarTabShiftHorizontal = QStyle::PM_TabBarTabShiftHorizontal, PM_TabBarTabShiftVertical = QStyle::PM_TabBarTabShiftVertical, PM_TabBarScrollButtonWidth = QStyle::PM_TabBarScrollButtonWidth, PM_ToolBarFrameWidth = QStyle::PM_ToolBarFrameWidth, PM_ToolBarHandleExtent = QStyle::PM_ToolBarHandleExtent, PM_ToolBarItemSpacing = QStyle::PM_ToolBarItemSpacing, PM_ToolBarItemMargin = QStyle::PM_ToolBarItemMargin, PM_ToolBarSeparatorExtent = QStyle::PM_ToolBarSeparatorExtent, PM_ToolBarExtensionExtent = QStyle::PM_ToolBarExtensionExtent, PM_SpinBoxSliderHeight = QStyle::PM_SpinBoxSliderHeight, PM_DefaultTopLevelMargin = QStyle::PM_DefaultTopLevelMargin, PM_DefaultChildMargin = QStyle::PM_DefaultChildMargin, PM_DefaultLayoutSpacing = QStyle::PM_DefaultLayoutSpacing, PM_ToolBarIconSize = QStyle::PM_ToolBarIconSize, PM_ListViewIconSize = QStyle::PM_ListViewIconSize, PM_IconViewIconSize = QStyle::PM_IconViewIconSize, PM_SmallIconSize = QStyle::PM_SmallIconSize, PM_LargeIconSize = QStyle::PM_LargeIconSize, PM_FocusFrameVMargin = QStyle::PM_FocusFrameVMargin, PM_FocusFrameHMargin = QStyle::PM_FocusFrameHMargin, PM_ToolTipLabelFrameWidth = QStyle::PM_ToolTipLabelFrameWidth, PM_CheckBoxLabelSpacing = QStyle::PM_CheckBoxLabelSpacing, PM_TabBarIconSize = QStyle::PM_TabBarIconSize, PM_SizeGripSize = QStyle::PM_SizeGripSize, PM_DockWidgetTitleMargin = QStyle::PM_DockWidgetTitleMargin, PM_MessageBoxIconSize = QStyle::PM_MessageBoxIconSize, PM_ButtonIconSize = QStyle::PM_ButtonIconSize, PM_DockWidgetTitleBarButtonMargin = QStyle::PM_DockWidgetTitleBarButtonMargin, PM_RadioButtonLabelSpacing = QStyle::PM_RadioButtonLabelSpacing, PM_LayoutLeftMargin = QStyle::PM_LayoutLeftMargin, PM_LayoutTopMargin = QStyle::PM_LayoutTopMargin, PM_LayoutRightMargin = QStyle::PM_LayoutRightMargin, PM_LayoutBottomMargin = QStyle::PM_LayoutBottomMargin, PM_LayoutHorizontalSpacing = QStyle::PM_LayoutHorizontalSpacing, PM_LayoutVerticalSpacing = QStyle::PM_LayoutVerticalSpacing, PM_TabBar_ScrollButtonOverlap = QStyle::PM_TabBar_ScrollButtonOverlap, PM_TextCursorWidth = QStyle::PM_TextCursorWidth, PM_TabCloseIndicatorWidth = QStyle::PM_TabCloseIndicatorWidth, PM_TabCloseIndicatorHeight = QStyle::PM_TabCloseIndicatorHeight, PM_ScrollView_ScrollBarSpacing = QStyle::PM_ScrollView_ScrollBarSpacing, PM_SubMenuOverlap = QStyle::PM_SubMenuOverlap, PM_CustomBase = QStyle::PM_CustomBase}; +enum SubControl{ + SC_None = QStyle::SC_None, SC_ScrollBarAddLine = QStyle::SC_ScrollBarAddLine, SC_ScrollBarSubLine = QStyle::SC_ScrollBarSubLine, SC_ScrollBarAddPage = QStyle::SC_ScrollBarAddPage, SC_ScrollBarSubPage = QStyle::SC_ScrollBarSubPage, SC_ScrollBarFirst = QStyle::SC_ScrollBarFirst, SC_ScrollBarLast = QStyle::SC_ScrollBarLast, SC_ScrollBarSlider = QStyle::SC_ScrollBarSlider, SC_ScrollBarGroove = QStyle::SC_ScrollBarGroove, SC_SpinBoxUp = QStyle::SC_SpinBoxUp, SC_SpinBoxDown = QStyle::SC_SpinBoxDown, SC_SpinBoxFrame = QStyle::SC_SpinBoxFrame, SC_SpinBoxEditField = QStyle::SC_SpinBoxEditField, SC_ComboBoxFrame = QStyle::SC_ComboBoxFrame, SC_ComboBoxEditField = QStyle::SC_ComboBoxEditField, SC_ComboBoxArrow = QStyle::SC_ComboBoxArrow, SC_ComboBoxListBoxPopup = QStyle::SC_ComboBoxListBoxPopup, SC_SliderGroove = QStyle::SC_SliderGroove, SC_SliderHandle = QStyle::SC_SliderHandle, SC_SliderTickmarks = QStyle::SC_SliderTickmarks, SC_ToolButton = QStyle::SC_ToolButton, SC_ToolButtonMenu = QStyle::SC_ToolButtonMenu, SC_TitleBarSysMenu = QStyle::SC_TitleBarSysMenu, SC_TitleBarMinButton = QStyle::SC_TitleBarMinButton, SC_TitleBarMaxButton = QStyle::SC_TitleBarMaxButton, SC_TitleBarCloseButton = QStyle::SC_TitleBarCloseButton, SC_TitleBarNormalButton = QStyle::SC_TitleBarNormalButton, SC_TitleBarShadeButton = QStyle::SC_TitleBarShadeButton, SC_TitleBarUnshadeButton = QStyle::SC_TitleBarUnshadeButton, SC_TitleBarContextHelpButton = QStyle::SC_TitleBarContextHelpButton, SC_TitleBarLabel = QStyle::SC_TitleBarLabel, SC_Q3ListView = QStyle::SC_Q3ListView, SC_Q3ListViewBranch = QStyle::SC_Q3ListViewBranch, SC_Q3ListViewExpand = QStyle::SC_Q3ListViewExpand, SC_DialGroove = QStyle::SC_DialGroove, SC_DialHandle = QStyle::SC_DialHandle, SC_DialTickmarks = QStyle::SC_DialTickmarks, SC_GroupBoxCheckBox = QStyle::SC_GroupBoxCheckBox, SC_GroupBoxLabel = QStyle::SC_GroupBoxLabel, SC_GroupBoxContents = QStyle::SC_GroupBoxContents, SC_GroupBoxFrame = QStyle::SC_GroupBoxFrame, SC_MdiMinButton = QStyle::SC_MdiMinButton, SC_MdiNormalButton = QStyle::SC_MdiNormalButton, SC_MdiCloseButton = QStyle::SC_MdiCloseButton, SC_CustomBase = QStyle::SC_CustomBase, SC_All = QStyle::SC_All}; +enum StandardPixmap{ + SP_TitleBarMenuButton = QStyle::SP_TitleBarMenuButton, SP_TitleBarMinButton = QStyle::SP_TitleBarMinButton, SP_TitleBarMaxButton = QStyle::SP_TitleBarMaxButton, SP_TitleBarCloseButton = QStyle::SP_TitleBarCloseButton, SP_TitleBarNormalButton = QStyle::SP_TitleBarNormalButton, SP_TitleBarShadeButton = QStyle::SP_TitleBarShadeButton, SP_TitleBarUnshadeButton = QStyle::SP_TitleBarUnshadeButton, SP_TitleBarContextHelpButton = QStyle::SP_TitleBarContextHelpButton, SP_DockWidgetCloseButton = QStyle::SP_DockWidgetCloseButton, SP_MessageBoxInformation = QStyle::SP_MessageBoxInformation, SP_MessageBoxWarning = QStyle::SP_MessageBoxWarning, SP_MessageBoxCritical = QStyle::SP_MessageBoxCritical, SP_MessageBoxQuestion = QStyle::SP_MessageBoxQuestion, SP_DesktopIcon = QStyle::SP_DesktopIcon, SP_TrashIcon = QStyle::SP_TrashIcon, SP_ComputerIcon = QStyle::SP_ComputerIcon, SP_DriveFDIcon = QStyle::SP_DriveFDIcon, SP_DriveHDIcon = QStyle::SP_DriveHDIcon, SP_DriveCDIcon = QStyle::SP_DriveCDIcon, SP_DriveDVDIcon = QStyle::SP_DriveDVDIcon, SP_DriveNetIcon = QStyle::SP_DriveNetIcon, SP_DirOpenIcon = QStyle::SP_DirOpenIcon, SP_DirClosedIcon = QStyle::SP_DirClosedIcon, SP_DirLinkIcon = QStyle::SP_DirLinkIcon, SP_FileIcon = QStyle::SP_FileIcon, SP_FileLinkIcon = QStyle::SP_FileLinkIcon, SP_ToolBarHorizontalExtensionButton = QStyle::SP_ToolBarHorizontalExtensionButton, SP_ToolBarVerticalExtensionButton = QStyle::SP_ToolBarVerticalExtensionButton, SP_FileDialogStart = QStyle::SP_FileDialogStart, SP_FileDialogEnd = QStyle::SP_FileDialogEnd, SP_FileDialogToParent = QStyle::SP_FileDialogToParent, SP_FileDialogNewFolder = QStyle::SP_FileDialogNewFolder, SP_FileDialogDetailedView = QStyle::SP_FileDialogDetailedView, SP_FileDialogInfoView = QStyle::SP_FileDialogInfoView, SP_FileDialogContentsView = QStyle::SP_FileDialogContentsView, SP_FileDialogListView = QStyle::SP_FileDialogListView, SP_FileDialogBack = QStyle::SP_FileDialogBack, SP_DirIcon = QStyle::SP_DirIcon, SP_DialogOkButton = QStyle::SP_DialogOkButton, SP_DialogCancelButton = QStyle::SP_DialogCancelButton, SP_DialogHelpButton = QStyle::SP_DialogHelpButton, SP_DialogOpenButton = QStyle::SP_DialogOpenButton, SP_DialogSaveButton = QStyle::SP_DialogSaveButton, SP_DialogCloseButton = QStyle::SP_DialogCloseButton, SP_DialogApplyButton = QStyle::SP_DialogApplyButton, SP_DialogResetButton = QStyle::SP_DialogResetButton, SP_DialogDiscardButton = QStyle::SP_DialogDiscardButton, SP_DialogYesButton = QStyle::SP_DialogYesButton, SP_DialogNoButton = QStyle::SP_DialogNoButton, SP_ArrowUp = QStyle::SP_ArrowUp, SP_ArrowDown = QStyle::SP_ArrowDown, SP_ArrowLeft = QStyle::SP_ArrowLeft, SP_ArrowRight = QStyle::SP_ArrowRight, SP_ArrowBack = QStyle::SP_ArrowBack, SP_ArrowForward = QStyle::SP_ArrowForward, SP_DirHomeIcon = QStyle::SP_DirHomeIcon, SP_CommandLink = QStyle::SP_CommandLink, SP_VistaShield = QStyle::SP_VistaShield, SP_BrowserReload = QStyle::SP_BrowserReload, SP_BrowserStop = QStyle::SP_BrowserStop, SP_MediaPlay = QStyle::SP_MediaPlay, SP_MediaStop = QStyle::SP_MediaStop, SP_MediaPause = QStyle::SP_MediaPause, SP_MediaSkipForward = QStyle::SP_MediaSkipForward, SP_MediaSkipBackward = QStyle::SP_MediaSkipBackward, SP_MediaSeekForward = QStyle::SP_MediaSeekForward, SP_MediaSeekBackward = QStyle::SP_MediaSeekBackward, SP_MediaVolume = QStyle::SP_MediaVolume, SP_MediaVolumeMuted = QStyle::SP_MediaVolumeMuted, SP_CustomBase = QStyle::SP_CustomBase}; +enum StyleHint{ + SH_EtchDisabledText = QStyle::SH_EtchDisabledText, SH_DitherDisabledText = QStyle::SH_DitherDisabledText, SH_ScrollBar_MiddleClickAbsolutePosition = QStyle::SH_ScrollBar_MiddleClickAbsolutePosition, SH_ScrollBar_ScrollWhenPointerLeavesControl = QStyle::SH_ScrollBar_ScrollWhenPointerLeavesControl, SH_TabBar_SelectMouseType = QStyle::SH_TabBar_SelectMouseType, SH_TabBar_Alignment = QStyle::SH_TabBar_Alignment, SH_Header_ArrowAlignment = QStyle::SH_Header_ArrowAlignment, SH_Slider_SnapToValue = QStyle::SH_Slider_SnapToValue, SH_Slider_SloppyKeyEvents = QStyle::SH_Slider_SloppyKeyEvents, SH_ProgressDialog_CenterCancelButton = QStyle::SH_ProgressDialog_CenterCancelButton, SH_ProgressDialog_TextLabelAlignment = QStyle::SH_ProgressDialog_TextLabelAlignment, SH_PrintDialog_RightAlignButtons = QStyle::SH_PrintDialog_RightAlignButtons, SH_MainWindow_SpaceBelowMenuBar = QStyle::SH_MainWindow_SpaceBelowMenuBar, SH_FontDialog_SelectAssociatedText = QStyle::SH_FontDialog_SelectAssociatedText, SH_Menu_AllowActiveAndDisabled = QStyle::SH_Menu_AllowActiveAndDisabled, SH_Menu_SpaceActivatesItem = QStyle::SH_Menu_SpaceActivatesItem, SH_Menu_SubMenuPopupDelay = QStyle::SH_Menu_SubMenuPopupDelay, SH_ScrollView_FrameOnlyAroundContents = QStyle::SH_ScrollView_FrameOnlyAroundContents, SH_MenuBar_AltKeyNavigation = QStyle::SH_MenuBar_AltKeyNavigation, SH_ComboBox_ListMouseTracking = QStyle::SH_ComboBox_ListMouseTracking, SH_Menu_MouseTracking = QStyle::SH_Menu_MouseTracking, SH_MenuBar_MouseTracking = QStyle::SH_MenuBar_MouseTracking, SH_ItemView_ChangeHighlightOnFocus = QStyle::SH_ItemView_ChangeHighlightOnFocus, SH_Widget_ShareActivation = QStyle::SH_Widget_ShareActivation, SH_Workspace_FillSpaceOnMaximize = QStyle::SH_Workspace_FillSpaceOnMaximize, SH_ComboBox_Popup = QStyle::SH_ComboBox_Popup, SH_TitleBar_NoBorder = QStyle::SH_TitleBar_NoBorder, SH_Slider_StopMouseOverSlider = QStyle::SH_Slider_StopMouseOverSlider, SH_ScrollBar_StopMouseOverSlider = QStyle::SH_ScrollBar_StopMouseOverSlider, SH_BlinkCursorWhenTextSelected = QStyle::SH_BlinkCursorWhenTextSelected, SH_RichText_FullWidthSelection = QStyle::SH_RichText_FullWidthSelection, SH_Menu_Scrollable = QStyle::SH_Menu_Scrollable, SH_GroupBox_TextLabelVerticalAlignment = QStyle::SH_GroupBox_TextLabelVerticalAlignment, SH_GroupBox_TextLabelColor = QStyle::SH_GroupBox_TextLabelColor, SH_Menu_SloppySubMenus = QStyle::SH_Menu_SloppySubMenus, SH_Table_GridLineColor = QStyle::SH_Table_GridLineColor, SH_LineEdit_PasswordCharacter = QStyle::SH_LineEdit_PasswordCharacter, SH_DialogButtons_DefaultButton = QStyle::SH_DialogButtons_DefaultButton, SH_ToolBox_SelectedPageTitleBold = QStyle::SH_ToolBox_SelectedPageTitleBold, SH_TabBar_PreferNoArrows = QStyle::SH_TabBar_PreferNoArrows, SH_ScrollBar_LeftClickAbsolutePosition = QStyle::SH_ScrollBar_LeftClickAbsolutePosition, SH_Q3ListViewExpand_SelectMouseType = QStyle::SH_Q3ListViewExpand_SelectMouseType, SH_UnderlineShortcut = QStyle::SH_UnderlineShortcut, SH_SpinBox_AnimateButton = QStyle::SH_SpinBox_AnimateButton, SH_SpinBox_KeyPressAutoRepeatRate = QStyle::SH_SpinBox_KeyPressAutoRepeatRate, SH_SpinBox_ClickAutoRepeatRate = QStyle::SH_SpinBox_ClickAutoRepeatRate, SH_Menu_FillScreenWithScroll = QStyle::SH_Menu_FillScreenWithScroll, SH_ToolTipLabel_Opacity = QStyle::SH_ToolTipLabel_Opacity, SH_DrawMenuBarSeparator = QStyle::SH_DrawMenuBarSeparator, SH_TitleBar_ModifyNotification = QStyle::SH_TitleBar_ModifyNotification, SH_Button_FocusPolicy = QStyle::SH_Button_FocusPolicy, SH_MenuBar_DismissOnSecondClick = QStyle::SH_MenuBar_DismissOnSecondClick, SH_MessageBox_UseBorderForButtonSpacing = QStyle::SH_MessageBox_UseBorderForButtonSpacing, SH_TitleBar_AutoRaise = QStyle::SH_TitleBar_AutoRaise, SH_ToolButton_PopupDelay = QStyle::SH_ToolButton_PopupDelay, SH_FocusFrame_Mask = QStyle::SH_FocusFrame_Mask, SH_RubberBand_Mask = QStyle::SH_RubberBand_Mask, SH_WindowFrame_Mask = QStyle::SH_WindowFrame_Mask, SH_SpinControls_DisableOnBounds = QStyle::SH_SpinControls_DisableOnBounds, SH_Dial_BackgroundRole = QStyle::SH_Dial_BackgroundRole, SH_ComboBox_LayoutDirection = QStyle::SH_ComboBox_LayoutDirection, SH_ItemView_EllipsisLocation = QStyle::SH_ItemView_EllipsisLocation, SH_ItemView_ShowDecorationSelected = QStyle::SH_ItemView_ShowDecorationSelected, SH_ItemView_ActivateItemOnSingleClick = QStyle::SH_ItemView_ActivateItemOnSingleClick, SH_ScrollBar_ContextMenu = QStyle::SH_ScrollBar_ContextMenu, SH_ScrollBar_RollBetweenButtons = QStyle::SH_ScrollBar_RollBetweenButtons, SH_Slider_AbsoluteSetButtons = QStyle::SH_Slider_AbsoluteSetButtons, SH_Slider_PageSetButtons = QStyle::SH_Slider_PageSetButtons, SH_Menu_KeyboardSearch = QStyle::SH_Menu_KeyboardSearch, SH_TabBar_ElideMode = QStyle::SH_TabBar_ElideMode, SH_DialogButtonLayout = QStyle::SH_DialogButtonLayout, SH_ComboBox_PopupFrameStyle = QStyle::SH_ComboBox_PopupFrameStyle, SH_MessageBox_TextInteractionFlags = QStyle::SH_MessageBox_TextInteractionFlags, SH_DialogButtonBox_ButtonsHaveIcons = QStyle::SH_DialogButtonBox_ButtonsHaveIcons, SH_SpellCheckUnderlineStyle = QStyle::SH_SpellCheckUnderlineStyle, SH_MessageBox_CenterButtons = QStyle::SH_MessageBox_CenterButtons, SH_Menu_SelectionWrap = QStyle::SH_Menu_SelectionWrap, SH_ItemView_MovementWithoutUpdatingSelection = QStyle::SH_ItemView_MovementWithoutUpdatingSelection, SH_ToolTip_Mask = QStyle::SH_ToolTip_Mask, SH_FocusFrame_AboveWidget = QStyle::SH_FocusFrame_AboveWidget, SH_TextControl_FocusIndicatorTextCharFormat = QStyle::SH_TextControl_FocusIndicatorTextCharFormat, SH_WizardStyle = QStyle::SH_WizardStyle, SH_ItemView_ArrowKeysNavigateIntoChildren = QStyle::SH_ItemView_ArrowKeysNavigateIntoChildren, SH_Menu_Mask = QStyle::SH_Menu_Mask, SH_Menu_FlashTriggeredItem = QStyle::SH_Menu_FlashTriggeredItem, SH_Menu_FadeOutOnHide = QStyle::SH_Menu_FadeOutOnHide, SH_SpinBox_ClickAutoRepeatThreshold = QStyle::SH_SpinBox_ClickAutoRepeatThreshold, SH_ItemView_PaintAlternatingRowColorsForEmptyArea = QStyle::SH_ItemView_PaintAlternatingRowColorsForEmptyArea, SH_FormLayoutWrapPolicy = QStyle::SH_FormLayoutWrapPolicy, SH_TabWidget_DefaultTabPosition = QStyle::SH_TabWidget_DefaultTabPosition, SH_ToolBar_Movable = QStyle::SH_ToolBar_Movable, SH_FormLayoutFieldGrowthPolicy = QStyle::SH_FormLayoutFieldGrowthPolicy, SH_FormLayoutFormAlignment = QStyle::SH_FormLayoutFormAlignment, SH_FormLayoutLabelAlignment = QStyle::SH_FormLayoutLabelAlignment, SH_ItemView_DrawDelegateFrame = QStyle::SH_ItemView_DrawDelegateFrame, SH_TabBar_CloseButtonPosition = QStyle::SH_TabBar_CloseButtonPosition, SH_DockWidget_ButtonsHaveFrame = QStyle::SH_DockWidget_ButtonsHaveFrame, SH_ToolButtonStyle = QStyle::SH_ToolButtonStyle, SH_RequestSoftwareInputPanel = QStyle::SH_RequestSoftwareInputPanel, SH_CustomBase = QStyle::SH_CustomBase}; +enum PrimitiveElement{ + PE_Q3CheckListController = QStyle::PE_Q3CheckListController, PE_Q3CheckListExclusiveIndicator = QStyle::PE_Q3CheckListExclusiveIndicator, PE_Q3CheckListIndicator = QStyle::PE_Q3CheckListIndicator, PE_Q3DockWindowSeparator = QStyle::PE_Q3DockWindowSeparator, PE_Q3Separator = QStyle::PE_Q3Separator, PE_Frame = QStyle::PE_Frame, PE_FrameDefaultButton = QStyle::PE_FrameDefaultButton, PE_FrameDockWidget = QStyle::PE_FrameDockWidget, PE_FrameFocusRect = QStyle::PE_FrameFocusRect, PE_FrameGroupBox = QStyle::PE_FrameGroupBox, PE_FrameLineEdit = QStyle::PE_FrameLineEdit, PE_FrameMenu = QStyle::PE_FrameMenu, PE_FrameStatusBar = QStyle::PE_FrameStatusBar, PE_FrameStatusBarItem = QStyle::PE_FrameStatusBarItem, PE_FrameTabWidget = QStyle::PE_FrameTabWidget, PE_FrameWindow = QStyle::PE_FrameWindow, PE_FrameButtonBevel = QStyle::PE_FrameButtonBevel, PE_FrameButtonTool = QStyle::PE_FrameButtonTool, PE_FrameTabBarBase = QStyle::PE_FrameTabBarBase, PE_PanelButtonCommand = QStyle::PE_PanelButtonCommand, PE_PanelButtonBevel = QStyle::PE_PanelButtonBevel, PE_PanelButtonTool = QStyle::PE_PanelButtonTool, PE_PanelMenuBar = QStyle::PE_PanelMenuBar, PE_PanelToolBar = QStyle::PE_PanelToolBar, PE_PanelLineEdit = QStyle::PE_PanelLineEdit, PE_IndicatorArrowDown = QStyle::PE_IndicatorArrowDown, PE_IndicatorArrowLeft = QStyle::PE_IndicatorArrowLeft, PE_IndicatorArrowRight = QStyle::PE_IndicatorArrowRight, PE_IndicatorArrowUp = QStyle::PE_IndicatorArrowUp, PE_IndicatorBranch = QStyle::PE_IndicatorBranch, PE_IndicatorButtonDropDown = QStyle::PE_IndicatorButtonDropDown, PE_IndicatorViewItemCheck = QStyle::PE_IndicatorViewItemCheck, PE_IndicatorItemViewItemCheck = QStyle::PE_IndicatorItemViewItemCheck, PE_IndicatorCheckBox = QStyle::PE_IndicatorCheckBox, PE_IndicatorDockWidgetResizeHandle = QStyle::PE_IndicatorDockWidgetResizeHandle, PE_IndicatorHeaderArrow = QStyle::PE_IndicatorHeaderArrow, PE_IndicatorMenuCheckMark = QStyle::PE_IndicatorMenuCheckMark, PE_IndicatorProgressChunk = QStyle::PE_IndicatorProgressChunk, PE_IndicatorRadioButton = QStyle::PE_IndicatorRadioButton, PE_IndicatorSpinDown = QStyle::PE_IndicatorSpinDown, PE_IndicatorSpinMinus = QStyle::PE_IndicatorSpinMinus, PE_IndicatorSpinPlus = QStyle::PE_IndicatorSpinPlus, PE_IndicatorSpinUp = QStyle::PE_IndicatorSpinUp, PE_IndicatorToolBarHandle = QStyle::PE_IndicatorToolBarHandle, PE_IndicatorToolBarSeparator = QStyle::PE_IndicatorToolBarSeparator, PE_PanelTipLabel = QStyle::PE_PanelTipLabel, PE_IndicatorTabTear = QStyle::PE_IndicatorTabTear, PE_PanelScrollAreaCorner = QStyle::PE_PanelScrollAreaCorner, PE_Widget = QStyle::PE_Widget, PE_IndicatorColumnViewArrow = QStyle::PE_IndicatorColumnViewArrow, PE_IndicatorItemViewItemDrop = QStyle::PE_IndicatorItemViewItemDrop, PE_PanelItemViewItem = QStyle::PE_PanelItemViewItem, PE_PanelItemViewRow = QStyle::PE_PanelItemViewRow, PE_PanelStatusBar = QStyle::PE_PanelStatusBar, PE_IndicatorTabClose = QStyle::PE_IndicatorTabClose, PE_PanelMenu = QStyle::PE_PanelMenu, PE_CustomBase = QStyle::PE_CustomBase}; +enum ControlElement{ + CE_PushButton = QStyle::CE_PushButton, CE_PushButtonBevel = QStyle::CE_PushButtonBevel, CE_PushButtonLabel = QStyle::CE_PushButtonLabel, CE_CheckBox = QStyle::CE_CheckBox, CE_CheckBoxLabel = QStyle::CE_CheckBoxLabel, CE_RadioButton = QStyle::CE_RadioButton, CE_RadioButtonLabel = QStyle::CE_RadioButtonLabel, CE_TabBarTab = QStyle::CE_TabBarTab, CE_TabBarTabShape = QStyle::CE_TabBarTabShape, CE_TabBarTabLabel = QStyle::CE_TabBarTabLabel, CE_ProgressBar = QStyle::CE_ProgressBar, CE_ProgressBarGroove = QStyle::CE_ProgressBarGroove, CE_ProgressBarContents = QStyle::CE_ProgressBarContents, CE_ProgressBarLabel = QStyle::CE_ProgressBarLabel, CE_MenuItem = QStyle::CE_MenuItem, CE_MenuScroller = QStyle::CE_MenuScroller, CE_MenuVMargin = QStyle::CE_MenuVMargin, CE_MenuHMargin = QStyle::CE_MenuHMargin, CE_MenuTearoff = QStyle::CE_MenuTearoff, CE_MenuEmptyArea = QStyle::CE_MenuEmptyArea, CE_MenuBarItem = QStyle::CE_MenuBarItem, CE_MenuBarEmptyArea = QStyle::CE_MenuBarEmptyArea, CE_ToolButtonLabel = QStyle::CE_ToolButtonLabel, CE_Header = QStyle::CE_Header, CE_HeaderSection = QStyle::CE_HeaderSection, CE_HeaderLabel = QStyle::CE_HeaderLabel, CE_Q3DockWindowEmptyArea = QStyle::CE_Q3DockWindowEmptyArea, CE_ToolBoxTab = QStyle::CE_ToolBoxTab, CE_SizeGrip = QStyle::CE_SizeGrip, CE_Splitter = QStyle::CE_Splitter, CE_RubberBand = QStyle::CE_RubberBand, CE_DockWidgetTitle = QStyle::CE_DockWidgetTitle, CE_ScrollBarAddLine = QStyle::CE_ScrollBarAddLine, CE_ScrollBarSubLine = QStyle::CE_ScrollBarSubLine, CE_ScrollBarAddPage = QStyle::CE_ScrollBarAddPage, CE_ScrollBarSubPage = QStyle::CE_ScrollBarSubPage, CE_ScrollBarSlider = QStyle::CE_ScrollBarSlider, CE_ScrollBarFirst = QStyle::CE_ScrollBarFirst, CE_ScrollBarLast = QStyle::CE_ScrollBarLast, CE_FocusFrame = QStyle::CE_FocusFrame, CE_ComboBoxLabel = QStyle::CE_ComboBoxLabel, CE_ToolBar = QStyle::CE_ToolBar, CE_ToolBoxTabShape = QStyle::CE_ToolBoxTabShape, CE_ToolBoxTabLabel = QStyle::CE_ToolBoxTabLabel, CE_HeaderEmptyArea = QStyle::CE_HeaderEmptyArea, CE_ColumnViewGrip = QStyle::CE_ColumnViewGrip, CE_ItemViewItem = QStyle::CE_ItemViewItem, CE_ShapedFrame = QStyle::CE_ShapedFrame, CE_CustomBase = QStyle::CE_CustomBase}; +enum ContentsType{ + CT_PushButton = QStyle::CT_PushButton, CT_CheckBox = QStyle::CT_CheckBox, CT_RadioButton = QStyle::CT_RadioButton, CT_ToolButton = QStyle::CT_ToolButton, CT_ComboBox = QStyle::CT_ComboBox, CT_Splitter = QStyle::CT_Splitter, CT_Q3DockWindow = QStyle::CT_Q3DockWindow, CT_ProgressBar = QStyle::CT_ProgressBar, CT_MenuItem = QStyle::CT_MenuItem, CT_MenuBarItem = QStyle::CT_MenuBarItem, CT_MenuBar = QStyle::CT_MenuBar, CT_Menu = QStyle::CT_Menu, CT_TabBarTab = QStyle::CT_TabBarTab, CT_Slider = QStyle::CT_Slider, CT_ScrollBar = QStyle::CT_ScrollBar, CT_Q3Header = QStyle::CT_Q3Header, CT_LineEdit = QStyle::CT_LineEdit, CT_SpinBox = QStyle::CT_SpinBox, CT_SizeGrip = QStyle::CT_SizeGrip, CT_TabWidget = QStyle::CT_TabWidget, CT_DialogButtons = QStyle::CT_DialogButtons, CT_HeaderSection = QStyle::CT_HeaderSection, CT_GroupBox = QStyle::CT_GroupBox, CT_MdiControls = QStyle::CT_MdiControls, CT_ItemViewItem = QStyle::CT_ItemViewItem, CT_CustomBase = QStyle::CT_CustomBase}; +enum StateFlag{ + State_None = QStyle::State_None, State_Enabled = QStyle::State_Enabled, State_Raised = QStyle::State_Raised, State_Sunken = QStyle::State_Sunken, State_Off = QStyle::State_Off, State_NoChange = QStyle::State_NoChange, State_On = QStyle::State_On, State_DownArrow = QStyle::State_DownArrow, State_Horizontal = QStyle::State_Horizontal, State_HasFocus = QStyle::State_HasFocus, State_Top = QStyle::State_Top, State_Bottom = QStyle::State_Bottom, State_FocusAtBorder = QStyle::State_FocusAtBorder, State_AutoRaise = QStyle::State_AutoRaise, State_MouseOver = QStyle::State_MouseOver, State_UpArrow = QStyle::State_UpArrow, State_Selected = QStyle::State_Selected, State_Active = QStyle::State_Active, State_Window = QStyle::State_Window, State_Open = QStyle::State_Open, State_Children = QStyle::State_Children, State_Item = QStyle::State_Item, State_Sibling = QStyle::State_Sibling, State_Editing = QStyle::State_Editing, State_KeyboardFocusChange = QStyle::State_KeyboardFocusChange, State_ReadOnly = QStyle::State_ReadOnly, State_Small = QStyle::State_Small, State_Mini = QStyle::State_Mini}; +enum ComplexControl{ + CC_SpinBox = QStyle::CC_SpinBox, CC_ComboBox = QStyle::CC_ComboBox, CC_ScrollBar = QStyle::CC_ScrollBar, CC_Slider = QStyle::CC_Slider, CC_ToolButton = QStyle::CC_ToolButton, CC_TitleBar = QStyle::CC_TitleBar, CC_Q3ListView = QStyle::CC_Q3ListView, CC_Dial = QStyle::CC_Dial, CC_GroupBox = QStyle::CC_GroupBox, CC_MdiControls = QStyle::CC_MdiControls, CC_CustomBase = QStyle::CC_CustomBase}; +enum RequestSoftwareInputPanel{ + RSIP_OnMouseClickAndAlreadyFocused = QStyle::RSIP_OnMouseClickAndAlreadyFocused, RSIP_OnMouseClick = QStyle::RSIP_OnMouseClick}; +enum SubElement{ + SE_PushButtonContents = QStyle::SE_PushButtonContents, SE_PushButtonFocusRect = QStyle::SE_PushButtonFocusRect, SE_CheckBoxIndicator = QStyle::SE_CheckBoxIndicator, SE_CheckBoxContents = QStyle::SE_CheckBoxContents, SE_CheckBoxFocusRect = QStyle::SE_CheckBoxFocusRect, SE_CheckBoxClickRect = QStyle::SE_CheckBoxClickRect, SE_RadioButtonIndicator = QStyle::SE_RadioButtonIndicator, SE_RadioButtonContents = QStyle::SE_RadioButtonContents, SE_RadioButtonFocusRect = QStyle::SE_RadioButtonFocusRect, SE_RadioButtonClickRect = QStyle::SE_RadioButtonClickRect, SE_ComboBoxFocusRect = QStyle::SE_ComboBoxFocusRect, SE_SliderFocusRect = QStyle::SE_SliderFocusRect, SE_Q3DockWindowHandleRect = QStyle::SE_Q3DockWindowHandleRect, SE_ProgressBarGroove = QStyle::SE_ProgressBarGroove, SE_ProgressBarContents = QStyle::SE_ProgressBarContents, SE_ProgressBarLabel = QStyle::SE_ProgressBarLabel, SE_DialogButtonAccept = QStyle::SE_DialogButtonAccept, SE_DialogButtonReject = QStyle::SE_DialogButtonReject, SE_DialogButtonApply = QStyle::SE_DialogButtonApply, SE_DialogButtonHelp = QStyle::SE_DialogButtonHelp, SE_DialogButtonAll = QStyle::SE_DialogButtonAll, SE_DialogButtonAbort = QStyle::SE_DialogButtonAbort, SE_DialogButtonIgnore = QStyle::SE_DialogButtonIgnore, SE_DialogButtonRetry = QStyle::SE_DialogButtonRetry, SE_DialogButtonCustom = QStyle::SE_DialogButtonCustom, SE_ToolBoxTabContents = QStyle::SE_ToolBoxTabContents, SE_HeaderLabel = QStyle::SE_HeaderLabel, SE_HeaderArrow = QStyle::SE_HeaderArrow, SE_TabWidgetTabBar = QStyle::SE_TabWidgetTabBar, SE_TabWidgetTabPane = QStyle::SE_TabWidgetTabPane, SE_TabWidgetTabContents = QStyle::SE_TabWidgetTabContents, SE_TabWidgetLeftCorner = QStyle::SE_TabWidgetLeftCorner, SE_TabWidgetRightCorner = QStyle::SE_TabWidgetRightCorner, SE_ViewItemCheckIndicator = QStyle::SE_ViewItemCheckIndicator, SE_ItemViewItemCheckIndicator = QStyle::SE_ItemViewItemCheckIndicator, SE_TabBarTearIndicator = QStyle::SE_TabBarTearIndicator, SE_TreeViewDisclosureItem = QStyle::SE_TreeViewDisclosureItem, SE_LineEditContents = QStyle::SE_LineEditContents, SE_FrameContents = QStyle::SE_FrameContents, SE_DockWidgetCloseButton = QStyle::SE_DockWidgetCloseButton, SE_DockWidgetFloatButton = QStyle::SE_DockWidgetFloatButton, SE_DockWidgetTitleBarText = QStyle::SE_DockWidgetTitleBarText, SE_DockWidgetIcon = QStyle::SE_DockWidgetIcon, SE_CheckBoxLayoutItem = QStyle::SE_CheckBoxLayoutItem, SE_ComboBoxLayoutItem = QStyle::SE_ComboBoxLayoutItem, SE_DateTimeEditLayoutItem = QStyle::SE_DateTimeEditLayoutItem, SE_DialogButtonBoxLayoutItem = QStyle::SE_DialogButtonBoxLayoutItem, SE_LabelLayoutItem = QStyle::SE_LabelLayoutItem, SE_ProgressBarLayoutItem = QStyle::SE_ProgressBarLayoutItem, SE_PushButtonLayoutItem = QStyle::SE_PushButtonLayoutItem, SE_RadioButtonLayoutItem = QStyle::SE_RadioButtonLayoutItem, SE_SliderLayoutItem = QStyle::SE_SliderLayoutItem, SE_SpinBoxLayoutItem = QStyle::SE_SpinBoxLayoutItem, SE_ToolButtonLayoutItem = QStyle::SE_ToolButtonLayoutItem, SE_FrameLayoutItem = QStyle::SE_FrameLayoutItem, SE_GroupBoxLayoutItem = QStyle::SE_GroupBoxLayoutItem, SE_TabWidgetLayoutItem = QStyle::SE_TabWidgetLayoutItem, SE_ItemViewItemDecoration = QStyle::SE_ItemViewItemDecoration, SE_ItemViewItemText = QStyle::SE_ItemViewItemText, SE_ItemViewItemFocusRect = QStyle::SE_ItemViewItemFocusRect, SE_TabBarTabLeftButton = QStyle::SE_TabBarTabLeftButton, SE_TabBarTabRightButton = QStyle::SE_TabBarTabRightButton, SE_TabBarTabText = QStyle::SE_TabBarTabText, SE_ShapedFrameContents = QStyle::SE_ShapedFrameContents, SE_ToolBarHandle = QStyle::SE_ToolBarHandle, SE_CustomBase = QStyle::SE_CustomBase}; +Q_DECLARE_FLAGS(SubControls, SubControl) +Q_DECLARE_FLAGS(State, StateFlag) +public slots: +QStyle* new_QStyle(); +void delete_QStyle(QStyle* obj) { delete obj; } + 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 = 0, QWidget* widget = 0) const; + void drawItemPixmap(QStyle* theWrappedObject, QPainter* painter, const QRect& rect, int alignment, const QPixmap& pixmap) const; + void drawItemText(QStyle* theWrappedObject, QPainter* painter, const QRect& rect, int flags, const QPalette& pal, bool enabled, const QString& text, QPalette::ColorRole textRole = QPalette::NoRole) const; + QRect itemPixmapRect(QStyle* theWrappedObject, const QRect& r, int flags, const QPixmap& pixmap) const; + int layoutSpacing(QStyle* theWrappedObject, QSizePolicy::ControlType control1, QSizePolicy::ControlType control2, Qt::Orientation orientation, const QStyleOption* option = 0, const QWidget* widget = 0) const; + void polish(QStyle* theWrappedObject, QApplication* arg__1); + void polish(QStyle* theWrappedObject, QPalette& arg__1); + void polish(QStyle* theWrappedObject, QWidget* arg__1); + const QStyle* proxy(QStyle* theWrappedObject) const; + int static_QStyle_sliderPositionFromValue(int min, int max, int val, int space, bool upsideDown = false); + int static_QStyle_sliderValueFromPosition(int min, int max, int pos, int space, bool upsideDown = false); + QIcon standardIcon(QStyle* theWrappedObject, QStyle::StandardPixmap standardIcon, const QStyleOption* option = 0, const QWidget* widget = 0) const; + QPalette standardPalette(QStyle* theWrappedObject) const; + void unpolish(QStyle* theWrappedObject, QApplication* arg__1); + void unpolish(QStyle* theWrappedObject, QWidget* arg__1); + Qt::Alignment static_QStyle_visualAlignment(Qt::LayoutDirection direction, Qt::Alignment alignment); + QPoint static_QStyle_visualPos(Qt::LayoutDirection direction, const QRect& boundingRect, const QPoint& logicalPos); + QRect static_QStyle_visualRect(Qt::LayoutDirection direction, const QRect& boundingRect, const QRect& logicalRect); +}; + + + + + +class PythonQtShell_QStyleFactory : public QStyleFactory +{ +public: + PythonQtShell_QStyleFactory():QStyleFactory(),_wrapper(NULL) {}; + + + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtWrapper_QStyleFactory : public QObject +{ Q_OBJECT +public: +public slots: +QStyleFactory* new_QStyleFactory(); +void delete_QStyleFactory(QStyleFactory* obj) { delete obj; } + QStyle* static_QStyleFactory_create(const QString& arg__1); + QStringList static_QStyleFactory_keys(); +}; + + + + + +class PythonQtShell_QStyleHintReturn : public QStyleHintReturn +{ +public: + PythonQtShell_QStyleHintReturn(int version = QStyleOption::Version, int type = SH_Default):QStyleHintReturn(version, type),_wrapper(NULL) {}; + + + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtWrapper_QStyleHintReturn : public QObject +{ Q_OBJECT +public: +Q_ENUMS(HintReturnType StyleOptionVersion StyleOptionType ) +enum HintReturnType{ + SH_Default = QStyleHintReturn::SH_Default, SH_Mask = QStyleHintReturn::SH_Mask, SH_Variant = QStyleHintReturn::SH_Variant}; +enum StyleOptionVersion{ + Version = QStyleHintReturn::Version}; +enum StyleOptionType{ + Type = QStyleHintReturn::Type}; +public slots: +QStyleHintReturn* new_QStyleHintReturn(int version = QStyleOption::Version, int type = SH_Default); +void delete_QStyleHintReturn(QStyleHintReturn* obj) { delete obj; } +void py_set_version(QStyleHintReturn* theWrappedObject, int version){ theWrappedObject->version = version; } +int py_get_version(QStyleHintReturn* theWrappedObject){ return theWrappedObject->version; } +void py_set_type(QStyleHintReturn* theWrappedObject, int type){ theWrappedObject->type = type; } +int py_get_type(QStyleHintReturn* theWrappedObject){ return theWrappedObject->type; } +}; + + + + + +class PythonQtShell_QStyleHintReturnMask : public QStyleHintReturnMask +{ +public: + PythonQtShell_QStyleHintReturnMask():QStyleHintReturnMask(),_wrapper(NULL) {}; + + + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtWrapper_QStyleHintReturnMask : public QObject +{ Q_OBJECT +public: +Q_ENUMS(StyleOptionVersion StyleOptionType ) +enum StyleOptionVersion{ + Version = QStyleHintReturnMask::Version}; +enum StyleOptionType{ + Type = QStyleHintReturnMask::Type}; +public slots: +QStyleHintReturnMask* new_QStyleHintReturnMask(); +void delete_QStyleHintReturnMask(QStyleHintReturnMask* obj) { delete obj; } +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) {}; + + + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtWrapper_QStyleHintReturnVariant : public QObject +{ Q_OBJECT +public: +Q_ENUMS(StyleOptionVersion StyleOptionType ) +enum StyleOptionVersion{ + Version = QStyleHintReturnVariant::Version}; +enum StyleOptionType{ + Type = QStyleHintReturnVariant::Type}; +public slots: +QStyleHintReturnVariant* new_QStyleHintReturnVariant(); +void delete_QStyleHintReturnVariant(QStyleHintReturnVariant* obj) { delete obj; } +void py_set_variant(QStyleHintReturnVariant* theWrappedObject, QVariant variant){ theWrappedObject->variant = variant; } +QVariant py_get_variant(QStyleHintReturnVariant* theWrappedObject){ return theWrappedObject->variant; } +}; + + + + + +class PythonQtShell_QStyleOption : public QStyleOption +{ +public: + PythonQtShell_QStyleOption(const QStyleOption& other):QStyleOption(other),_wrapper(NULL) {}; + PythonQtShell_QStyleOption(int version = QStyleOption::Version, int type = SO_Default):QStyleOption(version, type),_wrapper(NULL) {}; + + + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtWrapper_QStyleOption : public QObject +{ Q_OBJECT +public: +Q_ENUMS(StyleOptionVersion StyleOptionType OptionType ) +enum StyleOptionVersion{ + Version = QStyleOption::Version}; +enum StyleOptionType{ + Type = QStyleOption::Type}; +enum OptionType{ + SO_Default = QStyleOption::SO_Default, SO_FocusRect = QStyleOption::SO_FocusRect, SO_Button = QStyleOption::SO_Button, SO_Tab = QStyleOption::SO_Tab, SO_MenuItem = QStyleOption::SO_MenuItem, SO_Frame = QStyleOption::SO_Frame, SO_ProgressBar = QStyleOption::SO_ProgressBar, SO_ToolBox = QStyleOption::SO_ToolBox, SO_Header = QStyleOption::SO_Header, SO_Q3DockWindow = QStyleOption::SO_Q3DockWindow, SO_DockWidget = QStyleOption::SO_DockWidget, SO_Q3ListViewItem = QStyleOption::SO_Q3ListViewItem, SO_ViewItem = QStyleOption::SO_ViewItem, SO_TabWidgetFrame = QStyleOption::SO_TabWidgetFrame, SO_TabBarBase = QStyleOption::SO_TabBarBase, SO_RubberBand = QStyleOption::SO_RubberBand, SO_ToolBar = QStyleOption::SO_ToolBar, SO_GraphicsItem = QStyleOption::SO_GraphicsItem, SO_Complex = QStyleOption::SO_Complex, SO_Slider = QStyleOption::SO_Slider, SO_SpinBox = QStyleOption::SO_SpinBox, SO_ToolButton = QStyleOption::SO_ToolButton, SO_ComboBox = QStyleOption::SO_ComboBox, SO_Q3ListView = QStyleOption::SO_Q3ListView, SO_TitleBar = QStyleOption::SO_TitleBar, SO_GroupBox = QStyleOption::SO_GroupBox, SO_SizeGrip = QStyleOption::SO_SizeGrip, SO_CustomBase = QStyleOption::SO_CustomBase, SO_ComplexCustomBase = QStyleOption::SO_ComplexCustomBase}; +public slots: +QStyleOption* new_QStyleOption(const QStyleOption& other); +QStyleOption* new_QStyleOption(int version = QStyleOption::Version, int type = SO_Default); +void delete_QStyleOption(QStyleOption* obj) { delete obj; } + void initFrom(QStyleOption* theWrappedObject, const QWidget* w); + QString py_toString(QStyleOption*); +void py_set_palette(QStyleOption* theWrappedObject, QPalette palette){ theWrappedObject->palette = palette; } +QPalette py_get_palette(QStyleOption* theWrappedObject){ return theWrappedObject->palette; } +void py_set_version(QStyleOption* theWrappedObject, int version){ theWrappedObject->version = version; } +int py_get_version(QStyleOption* theWrappedObject){ return theWrappedObject->version; } +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_rect(QStyleOption* theWrappedObject, QRect rect){ theWrappedObject->rect = rect; } +QRect py_get_rect(QStyleOption* theWrappedObject){ return theWrappedObject->rect; } +void py_set_type(QStyleOption* theWrappedObject, int type){ theWrappedObject->type = type; } +int py_get_type(QStyleOption* theWrappedObject){ return theWrappedObject->type; } +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_fontMetrics(QStyleOption* theWrappedObject, QFontMetrics fontMetrics){ theWrappedObject->fontMetrics = fontMetrics; } +QFontMetrics py_get_fontMetrics(QStyleOption* theWrappedObject){ return theWrappedObject->fontMetrics; } +}; + + + + + +class PythonQtShell_QStyleOptionButton : public QStyleOptionButton +{ +public: + PythonQtShell_QStyleOptionButton():QStyleOptionButton(),_wrapper(NULL) {}; + PythonQtShell_QStyleOptionButton(const QStyleOptionButton& other):QStyleOptionButton(other),_wrapper(NULL) {}; + PythonQtShell_QStyleOptionButton(int version):QStyleOptionButton(version),_wrapper(NULL) {}; + + + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtWrapper_QStyleOptionButton : public QObject +{ Q_OBJECT +public: +Q_ENUMS(StyleOptionVersion ButtonFeature StyleOptionType ) +Q_FLAGS(ButtonFeatures ) +enum StyleOptionVersion{ + Version = QStyleOptionButton::Version}; +enum ButtonFeature{ + None = QStyleOptionButton::None, Flat = QStyleOptionButton::Flat, HasMenu = QStyleOptionButton::HasMenu, DefaultButton = QStyleOptionButton::DefaultButton, AutoDefaultButton = QStyleOptionButton::AutoDefaultButton, CommandLinkButton = QStyleOptionButton::CommandLinkButton}; +enum StyleOptionType{ + Type = QStyleOptionButton::Type}; +Q_DECLARE_FLAGS(ButtonFeatures, ButtonFeature) +public slots: +QStyleOptionButton* new_QStyleOptionButton(); +QStyleOptionButton* new_QStyleOptionButton(const QStyleOptionButton& other); +void delete_QStyleOptionButton(QStyleOptionButton* obj) { delete obj; } +void py_set_iconSize(QStyleOptionButton* theWrappedObject, QSize iconSize){ theWrappedObject->iconSize = iconSize; } +QSize py_get_iconSize(QStyleOptionButton* theWrappedObject){ return theWrappedObject->iconSize; } +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_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(NULL) {}; + PythonQtShell_QStyleOptionComboBox(const QStyleOptionComboBox& other):QStyleOptionComboBox(other),_wrapper(NULL) {}; + PythonQtShell_QStyleOptionComboBox(int version):QStyleOptionComboBox(version),_wrapper(NULL) {}; + + + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtWrapper_QStyleOptionComboBox : public QObject +{ Q_OBJECT +public: +Q_ENUMS(StyleOptionVersion StyleOptionType ) +enum StyleOptionVersion{ + Version = QStyleOptionComboBox::Version}; +enum StyleOptionType{ + Type = QStyleOptionComboBox::Type}; +public slots: +QStyleOptionComboBox* new_QStyleOptionComboBox(); +QStyleOptionComboBox* new_QStyleOptionComboBox(const QStyleOptionComboBox& other); +void delete_QStyleOptionComboBox(QStyleOptionComboBox* obj) { delete obj; } +void py_set_currentText(QStyleOptionComboBox* theWrappedObject, QString currentText){ theWrappedObject->currentText = currentText; } +QString py_get_currentText(QStyleOptionComboBox* theWrappedObject){ return theWrappedObject->currentText; } +void py_set_iconSize(QStyleOptionComboBox* theWrappedObject, QSize iconSize){ theWrappedObject->iconSize = iconSize; } +QSize py_get_iconSize(QStyleOptionComboBox* theWrappedObject){ return theWrappedObject->iconSize; } +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_popupRect(QStyleOptionComboBox* theWrappedObject, QRect popupRect){ theWrappedObject->popupRect = popupRect; } +QRect py_get_popupRect(QStyleOptionComboBox* theWrappedObject){ return theWrappedObject->popupRect; } +void py_set_currentIcon(QStyleOptionComboBox* theWrappedObject, QIcon currentIcon){ theWrappedObject->currentIcon = currentIcon; } +QIcon py_get_currentIcon(QStyleOptionComboBox* theWrappedObject){ return theWrappedObject->currentIcon; } +}; + + + + + +class PythonQtShell_QStyleOptionDockWidget : public QStyleOptionDockWidget +{ +public: + PythonQtShell_QStyleOptionDockWidget():QStyleOptionDockWidget(),_wrapper(NULL) {}; + PythonQtShell_QStyleOptionDockWidget(const QStyleOptionDockWidget& other):QStyleOptionDockWidget(other),_wrapper(NULL) {}; + PythonQtShell_QStyleOptionDockWidget(int version):QStyleOptionDockWidget(version),_wrapper(NULL) {}; + + + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtWrapper_QStyleOptionDockWidget : public QObject +{ Q_OBJECT +public: +Q_ENUMS(StyleOptionVersion StyleOptionType ) +enum StyleOptionVersion{ + Version = QStyleOptionDockWidget::Version}; +enum StyleOptionType{ + Type = QStyleOptionDockWidget::Type}; +public slots: +QStyleOptionDockWidget* new_QStyleOptionDockWidget(); +QStyleOptionDockWidget* new_QStyleOptionDockWidget(const QStyleOptionDockWidget& other); +void delete_QStyleOptionDockWidget(QStyleOptionDockWidget* obj) { delete obj; } +void py_set_title(QStyleOptionDockWidget* theWrappedObject, QString title){ theWrappedObject->title = title; } +QString py_get_title(QStyleOptionDockWidget* theWrappedObject){ return theWrappedObject->title; } +void py_set_floatable(QStyleOptionDockWidget* theWrappedObject, bool floatable){ theWrappedObject->floatable = floatable; } +bool py_get_floatable(QStyleOptionDockWidget* theWrappedObject){ return theWrappedObject->floatable; } +void py_set_closable(QStyleOptionDockWidget* theWrappedObject, bool closable){ theWrappedObject->closable = closable; } +bool py_get_closable(QStyleOptionDockWidget* theWrappedObject){ return theWrappedObject->closable; } +void py_set_movable(QStyleOptionDockWidget* theWrappedObject, bool movable){ theWrappedObject->movable = movable; } +bool py_get_movable(QStyleOptionDockWidget* theWrappedObject){ return theWrappedObject->movable; } +}; + + + + + +class PythonQtShell_QStyleOptionDockWidgetV2 : public QStyleOptionDockWidgetV2 +{ +public: + PythonQtShell_QStyleOptionDockWidgetV2():QStyleOptionDockWidgetV2(),_wrapper(NULL) {}; + PythonQtShell_QStyleOptionDockWidgetV2(const QStyleOptionDockWidget& other):QStyleOptionDockWidgetV2(other),_wrapper(NULL) {}; + PythonQtShell_QStyleOptionDockWidgetV2(const QStyleOptionDockWidgetV2& other):QStyleOptionDockWidgetV2(other),_wrapper(NULL) {}; + PythonQtShell_QStyleOptionDockWidgetV2(int version):QStyleOptionDockWidgetV2(version),_wrapper(NULL) {}; + + + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtWrapper_QStyleOptionDockWidgetV2 : public QObject +{ Q_OBJECT +public: +Q_ENUMS(StyleOptionVersion ) +enum StyleOptionVersion{ + Version = QStyleOptionDockWidgetV2::Version}; +public slots: +QStyleOptionDockWidgetV2* new_QStyleOptionDockWidgetV2(); +QStyleOptionDockWidgetV2* new_QStyleOptionDockWidgetV2(const QStyleOptionDockWidget& other); +QStyleOptionDockWidgetV2* new_QStyleOptionDockWidgetV2(const QStyleOptionDockWidgetV2& other); +void delete_QStyleOptionDockWidgetV2(QStyleOptionDockWidgetV2* obj) { delete obj; } +void py_set_verticalTitleBar(QStyleOptionDockWidgetV2* theWrappedObject, bool verticalTitleBar){ theWrappedObject->verticalTitleBar = verticalTitleBar; } +bool py_get_verticalTitleBar(QStyleOptionDockWidgetV2* theWrappedObject){ return theWrappedObject->verticalTitleBar; } +}; + + + + + +class PythonQtShell_QStyleOptionFocusRect : public QStyleOptionFocusRect +{ +public: + PythonQtShell_QStyleOptionFocusRect():QStyleOptionFocusRect(),_wrapper(NULL) {}; + PythonQtShell_QStyleOptionFocusRect(const QStyleOptionFocusRect& other):QStyleOptionFocusRect(other),_wrapper(NULL) {}; + PythonQtShell_QStyleOptionFocusRect(int version):QStyleOptionFocusRect(version),_wrapper(NULL) {}; + + + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtWrapper_QStyleOptionFocusRect : public QObject +{ Q_OBJECT +public: +Q_ENUMS(StyleOptionVersion StyleOptionType ) +enum StyleOptionVersion{ + Version = QStyleOptionFocusRect::Version}; +enum StyleOptionType{ + Type = QStyleOptionFocusRect::Type}; +public slots: +QStyleOptionFocusRect* new_QStyleOptionFocusRect(); +QStyleOptionFocusRect* new_QStyleOptionFocusRect(const QStyleOptionFocusRect& other); +void delete_QStyleOptionFocusRect(QStyleOptionFocusRect* obj) { delete obj; } +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) {}; + + + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtWrapper_QStyleOptionFrame : public QObject +{ Q_OBJECT +public: +Q_ENUMS(StyleOptionVersion StyleOptionType ) +enum StyleOptionVersion{ + Version = QStyleOptionFrame::Version}; +enum StyleOptionType{ + Type = QStyleOptionFrame::Type}; +public slots: +QStyleOptionFrame* new_QStyleOptionFrame(); +QStyleOptionFrame* new_QStyleOptionFrame(const QStyleOptionFrame& other); +void delete_QStyleOptionFrame(QStyleOptionFrame* obj) { delete obj; } +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(const QStyleOptionFrame& other):QStyleOptionFrameV2(other),_wrapper(NULL) {}; + PythonQtShell_QStyleOptionFrameV2(const QStyleOptionFrameV2& other):QStyleOptionFrameV2(other),_wrapper(NULL) {}; + PythonQtShell_QStyleOptionFrameV2(int version):QStyleOptionFrameV2(version),_wrapper(NULL) {}; + + + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtWrapper_QStyleOptionFrameV2 : public QObject +{ Q_OBJECT +public: +Q_ENUMS(StyleOptionVersion FrameFeature ) +Q_FLAGS(FrameFeatures ) +enum StyleOptionVersion{ + Version = QStyleOptionFrameV2::Version}; +enum FrameFeature{ + None = QStyleOptionFrameV2::None, Flat = QStyleOptionFrameV2::Flat}; +Q_DECLARE_FLAGS(FrameFeatures, FrameFeature) +public slots: +QStyleOptionFrameV2* new_QStyleOptionFrameV2(); +QStyleOptionFrameV2* new_QStyleOptionFrameV2(const QStyleOptionFrame& other); +QStyleOptionFrameV2* new_QStyleOptionFrameV2(const QStyleOptionFrameV2& other); +void delete_QStyleOptionFrameV2(QStyleOptionFrameV2* obj) { delete obj; } +void py_set_features(QStyleOptionFrameV2* theWrappedObject, QStyleOptionFrameV2::FrameFeatures features){ theWrappedObject->features = features; } +QStyleOptionFrameV2::FrameFeatures py_get_features(QStyleOptionFrameV2* theWrappedObject){ return theWrappedObject->features; } +}; + + + + + +class PythonQtShell_QStyleOptionFrameV3 : public QStyleOptionFrameV3 +{ +public: + PythonQtShell_QStyleOptionFrameV3():QStyleOptionFrameV3(),_wrapper(NULL) {}; + PythonQtShell_QStyleOptionFrameV3(const QStyleOptionFrame& other):QStyleOptionFrameV3(other),_wrapper(NULL) {}; + PythonQtShell_QStyleOptionFrameV3(const QStyleOptionFrameV3& other):QStyleOptionFrameV3(other),_wrapper(NULL) {}; + PythonQtShell_QStyleOptionFrameV3(int version):QStyleOptionFrameV3(version),_wrapper(NULL) {}; + + + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtWrapper_QStyleOptionFrameV3 : public QObject +{ Q_OBJECT +public: +Q_ENUMS(StyleOptionVersion ) +enum StyleOptionVersion{ + Version = QStyleOptionFrameV3::Version}; +public slots: +QStyleOptionFrameV3* new_QStyleOptionFrameV3(); +QStyleOptionFrameV3* new_QStyleOptionFrameV3(const QStyleOptionFrame& other); +QStyleOptionFrameV3* new_QStyleOptionFrameV3(const QStyleOptionFrameV3& other); +void delete_QStyleOptionFrameV3(QStyleOptionFrameV3* obj) { delete obj; } +void py_set_frameShape(QStyleOptionFrameV3* theWrappedObject, QFrame::Shape frameShape){ theWrappedObject->frameShape = frameShape; } +QFrame::Shape py_get_frameShape(QStyleOptionFrameV3* theWrappedObject){ return theWrappedObject->frameShape; } +void py_set_unused(QStyleOptionFrameV3* theWrappedObject, uint unused){ theWrappedObject->unused = unused; } +uint py_get_unused(QStyleOptionFrameV3* theWrappedObject){ return theWrappedObject->unused; } +}; + + + + + +class PythonQtShell_QStyleOptionGraphicsItem : public QStyleOptionGraphicsItem +{ +public: + PythonQtShell_QStyleOptionGraphicsItem():QStyleOptionGraphicsItem(),_wrapper(NULL) {}; + PythonQtShell_QStyleOptionGraphicsItem(const QStyleOptionGraphicsItem& other):QStyleOptionGraphicsItem(other),_wrapper(NULL) {}; + PythonQtShell_QStyleOptionGraphicsItem(int version):QStyleOptionGraphicsItem(version),_wrapper(NULL) {}; + + + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtWrapper_QStyleOptionGraphicsItem : public QObject +{ Q_OBJECT +public: +Q_ENUMS(StyleOptionVersion StyleOptionType ) +enum StyleOptionVersion{ + Version = QStyleOptionGraphicsItem::Version}; +enum StyleOptionType{ + Type = QStyleOptionGraphicsItem::Type}; +public slots: +QStyleOptionGraphicsItem* new_QStyleOptionGraphicsItem(); +QStyleOptionGraphicsItem* new_QStyleOptionGraphicsItem(const QStyleOptionGraphicsItem& other); +void delete_QStyleOptionGraphicsItem(QStyleOptionGraphicsItem* obj) { delete obj; } + qreal static_QStyleOptionGraphicsItem_levelOfDetailFromTransform(const QTransform& worldTransform); +void py_set_exposedRect(QStyleOptionGraphicsItem* theWrappedObject, QRectF exposedRect){ theWrappedObject->exposedRect = exposedRect; } +QRectF py_get_exposedRect(QStyleOptionGraphicsItem* theWrappedObject){ return theWrappedObject->exposedRect; } +void py_set_matrix(QStyleOptionGraphicsItem* theWrappedObject, QMatrix matrix){ theWrappedObject->matrix = matrix; } +QMatrix py_get_matrix(QStyleOptionGraphicsItem* theWrappedObject){ return theWrappedObject->matrix; } +void py_set_levelOfDetail(QStyleOptionGraphicsItem* theWrappedObject, qreal levelOfDetail){ theWrappedObject->levelOfDetail = levelOfDetail; } +qreal py_get_levelOfDetail(QStyleOptionGraphicsItem* theWrappedObject){ return theWrappedObject->levelOfDetail; } +}; + + + + + +class PythonQtShell_QStyleOptionGroupBox : public QStyleOptionGroupBox +{ +public: + PythonQtShell_QStyleOptionGroupBox():QStyleOptionGroupBox(),_wrapper(NULL) {}; + PythonQtShell_QStyleOptionGroupBox(const QStyleOptionGroupBox& other):QStyleOptionGroupBox(other),_wrapper(NULL) {}; + PythonQtShell_QStyleOptionGroupBox(int version):QStyleOptionGroupBox(version),_wrapper(NULL) {}; + + + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtWrapper_QStyleOptionGroupBox : public QObject +{ Q_OBJECT +public: +Q_ENUMS(StyleOptionVersion StyleOptionType ) +enum StyleOptionVersion{ + Version = QStyleOptionGroupBox::Version}; +enum StyleOptionType{ + Type = QStyleOptionGroupBox::Type}; +public slots: +QStyleOptionGroupBox* new_QStyleOptionGroupBox(); +QStyleOptionGroupBox* new_QStyleOptionGroupBox(const QStyleOptionGroupBox& other); +void delete_QStyleOptionGroupBox(QStyleOptionGroupBox* obj) { delete obj; } +void py_set_lineWidth(QStyleOptionGroupBox* theWrappedObject, int lineWidth){ theWrappedObject->lineWidth = lineWidth; } +int py_get_lineWidth(QStyleOptionGroupBox* theWrappedObject){ return theWrappedObject->lineWidth; } +void py_set_features(QStyleOptionGroupBox* theWrappedObject, QStyleOptionFrameV2::FrameFeatures features){ theWrappedObject->features = features; } +QStyleOptionFrameV2::FrameFeatures py_get_features(QStyleOptionGroupBox* theWrappedObject){ return theWrappedObject->features; } +void py_set_textAlignment(QStyleOptionGroupBox* theWrappedObject, Qt::Alignment textAlignment){ theWrappedObject->textAlignment = textAlignment; } +Qt::Alignment py_get_textAlignment(QStyleOptionGroupBox* theWrappedObject){ return theWrappedObject->textAlignment; } +void py_set_midLineWidth(QStyleOptionGroupBox* theWrappedObject, int midLineWidth){ theWrappedObject->midLineWidth = midLineWidth; } +int py_get_midLineWidth(QStyleOptionGroupBox* theWrappedObject){ return theWrappedObject->midLineWidth; } +void py_set_text(QStyleOptionGroupBox* theWrappedObject, QString text){ theWrappedObject->text = text; } +QString py_get_text(QStyleOptionGroupBox* theWrappedObject){ return theWrappedObject->text; } +void py_set_textColor(QStyleOptionGroupBox* theWrappedObject, QColor textColor){ theWrappedObject->textColor = textColor; } +QColor py_get_textColor(QStyleOptionGroupBox* theWrappedObject){ return theWrappedObject->textColor; } +}; + + + + + +class PythonQtShell_QStyleOptionHeader : public QStyleOptionHeader +{ +public: + PythonQtShell_QStyleOptionHeader():QStyleOptionHeader(),_wrapper(NULL) {}; + PythonQtShell_QStyleOptionHeader(const QStyleOptionHeader& other):QStyleOptionHeader(other),_wrapper(NULL) {}; + PythonQtShell_QStyleOptionHeader(int version):QStyleOptionHeader(version),_wrapper(NULL) {}; + + + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtWrapper_QStyleOptionHeader : public QObject +{ Q_OBJECT +public: +Q_ENUMS(StyleOptionVersion SectionPosition SelectedPosition StyleOptionType SortIndicator ) +enum StyleOptionVersion{ + Version = QStyleOptionHeader::Version}; +enum SectionPosition{ + Beginning = QStyleOptionHeader::Beginning, Middle = QStyleOptionHeader::Middle, End = QStyleOptionHeader::End, OnlyOneSection = QStyleOptionHeader::OnlyOneSection}; +enum SelectedPosition{ + NotAdjacent = QStyleOptionHeader::NotAdjacent, NextIsSelected = QStyleOptionHeader::NextIsSelected, PreviousIsSelected = QStyleOptionHeader::PreviousIsSelected, NextAndPreviousAreSelected = QStyleOptionHeader::NextAndPreviousAreSelected}; +enum StyleOptionType{ + Type = QStyleOptionHeader::Type}; +enum SortIndicator{ + None = QStyleOptionHeader::None, SortUp = QStyleOptionHeader::SortUp, SortDown = QStyleOptionHeader::SortDown}; +public slots: +QStyleOptionHeader* new_QStyleOptionHeader(); +QStyleOptionHeader* new_QStyleOptionHeader(const QStyleOptionHeader& other); +void delete_QStyleOptionHeader(QStyleOptionHeader* obj) { delete obj; } +void py_set_section(QStyleOptionHeader* theWrappedObject, int section){ theWrappedObject->section = section; } +int py_get_section(QStyleOptionHeader* theWrappedObject){ return theWrappedObject->section; } +void py_set_sortIndicator(QStyleOptionHeader* theWrappedObject, QStyleOptionHeader::SortIndicator sortIndicator){ theWrappedObject->sortIndicator = sortIndicator; } +QStyleOptionHeader::SortIndicator py_get_sortIndicator(QStyleOptionHeader* theWrappedObject){ return theWrappedObject->sortIndicator; } +void py_set_position(QStyleOptionHeader* theWrappedObject, QStyleOptionHeader::SectionPosition position){ theWrappedObject->position = position; } +QStyleOptionHeader::SectionPosition py_get_position(QStyleOptionHeader* theWrappedObject){ return theWrappedObject->position; } +void py_set_icon(QStyleOptionHeader* theWrappedObject, QIcon icon){ theWrappedObject->icon = icon; } +QIcon py_get_icon(QStyleOptionHeader* theWrappedObject){ return theWrappedObject->icon; } +void py_set_textAlignment(QStyleOptionHeader* theWrappedObject, Qt::Alignment textAlignment){ theWrappedObject->textAlignment = textAlignment; } +Qt::Alignment py_get_textAlignment(QStyleOptionHeader* theWrappedObject){ return theWrappedObject->textAlignment; } +void py_set_text(QStyleOptionHeader* theWrappedObject, QString text){ theWrappedObject->text = text; } +QString py_get_text(QStyleOptionHeader* theWrappedObject){ return theWrappedObject->text; } +void py_set_selectedPosition(QStyleOptionHeader* theWrappedObject, QStyleOptionHeader::SelectedPosition selectedPosition){ theWrappedObject->selectedPosition = selectedPosition; } +QStyleOptionHeader::SelectedPosition py_get_selectedPosition(QStyleOptionHeader* theWrappedObject){ return theWrappedObject->selectedPosition; } +void py_set_iconAlignment(QStyleOptionHeader* theWrappedObject, Qt::Alignment iconAlignment){ theWrappedObject->iconAlignment = iconAlignment; } +Qt::Alignment py_get_iconAlignment(QStyleOptionHeader* theWrappedObject){ return theWrappedObject->iconAlignment; } +void py_set_orientation(QStyleOptionHeader* theWrappedObject, Qt::Orientation orientation){ theWrappedObject->orientation = orientation; } +Qt::Orientation py_get_orientation(QStyleOptionHeader* theWrappedObject){ return theWrappedObject->orientation; } +}; + + + + + +class PythonQtShell_QStyleOptionMenuItem : public QStyleOptionMenuItem +{ +public: + PythonQtShell_QStyleOptionMenuItem():QStyleOptionMenuItem(),_wrapper(NULL) {}; + PythonQtShell_QStyleOptionMenuItem(const QStyleOptionMenuItem& other):QStyleOptionMenuItem(other),_wrapper(NULL) {}; + PythonQtShell_QStyleOptionMenuItem(int version):QStyleOptionMenuItem(version),_wrapper(NULL) {}; + + + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtWrapper_QStyleOptionMenuItem : public QObject +{ Q_OBJECT +public: +Q_ENUMS(StyleOptionVersion StyleOptionType CheckType MenuItemType ) +enum StyleOptionVersion{ + Version = QStyleOptionMenuItem::Version}; +enum StyleOptionType{ + Type = QStyleOptionMenuItem::Type}; +enum CheckType{ + NotCheckable = QStyleOptionMenuItem::NotCheckable, Exclusive = QStyleOptionMenuItem::Exclusive, NonExclusive = QStyleOptionMenuItem::NonExclusive}; +enum MenuItemType{ + Normal = QStyleOptionMenuItem::Normal, DefaultItem = QStyleOptionMenuItem::DefaultItem, Separator = QStyleOptionMenuItem::Separator, SubMenu = QStyleOptionMenuItem::SubMenu, Scroller = QStyleOptionMenuItem::Scroller, TearOff = QStyleOptionMenuItem::TearOff, Margin = QStyleOptionMenuItem::Margin, EmptyArea = QStyleOptionMenuItem::EmptyArea}; +public slots: +QStyleOptionMenuItem* new_QStyleOptionMenuItem(); +QStyleOptionMenuItem* new_QStyleOptionMenuItem(const QStyleOptionMenuItem& other); +void delete_QStyleOptionMenuItem(QStyleOptionMenuItem* obj) { delete obj; } +void py_set_menuHasCheckableItems(QStyleOptionMenuItem* theWrappedObject, bool menuHasCheckableItems){ theWrappedObject->menuHasCheckableItems = menuHasCheckableItems; } +bool py_get_menuHasCheckableItems(QStyleOptionMenuItem* theWrappedObject){ return theWrappedObject->menuHasCheckableItems; } +void py_set_menuRect(QStyleOptionMenuItem* theWrappedObject, QRect menuRect){ theWrappedObject->menuRect = menuRect; } +QRect py_get_menuRect(QStyleOptionMenuItem* theWrappedObject){ return theWrappedObject->menuRect; } +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_icon(QStyleOptionMenuItem* theWrappedObject, QIcon icon){ theWrappedObject->icon = icon; } +QIcon py_get_icon(QStyleOptionMenuItem* theWrappedObject){ return theWrappedObject->icon; } +void py_set_checked(QStyleOptionMenuItem* theWrappedObject, bool checked){ theWrappedObject->checked = checked; } +bool py_get_checked(QStyleOptionMenuItem* theWrappedObject){ return theWrappedObject->checked; } +void py_set_maxIconWidth(QStyleOptionMenuItem* theWrappedObject, int maxIconWidth){ theWrappedObject->maxIconWidth = maxIconWidth; } +int py_get_maxIconWidth(QStyleOptionMenuItem* theWrappedObject){ return theWrappedObject->maxIconWidth; } +void py_set_tabWidth(QStyleOptionMenuItem* theWrappedObject, int tabWidth){ theWrappedObject->tabWidth = tabWidth; } +int py_get_tabWidth(QStyleOptionMenuItem* theWrappedObject){ return theWrappedObject->tabWidth; } +void py_set_text(QStyleOptionMenuItem* theWrappedObject, QString text){ theWrappedObject->text = text; } +QString py_get_text(QStyleOptionMenuItem* theWrappedObject){ return theWrappedObject->text; } +void py_set_font(QStyleOptionMenuItem* theWrappedObject, QFont font){ theWrappedObject->font = font; } +QFont py_get_font(QStyleOptionMenuItem* theWrappedObject){ return theWrappedObject->font; } +void py_set_menuItemType(QStyleOptionMenuItem* theWrappedObject, QStyleOptionMenuItem::MenuItemType menuItemType){ theWrappedObject->menuItemType = menuItemType; } +QStyleOptionMenuItem::MenuItemType py_get_menuItemType(QStyleOptionMenuItem* theWrappedObject){ return theWrappedObject->menuItemType; } +}; + + + + + +class PythonQtShell_QStyleOptionProgressBar : public QStyleOptionProgressBar +{ +public: + PythonQtShell_QStyleOptionProgressBar():QStyleOptionProgressBar(),_wrapper(NULL) {}; + PythonQtShell_QStyleOptionProgressBar(const QStyleOptionProgressBar& other):QStyleOptionProgressBar(other),_wrapper(NULL) {}; + PythonQtShell_QStyleOptionProgressBar(int version):QStyleOptionProgressBar(version),_wrapper(NULL) {}; + + + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtWrapper_QStyleOptionProgressBar : public QObject +{ Q_OBJECT +public: +Q_ENUMS(StyleOptionVersion StyleOptionType ) +enum StyleOptionVersion{ + Version = QStyleOptionProgressBar::Version}; +enum StyleOptionType{ + Type = QStyleOptionProgressBar::Type}; +public slots: +QStyleOptionProgressBar* new_QStyleOptionProgressBar(); +QStyleOptionProgressBar* new_QStyleOptionProgressBar(const QStyleOptionProgressBar& other); +void delete_QStyleOptionProgressBar(QStyleOptionProgressBar* obj) { delete obj; } +void py_set_minimum(QStyleOptionProgressBar* theWrappedObject, int minimum){ theWrappedObject->minimum = minimum; } +int py_get_minimum(QStyleOptionProgressBar* theWrappedObject){ return theWrappedObject->minimum; } +void py_set_maximum(QStyleOptionProgressBar* theWrappedObject, int maximum){ theWrappedObject->maximum = maximum; } +int py_get_maximum(QStyleOptionProgressBar* theWrappedObject){ return theWrappedObject->maximum; } +void py_set_progress(QStyleOptionProgressBar* theWrappedObject, int progress){ theWrappedObject->progress = progress; } +int py_get_progress(QStyleOptionProgressBar* theWrappedObject){ return theWrappedObject->progress; } +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_text(QStyleOptionProgressBar* theWrappedObject, QString text){ theWrappedObject->text = text; } +QString py_get_text(QStyleOptionProgressBar* theWrappedObject){ return theWrappedObject->text; } +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(const QStyleOptionProgressBar& other):QStyleOptionProgressBarV2(other),_wrapper(NULL) {}; + PythonQtShell_QStyleOptionProgressBarV2(const QStyleOptionProgressBarV2& other):QStyleOptionProgressBarV2(other),_wrapper(NULL) {}; + PythonQtShell_QStyleOptionProgressBarV2(int version):QStyleOptionProgressBarV2(version),_wrapper(NULL) {}; + + + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtWrapper_QStyleOptionProgressBarV2 : public QObject +{ Q_OBJECT +public: +Q_ENUMS(StyleOptionVersion StyleOptionType ) +enum StyleOptionVersion{ + Version = QStyleOptionProgressBarV2::Version}; +enum StyleOptionType{ + Type = QStyleOptionProgressBarV2::Type}; +public slots: +QStyleOptionProgressBarV2* new_QStyleOptionProgressBarV2(); +QStyleOptionProgressBarV2* new_QStyleOptionProgressBarV2(const QStyleOptionProgressBar& other); +QStyleOptionProgressBarV2* new_QStyleOptionProgressBarV2(const QStyleOptionProgressBarV2& other); +void delete_QStyleOptionProgressBarV2(QStyleOptionProgressBarV2* obj) { delete obj; } +void py_set_bottomToTop(QStyleOptionProgressBarV2* theWrappedObject, bool bottomToTop){ theWrappedObject->bottomToTop = bottomToTop; } +bool py_get_bottomToTop(QStyleOptionProgressBarV2* theWrappedObject){ return theWrappedObject->bottomToTop; } +void py_set_invertedAppearance(QStyleOptionProgressBarV2* theWrappedObject, bool invertedAppearance){ theWrappedObject->invertedAppearance = invertedAppearance; } +bool py_get_invertedAppearance(QStyleOptionProgressBarV2* theWrappedObject){ return theWrappedObject->invertedAppearance; } +void py_set_orientation(QStyleOptionProgressBarV2* theWrappedObject, Qt::Orientation orientation){ theWrappedObject->orientation = orientation; } +Qt::Orientation py_get_orientation(QStyleOptionProgressBarV2* theWrappedObject){ return theWrappedObject->orientation; } +}; + + + + + +class PythonQtShell_QStyleOptionRubberBand : public QStyleOptionRubberBand +{ +public: + PythonQtShell_QStyleOptionRubberBand():QStyleOptionRubberBand(),_wrapper(NULL) {}; + PythonQtShell_QStyleOptionRubberBand(const QStyleOptionRubberBand& other):QStyleOptionRubberBand(other),_wrapper(NULL) {}; + PythonQtShell_QStyleOptionRubberBand(int version):QStyleOptionRubberBand(version),_wrapper(NULL) {}; + + + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtWrapper_QStyleOptionRubberBand : public QObject +{ Q_OBJECT +public: +Q_ENUMS(StyleOptionVersion StyleOptionType ) +enum StyleOptionVersion{ + Version = QStyleOptionRubberBand::Version}; +enum StyleOptionType{ + Type = QStyleOptionRubberBand::Type}; +public slots: +QStyleOptionRubberBand* new_QStyleOptionRubberBand(); +QStyleOptionRubberBand* new_QStyleOptionRubberBand(const QStyleOptionRubberBand& other); +void delete_QStyleOptionRubberBand(QStyleOptionRubberBand* obj) { delete obj; } +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; } +QRubberBand::Shape py_get_shape(QStyleOptionRubberBand* theWrappedObject){ return theWrappedObject->shape; } +}; + + + + + +class PythonQtShell_QStyleOptionSizeGrip : public QStyleOptionSizeGrip +{ +public: + PythonQtShell_QStyleOptionSizeGrip():QStyleOptionSizeGrip(),_wrapper(NULL) {}; + PythonQtShell_QStyleOptionSizeGrip(const QStyleOptionSizeGrip& other):QStyleOptionSizeGrip(other),_wrapper(NULL) {}; + PythonQtShell_QStyleOptionSizeGrip(int version):QStyleOptionSizeGrip(version),_wrapper(NULL) {}; + + + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtWrapper_QStyleOptionSizeGrip : public QObject +{ Q_OBJECT +public: +Q_ENUMS(StyleOptionVersion StyleOptionType ) +enum StyleOptionVersion{ + Version = QStyleOptionSizeGrip::Version}; +enum StyleOptionType{ + Type = QStyleOptionSizeGrip::Type}; +public slots: +QStyleOptionSizeGrip* new_QStyleOptionSizeGrip(); +QStyleOptionSizeGrip* new_QStyleOptionSizeGrip(const QStyleOptionSizeGrip& other); +void delete_QStyleOptionSizeGrip(QStyleOptionSizeGrip* obj) { delete obj; } +void py_set_corner(QStyleOptionSizeGrip* theWrappedObject, Qt::Corner corner){ theWrappedObject->corner = corner; } +Qt::Corner py_get_corner(QStyleOptionSizeGrip* theWrappedObject){ return theWrappedObject->corner; } +}; + + + + + +class PythonQtShell_QStyleOptionSlider : public QStyleOptionSlider +{ +public: + PythonQtShell_QStyleOptionSlider():QStyleOptionSlider(),_wrapper(NULL) {}; + PythonQtShell_QStyleOptionSlider(const QStyleOptionSlider& other):QStyleOptionSlider(other),_wrapper(NULL) {}; + PythonQtShell_QStyleOptionSlider(int version):QStyleOptionSlider(version),_wrapper(NULL) {}; + + + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtWrapper_QStyleOptionSlider : public QObject +{ Q_OBJECT +public: +Q_ENUMS(StyleOptionVersion StyleOptionType ) +enum StyleOptionVersion{ + Version = QStyleOptionSlider::Version}; +enum StyleOptionType{ + Type = QStyleOptionSlider::Type}; +public slots: +QStyleOptionSlider* new_QStyleOptionSlider(); +QStyleOptionSlider* new_QStyleOptionSlider(const QStyleOptionSlider& other); +void delete_QStyleOptionSlider(QStyleOptionSlider* obj) { delete obj; } +void py_set_tickInterval(QStyleOptionSlider* theWrappedObject, int tickInterval){ theWrappedObject->tickInterval = tickInterval; } +int py_get_tickInterval(QStyleOptionSlider* theWrappedObject){ return theWrappedObject->tickInterval; } +void py_set_minimum(QStyleOptionSlider* theWrappedObject, int minimum){ theWrappedObject->minimum = minimum; } +int py_get_minimum(QStyleOptionSlider* theWrappedObject){ return theWrappedObject->minimum; } +void py_set_notchTarget(QStyleOptionSlider* theWrappedObject, qreal notchTarget){ theWrappedObject->notchTarget = notchTarget; } +qreal py_get_notchTarget(QStyleOptionSlider* theWrappedObject){ return theWrappedObject->notchTarget; } +void py_set_maximum(QStyleOptionSlider* theWrappedObject, int maximum){ theWrappedObject->maximum = maximum; } +int py_get_maximum(QStyleOptionSlider* theWrappedObject){ return theWrappedObject->maximum; } +void py_set_sliderPosition(QStyleOptionSlider* theWrappedObject, int sliderPosition){ theWrappedObject->sliderPosition = sliderPosition; } +int py_get_sliderPosition(QStyleOptionSlider* theWrappedObject){ return theWrappedObject->sliderPosition; } +void py_set_dialWrapping(QStyleOptionSlider* theWrappedObject, bool dialWrapping){ theWrappedObject->dialWrapping = dialWrapping; } +bool py_get_dialWrapping(QStyleOptionSlider* theWrappedObject){ return theWrappedObject->dialWrapping; } +void py_set_sliderValue(QStyleOptionSlider* theWrappedObject, int sliderValue){ theWrappedObject->sliderValue = sliderValue; } +int py_get_sliderValue(QStyleOptionSlider* theWrappedObject){ return theWrappedObject->sliderValue; } +void py_set_singleStep(QStyleOptionSlider* theWrappedObject, int singleStep){ theWrappedObject->singleStep = singleStep; } +int py_get_singleStep(QStyleOptionSlider* theWrappedObject){ return theWrappedObject->singleStep; } +void py_set_tickPosition(QStyleOptionSlider* theWrappedObject, QSlider::TickPosition tickPosition){ theWrappedObject->tickPosition = tickPosition; } +QSlider::TickPosition py_get_tickPosition(QStyleOptionSlider* theWrappedObject){ return theWrappedObject->tickPosition; } +void py_set_pageStep(QStyleOptionSlider* theWrappedObject, int pageStep){ theWrappedObject->pageStep = pageStep; } +int py_get_pageStep(QStyleOptionSlider* theWrappedObject){ return theWrappedObject->pageStep; } +void py_set_orientation(QStyleOptionSlider* theWrappedObject, Qt::Orientation orientation){ theWrappedObject->orientation = orientation; } +Qt::Orientation py_get_orientation(QStyleOptionSlider* theWrappedObject){ return theWrappedObject->orientation; } +void py_set_upsideDown(QStyleOptionSlider* theWrappedObject, bool upsideDown){ theWrappedObject->upsideDown = upsideDown; } +bool py_get_upsideDown(QStyleOptionSlider* theWrappedObject){ return theWrappedObject->upsideDown; } +}; + + + + + +class PythonQtShell_QStyleOptionSpinBox : public QStyleOptionSpinBox +{ +public: + PythonQtShell_QStyleOptionSpinBox():QStyleOptionSpinBox(),_wrapper(NULL) {}; + PythonQtShell_QStyleOptionSpinBox(const QStyleOptionSpinBox& other):QStyleOptionSpinBox(other),_wrapper(NULL) {}; + PythonQtShell_QStyleOptionSpinBox(int version):QStyleOptionSpinBox(version),_wrapper(NULL) {}; + + + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtWrapper_QStyleOptionSpinBox : public QObject +{ Q_OBJECT +public: +Q_ENUMS(StyleOptionVersion StyleOptionType ) +enum StyleOptionVersion{ + Version = QStyleOptionSpinBox::Version}; +enum StyleOptionType{ + Type = QStyleOptionSpinBox::Type}; +public slots: +QStyleOptionSpinBox* new_QStyleOptionSpinBox(); +QStyleOptionSpinBox* new_QStyleOptionSpinBox(const QStyleOptionSpinBox& other); +void delete_QStyleOptionSpinBox(QStyleOptionSpinBox* obj) { delete obj; } +void py_set_stepEnabled(QStyleOptionSpinBox* theWrappedObject, QAbstractSpinBox::StepEnabled stepEnabled){ theWrappedObject->stepEnabled = stepEnabled; } +QAbstractSpinBox::StepEnabled py_get_stepEnabled(QStyleOptionSpinBox* theWrappedObject){ return theWrappedObject->stepEnabled; } +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; } +bool py_get_frame(QStyleOptionSpinBox* theWrappedObject){ return theWrappedObject->frame; } +}; + + diff --git a/generated_cpp_47/com_trolltech_qt_gui/com_trolltech_qt_gui8.cpp b/generated_cpp_47/com_trolltech_qt_gui/com_trolltech_qt_gui8.cpp new file mode 100644 index 00000000..fdda27e8 --- /dev/null +++ b/generated_cpp_47/com_trolltech_qt_gui/com_trolltech_qt_gui8.cpp @@ -0,0 +1,7900 @@ +#include "com_trolltech_qt_gui8.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 + +QStyleOptionTab* PythonQtWrapper_QStyleOptionTab::new_QStyleOptionTab() +{ +return new PythonQtShell_QStyleOptionTab(); } + +QStyleOptionTab* PythonQtWrapper_QStyleOptionTab::new_QStyleOptionTab(const QStyleOptionTab& other) +{ +return new PythonQtShell_QStyleOptionTab(other); } + + + +QStyleOptionTabBarBase* PythonQtWrapper_QStyleOptionTabBarBase::new_QStyleOptionTabBarBase() +{ +return new PythonQtShell_QStyleOptionTabBarBase(); } + +QStyleOptionTabBarBase* PythonQtWrapper_QStyleOptionTabBarBase::new_QStyleOptionTabBarBase(const QStyleOptionTabBarBase& other) +{ +return new PythonQtShell_QStyleOptionTabBarBase(other); } + + + +QStyleOptionTabBarBaseV2* PythonQtWrapper_QStyleOptionTabBarBaseV2::new_QStyleOptionTabBarBaseV2() +{ +return new PythonQtShell_QStyleOptionTabBarBaseV2(); } + +QStyleOptionTabBarBaseV2* PythonQtWrapper_QStyleOptionTabBarBaseV2::new_QStyleOptionTabBarBaseV2(const QStyleOptionTabBarBase& other) +{ +return new PythonQtShell_QStyleOptionTabBarBaseV2(other); } + +QStyleOptionTabBarBaseV2* PythonQtWrapper_QStyleOptionTabBarBaseV2::new_QStyleOptionTabBarBaseV2(const QStyleOptionTabBarBaseV2& other) +{ +return new PythonQtShell_QStyleOptionTabBarBaseV2(other); } + + + +QStyleOptionTabV2* PythonQtWrapper_QStyleOptionTabV2::new_QStyleOptionTabV2() +{ +return new PythonQtShell_QStyleOptionTabV2(); } + +QStyleOptionTabV2* PythonQtWrapper_QStyleOptionTabV2::new_QStyleOptionTabV2(const QStyleOptionTab& other) +{ +return new PythonQtShell_QStyleOptionTabV2(other); } + +QStyleOptionTabV2* PythonQtWrapper_QStyleOptionTabV2::new_QStyleOptionTabV2(const QStyleOptionTabV2& other) +{ +return new PythonQtShell_QStyleOptionTabV2(other); } + + + +QStyleOptionTabV3* PythonQtWrapper_QStyleOptionTabV3::new_QStyleOptionTabV3() +{ +return new PythonQtShell_QStyleOptionTabV3(); } + +QStyleOptionTabV3* PythonQtWrapper_QStyleOptionTabV3::new_QStyleOptionTabV3(const QStyleOptionTab& other) +{ +return new PythonQtShell_QStyleOptionTabV3(other); } + +QStyleOptionTabV3* PythonQtWrapper_QStyleOptionTabV3::new_QStyleOptionTabV3(const QStyleOptionTabV2& other) +{ +return new PythonQtShell_QStyleOptionTabV3(other); } + +QStyleOptionTabV3* PythonQtWrapper_QStyleOptionTabV3::new_QStyleOptionTabV3(const QStyleOptionTabV3& other) +{ +return new PythonQtShell_QStyleOptionTabV3(other); } + + + +QStyleOptionTabWidgetFrame* PythonQtWrapper_QStyleOptionTabWidgetFrame::new_QStyleOptionTabWidgetFrame() +{ +return new PythonQtShell_QStyleOptionTabWidgetFrame(); } + +QStyleOptionTabWidgetFrame* PythonQtWrapper_QStyleOptionTabWidgetFrame::new_QStyleOptionTabWidgetFrame(const QStyleOptionTabWidgetFrame& other) +{ +return new PythonQtShell_QStyleOptionTabWidgetFrame(other); } + + + +QStyleOptionTitleBar* PythonQtWrapper_QStyleOptionTitleBar::new_QStyleOptionTitleBar() +{ +return new PythonQtShell_QStyleOptionTitleBar(); } + +QStyleOptionTitleBar* PythonQtWrapper_QStyleOptionTitleBar::new_QStyleOptionTitleBar(const QStyleOptionTitleBar& other) +{ +return new PythonQtShell_QStyleOptionTitleBar(other); } + + + +QStyleOptionToolBar* PythonQtWrapper_QStyleOptionToolBar::new_QStyleOptionToolBar() +{ +return new PythonQtShell_QStyleOptionToolBar(); } + +QStyleOptionToolBar* PythonQtWrapper_QStyleOptionToolBar::new_QStyleOptionToolBar(const QStyleOptionToolBar& other) +{ +return new PythonQtShell_QStyleOptionToolBar(other); } + + + +QStyleOptionToolBox* PythonQtWrapper_QStyleOptionToolBox::new_QStyleOptionToolBox() +{ +return new PythonQtShell_QStyleOptionToolBox(); } + +QStyleOptionToolBox* PythonQtWrapper_QStyleOptionToolBox::new_QStyleOptionToolBox(const QStyleOptionToolBox& other) +{ +return new PythonQtShell_QStyleOptionToolBox(other); } + + + +QStyleOptionToolBoxV2* PythonQtWrapper_QStyleOptionToolBoxV2::new_QStyleOptionToolBoxV2() +{ +return new PythonQtShell_QStyleOptionToolBoxV2(); } + +QStyleOptionToolBoxV2* PythonQtWrapper_QStyleOptionToolBoxV2::new_QStyleOptionToolBoxV2(const QStyleOptionToolBox& other) +{ +return new PythonQtShell_QStyleOptionToolBoxV2(other); } + +QStyleOptionToolBoxV2* PythonQtWrapper_QStyleOptionToolBoxV2::new_QStyleOptionToolBoxV2(const QStyleOptionToolBoxV2& other) +{ +return new PythonQtShell_QStyleOptionToolBoxV2(other); } + + + +QStyleOptionToolButton* PythonQtWrapper_QStyleOptionToolButton::new_QStyleOptionToolButton() +{ +return new PythonQtShell_QStyleOptionToolButton(); } + +QStyleOptionToolButton* PythonQtWrapper_QStyleOptionToolButton::new_QStyleOptionToolButton(const QStyleOptionToolButton& other) +{ +return new PythonQtShell_QStyleOptionToolButton(other); } + + + +QStyleOptionViewItem* PythonQtWrapper_QStyleOptionViewItem::new_QStyleOptionViewItem() +{ +return new PythonQtShell_QStyleOptionViewItem(); } + +QStyleOptionViewItem* PythonQtWrapper_QStyleOptionViewItem::new_QStyleOptionViewItem(const QStyleOptionViewItem& other) +{ +return new PythonQtShell_QStyleOptionViewItem(other); } + + + +QStyleOptionViewItemV2* PythonQtWrapper_QStyleOptionViewItemV2::new_QStyleOptionViewItemV2() +{ +return new PythonQtShell_QStyleOptionViewItemV2(); } + +QStyleOptionViewItemV2* PythonQtWrapper_QStyleOptionViewItemV2::new_QStyleOptionViewItemV2(const QStyleOptionViewItem& other) +{ +return new PythonQtShell_QStyleOptionViewItemV2(other); } + +QStyleOptionViewItemV2* PythonQtWrapper_QStyleOptionViewItemV2::new_QStyleOptionViewItemV2(const QStyleOptionViewItemV2& other) +{ +return new PythonQtShell_QStyleOptionViewItemV2(other); } + + + +QStyleOptionViewItemV3* PythonQtWrapper_QStyleOptionViewItemV3::new_QStyleOptionViewItemV3() +{ +return new PythonQtShell_QStyleOptionViewItemV3(); } + +QStyleOptionViewItemV3* PythonQtWrapper_QStyleOptionViewItemV3::new_QStyleOptionViewItemV3(const QStyleOptionViewItem& other) +{ +return new PythonQtShell_QStyleOptionViewItemV3(other); } + +QStyleOptionViewItemV3* PythonQtWrapper_QStyleOptionViewItemV3::new_QStyleOptionViewItemV3(const QStyleOptionViewItemV3& other) +{ +return new PythonQtShell_QStyleOptionViewItemV3(other); } + + + +QStyleOptionViewItemV4* PythonQtWrapper_QStyleOptionViewItemV4::new_QStyleOptionViewItemV4() +{ +return new PythonQtShell_QStyleOptionViewItemV4(); } + +QStyleOptionViewItemV4* PythonQtWrapper_QStyleOptionViewItemV4::new_QStyleOptionViewItemV4(const QStyleOptionViewItem& other) +{ +return new PythonQtShell_QStyleOptionViewItemV4(other); } + +QStyleOptionViewItemV4* PythonQtWrapper_QStyleOptionViewItemV4::new_QStyleOptionViewItemV4(const QStyleOptionViewItemV4& other) +{ +return new PythonQtShell_QStyleOptionViewItemV4(other); } + + + +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()); +} + + + +void PythonQtShell_QStylePlugin::childEvent(QChildEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "childEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QChildEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QStylePlugin::childEvent(arg__1); +} +QStyle* PythonQtShell_QStylePlugin::create(const QString& key) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "create"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QStyle*" , "const QString&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + QStyle* returnValue; + void* args[2] = {NULL, (void*)&key}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("create", methodInfo, result); + } else { + returnValue = *((QStyle**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return 0; +} +void PythonQtShell_QStylePlugin::customEvent(QEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "customEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QStylePlugin::customEvent(arg__1); +} +bool PythonQtShell_QStylePlugin::event(QEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "event"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue; + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QStylePlugin::event(arg__1); +} +bool PythonQtShell_QStylePlugin::eventFilter(QObject* arg__1, QEvent* arg__2) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "eventFilter"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue; + void* args[3] = {NULL, (void*)&arg__1, (void*)&arg__2}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QStylePlugin::eventFilter(arg__1, arg__2); +} +QStringList PythonQtShell_QStylePlugin::keys() const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "keys"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QStringList"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QStringList returnValue; + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("keys", methodInfo, result); + } else { + returnValue = *((QStringList*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QStringList(); +} +void PythonQtShell_QStylePlugin::timerEvent(QTimerEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "timerEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QTimerEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QStylePlugin::timerEvent(arg__1); +} +QStylePlugin* PythonQtWrapper_QStylePlugin::new_QStylePlugin(QObject* parent) +{ +return new PythonQtShell_QStylePlugin(parent); } + + + +void PythonQtShell_QStyledItemDelegate::childEvent(QChildEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "childEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QChildEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QStyledItemDelegate::childEvent(arg__1); +} +QWidget* PythonQtShell_QStyledItemDelegate::createEditor(QWidget* parent, const QStyleOptionViewItem& option, const QModelIndex& index) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "createEditor"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QWidget*" , "QWidget*" , "const QStyleOptionViewItem&" , "const QModelIndex&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + QWidget* returnValue; + void* args[4] = {NULL, (void*)&parent, (void*)&option, (void*)&index}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("createEditor", methodInfo, result); + } else { + returnValue = *((QWidget**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QStyledItemDelegate::createEditor(parent, option, index); +} +void PythonQtShell_QStyledItemDelegate::customEvent(QEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "customEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QStyledItemDelegate::customEvent(arg__1); +} +QString PythonQtShell_QStyledItemDelegate::displayText(const QVariant& value, const QLocale& locale) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "displayText"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QString" , "const QVariant&" , "const QLocale&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + QString returnValue; + void* args[3] = {NULL, (void*)&value, (void*)&locale}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("displayText", methodInfo, result); + } else { + returnValue = *((QString*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QStyledItemDelegate::displayText(value, locale); +} +bool PythonQtShell_QStyledItemDelegate::editorEvent(QEvent* event, QAbstractItemModel* model, const QStyleOptionViewItem& option, const QModelIndex& index) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "editorEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "QEvent*" , "QAbstractItemModel*" , "const QStyleOptionViewItem&" , "const QModelIndex&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(5, argumentList); + bool returnValue; + void* args[5] = {NULL, (void*)&event, (void*)&model, (void*)&option, (void*)&index}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("editorEvent", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QStyledItemDelegate::editorEvent(event, model, option, index); +} +bool PythonQtShell_QStyledItemDelegate::event(QEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "event"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue; + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QStyledItemDelegate::event(arg__1); +} +bool PythonQtShell_QStyledItemDelegate::eventFilter(QObject* object, QEvent* event) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "eventFilter"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue; + void* args[3] = {NULL, (void*)&object, (void*)&event}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QStyledItemDelegate::eventFilter(object, event); +} +void PythonQtShell_QStyledItemDelegate::initStyleOption(QStyleOptionViewItem* option, const QModelIndex& index) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "initStyleOption"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QStyleOptionViewItem*" , "const QModelIndex&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + void* args[3] = {NULL, (void*)&option, (void*)&index}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QStyledItemDelegate::initStyleOption(option, index); +} +void PythonQtShell_QStyledItemDelegate::paint(QPainter* painter, const QStyleOptionViewItem& option, const QModelIndex& index) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "paint"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QPainter*" , "const QStyleOptionViewItem&" , "const QModelIndex&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + void* args[4] = {NULL, (void*)&painter, (void*)&option, (void*)&index}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QStyledItemDelegate::paint(painter, option, index); +} +void PythonQtShell_QStyledItemDelegate::setEditorData(QWidget* editor, const QModelIndex& index) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "setEditorData"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QWidget*" , "const QModelIndex&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + void* args[3] = {NULL, (void*)&editor, (void*)&index}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QStyledItemDelegate::setEditorData(editor, index); +} +void PythonQtShell_QStyledItemDelegate::setModelData(QWidget* editor, QAbstractItemModel* model, const QModelIndex& index) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "setModelData"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QWidget*" , "QAbstractItemModel*" , "const QModelIndex&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + void* args[4] = {NULL, (void*)&editor, (void*)&model, (void*)&index}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QStyledItemDelegate::setModelData(editor, model, index); +} +QSize PythonQtShell_QStyledItemDelegate::sizeHint(const QStyleOptionViewItem& option, const QModelIndex& index) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "sizeHint"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QSize" , "const QStyleOptionViewItem&" , "const QModelIndex&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + QSize returnValue; + void* args[3] = {NULL, (void*)&option, (void*)&index}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("sizeHint", methodInfo, result); + } else { + returnValue = *((QSize*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QStyledItemDelegate::sizeHint(option, index); +} +void PythonQtShell_QStyledItemDelegate::timerEvent(QTimerEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "timerEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QTimerEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QStyledItemDelegate::timerEvent(arg__1); +} +void PythonQtShell_QStyledItemDelegate::updateEditorGeometry(QWidget* editor, const QStyleOptionViewItem& option, const QModelIndex& index) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "updateEditorGeometry"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QWidget*" , "const QStyleOptionViewItem&" , "const QModelIndex&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + void* args[4] = {NULL, (void*)&editor, (void*)&option, (void*)&index}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QStyledItemDelegate::updateEditorGeometry(editor, option, index); +} +QStyledItemDelegate* PythonQtWrapper_QStyledItemDelegate::new_QStyledItemDelegate(QObject* parent) +{ +return new PythonQtShell_QStyledItemDelegate(parent); } + +QWidget* PythonQtWrapper_QStyledItemDelegate::createEditor(QStyledItemDelegate* theWrappedObject, QWidget* parent, const QStyleOptionViewItem& option, const QModelIndex& index) const +{ + return ( ((PythonQtPublicPromoter_QStyledItemDelegate*)theWrappedObject)->promoted_createEditor(parent, option, index)); +} + +QString PythonQtWrapper_QStyledItemDelegate::displayText(QStyledItemDelegate* theWrappedObject, const QVariant& value, const QLocale& locale) const +{ + return ( ((PythonQtPublicPromoter_QStyledItemDelegate*)theWrappedObject)->promoted_displayText(value, locale)); +} + +bool PythonQtWrapper_QStyledItemDelegate::editorEvent(QStyledItemDelegate* theWrappedObject, QEvent* event, QAbstractItemModel* model, const QStyleOptionViewItem& option, const QModelIndex& index) +{ + return ( ((PythonQtPublicPromoter_QStyledItemDelegate*)theWrappedObject)->promoted_editorEvent(event, model, option, index)); +} + +bool PythonQtWrapper_QStyledItemDelegate::eventFilter(QStyledItemDelegate* theWrappedObject, QObject* object, QEvent* event) +{ + return ( ((PythonQtPublicPromoter_QStyledItemDelegate*)theWrappedObject)->promoted_eventFilter(object, event)); +} + +void PythonQtWrapper_QStyledItemDelegate::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::paint(QStyledItemDelegate* theWrappedObject, QPainter* painter, const QStyleOptionViewItem& option, const QModelIndex& index) const +{ + ( ((PythonQtPublicPromoter_QStyledItemDelegate*)theWrappedObject)->promoted_paint(painter, option, index)); +} + +void PythonQtWrapper_QStyledItemDelegate::setEditorData(QStyledItemDelegate* theWrappedObject, QWidget* editor, const QModelIndex& index) const +{ + ( ((PythonQtPublicPromoter_QStyledItemDelegate*)theWrappedObject)->promoted_setEditorData(editor, index)); +} + +void PythonQtWrapper_QStyledItemDelegate::setItemEditorFactory(QStyledItemDelegate* theWrappedObject, QItemEditorFactory* factory) +{ + ( theWrappedObject->setItemEditorFactory(factory)); +} + +void PythonQtWrapper_QStyledItemDelegate::setModelData(QStyledItemDelegate* theWrappedObject, QWidget* editor, QAbstractItemModel* model, const QModelIndex& index) const +{ + ( ((PythonQtPublicPromoter_QStyledItemDelegate*)theWrappedObject)->promoted_setModelData(editor, model, index)); +} + +QSize PythonQtWrapper_QStyledItemDelegate::sizeHint(QStyledItemDelegate* theWrappedObject, const QStyleOptionViewItem& option, const QModelIndex& index) const +{ + return ( ((PythonQtPublicPromoter_QStyledItemDelegate*)theWrappedObject)->promoted_sizeHint(option, index)); +} + +void PythonQtWrapper_QStyledItemDelegate::updateEditorGeometry(QStyledItemDelegate* theWrappedObject, QWidget* editor, const QStyleOptionViewItem& option, const QModelIndex& index) const +{ + ( ((PythonQtPublicPromoter_QStyledItemDelegate*)theWrappedObject)->promoted_updateEditorGeometry(editor, option, index)); +} + + + +void PythonQtShell_QSwipeGesture::childEvent(QChildEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "childEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QChildEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QSwipeGesture::childEvent(arg__1); +} +void PythonQtShell_QSwipeGesture::customEvent(QEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "customEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QSwipeGesture::customEvent(arg__1); +} +bool PythonQtShell_QSwipeGesture::event(QEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "event"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue; + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QSwipeGesture::event(arg__1); +} +bool PythonQtShell_QSwipeGesture::eventFilter(QObject* arg__1, QEvent* arg__2) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "eventFilter"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue; + void* args[3] = {NULL, (void*)&arg__1, (void*)&arg__2}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QSwipeGesture::eventFilter(arg__1, arg__2); +} +void PythonQtShell_QSwipeGesture::timerEvent(QTimerEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "timerEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QTimerEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QSwipeGesture::timerEvent(arg__1); +} +QSwipeGesture* PythonQtWrapper_QSwipeGesture::new_QSwipeGesture(QObject* parent) +{ +return new PythonQtShell_QSwipeGesture(parent); } + +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()); +} + + + +void PythonQtShell_QSyntaxHighlighter::childEvent(QChildEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "childEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QChildEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QSyntaxHighlighter::childEvent(arg__1); +} +void PythonQtShell_QSyntaxHighlighter::customEvent(QEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "customEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QSyntaxHighlighter::customEvent(arg__1); +} +bool PythonQtShell_QSyntaxHighlighter::event(QEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "event"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue; + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QSyntaxHighlighter::event(arg__1); +} +bool PythonQtShell_QSyntaxHighlighter::eventFilter(QObject* arg__1, QEvent* arg__2) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "eventFilter"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue; + void* args[3] = {NULL, (void*)&arg__1, (void*)&arg__2}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QSyntaxHighlighter::eventFilter(arg__1, arg__2); +} +void PythonQtShell_QSyntaxHighlighter::highlightBlock(const QString& text) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "highlightBlock"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "const QString&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&text}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + +} +void PythonQtShell_QSyntaxHighlighter::timerEvent(QTimerEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "timerEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QTimerEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QSyntaxHighlighter::timerEvent(arg__1); +} +QSyntaxHighlighter* PythonQtWrapper_QSyntaxHighlighter::new_QSyntaxHighlighter(QObject* parent) +{ +return new PythonQtShell_QSyntaxHighlighter(parent); } + +QSyntaxHighlighter* PythonQtWrapper_QSyntaxHighlighter::new_QSyntaxHighlighter(QTextDocument* parent) +{ +return new PythonQtShell_QSyntaxHighlighter(parent); } + +QSyntaxHighlighter* PythonQtWrapper_QSyntaxHighlighter::new_QSyntaxHighlighter(QTextEdit* parent) +{ +return new PythonQtShell_QSyntaxHighlighter(parent); } + +QTextDocument* PythonQtWrapper_QSyntaxHighlighter::document(QSyntaxHighlighter* theWrappedObject) const +{ + return ( theWrappedObject->document()); +} + +void PythonQtWrapper_QSyntaxHighlighter::setDocument(QSyntaxHighlighter* theWrappedObject, QTextDocument* doc) +{ + ( theWrappedObject->setDocument(doc)); +} + + + +void PythonQtShell_QSystemTrayIcon::childEvent(QChildEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "childEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QChildEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QSystemTrayIcon::childEvent(arg__1); +} +void PythonQtShell_QSystemTrayIcon::customEvent(QEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "customEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QSystemTrayIcon::customEvent(arg__1); +} +bool PythonQtShell_QSystemTrayIcon::event(QEvent* event) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "event"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue; + void* args[2] = {NULL, (void*)&event}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QSystemTrayIcon::event(event); +} +bool PythonQtShell_QSystemTrayIcon::eventFilter(QObject* arg__1, QEvent* arg__2) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "eventFilter"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue; + void* args[3] = {NULL, (void*)&arg__1, (void*)&arg__2}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QSystemTrayIcon::eventFilter(arg__1, arg__2); +} +void PythonQtShell_QSystemTrayIcon::timerEvent(QTimerEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "timerEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QTimerEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QSystemTrayIcon::timerEvent(arg__1); +} +QSystemTrayIcon* PythonQtWrapper_QSystemTrayIcon::new_QSystemTrayIcon(QObject* parent) +{ +return new PythonQtShell_QSystemTrayIcon(parent); } + +QSystemTrayIcon* PythonQtWrapper_QSystemTrayIcon::new_QSystemTrayIcon(const QIcon& icon, QObject* parent) +{ +return new PythonQtShell_QSystemTrayIcon(icon, parent); } + +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)); +} + +void PythonQtWrapper_QSystemTrayIcon::showMessage(QSystemTrayIcon* theWrappedObject, const QString& title, const QString& msg, QSystemTrayIcon::MessageIcon icon, int msecs) +{ + ( theWrappedObject->showMessage(title, msg, icon, msecs)); +} + +bool PythonQtWrapper_QSystemTrayIcon::static_QSystemTrayIcon_supportsMessages() +{ + return (QSystemTrayIcon::supportsMessages()); +} + +QString PythonQtWrapper_QSystemTrayIcon::toolTip(QSystemTrayIcon* theWrappedObject) const +{ + return ( theWrappedObject->toolTip()); +} + + + +void PythonQtShell_QTabBar::actionEvent(QActionEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "actionEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QActionEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QTabBar::actionEvent(arg__1); +} +void PythonQtShell_QTabBar::changeEvent(QEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "changeEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QTabBar::changeEvent(arg__1); +} +void PythonQtShell_QTabBar::childEvent(QChildEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "childEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QChildEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QTabBar::childEvent(arg__1); +} +void PythonQtShell_QTabBar::closeEvent(QCloseEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "closeEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QCloseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QTabBar::closeEvent(arg__1); +} +void PythonQtShell_QTabBar::contextMenuEvent(QContextMenuEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "contextMenuEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QContextMenuEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QTabBar::contextMenuEvent(arg__1); +} +void PythonQtShell_QTabBar::customEvent(QEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "customEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QTabBar::customEvent(arg__1); +} +int PythonQtShell_QTabBar::devType() const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "devType"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + int returnValue; + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("devType", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QTabBar::devType(); +} +void PythonQtShell_QTabBar::dragEnterEvent(QDragEnterEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dragEnterEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QDragEnterEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QTabBar::dragEnterEvent(arg__1); +} +void PythonQtShell_QTabBar::dragLeaveEvent(QDragLeaveEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dragLeaveEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QDragLeaveEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QTabBar::dragLeaveEvent(arg__1); +} +void PythonQtShell_QTabBar::dragMoveEvent(QDragMoveEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dragMoveEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QDragMoveEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QTabBar::dragMoveEvent(arg__1); +} +void PythonQtShell_QTabBar::dropEvent(QDropEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dropEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QDropEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QTabBar::dropEvent(arg__1); +} +void PythonQtShell_QTabBar::enterEvent(QEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "enterEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QTabBar::enterEvent(arg__1); +} +bool PythonQtShell_QTabBar::event(QEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "event"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue; + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QTabBar::event(arg__1); +} +bool PythonQtShell_QTabBar::eventFilter(QObject* arg__1, QEvent* arg__2) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "eventFilter"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue; + void* args[3] = {NULL, (void*)&arg__1, (void*)&arg__2}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QTabBar::eventFilter(arg__1, arg__2); +} +void PythonQtShell_QTabBar::focusInEvent(QFocusEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "focusInEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QFocusEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QTabBar::focusInEvent(arg__1); +} +bool PythonQtShell_QTabBar::focusNextPrevChild(bool next) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "focusNextPrevChild"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue; + void* args[2] = {NULL, (void*)&next}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("focusNextPrevChild", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QTabBar::focusNextPrevChild(next); +} +void PythonQtShell_QTabBar::focusOutEvent(QFocusEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "focusOutEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QFocusEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QTabBar::focusOutEvent(arg__1); +} +int PythonQtShell_QTabBar::heightForWidth(int arg__1) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "heightForWidth"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"int" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + int returnValue; + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("heightForWidth", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QTabBar::heightForWidth(arg__1); +} +void PythonQtShell_QTabBar::hideEvent(QHideEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "hideEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QHideEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QTabBar::hideEvent(arg__1); +} +void PythonQtShell_QTabBar::inputMethodEvent(QInputMethodEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "inputMethodEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QInputMethodEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QTabBar::inputMethodEvent(arg__1); +} +QVariant PythonQtShell_QTabBar::inputMethodQuery(Qt::InputMethodQuery arg__1) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "inputMethodQuery"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QVariant" , "Qt::InputMethodQuery"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + QVariant returnValue; + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result); + } else { + returnValue = *((QVariant*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QTabBar::inputMethodQuery(arg__1); +} +void PythonQtShell_QTabBar::keyPressEvent(QKeyEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "keyPressEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QKeyEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QTabBar::keyPressEvent(arg__1); +} +void PythonQtShell_QTabBar::keyReleaseEvent(QKeyEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "keyReleaseEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QKeyEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QTabBar::keyReleaseEvent(arg__1); +} +void PythonQtShell_QTabBar::languageChange() +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "languageChange"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={""}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QTabBar::languageChange(); +} +void PythonQtShell_QTabBar::leaveEvent(QEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "leaveEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QTabBar::leaveEvent(arg__1); +} +int PythonQtShell_QTabBar::metric(QPaintDevice::PaintDeviceMetric arg__1) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "metric"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + int returnValue; + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("metric", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QTabBar::metric(arg__1); +} +void PythonQtShell_QTabBar::mouseDoubleClickEvent(QMouseEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mouseDoubleClickEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QTabBar::mouseDoubleClickEvent(arg__1); +} +void PythonQtShell_QTabBar::mouseMoveEvent(QMouseEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mouseMoveEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QTabBar::mouseMoveEvent(arg__1); +} +void PythonQtShell_QTabBar::mousePressEvent(QMouseEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mousePressEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QTabBar::mousePressEvent(arg__1); +} +void PythonQtShell_QTabBar::mouseReleaseEvent(QMouseEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mouseReleaseEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QTabBar::mouseReleaseEvent(arg__1); +} +void PythonQtShell_QTabBar::moveEvent(QMoveEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "moveEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QMoveEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QTabBar::moveEvent(arg__1); +} +QPaintEngine* PythonQtShell_QTabBar::paintEngine() const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "paintEngine"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QPaintEngine*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QPaintEngine* returnValue; + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); + } else { + returnValue = *((QPaintEngine**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QTabBar::paintEngine(); +} +void PythonQtShell_QTabBar::paintEvent(QPaintEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "paintEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QPaintEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QTabBar::paintEvent(arg__1); +} +void PythonQtShell_QTabBar::resizeEvent(QResizeEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "resizeEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QResizeEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QTabBar::resizeEvent(arg__1); +} +void PythonQtShell_QTabBar::showEvent(QShowEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "showEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QShowEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QTabBar::showEvent(arg__1); +} +void PythonQtShell_QTabBar::tabInserted(int index) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "tabInserted"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&index}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QTabBar::tabInserted(index); +} +void PythonQtShell_QTabBar::tabLayoutChange() +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "tabLayoutChange"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={""}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QTabBar::tabLayoutChange(); +} +void PythonQtShell_QTabBar::tabRemoved(int index) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "tabRemoved"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&index}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QTabBar::tabRemoved(index); +} +QSize PythonQtShell_QTabBar::tabSizeHint(int index) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "tabSizeHint"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QSize" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + QSize returnValue; + void* args[2] = {NULL, (void*)&index}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("tabSizeHint", methodInfo, result); + } else { + returnValue = *((QSize*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QTabBar::tabSizeHint(index); +} +void PythonQtShell_QTabBar::tabletEvent(QTabletEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "tabletEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QTabletEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QTabBar::tabletEvent(arg__1); +} +void PythonQtShell_QTabBar::timerEvent(QTimerEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "timerEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QTimerEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QTabBar::timerEvent(arg__1); +} +void PythonQtShell_QTabBar::wheelEvent(QWheelEvent* event) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "wheelEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QWheelEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&event}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QTabBar::wheelEvent(event); +} +QTabBar* PythonQtWrapper_QTabBar::new_QTabBar(QWidget* parent) +{ +return new PythonQtShell_QTabBar(parent); } + +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)); +} + +void PythonQtWrapper_QTabBar::changeEvent(QTabBar* theWrappedObject, QEvent* arg__1) +{ + ( ((PythonQtPublicPromoter_QTabBar*)theWrappedObject)->promoted_changeEvent(arg__1)); +} + +int PythonQtWrapper_QTabBar::count(QTabBar* theWrappedObject) const +{ + return ( theWrappedObject->count()); +} + +int PythonQtWrapper_QTabBar::currentIndex(QTabBar* theWrappedObject) const +{ + return ( theWrappedObject->currentIndex()); +} + +bool PythonQtWrapper_QTabBar::documentMode(QTabBar* theWrappedObject) const +{ + return ( theWrappedObject->documentMode()); +} + +bool PythonQtWrapper_QTabBar::drawBase(QTabBar* theWrappedObject) const +{ + return ( theWrappedObject->drawBase()); +} + +Qt::TextElideMode PythonQtWrapper_QTabBar::elideMode(QTabBar* theWrappedObject) const +{ + return ( theWrappedObject->elideMode()); +} + +bool PythonQtWrapper_QTabBar::event(QTabBar* theWrappedObject, QEvent* arg__1) +{ + return ( ((PythonQtPublicPromoter_QTabBar*)theWrappedObject)->promoted_event(arg__1)); +} + +bool PythonQtWrapper_QTabBar::expanding(QTabBar* theWrappedObject) const +{ + return ( theWrappedObject->expanding()); +} + +void PythonQtWrapper_QTabBar::hideEvent(QTabBar* theWrappedObject, QHideEvent* arg__1) +{ + ( ((PythonQtPublicPromoter_QTabBar*)theWrappedObject)->promoted_hideEvent(arg__1)); +} + +QSize PythonQtWrapper_QTabBar::iconSize(QTabBar* theWrappedObject) const +{ + return ( theWrappedObject->iconSize()); +} + +int PythonQtWrapper_QTabBar::insertTab(QTabBar* theWrappedObject, int index, const QIcon& icon, const QString& text) +{ + return ( theWrappedObject->insertTab(index, icon, text)); +} + +int PythonQtWrapper_QTabBar::insertTab(QTabBar* theWrappedObject, int index, const QString& text) +{ + return ( theWrappedObject->insertTab(index, text)); +} + +bool PythonQtWrapper_QTabBar::isMovable(QTabBar* theWrappedObject) const +{ + return ( theWrappedObject->isMovable()); +} + +bool PythonQtWrapper_QTabBar::isTabEnabled(QTabBar* theWrappedObject, int index) const +{ + return ( theWrappedObject->isTabEnabled(index)); +} + +void PythonQtWrapper_QTabBar::keyPressEvent(QTabBar* theWrappedObject, QKeyEvent* arg__1) +{ + ( ((PythonQtPublicPromoter_QTabBar*)theWrappedObject)->promoted_keyPressEvent(arg__1)); +} + +QSize PythonQtWrapper_QTabBar::minimumSizeHint(QTabBar* theWrappedObject) const +{ + return ( theWrappedObject->minimumSizeHint()); +} + +void PythonQtWrapper_QTabBar::mouseMoveEvent(QTabBar* theWrappedObject, QMouseEvent* arg__1) +{ + ( ((PythonQtPublicPromoter_QTabBar*)theWrappedObject)->promoted_mouseMoveEvent(arg__1)); +} + +void PythonQtWrapper_QTabBar::mousePressEvent(QTabBar* theWrappedObject, QMouseEvent* arg__1) +{ + ( ((PythonQtPublicPromoter_QTabBar*)theWrappedObject)->promoted_mousePressEvent(arg__1)); +} + +void PythonQtWrapper_QTabBar::mouseReleaseEvent(QTabBar* theWrappedObject, QMouseEvent* arg__1) +{ + ( ((PythonQtPublicPromoter_QTabBar*)theWrappedObject)->promoted_mouseReleaseEvent(arg__1)); +} + +void PythonQtWrapper_QTabBar::moveTab(QTabBar* theWrappedObject, int from, int to) +{ + ( theWrappedObject->moveTab(from, to)); +} + +void PythonQtWrapper_QTabBar::paintEvent(QTabBar* theWrappedObject, QPaintEvent* arg__1) +{ + ( ((PythonQtPublicPromoter_QTabBar*)theWrappedObject)->promoted_paintEvent(arg__1)); +} + +void PythonQtWrapper_QTabBar::removeTab(QTabBar* theWrappedObject, int index) +{ + ( theWrappedObject->removeTab(index)); +} + +void PythonQtWrapper_QTabBar::resizeEvent(QTabBar* theWrappedObject, QResizeEvent* arg__1) +{ + ( ((PythonQtPublicPromoter_QTabBar*)theWrappedObject)->promoted_resizeEvent(arg__1)); +} + +QTabBar::SelectionBehavior PythonQtWrapper_QTabBar::selectionBehaviorOnRemove(QTabBar* theWrappedObject) const +{ + return ( theWrappedObject->selectionBehaviorOnRemove()); +} + +void PythonQtWrapper_QTabBar::setDocumentMode(QTabBar* theWrappedObject, bool set) +{ + ( theWrappedObject->setDocumentMode(set)); +} + +void PythonQtWrapper_QTabBar::setDrawBase(QTabBar* theWrappedObject, bool drawTheBase) +{ + ( theWrappedObject->setDrawBase(drawTheBase)); +} + +void PythonQtWrapper_QTabBar::setElideMode(QTabBar* theWrappedObject, Qt::TextElideMode arg__1) +{ + ( theWrappedObject->setElideMode(arg__1)); +} + +void PythonQtWrapper_QTabBar::setExpanding(QTabBar* theWrappedObject, bool enabled) +{ + ( theWrappedObject->setExpanding(enabled)); +} + +void PythonQtWrapper_QTabBar::setIconSize(QTabBar* theWrappedObject, const QSize& size) +{ + ( theWrappedObject->setIconSize(size)); +} + +void PythonQtWrapper_QTabBar::setMovable(QTabBar* theWrappedObject, bool movable) +{ + ( theWrappedObject->setMovable(movable)); +} + +void PythonQtWrapper_QTabBar::setSelectionBehaviorOnRemove(QTabBar* theWrappedObject, QTabBar::SelectionBehavior behavior) +{ + ( theWrappedObject->setSelectionBehaviorOnRemove(behavior)); +} + +void PythonQtWrapper_QTabBar::setShape(QTabBar* theWrappedObject, QTabBar::Shape shape) +{ + ( theWrappedObject->setShape(shape)); +} + +void PythonQtWrapper_QTabBar::setTabButton(QTabBar* theWrappedObject, int index, QTabBar::ButtonPosition position, QWidget* widget) +{ + ( theWrappedObject->setTabButton(index, position, widget)); +} + +void PythonQtWrapper_QTabBar::setTabData(QTabBar* theWrappedObject, int index, const QVariant& data) +{ + ( theWrappedObject->setTabData(index, data)); +} + +void PythonQtWrapper_QTabBar::setTabEnabled(QTabBar* theWrappedObject, int index, bool arg__2) +{ + ( theWrappedObject->setTabEnabled(index, arg__2)); +} + +void PythonQtWrapper_QTabBar::setTabIcon(QTabBar* theWrappedObject, int index, const QIcon& icon) +{ + ( theWrappedObject->setTabIcon(index, icon)); +} + +void PythonQtWrapper_QTabBar::setTabText(QTabBar* theWrappedObject, int index, const QString& text) +{ + ( theWrappedObject->setTabText(index, text)); +} + +void PythonQtWrapper_QTabBar::setTabTextColor(QTabBar* theWrappedObject, int index, const QColor& color) +{ + ( theWrappedObject->setTabTextColor(index, color)); +} + +void PythonQtWrapper_QTabBar::setTabToolTip(QTabBar* theWrappedObject, int index, const QString& tip) +{ + ( theWrappedObject->setTabToolTip(index, tip)); +} + +void PythonQtWrapper_QTabBar::setTabWhatsThis(QTabBar* theWrappedObject, int index, const QString& text) +{ + ( theWrappedObject->setTabWhatsThis(index, text)); +} + +void PythonQtWrapper_QTabBar::setTabsClosable(QTabBar* theWrappedObject, bool closable) +{ + ( theWrappedObject->setTabsClosable(closable)); +} + +void PythonQtWrapper_QTabBar::setUsesScrollButtons(QTabBar* theWrappedObject, bool useButtons) +{ + ( theWrappedObject->setUsesScrollButtons(useButtons)); +} + +QTabBar::Shape PythonQtWrapper_QTabBar::shape(QTabBar* theWrappedObject) const +{ + return ( theWrappedObject->shape()); +} + +void PythonQtWrapper_QTabBar::showEvent(QTabBar* theWrappedObject, QShowEvent* arg__1) +{ + ( ((PythonQtPublicPromoter_QTabBar*)theWrappedObject)->promoted_showEvent(arg__1)); +} + +QSize PythonQtWrapper_QTabBar::sizeHint(QTabBar* theWrappedObject) const +{ + return ( theWrappedObject->sizeHint()); +} + +int PythonQtWrapper_QTabBar::tabAt(QTabBar* theWrappedObject, const QPoint& pos) const +{ + return ( theWrappedObject->tabAt(pos)); +} + +QWidget* PythonQtWrapper_QTabBar::tabButton(QTabBar* theWrappedObject, int index, QTabBar::ButtonPosition position) const +{ + return ( theWrappedObject->tabButton(index, position)); +} + +QVariant PythonQtWrapper_QTabBar::tabData(QTabBar* theWrappedObject, int index) const +{ + return ( theWrappedObject->tabData(index)); +} + +QIcon PythonQtWrapper_QTabBar::tabIcon(QTabBar* theWrappedObject, int index) const +{ + return ( theWrappedObject->tabIcon(index)); +} + +void PythonQtWrapper_QTabBar::tabInserted(QTabBar* theWrappedObject, int index) +{ + ( ((PythonQtPublicPromoter_QTabBar*)theWrappedObject)->promoted_tabInserted(index)); +} + +void PythonQtWrapper_QTabBar::tabLayoutChange(QTabBar* theWrappedObject) +{ + ( ((PythonQtPublicPromoter_QTabBar*)theWrappedObject)->promoted_tabLayoutChange()); +} + +QRect PythonQtWrapper_QTabBar::tabRect(QTabBar* theWrappedObject, int index) const +{ + return ( theWrappedObject->tabRect(index)); +} + +void PythonQtWrapper_QTabBar::tabRemoved(QTabBar* theWrappedObject, int index) +{ + ( ((PythonQtPublicPromoter_QTabBar*)theWrappedObject)->promoted_tabRemoved(index)); +} + +QSize PythonQtWrapper_QTabBar::tabSizeHint(QTabBar* theWrappedObject, int index) const +{ + return ( ((PythonQtPublicPromoter_QTabBar*)theWrappedObject)->promoted_tabSizeHint(index)); +} + +QString PythonQtWrapper_QTabBar::tabText(QTabBar* theWrappedObject, int index) const +{ + return ( theWrappedObject->tabText(index)); +} + +QColor PythonQtWrapper_QTabBar::tabTextColor(QTabBar* theWrappedObject, int index) const +{ + return ( theWrappedObject->tabTextColor(index)); +} + +QString PythonQtWrapper_QTabBar::tabToolTip(QTabBar* theWrappedObject, int index) const +{ + return ( theWrappedObject->tabToolTip(index)); +} + +QString PythonQtWrapper_QTabBar::tabWhatsThis(QTabBar* theWrappedObject, int index) const +{ + return ( theWrappedObject->tabWhatsThis(index)); +} + +bool PythonQtWrapper_QTabBar::tabsClosable(QTabBar* theWrappedObject) const +{ + return ( theWrappedObject->tabsClosable()); +} + +bool PythonQtWrapper_QTabBar::usesScrollButtons(QTabBar* theWrappedObject) const +{ + return ( theWrappedObject->usesScrollButtons()); +} + +void PythonQtWrapper_QTabBar::wheelEvent(QTabBar* theWrappedObject, QWheelEvent* event) +{ + ( ((PythonQtPublicPromoter_QTabBar*)theWrappedObject)->promoted_wheelEvent(event)); +} + + + +void PythonQtShell_QTabWidget::actionEvent(QActionEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "actionEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QActionEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QTabWidget::actionEvent(arg__1); +} +void PythonQtShell_QTabWidget::changeEvent(QEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "changeEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QTabWidget::changeEvent(arg__1); +} +void PythonQtShell_QTabWidget::childEvent(QChildEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "childEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QChildEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QTabWidget::childEvent(arg__1); +} +void PythonQtShell_QTabWidget::closeEvent(QCloseEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "closeEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QCloseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QTabWidget::closeEvent(arg__1); +} +void PythonQtShell_QTabWidget::contextMenuEvent(QContextMenuEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "contextMenuEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QContextMenuEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QTabWidget::contextMenuEvent(arg__1); +} +void PythonQtShell_QTabWidget::customEvent(QEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "customEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QTabWidget::customEvent(arg__1); +} +int PythonQtShell_QTabWidget::devType() const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "devType"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + int returnValue; + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("devType", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QTabWidget::devType(); +} +void PythonQtShell_QTabWidget::dragEnterEvent(QDragEnterEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dragEnterEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QDragEnterEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QTabWidget::dragEnterEvent(arg__1); +} +void PythonQtShell_QTabWidget::dragLeaveEvent(QDragLeaveEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dragLeaveEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QDragLeaveEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QTabWidget::dragLeaveEvent(arg__1); +} +void PythonQtShell_QTabWidget::dragMoveEvent(QDragMoveEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dragMoveEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QDragMoveEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QTabWidget::dragMoveEvent(arg__1); +} +void PythonQtShell_QTabWidget::dropEvent(QDropEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dropEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QDropEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QTabWidget::dropEvent(arg__1); +} +void PythonQtShell_QTabWidget::enterEvent(QEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "enterEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QTabWidget::enterEvent(arg__1); +} +bool PythonQtShell_QTabWidget::event(QEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "event"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue; + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QTabWidget::event(arg__1); +} +bool PythonQtShell_QTabWidget::eventFilter(QObject* arg__1, QEvent* arg__2) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "eventFilter"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue; + void* args[3] = {NULL, (void*)&arg__1, (void*)&arg__2}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QTabWidget::eventFilter(arg__1, arg__2); +} +void PythonQtShell_QTabWidget::focusInEvent(QFocusEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "focusInEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QFocusEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QTabWidget::focusInEvent(arg__1); +} +bool PythonQtShell_QTabWidget::focusNextPrevChild(bool next) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "focusNextPrevChild"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue; + void* args[2] = {NULL, (void*)&next}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("focusNextPrevChild", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QTabWidget::focusNextPrevChild(next); +} +void PythonQtShell_QTabWidget::focusOutEvent(QFocusEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "focusOutEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QFocusEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QTabWidget::focusOutEvent(arg__1); +} +int PythonQtShell_QTabWidget::heightForWidth(int arg__1) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "heightForWidth"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"int" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + int returnValue; + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("heightForWidth", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QTabWidget::heightForWidth(arg__1); +} +void PythonQtShell_QTabWidget::hideEvent(QHideEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "hideEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QHideEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QTabWidget::hideEvent(arg__1); +} +void PythonQtShell_QTabWidget::inputMethodEvent(QInputMethodEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "inputMethodEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QInputMethodEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QTabWidget::inputMethodEvent(arg__1); +} +QVariant PythonQtShell_QTabWidget::inputMethodQuery(Qt::InputMethodQuery arg__1) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "inputMethodQuery"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QVariant" , "Qt::InputMethodQuery"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + QVariant returnValue; + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result); + } else { + returnValue = *((QVariant*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QTabWidget::inputMethodQuery(arg__1); +} +void PythonQtShell_QTabWidget::keyPressEvent(QKeyEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "keyPressEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QKeyEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QTabWidget::keyPressEvent(arg__1); +} +void PythonQtShell_QTabWidget::keyReleaseEvent(QKeyEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "keyReleaseEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QKeyEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QTabWidget::keyReleaseEvent(arg__1); +} +void PythonQtShell_QTabWidget::languageChange() +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "languageChange"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={""}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QTabWidget::languageChange(); +} +void PythonQtShell_QTabWidget::leaveEvent(QEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "leaveEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QTabWidget::leaveEvent(arg__1); +} +int PythonQtShell_QTabWidget::metric(QPaintDevice::PaintDeviceMetric arg__1) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "metric"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + int returnValue; + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("metric", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QTabWidget::metric(arg__1); +} +void PythonQtShell_QTabWidget::mouseDoubleClickEvent(QMouseEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mouseDoubleClickEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QTabWidget::mouseDoubleClickEvent(arg__1); +} +void PythonQtShell_QTabWidget::mouseMoveEvent(QMouseEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mouseMoveEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QTabWidget::mouseMoveEvent(arg__1); +} +void PythonQtShell_QTabWidget::mousePressEvent(QMouseEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mousePressEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QTabWidget::mousePressEvent(arg__1); +} +void PythonQtShell_QTabWidget::mouseReleaseEvent(QMouseEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mouseReleaseEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QTabWidget::mouseReleaseEvent(arg__1); +} +void PythonQtShell_QTabWidget::moveEvent(QMoveEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "moveEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QMoveEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QTabWidget::moveEvent(arg__1); +} +QPaintEngine* PythonQtShell_QTabWidget::paintEngine() const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "paintEngine"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QPaintEngine*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QPaintEngine* returnValue; + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); + } else { + returnValue = *((QPaintEngine**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QTabWidget::paintEngine(); +} +void PythonQtShell_QTabWidget::paintEvent(QPaintEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "paintEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QPaintEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QTabWidget::paintEvent(arg__1); +} +void PythonQtShell_QTabWidget::resizeEvent(QResizeEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "resizeEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QResizeEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QTabWidget::resizeEvent(arg__1); +} +void PythonQtShell_QTabWidget::showEvent(QShowEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "showEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QShowEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QTabWidget::showEvent(arg__1); +} +void PythonQtShell_QTabWidget::tabInserted(int index) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "tabInserted"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&index}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QTabWidget::tabInserted(index); +} +void PythonQtShell_QTabWidget::tabRemoved(int index) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "tabRemoved"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&index}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QTabWidget::tabRemoved(index); +} +void PythonQtShell_QTabWidget::tabletEvent(QTabletEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "tabletEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QTabletEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QTabWidget::tabletEvent(arg__1); +} +void PythonQtShell_QTabWidget::timerEvent(QTimerEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "timerEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QTimerEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QTabWidget::timerEvent(arg__1); +} +void PythonQtShell_QTabWidget::wheelEvent(QWheelEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "wheelEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QWheelEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QTabWidget::wheelEvent(arg__1); +} +QTabWidget* PythonQtWrapper_QTabWidget::new_QTabWidget(QWidget* parent) +{ +return new PythonQtShell_QTabWidget(parent); } + +int PythonQtWrapper_QTabWidget::addTab(QTabWidget* theWrappedObject, QWidget* widget, const QIcon& icon, const QString& label) +{ + return ( theWrappedObject->addTab(widget, icon, label)); +} + +int PythonQtWrapper_QTabWidget::addTab(QTabWidget* theWrappedObject, QWidget* widget, const QString& arg__2) +{ + return ( theWrappedObject->addTab(widget, arg__2)); +} + +void PythonQtWrapper_QTabWidget::changeEvent(QTabWidget* theWrappedObject, QEvent* arg__1) +{ + ( ((PythonQtPublicPromoter_QTabWidget*)theWrappedObject)->promoted_changeEvent(arg__1)); +} + +void PythonQtWrapper_QTabWidget::clear(QTabWidget* theWrappedObject) +{ + ( theWrappedObject->clear()); +} + +QWidget* PythonQtWrapper_QTabWidget::cornerWidget(QTabWidget* theWrappedObject, Qt::Corner corner) const +{ + return ( theWrappedObject->cornerWidget(corner)); +} + +int PythonQtWrapper_QTabWidget::count(QTabWidget* theWrappedObject) const +{ + return ( theWrappedObject->count()); +} + +int PythonQtWrapper_QTabWidget::currentIndex(QTabWidget* theWrappedObject) const +{ + return ( theWrappedObject->currentIndex()); +} + +QWidget* PythonQtWrapper_QTabWidget::currentWidget(QTabWidget* theWrappedObject) const +{ + return ( theWrappedObject->currentWidget()); +} + +bool PythonQtWrapper_QTabWidget::documentMode(QTabWidget* theWrappedObject) const +{ + return ( theWrappedObject->documentMode()); +} + +Qt::TextElideMode PythonQtWrapper_QTabWidget::elideMode(QTabWidget* theWrappedObject) const +{ + return ( theWrappedObject->elideMode()); +} + +bool PythonQtWrapper_QTabWidget::event(QTabWidget* theWrappedObject, QEvent* arg__1) +{ + return ( ((PythonQtPublicPromoter_QTabWidget*)theWrappedObject)->promoted_event(arg__1)); +} + +QSize PythonQtWrapper_QTabWidget::iconSize(QTabWidget* theWrappedObject) const +{ + return ( theWrappedObject->iconSize()); +} + +int PythonQtWrapper_QTabWidget::indexOf(QTabWidget* theWrappedObject, QWidget* widget) const +{ + return ( theWrappedObject->indexOf(widget)); +} + +int PythonQtWrapper_QTabWidget::insertTab(QTabWidget* theWrappedObject, int index, QWidget* widget, const QIcon& icon, const QString& label) +{ + return ( theWrappedObject->insertTab(index, widget, icon, label)); +} + +int PythonQtWrapper_QTabWidget::insertTab(QTabWidget* theWrappedObject, int index, QWidget* widget, const QString& arg__3) +{ + return ( theWrappedObject->insertTab(index, widget, arg__3)); +} + +bool PythonQtWrapper_QTabWidget::isMovable(QTabWidget* theWrappedObject) const +{ + return ( theWrappedObject->isMovable()); +} + +bool PythonQtWrapper_QTabWidget::isTabEnabled(QTabWidget* theWrappedObject, int index) const +{ + return ( theWrappedObject->isTabEnabled(index)); +} + +void PythonQtWrapper_QTabWidget::keyPressEvent(QTabWidget* theWrappedObject, QKeyEvent* arg__1) +{ + ( ((PythonQtPublicPromoter_QTabWidget*)theWrappedObject)->promoted_keyPressEvent(arg__1)); +} + +QSize PythonQtWrapper_QTabWidget::minimumSizeHint(QTabWidget* theWrappedObject) const +{ + return ( theWrappedObject->minimumSizeHint()); +} + +void PythonQtWrapper_QTabWidget::paintEvent(QTabWidget* theWrappedObject, QPaintEvent* arg__1) +{ + ( ((PythonQtPublicPromoter_QTabWidget*)theWrappedObject)->promoted_paintEvent(arg__1)); +} + +void PythonQtWrapper_QTabWidget::removeTab(QTabWidget* theWrappedObject, int index) +{ + ( theWrappedObject->removeTab(index)); +} + +void PythonQtWrapper_QTabWidget::resizeEvent(QTabWidget* theWrappedObject, QResizeEvent* arg__1) +{ + ( ((PythonQtPublicPromoter_QTabWidget*)theWrappedObject)->promoted_resizeEvent(arg__1)); +} + +void PythonQtWrapper_QTabWidget::setCornerWidget(QTabWidget* theWrappedObject, QWidget* w, Qt::Corner corner) +{ + ( theWrappedObject->setCornerWidget(w, corner)); +} + +void PythonQtWrapper_QTabWidget::setDocumentMode(QTabWidget* theWrappedObject, bool set) +{ + ( theWrappedObject->setDocumentMode(set)); +} + +void PythonQtWrapper_QTabWidget::setElideMode(QTabWidget* theWrappedObject, Qt::TextElideMode arg__1) +{ + ( theWrappedObject->setElideMode(arg__1)); +} + +void PythonQtWrapper_QTabWidget::setIconSize(QTabWidget* theWrappedObject, const QSize& size) +{ + ( theWrappedObject->setIconSize(size)); +} + +void PythonQtWrapper_QTabWidget::setMovable(QTabWidget* theWrappedObject, bool movable) +{ + ( theWrappedObject->setMovable(movable)); +} + +void PythonQtWrapper_QTabWidget::setTabEnabled(QTabWidget* theWrappedObject, int index, bool arg__2) +{ + ( theWrappedObject->setTabEnabled(index, arg__2)); +} + +void PythonQtWrapper_QTabWidget::setTabIcon(QTabWidget* theWrappedObject, int index, const QIcon& icon) +{ + ( theWrappedObject->setTabIcon(index, icon)); +} + +void PythonQtWrapper_QTabWidget::setTabPosition(QTabWidget* theWrappedObject, QTabWidget::TabPosition arg__1) +{ + ( theWrappedObject->setTabPosition(arg__1)); +} + +void PythonQtWrapper_QTabWidget::setTabShape(QTabWidget* theWrappedObject, QTabWidget::TabShape s) +{ + ( theWrappedObject->setTabShape(s)); +} + +void PythonQtWrapper_QTabWidget::setTabText(QTabWidget* theWrappedObject, int index, const QString& arg__2) +{ + ( theWrappedObject->setTabText(index, arg__2)); +} + +void PythonQtWrapper_QTabWidget::setTabToolTip(QTabWidget* theWrappedObject, int index, const QString& tip) +{ + ( theWrappedObject->setTabToolTip(index, tip)); +} + +void PythonQtWrapper_QTabWidget::setTabWhatsThis(QTabWidget* theWrappedObject, int index, const QString& text) +{ + ( theWrappedObject->setTabWhatsThis(index, text)); +} + +void PythonQtWrapper_QTabWidget::setTabsClosable(QTabWidget* theWrappedObject, bool closeable) +{ + ( theWrappedObject->setTabsClosable(closeable)); +} + +void PythonQtWrapper_QTabWidget::setUsesScrollButtons(QTabWidget* theWrappedObject, bool useButtons) +{ + ( theWrappedObject->setUsesScrollButtons(useButtons)); +} + +void PythonQtWrapper_QTabWidget::showEvent(QTabWidget* theWrappedObject, QShowEvent* arg__1) +{ + ( ((PythonQtPublicPromoter_QTabWidget*)theWrappedObject)->promoted_showEvent(arg__1)); +} + +QSize PythonQtWrapper_QTabWidget::sizeHint(QTabWidget* theWrappedObject) const +{ + return ( theWrappedObject->sizeHint()); +} + +QIcon PythonQtWrapper_QTabWidget::tabIcon(QTabWidget* theWrappedObject, int index) const +{ + return ( theWrappedObject->tabIcon(index)); +} + +void PythonQtWrapper_QTabWidget::tabInserted(QTabWidget* theWrappedObject, int index) +{ + ( ((PythonQtPublicPromoter_QTabWidget*)theWrappedObject)->promoted_tabInserted(index)); +} + +QTabWidget::TabPosition PythonQtWrapper_QTabWidget::tabPosition(QTabWidget* theWrappedObject) const +{ + return ( theWrappedObject->tabPosition()); +} + +void PythonQtWrapper_QTabWidget::tabRemoved(QTabWidget* theWrappedObject, int index) +{ + ( ((PythonQtPublicPromoter_QTabWidget*)theWrappedObject)->promoted_tabRemoved(index)); +} + +QTabWidget::TabShape PythonQtWrapper_QTabWidget::tabShape(QTabWidget* theWrappedObject) const +{ + return ( theWrappedObject->tabShape()); +} + +QString PythonQtWrapper_QTabWidget::tabText(QTabWidget* theWrappedObject, int index) const +{ + return ( theWrappedObject->tabText(index)); +} + +QString PythonQtWrapper_QTabWidget::tabToolTip(QTabWidget* theWrappedObject, int index) const +{ + return ( theWrappedObject->tabToolTip(index)); +} + +QString PythonQtWrapper_QTabWidget::tabWhatsThis(QTabWidget* theWrappedObject, int index) const +{ + return ( theWrappedObject->tabWhatsThis(index)); +} + +bool PythonQtWrapper_QTabWidget::tabsClosable(QTabWidget* theWrappedObject) const +{ + return ( theWrappedObject->tabsClosable()); +} + +bool PythonQtWrapper_QTabWidget::usesScrollButtons(QTabWidget* theWrappedObject) const +{ + return ( theWrappedObject->usesScrollButtons()); +} + +QWidget* PythonQtWrapper_QTabWidget::widget(QTabWidget* theWrappedObject, int index) const +{ + return ( theWrappedObject->widget(index)); +} + + + +void PythonQtShell_QTableView::actionEvent(QActionEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "actionEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QActionEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QTableView::actionEvent(arg__1); +} +void PythonQtShell_QTableView::changeEvent(QEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "changeEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QTableView::changeEvent(arg__1); +} +void PythonQtShell_QTableView::childEvent(QChildEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "childEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QChildEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QTableView::childEvent(arg__1); +} +void PythonQtShell_QTableView::closeEditor(QWidget* editor, QAbstractItemDelegate::EndEditHint hint) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "closeEditor"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QWidget*" , "QAbstractItemDelegate::EndEditHint"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + void* args[3] = {NULL, (void*)&editor, (void*)&hint}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QTableView::closeEditor(editor, hint); +} +void PythonQtShell_QTableView::closeEvent(QCloseEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "closeEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QCloseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QTableView::closeEvent(arg__1); +} +void PythonQtShell_QTableView::commitData(QWidget* editor) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "commitData"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QWidget*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&editor}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QTableView::commitData(editor); +} +void PythonQtShell_QTableView::contextMenuEvent(QContextMenuEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "contextMenuEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QContextMenuEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QTableView::contextMenuEvent(arg__1); +} +void PythonQtShell_QTableView::currentChanged(const QModelIndex& current, const QModelIndex& previous) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "currentChanged"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "const QModelIndex&" , "const QModelIndex&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + void* args[3] = {NULL, (void*)¤t, (void*)&previous}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QTableView::currentChanged(current, previous); +} +void PythonQtShell_QTableView::customEvent(QEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "customEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QTableView::customEvent(arg__1); +} +void PythonQtShell_QTableView::dataChanged(const QModelIndex& topLeft, const QModelIndex& bottomRight) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dataChanged"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "const QModelIndex&" , "const QModelIndex&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + void* args[3] = {NULL, (void*)&topLeft, (void*)&bottomRight}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QTableView::dataChanged(topLeft, bottomRight); +} +int PythonQtShell_QTableView::devType() const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "devType"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + int returnValue; + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("devType", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QTableView::devType(); +} +void PythonQtShell_QTableView::doItemsLayout() +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "doItemsLayout"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={""}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QTableView::doItemsLayout(); +} +void PythonQtShell_QTableView::dragEnterEvent(QDragEnterEvent* event) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dragEnterEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QDragEnterEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&event}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QTableView::dragEnterEvent(event); +} +void PythonQtShell_QTableView::dragLeaveEvent(QDragLeaveEvent* event) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dragLeaveEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QDragLeaveEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&event}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QTableView::dragLeaveEvent(event); +} +void PythonQtShell_QTableView::dragMoveEvent(QDragMoveEvent* event) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dragMoveEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QDragMoveEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&event}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QTableView::dragMoveEvent(event); +} +void PythonQtShell_QTableView::dropEvent(QDropEvent* event) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dropEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QDropEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&event}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QTableView::dropEvent(event); +} +bool PythonQtShell_QTableView::edit(const QModelIndex& index, QAbstractItemView::EditTrigger trigger, QEvent* event) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "edit"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "const QModelIndex&" , "QAbstractItemView::EditTrigger" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + bool returnValue; + void* args[4] = {NULL, (void*)&index, (void*)&trigger, (void*)&event}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("edit", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QTableView::edit(index, trigger, event); +} +void PythonQtShell_QTableView::editorDestroyed(QObject* editor) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "editorDestroyed"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QObject*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&editor}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QTableView::editorDestroyed(editor); +} +void PythonQtShell_QTableView::enterEvent(QEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "enterEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QTableView::enterEvent(arg__1); +} +bool PythonQtShell_QTableView::event(QEvent* event) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "event"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue; + void* args[2] = {NULL, (void*)&event}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QTableView::event(event); +} +bool PythonQtShell_QTableView::eventFilter(QObject* arg__1, QEvent* arg__2) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "eventFilter"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue; + void* args[3] = {NULL, (void*)&arg__1, (void*)&arg__2}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QTableView::eventFilter(arg__1, arg__2); +} +void PythonQtShell_QTableView::focusInEvent(QFocusEvent* event) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "focusInEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QFocusEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&event}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QTableView::focusInEvent(event); +} +bool PythonQtShell_QTableView::focusNextPrevChild(bool next) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "focusNextPrevChild"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue; + void* args[2] = {NULL, (void*)&next}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("focusNextPrevChild", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QTableView::focusNextPrevChild(next); +} +void PythonQtShell_QTableView::focusOutEvent(QFocusEvent* event) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "focusOutEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QFocusEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&event}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QTableView::focusOutEvent(event); +} +int PythonQtShell_QTableView::heightForWidth(int arg__1) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "heightForWidth"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"int" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + int returnValue; + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("heightForWidth", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QTableView::heightForWidth(arg__1); +} +void PythonQtShell_QTableView::hideEvent(QHideEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "hideEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QHideEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QTableView::hideEvent(arg__1); +} +int PythonQtShell_QTableView::horizontalOffset() const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "horizontalOffset"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + int returnValue; + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("horizontalOffset", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QTableView::horizontalOffset(); +} +void PythonQtShell_QTableView::horizontalScrollbarAction(int action) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "horizontalScrollbarAction"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&action}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QTableView::horizontalScrollbarAction(action); +} +void PythonQtShell_QTableView::horizontalScrollbarValueChanged(int value) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "horizontalScrollbarValueChanged"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&value}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QTableView::horizontalScrollbarValueChanged(value); +} +QModelIndex PythonQtShell_QTableView::indexAt(const QPoint& p) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "indexAt"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QModelIndex" , "const QPoint&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + QModelIndex returnValue; + void* args[2] = {NULL, (void*)&p}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("indexAt", methodInfo, result); + } else { + returnValue = *((QModelIndex*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QTableView::indexAt(p); +} +void PythonQtShell_QTableView::inputMethodEvent(QInputMethodEvent* event) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "inputMethodEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QInputMethodEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&event}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QTableView::inputMethodEvent(event); +} +QVariant PythonQtShell_QTableView::inputMethodQuery(Qt::InputMethodQuery query) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "inputMethodQuery"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QVariant" , "Qt::InputMethodQuery"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + QVariant returnValue; + void* args[2] = {NULL, (void*)&query}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result); + } else { + returnValue = *((QVariant*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QTableView::inputMethodQuery(query); +} +bool PythonQtShell_QTableView::isIndexHidden(const QModelIndex& index) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "isIndexHidden"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "const QModelIndex&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue; + void* args[2] = {NULL, (void*)&index}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("isIndexHidden", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QTableView::isIndexHidden(index); +} +void PythonQtShell_QTableView::keyPressEvent(QKeyEvent* event) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "keyPressEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QKeyEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&event}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QTableView::keyPressEvent(event); +} +void PythonQtShell_QTableView::keyReleaseEvent(QKeyEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "keyReleaseEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QKeyEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QTableView::keyReleaseEvent(arg__1); +} +void PythonQtShell_QTableView::keyboardSearch(const QString& search) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "keyboardSearch"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "const QString&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&search}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QTableView::keyboardSearch(search); +} +void PythonQtShell_QTableView::languageChange() +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "languageChange"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={""}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QTableView::languageChange(); +} +void PythonQtShell_QTableView::leaveEvent(QEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "leaveEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QTableView::leaveEvent(arg__1); +} +int PythonQtShell_QTableView::metric(QPaintDevice::PaintDeviceMetric arg__1) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "metric"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + int returnValue; + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("metric", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QTableView::metric(arg__1); +} +void PythonQtShell_QTableView::mouseDoubleClickEvent(QMouseEvent* event) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mouseDoubleClickEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&event}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QTableView::mouseDoubleClickEvent(event); +} +void PythonQtShell_QTableView::mouseMoveEvent(QMouseEvent* event) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mouseMoveEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&event}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QTableView::mouseMoveEvent(event); +} +void PythonQtShell_QTableView::mousePressEvent(QMouseEvent* event) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mousePressEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&event}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QTableView::mousePressEvent(event); +} +void PythonQtShell_QTableView::mouseReleaseEvent(QMouseEvent* event) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mouseReleaseEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&event}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QTableView::mouseReleaseEvent(event); +} +void PythonQtShell_QTableView::moveEvent(QMoveEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "moveEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QMoveEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QTableView::moveEvent(arg__1); +} +QPaintEngine* PythonQtShell_QTableView::paintEngine() const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "paintEngine"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QPaintEngine*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QPaintEngine* returnValue; + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); + } else { + returnValue = *((QPaintEngine**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QTableView::paintEngine(); +} +void PythonQtShell_QTableView::paintEvent(QPaintEvent* e) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "paintEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QPaintEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&e}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QTableView::paintEvent(e); +} +void PythonQtShell_QTableView::reset() +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "reset"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={""}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QTableView::reset(); +} +void PythonQtShell_QTableView::resizeEvent(QResizeEvent* event) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "resizeEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QResizeEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&event}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QTableView::resizeEvent(event); +} +void PythonQtShell_QTableView::rowsAboutToBeRemoved(const QModelIndex& parent, int start, int end) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "rowsAboutToBeRemoved"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "const QModelIndex&" , "int" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + void* args[4] = {NULL, (void*)&parent, (void*)&start, (void*)&end}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QTableView::rowsAboutToBeRemoved(parent, start, end); +} +void PythonQtShell_QTableView::rowsInserted(const QModelIndex& parent, int start, int end) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "rowsInserted"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "const QModelIndex&" , "int" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + void* args[4] = {NULL, (void*)&parent, (void*)&start, (void*)&end}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QTableView::rowsInserted(parent, start, end); +} +void PythonQtShell_QTableView::scrollContentsBy(int dx, int dy) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "scrollContentsBy"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "int" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + void* args[3] = {NULL, (void*)&dx, (void*)&dy}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QTableView::scrollContentsBy(dx, dy); +} +void PythonQtShell_QTableView::scrollTo(const QModelIndex& index, QAbstractItemView::ScrollHint hint) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "scrollTo"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "const QModelIndex&" , "QAbstractItemView::ScrollHint"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + void* args[3] = {NULL, (void*)&index, (void*)&hint}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QTableView::scrollTo(index, hint); +} +void PythonQtShell_QTableView::selectAll() +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "selectAll"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={""}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QTableView::selectAll(); +} +QList PythonQtShell_QTableView::selectedIndexes() const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "selectedIndexes"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QList"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QList returnValue; + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("selectedIndexes", methodInfo, result); + } else { + returnValue = *((QList*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QTableView::selectedIndexes(); +} +void PythonQtShell_QTableView::selectionChanged(const QItemSelection& selected, const QItemSelection& deselected) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "selectionChanged"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "const QItemSelection&" , "const QItemSelection&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + void* args[3] = {NULL, (void*)&selected, (void*)&deselected}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QTableView::selectionChanged(selected, deselected); +} +QItemSelectionModel::SelectionFlags PythonQtShell_QTableView::selectionCommand(const QModelIndex& index, const QEvent* event) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "selectionCommand"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QItemSelectionModel::SelectionFlags" , "const QModelIndex&" , "const QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + QItemSelectionModel::SelectionFlags returnValue; + void* args[3] = {NULL, (void*)&index, (void*)&event}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("selectionCommand", methodInfo, result); + } else { + returnValue = *((QItemSelectionModel::SelectionFlags*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QTableView::selectionCommand(index, event); +} +void PythonQtShell_QTableView::setModel(QAbstractItemModel* model) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "setModel"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QAbstractItemModel*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&model}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QTableView::setModel(model); +} +void PythonQtShell_QTableView::setRootIndex(const QModelIndex& index) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "setRootIndex"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "const QModelIndex&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&index}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QTableView::setRootIndex(index); +} +void PythonQtShell_QTableView::setSelection(const QRect& rect, QItemSelectionModel::SelectionFlags command) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "setSelection"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "const QRect&" , "QItemSelectionModel::SelectionFlags"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + void* args[3] = {NULL, (void*)&rect, (void*)&command}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QTableView::setSelection(rect, command); +} +void PythonQtShell_QTableView::setSelectionModel(QItemSelectionModel* selectionModel) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "setSelectionModel"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QItemSelectionModel*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&selectionModel}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QTableView::setSelectionModel(selectionModel); +} +void PythonQtShell_QTableView::showEvent(QShowEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "showEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QShowEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QTableView::showEvent(arg__1); +} +int PythonQtShell_QTableView::sizeHintForColumn(int column) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "sizeHintForColumn"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"int" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + int returnValue; + void* args[2] = {NULL, (void*)&column}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("sizeHintForColumn", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QTableView::sizeHintForColumn(column); +} +int PythonQtShell_QTableView::sizeHintForRow(int row) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "sizeHintForRow"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"int" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + int returnValue; + void* args[2] = {NULL, (void*)&row}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("sizeHintForRow", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QTableView::sizeHintForRow(row); +} +void PythonQtShell_QTableView::startDrag(Qt::DropActions supportedActions) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "startDrag"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "Qt::DropActions"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&supportedActions}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QTableView::startDrag(supportedActions); +} +void PythonQtShell_QTableView::tabletEvent(QTabletEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "tabletEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QTabletEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QTableView::tabletEvent(arg__1); +} +void PythonQtShell_QTableView::timerEvent(QTimerEvent* event) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "timerEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QTimerEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&event}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QTableView::timerEvent(event); +} +void PythonQtShell_QTableView::updateEditorData() +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "updateEditorData"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={""}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QTableView::updateEditorData(); +} +void PythonQtShell_QTableView::updateEditorGeometries() +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "updateEditorGeometries"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={""}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QTableView::updateEditorGeometries(); +} +void PythonQtShell_QTableView::updateGeometries() +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "updateGeometries"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={""}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QTableView::updateGeometries(); +} +int PythonQtShell_QTableView::verticalOffset() const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "verticalOffset"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + int returnValue; + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("verticalOffset", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QTableView::verticalOffset(); +} +void PythonQtShell_QTableView::verticalScrollbarAction(int action) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "verticalScrollbarAction"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&action}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QTableView::verticalScrollbarAction(action); +} +void PythonQtShell_QTableView::verticalScrollbarValueChanged(int value) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "verticalScrollbarValueChanged"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&value}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QTableView::verticalScrollbarValueChanged(value); +} +QStyleOptionViewItem PythonQtShell_QTableView::viewOptions() const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "viewOptions"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QStyleOptionViewItem"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QStyleOptionViewItem returnValue; + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("viewOptions", methodInfo, result); + } else { + returnValue = *((QStyleOptionViewItem*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QTableView::viewOptions(); +} +bool PythonQtShell_QTableView::viewportEvent(QEvent* event) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "viewportEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue; + void* args[2] = {NULL, (void*)&event}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("viewportEvent", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QTableView::viewportEvent(event); +} +QRect PythonQtShell_QTableView::visualRect(const QModelIndex& index) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "visualRect"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QRect" , "const QModelIndex&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + QRect returnValue; + void* args[2] = {NULL, (void*)&index}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("visualRect", methodInfo, result); + } else { + returnValue = *((QRect*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QTableView::visualRect(index); +} +QRegion PythonQtShell_QTableView::visualRegionForSelection(const QItemSelection& selection) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "visualRegionForSelection"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QRegion" , "const QItemSelection&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + QRegion returnValue; + void* args[2] = {NULL, (void*)&selection}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("visualRegionForSelection", methodInfo, result); + } else { + returnValue = *((QRegion*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QTableView::visualRegionForSelection(selection); +} +void PythonQtShell_QTableView::wheelEvent(QWheelEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "wheelEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QWheelEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QTableView::wheelEvent(arg__1); +} +QTableView* PythonQtWrapper_QTableView::new_QTableView(QWidget* parent) +{ +return new PythonQtShell_QTableView(parent); } + +void PythonQtWrapper_QTableView::clearSpans(QTableView* theWrappedObject) +{ + ( theWrappedObject->clearSpans()); +} + +int PythonQtWrapper_QTableView::columnAt(QTableView* theWrappedObject, int x) const +{ + return ( theWrappedObject->columnAt(x)); +} + +int PythonQtWrapper_QTableView::columnSpan(QTableView* theWrappedObject, int row, int column) const +{ + return ( theWrappedObject->columnSpan(row, column)); +} + +int PythonQtWrapper_QTableView::columnViewportPosition(QTableView* theWrappedObject, int column) const +{ + return ( theWrappedObject->columnViewportPosition(column)); +} + +int PythonQtWrapper_QTableView::columnWidth(QTableView* theWrappedObject, int column) const +{ + return ( theWrappedObject->columnWidth(column)); +} + +void PythonQtWrapper_QTableView::currentChanged(QTableView* theWrappedObject, const QModelIndex& current, const QModelIndex& previous) +{ + ( ((PythonQtPublicPromoter_QTableView*)theWrappedObject)->promoted_currentChanged(current, previous)); +} + +Qt::PenStyle PythonQtWrapper_QTableView::gridStyle(QTableView* theWrappedObject) const +{ + return ( theWrappedObject->gridStyle()); +} + +QHeaderView* PythonQtWrapper_QTableView::horizontalHeader(QTableView* theWrappedObject) const +{ + return ( theWrappedObject->horizontalHeader()); +} + +int PythonQtWrapper_QTableView::horizontalOffset(QTableView* theWrappedObject) const +{ + return ( ((PythonQtPublicPromoter_QTableView*)theWrappedObject)->promoted_horizontalOffset()); +} + +void PythonQtWrapper_QTableView::horizontalScrollbarAction(QTableView* theWrappedObject, int action) +{ + ( ((PythonQtPublicPromoter_QTableView*)theWrappedObject)->promoted_horizontalScrollbarAction(action)); +} + +QModelIndex PythonQtWrapper_QTableView::indexAt(QTableView* theWrappedObject, const QPoint& p) const +{ + return ( ((PythonQtPublicPromoter_QTableView*)theWrappedObject)->promoted_indexAt(p)); +} + +bool PythonQtWrapper_QTableView::isColumnHidden(QTableView* theWrappedObject, int column) const +{ + return ( theWrappedObject->isColumnHidden(column)); +} + +bool PythonQtWrapper_QTableView::isCornerButtonEnabled(QTableView* theWrappedObject) const +{ + return ( theWrappedObject->isCornerButtonEnabled()); +} + +bool PythonQtWrapper_QTableView::isIndexHidden(QTableView* theWrappedObject, const QModelIndex& index) const +{ + return ( ((PythonQtPublicPromoter_QTableView*)theWrappedObject)->promoted_isIndexHidden(index)); +} + +bool PythonQtWrapper_QTableView::isRowHidden(QTableView* theWrappedObject, int row) const +{ + return ( theWrappedObject->isRowHidden(row)); +} + +bool PythonQtWrapper_QTableView::isSortingEnabled(QTableView* theWrappedObject) const +{ + return ( theWrappedObject->isSortingEnabled()); +} + +void PythonQtWrapper_QTableView::paintEvent(QTableView* theWrappedObject, QPaintEvent* e) +{ + ( ((PythonQtPublicPromoter_QTableView*)theWrappedObject)->promoted_paintEvent(e)); +} + +int PythonQtWrapper_QTableView::rowAt(QTableView* theWrappedObject, int y) const +{ + return ( theWrappedObject->rowAt(y)); +} + +int PythonQtWrapper_QTableView::rowHeight(QTableView* theWrappedObject, int row) const +{ + return ( theWrappedObject->rowHeight(row)); +} + +int PythonQtWrapper_QTableView::rowSpan(QTableView* theWrappedObject, int row, int column) const +{ + return ( theWrappedObject->rowSpan(row, column)); +} + +int PythonQtWrapper_QTableView::rowViewportPosition(QTableView* theWrappedObject, int row) const +{ + return ( theWrappedObject->rowViewportPosition(row)); +} + +void PythonQtWrapper_QTableView::scrollContentsBy(QTableView* theWrappedObject, int dx, int dy) +{ + ( ((PythonQtPublicPromoter_QTableView*)theWrappedObject)->promoted_scrollContentsBy(dx, dy)); +} + +void PythonQtWrapper_QTableView::scrollTo(QTableView* theWrappedObject, const QModelIndex& index, QAbstractItemView::ScrollHint hint) +{ + ( ((PythonQtPublicPromoter_QTableView*)theWrappedObject)->promoted_scrollTo(index, hint)); +} + +QList PythonQtWrapper_QTableView::selectedIndexes(QTableView* theWrappedObject) const +{ + return ( ((PythonQtPublicPromoter_QTableView*)theWrappedObject)->promoted_selectedIndexes()); +} + +void PythonQtWrapper_QTableView::selectionChanged(QTableView* theWrappedObject, const QItemSelection& selected, const QItemSelection& deselected) +{ + ( ((PythonQtPublicPromoter_QTableView*)theWrappedObject)->promoted_selectionChanged(selected, deselected)); +} + +void PythonQtWrapper_QTableView::setColumnHidden(QTableView* theWrappedObject, int column, bool hide) +{ + ( theWrappedObject->setColumnHidden(column, hide)); +} + +void PythonQtWrapper_QTableView::setColumnWidth(QTableView* theWrappedObject, int column, int width) +{ + ( theWrappedObject->setColumnWidth(column, width)); +} + +void PythonQtWrapper_QTableView::setCornerButtonEnabled(QTableView* theWrappedObject, bool enable) +{ + ( theWrappedObject->setCornerButtonEnabled(enable)); +} + +void PythonQtWrapper_QTableView::setGridStyle(QTableView* theWrappedObject, Qt::PenStyle style) +{ + ( theWrappedObject->setGridStyle(style)); +} + +void PythonQtWrapper_QTableView::setHorizontalHeader(QTableView* theWrappedObject, QHeaderView* header) +{ + ( theWrappedObject->setHorizontalHeader(header)); +} + +void PythonQtWrapper_QTableView::setModel(QTableView* theWrappedObject, QAbstractItemModel* model) +{ + ( ((PythonQtPublicPromoter_QTableView*)theWrappedObject)->promoted_setModel(model)); +} + +void PythonQtWrapper_QTableView::setRootIndex(QTableView* theWrappedObject, const QModelIndex& index) +{ + ( ((PythonQtPublicPromoter_QTableView*)theWrappedObject)->promoted_setRootIndex(index)); +} + +void PythonQtWrapper_QTableView::setRowHeight(QTableView* theWrappedObject, int row, int height) +{ + ( theWrappedObject->setRowHeight(row, height)); +} + +void PythonQtWrapper_QTableView::setRowHidden(QTableView* theWrappedObject, int row, bool hide) +{ + ( theWrappedObject->setRowHidden(row, hide)); +} + +void PythonQtWrapper_QTableView::setSelection(QTableView* theWrappedObject, const QRect& rect, QItemSelectionModel::SelectionFlags command) +{ + ( ((PythonQtPublicPromoter_QTableView*)theWrappedObject)->promoted_setSelection(rect, command)); +} + +void PythonQtWrapper_QTableView::setSelectionModel(QTableView* theWrappedObject, QItemSelectionModel* selectionModel) +{ + ( ((PythonQtPublicPromoter_QTableView*)theWrappedObject)->promoted_setSelectionModel(selectionModel)); +} + +void PythonQtWrapper_QTableView::setSortingEnabled(QTableView* theWrappedObject, bool enable) +{ + ( theWrappedObject->setSortingEnabled(enable)); +} + +void PythonQtWrapper_QTableView::setSpan(QTableView* theWrappedObject, int row, int column, int rowSpan, int columnSpan) +{ + ( theWrappedObject->setSpan(row, column, rowSpan, columnSpan)); +} + +void PythonQtWrapper_QTableView::setVerticalHeader(QTableView* theWrappedObject, QHeaderView* header) +{ + ( theWrappedObject->setVerticalHeader(header)); +} + +void PythonQtWrapper_QTableView::setWordWrap(QTableView* theWrappedObject, bool on) +{ + ( theWrappedObject->setWordWrap(on)); +} + +bool PythonQtWrapper_QTableView::showGrid(QTableView* theWrappedObject) const +{ + return ( theWrappedObject->showGrid()); +} + +int PythonQtWrapper_QTableView::sizeHintForColumn(QTableView* theWrappedObject, int column) const +{ + return ( ((PythonQtPublicPromoter_QTableView*)theWrappedObject)->promoted_sizeHintForColumn(column)); +} + +int PythonQtWrapper_QTableView::sizeHintForRow(QTableView* theWrappedObject, int row) const +{ + return ( ((PythonQtPublicPromoter_QTableView*)theWrappedObject)->promoted_sizeHintForRow(row)); +} + +void PythonQtWrapper_QTableView::sortByColumn(QTableView* theWrappedObject, int column, Qt::SortOrder order) +{ + ( theWrappedObject->sortByColumn(column, order)); +} + +void PythonQtWrapper_QTableView::timerEvent(QTableView* theWrappedObject, QTimerEvent* event) +{ + ( ((PythonQtPublicPromoter_QTableView*)theWrappedObject)->promoted_timerEvent(event)); +} + +void PythonQtWrapper_QTableView::updateGeometries(QTableView* theWrappedObject) +{ + ( ((PythonQtPublicPromoter_QTableView*)theWrappedObject)->promoted_updateGeometries()); +} + +QHeaderView* PythonQtWrapper_QTableView::verticalHeader(QTableView* theWrappedObject) const +{ + return ( theWrappedObject->verticalHeader()); +} + +int PythonQtWrapper_QTableView::verticalOffset(QTableView* theWrappedObject) const +{ + return ( ((PythonQtPublicPromoter_QTableView*)theWrappedObject)->promoted_verticalOffset()); +} + +void PythonQtWrapper_QTableView::verticalScrollbarAction(QTableView* theWrappedObject, int action) +{ + ( ((PythonQtPublicPromoter_QTableView*)theWrappedObject)->promoted_verticalScrollbarAction(action)); +} + +QStyleOptionViewItem PythonQtWrapper_QTableView::viewOptions(QTableView* theWrappedObject) const +{ + return ( ((PythonQtPublicPromoter_QTableView*)theWrappedObject)->promoted_viewOptions()); +} + +QRect PythonQtWrapper_QTableView::visualRect(QTableView* theWrappedObject, const QModelIndex& index) const +{ + return ( ((PythonQtPublicPromoter_QTableView*)theWrappedObject)->promoted_visualRect(index)); +} + +QRegion PythonQtWrapper_QTableView::visualRegionForSelection(QTableView* theWrappedObject, const QItemSelection& selection) const +{ + return ( ((PythonQtPublicPromoter_QTableView*)theWrappedObject)->promoted_visualRegionForSelection(selection)); +} + +bool PythonQtWrapper_QTableView::wordWrap(QTableView* theWrappedObject) const +{ + return ( theWrappedObject->wordWrap()); +} + + + +void PythonQtShell_QTableWidget::actionEvent(QActionEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "actionEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QActionEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QTableWidget::actionEvent(arg__1); +} +void PythonQtShell_QTableWidget::changeEvent(QEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "changeEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QTableWidget::changeEvent(arg__1); +} +void PythonQtShell_QTableWidget::childEvent(QChildEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "childEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QChildEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QTableWidget::childEvent(arg__1); +} +void PythonQtShell_QTableWidget::closeEditor(QWidget* editor, QAbstractItemDelegate::EndEditHint hint) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "closeEditor"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QWidget*" , "QAbstractItemDelegate::EndEditHint"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + void* args[3] = {NULL, (void*)&editor, (void*)&hint}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QTableWidget::closeEditor(editor, hint); +} +void PythonQtShell_QTableWidget::closeEvent(QCloseEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "closeEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QCloseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QTableWidget::closeEvent(arg__1); +} +void PythonQtShell_QTableWidget::commitData(QWidget* editor) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "commitData"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QWidget*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&editor}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QTableWidget::commitData(editor); +} +void PythonQtShell_QTableWidget::contextMenuEvent(QContextMenuEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "contextMenuEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QContextMenuEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QTableWidget::contextMenuEvent(arg__1); +} +void PythonQtShell_QTableWidget::currentChanged(const QModelIndex& current, const QModelIndex& previous) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "currentChanged"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "const QModelIndex&" , "const QModelIndex&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + void* args[3] = {NULL, (void*)¤t, (void*)&previous}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QTableWidget::currentChanged(current, previous); +} +void PythonQtShell_QTableWidget::customEvent(QEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "customEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QTableWidget::customEvent(arg__1); +} +void PythonQtShell_QTableWidget::dataChanged(const QModelIndex& topLeft, const QModelIndex& bottomRight) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dataChanged"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "const QModelIndex&" , "const QModelIndex&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + void* args[3] = {NULL, (void*)&topLeft, (void*)&bottomRight}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QTableWidget::dataChanged(topLeft, bottomRight); +} +int PythonQtShell_QTableWidget::devType() const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "devType"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + int returnValue; + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("devType", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QTableWidget::devType(); +} +void PythonQtShell_QTableWidget::doItemsLayout() +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "doItemsLayout"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={""}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QTableWidget::doItemsLayout(); +} +void PythonQtShell_QTableWidget::dragEnterEvent(QDragEnterEvent* event) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dragEnterEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QDragEnterEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&event}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QTableWidget::dragEnterEvent(event); +} +void PythonQtShell_QTableWidget::dragLeaveEvent(QDragLeaveEvent* event) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dragLeaveEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QDragLeaveEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&event}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QTableWidget::dragLeaveEvent(event); +} +void PythonQtShell_QTableWidget::dragMoveEvent(QDragMoveEvent* event) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dragMoveEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QDragMoveEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&event}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QTableWidget::dragMoveEvent(event); +} +void PythonQtShell_QTableWidget::dropEvent(QDropEvent* event) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dropEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QDropEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&event}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QTableWidget::dropEvent(event); +} +bool PythonQtShell_QTableWidget::dropMimeData(int row, int column, const QMimeData* data, Qt::DropAction action) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dropMimeData"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "int" , "int" , "const QMimeData*" , "Qt::DropAction"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(5, argumentList); + bool returnValue; + void* args[5] = {NULL, (void*)&row, (void*)&column, (void*)&data, (void*)&action}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("dropMimeData", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QTableWidget::dropMimeData(row, column, data, action); +} +bool PythonQtShell_QTableWidget::edit(const QModelIndex& index, QAbstractItemView::EditTrigger trigger, QEvent* event) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "edit"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "const QModelIndex&" , "QAbstractItemView::EditTrigger" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + bool returnValue; + void* args[4] = {NULL, (void*)&index, (void*)&trigger, (void*)&event}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("edit", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QTableWidget::edit(index, trigger, event); +} +void PythonQtShell_QTableWidget::editorDestroyed(QObject* editor) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "editorDestroyed"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QObject*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&editor}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QTableWidget::editorDestroyed(editor); +} +void PythonQtShell_QTableWidget::enterEvent(QEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "enterEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QTableWidget::enterEvent(arg__1); +} +bool PythonQtShell_QTableWidget::event(QEvent* e) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "event"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue; + void* args[2] = {NULL, (void*)&e}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QTableWidget::event(e); +} +bool PythonQtShell_QTableWidget::eventFilter(QObject* arg__1, QEvent* arg__2) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "eventFilter"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue; + void* args[3] = {NULL, (void*)&arg__1, (void*)&arg__2}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QTableWidget::eventFilter(arg__1, arg__2); +} +void PythonQtShell_QTableWidget::focusInEvent(QFocusEvent* event) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "focusInEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QFocusEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&event}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QTableWidget::focusInEvent(event); +} +bool PythonQtShell_QTableWidget::focusNextPrevChild(bool next) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "focusNextPrevChild"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue; + void* args[2] = {NULL, (void*)&next}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("focusNextPrevChild", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QTableWidget::focusNextPrevChild(next); +} +void PythonQtShell_QTableWidget::focusOutEvent(QFocusEvent* event) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "focusOutEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QFocusEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&event}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QTableWidget::focusOutEvent(event); +} +int PythonQtShell_QTableWidget::heightForWidth(int arg__1) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "heightForWidth"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"int" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + int returnValue; + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("heightForWidth", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QTableWidget::heightForWidth(arg__1); +} +void PythonQtShell_QTableWidget::hideEvent(QHideEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "hideEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QHideEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QTableWidget::hideEvent(arg__1); +} +int PythonQtShell_QTableWidget::horizontalOffset() const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "horizontalOffset"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + int returnValue; + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("horizontalOffset", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QTableWidget::horizontalOffset(); +} +void PythonQtShell_QTableWidget::horizontalScrollbarAction(int action) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "horizontalScrollbarAction"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&action}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QTableWidget::horizontalScrollbarAction(action); +} +void PythonQtShell_QTableWidget::horizontalScrollbarValueChanged(int value) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "horizontalScrollbarValueChanged"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&value}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QTableWidget::horizontalScrollbarValueChanged(value); +} +QModelIndex PythonQtShell_QTableWidget::indexAt(const QPoint& p) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "indexAt"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QModelIndex" , "const QPoint&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + QModelIndex returnValue; + void* args[2] = {NULL, (void*)&p}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("indexAt", methodInfo, result); + } else { + returnValue = *((QModelIndex*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QTableWidget::indexAt(p); +} +void PythonQtShell_QTableWidget::inputMethodEvent(QInputMethodEvent* event) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "inputMethodEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QInputMethodEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&event}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QTableWidget::inputMethodEvent(event); +} +QVariant PythonQtShell_QTableWidget::inputMethodQuery(Qt::InputMethodQuery query) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "inputMethodQuery"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QVariant" , "Qt::InputMethodQuery"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + QVariant returnValue; + void* args[2] = {NULL, (void*)&query}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result); + } else { + returnValue = *((QVariant*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QTableWidget::inputMethodQuery(query); +} +bool PythonQtShell_QTableWidget::isIndexHidden(const QModelIndex& index) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "isIndexHidden"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "const QModelIndex&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue; + void* args[2] = {NULL, (void*)&index}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("isIndexHidden", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QTableWidget::isIndexHidden(index); +} +void PythonQtShell_QTableWidget::keyPressEvent(QKeyEvent* event) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "keyPressEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QKeyEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&event}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QTableWidget::keyPressEvent(event); +} +void PythonQtShell_QTableWidget::keyReleaseEvent(QKeyEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "keyReleaseEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QKeyEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QTableWidget::keyReleaseEvent(arg__1); +} +void PythonQtShell_QTableWidget::keyboardSearch(const QString& search) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "keyboardSearch"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "const QString&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&search}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QTableWidget::keyboardSearch(search); +} +void PythonQtShell_QTableWidget::languageChange() +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "languageChange"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={""}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QTableWidget::languageChange(); +} +void PythonQtShell_QTableWidget::leaveEvent(QEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "leaveEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QTableWidget::leaveEvent(arg__1); +} +int PythonQtShell_QTableWidget::metric(QPaintDevice::PaintDeviceMetric arg__1) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "metric"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + int returnValue; + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("metric", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QTableWidget::metric(arg__1); +} +QMimeData* PythonQtShell_QTableWidget::mimeData(const QList items) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mimeData"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QMimeData*" , "const QList"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + QMimeData* returnValue; + void* args[2] = {NULL, (void*)&items}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("mimeData", methodInfo, result); + } else { + returnValue = *((QMimeData**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QTableWidget::mimeData(items); +} +QStringList PythonQtShell_QTableWidget::mimeTypes() const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mimeTypes"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QStringList"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QStringList returnValue; + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("mimeTypes", methodInfo, result); + } else { + returnValue = *((QStringList*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QTableWidget::mimeTypes(); +} +void PythonQtShell_QTableWidget::mouseDoubleClickEvent(QMouseEvent* event) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mouseDoubleClickEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&event}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QTableWidget::mouseDoubleClickEvent(event); +} +void PythonQtShell_QTableWidget::mouseMoveEvent(QMouseEvent* event) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mouseMoveEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&event}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QTableWidget::mouseMoveEvent(event); +} +void PythonQtShell_QTableWidget::mousePressEvent(QMouseEvent* event) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mousePressEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&event}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QTableWidget::mousePressEvent(event); +} +void PythonQtShell_QTableWidget::mouseReleaseEvent(QMouseEvent* event) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mouseReleaseEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&event}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QTableWidget::mouseReleaseEvent(event); +} +void PythonQtShell_QTableWidget::moveEvent(QMoveEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "moveEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QMoveEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QTableWidget::moveEvent(arg__1); +} +QPaintEngine* PythonQtShell_QTableWidget::paintEngine() const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "paintEngine"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QPaintEngine*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QPaintEngine* returnValue; + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); + } else { + returnValue = *((QPaintEngine**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QTableWidget::paintEngine(); +} +void PythonQtShell_QTableWidget::paintEvent(QPaintEvent* e) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "paintEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QPaintEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&e}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QTableWidget::paintEvent(e); +} +void PythonQtShell_QTableWidget::reset() +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "reset"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={""}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QTableWidget::reset(); +} +void PythonQtShell_QTableWidget::resizeEvent(QResizeEvent* event) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "resizeEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QResizeEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&event}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QTableWidget::resizeEvent(event); +} +void PythonQtShell_QTableWidget::rowsAboutToBeRemoved(const QModelIndex& parent, int start, int end) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "rowsAboutToBeRemoved"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "const QModelIndex&" , "int" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + void* args[4] = {NULL, (void*)&parent, (void*)&start, (void*)&end}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QTableWidget::rowsAboutToBeRemoved(parent, start, end); +} +void PythonQtShell_QTableWidget::rowsInserted(const QModelIndex& parent, int start, int end) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "rowsInserted"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "const QModelIndex&" , "int" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + void* args[4] = {NULL, (void*)&parent, (void*)&start, (void*)&end}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QTableWidget::rowsInserted(parent, start, end); +} +void PythonQtShell_QTableWidget::scrollContentsBy(int dx, int dy) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "scrollContentsBy"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "int" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + void* args[3] = {NULL, (void*)&dx, (void*)&dy}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QTableWidget::scrollContentsBy(dx, dy); +} +void PythonQtShell_QTableWidget::scrollTo(const QModelIndex& index, QAbstractItemView::ScrollHint hint) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "scrollTo"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "const QModelIndex&" , "QAbstractItemView::ScrollHint"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + void* args[3] = {NULL, (void*)&index, (void*)&hint}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QTableWidget::scrollTo(index, hint); +} +void PythonQtShell_QTableWidget::selectAll() +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "selectAll"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={""}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QTableWidget::selectAll(); +} +QList PythonQtShell_QTableWidget::selectedIndexes() const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "selectedIndexes"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QList"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QList returnValue; + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("selectedIndexes", methodInfo, result); + } else { + returnValue = *((QList*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QTableWidget::selectedIndexes(); +} +void PythonQtShell_QTableWidget::selectionChanged(const QItemSelection& selected, const QItemSelection& deselected) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "selectionChanged"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "const QItemSelection&" , "const QItemSelection&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + void* args[3] = {NULL, (void*)&selected, (void*)&deselected}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QTableWidget::selectionChanged(selected, deselected); +} +QItemSelectionModel::SelectionFlags PythonQtShell_QTableWidget::selectionCommand(const QModelIndex& index, const QEvent* event) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "selectionCommand"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QItemSelectionModel::SelectionFlags" , "const QModelIndex&" , "const QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + QItemSelectionModel::SelectionFlags returnValue; + void* args[3] = {NULL, (void*)&index, (void*)&event}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("selectionCommand", methodInfo, result); + } else { + returnValue = *((QItemSelectionModel::SelectionFlags*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QTableWidget::selectionCommand(index, event); +} +void PythonQtShell_QTableWidget::setRootIndex(const QModelIndex& index) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "setRootIndex"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "const QModelIndex&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&index}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QTableWidget::setRootIndex(index); +} +void PythonQtShell_QTableWidget::setSelection(const QRect& rect, QItemSelectionModel::SelectionFlags command) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "setSelection"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "const QRect&" , "QItemSelectionModel::SelectionFlags"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + void* args[3] = {NULL, (void*)&rect, (void*)&command}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QTableWidget::setSelection(rect, command); +} +void PythonQtShell_QTableWidget::setSelectionModel(QItemSelectionModel* selectionModel) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "setSelectionModel"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QItemSelectionModel*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&selectionModel}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QTableWidget::setSelectionModel(selectionModel); +} +void PythonQtShell_QTableWidget::showEvent(QShowEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "showEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QShowEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QTableWidget::showEvent(arg__1); +} +int PythonQtShell_QTableWidget::sizeHintForColumn(int column) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "sizeHintForColumn"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"int" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + int returnValue; + void* args[2] = {NULL, (void*)&column}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("sizeHintForColumn", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QTableWidget::sizeHintForColumn(column); +} +int PythonQtShell_QTableWidget::sizeHintForRow(int row) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "sizeHintForRow"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"int" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + int returnValue; + void* args[2] = {NULL, (void*)&row}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("sizeHintForRow", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QTableWidget::sizeHintForRow(row); +} +void PythonQtShell_QTableWidget::startDrag(Qt::DropActions supportedActions) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "startDrag"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "Qt::DropActions"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&supportedActions}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QTableWidget::startDrag(supportedActions); +} +Qt::DropActions PythonQtShell_QTableWidget::supportedDropActions() const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "supportedDropActions"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"Qt::DropActions"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + Qt::DropActions returnValue; + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("supportedDropActions", methodInfo, result); + } else { + returnValue = *((Qt::DropActions*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QTableWidget::supportedDropActions(); +} +void PythonQtShell_QTableWidget::tabletEvent(QTabletEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "tabletEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QTabletEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QTableWidget::tabletEvent(arg__1); +} +void PythonQtShell_QTableWidget::timerEvent(QTimerEvent* event) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "timerEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QTimerEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&event}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QTableWidget::timerEvent(event); +} +void PythonQtShell_QTableWidget::updateEditorData() +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "updateEditorData"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={""}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QTableWidget::updateEditorData(); +} +void PythonQtShell_QTableWidget::updateEditorGeometries() +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "updateEditorGeometries"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={""}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QTableWidget::updateEditorGeometries(); +} +void PythonQtShell_QTableWidget::updateGeometries() +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "updateGeometries"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={""}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QTableWidget::updateGeometries(); +} +int PythonQtShell_QTableWidget::verticalOffset() const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "verticalOffset"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + int returnValue; + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("verticalOffset", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QTableWidget::verticalOffset(); +} +void PythonQtShell_QTableWidget::verticalScrollbarAction(int action) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "verticalScrollbarAction"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&action}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QTableWidget::verticalScrollbarAction(action); +} +void PythonQtShell_QTableWidget::verticalScrollbarValueChanged(int value) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "verticalScrollbarValueChanged"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&value}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QTableWidget::verticalScrollbarValueChanged(value); +} +QStyleOptionViewItem PythonQtShell_QTableWidget::viewOptions() const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "viewOptions"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QStyleOptionViewItem"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QStyleOptionViewItem returnValue; + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("viewOptions", methodInfo, result); + } else { + returnValue = *((QStyleOptionViewItem*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QTableWidget::viewOptions(); +} +bool PythonQtShell_QTableWidget::viewportEvent(QEvent* event) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "viewportEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue; + void* args[2] = {NULL, (void*)&event}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("viewportEvent", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QTableWidget::viewportEvent(event); +} +QRect PythonQtShell_QTableWidget::visualRect(const QModelIndex& index) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "visualRect"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QRect" , "const QModelIndex&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + QRect returnValue; + void* args[2] = {NULL, (void*)&index}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("visualRect", methodInfo, result); + } else { + returnValue = *((QRect*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QTableWidget::visualRect(index); +} +QRegion PythonQtShell_QTableWidget::visualRegionForSelection(const QItemSelection& selection) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "visualRegionForSelection"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QRegion" , "const QItemSelection&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + QRegion returnValue; + void* args[2] = {NULL, (void*)&selection}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("visualRegionForSelection", methodInfo, result); + } else { + returnValue = *((QRegion*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QTableWidget::visualRegionForSelection(selection); +} +void PythonQtShell_QTableWidget::wheelEvent(QWheelEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "wheelEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QWheelEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QTableWidget::wheelEvent(arg__1); +} +QTableWidget* PythonQtWrapper_QTableWidget::new_QTableWidget(QWidget* parent) +{ +return new PythonQtShell_QTableWidget(parent); } + +QTableWidget* PythonQtWrapper_QTableWidget::new_QTableWidget(int rows, int columns, QWidget* parent) +{ +return new PythonQtShell_QTableWidget(rows, columns, parent); } + +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()); +} + +void PythonQtWrapper_QTableWidget::dropEvent(QTableWidget* theWrappedObject, QDropEvent* event) +{ + ( ((PythonQtPublicPromoter_QTableWidget*)theWrappedObject)->promoted_dropEvent(event)); +} + +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)); +} + +bool PythonQtWrapper_QTableWidget::event(QTableWidget* theWrappedObject, QEvent* e) +{ + return ( ((PythonQtPublicPromoter_QTableWidget*)theWrappedObject)->promoted_event(e)); +} + +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)); +} + +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)); +} + +const QTableWidgetItem* PythonQtWrapper_QTableWidget::itemPrototype(QTableWidget* theWrappedObject) const +{ + return ( theWrappedObject->itemPrototype()); +} + +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) +{ + return ( theWrappedObject->selectedItems()); +} + +QList PythonQtWrapper_QTableWidget::selectedRanges(QTableWidget* theWrappedObject) const +{ + return ( theWrappedObject->selectedRanges()); +} + +void PythonQtWrapper_QTableWidget::setCellWidget(QTableWidget* theWrappedObject, int row, int column, QWidget* 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, QTableWidgetItem* 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, QTableWidgetItem* item) +{ + ( theWrappedObject->setItem(row, column, item)); +} + +void PythonQtWrapper_QTableWidget::setItemPrototype(QTableWidget* theWrappedObject, const QTableWidgetItem* 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, QTableWidgetItem* 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()); +} + +QTableWidgetItem* PythonQtWrapper_QTableWidget::takeHorizontalHeaderItem(QTableWidget* theWrappedObject, int column) +{ + return ( theWrappedObject->takeHorizontalHeaderItem(column)); +} + +QTableWidgetItem* PythonQtWrapper_QTableWidget::takeItem(QTableWidget* theWrappedObject, int row, int column) +{ + return ( theWrappedObject->takeItem(row, column)); +} + +QTableWidgetItem* 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)); +} + + + +QTableWidgetItem* PythonQtShell_QTableWidgetItem::clone() const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "clone"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QTableWidgetItem*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QTableWidgetItem* returnValue; + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("clone", methodInfo, result); + } else { + returnValue = *((QTableWidgetItem**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QTableWidgetItem::clone(); +} +QVariant PythonQtShell_QTableWidgetItem::data(int role) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "data"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QVariant" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + QVariant returnValue; + void* args[2] = {NULL, (void*)&role}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("data", methodInfo, result); + } else { + returnValue = *((QVariant*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QTableWidgetItem::data(role); +} +bool PythonQtShell_QTableWidgetItem::__lt__(const QTableWidgetItem& other) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "__lt__"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "const QTableWidgetItem&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue; + void* args[2] = {NULL, (void*)&other}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("__lt__", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QTableWidgetItem::operator<(other); +} +void PythonQtShell_QTableWidgetItem::read(QDataStream& in) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "read"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QDataStream&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&in}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QTableWidgetItem::read(in); +} +void PythonQtShell_QTableWidgetItem::setData(int role, const QVariant& value) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "setData"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "int" , "const QVariant&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + void* args[3] = {NULL, (void*)&role, (void*)&value}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QTableWidgetItem::setData(role, value); +} +void PythonQtShell_QTableWidgetItem::write(QDataStream& out) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "write"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QDataStream&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&out}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QTableWidgetItem::write(out); +} +QTableWidgetItem* PythonQtWrapper_QTableWidgetItem::new_QTableWidgetItem(const QIcon& icon, const QString& text, int type) +{ +return new PythonQtShell_QTableWidgetItem(icon, text, type); } + +QTableWidgetItem* PythonQtWrapper_QTableWidgetItem::new_QTableWidgetItem(const QString& text, int type) +{ +return new PythonQtShell_QTableWidgetItem(text, type); } + +QTableWidgetItem* PythonQtWrapper_QTableWidgetItem::new_QTableWidgetItem(int type) +{ +return new PythonQtShell_QTableWidgetItem(type); } + +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 ( ((PythonQtPublicPromoter_QTableWidgetItem*)theWrappedObject)->promoted_clone()); +} + +int PythonQtWrapper_QTableWidgetItem::column(QTableWidgetItem* theWrappedObject) const +{ + return ( theWrappedObject->column()); +} + +QVariant PythonQtWrapper_QTableWidgetItem::data(QTableWidgetItem* theWrappedObject, int role) const +{ + return ( ((PythonQtPublicPromoter_QTableWidgetItem*)theWrappedObject)->promoted_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); +} + +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) +{ + ( ((PythonQtPublicPromoter_QTableWidgetItem*)theWrappedObject)->promoted_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()); +} + + + +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()); +} + +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()); +} + + + +QTabletEvent* PythonQtWrapper_QTabletEvent::new_QTabletEvent(QEvent::Type t, const QPoint& pos, const QPoint& globalPos, const QPointF& hiResGlobalPos, int device, int pointerType, qreal pressure, int xTilt, int yTilt, qreal tangentialPressure, qreal rotation, int z, Qt::KeyboardModifiers keyState, qint64 uniqueID) +{ +return new PythonQtShell_QTabletEvent(t, pos, globalPos, hiResGlobalPos, device, pointerType, pressure, xTilt, yTilt, tangentialPressure, rotation, z, keyState, uniqueID); } + +QTabletEvent::TabletDevice PythonQtWrapper_QTabletEvent::device(QTabletEvent* theWrappedObject) const +{ + return ( theWrappedObject->device()); +} + +const QPoint* PythonQtWrapper_QTabletEvent::globalPos(QTabletEvent* theWrappedObject) const +{ + return &( theWrappedObject->globalPos()); +} + +int PythonQtWrapper_QTabletEvent::globalX(QTabletEvent* theWrappedObject) const +{ + return ( theWrappedObject->globalX()); +} + +int PythonQtWrapper_QTabletEvent::globalY(QTabletEvent* theWrappedObject) const +{ + return ( theWrappedObject->globalY()); +} + +const QPointF* PythonQtWrapper_QTabletEvent::hiResGlobalPos(QTabletEvent* theWrappedObject) const +{ + return &( theWrappedObject->hiResGlobalPos()); +} + +qreal PythonQtWrapper_QTabletEvent::hiResGlobalX(QTabletEvent* theWrappedObject) const +{ + return ( theWrappedObject->hiResGlobalX()); +} + +qreal PythonQtWrapper_QTabletEvent::hiResGlobalY(QTabletEvent* theWrappedObject) const +{ + return ( theWrappedObject->hiResGlobalY()); +} + +QTabletEvent::PointerType PythonQtWrapper_QTabletEvent::pointerType(QTabletEvent* theWrappedObject) const +{ + return ( theWrappedObject->pointerType()); +} + +const QPoint* PythonQtWrapper_QTabletEvent::pos(QTabletEvent* theWrappedObject) const +{ + return &( theWrappedObject->pos()); +} + +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()); +} + + + +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()); +} + +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()); +} + + + +QTextBlockFormat* PythonQtWrapper_QTextBlockFormat::new_QTextBlockFormat() +{ +return new PythonQtShell_QTextBlockFormat(); } + +Qt::Alignment PythonQtWrapper_QTextBlockFormat::alignment(QTextBlockFormat* theWrappedObject) const +{ + return ( theWrappedObject->alignment()); +} + +qreal PythonQtWrapper_QTextBlockFormat::bottomMargin(QTextBlockFormat* theWrappedObject) const +{ + return ( theWrappedObject->bottomMargin()); +} + +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()); +} + +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::setIndent(QTextBlockFormat* theWrappedObject, int indent) +{ + ( theWrappedObject->setIndent(indent)); +} + +void PythonQtWrapper_QTextBlockFormat::setLeftMargin(QTextBlockFormat* theWrappedObject, qreal margin) +{ + ( theWrappedObject->setLeftMargin(margin)); +} + +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()); +} + + diff --git a/generated_cpp_47/com_trolltech_qt_gui/com_trolltech_qt_gui8.h b/generated_cpp_47/com_trolltech_qt_gui/com_trolltech_qt_gui8.h new file mode 100644 index 00000000..8a7ba518 --- /dev/null +++ b/generated_cpp_47/com_trolltech_qt_gui/com_trolltech_qt_gui8.h @@ -0,0 +1,1723 @@ +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#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_QStyleOptionTab : public QStyleOptionTab +{ +public: + PythonQtShell_QStyleOptionTab():QStyleOptionTab(),_wrapper(NULL) {}; + PythonQtShell_QStyleOptionTab(const QStyleOptionTab& other):QStyleOptionTab(other),_wrapper(NULL) {}; + PythonQtShell_QStyleOptionTab(int version):QStyleOptionTab(version),_wrapper(NULL) {}; + + + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtWrapper_QStyleOptionTab : public QObject +{ Q_OBJECT +public: +Q_ENUMS(StyleOptionVersion CornerWidget TabPosition SelectedPosition StyleOptionType ) +Q_FLAGS(CornerWidgets ) +enum StyleOptionVersion{ + Version = QStyleOptionTab::Version}; +enum CornerWidget{ + NoCornerWidgets = QStyleOptionTab::NoCornerWidgets, LeftCornerWidget = QStyleOptionTab::LeftCornerWidget, RightCornerWidget = QStyleOptionTab::RightCornerWidget}; +enum TabPosition{ + Beginning = QStyleOptionTab::Beginning, Middle = QStyleOptionTab::Middle, End = QStyleOptionTab::End, OnlyOneTab = QStyleOptionTab::OnlyOneTab}; +enum SelectedPosition{ + NotAdjacent = QStyleOptionTab::NotAdjacent, NextIsSelected = QStyleOptionTab::NextIsSelected, PreviousIsSelected = QStyleOptionTab::PreviousIsSelected}; +enum StyleOptionType{ + Type = QStyleOptionTab::Type}; +Q_DECLARE_FLAGS(CornerWidgets, CornerWidget) +public slots: +QStyleOptionTab* new_QStyleOptionTab(); +QStyleOptionTab* new_QStyleOptionTab(const QStyleOptionTab& other); +void delete_QStyleOptionTab(QStyleOptionTab* obj) { delete obj; } +void py_set_row(QStyleOptionTab* theWrappedObject, int row){ theWrappedObject->row = row; } +int py_get_row(QStyleOptionTab* theWrappedObject){ return theWrappedObject->row; } +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_position(QStyleOptionTab* theWrappedObject, QStyleOptionTab::TabPosition position){ theWrappedObject->position = position; } +QStyleOptionTab::TabPosition py_get_position(QStyleOptionTab* theWrappedObject){ return theWrappedObject->position; } +void py_set_icon(QStyleOptionTab* theWrappedObject, QIcon icon){ theWrappedObject->icon = icon; } +QIcon py_get_icon(QStyleOptionTab* theWrappedObject){ return theWrappedObject->icon; } +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; } +void py_set_selectedPosition(QStyleOptionTab* theWrappedObject, QStyleOptionTab::SelectedPosition selectedPosition){ theWrappedObject->selectedPosition = selectedPosition; } +QStyleOptionTab::SelectedPosition py_get_selectedPosition(QStyleOptionTab* theWrappedObject){ return theWrappedObject->selectedPosition; } +}; + + + + + +class PythonQtShell_QStyleOptionTabBarBase : public QStyleOptionTabBarBase +{ +public: + PythonQtShell_QStyleOptionTabBarBase():QStyleOptionTabBarBase(),_wrapper(NULL) {}; + PythonQtShell_QStyleOptionTabBarBase(const QStyleOptionTabBarBase& other):QStyleOptionTabBarBase(other),_wrapper(NULL) {}; + PythonQtShell_QStyleOptionTabBarBase(int version):QStyleOptionTabBarBase(version),_wrapper(NULL) {}; + + + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtWrapper_QStyleOptionTabBarBase : public QObject +{ Q_OBJECT +public: +Q_ENUMS(StyleOptionVersion StyleOptionType ) +enum StyleOptionVersion{ + Version = QStyleOptionTabBarBase::Version}; +enum StyleOptionType{ + Type = QStyleOptionTabBarBase::Type}; +public slots: +QStyleOptionTabBarBase* new_QStyleOptionTabBarBase(); +QStyleOptionTabBarBase* new_QStyleOptionTabBarBase(const QStyleOptionTabBarBase& other); +void delete_QStyleOptionTabBarBase(QStyleOptionTabBarBase* obj) { delete obj; } +void py_set_selectedTabRect(QStyleOptionTabBarBase* theWrappedObject, QRect selectedTabRect){ theWrappedObject->selectedTabRect = selectedTabRect; } +QRect py_get_selectedTabRect(QStyleOptionTabBarBase* theWrappedObject){ return theWrappedObject->selectedTabRect; } +void py_set_shape(QStyleOptionTabBarBase* theWrappedObject, QTabBar::Shape shape){ theWrappedObject->shape = shape; } +QTabBar::Shape py_get_shape(QStyleOptionTabBarBase* theWrappedObject){ return theWrappedObject->shape; } +void py_set_tabBarRect(QStyleOptionTabBarBase* theWrappedObject, QRect tabBarRect){ theWrappedObject->tabBarRect = tabBarRect; } +QRect py_get_tabBarRect(QStyleOptionTabBarBase* theWrappedObject){ return theWrappedObject->tabBarRect; } +}; + + + + + +class PythonQtShell_QStyleOptionTabBarBaseV2 : public QStyleOptionTabBarBaseV2 +{ +public: + PythonQtShell_QStyleOptionTabBarBaseV2():QStyleOptionTabBarBaseV2(),_wrapper(NULL) {}; + PythonQtShell_QStyleOptionTabBarBaseV2(const QStyleOptionTabBarBase& other):QStyleOptionTabBarBaseV2(other),_wrapper(NULL) {}; + PythonQtShell_QStyleOptionTabBarBaseV2(const QStyleOptionTabBarBaseV2& other):QStyleOptionTabBarBaseV2(other),_wrapper(NULL) {}; + PythonQtShell_QStyleOptionTabBarBaseV2(int version):QStyleOptionTabBarBaseV2(version),_wrapper(NULL) {}; + + + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtWrapper_QStyleOptionTabBarBaseV2 : public QObject +{ Q_OBJECT +public: +Q_ENUMS(StyleOptionVersion ) +enum StyleOptionVersion{ + Version = QStyleOptionTabBarBaseV2::Version}; +public slots: +QStyleOptionTabBarBaseV2* new_QStyleOptionTabBarBaseV2(); +QStyleOptionTabBarBaseV2* new_QStyleOptionTabBarBaseV2(const QStyleOptionTabBarBase& other); +QStyleOptionTabBarBaseV2* new_QStyleOptionTabBarBaseV2(const QStyleOptionTabBarBaseV2& other); +void delete_QStyleOptionTabBarBaseV2(QStyleOptionTabBarBaseV2* obj) { delete obj; } +void py_set_documentMode(QStyleOptionTabBarBaseV2* theWrappedObject, bool documentMode){ theWrappedObject->documentMode = documentMode; } +bool py_get_documentMode(QStyleOptionTabBarBaseV2* theWrappedObject){ return theWrappedObject->documentMode; } +}; + + + + + +class PythonQtShell_QStyleOptionTabV2 : public QStyleOptionTabV2 +{ +public: + PythonQtShell_QStyleOptionTabV2():QStyleOptionTabV2(),_wrapper(NULL) {}; + PythonQtShell_QStyleOptionTabV2(const QStyleOptionTab& other):QStyleOptionTabV2(other),_wrapper(NULL) {}; + PythonQtShell_QStyleOptionTabV2(const QStyleOptionTabV2& other):QStyleOptionTabV2(other),_wrapper(NULL) {}; + PythonQtShell_QStyleOptionTabV2(int version):QStyleOptionTabV2(version),_wrapper(NULL) {}; + + + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtWrapper_QStyleOptionTabV2 : public QObject +{ Q_OBJECT +public: +Q_ENUMS(StyleOptionVersion ) +enum StyleOptionVersion{ + Version = QStyleOptionTabV2::Version}; +public slots: +QStyleOptionTabV2* new_QStyleOptionTabV2(); +QStyleOptionTabV2* new_QStyleOptionTabV2(const QStyleOptionTab& other); +QStyleOptionTabV2* new_QStyleOptionTabV2(const QStyleOptionTabV2& other); +void delete_QStyleOptionTabV2(QStyleOptionTabV2* obj) { delete obj; } +void py_set_iconSize(QStyleOptionTabV2* theWrappedObject, QSize iconSize){ theWrappedObject->iconSize = iconSize; } +QSize py_get_iconSize(QStyleOptionTabV2* theWrappedObject){ return theWrappedObject->iconSize; } +}; + + + + + +class PythonQtShell_QStyleOptionTabV3 : public QStyleOptionTabV3 +{ +public: + PythonQtShell_QStyleOptionTabV3():QStyleOptionTabV3(),_wrapper(NULL) {}; + PythonQtShell_QStyleOptionTabV3(const QStyleOptionTab& other):QStyleOptionTabV3(other),_wrapper(NULL) {}; + PythonQtShell_QStyleOptionTabV3(const QStyleOptionTabV2& other):QStyleOptionTabV3(other),_wrapper(NULL) {}; + PythonQtShell_QStyleOptionTabV3(const QStyleOptionTabV3& other):QStyleOptionTabV3(other),_wrapper(NULL) {}; + PythonQtShell_QStyleOptionTabV3(int version):QStyleOptionTabV3(version),_wrapper(NULL) {}; + + + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtWrapper_QStyleOptionTabV3 : public QObject +{ Q_OBJECT +public: +Q_ENUMS(StyleOptionVersion ) +enum StyleOptionVersion{ + Version = QStyleOptionTabV3::Version}; +public slots: +QStyleOptionTabV3* new_QStyleOptionTabV3(); +QStyleOptionTabV3* new_QStyleOptionTabV3(const QStyleOptionTab& other); +QStyleOptionTabV3* new_QStyleOptionTabV3(const QStyleOptionTabV2& other); +QStyleOptionTabV3* new_QStyleOptionTabV3(const QStyleOptionTabV3& other); +void delete_QStyleOptionTabV3(QStyleOptionTabV3* obj) { delete obj; } +void py_set_documentMode(QStyleOptionTabV3* theWrappedObject, bool documentMode){ theWrappedObject->documentMode = documentMode; } +bool py_get_documentMode(QStyleOptionTabV3* theWrappedObject){ return theWrappedObject->documentMode; } +void py_set_rightButtonSize(QStyleOptionTabV3* theWrappedObject, QSize rightButtonSize){ theWrappedObject->rightButtonSize = rightButtonSize; } +QSize py_get_rightButtonSize(QStyleOptionTabV3* theWrappedObject){ return theWrappedObject->rightButtonSize; } +void py_set_leftButtonSize(QStyleOptionTabV3* theWrappedObject, QSize leftButtonSize){ theWrappedObject->leftButtonSize = leftButtonSize; } +QSize py_get_leftButtonSize(QStyleOptionTabV3* theWrappedObject){ return theWrappedObject->leftButtonSize; } +}; + + + + + +class PythonQtShell_QStyleOptionTabWidgetFrame : public QStyleOptionTabWidgetFrame +{ +public: + PythonQtShell_QStyleOptionTabWidgetFrame():QStyleOptionTabWidgetFrame(),_wrapper(NULL) {}; + PythonQtShell_QStyleOptionTabWidgetFrame(const QStyleOptionTabWidgetFrame& other):QStyleOptionTabWidgetFrame(other),_wrapper(NULL) {}; + PythonQtShell_QStyleOptionTabWidgetFrame(int version):QStyleOptionTabWidgetFrame(version),_wrapper(NULL) {}; + + + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtWrapper_QStyleOptionTabWidgetFrame : public QObject +{ Q_OBJECT +public: +Q_ENUMS(StyleOptionVersion StyleOptionType ) +enum StyleOptionVersion{ + Version = QStyleOptionTabWidgetFrame::Version}; +enum StyleOptionType{ + Type = QStyleOptionTabWidgetFrame::Type}; +public slots: +QStyleOptionTabWidgetFrame* new_QStyleOptionTabWidgetFrame(); +QStyleOptionTabWidgetFrame* new_QStyleOptionTabWidgetFrame(const QStyleOptionTabWidgetFrame& other); +void delete_QStyleOptionTabWidgetFrame(QStyleOptionTabWidgetFrame* obj) { delete obj; } +void py_set_lineWidth(QStyleOptionTabWidgetFrame* theWrappedObject, int lineWidth){ theWrappedObject->lineWidth = lineWidth; } +int py_get_lineWidth(QStyleOptionTabWidgetFrame* theWrappedObject){ return theWrappedObject->lineWidth; } +void py_set_rightCornerWidgetSize(QStyleOptionTabWidgetFrame* theWrappedObject, QSize rightCornerWidgetSize){ theWrappedObject->rightCornerWidgetSize = rightCornerWidgetSize; } +QSize py_get_rightCornerWidgetSize(QStyleOptionTabWidgetFrame* theWrappedObject){ return theWrappedObject->rightCornerWidgetSize; } +void py_set_tabBarSize(QStyleOptionTabWidgetFrame* theWrappedObject, QSize tabBarSize){ theWrappedObject->tabBarSize = tabBarSize; } +QSize py_get_tabBarSize(QStyleOptionTabWidgetFrame* theWrappedObject){ return theWrappedObject->tabBarSize; } +void py_set_shape(QStyleOptionTabWidgetFrame* theWrappedObject, QTabBar::Shape shape){ theWrappedObject->shape = shape; } +QTabBar::Shape py_get_shape(QStyleOptionTabWidgetFrame* theWrappedObject){ return theWrappedObject->shape; } +void py_set_midLineWidth(QStyleOptionTabWidgetFrame* theWrappedObject, int midLineWidth){ theWrappedObject->midLineWidth = midLineWidth; } +int py_get_midLineWidth(QStyleOptionTabWidgetFrame* theWrappedObject){ return theWrappedObject->midLineWidth; } +void py_set_leftCornerWidgetSize(QStyleOptionTabWidgetFrame* theWrappedObject, QSize leftCornerWidgetSize){ theWrappedObject->leftCornerWidgetSize = leftCornerWidgetSize; } +QSize py_get_leftCornerWidgetSize(QStyleOptionTabWidgetFrame* theWrappedObject){ return theWrappedObject->leftCornerWidgetSize; } +}; + + + + + +class PythonQtShell_QStyleOptionTitleBar : public QStyleOptionTitleBar +{ +public: + PythonQtShell_QStyleOptionTitleBar():QStyleOptionTitleBar(),_wrapper(NULL) {}; + PythonQtShell_QStyleOptionTitleBar(const QStyleOptionTitleBar& other):QStyleOptionTitleBar(other),_wrapper(NULL) {}; + PythonQtShell_QStyleOptionTitleBar(int version):QStyleOptionTitleBar(version),_wrapper(NULL) {}; + + + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtWrapper_QStyleOptionTitleBar : public QObject +{ Q_OBJECT +public: +Q_ENUMS(StyleOptionVersion StyleOptionType ) +enum StyleOptionVersion{ + Version = QStyleOptionTitleBar::Version}; +enum StyleOptionType{ + Type = QStyleOptionTitleBar::Type}; +public slots: +QStyleOptionTitleBar* new_QStyleOptionTitleBar(); +QStyleOptionTitleBar* new_QStyleOptionTitleBar(const QStyleOptionTitleBar& other); +void delete_QStyleOptionTitleBar(QStyleOptionTitleBar* obj) { delete obj; } +void py_set_titleBarFlags(QStyleOptionTitleBar* theWrappedObject, Qt::WindowFlags titleBarFlags){ theWrappedObject->titleBarFlags = titleBarFlags; } +Qt::WindowFlags py_get_titleBarFlags(QStyleOptionTitleBar* theWrappedObject){ return theWrappedObject->titleBarFlags; } +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; } +QString py_get_text(QStyleOptionTitleBar* theWrappedObject){ return theWrappedObject->text; } +void py_set_titleBarState(QStyleOptionTitleBar* theWrappedObject, int titleBarState){ theWrappedObject->titleBarState = titleBarState; } +int py_get_titleBarState(QStyleOptionTitleBar* theWrappedObject){ return theWrappedObject->titleBarState; } +}; + + + + + +class PythonQtShell_QStyleOptionToolBar : public QStyleOptionToolBar +{ +public: + PythonQtShell_QStyleOptionToolBar():QStyleOptionToolBar(),_wrapper(NULL) {}; + PythonQtShell_QStyleOptionToolBar(const QStyleOptionToolBar& other):QStyleOptionToolBar(other),_wrapper(NULL) {}; + PythonQtShell_QStyleOptionToolBar(int version):QStyleOptionToolBar(version),_wrapper(NULL) {}; + + + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtWrapper_QStyleOptionToolBar : public QObject +{ Q_OBJECT +public: +Q_ENUMS(StyleOptionVersion StyleOptionType ToolBarPosition ToolBarFeature ) +Q_FLAGS(ToolBarFeatures ) +enum StyleOptionVersion{ + Version = QStyleOptionToolBar::Version}; +enum StyleOptionType{ + Type = QStyleOptionToolBar::Type}; +enum ToolBarPosition{ + Beginning = QStyleOptionToolBar::Beginning, Middle = QStyleOptionToolBar::Middle, End = QStyleOptionToolBar::End, OnlyOne = QStyleOptionToolBar::OnlyOne}; +enum ToolBarFeature{ + None = QStyleOptionToolBar::None, Movable = QStyleOptionToolBar::Movable}; +Q_DECLARE_FLAGS(ToolBarFeatures, ToolBarFeature) +public slots: +QStyleOptionToolBar* new_QStyleOptionToolBar(); +QStyleOptionToolBar* new_QStyleOptionToolBar(const QStyleOptionToolBar& other); +void delete_QStyleOptionToolBar(QStyleOptionToolBar* obj) { delete obj; } +void py_set_lineWidth(QStyleOptionToolBar* theWrappedObject, int lineWidth){ theWrappedObject->lineWidth = lineWidth; } +int py_get_lineWidth(QStyleOptionToolBar* theWrappedObject){ return theWrappedObject->lineWidth; } +void py_set_positionWithinLine(QStyleOptionToolBar* theWrappedObject, QStyleOptionToolBar::ToolBarPosition positionWithinLine){ theWrappedObject->positionWithinLine = positionWithinLine; } +QStyleOptionToolBar::ToolBarPosition py_get_positionWithinLine(QStyleOptionToolBar* theWrappedObject){ return theWrappedObject->positionWithinLine; } +void py_set_positionOfLine(QStyleOptionToolBar* theWrappedObject, QStyleOptionToolBar::ToolBarPosition positionOfLine){ theWrappedObject->positionOfLine = positionOfLine; } +QStyleOptionToolBar::ToolBarPosition py_get_positionOfLine(QStyleOptionToolBar* theWrappedObject){ return theWrappedObject->positionOfLine; } +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_toolBarArea(QStyleOptionToolBar* theWrappedObject, Qt::ToolBarArea toolBarArea){ theWrappedObject->toolBarArea = toolBarArea; } +Qt::ToolBarArea py_get_toolBarArea(QStyleOptionToolBar* theWrappedObject){ return theWrappedObject->toolBarArea; } +void py_set_midLineWidth(QStyleOptionToolBar* theWrappedObject, int midLineWidth){ theWrappedObject->midLineWidth = midLineWidth; } +int py_get_midLineWidth(QStyleOptionToolBar* theWrappedObject){ return theWrappedObject->midLineWidth; } +}; + + + + + +class PythonQtShell_QStyleOptionToolBox : public QStyleOptionToolBox +{ +public: + PythonQtShell_QStyleOptionToolBox():QStyleOptionToolBox(),_wrapper(NULL) {}; + PythonQtShell_QStyleOptionToolBox(const QStyleOptionToolBox& other):QStyleOptionToolBox(other),_wrapper(NULL) {}; + PythonQtShell_QStyleOptionToolBox(int version):QStyleOptionToolBox(version),_wrapper(NULL) {}; + + + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtWrapper_QStyleOptionToolBox : public QObject +{ Q_OBJECT +public: +Q_ENUMS(StyleOptionVersion StyleOptionType ) +enum StyleOptionVersion{ + Version = QStyleOptionToolBox::Version}; +enum StyleOptionType{ + Type = QStyleOptionToolBox::Type}; +public slots: +QStyleOptionToolBox* new_QStyleOptionToolBox(); +QStyleOptionToolBox* new_QStyleOptionToolBox(const QStyleOptionToolBox& other); +void delete_QStyleOptionToolBox(QStyleOptionToolBox* obj) { delete obj; } +void py_set_icon(QStyleOptionToolBox* theWrappedObject, QIcon icon){ theWrappedObject->icon = icon; } +QIcon py_get_icon(QStyleOptionToolBox* theWrappedObject){ return theWrappedObject->icon; } +void py_set_text(QStyleOptionToolBox* theWrappedObject, QString text){ theWrappedObject->text = text; } +QString py_get_text(QStyleOptionToolBox* theWrappedObject){ return theWrappedObject->text; } +}; + + + + + +class PythonQtShell_QStyleOptionToolBoxV2 : public QStyleOptionToolBoxV2 +{ +public: + PythonQtShell_QStyleOptionToolBoxV2():QStyleOptionToolBoxV2(),_wrapper(NULL) {}; + PythonQtShell_QStyleOptionToolBoxV2(const QStyleOptionToolBox& other):QStyleOptionToolBoxV2(other),_wrapper(NULL) {}; + PythonQtShell_QStyleOptionToolBoxV2(const QStyleOptionToolBoxV2& other):QStyleOptionToolBoxV2(other),_wrapper(NULL) {}; + PythonQtShell_QStyleOptionToolBoxV2(int version):QStyleOptionToolBoxV2(version),_wrapper(NULL) {}; + + + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtWrapper_QStyleOptionToolBoxV2 : public QObject +{ Q_OBJECT +public: +Q_ENUMS(StyleOptionVersion TabPosition SelectedPosition ) +enum StyleOptionVersion{ + Version = QStyleOptionToolBoxV2::Version}; +enum TabPosition{ + Beginning = QStyleOptionToolBoxV2::Beginning, Middle = QStyleOptionToolBoxV2::Middle, End = QStyleOptionToolBoxV2::End, OnlyOneTab = QStyleOptionToolBoxV2::OnlyOneTab}; +enum SelectedPosition{ + NotAdjacent = QStyleOptionToolBoxV2::NotAdjacent, NextIsSelected = QStyleOptionToolBoxV2::NextIsSelected, PreviousIsSelected = QStyleOptionToolBoxV2::PreviousIsSelected}; +public slots: +QStyleOptionToolBoxV2* new_QStyleOptionToolBoxV2(); +QStyleOptionToolBoxV2* new_QStyleOptionToolBoxV2(const QStyleOptionToolBox& other); +QStyleOptionToolBoxV2* new_QStyleOptionToolBoxV2(const QStyleOptionToolBoxV2& other); +void delete_QStyleOptionToolBoxV2(QStyleOptionToolBoxV2* obj) { delete obj; } +void py_set_position(QStyleOptionToolBoxV2* theWrappedObject, QStyleOptionToolBoxV2::TabPosition position){ theWrappedObject->position = position; } +QStyleOptionToolBoxV2::TabPosition py_get_position(QStyleOptionToolBoxV2* theWrappedObject){ return theWrappedObject->position; } +void py_set_selectedPosition(QStyleOptionToolBoxV2* theWrappedObject, QStyleOptionToolBoxV2::SelectedPosition selectedPosition){ theWrappedObject->selectedPosition = selectedPosition; } +QStyleOptionToolBoxV2::SelectedPosition py_get_selectedPosition(QStyleOptionToolBoxV2* theWrappedObject){ return theWrappedObject->selectedPosition; } +}; + + + + + +class PythonQtShell_QStyleOptionToolButton : public QStyleOptionToolButton +{ +public: + PythonQtShell_QStyleOptionToolButton():QStyleOptionToolButton(),_wrapper(NULL) {}; + PythonQtShell_QStyleOptionToolButton(const QStyleOptionToolButton& other):QStyleOptionToolButton(other),_wrapper(NULL) {}; + PythonQtShell_QStyleOptionToolButton(int version):QStyleOptionToolButton(version),_wrapper(NULL) {}; + + + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtWrapper_QStyleOptionToolButton : public QObject +{ Q_OBJECT +public: +Q_ENUMS(StyleOptionVersion ToolButtonFeature StyleOptionType ) +Q_FLAGS(ToolButtonFeatures ) +enum StyleOptionVersion{ + Version = QStyleOptionToolButton::Version}; +enum ToolButtonFeature{ + None = QStyleOptionToolButton::None, Arrow = QStyleOptionToolButton::Arrow, Menu = QStyleOptionToolButton::Menu, MenuButtonPopup = QStyleOptionToolButton::MenuButtonPopup, PopupDelay = QStyleOptionToolButton::PopupDelay, HasMenu = QStyleOptionToolButton::HasMenu}; +enum StyleOptionType{ + Type = QStyleOptionToolButton::Type}; +Q_DECLARE_FLAGS(ToolButtonFeatures, ToolButtonFeature) +public slots: +QStyleOptionToolButton* new_QStyleOptionToolButton(); +QStyleOptionToolButton* new_QStyleOptionToolButton(const QStyleOptionToolButton& other); +void delete_QStyleOptionToolButton(QStyleOptionToolButton* obj) { delete obj; } +void py_set_iconSize(QStyleOptionToolButton* theWrappedObject, QSize iconSize){ theWrappedObject->iconSize = iconSize; } +QSize py_get_iconSize(QStyleOptionToolButton* theWrappedObject){ return theWrappedObject->iconSize; } +void py_set_toolButtonStyle(QStyleOptionToolButton* theWrappedObject, Qt::ToolButtonStyle toolButtonStyle){ theWrappedObject->toolButtonStyle = toolButtonStyle; } +Qt::ToolButtonStyle py_get_toolButtonStyle(QStyleOptionToolButton* theWrappedObject){ return theWrappedObject->toolButtonStyle; } +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_arrowType(QStyleOptionToolButton* theWrappedObject, Qt::ArrowType arrowType){ theWrappedObject->arrowType = arrowType; } +Qt::ArrowType py_get_arrowType(QStyleOptionToolButton* theWrappedObject){ return theWrappedObject->arrowType; } +void py_set_icon(QStyleOptionToolButton* theWrappedObject, QIcon icon){ theWrappedObject->icon = icon; } +QIcon py_get_icon(QStyleOptionToolButton* theWrappedObject){ return theWrappedObject->icon; } +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_font(QStyleOptionToolButton* theWrappedObject, QFont font){ theWrappedObject->font = font; } +QFont py_get_font(QStyleOptionToolButton* theWrappedObject){ return theWrappedObject->font; } +}; + + + + + +class PythonQtShell_QStyleOptionViewItem : public QStyleOptionViewItem +{ +public: + PythonQtShell_QStyleOptionViewItem():QStyleOptionViewItem(),_wrapper(NULL) {}; + PythonQtShell_QStyleOptionViewItem(const QStyleOptionViewItem& other):QStyleOptionViewItem(other),_wrapper(NULL) {}; + PythonQtShell_QStyleOptionViewItem(int version):QStyleOptionViewItem(version),_wrapper(NULL) {}; + + + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtWrapper_QStyleOptionViewItem : public QObject +{ Q_OBJECT +public: +Q_ENUMS(StyleOptionVersion StyleOptionType Position ) +enum StyleOptionVersion{ + Version = QStyleOptionViewItem::Version}; +enum StyleOptionType{ + Type = QStyleOptionViewItem::Type}; +enum Position{ + Left = QStyleOptionViewItem::Left, Right = QStyleOptionViewItem::Right, Top = QStyleOptionViewItem::Top, Bottom = QStyleOptionViewItem::Bottom}; +public slots: +QStyleOptionViewItem* new_QStyleOptionViewItem(); +QStyleOptionViewItem* new_QStyleOptionViewItem(const QStyleOptionViewItem& other); +void delete_QStyleOptionViewItem(QStyleOptionViewItem* obj) { delete obj; } +void py_set_showDecorationSelected(QStyleOptionViewItem* theWrappedObject, bool showDecorationSelected){ theWrappedObject->showDecorationSelected = showDecorationSelected; } +bool py_get_showDecorationSelected(QStyleOptionViewItem* theWrappedObject){ return theWrappedObject->showDecorationSelected; } +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_decorationAlignment(QStyleOptionViewItem* theWrappedObject, Qt::Alignment decorationAlignment){ theWrappedObject->decorationAlignment = decorationAlignment; } +Qt::Alignment py_get_decorationAlignment(QStyleOptionViewItem* theWrappedObject){ return theWrappedObject->decorationAlignment; } +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_textElideMode(QStyleOptionViewItem* theWrappedObject, Qt::TextElideMode textElideMode){ theWrappedObject->textElideMode = textElideMode; } +Qt::TextElideMode py_get_textElideMode(QStyleOptionViewItem* theWrappedObject){ return theWrappedObject->textElideMode; } +void py_set_decorationSize(QStyleOptionViewItem* theWrappedObject, QSize decorationSize){ theWrappedObject->decorationSize = decorationSize; } +QSize py_get_decorationSize(QStyleOptionViewItem* theWrappedObject){ return theWrappedObject->decorationSize; } +void py_set_font(QStyleOptionViewItem* theWrappedObject, QFont font){ theWrappedObject->font = font; } +QFont py_get_font(QStyleOptionViewItem* theWrappedObject){ return theWrappedObject->font; } +}; + + + + + +class PythonQtShell_QStyleOptionViewItemV2 : public QStyleOptionViewItemV2 +{ +public: + PythonQtShell_QStyleOptionViewItemV2():QStyleOptionViewItemV2(),_wrapper(NULL) {}; + PythonQtShell_QStyleOptionViewItemV2(const QStyleOptionViewItem& other):QStyleOptionViewItemV2(other),_wrapper(NULL) {}; + PythonQtShell_QStyleOptionViewItemV2(const QStyleOptionViewItemV2& other):QStyleOptionViewItemV2(other),_wrapper(NULL) {}; + PythonQtShell_QStyleOptionViewItemV2(int version):QStyleOptionViewItemV2(version),_wrapper(NULL) {}; + + + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtWrapper_QStyleOptionViewItemV2 : public QObject +{ Q_OBJECT +public: +Q_ENUMS(StyleOptionVersion ViewItemFeature ) +Q_FLAGS(ViewItemFeatures ) +enum StyleOptionVersion{ + Version = QStyleOptionViewItemV2::Version}; +enum ViewItemFeature{ + None = QStyleOptionViewItemV2::None, WrapText = QStyleOptionViewItemV2::WrapText, Alternate = QStyleOptionViewItemV2::Alternate, HasCheckIndicator = QStyleOptionViewItemV2::HasCheckIndicator, HasDisplay = QStyleOptionViewItemV2::HasDisplay, HasDecoration = QStyleOptionViewItemV2::HasDecoration}; +Q_DECLARE_FLAGS(ViewItemFeatures, ViewItemFeature) +public slots: +QStyleOptionViewItemV2* new_QStyleOptionViewItemV2(); +QStyleOptionViewItemV2* new_QStyleOptionViewItemV2(const QStyleOptionViewItem& other); +QStyleOptionViewItemV2* new_QStyleOptionViewItemV2(const QStyleOptionViewItemV2& other); +void delete_QStyleOptionViewItemV2(QStyleOptionViewItemV2* obj) { delete obj; } +void py_set_features(QStyleOptionViewItemV2* theWrappedObject, QStyleOptionViewItemV2::ViewItemFeatures features){ theWrappedObject->features = features; } +QStyleOptionViewItemV2::ViewItemFeatures py_get_features(QStyleOptionViewItemV2* theWrappedObject){ return theWrappedObject->features; } +}; + + + + + +class PythonQtShell_QStyleOptionViewItemV3 : public QStyleOptionViewItemV3 +{ +public: + PythonQtShell_QStyleOptionViewItemV3():QStyleOptionViewItemV3(),_wrapper(NULL) {}; + PythonQtShell_QStyleOptionViewItemV3(const QStyleOptionViewItem& other):QStyleOptionViewItemV3(other),_wrapper(NULL) {}; + PythonQtShell_QStyleOptionViewItemV3(const QStyleOptionViewItemV3& other):QStyleOptionViewItemV3(other),_wrapper(NULL) {}; + PythonQtShell_QStyleOptionViewItemV3(int version):QStyleOptionViewItemV3(version),_wrapper(NULL) {}; + + + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtWrapper_QStyleOptionViewItemV3 : public QObject +{ Q_OBJECT +public: +Q_ENUMS(StyleOptionVersion ) +enum StyleOptionVersion{ + Version = QStyleOptionViewItemV3::Version}; +public slots: +QStyleOptionViewItemV3* new_QStyleOptionViewItemV3(); +QStyleOptionViewItemV3* new_QStyleOptionViewItemV3(const QStyleOptionViewItem& other); +QStyleOptionViewItemV3* new_QStyleOptionViewItemV3(const QStyleOptionViewItemV3& other); +void delete_QStyleOptionViewItemV3(QStyleOptionViewItemV3* obj) { delete obj; } +const QWidget* py_get_widget(QStyleOptionViewItemV3* theWrappedObject){ return theWrappedObject->widget; } +void py_set_locale(QStyleOptionViewItemV3* theWrappedObject, QLocale locale){ theWrappedObject->locale = locale; } +QLocale py_get_locale(QStyleOptionViewItemV3* theWrappedObject){ return theWrappedObject->locale; } +}; + + + + + +class PythonQtShell_QStyleOptionViewItemV4 : public QStyleOptionViewItemV4 +{ +public: + PythonQtShell_QStyleOptionViewItemV4():QStyleOptionViewItemV4(),_wrapper(NULL) {}; + PythonQtShell_QStyleOptionViewItemV4(const QStyleOptionViewItem& other):QStyleOptionViewItemV4(other),_wrapper(NULL) {}; + PythonQtShell_QStyleOptionViewItemV4(const QStyleOptionViewItemV4& other):QStyleOptionViewItemV4(other),_wrapper(NULL) {}; + PythonQtShell_QStyleOptionViewItemV4(int version):QStyleOptionViewItemV4(version),_wrapper(NULL) {}; + + + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtWrapper_QStyleOptionViewItemV4 : public QObject +{ Q_OBJECT +public: +Q_ENUMS(ViewItemPosition StyleOptionVersion ) +enum ViewItemPosition{ + Invalid = QStyleOptionViewItemV4::Invalid, Beginning = QStyleOptionViewItemV4::Beginning, Middle = QStyleOptionViewItemV4::Middle, End = QStyleOptionViewItemV4::End, OnlyOne = QStyleOptionViewItemV4::OnlyOne}; +enum StyleOptionVersion{ + Version = QStyleOptionViewItemV4::Version}; +public slots: +QStyleOptionViewItemV4* new_QStyleOptionViewItemV4(); +QStyleOptionViewItemV4* new_QStyleOptionViewItemV4(const QStyleOptionViewItem& other); +QStyleOptionViewItemV4* new_QStyleOptionViewItemV4(const QStyleOptionViewItemV4& other); +void delete_QStyleOptionViewItemV4(QStyleOptionViewItemV4* obj) { delete obj; } +void py_set_checkState(QStyleOptionViewItemV4* theWrappedObject, Qt::CheckState checkState){ theWrappedObject->checkState = checkState; } +Qt::CheckState py_get_checkState(QStyleOptionViewItemV4* theWrappedObject){ return theWrappedObject->checkState; } +void py_set_viewItemPosition(QStyleOptionViewItemV4* theWrappedObject, QStyleOptionViewItemV4::ViewItemPosition viewItemPosition){ theWrappedObject->viewItemPosition = viewItemPosition; } +QStyleOptionViewItemV4::ViewItemPosition py_get_viewItemPosition(QStyleOptionViewItemV4* theWrappedObject){ return theWrappedObject->viewItemPosition; } +void py_set_icon(QStyleOptionViewItemV4* theWrappedObject, QIcon icon){ theWrappedObject->icon = icon; } +QIcon py_get_icon(QStyleOptionViewItemV4* theWrappedObject){ return theWrappedObject->icon; } +void py_set_backgroundBrush(QStyleOptionViewItemV4* theWrappedObject, QBrush backgroundBrush){ theWrappedObject->backgroundBrush = backgroundBrush; } +QBrush py_get_backgroundBrush(QStyleOptionViewItemV4* theWrappedObject){ return theWrappedObject->backgroundBrush; } +void py_set_index(QStyleOptionViewItemV4* theWrappedObject, QModelIndex index){ theWrappedObject->index = index; } +QModelIndex py_get_index(QStyleOptionViewItemV4* theWrappedObject){ return theWrappedObject->index; } +void py_set_text(QStyleOptionViewItemV4* theWrappedObject, QString text){ theWrappedObject->text = text; } +QString py_get_text(QStyleOptionViewItemV4* theWrappedObject){ return theWrappedObject->text; } +}; + + + + + +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 = 0):QStylePlugin(parent),_wrapper(NULL) {}; + +virtual void childEvent(QChildEvent* arg__1); +virtual QStyle* create(const QString& key); +virtual void customEvent(QEvent* arg__1); +virtual bool event(QEvent* arg__1); +virtual bool eventFilter(QObject* arg__1, QEvent* arg__2); +virtual QStringList keys() const; +virtual void timerEvent(QTimerEvent* arg__1); + + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtWrapper_QStylePlugin : public QObject +{ Q_OBJECT +public: +public slots: +QStylePlugin* new_QStylePlugin(QObject* parent = 0); +void delete_QStylePlugin(QStylePlugin* obj) { delete obj; } +}; + + + + + +class PythonQtShell_QStyledItemDelegate : public QStyledItemDelegate +{ +public: + PythonQtShell_QStyledItemDelegate(QObject* parent = 0):QStyledItemDelegate(parent),_wrapper(NULL) {}; + +virtual void childEvent(QChildEvent* arg__1); +virtual QWidget* createEditor(QWidget* parent, const QStyleOptionViewItem& option, const QModelIndex& index) const; +virtual void customEvent(QEvent* arg__1); +virtual QString displayText(const QVariant& value, const QLocale& locale) const; +virtual bool editorEvent(QEvent* event, QAbstractItemModel* model, const QStyleOptionViewItem& option, const QModelIndex& index); +virtual bool event(QEvent* arg__1); +virtual bool eventFilter(QObject* object, QEvent* event); +virtual void initStyleOption(QStyleOptionViewItem* option, const QModelIndex& index) const; +virtual void paint(QPainter* painter, const QStyleOptionViewItem& option, const QModelIndex& index) const; +virtual void setEditorData(QWidget* editor, const QModelIndex& index) const; +virtual void setModelData(QWidget* editor, QAbstractItemModel* model, const QModelIndex& index) const; +virtual QSize sizeHint(const QStyleOptionViewItem& option, const QModelIndex& index) const; +virtual void timerEvent(QTimerEvent* arg__1); +virtual void updateEditorGeometry(QWidget* editor, const QStyleOptionViewItem& option, const QModelIndex& index) const; + + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtPublicPromoter_QStyledItemDelegate : public QStyledItemDelegate +{ public: +inline QWidget* promoted_createEditor(QWidget* parent, const QStyleOptionViewItem& option, const QModelIndex& index) const { return QStyledItemDelegate::createEditor(parent, option, index); } +inline QString promoted_displayText(const QVariant& value, const QLocale& locale) const { return QStyledItemDelegate::displayText(value, locale); } +inline bool promoted_editorEvent(QEvent* event, QAbstractItemModel* model, const QStyleOptionViewItem& option, const QModelIndex& index) { return QStyledItemDelegate::editorEvent(event, model, option, index); } +inline bool promoted_eventFilter(QObject* object, QEvent* event) { return QStyledItemDelegate::eventFilter(object, event); } +inline void promoted_initStyleOption(QStyleOptionViewItem* option, const QModelIndex& index) const { QStyledItemDelegate::initStyleOption(option, index); } +inline void promoted_paint(QPainter* painter, const QStyleOptionViewItem& option, const QModelIndex& index) const { QStyledItemDelegate::paint(painter, option, index); } +inline void promoted_setEditorData(QWidget* editor, const QModelIndex& index) const { QStyledItemDelegate::setEditorData(editor, index); } +inline void promoted_setModelData(QWidget* editor, QAbstractItemModel* model, const QModelIndex& index) const { QStyledItemDelegate::setModelData(editor, model, index); } +inline QSize promoted_sizeHint(const QStyleOptionViewItem& option, const QModelIndex& index) const { return QStyledItemDelegate::sizeHint(option, index); } +inline void promoted_updateEditorGeometry(QWidget* editor, const QStyleOptionViewItem& option, const QModelIndex& index) const { QStyledItemDelegate::updateEditorGeometry(editor, option, index); } +}; + +class PythonQtWrapper_QStyledItemDelegate : public QObject +{ Q_OBJECT +public: +public slots: +QStyledItemDelegate* new_QStyledItemDelegate(QObject* parent = 0); +void delete_QStyledItemDelegate(QStyledItemDelegate* obj) { delete obj; } + QWidget* createEditor(QStyledItemDelegate* theWrappedObject, QWidget* parent, const QStyleOptionViewItem& option, const QModelIndex& index) const; + QString displayText(QStyledItemDelegate* theWrappedObject, const QVariant& value, const QLocale& locale) const; + bool editorEvent(QStyledItemDelegate* theWrappedObject, QEvent* event, QAbstractItemModel* model, const QStyleOptionViewItem& option, const QModelIndex& index); + bool eventFilter(QStyledItemDelegate* theWrappedObject, QObject* object, QEvent* event); + void initStyleOption(QStyledItemDelegate* theWrappedObject, QStyleOptionViewItem* option, const QModelIndex& index) const; + QItemEditorFactory* itemEditorFactory(QStyledItemDelegate* theWrappedObject) const; + void paint(QStyledItemDelegate* theWrappedObject, QPainter* painter, const QStyleOptionViewItem& option, const QModelIndex& index) const; + void setEditorData(QStyledItemDelegate* theWrappedObject, QWidget* editor, const QModelIndex& index) const; + void setItemEditorFactory(QStyledItemDelegate* theWrappedObject, QItemEditorFactory* factory); + void setModelData(QStyledItemDelegate* theWrappedObject, QWidget* editor, QAbstractItemModel* model, const QModelIndex& index) const; + QSize sizeHint(QStyledItemDelegate* theWrappedObject, const QStyleOptionViewItem& option, const QModelIndex& index) const; + void updateEditorGeometry(QStyledItemDelegate* theWrappedObject, QWidget* editor, const QStyleOptionViewItem& option, const QModelIndex& index) const; +}; + + + + + +class PythonQtShell_QSwipeGesture : public QSwipeGesture +{ +public: + PythonQtShell_QSwipeGesture(QObject* parent = 0):QSwipeGesture(parent),_wrapper(NULL) {}; + +virtual void childEvent(QChildEvent* arg__1); +virtual void customEvent(QEvent* arg__1); +virtual bool event(QEvent* arg__1); +virtual bool eventFilter(QObject* arg__1, QEvent* arg__2); +virtual void timerEvent(QTimerEvent* arg__1); + + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtWrapper_QSwipeGesture : public QObject +{ Q_OBJECT +public: +public slots: +QSwipeGesture* new_QSwipeGesture(QObject* parent = 0); +void delete_QSwipeGesture(QSwipeGesture* obj) { delete obj; } + QSwipeGesture::SwipeDirection horizontalDirection(QSwipeGesture* theWrappedObject) const; + void setSwipeAngle(QSwipeGesture* theWrappedObject, qreal value); + qreal swipeAngle(QSwipeGesture* theWrappedObject) const; + QSwipeGesture::SwipeDirection verticalDirection(QSwipeGesture* theWrappedObject) const; +}; + + + + + +class PythonQtShell_QSyntaxHighlighter : public QSyntaxHighlighter +{ +public: + PythonQtShell_QSyntaxHighlighter(QObject* parent):QSyntaxHighlighter(parent),_wrapper(NULL) {}; + PythonQtShell_QSyntaxHighlighter(QTextDocument* parent):QSyntaxHighlighter(parent),_wrapper(NULL) {}; + PythonQtShell_QSyntaxHighlighter(QTextEdit* parent):QSyntaxHighlighter(parent),_wrapper(NULL) {}; + +virtual void childEvent(QChildEvent* arg__1); +virtual void customEvent(QEvent* arg__1); +virtual bool event(QEvent* arg__1); +virtual bool eventFilter(QObject* arg__1, QEvent* arg__2); +virtual void highlightBlock(const QString& text); +virtual void timerEvent(QTimerEvent* arg__1); + + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtWrapper_QSyntaxHighlighter : public QObject +{ Q_OBJECT +public: +public slots: +QSyntaxHighlighter* new_QSyntaxHighlighter(QObject* parent); +QSyntaxHighlighter* new_QSyntaxHighlighter(QTextDocument* parent); +QSyntaxHighlighter* new_QSyntaxHighlighter(QTextEdit* parent); +void delete_QSyntaxHighlighter(QSyntaxHighlighter* obj) { delete obj; } + QTextDocument* document(QSyntaxHighlighter* theWrappedObject) const; + void setDocument(QSyntaxHighlighter* theWrappedObject, QTextDocument* doc); +}; + + + + + +class PythonQtShell_QSystemTrayIcon : public QSystemTrayIcon +{ +public: + PythonQtShell_QSystemTrayIcon(QObject* parent = 0):QSystemTrayIcon(parent),_wrapper(NULL) {}; + PythonQtShell_QSystemTrayIcon(const QIcon& icon, QObject* parent = 0):QSystemTrayIcon(icon, parent),_wrapper(NULL) {}; + +virtual void childEvent(QChildEvent* arg__1); +virtual void customEvent(QEvent* arg__1); +virtual bool event(QEvent* event); +virtual bool eventFilter(QObject* arg__1, QEvent* arg__2); +virtual void timerEvent(QTimerEvent* arg__1); + + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtPublicPromoter_QSystemTrayIcon : public QSystemTrayIcon +{ public: +inline bool promoted_event(QEvent* event) { return QSystemTrayIcon::event(event); } +}; + +class PythonQtWrapper_QSystemTrayIcon : public QObject +{ Q_OBJECT +public: +Q_ENUMS(MessageIcon ActivationReason ) +enum MessageIcon{ + NoIcon = QSystemTrayIcon::NoIcon, Information = QSystemTrayIcon::Information, Warning = QSystemTrayIcon::Warning, Critical = QSystemTrayIcon::Critical}; +enum ActivationReason{ + Unknown = QSystemTrayIcon::Unknown, Context = QSystemTrayIcon::Context, DoubleClick = QSystemTrayIcon::DoubleClick, Trigger = QSystemTrayIcon::Trigger, MiddleClick = QSystemTrayIcon::MiddleClick}; +public slots: +QSystemTrayIcon* new_QSystemTrayIcon(QObject* parent = 0); +QSystemTrayIcon* new_QSystemTrayIcon(const QIcon& icon, QObject* parent = 0); +void delete_QSystemTrayIcon(QSystemTrayIcon* obj) { delete obj; } + QMenu* contextMenu(QSystemTrayIcon* theWrappedObject) const; + bool event(QSystemTrayIcon* theWrappedObject, QEvent* event); + QRect geometry(QSystemTrayIcon* theWrappedObject) const; + QIcon icon(QSystemTrayIcon* theWrappedObject) const; + bool static_QSystemTrayIcon_isSystemTrayAvailable(); + bool isVisible(QSystemTrayIcon* theWrappedObject) const; + void setContextMenu(QSystemTrayIcon* theWrappedObject, QMenu* menu); + void setIcon(QSystemTrayIcon* theWrappedObject, const QIcon& icon); + void setToolTip(QSystemTrayIcon* theWrappedObject, const QString& tip); + void showMessage(QSystemTrayIcon* theWrappedObject, const QString& title, const QString& msg, QSystemTrayIcon::MessageIcon icon = QSystemTrayIcon::Information, int msecs = 10000); + bool static_QSystemTrayIcon_supportsMessages(); + QString toolTip(QSystemTrayIcon* theWrappedObject) const; +}; + + + + + +class PythonQtShell_QTabBar : public QTabBar +{ +public: + PythonQtShell_QTabBar(QWidget* parent = 0):QTabBar(parent),_wrapper(NULL) {}; + +virtual void actionEvent(QActionEvent* arg__1); +virtual void changeEvent(QEvent* arg__1); +virtual void childEvent(QChildEvent* arg__1); +virtual void closeEvent(QCloseEvent* arg__1); +virtual void contextMenuEvent(QContextMenuEvent* arg__1); +virtual void customEvent(QEvent* arg__1); +virtual int devType() const; +virtual void dragEnterEvent(QDragEnterEvent* arg__1); +virtual void dragLeaveEvent(QDragLeaveEvent* arg__1); +virtual void dragMoveEvent(QDragMoveEvent* arg__1); +virtual void dropEvent(QDropEvent* arg__1); +virtual void enterEvent(QEvent* arg__1); +virtual bool event(QEvent* arg__1); +virtual bool eventFilter(QObject* arg__1, QEvent* arg__2); +virtual void focusInEvent(QFocusEvent* arg__1); +virtual bool focusNextPrevChild(bool next); +virtual void focusOutEvent(QFocusEvent* arg__1); +virtual int heightForWidth(int arg__1) const; +virtual void hideEvent(QHideEvent* arg__1); +virtual void inputMethodEvent(QInputMethodEvent* arg__1); +virtual QVariant inputMethodQuery(Qt::InputMethodQuery arg__1) const; +virtual void keyPressEvent(QKeyEvent* arg__1); +virtual void keyReleaseEvent(QKeyEvent* arg__1); +virtual void languageChange(); +virtual void leaveEvent(QEvent* arg__1); +virtual int metric(QPaintDevice::PaintDeviceMetric arg__1) const; +virtual void mouseDoubleClickEvent(QMouseEvent* arg__1); +virtual void mouseMoveEvent(QMouseEvent* arg__1); +virtual void mousePressEvent(QMouseEvent* arg__1); +virtual void mouseReleaseEvent(QMouseEvent* arg__1); +virtual void moveEvent(QMoveEvent* arg__1); +virtual QPaintEngine* paintEngine() const; +virtual void paintEvent(QPaintEvent* arg__1); +virtual void resizeEvent(QResizeEvent* arg__1); +virtual void showEvent(QShowEvent* arg__1); +virtual void tabInserted(int index); +virtual void tabLayoutChange(); +virtual void tabRemoved(int index); +virtual QSize tabSizeHint(int index) const; +virtual void tabletEvent(QTabletEvent* arg__1); +virtual void timerEvent(QTimerEvent* arg__1); +virtual void wheelEvent(QWheelEvent* event); + + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtPublicPromoter_QTabBar : public QTabBar +{ public: +inline void promoted_changeEvent(QEvent* arg__1) { QTabBar::changeEvent(arg__1); } +inline bool promoted_event(QEvent* arg__1) { return QTabBar::event(arg__1); } +inline void promoted_hideEvent(QHideEvent* arg__1) { QTabBar::hideEvent(arg__1); } +inline void promoted_keyPressEvent(QKeyEvent* arg__1) { QTabBar::keyPressEvent(arg__1); } +inline void promoted_mouseMoveEvent(QMouseEvent* arg__1) { QTabBar::mouseMoveEvent(arg__1); } +inline void promoted_mousePressEvent(QMouseEvent* arg__1) { QTabBar::mousePressEvent(arg__1); } +inline void promoted_mouseReleaseEvent(QMouseEvent* arg__1) { QTabBar::mouseReleaseEvent(arg__1); } +inline void promoted_paintEvent(QPaintEvent* arg__1) { QTabBar::paintEvent(arg__1); } +inline void promoted_resizeEvent(QResizeEvent* arg__1) { QTabBar::resizeEvent(arg__1); } +inline void promoted_showEvent(QShowEvent* arg__1) { QTabBar::showEvent(arg__1); } +inline void promoted_tabInserted(int index) { QTabBar::tabInserted(index); } +inline void promoted_tabLayoutChange() { QTabBar::tabLayoutChange(); } +inline void promoted_tabRemoved(int index) { QTabBar::tabRemoved(index); } +inline QSize promoted_tabSizeHint(int index) const { return QTabBar::tabSizeHint(index); } +inline void promoted_wheelEvent(QWheelEvent* event) { QTabBar::wheelEvent(event); } +}; + +class PythonQtWrapper_QTabBar : public QObject +{ Q_OBJECT +public: +Q_ENUMS(SelectionBehavior ButtonPosition ) +enum SelectionBehavior{ + SelectLeftTab = QTabBar::SelectLeftTab, SelectRightTab = QTabBar::SelectRightTab, SelectPreviousTab = QTabBar::SelectPreviousTab}; +enum ButtonPosition{ + LeftSide = QTabBar::LeftSide, RightSide = QTabBar::RightSide}; +public slots: +QTabBar* new_QTabBar(QWidget* parent = 0); +void delete_QTabBar(QTabBar* obj) { delete obj; } + int addTab(QTabBar* theWrappedObject, const QIcon& icon, const QString& text); + int addTab(QTabBar* theWrappedObject, const QString& text); + void changeEvent(QTabBar* theWrappedObject, QEvent* arg__1); + int count(QTabBar* theWrappedObject) const; + int currentIndex(QTabBar* theWrappedObject) const; + bool documentMode(QTabBar* theWrappedObject) const; + bool drawBase(QTabBar* theWrappedObject) const; + Qt::TextElideMode elideMode(QTabBar* theWrappedObject) const; + bool event(QTabBar* theWrappedObject, QEvent* arg__1); + bool expanding(QTabBar* theWrappedObject) const; + void hideEvent(QTabBar* theWrappedObject, QHideEvent* arg__1); + QSize iconSize(QTabBar* theWrappedObject) const; + int insertTab(QTabBar* theWrappedObject, int index, const QIcon& icon, const QString& text); + int insertTab(QTabBar* theWrappedObject, int index, const QString& text); + bool isMovable(QTabBar* theWrappedObject) const; + bool isTabEnabled(QTabBar* theWrappedObject, int index) const; + void keyPressEvent(QTabBar* theWrappedObject, QKeyEvent* arg__1); + QSize minimumSizeHint(QTabBar* theWrappedObject) const; + void mouseMoveEvent(QTabBar* theWrappedObject, QMouseEvent* arg__1); + void mousePressEvent(QTabBar* theWrappedObject, QMouseEvent* arg__1); + void mouseReleaseEvent(QTabBar* theWrappedObject, QMouseEvent* arg__1); + void moveTab(QTabBar* theWrappedObject, int from, int to); + void paintEvent(QTabBar* theWrappedObject, QPaintEvent* arg__1); + void removeTab(QTabBar* theWrappedObject, int index); + void resizeEvent(QTabBar* theWrappedObject, QResizeEvent* arg__1); + QTabBar::SelectionBehavior selectionBehaviorOnRemove(QTabBar* theWrappedObject) const; + void setDocumentMode(QTabBar* theWrappedObject, bool set); + void setDrawBase(QTabBar* theWrappedObject, bool drawTheBase); + void setElideMode(QTabBar* theWrappedObject, Qt::TextElideMode arg__1); + void setExpanding(QTabBar* theWrappedObject, bool enabled); + void setIconSize(QTabBar* theWrappedObject, const QSize& size); + void setMovable(QTabBar* theWrappedObject, bool movable); + void setSelectionBehaviorOnRemove(QTabBar* theWrappedObject, QTabBar::SelectionBehavior behavior); + void setShape(QTabBar* theWrappedObject, QTabBar::Shape shape); + void setTabButton(QTabBar* theWrappedObject, int index, QTabBar::ButtonPosition position, QWidget* widget); + void setTabData(QTabBar* theWrappedObject, int index, const QVariant& data); + void setTabEnabled(QTabBar* theWrappedObject, int index, bool arg__2); + void setTabIcon(QTabBar* theWrappedObject, int index, const QIcon& icon); + void setTabText(QTabBar* theWrappedObject, int index, const QString& text); + void setTabTextColor(QTabBar* theWrappedObject, int index, const QColor& color); + void setTabToolTip(QTabBar* theWrappedObject, int index, const QString& tip); + void setTabWhatsThis(QTabBar* theWrappedObject, int index, const QString& text); + void setTabsClosable(QTabBar* theWrappedObject, bool closable); + void setUsesScrollButtons(QTabBar* theWrappedObject, bool useButtons); + QTabBar::Shape shape(QTabBar* theWrappedObject) const; + void showEvent(QTabBar* theWrappedObject, QShowEvent* arg__1); + QSize sizeHint(QTabBar* theWrappedObject) const; + int tabAt(QTabBar* theWrappedObject, const QPoint& pos) const; + QWidget* tabButton(QTabBar* theWrappedObject, int index, QTabBar::ButtonPosition position) const; + QVariant tabData(QTabBar* theWrappedObject, int index) const; + QIcon tabIcon(QTabBar* theWrappedObject, int index) const; + void tabInserted(QTabBar* theWrappedObject, int index); + void tabLayoutChange(QTabBar* theWrappedObject); + QRect tabRect(QTabBar* theWrappedObject, int index) const; + void tabRemoved(QTabBar* theWrappedObject, int index); + QSize tabSizeHint(QTabBar* theWrappedObject, int index) const; + QString tabText(QTabBar* theWrappedObject, int index) const; + QColor tabTextColor(QTabBar* theWrappedObject, int index) const; + QString tabToolTip(QTabBar* theWrappedObject, int index) const; + QString tabWhatsThis(QTabBar* theWrappedObject, int index) const; + bool tabsClosable(QTabBar* theWrappedObject) const; + bool usesScrollButtons(QTabBar* theWrappedObject) const; + void wheelEvent(QTabBar* theWrappedObject, QWheelEvent* event); +}; + + + + + +class PythonQtShell_QTabWidget : public QTabWidget +{ +public: + PythonQtShell_QTabWidget(QWidget* parent = 0):QTabWidget(parent),_wrapper(NULL) {}; + +virtual void actionEvent(QActionEvent* arg__1); +virtual void changeEvent(QEvent* arg__1); +virtual void childEvent(QChildEvent* arg__1); +virtual void closeEvent(QCloseEvent* arg__1); +virtual void contextMenuEvent(QContextMenuEvent* arg__1); +virtual void customEvent(QEvent* arg__1); +virtual int devType() const; +virtual void dragEnterEvent(QDragEnterEvent* arg__1); +virtual void dragLeaveEvent(QDragLeaveEvent* arg__1); +virtual void dragMoveEvent(QDragMoveEvent* arg__1); +virtual void dropEvent(QDropEvent* arg__1); +virtual void enterEvent(QEvent* arg__1); +virtual bool event(QEvent* arg__1); +virtual bool eventFilter(QObject* arg__1, QEvent* arg__2); +virtual void focusInEvent(QFocusEvent* arg__1); +virtual bool focusNextPrevChild(bool next); +virtual void focusOutEvent(QFocusEvent* arg__1); +virtual int heightForWidth(int arg__1) const; +virtual void hideEvent(QHideEvent* arg__1); +virtual void inputMethodEvent(QInputMethodEvent* arg__1); +virtual QVariant inputMethodQuery(Qt::InputMethodQuery arg__1) const; +virtual void keyPressEvent(QKeyEvent* arg__1); +virtual void keyReleaseEvent(QKeyEvent* arg__1); +virtual void languageChange(); +virtual void leaveEvent(QEvent* arg__1); +virtual int metric(QPaintDevice::PaintDeviceMetric arg__1) const; +virtual void mouseDoubleClickEvent(QMouseEvent* arg__1); +virtual void mouseMoveEvent(QMouseEvent* arg__1); +virtual void mousePressEvent(QMouseEvent* arg__1); +virtual void mouseReleaseEvent(QMouseEvent* arg__1); +virtual void moveEvent(QMoveEvent* arg__1); +virtual QPaintEngine* paintEngine() const; +virtual void paintEvent(QPaintEvent* arg__1); +virtual void resizeEvent(QResizeEvent* arg__1); +virtual void showEvent(QShowEvent* arg__1); +virtual void tabInserted(int index); +virtual void tabRemoved(int index); +virtual void tabletEvent(QTabletEvent* arg__1); +virtual void timerEvent(QTimerEvent* arg__1); +virtual void wheelEvent(QWheelEvent* arg__1); + + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtPublicPromoter_QTabWidget : public QTabWidget +{ public: +inline void promoted_changeEvent(QEvent* arg__1) { QTabWidget::changeEvent(arg__1); } +inline bool promoted_event(QEvent* arg__1) { return QTabWidget::event(arg__1); } +inline void promoted_keyPressEvent(QKeyEvent* arg__1) { QTabWidget::keyPressEvent(arg__1); } +inline void promoted_paintEvent(QPaintEvent* arg__1) { QTabWidget::paintEvent(arg__1); } +inline void promoted_resizeEvent(QResizeEvent* arg__1) { QTabWidget::resizeEvent(arg__1); } +inline void promoted_showEvent(QShowEvent* arg__1) { QTabWidget::showEvent(arg__1); } +inline void promoted_tabInserted(int index) { QTabWidget::tabInserted(index); } +inline void promoted_tabRemoved(int index) { QTabWidget::tabRemoved(index); } +}; + +class PythonQtWrapper_QTabWidget : public QObject +{ Q_OBJECT +public: +public slots: +QTabWidget* new_QTabWidget(QWidget* parent = 0); +void delete_QTabWidget(QTabWidget* obj) { delete obj; } + int addTab(QTabWidget* theWrappedObject, QWidget* widget, const QIcon& icon, const QString& label); + int addTab(QTabWidget* theWrappedObject, QWidget* widget, const QString& arg__2); + void changeEvent(QTabWidget* theWrappedObject, QEvent* arg__1); + void clear(QTabWidget* theWrappedObject); + QWidget* cornerWidget(QTabWidget* theWrappedObject, Qt::Corner corner = Qt::TopRightCorner) const; + int count(QTabWidget* theWrappedObject) const; + int currentIndex(QTabWidget* theWrappedObject) const; + QWidget* currentWidget(QTabWidget* theWrappedObject) const; + bool documentMode(QTabWidget* theWrappedObject) const; + Qt::TextElideMode elideMode(QTabWidget* theWrappedObject) const; + bool event(QTabWidget* theWrappedObject, QEvent* arg__1); + QSize iconSize(QTabWidget* theWrappedObject) const; + int indexOf(QTabWidget* theWrappedObject, QWidget* widget) const; + int insertTab(QTabWidget* theWrappedObject, int index, QWidget* widget, const QIcon& icon, const QString& label); + int insertTab(QTabWidget* theWrappedObject, int index, QWidget* widget, const QString& arg__3); + bool isMovable(QTabWidget* theWrappedObject) const; + bool isTabEnabled(QTabWidget* theWrappedObject, int index) const; + void keyPressEvent(QTabWidget* theWrappedObject, QKeyEvent* arg__1); + QSize minimumSizeHint(QTabWidget* theWrappedObject) const; + void paintEvent(QTabWidget* theWrappedObject, QPaintEvent* arg__1); + void removeTab(QTabWidget* theWrappedObject, int index); + void resizeEvent(QTabWidget* theWrappedObject, QResizeEvent* arg__1); + void setCornerWidget(QTabWidget* theWrappedObject, QWidget* w, Qt::Corner corner = Qt::TopRightCorner); + void setDocumentMode(QTabWidget* theWrappedObject, bool set); + void setElideMode(QTabWidget* theWrappedObject, Qt::TextElideMode arg__1); + void setIconSize(QTabWidget* theWrappedObject, const QSize& size); + void setMovable(QTabWidget* theWrappedObject, bool movable); + void setTabEnabled(QTabWidget* theWrappedObject, int index, bool arg__2); + void setTabIcon(QTabWidget* theWrappedObject, int index, const QIcon& icon); + void setTabPosition(QTabWidget* theWrappedObject, QTabWidget::TabPosition arg__1); + void setTabShape(QTabWidget* theWrappedObject, QTabWidget::TabShape s); + void setTabText(QTabWidget* theWrappedObject, int index, const QString& arg__2); + void setTabToolTip(QTabWidget* theWrappedObject, int index, const QString& tip); + void setTabWhatsThis(QTabWidget* theWrappedObject, int index, const QString& text); + void setTabsClosable(QTabWidget* theWrappedObject, bool closeable); + void setUsesScrollButtons(QTabWidget* theWrappedObject, bool useButtons); + void showEvent(QTabWidget* theWrappedObject, QShowEvent* arg__1); + QSize sizeHint(QTabWidget* theWrappedObject) const; + QIcon tabIcon(QTabWidget* theWrappedObject, int index) const; + void tabInserted(QTabWidget* theWrappedObject, int index); + QTabWidget::TabPosition tabPosition(QTabWidget* theWrappedObject) const; + void tabRemoved(QTabWidget* theWrappedObject, int index); + QTabWidget::TabShape tabShape(QTabWidget* theWrappedObject) const; + QString tabText(QTabWidget* theWrappedObject, int index) const; + QString tabToolTip(QTabWidget* theWrappedObject, int index) const; + QString tabWhatsThis(QTabWidget* theWrappedObject, int index) const; + bool tabsClosable(QTabWidget* theWrappedObject) const; + bool usesScrollButtons(QTabWidget* theWrappedObject) const; + QWidget* widget(QTabWidget* theWrappedObject, int index) const; +}; + + + + + +class PythonQtShell_QTableView : public QTableView +{ +public: + PythonQtShell_QTableView(QWidget* parent = 0):QTableView(parent),_wrapper(NULL) {}; + +virtual void actionEvent(QActionEvent* arg__1); +virtual void changeEvent(QEvent* arg__1); +virtual void childEvent(QChildEvent* arg__1); +virtual void closeEditor(QWidget* editor, QAbstractItemDelegate::EndEditHint hint); +virtual void closeEvent(QCloseEvent* arg__1); +virtual void commitData(QWidget* editor); +virtual void contextMenuEvent(QContextMenuEvent* arg__1); +virtual void currentChanged(const QModelIndex& current, const QModelIndex& previous); +virtual void customEvent(QEvent* arg__1); +virtual void dataChanged(const QModelIndex& topLeft, const QModelIndex& bottomRight); +virtual int devType() const; +virtual void doItemsLayout(); +virtual void dragEnterEvent(QDragEnterEvent* event); +virtual void dragLeaveEvent(QDragLeaveEvent* event); +virtual void dragMoveEvent(QDragMoveEvent* event); +virtual void dropEvent(QDropEvent* event); +virtual bool edit(const QModelIndex& index, QAbstractItemView::EditTrigger trigger, QEvent* event); +virtual void editorDestroyed(QObject* editor); +virtual void enterEvent(QEvent* arg__1); +virtual bool event(QEvent* event); +virtual bool eventFilter(QObject* arg__1, QEvent* arg__2); +virtual void focusInEvent(QFocusEvent* event); +virtual bool focusNextPrevChild(bool next); +virtual void focusOutEvent(QFocusEvent* event); +virtual int heightForWidth(int arg__1) const; +virtual void hideEvent(QHideEvent* arg__1); +virtual int horizontalOffset() const; +virtual void horizontalScrollbarAction(int action); +virtual void horizontalScrollbarValueChanged(int value); +virtual QModelIndex indexAt(const QPoint& p) const; +virtual void inputMethodEvent(QInputMethodEvent* event); +virtual QVariant inputMethodQuery(Qt::InputMethodQuery query) const; +virtual bool isIndexHidden(const QModelIndex& index) const; +virtual void keyPressEvent(QKeyEvent* event); +virtual void keyReleaseEvent(QKeyEvent* arg__1); +virtual void keyboardSearch(const QString& search); +virtual void languageChange(); +virtual void leaveEvent(QEvent* arg__1); +virtual int metric(QPaintDevice::PaintDeviceMetric arg__1) const; +virtual void mouseDoubleClickEvent(QMouseEvent* event); +virtual void mouseMoveEvent(QMouseEvent* event); +virtual void mousePressEvent(QMouseEvent* event); +virtual void mouseReleaseEvent(QMouseEvent* event); +virtual void moveEvent(QMoveEvent* arg__1); +virtual QPaintEngine* paintEngine() const; +virtual void paintEvent(QPaintEvent* e); +virtual void reset(); +virtual void resizeEvent(QResizeEvent* event); +virtual void rowsAboutToBeRemoved(const QModelIndex& parent, int start, int end); +virtual void rowsInserted(const QModelIndex& parent, int start, int end); +virtual void scrollContentsBy(int dx, int dy); +virtual void scrollTo(const QModelIndex& index, QAbstractItemView::ScrollHint hint = QAbstractItemView::EnsureVisible); +virtual void selectAll(); +virtual QList selectedIndexes() const; +virtual void selectionChanged(const QItemSelection& selected, const QItemSelection& deselected); +virtual QItemSelectionModel::SelectionFlags selectionCommand(const QModelIndex& index, const QEvent* event) const; +virtual void setModel(QAbstractItemModel* model); +virtual void setRootIndex(const QModelIndex& index); +virtual void setSelection(const QRect& rect, QItemSelectionModel::SelectionFlags command); +virtual void setSelectionModel(QItemSelectionModel* selectionModel); +virtual void showEvent(QShowEvent* arg__1); +virtual int sizeHintForColumn(int column) const; +virtual int sizeHintForRow(int row) const; +virtual void startDrag(Qt::DropActions supportedActions); +virtual void tabletEvent(QTabletEvent* arg__1); +virtual void timerEvent(QTimerEvent* event); +virtual void updateEditorData(); +virtual void updateEditorGeometries(); +virtual void updateGeometries(); +virtual int verticalOffset() const; +virtual void verticalScrollbarAction(int action); +virtual void verticalScrollbarValueChanged(int value); +virtual QStyleOptionViewItem viewOptions() const; +virtual bool viewportEvent(QEvent* event); +virtual QRect visualRect(const QModelIndex& index) const; +virtual QRegion visualRegionForSelection(const QItemSelection& selection) const; +virtual void wheelEvent(QWheelEvent* arg__1); + + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtPublicPromoter_QTableView : public QTableView +{ public: +inline void promoted_currentChanged(const QModelIndex& current, const QModelIndex& previous) { QTableView::currentChanged(current, previous); } +inline int promoted_horizontalOffset() const { return QTableView::horizontalOffset(); } +inline void promoted_horizontalScrollbarAction(int action) { QTableView::horizontalScrollbarAction(action); } +inline QModelIndex promoted_indexAt(const QPoint& p) const { return QTableView::indexAt(p); } +inline bool promoted_isIndexHidden(const QModelIndex& index) const { return QTableView::isIndexHidden(index); } +inline void promoted_paintEvent(QPaintEvent* e) { QTableView::paintEvent(e); } +inline void promoted_scrollContentsBy(int dx, int dy) { QTableView::scrollContentsBy(dx, dy); } +inline void promoted_scrollTo(const QModelIndex& index, QAbstractItemView::ScrollHint hint = QAbstractItemView::EnsureVisible) { QTableView::scrollTo(index, hint); } +inline QList promoted_selectedIndexes() const { return QTableView::selectedIndexes(); } +inline void promoted_selectionChanged(const QItemSelection& selected, const QItemSelection& deselected) { QTableView::selectionChanged(selected, deselected); } +inline void promoted_setModel(QAbstractItemModel* model) { QTableView::setModel(model); } +inline void promoted_setRootIndex(const QModelIndex& index) { QTableView::setRootIndex(index); } +inline void promoted_setSelection(const QRect& rect, QItemSelectionModel::SelectionFlags command) { QTableView::setSelection(rect, command); } +inline void promoted_setSelectionModel(QItemSelectionModel* selectionModel) { QTableView::setSelectionModel(selectionModel); } +inline int promoted_sizeHintForColumn(int column) const { return QTableView::sizeHintForColumn(column); } +inline int promoted_sizeHintForRow(int row) const { return QTableView::sizeHintForRow(row); } +inline void promoted_timerEvent(QTimerEvent* event) { QTableView::timerEvent(event); } +inline void promoted_updateGeometries() { QTableView::updateGeometries(); } +inline int promoted_verticalOffset() const { return QTableView::verticalOffset(); } +inline void promoted_verticalScrollbarAction(int action) { QTableView::verticalScrollbarAction(action); } +inline QStyleOptionViewItem promoted_viewOptions() const { return QTableView::viewOptions(); } +inline QRect promoted_visualRect(const QModelIndex& index) const { return QTableView::visualRect(index); } +inline QRegion promoted_visualRegionForSelection(const QItemSelection& selection) const { return QTableView::visualRegionForSelection(selection); } +}; + +class PythonQtWrapper_QTableView : public QObject +{ Q_OBJECT +public: +public slots: +QTableView* new_QTableView(QWidget* parent = 0); +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; + int columnViewportPosition(QTableView* theWrappedObject, int column) const; + int columnWidth(QTableView* theWrappedObject, int column) const; + void currentChanged(QTableView* theWrappedObject, const QModelIndex& current, const QModelIndex& previous); + Qt::PenStyle gridStyle(QTableView* theWrappedObject) const; + QHeaderView* horizontalHeader(QTableView* theWrappedObject) const; + int horizontalOffset(QTableView* theWrappedObject) const; + void horizontalScrollbarAction(QTableView* theWrappedObject, int action); + QModelIndex indexAt(QTableView* theWrappedObject, const QPoint& p) const; + bool isColumnHidden(QTableView* theWrappedObject, int column) const; + bool isCornerButtonEnabled(QTableView* theWrappedObject) const; + bool isIndexHidden(QTableView* theWrappedObject, const QModelIndex& index) const; + bool isRowHidden(QTableView* theWrappedObject, int row) const; + bool isSortingEnabled(QTableView* theWrappedObject) const; + void paintEvent(QTableView* theWrappedObject, QPaintEvent* e); + int rowAt(QTableView* theWrappedObject, int y) const; + int rowHeight(QTableView* theWrappedObject, int row) const; + int rowSpan(QTableView* theWrappedObject, int row, int column) const; + int rowViewportPosition(QTableView* theWrappedObject, int row) const; + void scrollContentsBy(QTableView* theWrappedObject, int dx, int dy); + void scrollTo(QTableView* theWrappedObject, const QModelIndex& index, QAbstractItemView::ScrollHint hint = QAbstractItemView::EnsureVisible); + QList selectedIndexes(QTableView* theWrappedObject) const; + void selectionChanged(QTableView* theWrappedObject, const QItemSelection& selected, const QItemSelection& deselected); + void setColumnHidden(QTableView* theWrappedObject, int column, bool hide); + void setColumnWidth(QTableView* theWrappedObject, int column, int width); + void setCornerButtonEnabled(QTableView* theWrappedObject, bool enable); + void setGridStyle(QTableView* theWrappedObject, Qt::PenStyle style); + void setHorizontalHeader(QTableView* theWrappedObject, QHeaderView* header); + void setModel(QTableView* theWrappedObject, QAbstractItemModel* model); + void setRootIndex(QTableView* theWrappedObject, const QModelIndex& index); + void setRowHeight(QTableView* theWrappedObject, int row, int height); + void setRowHidden(QTableView* theWrappedObject, int row, bool hide); + void setSelection(QTableView* theWrappedObject, const QRect& rect, QItemSelectionModel::SelectionFlags command); + void setSelectionModel(QTableView* theWrappedObject, QItemSelectionModel* selectionModel); + void setSortingEnabled(QTableView* theWrappedObject, bool enable); + void setSpan(QTableView* theWrappedObject, int row, int column, int rowSpan, int columnSpan); + void setVerticalHeader(QTableView* theWrappedObject, QHeaderView* header); + void setWordWrap(QTableView* theWrappedObject, bool on); + bool showGrid(QTableView* theWrappedObject) const; + int sizeHintForColumn(QTableView* theWrappedObject, int column) const; + int sizeHintForRow(QTableView* theWrappedObject, int row) const; + void sortByColumn(QTableView* theWrappedObject, int column, Qt::SortOrder order); + void timerEvent(QTableView* theWrappedObject, QTimerEvent* event); + void updateGeometries(QTableView* theWrappedObject); + QHeaderView* verticalHeader(QTableView* theWrappedObject) const; + int verticalOffset(QTableView* theWrappedObject) const; + void verticalScrollbarAction(QTableView* theWrappedObject, int action); + QStyleOptionViewItem viewOptions(QTableView* theWrappedObject) const; + QRect visualRect(QTableView* theWrappedObject, const QModelIndex& index) const; + QRegion visualRegionForSelection(QTableView* theWrappedObject, const QItemSelection& selection) const; + bool wordWrap(QTableView* theWrappedObject) const; +}; + + + + + +class PythonQtShell_QTableWidget : public QTableWidget +{ +public: + PythonQtShell_QTableWidget(QWidget* parent = 0):QTableWidget(parent),_wrapper(NULL) {}; + PythonQtShell_QTableWidget(int rows, int columns, QWidget* parent = 0):QTableWidget(rows, columns, parent),_wrapper(NULL) {}; + +virtual void actionEvent(QActionEvent* arg__1); +virtual void changeEvent(QEvent* arg__1); +virtual void childEvent(QChildEvent* arg__1); +virtual void closeEditor(QWidget* editor, QAbstractItemDelegate::EndEditHint hint); +virtual void closeEvent(QCloseEvent* arg__1); +virtual void commitData(QWidget* editor); +virtual void contextMenuEvent(QContextMenuEvent* arg__1); +virtual void currentChanged(const QModelIndex& current, const QModelIndex& previous); +virtual void customEvent(QEvent* arg__1); +virtual void dataChanged(const QModelIndex& topLeft, const QModelIndex& bottomRight); +virtual int devType() const; +virtual void doItemsLayout(); +virtual void dragEnterEvent(QDragEnterEvent* event); +virtual void dragLeaveEvent(QDragLeaveEvent* event); +virtual void dragMoveEvent(QDragMoveEvent* event); +virtual void dropEvent(QDropEvent* event); +virtual bool dropMimeData(int row, int column, const QMimeData* data, Qt::DropAction action); +virtual bool edit(const QModelIndex& index, QAbstractItemView::EditTrigger trigger, QEvent* event); +virtual void editorDestroyed(QObject* editor); +virtual void enterEvent(QEvent* arg__1); +virtual bool event(QEvent* e); +virtual bool eventFilter(QObject* arg__1, QEvent* arg__2); +virtual void focusInEvent(QFocusEvent* event); +virtual bool focusNextPrevChild(bool next); +virtual void focusOutEvent(QFocusEvent* event); +virtual int heightForWidth(int arg__1) const; +virtual void hideEvent(QHideEvent* arg__1); +virtual int horizontalOffset() const; +virtual void horizontalScrollbarAction(int action); +virtual void horizontalScrollbarValueChanged(int value); +virtual QModelIndex indexAt(const QPoint& p) const; +virtual void inputMethodEvent(QInputMethodEvent* event); +virtual QVariant inputMethodQuery(Qt::InputMethodQuery query) const; +virtual bool isIndexHidden(const QModelIndex& index) const; +virtual void keyPressEvent(QKeyEvent* event); +virtual void keyReleaseEvent(QKeyEvent* arg__1); +virtual void keyboardSearch(const QString& search); +virtual void languageChange(); +virtual void leaveEvent(QEvent* arg__1); +virtual int metric(QPaintDevice::PaintDeviceMetric arg__1) const; +virtual QMimeData* mimeData(const QList items) const; +virtual QStringList mimeTypes() const; +virtual void mouseDoubleClickEvent(QMouseEvent* event); +virtual void mouseMoveEvent(QMouseEvent* event); +virtual void mousePressEvent(QMouseEvent* event); +virtual void mouseReleaseEvent(QMouseEvent* event); +virtual void moveEvent(QMoveEvent* arg__1); +virtual QPaintEngine* paintEngine() const; +virtual void paintEvent(QPaintEvent* e); +virtual void reset(); +virtual void resizeEvent(QResizeEvent* event); +virtual void rowsAboutToBeRemoved(const QModelIndex& parent, int start, int end); +virtual void rowsInserted(const QModelIndex& parent, int start, int end); +virtual void scrollContentsBy(int dx, int dy); +virtual void scrollTo(const QModelIndex& index, QAbstractItemView::ScrollHint hint); +virtual void selectAll(); +virtual QList selectedIndexes() const; +virtual void selectionChanged(const QItemSelection& selected, const QItemSelection& deselected); +virtual QItemSelectionModel::SelectionFlags selectionCommand(const QModelIndex& index, const QEvent* event) const; +virtual void setRootIndex(const QModelIndex& index); +virtual void setSelection(const QRect& rect, QItemSelectionModel::SelectionFlags command); +virtual void setSelectionModel(QItemSelectionModel* selectionModel); +virtual void showEvent(QShowEvent* arg__1); +virtual int sizeHintForColumn(int column) const; +virtual int sizeHintForRow(int row) const; +virtual void startDrag(Qt::DropActions supportedActions); +virtual Qt::DropActions supportedDropActions() const; +virtual void tabletEvent(QTabletEvent* arg__1); +virtual void timerEvent(QTimerEvent* event); +virtual void updateEditorData(); +virtual void updateEditorGeometries(); +virtual void updateGeometries(); +virtual int verticalOffset() const; +virtual void verticalScrollbarAction(int action); +virtual void verticalScrollbarValueChanged(int value); +virtual QStyleOptionViewItem viewOptions() const; +virtual bool viewportEvent(QEvent* event); +virtual QRect visualRect(const QModelIndex& index) const; +virtual QRegion visualRegionForSelection(const QItemSelection& selection) const; +virtual void wheelEvent(QWheelEvent* arg__1); + + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtPublicPromoter_QTableWidget : public QTableWidget +{ public: +inline void promoted_dropEvent(QDropEvent* event) { QTableWidget::dropEvent(event); } +inline bool promoted_dropMimeData(int row, int column, const QMimeData* data, Qt::DropAction action) { return QTableWidget::dropMimeData(row, column, data, action); } +inline bool promoted_event(QEvent* e) { return QTableWidget::event(e); } +inline QStringList promoted_mimeTypes() const { return QTableWidget::mimeTypes(); } +inline Qt::DropActions promoted_supportedDropActions() const { return QTableWidget::supportedDropActions(); } +}; + +class PythonQtWrapper_QTableWidget : public QObject +{ Q_OBJECT +public: +public slots: +QTableWidget* new_QTableWidget(QWidget* parent = 0); +QTableWidget* new_QTableWidget(int rows, int columns, QWidget* parent = 0); +void delete_QTableWidget(QTableWidget* obj) { delete obj; } + QWidget* cellWidget(QTableWidget* theWrappedObject, int row, int column) const; + void closePersistentEditor(QTableWidget* theWrappedObject, QTableWidgetItem* item); + int column(QTableWidget* theWrappedObject, const QTableWidgetItem* item) const; + int columnCount(QTableWidget* theWrappedObject) const; + int currentColumn(QTableWidget* theWrappedObject) const; + QTableWidgetItem* currentItem(QTableWidget* theWrappedObject) const; + int currentRow(QTableWidget* theWrappedObject) const; + void dropEvent(QTableWidget* theWrappedObject, QDropEvent* event); + bool dropMimeData(QTableWidget* theWrappedObject, int row, int column, const QMimeData* data, Qt::DropAction action); + void editItem(QTableWidget* theWrappedObject, QTableWidgetItem* item); + bool event(QTableWidget* theWrappedObject, QEvent* e); + QList findItems(QTableWidget* theWrappedObject, const QString& text, Qt::MatchFlags flags) const; + QTableWidgetItem* horizontalHeaderItem(QTableWidget* theWrappedObject, int column) const; + QTableWidgetItem* item(QTableWidget* theWrappedObject, int row, int column) const; + QTableWidgetItem* itemAt(QTableWidget* theWrappedObject, const QPoint& p) const; + QTableWidgetItem* itemAt(QTableWidget* theWrappedObject, int x, int y) const; + const QTableWidgetItem* itemPrototype(QTableWidget* theWrappedObject) const; + QStringList mimeTypes(QTableWidget* theWrappedObject) const; + void openPersistentEditor(QTableWidget* theWrappedObject, QTableWidgetItem* item); + void removeCellWidget(QTableWidget* theWrappedObject, int row, int column); + int row(QTableWidget* theWrappedObject, const QTableWidgetItem* item) const; + int rowCount(QTableWidget* theWrappedObject) const; + QList selectedItems(QTableWidget* theWrappedObject); + QList selectedRanges(QTableWidget* theWrappedObject) const; + void setCellWidget(QTableWidget* theWrappedObject, int row, int column, QWidget* widget); + void setColumnCount(QTableWidget* theWrappedObject, int columns); + void setCurrentCell(QTableWidget* theWrappedObject, int row, int column); + void setCurrentCell(QTableWidget* theWrappedObject, int row, int column, QItemSelectionModel::SelectionFlags command); + void setCurrentItem(QTableWidget* theWrappedObject, QTableWidgetItem* item); + void setCurrentItem(QTableWidget* theWrappedObject, QTableWidgetItem* item, QItemSelectionModel::SelectionFlags command); + void setHorizontalHeaderItem(QTableWidget* theWrappedObject, int column, QTableWidgetItem* item); + void setHorizontalHeaderLabels(QTableWidget* theWrappedObject, const QStringList& labels); + void setItem(QTableWidget* theWrappedObject, int row, int column, QTableWidgetItem* item); + void setItemPrototype(QTableWidget* theWrappedObject, const QTableWidgetItem* item); + void setRangeSelected(QTableWidget* theWrappedObject, const QTableWidgetSelectionRange& range, bool select); + void setRowCount(QTableWidget* theWrappedObject, int rows); + void setVerticalHeaderItem(QTableWidget* theWrappedObject, int row, QTableWidgetItem* item); + void setVerticalHeaderLabels(QTableWidget* theWrappedObject, const QStringList& labels); + void sortItems(QTableWidget* theWrappedObject, int column, Qt::SortOrder order = Qt::AscendingOrder); + Qt::DropActions supportedDropActions(QTableWidget* theWrappedObject) const; + QTableWidgetItem* takeHorizontalHeaderItem(QTableWidget* theWrappedObject, int column); + QTableWidgetItem* takeItem(QTableWidget* theWrappedObject, int row, int column); + QTableWidgetItem* takeVerticalHeaderItem(QTableWidget* theWrappedObject, int row); + QTableWidgetItem* verticalHeaderItem(QTableWidget* theWrappedObject, int row) const; + int visualColumn(QTableWidget* theWrappedObject, int logicalColumn) const; + QRect visualItemRect(QTableWidget* theWrappedObject, const QTableWidgetItem* item) const; + int visualRow(QTableWidget* theWrappedObject, int logicalRow) const; +}; + + + + + +class PythonQtShell_QTableWidgetItem : public QTableWidgetItem +{ +public: + PythonQtShell_QTableWidgetItem(const QIcon& icon, const QString& text, int type = Type):QTableWidgetItem(icon, text, type),_wrapper(NULL) {}; + PythonQtShell_QTableWidgetItem(const QString& text, int type = Type):QTableWidgetItem(text, type),_wrapper(NULL) {}; + PythonQtShell_QTableWidgetItem(int type = Type):QTableWidgetItem(type),_wrapper(NULL) {}; + +virtual QTableWidgetItem* clone() const; +virtual QVariant data(int role) const; +virtual bool __lt__(const QTableWidgetItem& other) const; +virtual void read(QDataStream& in); +virtual void setData(int role, const QVariant& value); +virtual void write(QDataStream& out) const; + + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtPublicPromoter_QTableWidgetItem : public QTableWidgetItem +{ public: +inline QTableWidgetItem* promoted_clone() const { return QTableWidgetItem::clone(); } +inline QVariant promoted_data(int role) const { return QTableWidgetItem::data(role); } +inline void promoted_setData(int role, const QVariant& value) { QTableWidgetItem::setData(role, value); } +}; + +class PythonQtWrapper_QTableWidgetItem : public QObject +{ Q_OBJECT +public: +Q_ENUMS(ItemType ) +enum ItemType{ + Type = QTableWidgetItem::Type, UserType = QTableWidgetItem::UserType}; +public slots: +QTableWidgetItem* new_QTableWidgetItem(const QIcon& icon, const QString& text, int type = Type); +QTableWidgetItem* new_QTableWidgetItem(const QString& text, int type = Type); +QTableWidgetItem* new_QTableWidgetItem(int type = Type); +void delete_QTableWidgetItem(QTableWidgetItem* obj) { delete obj; } + QBrush background(QTableWidgetItem* theWrappedObject) const; + Qt::CheckState checkState(QTableWidgetItem* theWrappedObject) const; + QTableWidgetItem* clone(QTableWidgetItem* theWrappedObject) const; + int column(QTableWidgetItem* theWrappedObject) const; + QVariant data(QTableWidgetItem* theWrappedObject, int role) const; + Qt::ItemFlags flags(QTableWidgetItem* theWrappedObject) const; + QFont font(QTableWidgetItem* theWrappedObject) const; + QBrush foreground(QTableWidgetItem* theWrappedObject) const; + QIcon icon(QTableWidgetItem* theWrappedObject) const; + bool isSelected(QTableWidgetItem* theWrappedObject) const; + void writeTo(QTableWidgetItem* theWrappedObject, QDataStream& out); + void readFrom(QTableWidgetItem* theWrappedObject, QDataStream& in); + int row(QTableWidgetItem* theWrappedObject) const; + void setBackground(QTableWidgetItem* theWrappedObject, const QBrush& brush); + void setCheckState(QTableWidgetItem* theWrappedObject, Qt::CheckState state); + void setData(QTableWidgetItem* theWrappedObject, int role, const QVariant& value); + void setFlags(QTableWidgetItem* theWrappedObject, Qt::ItemFlags flags); + void setFont(QTableWidgetItem* theWrappedObject, const QFont& font); + void setForeground(QTableWidgetItem* theWrappedObject, const QBrush& brush); + void setIcon(QTableWidgetItem* theWrappedObject, const QIcon& icon); + void setSelected(QTableWidgetItem* theWrappedObject, bool select); + void setSizeHint(QTableWidgetItem* theWrappedObject, const QSize& size); + void setStatusTip(QTableWidgetItem* theWrappedObject, const QString& statusTip); + void setText(QTableWidgetItem* theWrappedObject, const QString& text); + void setTextAlignment(QTableWidgetItem* theWrappedObject, int alignment); + void setToolTip(QTableWidgetItem* theWrappedObject, const QString& toolTip); + void setWhatsThis(QTableWidgetItem* theWrappedObject, const QString& whatsThis); + QSize sizeHint(QTableWidgetItem* theWrappedObject) const; + QString statusTip(QTableWidgetItem* theWrappedObject) const; + QTableWidget* tableWidget(QTableWidgetItem* theWrappedObject) const; + QString text(QTableWidgetItem* theWrappedObject) const; + int textAlignment(QTableWidgetItem* theWrappedObject) const; + QString toolTip(QTableWidgetItem* theWrappedObject) const; + int type(QTableWidgetItem* theWrappedObject) const; + QString whatsThis(QTableWidgetItem* theWrappedObject) const; +}; + + + + + +class PythonQtWrapper_QTableWidgetSelectionRange : public QObject +{ Q_OBJECT +public: +public slots: +QTableWidgetSelectionRange* new_QTableWidgetSelectionRange(); +QTableWidgetSelectionRange* new_QTableWidgetSelectionRange(const QTableWidgetSelectionRange& other); +QTableWidgetSelectionRange* new_QTableWidgetSelectionRange(int top, int left, int bottom, int right); +void delete_QTableWidgetSelectionRange(QTableWidgetSelectionRange* obj) { delete obj; } + int bottomRow(QTableWidgetSelectionRange* theWrappedObject) const; + int columnCount(QTableWidgetSelectionRange* theWrappedObject) const; + int leftColumn(QTableWidgetSelectionRange* theWrappedObject) const; + int rightColumn(QTableWidgetSelectionRange* theWrappedObject) const; + int rowCount(QTableWidgetSelectionRange* theWrappedObject) const; + int topRow(QTableWidgetSelectionRange* theWrappedObject) const; +}; + + + + + +class PythonQtShell_QTabletEvent : public QTabletEvent +{ +public: + PythonQtShell_QTabletEvent(QEvent::Type t, const QPoint& pos, const QPoint& globalPos, const QPointF& hiResGlobalPos, int device, int pointerType, qreal pressure, int xTilt, int yTilt, qreal tangentialPressure, qreal rotation, int z, Qt::KeyboardModifiers keyState, qint64 uniqueID):QTabletEvent(t, pos, globalPos, hiResGlobalPos, device, pointerType, pressure, xTilt, yTilt, tangentialPressure, rotation, z, keyState, uniqueID),_wrapper(NULL) {}; + + + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtWrapper_QTabletEvent : public QObject +{ Q_OBJECT +public: +Q_ENUMS(TabletDevice PointerType ) +enum TabletDevice{ + NoDevice = QTabletEvent::NoDevice, Puck = QTabletEvent::Puck, Stylus = QTabletEvent::Stylus, Airbrush = QTabletEvent::Airbrush, FourDMouse = QTabletEvent::FourDMouse, XFreeEraser = QTabletEvent::XFreeEraser, RotationStylus = QTabletEvent::RotationStylus}; +enum PointerType{ + UnknownPointer = QTabletEvent::UnknownPointer, Pen = QTabletEvent::Pen, Cursor = QTabletEvent::Cursor, Eraser = QTabletEvent::Eraser}; +public slots: +QTabletEvent* new_QTabletEvent(QEvent::Type t, const QPoint& pos, const QPoint& globalPos, const QPointF& hiResGlobalPos, int device, int pointerType, qreal pressure, int xTilt, int yTilt, qreal tangentialPressure, qreal rotation, int z, Qt::KeyboardModifiers keyState, qint64 uniqueID); +void delete_QTabletEvent(QTabletEvent* obj) { delete obj; } + QTabletEvent::TabletDevice device(QTabletEvent* theWrappedObject) const; + const QPoint* globalPos(QTabletEvent* theWrappedObject) const; + int globalX(QTabletEvent* theWrappedObject) const; + int globalY(QTabletEvent* theWrappedObject) const; + const QPointF* hiResGlobalPos(QTabletEvent* theWrappedObject) const; + qreal hiResGlobalX(QTabletEvent* theWrappedObject) const; + qreal hiResGlobalY(QTabletEvent* theWrappedObject) const; + QTabletEvent::PointerType pointerType(QTabletEvent* theWrappedObject) const; + const QPoint* pos(QTabletEvent* theWrappedObject) const; + qreal pressure(QTabletEvent* theWrappedObject) const; + qreal rotation(QTabletEvent* theWrappedObject) const; + qreal tangentialPressure(QTabletEvent* theWrappedObject) const; + qint64 uniqueId(QTabletEvent* theWrappedObject) const; + int x(QTabletEvent* theWrappedObject) const; + int xTilt(QTabletEvent* theWrappedObject) const; + int y(QTabletEvent* theWrappedObject) const; + int yTilt(QTabletEvent* theWrappedObject) const; + int z(QTabletEvent* theWrappedObject) const; +}; + + + + + +class PythonQtWrapper_QTextBlock : public QObject +{ Q_OBJECT +public: +public slots: +QTextBlock* new_QTextBlock(); +QTextBlock* new_QTextBlock(const QTextBlock& o); +void delete_QTextBlock(QTextBlock* obj) { delete obj; } + QTextBlock::iterator begin(QTextBlock* theWrappedObject) const; + QTextBlockFormat blockFormat(QTextBlock* theWrappedObject) const; + int blockFormatIndex(QTextBlock* theWrappedObject) const; + int blockNumber(QTextBlock* theWrappedObject) const; + QTextCharFormat charFormat(QTextBlock* theWrappedObject) const; + int charFormatIndex(QTextBlock* theWrappedObject) const; + void clearLayout(QTextBlock* theWrappedObject); + bool contains(QTextBlock* theWrappedObject, int position) const; + const QTextDocument* document(QTextBlock* theWrappedObject) const; + QTextBlock::iterator end(QTextBlock* theWrappedObject) const; + int firstLineNumber(QTextBlock* theWrappedObject) const; + int fragmentIndex(QTextBlock* theWrappedObject) const; + bool isValid(QTextBlock* theWrappedObject) const; + bool isVisible(QTextBlock* theWrappedObject) const; + QTextLayout* layout(QTextBlock* theWrappedObject) const; + int length(QTextBlock* theWrappedObject) const; + int lineCount(QTextBlock* theWrappedObject) const; + QTextBlock next(QTextBlock* theWrappedObject) const; + bool __ne__(QTextBlock* theWrappedObject, const QTextBlock& o) const; + bool __lt__(QTextBlock* theWrappedObject, const QTextBlock& o) const; + bool __eq__(QTextBlock* theWrappedObject, const QTextBlock& o) const; + int position(QTextBlock* theWrappedObject) const; + QTextBlock previous(QTextBlock* theWrappedObject) const; + int revision(QTextBlock* theWrappedObject) const; + void setLineCount(QTextBlock* theWrappedObject, int count); + void setRevision(QTextBlock* theWrappedObject, int rev); + void setUserData(QTextBlock* theWrappedObject, QTextBlockUserData* data); + void setUserState(QTextBlock* theWrappedObject, int state); + void setVisible(QTextBlock* theWrappedObject, bool visible); + QString text(QTextBlock* theWrappedObject) const; + QTextList* textList(QTextBlock* theWrappedObject) const; + QTextBlockUserData* userData(QTextBlock* theWrappedObject) const; + int userState(QTextBlock* theWrappedObject) const; +}; + + + + + +class PythonQtShell_QTextBlockFormat : public QTextBlockFormat +{ +public: + PythonQtShell_QTextBlockFormat():QTextBlockFormat(),_wrapper(NULL) {}; + PythonQtShell_QTextBlockFormat(const QTextFormat& fmt):QTextBlockFormat(fmt),_wrapper(NULL) {}; + + + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtWrapper_QTextBlockFormat : public QObject +{ Q_OBJECT +public: +public slots: +QTextBlockFormat* new_QTextBlockFormat(); +QTextBlockFormat* new_QTextBlockFormat(const QTextBlockFormat& other) { +PythonQtShell_QTextBlockFormat* a = new PythonQtShell_QTextBlockFormat(); +*((QTextBlockFormat*)a) = other; +return a; } +void delete_QTextBlockFormat(QTextBlockFormat* obj) { delete obj; } + Qt::Alignment alignment(QTextBlockFormat* theWrappedObject) const; + qreal bottomMargin(QTextBlockFormat* theWrappedObject) const; + int indent(QTextBlockFormat* theWrappedObject) const; + bool isValid(QTextBlockFormat* theWrappedObject) const; + qreal leftMargin(QTextBlockFormat* theWrappedObject) const; + bool nonBreakableLines(QTextBlockFormat* theWrappedObject) const; + QTextFormat::PageBreakFlags pageBreakPolicy(QTextBlockFormat* theWrappedObject) const; + qreal rightMargin(QTextBlockFormat* theWrappedObject) const; + void setAlignment(QTextBlockFormat* theWrappedObject, Qt::Alignment alignment); + void setBottomMargin(QTextBlockFormat* theWrappedObject, qreal margin); + void setIndent(QTextBlockFormat* theWrappedObject, int indent); + void setLeftMargin(QTextBlockFormat* theWrappedObject, qreal margin); + void setNonBreakableLines(QTextBlockFormat* theWrappedObject, bool b); + void setPageBreakPolicy(QTextBlockFormat* theWrappedObject, QTextFormat::PageBreakFlags flags); + void setRightMargin(QTextBlockFormat* theWrappedObject, qreal margin); + void setTabPositions(QTextBlockFormat* theWrappedObject, const QList& tabs); + void setTextIndent(QTextBlockFormat* theWrappedObject, qreal aindent); + void setTopMargin(QTextBlockFormat* theWrappedObject, qreal margin); + QList tabPositions(QTextBlockFormat* theWrappedObject) const; + qreal textIndent(QTextBlockFormat* theWrappedObject) const; + qreal topMargin(QTextBlockFormat* theWrappedObject) const; +}; + + diff --git a/generated_cpp_47/com_trolltech_qt_gui/com_trolltech_qt_gui9.cpp b/generated_cpp_47/com_trolltech_qt_gui/com_trolltech_qt_gui9.cpp new file mode 100644 index 00000000..298f2756 --- /dev/null +++ b/generated_cpp_47/com_trolltech_qt_gui/com_trolltech_qt_gui9.cpp @@ -0,0 +1,9362 @@ +#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 +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include + +void PythonQtShell_QTextBlockGroup::blockFormatChanged(const QTextBlock& block) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "blockFormatChanged"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "const QTextBlock&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&block}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QTextBlockGroup::blockFormatChanged(block); +} +void PythonQtShell_QTextBlockGroup::blockInserted(const QTextBlock& block) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "blockInserted"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "const QTextBlock&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&block}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QTextBlockGroup::blockInserted(block); +} +void PythonQtShell_QTextBlockGroup::blockRemoved(const QTextBlock& block) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "blockRemoved"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "const QTextBlock&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&block}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QTextBlockGroup::blockRemoved(block); +} +void PythonQtShell_QTextBlockGroup::childEvent(QChildEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "childEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QChildEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QTextBlockGroup::childEvent(arg__1); +} +void PythonQtShell_QTextBlockGroup::customEvent(QEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "customEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QTextBlockGroup::customEvent(arg__1); +} +bool PythonQtShell_QTextBlockGroup::event(QEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "event"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue; + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QTextBlockGroup::event(arg__1); +} +bool PythonQtShell_QTextBlockGroup::eventFilter(QObject* arg__1, QEvent* arg__2) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "eventFilter"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue; + void* args[3] = {NULL, (void*)&arg__1, (void*)&arg__2}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QTextBlockGroup::eventFilter(arg__1, arg__2); +} +void PythonQtShell_QTextBlockGroup::timerEvent(QTimerEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "timerEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QTimerEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QTextBlockGroup::timerEvent(arg__1); +} +void PythonQtWrapper_QTextBlockGroup::blockFormatChanged(QTextBlockGroup* theWrappedObject, const QTextBlock& block) +{ + ( ((PythonQtPublicPromoter_QTextBlockGroup*)theWrappedObject)->promoted_blockFormatChanged(block)); +} + +void PythonQtWrapper_QTextBlockGroup::blockInserted(QTextBlockGroup* theWrappedObject, const QTextBlock& block) +{ + ( ((PythonQtPublicPromoter_QTextBlockGroup*)theWrappedObject)->promoted_blockInserted(block)); +} + +void PythonQtWrapper_QTextBlockGroup::blockRemoved(QTextBlockGroup* theWrappedObject, const QTextBlock& block) +{ + ( ((PythonQtPublicPromoter_QTextBlockGroup*)theWrappedObject)->promoted_blockRemoved(block)); +} + + + +QTextBlockUserData* PythonQtWrapper_QTextBlockUserData::new_QTextBlockUserData() +{ +return new PythonQtShell_QTextBlockUserData(); } + + + +void PythonQtShell_QTextBrowser::actionEvent(QActionEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "actionEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QActionEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QTextBrowser::actionEvent(arg__1); +} +void PythonQtShell_QTextBrowser::backward() +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "backward"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={""}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QTextBrowser::backward(); +} +bool PythonQtShell_QTextBrowser::canInsertFromMimeData(const QMimeData* source) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "canInsertFromMimeData"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "const QMimeData*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue; + void* args[2] = {NULL, (void*)&source}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("canInsertFromMimeData", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QTextBrowser::canInsertFromMimeData(source); +} +void PythonQtShell_QTextBrowser::changeEvent(QEvent* e) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "changeEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&e}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QTextBrowser::changeEvent(e); +} +void PythonQtShell_QTextBrowser::childEvent(QChildEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "childEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QChildEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QTextBrowser::childEvent(arg__1); +} +void PythonQtShell_QTextBrowser::closeEvent(QCloseEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "closeEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QCloseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QTextBrowser::closeEvent(arg__1); +} +void PythonQtShell_QTextBrowser::contextMenuEvent(QContextMenuEvent* e) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "contextMenuEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QContextMenuEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&e}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QTextBrowser::contextMenuEvent(e); +} +QMimeData* PythonQtShell_QTextBrowser::createMimeDataFromSelection() const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "createMimeDataFromSelection"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QMimeData*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QMimeData* returnValue; + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("createMimeDataFromSelection", methodInfo, result); + } else { + returnValue = *((QMimeData**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QTextBrowser::createMimeDataFromSelection(); +} +void PythonQtShell_QTextBrowser::customEvent(QEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "customEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QTextBrowser::customEvent(arg__1); +} +int PythonQtShell_QTextBrowser::devType() const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "devType"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + int returnValue; + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("devType", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QTextBrowser::devType(); +} +void PythonQtShell_QTextBrowser::dragEnterEvent(QDragEnterEvent* e) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dragEnterEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QDragEnterEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&e}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QTextBrowser::dragEnterEvent(e); +} +void PythonQtShell_QTextBrowser::dragLeaveEvent(QDragLeaveEvent* e) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dragLeaveEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QDragLeaveEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&e}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QTextBrowser::dragLeaveEvent(e); +} +void PythonQtShell_QTextBrowser::dragMoveEvent(QDragMoveEvent* e) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dragMoveEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QDragMoveEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&e}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QTextBrowser::dragMoveEvent(e); +} +void PythonQtShell_QTextBrowser::dropEvent(QDropEvent* e) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dropEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QDropEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&e}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QTextBrowser::dropEvent(e); +} +void PythonQtShell_QTextBrowser::enterEvent(QEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "enterEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QTextBrowser::enterEvent(arg__1); +} +bool PythonQtShell_QTextBrowser::event(QEvent* e) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "event"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue; + void* args[2] = {NULL, (void*)&e}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QTextBrowser::event(e); +} +bool PythonQtShell_QTextBrowser::eventFilter(QObject* arg__1, QEvent* arg__2) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "eventFilter"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue; + void* args[3] = {NULL, (void*)&arg__1, (void*)&arg__2}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QTextBrowser::eventFilter(arg__1, arg__2); +} +void PythonQtShell_QTextBrowser::focusInEvent(QFocusEvent* e) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "focusInEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QFocusEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&e}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QTextBrowser::focusInEvent(e); +} +bool PythonQtShell_QTextBrowser::focusNextPrevChild(bool next) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "focusNextPrevChild"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue; + void* args[2] = {NULL, (void*)&next}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("focusNextPrevChild", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QTextBrowser::focusNextPrevChild(next); +} +void PythonQtShell_QTextBrowser::focusOutEvent(QFocusEvent* ev) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "focusOutEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QFocusEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&ev}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QTextBrowser::focusOutEvent(ev); +} +void PythonQtShell_QTextBrowser::forward() +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "forward"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={""}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QTextBrowser::forward(); +} +int PythonQtShell_QTextBrowser::heightForWidth(int arg__1) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "heightForWidth"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"int" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + int returnValue; + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("heightForWidth", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QTextBrowser::heightForWidth(arg__1); +} +void PythonQtShell_QTextBrowser::hideEvent(QHideEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "hideEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QHideEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QTextBrowser::hideEvent(arg__1); +} +void PythonQtShell_QTextBrowser::home() +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "home"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={""}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QTextBrowser::home(); +} +void PythonQtShell_QTextBrowser::inputMethodEvent(QInputMethodEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "inputMethodEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QInputMethodEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QTextBrowser::inputMethodEvent(arg__1); +} +QVariant PythonQtShell_QTextBrowser::inputMethodQuery(Qt::InputMethodQuery property) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "inputMethodQuery"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QVariant" , "Qt::InputMethodQuery"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + QVariant returnValue; + void* args[2] = {NULL, (void*)&property}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result); + } else { + returnValue = *((QVariant*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QTextBrowser::inputMethodQuery(property); +} +void PythonQtShell_QTextBrowser::insertFromMimeData(const QMimeData* source) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "insertFromMimeData"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "const QMimeData*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&source}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QTextBrowser::insertFromMimeData(source); +} +void PythonQtShell_QTextBrowser::keyPressEvent(QKeyEvent* ev) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "keyPressEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QKeyEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&ev}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QTextBrowser::keyPressEvent(ev); +} +void PythonQtShell_QTextBrowser::keyReleaseEvent(QKeyEvent* e) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "keyReleaseEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QKeyEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&e}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QTextBrowser::keyReleaseEvent(e); +} +void PythonQtShell_QTextBrowser::languageChange() +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "languageChange"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={""}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QTextBrowser::languageChange(); +} +void PythonQtShell_QTextBrowser::leaveEvent(QEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "leaveEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QTextBrowser::leaveEvent(arg__1); +} +QVariant PythonQtShell_QTextBrowser::loadResource(int type, const QUrl& name) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "loadResource"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QVariant" , "int" , "const QUrl&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + QVariant returnValue; + void* args[3] = {NULL, (void*)&type, (void*)&name}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("loadResource", methodInfo, result); + } else { + returnValue = *((QVariant*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QTextBrowser::loadResource(type, name); +} +int PythonQtShell_QTextBrowser::metric(QPaintDevice::PaintDeviceMetric arg__1) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "metric"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + int returnValue; + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("metric", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QTextBrowser::metric(arg__1); +} +void PythonQtShell_QTextBrowser::mouseDoubleClickEvent(QMouseEvent* e) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mouseDoubleClickEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&e}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QTextBrowser::mouseDoubleClickEvent(e); +} +void PythonQtShell_QTextBrowser::mouseMoveEvent(QMouseEvent* ev) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mouseMoveEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&ev}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QTextBrowser::mouseMoveEvent(ev); +} +void PythonQtShell_QTextBrowser::mousePressEvent(QMouseEvent* ev) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mousePressEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&ev}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QTextBrowser::mousePressEvent(ev); +} +void PythonQtShell_QTextBrowser::mouseReleaseEvent(QMouseEvent* ev) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mouseReleaseEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&ev}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QTextBrowser::mouseReleaseEvent(ev); +} +void PythonQtShell_QTextBrowser::moveEvent(QMoveEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "moveEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QMoveEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QTextBrowser::moveEvent(arg__1); +} +QPaintEngine* PythonQtShell_QTextBrowser::paintEngine() const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "paintEngine"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QPaintEngine*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QPaintEngine* returnValue; + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); + } else { + returnValue = *((QPaintEngine**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QTextBrowser::paintEngine(); +} +void PythonQtShell_QTextBrowser::paintEvent(QPaintEvent* e) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "paintEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QPaintEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&e}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QTextBrowser::paintEvent(e); +} +void PythonQtShell_QTextBrowser::reload() +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "reload"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={""}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QTextBrowser::reload(); +} +void PythonQtShell_QTextBrowser::resizeEvent(QResizeEvent* e) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "resizeEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QResizeEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&e}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QTextBrowser::resizeEvent(e); +} +void PythonQtShell_QTextBrowser::scrollContentsBy(int dx, int dy) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "scrollContentsBy"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "int" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + void* args[3] = {NULL, (void*)&dx, (void*)&dy}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QTextBrowser::scrollContentsBy(dx, dy); +} +void PythonQtShell_QTextBrowser::setSource(const QUrl& name) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "setSource"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "const QUrl&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&name}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QTextBrowser::setSource(name); +} +void PythonQtShell_QTextBrowser::showEvent(QShowEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "showEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QShowEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QTextBrowser::showEvent(arg__1); +} +void PythonQtShell_QTextBrowser::tabletEvent(QTabletEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "tabletEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QTabletEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QTextBrowser::tabletEvent(arg__1); +} +void PythonQtShell_QTextBrowser::timerEvent(QTimerEvent* e) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "timerEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QTimerEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&e}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QTextBrowser::timerEvent(e); +} +bool PythonQtShell_QTextBrowser::viewportEvent(QEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "viewportEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue; + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("viewportEvent", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QTextBrowser::viewportEvent(arg__1); +} +void PythonQtShell_QTextBrowser::wheelEvent(QWheelEvent* e) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "wheelEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QWheelEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&e}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QTextBrowser::wheelEvent(e); +} +QTextBrowser* PythonQtWrapper_QTextBrowser::new_QTextBrowser(QWidget* parent) +{ +return new PythonQtShell_QTextBrowser(parent); } + +int PythonQtWrapper_QTextBrowser::backwardHistoryCount(QTextBrowser* theWrappedObject) const +{ + return ( theWrappedObject->backwardHistoryCount()); +} + +void PythonQtWrapper_QTextBrowser::clearHistory(QTextBrowser* theWrappedObject) +{ + ( theWrappedObject->clearHistory()); +} + +bool PythonQtWrapper_QTextBrowser::event(QTextBrowser* theWrappedObject, QEvent* e) +{ + return ( ((PythonQtPublicPromoter_QTextBrowser*)theWrappedObject)->promoted_event(e)); +} + +bool PythonQtWrapper_QTextBrowser::focusNextPrevChild(QTextBrowser* theWrappedObject, bool next) +{ + return ( ((PythonQtPublicPromoter_QTextBrowser*)theWrappedObject)->promoted_focusNextPrevChild(next)); +} + +void PythonQtWrapper_QTextBrowser::focusOutEvent(QTextBrowser* theWrappedObject, QFocusEvent* ev) +{ + ( ((PythonQtPublicPromoter_QTextBrowser*)theWrappedObject)->promoted_focusOutEvent(ev)); +} + +int PythonQtWrapper_QTextBrowser::forwardHistoryCount(QTextBrowser* theWrappedObject) const +{ + return ( theWrappedObject->forwardHistoryCount()); +} + +QString PythonQtWrapper_QTextBrowser::historyTitle(QTextBrowser* theWrappedObject, int arg__1) const +{ + return ( theWrappedObject->historyTitle(arg__1)); +} + +QUrl PythonQtWrapper_QTextBrowser::historyUrl(QTextBrowser* theWrappedObject, int arg__1) const +{ + return ( theWrappedObject->historyUrl(arg__1)); +} + +bool PythonQtWrapper_QTextBrowser::isBackwardAvailable(QTextBrowser* theWrappedObject) const +{ + return ( theWrappedObject->isBackwardAvailable()); +} + +bool PythonQtWrapper_QTextBrowser::isForwardAvailable(QTextBrowser* theWrappedObject) const +{ + return ( theWrappedObject->isForwardAvailable()); +} + +void PythonQtWrapper_QTextBrowser::keyPressEvent(QTextBrowser* theWrappedObject, QKeyEvent* ev) +{ + ( ((PythonQtPublicPromoter_QTextBrowser*)theWrappedObject)->promoted_keyPressEvent(ev)); +} + +QVariant PythonQtWrapper_QTextBrowser::loadResource(QTextBrowser* theWrappedObject, int type, const QUrl& name) +{ + return ( ((PythonQtPublicPromoter_QTextBrowser*)theWrappedObject)->promoted_loadResource(type, name)); +} + +void PythonQtWrapper_QTextBrowser::mouseMoveEvent(QTextBrowser* theWrappedObject, QMouseEvent* ev) +{ + ( ((PythonQtPublicPromoter_QTextBrowser*)theWrappedObject)->promoted_mouseMoveEvent(ev)); +} + +void PythonQtWrapper_QTextBrowser::mousePressEvent(QTextBrowser* theWrappedObject, QMouseEvent* ev) +{ + ( ((PythonQtPublicPromoter_QTextBrowser*)theWrappedObject)->promoted_mousePressEvent(ev)); +} + +void PythonQtWrapper_QTextBrowser::mouseReleaseEvent(QTextBrowser* theWrappedObject, QMouseEvent* ev) +{ + ( ((PythonQtPublicPromoter_QTextBrowser*)theWrappedObject)->promoted_mouseReleaseEvent(ev)); +} + +bool PythonQtWrapper_QTextBrowser::openExternalLinks(QTextBrowser* theWrappedObject) const +{ + return ( theWrappedObject->openExternalLinks()); +} + +bool PythonQtWrapper_QTextBrowser::openLinks(QTextBrowser* theWrappedObject) const +{ + return ( theWrappedObject->openLinks()); +} + +void PythonQtWrapper_QTextBrowser::paintEvent(QTextBrowser* theWrappedObject, QPaintEvent* e) +{ + ( ((PythonQtPublicPromoter_QTextBrowser*)theWrappedObject)->promoted_paintEvent(e)); +} + +QStringList PythonQtWrapper_QTextBrowser::searchPaths(QTextBrowser* theWrappedObject) const +{ + return ( theWrappedObject->searchPaths()); +} + +void PythonQtWrapper_QTextBrowser::setOpenExternalLinks(QTextBrowser* theWrappedObject, bool open) +{ + ( theWrappedObject->setOpenExternalLinks(open)); +} + +void PythonQtWrapper_QTextBrowser::setOpenLinks(QTextBrowser* theWrappedObject, bool open) +{ + ( theWrappedObject->setOpenLinks(open)); +} + +void PythonQtWrapper_QTextBrowser::setSearchPaths(QTextBrowser* theWrappedObject, const QStringList& paths) +{ + ( theWrappedObject->setSearchPaths(paths)); +} + +QUrl PythonQtWrapper_QTextBrowser::source(QTextBrowser* theWrappedObject) const +{ + return ( theWrappedObject->source()); +} + + + +QTextCharFormat* PythonQtWrapper_QTextCharFormat::new_QTextCharFormat() +{ +return new PythonQtShell_QTextCharFormat(); } + +QString PythonQtWrapper_QTextCharFormat::anchorHref(QTextCharFormat* theWrappedObject) const +{ + 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()); +} + +QString PythonQtWrapper_QTextCharFormat::fontFamily(QTextCharFormat* theWrappedObject) const +{ + return ( theWrappedObject->fontFamily()); +} + +bool PythonQtWrapper_QTextCharFormat::fontFixedPitch(QTextCharFormat* theWrappedObject) const +{ + return ( theWrappedObject->fontFixedPitch()); +} + +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()); +} + +bool PythonQtWrapper_QTextCharFormat::fontOverline(QTextCharFormat* theWrappedObject) const +{ + return ( theWrappedObject->fontOverline()); +} + +qreal PythonQtWrapper_QTextCharFormat::fontPointSize(QTextCharFormat* theWrappedObject) const +{ + return ( theWrappedObject->fontPointSize()); +} + +bool PythonQtWrapper_QTextCharFormat::fontStrikeOut(QTextCharFormat* theWrappedObject) const +{ + return ( theWrappedObject->fontStrikeOut()); +} + +QFont::StyleHint PythonQtWrapper_QTextCharFormat::fontStyleHint(QTextCharFormat* theWrappedObject) const +{ + return ( theWrappedObject->fontStyleHint()); +} + +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::setFontCapitalization(QTextCharFormat* theWrappedObject, QFont::Capitalization capitalization) +{ + ( theWrappedObject->setFontCapitalization(capitalization)); +} + +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::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::setFontOverline(QTextCharFormat* theWrappedObject, bool overline) +{ + ( theWrappedObject->setFontOverline(overline)); +} + +void PythonQtWrapper_QTextCharFormat::setFontPointSize(QTextCharFormat* theWrappedObject, qreal size) +{ + ( theWrappedObject->setFontPointSize(size)); +} + +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::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)); +} + +void PythonQtWrapper_QTextCharFormat::setTableCellRowSpan(QTextCharFormat* theWrappedObject, int tableCellRowSpan) +{ + ( theWrappedObject->setTableCellRowSpan(tableCellRowSpan)); +} + +void PythonQtWrapper_QTextCharFormat::setTextOutline(QTextCharFormat* theWrappedObject, const QPen& pen) +{ + ( theWrappedObject->setTextOutline(pen)); +} + +void PythonQtWrapper_QTextCharFormat::setToolTip(QTextCharFormat* theWrappedObject, const QString& tip) +{ + ( theWrappedObject->setToolTip(tip)); +} + +void PythonQtWrapper_QTextCharFormat::setUnderlineColor(QTextCharFormat* theWrappedObject, const QColor& color) +{ + ( theWrappedObject->setUnderlineColor(color)); +} + +void PythonQtWrapper_QTextCharFormat::setUnderlineStyle(QTextCharFormat* theWrappedObject, QTextCharFormat::UnderlineStyle style) +{ + ( theWrappedObject->setUnderlineStyle(style)); +} + +void PythonQtWrapper_QTextCharFormat::setVerticalAlignment(QTextCharFormat* theWrappedObject, QTextCharFormat::VerticalAlignment alignment) +{ + ( theWrappedObject->setVerticalAlignment(alignment)); +} + +int PythonQtWrapper_QTextCharFormat::tableCellColumnSpan(QTextCharFormat* theWrappedObject) const +{ + return ( theWrappedObject->tableCellColumnSpan()); +} + +int PythonQtWrapper_QTextCharFormat::tableCellRowSpan(QTextCharFormat* theWrappedObject) const +{ + return ( theWrappedObject->tableCellRowSpan()); +} + +QPen PythonQtWrapper_QTextCharFormat::textOutline(QTextCharFormat* theWrappedObject) const +{ + return ( theWrappedObject->textOutline()); +} + +QString PythonQtWrapper_QTextCharFormat::toolTip(QTextCharFormat* theWrappedObject) const +{ + return ( theWrappedObject->toolTip()); +} + +QColor PythonQtWrapper_QTextCharFormat::underlineColor(QTextCharFormat* theWrappedObject) const +{ + return ( theWrappedObject->underlineColor()); +} + +QTextCharFormat::UnderlineStyle PythonQtWrapper_QTextCharFormat::underlineStyle(QTextCharFormat* theWrappedObject) const +{ + return ( theWrappedObject->underlineStyle()); +} + +QTextCharFormat::VerticalAlignment PythonQtWrapper_QTextCharFormat::verticalAlignment(QTextCharFormat* theWrappedObject) const +{ + return ( theWrappedObject->verticalAlignment()); +} + + + +QList PythonQtShell_QTextCodecPlugin::aliases() const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "aliases"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QList"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QList returnValue; + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("aliases", methodInfo, result); + } else { + returnValue = *((QList*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QList(); +} +void PythonQtShell_QTextCodecPlugin::childEvent(QChildEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "childEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QChildEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QTextCodecPlugin::childEvent(arg__1); +} +QTextCodec* PythonQtShell_QTextCodecPlugin::createForMib(int mib) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "createForMib"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QTextCodec*" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + QTextCodec* returnValue; + void* args[2] = {NULL, (void*)&mib}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("createForMib", methodInfo, result); + } else { + returnValue = *((QTextCodec**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return 0; +} +QTextCodec* PythonQtShell_QTextCodecPlugin::createForName(const QByteArray& name) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "createForName"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QTextCodec*" , "const QByteArray&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + QTextCodec* returnValue; + void* args[2] = {NULL, (void*)&name}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("createForName", methodInfo, result); + } else { + returnValue = *((QTextCodec**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return 0; +} +void PythonQtShell_QTextCodecPlugin::customEvent(QEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "customEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QTextCodecPlugin::customEvent(arg__1); +} +bool PythonQtShell_QTextCodecPlugin::event(QEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "event"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue; + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QTextCodecPlugin::event(arg__1); +} +bool PythonQtShell_QTextCodecPlugin::eventFilter(QObject* arg__1, QEvent* arg__2) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "eventFilter"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue; + void* args[3] = {NULL, (void*)&arg__1, (void*)&arg__2}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QTextCodecPlugin::eventFilter(arg__1, arg__2); +} +QList PythonQtShell_QTextCodecPlugin::mibEnums() const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mibEnums"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QList"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QList returnValue; + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("mibEnums", methodInfo, result); + } else { + returnValue = *((QList*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QList(); +} +QList PythonQtShell_QTextCodecPlugin::names() const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "names"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QList"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QList returnValue; + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("names", methodInfo, result); + } else { + returnValue = *((QList*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QList(); +} +void PythonQtShell_QTextCodecPlugin::timerEvent(QTimerEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "timerEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QTimerEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QTextCodecPlugin::timerEvent(arg__1); +} +QTextCodecPlugin* PythonQtWrapper_QTextCodecPlugin::new_QTextCodecPlugin(QObject* parent) +{ +return new PythonQtShell_QTextCodecPlugin(parent); } + + + +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 +{ + return ( theWrappedObject->anchor()); +} + +bool PythonQtWrapper_QTextCursor::atBlockEnd(QTextCursor* theWrappedObject) const +{ + return ( theWrappedObject->atBlockEnd()); +} + +bool PythonQtWrapper_QTextCursor::atBlockStart(QTextCursor* theWrappedObject) const +{ + return ( theWrappedObject->atBlockStart()); +} + +bool PythonQtWrapper_QTextCursor::atEnd(QTextCursor* theWrappedObject) const +{ + return ( theWrappedObject->atEnd()); +} + +bool PythonQtWrapper_QTextCursor::atStart(QTextCursor* theWrappedObject) const +{ + return ( theWrappedObject->atStart()); +} + +void PythonQtWrapper_QTextCursor::beginEditBlock(QTextCursor* theWrappedObject) +{ + ( theWrappedObject->beginEditBlock()); +} + +QTextBlock PythonQtWrapper_QTextCursor::block(QTextCursor* theWrappedObject) const +{ + return ( theWrappedObject->block()); +} + +QTextCharFormat PythonQtWrapper_QTextCursor::blockCharFormat(QTextCursor* theWrappedObject) const +{ + return ( theWrappedObject->blockCharFormat()); +} + +QTextBlockFormat PythonQtWrapper_QTextCursor::blockFormat(QTextCursor* theWrappedObject) const +{ + return ( theWrappedObject->blockFormat()); +} + +int PythonQtWrapper_QTextCursor::blockNumber(QTextCursor* theWrappedObject) const +{ + return ( theWrappedObject->blockNumber()); +} + +QTextCharFormat PythonQtWrapper_QTextCursor::charFormat(QTextCursor* theWrappedObject) const +{ + return ( theWrappedObject->charFormat()); +} + +void PythonQtWrapper_QTextCursor::clearSelection(QTextCursor* theWrappedObject) +{ + ( theWrappedObject->clearSelection()); +} + +int PythonQtWrapper_QTextCursor::columnNumber(QTextCursor* theWrappedObject) const +{ + return ( theWrappedObject->columnNumber()); +} + +QTextList* PythonQtWrapper_QTextCursor::createList(QTextCursor* theWrappedObject, QTextListFormat::Style style) +{ + return ( theWrappedObject->createList(style)); +} + +QTextList* PythonQtWrapper_QTextCursor::createList(QTextCursor* theWrappedObject, const QTextListFormat& format) +{ + return ( theWrappedObject->createList(format)); +} + +QTextFrame* PythonQtWrapper_QTextCursor::currentFrame(QTextCursor* theWrappedObject) const +{ + return ( theWrappedObject->currentFrame()); +} + +QTextList* PythonQtWrapper_QTextCursor::currentList(QTextCursor* theWrappedObject) const +{ + return ( theWrappedObject->currentList()); +} + +QTextTable* PythonQtWrapper_QTextCursor::currentTable(QTextCursor* theWrappedObject) const +{ + return ( theWrappedObject->currentTable()); +} + +void PythonQtWrapper_QTextCursor::deleteChar(QTextCursor* theWrappedObject) +{ + ( theWrappedObject->deleteChar()); +} + +void PythonQtWrapper_QTextCursor::deletePreviousChar(QTextCursor* theWrappedObject) +{ + ( theWrappedObject->deletePreviousChar()); +} + +QTextDocument* PythonQtWrapper_QTextCursor::document(QTextCursor* theWrappedObject) const +{ + return ( theWrappedObject->document()); +} + +void PythonQtWrapper_QTextCursor::endEditBlock(QTextCursor* theWrappedObject) +{ + ( theWrappedObject->endEditBlock()); +} + +bool PythonQtWrapper_QTextCursor::hasComplexSelection(QTextCursor* theWrappedObject) const +{ + return ( theWrappedObject->hasComplexSelection()); +} + +bool PythonQtWrapper_QTextCursor::hasSelection(QTextCursor* theWrappedObject) const +{ + return ( theWrappedObject->hasSelection()); +} + +void PythonQtWrapper_QTextCursor::insertBlock(QTextCursor* theWrappedObject) +{ + ( theWrappedObject->insertBlock()); +} + +void PythonQtWrapper_QTextCursor::insertBlock(QTextCursor* theWrappedObject, const QTextBlockFormat& format) +{ + ( theWrappedObject->insertBlock(format)); +} + +void PythonQtWrapper_QTextCursor::insertBlock(QTextCursor* theWrappedObject, const QTextBlockFormat& format, const QTextCharFormat& charFormat) +{ + ( theWrappedObject->insertBlock(format, charFormat)); +} + +void PythonQtWrapper_QTextCursor::insertFragment(QTextCursor* theWrappedObject, const QTextDocumentFragment& fragment) +{ + ( theWrappedObject->insertFragment(fragment)); +} + +QTextFrame* PythonQtWrapper_QTextCursor::insertFrame(QTextCursor* theWrappedObject, const QTextFrameFormat& format) +{ + return ( theWrappedObject->insertFrame(format)); +} + +void PythonQtWrapper_QTextCursor::insertHtml(QTextCursor* theWrappedObject, const QString& html) +{ + ( theWrappedObject->insertHtml(html)); +} + +void PythonQtWrapper_QTextCursor::insertImage(QTextCursor* theWrappedObject, const QImage& image, const QString& name) +{ + ( theWrappedObject->insertImage(image, name)); +} + +void PythonQtWrapper_QTextCursor::insertImage(QTextCursor* theWrappedObject, const QString& name) +{ + ( theWrappedObject->insertImage(name)); +} + +void PythonQtWrapper_QTextCursor::insertImage(QTextCursor* theWrappedObject, const QTextImageFormat& format) +{ + ( theWrappedObject->insertImage(format)); +} + +void PythonQtWrapper_QTextCursor::insertImage(QTextCursor* theWrappedObject, const QTextImageFormat& format, QTextFrameFormat::Position alignment) +{ + ( theWrappedObject->insertImage(format, alignment)); +} + +QTextList* PythonQtWrapper_QTextCursor::insertList(QTextCursor* theWrappedObject, QTextListFormat::Style style) +{ + return ( theWrappedObject->insertList(style)); +} + +QTextList* PythonQtWrapper_QTextCursor::insertList(QTextCursor* theWrappedObject, const QTextListFormat& format) +{ + return ( theWrappedObject->insertList(format)); +} + +QTextTable* PythonQtWrapper_QTextCursor::insertTable(QTextCursor* theWrappedObject, int rows, int cols) +{ + return ( theWrappedObject->insertTable(rows, cols)); +} + +QTextTable* PythonQtWrapper_QTextCursor::insertTable(QTextCursor* theWrappedObject, int rows, int cols, const QTextTableFormat& format) +{ + return ( theWrappedObject->insertTable(rows, cols, format)); +} + +void PythonQtWrapper_QTextCursor::insertText(QTextCursor* theWrappedObject, const QString& text) +{ + ( theWrappedObject->insertText(text)); +} + +void PythonQtWrapper_QTextCursor::insertText(QTextCursor* theWrappedObject, const QString& text, const QTextCharFormat& format) +{ + ( theWrappedObject->insertText(text, format)); +} + +bool PythonQtWrapper_QTextCursor::isCopyOf(QTextCursor* theWrappedObject, const QTextCursor& other) const +{ + return ( theWrappedObject->isCopyOf(other)); +} + +bool PythonQtWrapper_QTextCursor::isNull(QTextCursor* theWrappedObject) const +{ + return ( theWrappedObject->isNull()); +} + +void PythonQtWrapper_QTextCursor::joinPreviousEditBlock(QTextCursor* theWrappedObject) +{ + ( theWrappedObject->joinPreviousEditBlock()); +} + +void PythonQtWrapper_QTextCursor::mergeBlockCharFormat(QTextCursor* theWrappedObject, const QTextCharFormat& modifier) +{ + ( theWrappedObject->mergeBlockCharFormat(modifier)); +} + +void PythonQtWrapper_QTextCursor::mergeBlockFormat(QTextCursor* theWrappedObject, const QTextBlockFormat& modifier) +{ + ( theWrappedObject->mergeBlockFormat(modifier)); +} + +void PythonQtWrapper_QTextCursor::mergeCharFormat(QTextCursor* theWrappedObject, const QTextCharFormat& modifier) +{ + ( theWrappedObject->mergeCharFormat(modifier)); +} + +bool PythonQtWrapper_QTextCursor::movePosition(QTextCursor* theWrappedObject, QTextCursor::MoveOperation op, QTextCursor::MoveMode arg__2, int n) +{ + return ( theWrappedObject->movePosition(op, arg__2, n)); +} + +bool PythonQtWrapper_QTextCursor::__ne__(QTextCursor* theWrappedObject, const QTextCursor& rhs) const +{ + return ( (*theWrappedObject)!= rhs); +} + +bool PythonQtWrapper_QTextCursor::__lt__(QTextCursor* theWrappedObject, const QTextCursor& rhs) const +{ + return ( (*theWrappedObject)< rhs); +} + +bool PythonQtWrapper_QTextCursor::__le__(QTextCursor* theWrappedObject, const QTextCursor& rhs) const +{ + return ( (*theWrappedObject)<= rhs); +} + +bool PythonQtWrapper_QTextCursor::__eq__(QTextCursor* theWrappedObject, const QTextCursor& rhs) const +{ + return ( (*theWrappedObject)== rhs); +} + +bool PythonQtWrapper_QTextCursor::__gt__(QTextCursor* theWrappedObject, const QTextCursor& rhs) const +{ + return ( (*theWrappedObject)> rhs); +} + +bool PythonQtWrapper_QTextCursor::__ge__(QTextCursor* theWrappedObject, const QTextCursor& rhs) const +{ + return ( (*theWrappedObject)>= rhs); +} + +int PythonQtWrapper_QTextCursor::position(QTextCursor* theWrappedObject) const +{ + return ( theWrappedObject->position()); +} + +void PythonQtWrapper_QTextCursor::removeSelectedText(QTextCursor* theWrappedObject) +{ + ( theWrappedObject->removeSelectedText()); +} + +void PythonQtWrapper_QTextCursor::select(QTextCursor* theWrappedObject, QTextCursor::SelectionType selection) +{ + ( theWrappedObject->select(selection)); +} + +void PythonQtWrapper_QTextCursor::selectedTableCells(QTextCursor* theWrappedObject, int* firstRow, int* numRows, int* firstColumn, int* numColumns) const +{ + ( theWrappedObject->selectedTableCells(firstRow, numRows, firstColumn, numColumns)); +} + +QString PythonQtWrapper_QTextCursor::selectedText(QTextCursor* theWrappedObject) const +{ + return ( theWrappedObject->selectedText()); +} + +QTextDocumentFragment PythonQtWrapper_QTextCursor::selection(QTextCursor* theWrappedObject) const +{ + return ( theWrappedObject->selection()); +} + +int PythonQtWrapper_QTextCursor::selectionEnd(QTextCursor* theWrappedObject) const +{ + return ( theWrappedObject->selectionEnd()); +} + +int PythonQtWrapper_QTextCursor::selectionStart(QTextCursor* theWrappedObject) const +{ + return ( theWrappedObject->selectionStart()); +} + +void PythonQtWrapper_QTextCursor::setBlockCharFormat(QTextCursor* theWrappedObject, const QTextCharFormat& format) +{ + ( theWrappedObject->setBlockCharFormat(format)); +} + +void PythonQtWrapper_QTextCursor::setBlockFormat(QTextCursor* theWrappedObject, const QTextBlockFormat& format) +{ + ( theWrappedObject->setBlockFormat(format)); +} + +void PythonQtWrapper_QTextCursor::setCharFormat(QTextCursor* theWrappedObject, const QTextCharFormat& format) +{ + ( theWrappedObject->setCharFormat(format)); +} + +void PythonQtWrapper_QTextCursor::setPosition(QTextCursor* theWrappedObject, int pos, QTextCursor::MoveMode mode) +{ + ( theWrappedObject->setPosition(pos, mode)); +} + +void PythonQtWrapper_QTextCursor::setVisualNavigation(QTextCursor* theWrappedObject, bool b) +{ + ( theWrappedObject->setVisualNavigation(b)); +} + +bool PythonQtWrapper_QTextCursor::visualNavigation(QTextCursor* theWrappedObject) const +{ + return ( theWrappedObject->visualNavigation()); +} + + + +void PythonQtShell_QTextDocument::childEvent(QChildEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "childEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QChildEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QTextDocument::childEvent(arg__1); +} +void PythonQtShell_QTextDocument::clear() +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "clear"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={""}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QTextDocument::clear(); +} +QTextObject* PythonQtShell_QTextDocument::createObject(const QTextFormat& f) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "createObject"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QTextObject*" , "const QTextFormat&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + QTextObject* returnValue; + void* args[2] = {NULL, (void*)&f}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("createObject", methodInfo, result); + } else { + returnValue = *((QTextObject**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QTextDocument::createObject(f); +} +void PythonQtShell_QTextDocument::customEvent(QEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "customEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QTextDocument::customEvent(arg__1); +} +bool PythonQtShell_QTextDocument::event(QEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "event"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue; + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QTextDocument::event(arg__1); +} +bool PythonQtShell_QTextDocument::eventFilter(QObject* arg__1, QEvent* arg__2) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "eventFilter"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue; + void* args[3] = {NULL, (void*)&arg__1, (void*)&arg__2}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QTextDocument::eventFilter(arg__1, arg__2); +} +QVariant PythonQtShell_QTextDocument::loadResource(int type, const QUrl& name) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "loadResource"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QVariant" , "int" , "const QUrl&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + QVariant returnValue; + void* args[3] = {NULL, (void*)&type, (void*)&name}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("loadResource", methodInfo, result); + } else { + returnValue = *((QVariant*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QTextDocument::loadResource(type, name); +} +void PythonQtShell_QTextDocument::timerEvent(QTimerEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "timerEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QTimerEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QTextDocument::timerEvent(arg__1); +} +QTextDocument* PythonQtWrapper_QTextDocument::new_QTextDocument(QObject* parent) +{ +return new PythonQtShell_QTextDocument(parent); } + +QTextDocument* PythonQtWrapper_QTextDocument::new_QTextDocument(const QString& text, QObject* parent) +{ +return new PythonQtShell_QTextDocument(text, parent); } + +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()); +} + +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) +{ + ( ((PythonQtPublicPromoter_QTextDocument*)theWrappedObject)->promoted_clear()); +} + +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)); +} + +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()); +} + +QAbstractTextDocumentLayout* PythonQtWrapper_QTextDocument::documentLayout(QTextDocument* theWrappedObject) const +{ + return ( theWrappedObject->documentLayout()); +} + +qreal PythonQtWrapper_QTextDocument::documentMargin(QTextDocument* theWrappedObject) const +{ + return ( theWrappedObject->documentMargin()); +} + +void PythonQtWrapper_QTextDocument::drawContents(QTextDocument* theWrappedObject, QPainter* painter, const QRectF& rect) +{ + ( theWrappedObject->drawContents(painter, rect)); +} + +QTextBlock PythonQtWrapper_QTextDocument::end(QTextDocument* theWrappedObject) const +{ + return ( theWrappedObject->end()); +} + +QTextCursor PythonQtWrapper_QTextDocument::find(QTextDocument* theWrappedObject, const QRegExp& expr, const QTextCursor& from, QTextDocument::FindFlags options) const +{ + return ( theWrappedObject->find(expr, from, options)); +} + +QTextCursor PythonQtWrapper_QTextDocument::find(QTextDocument* theWrappedObject, const QRegExp& expr, int from, QTextDocument::FindFlags options) const +{ + return ( theWrappedObject->find(expr, from, options)); +} + +QTextCursor PythonQtWrapper_QTextDocument::find(QTextDocument* theWrappedObject, const QString& subString, const QTextCursor& from, QTextDocument::FindFlags options) const +{ + return ( theWrappedObject->find(subString, from, options)); +} + +QTextCursor PythonQtWrapper_QTextDocument::find(QTextDocument* theWrappedObject, const QString& subString, int from, QTextDocument::FindFlags options) const +{ + return ( theWrappedObject->find(subString, from, options)); +} + +QTextBlock PythonQtWrapper_QTextDocument::findBlock(QTextDocument* theWrappedObject, int pos) const +{ + return ( theWrappedObject->findBlock(pos)); +} + +QTextBlock PythonQtWrapper_QTextDocument::findBlockByLineNumber(QTextDocument* theWrappedObject, int blockNumber) const +{ + return ( theWrappedObject->findBlockByLineNumber(blockNumber)); +} + +QTextBlock PythonQtWrapper_QTextDocument::findBlockByNumber(QTextDocument* theWrappedObject, int blockNumber) const +{ + return ( theWrappedObject->findBlockByNumber(blockNumber)); +} + +QTextBlock PythonQtWrapper_QTextDocument::firstBlock(QTextDocument* theWrappedObject) const +{ + return ( theWrappedObject->firstBlock()); +} + +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()); +} + +bool PythonQtWrapper_QTextDocument::isEmpty(QTextDocument* theWrappedObject) const +{ + return ( theWrappedObject->isEmpty()); +} + +bool PythonQtWrapper_QTextDocument::isModified(QTextDocument* theWrappedObject) const +{ + return ( theWrappedObject->isModified()); +} + +bool PythonQtWrapper_QTextDocument::isRedoAvailable(QTextDocument* theWrappedObject) const +{ + return ( theWrappedObject->isRedoAvailable()); +} + +bool PythonQtWrapper_QTextDocument::isUndoAvailable(QTextDocument* theWrappedObject) const +{ + return ( theWrappedObject->isUndoAvailable()); +} + +bool PythonQtWrapper_QTextDocument::isUndoRedoEnabled(QTextDocument* theWrappedObject) const +{ + return ( theWrappedObject->isUndoRedoEnabled()); +} + +QTextBlock PythonQtWrapper_QTextDocument::lastBlock(QTextDocument* theWrappedObject) const +{ + return ( theWrappedObject->lastBlock()); +} + +int PythonQtWrapper_QTextDocument::lineCount(QTextDocument* theWrappedObject) const +{ + return ( theWrappedObject->lineCount()); +} + +QVariant PythonQtWrapper_QTextDocument::loadResource(QTextDocument* theWrappedObject, int type, const QUrl& name) +{ + return ( ((PythonQtPublicPromoter_QTextDocument*)theWrappedObject)->promoted_loadResource(type, name)); +} + +void PythonQtWrapper_QTextDocument::markContentsDirty(QTextDocument* theWrappedObject, int from, int length) +{ + ( theWrappedObject->markContentsDirty(from, length)); +} + +int PythonQtWrapper_QTextDocument::maximumBlockCount(QTextDocument* theWrappedObject) const +{ + return ( theWrappedObject->maximumBlockCount()); +} + +QString PythonQtWrapper_QTextDocument::metaInformation(QTextDocument* theWrappedObject, QTextDocument::MetaInformation info) const +{ + return ( theWrappedObject->metaInformation(info)); +} + +QTextObject* PythonQtWrapper_QTextDocument::object(QTextDocument* theWrappedObject, int objectIndex) const +{ + return ( theWrappedObject->object(objectIndex)); +} + +QTextObject* PythonQtWrapper_QTextDocument::objectForFormat(QTextDocument* theWrappedObject, const QTextFormat& arg__1) const +{ + return ( theWrappedObject->objectForFormat(arg__1)); +} + +int PythonQtWrapper_QTextDocument::pageCount(QTextDocument* theWrappedObject) const +{ + return ( theWrappedObject->pageCount()); +} + +QSizeF PythonQtWrapper_QTextDocument::pageSize(QTextDocument* theWrappedObject) const +{ + return ( theWrappedObject->pageSize()); +} + +void PythonQtWrapper_QTextDocument::print(QTextDocument* theWrappedObject, QPrinter* printer) const +{ + ( theWrappedObject->print(printer)); +} + +void PythonQtWrapper_QTextDocument::redo(QTextDocument* theWrappedObject, QTextCursor* cursor) +{ + ( theWrappedObject->redo(cursor)); +} + +QVariant PythonQtWrapper_QTextDocument::resource(QTextDocument* theWrappedObject, int type, const QUrl& name) const +{ + return ( theWrappedObject->resource(type, name)); +} + +int PythonQtWrapper_QTextDocument::revision(QTextDocument* theWrappedObject) const +{ + return ( theWrappedObject->revision()); +} + +QTextFrame* PythonQtWrapper_QTextDocument::rootFrame(QTextDocument* theWrappedObject) const +{ + return ( theWrappedObject->rootFrame()); +} + +void PythonQtWrapper_QTextDocument::setDefaultFont(QTextDocument* theWrappedObject, const QFont& font) +{ + ( theWrappedObject->setDefaultFont(font)); +} + +void PythonQtWrapper_QTextDocument::setDefaultStyleSheet(QTextDocument* theWrappedObject, const QString& sheet) +{ + ( theWrappedObject->setDefaultStyleSheet(sheet)); +} + +void PythonQtWrapper_QTextDocument::setDefaultTextOption(QTextDocument* theWrappedObject, const QTextOption& option) +{ + ( theWrappedObject->setDefaultTextOption(option)); +} + +void PythonQtWrapper_QTextDocument::setDocumentLayout(QTextDocument* theWrappedObject, QAbstractTextDocumentLayout* layout) +{ + ( theWrappedObject->setDocumentLayout(layout)); +} + +void PythonQtWrapper_QTextDocument::setDocumentMargin(QTextDocument* theWrappedObject, qreal margin) +{ + ( theWrappedObject->setDocumentMargin(margin)); +} + +void PythonQtWrapper_QTextDocument::setHtml(QTextDocument* theWrappedObject, const QString& html) +{ + ( theWrappedObject->setHtml(html)); +} + +void PythonQtWrapper_QTextDocument::setIndentWidth(QTextDocument* theWrappedObject, qreal width) +{ + ( theWrappedObject->setIndentWidth(width)); +} + +void PythonQtWrapper_QTextDocument::setMaximumBlockCount(QTextDocument* theWrappedObject, int maximum) +{ + ( theWrappedObject->setMaximumBlockCount(maximum)); +} + +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)); +} + +void PythonQtWrapper_QTextDocument::setTextWidth(QTextDocument* theWrappedObject, qreal width) +{ + ( theWrappedObject->setTextWidth(width)); +} + +void PythonQtWrapper_QTextDocument::setUndoRedoEnabled(QTextDocument* theWrappedObject, bool enable) +{ + ( theWrappedObject->setUndoRedoEnabled(enable)); +} + +void PythonQtWrapper_QTextDocument::setUseDesignMetrics(QTextDocument* theWrappedObject, bool b) +{ + ( theWrappedObject->setUseDesignMetrics(b)); +} + +QSizeF PythonQtWrapper_QTextDocument::size(QTextDocument* theWrappedObject) const +{ + return ( theWrappedObject->size()); +} + +qreal PythonQtWrapper_QTextDocument::textWidth(QTextDocument* theWrappedObject) const +{ + return ( theWrappedObject->textWidth()); +} + +QString PythonQtWrapper_QTextDocument::toHtml(QTextDocument* theWrappedObject, const QByteArray& encoding) const +{ + return ( theWrappedObject->toHtml(encoding)); +} + +QString PythonQtWrapper_QTextDocument::toPlainText(QTextDocument* theWrappedObject) const +{ + return ( theWrappedObject->toPlainText()); +} + +void PythonQtWrapper_QTextDocument::undo(QTextDocument* theWrappedObject, QTextCursor* cursor) +{ + ( theWrappedObject->undo(cursor)); +} + +bool PythonQtWrapper_QTextDocument::useDesignMetrics(QTextDocument* theWrappedObject) const +{ + return ( theWrappedObject->useDesignMetrics()); +} + + + +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) +{ + 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()); +} + +QString PythonQtWrapper_QTextDocumentFragment::toHtml(QTextDocumentFragment* theWrappedObject) const +{ + return ( theWrappedObject->toHtml()); +} + +QString PythonQtWrapper_QTextDocumentFragment::toHtml(QTextDocumentFragment* theWrappedObject, const QByteArray& encoding) const +{ + return ( theWrappedObject->toHtml(encoding)); +} + +QString PythonQtWrapper_QTextDocumentFragment::toPlainText(QTextDocumentFragment* theWrappedObject) const +{ + return ( theWrappedObject->toPlainText()); +} + + + +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()); +} + +QIODevice* PythonQtWrapper_QTextDocumentWriter::device(QTextDocumentWriter* theWrappedObject) const +{ + return ( theWrappedObject->device()); +} + +QString PythonQtWrapper_QTextDocumentWriter::fileName(QTextDocumentWriter* theWrappedObject) const +{ + return ( theWrappedObject->fileName()); +} + +QByteArray PythonQtWrapper_QTextDocumentWriter::format(QTextDocumentWriter* theWrappedObject) const +{ + return ( theWrappedObject->format()); +} + +void PythonQtWrapper_QTextDocumentWriter::setCodec(QTextDocumentWriter* theWrappedObject, QTextCodec* codec) +{ + ( theWrappedObject->setCodec(codec)); +} + +void PythonQtWrapper_QTextDocumentWriter::setDevice(QTextDocumentWriter* theWrappedObject, QIODevice* device) +{ + ( theWrappedObject->setDevice(device)); +} + +void PythonQtWrapper_QTextDocumentWriter::setFileName(QTextDocumentWriter* theWrappedObject, const QString& fileName) +{ + ( theWrappedObject->setFileName(fileName)); +} + +void PythonQtWrapper_QTextDocumentWriter::setFormat(QTextDocumentWriter* theWrappedObject, const QByteArray& format) +{ + ( 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)); +} + +bool PythonQtWrapper_QTextDocumentWriter::write(QTextDocumentWriter* theWrappedObject, const QTextDocumentFragment& fragment) +{ + return ( theWrappedObject->write(fragment)); +} + + + +void PythonQtShell_QTextEdit::actionEvent(QActionEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "actionEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QActionEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QTextEdit::actionEvent(arg__1); +} +bool PythonQtShell_QTextEdit::canInsertFromMimeData(const QMimeData* source) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "canInsertFromMimeData"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "const QMimeData*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue; + void* args[2] = {NULL, (void*)&source}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("canInsertFromMimeData", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QTextEdit::canInsertFromMimeData(source); +} +void PythonQtShell_QTextEdit::changeEvent(QEvent* e) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "changeEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&e}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QTextEdit::changeEvent(e); +} +void PythonQtShell_QTextEdit::childEvent(QChildEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "childEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QChildEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QTextEdit::childEvent(arg__1); +} +void PythonQtShell_QTextEdit::closeEvent(QCloseEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "closeEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QCloseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QTextEdit::closeEvent(arg__1); +} +void PythonQtShell_QTextEdit::contextMenuEvent(QContextMenuEvent* e) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "contextMenuEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QContextMenuEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&e}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QTextEdit::contextMenuEvent(e); +} +QMimeData* PythonQtShell_QTextEdit::createMimeDataFromSelection() const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "createMimeDataFromSelection"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QMimeData*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QMimeData* returnValue; + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("createMimeDataFromSelection", methodInfo, result); + } else { + returnValue = *((QMimeData**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QTextEdit::createMimeDataFromSelection(); +} +void PythonQtShell_QTextEdit::customEvent(QEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "customEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QTextEdit::customEvent(arg__1); +} +int PythonQtShell_QTextEdit::devType() const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "devType"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + int returnValue; + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("devType", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QTextEdit::devType(); +} +void PythonQtShell_QTextEdit::dragEnterEvent(QDragEnterEvent* e) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dragEnterEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QDragEnterEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&e}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QTextEdit::dragEnterEvent(e); +} +void PythonQtShell_QTextEdit::dragLeaveEvent(QDragLeaveEvent* e) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dragLeaveEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QDragLeaveEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&e}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QTextEdit::dragLeaveEvent(e); +} +void PythonQtShell_QTextEdit::dragMoveEvent(QDragMoveEvent* e) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dragMoveEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QDragMoveEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&e}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QTextEdit::dragMoveEvent(e); +} +void PythonQtShell_QTextEdit::dropEvent(QDropEvent* e) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dropEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QDropEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&e}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QTextEdit::dropEvent(e); +} +void PythonQtShell_QTextEdit::enterEvent(QEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "enterEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QTextEdit::enterEvent(arg__1); +} +bool PythonQtShell_QTextEdit::event(QEvent* e) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "event"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue; + void* args[2] = {NULL, (void*)&e}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QTextEdit::event(e); +} +bool PythonQtShell_QTextEdit::eventFilter(QObject* arg__1, QEvent* arg__2) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "eventFilter"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue; + void* args[3] = {NULL, (void*)&arg__1, (void*)&arg__2}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QTextEdit::eventFilter(arg__1, arg__2); +} +void PythonQtShell_QTextEdit::focusInEvent(QFocusEvent* e) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "focusInEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QFocusEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&e}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QTextEdit::focusInEvent(e); +} +bool PythonQtShell_QTextEdit::focusNextPrevChild(bool next) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "focusNextPrevChild"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue; + void* args[2] = {NULL, (void*)&next}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("focusNextPrevChild", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QTextEdit::focusNextPrevChild(next); +} +void PythonQtShell_QTextEdit::focusOutEvent(QFocusEvent* e) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "focusOutEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QFocusEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&e}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QTextEdit::focusOutEvent(e); +} +int PythonQtShell_QTextEdit::heightForWidth(int arg__1) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "heightForWidth"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"int" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + int returnValue; + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("heightForWidth", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QTextEdit::heightForWidth(arg__1); +} +void PythonQtShell_QTextEdit::hideEvent(QHideEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "hideEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QHideEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QTextEdit::hideEvent(arg__1); +} +void PythonQtShell_QTextEdit::inputMethodEvent(QInputMethodEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "inputMethodEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QInputMethodEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QTextEdit::inputMethodEvent(arg__1); +} +QVariant PythonQtShell_QTextEdit::inputMethodQuery(Qt::InputMethodQuery property) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "inputMethodQuery"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QVariant" , "Qt::InputMethodQuery"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + QVariant returnValue; + void* args[2] = {NULL, (void*)&property}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result); + } else { + returnValue = *((QVariant*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QTextEdit::inputMethodQuery(property); +} +void PythonQtShell_QTextEdit::insertFromMimeData(const QMimeData* source) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "insertFromMimeData"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "const QMimeData*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&source}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QTextEdit::insertFromMimeData(source); +} +void PythonQtShell_QTextEdit::keyPressEvent(QKeyEvent* e) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "keyPressEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QKeyEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&e}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QTextEdit::keyPressEvent(e); +} +void PythonQtShell_QTextEdit::keyReleaseEvent(QKeyEvent* e) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "keyReleaseEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QKeyEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&e}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QTextEdit::keyReleaseEvent(e); +} +void PythonQtShell_QTextEdit::languageChange() +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "languageChange"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={""}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QTextEdit::languageChange(); +} +void PythonQtShell_QTextEdit::leaveEvent(QEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "leaveEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QTextEdit::leaveEvent(arg__1); +} +QVariant PythonQtShell_QTextEdit::loadResource(int type, const QUrl& name) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "loadResource"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QVariant" , "int" , "const QUrl&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + QVariant returnValue; + void* args[3] = {NULL, (void*)&type, (void*)&name}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("loadResource", methodInfo, result); + } else { + returnValue = *((QVariant*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QTextEdit::loadResource(type, name); +} +int PythonQtShell_QTextEdit::metric(QPaintDevice::PaintDeviceMetric arg__1) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "metric"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + int returnValue; + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("metric", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QTextEdit::metric(arg__1); +} +void PythonQtShell_QTextEdit::mouseDoubleClickEvent(QMouseEvent* e) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mouseDoubleClickEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&e}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QTextEdit::mouseDoubleClickEvent(e); +} +void PythonQtShell_QTextEdit::mouseMoveEvent(QMouseEvent* e) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mouseMoveEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&e}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QTextEdit::mouseMoveEvent(e); +} +void PythonQtShell_QTextEdit::mousePressEvent(QMouseEvent* e) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mousePressEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&e}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QTextEdit::mousePressEvent(e); +} +void PythonQtShell_QTextEdit::mouseReleaseEvent(QMouseEvent* e) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mouseReleaseEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&e}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QTextEdit::mouseReleaseEvent(e); +} +void PythonQtShell_QTextEdit::moveEvent(QMoveEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "moveEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QMoveEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QTextEdit::moveEvent(arg__1); +} +QPaintEngine* PythonQtShell_QTextEdit::paintEngine() const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "paintEngine"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QPaintEngine*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QPaintEngine* returnValue; + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); + } else { + returnValue = *((QPaintEngine**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QTextEdit::paintEngine(); +} +void PythonQtShell_QTextEdit::paintEvent(QPaintEvent* e) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "paintEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QPaintEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&e}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QTextEdit::paintEvent(e); +} +void PythonQtShell_QTextEdit::resizeEvent(QResizeEvent* e) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "resizeEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QResizeEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&e}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QTextEdit::resizeEvent(e); +} +void PythonQtShell_QTextEdit::scrollContentsBy(int dx, int dy) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "scrollContentsBy"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "int" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + void* args[3] = {NULL, (void*)&dx, (void*)&dy}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QTextEdit::scrollContentsBy(dx, dy); +} +void PythonQtShell_QTextEdit::showEvent(QShowEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "showEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QShowEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QTextEdit::showEvent(arg__1); +} +void PythonQtShell_QTextEdit::tabletEvent(QTabletEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "tabletEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QTabletEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QTextEdit::tabletEvent(arg__1); +} +void PythonQtShell_QTextEdit::timerEvent(QTimerEvent* e) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "timerEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QTimerEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&e}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QTextEdit::timerEvent(e); +} +bool PythonQtShell_QTextEdit::viewportEvent(QEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "viewportEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue; + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("viewportEvent", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QTextEdit::viewportEvent(arg__1); +} +void PythonQtShell_QTextEdit::wheelEvent(QWheelEvent* e) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "wheelEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QWheelEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&e}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QTextEdit::wheelEvent(e); +} +QTextEdit* PythonQtWrapper_QTextEdit::new_QTextEdit(QWidget* parent) +{ +return new PythonQtShell_QTextEdit(parent); } + +QTextEdit* PythonQtWrapper_QTextEdit::new_QTextEdit(const QString& text, QWidget* parent) +{ +return new PythonQtShell_QTextEdit(text, parent); } + +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()); +} + +void PythonQtWrapper_QTextEdit::changeEvent(QTextEdit* theWrappedObject, QEvent* e) +{ + ( ((PythonQtPublicPromoter_QTextEdit*)theWrappedObject)->promoted_changeEvent(e)); +} + +void PythonQtWrapper_QTextEdit::contextMenuEvent(QTextEdit* theWrappedObject, QContextMenuEvent* e) +{ + ( ((PythonQtPublicPromoter_QTextEdit*)theWrappedObject)->promoted_contextMenuEvent(e)); +} + +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()); +} + +QTextDocument* PythonQtWrapper_QTextEdit::document(QTextEdit* theWrappedObject) const +{ + return ( theWrappedObject->document()); +} + +QString PythonQtWrapper_QTextEdit::documentTitle(QTextEdit* theWrappedObject) const +{ + return ( theWrappedObject->documentTitle()); +} + +void PythonQtWrapper_QTextEdit::dragEnterEvent(QTextEdit* theWrappedObject, QDragEnterEvent* e) +{ + ( ((PythonQtPublicPromoter_QTextEdit*)theWrappedObject)->promoted_dragEnterEvent(e)); +} + +void PythonQtWrapper_QTextEdit::dragLeaveEvent(QTextEdit* theWrappedObject, QDragLeaveEvent* e) +{ + ( ((PythonQtPublicPromoter_QTextEdit*)theWrappedObject)->promoted_dragLeaveEvent(e)); +} + +void PythonQtWrapper_QTextEdit::dragMoveEvent(QTextEdit* theWrappedObject, QDragMoveEvent* e) +{ + ( ((PythonQtPublicPromoter_QTextEdit*)theWrappedObject)->promoted_dragMoveEvent(e)); +} + +void PythonQtWrapper_QTextEdit::dropEvent(QTextEdit* theWrappedObject, QDropEvent* e) +{ + ( ((PythonQtPublicPromoter_QTextEdit*)theWrappedObject)->promoted_dropEvent(e)); +} + +void PythonQtWrapper_QTextEdit::ensureCursorVisible(QTextEdit* theWrappedObject) +{ + ( theWrappedObject->ensureCursorVisible()); +} + +bool PythonQtWrapper_QTextEdit::event(QTextEdit* theWrappedObject, QEvent* e) +{ + return ( ((PythonQtPublicPromoter_QTextEdit*)theWrappedObject)->promoted_event(e)); +} + +QList PythonQtWrapper_QTextEdit::extraSelections(QTextEdit* theWrappedObject) const +{ + return ( theWrappedObject->extraSelections()); +} + +bool PythonQtWrapper_QTextEdit::find(QTextEdit* theWrappedObject, const QString& exp, QTextDocument::FindFlags options) +{ + return ( theWrappedObject->find(exp, options)); +} + +void PythonQtWrapper_QTextEdit::focusInEvent(QTextEdit* theWrappedObject, QFocusEvent* e) +{ + ( ((PythonQtPublicPromoter_QTextEdit*)theWrappedObject)->promoted_focusInEvent(e)); +} + +bool PythonQtWrapper_QTextEdit::focusNextPrevChild(QTextEdit* theWrappedObject, bool next) +{ + return ( ((PythonQtPublicPromoter_QTextEdit*)theWrappedObject)->promoted_focusNextPrevChild(next)); +} + +void PythonQtWrapper_QTextEdit::focusOutEvent(QTextEdit* theWrappedObject, QFocusEvent* e) +{ + ( ((PythonQtPublicPromoter_QTextEdit*)theWrappedObject)->promoted_focusOutEvent(e)); +} + +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()); +} + +void PythonQtWrapper_QTextEdit::inputMethodEvent(QTextEdit* theWrappedObject, QInputMethodEvent* arg__1) +{ + ( ((PythonQtPublicPromoter_QTextEdit*)theWrappedObject)->promoted_inputMethodEvent(arg__1)); +} + +QVariant PythonQtWrapper_QTextEdit::inputMethodQuery(QTextEdit* theWrappedObject, Qt::InputMethodQuery property) const +{ + return ( ((PythonQtPublicPromoter_QTextEdit*)theWrappedObject)->promoted_inputMethodQuery(property)); +} + +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()); +} + +void PythonQtWrapper_QTextEdit::keyPressEvent(QTextEdit* theWrappedObject, QKeyEvent* e) +{ + ( ((PythonQtPublicPromoter_QTextEdit*)theWrappedObject)->promoted_keyPressEvent(e)); +} + +void PythonQtWrapper_QTextEdit::keyReleaseEvent(QTextEdit* theWrappedObject, QKeyEvent* e) +{ + ( ((PythonQtPublicPromoter_QTextEdit*)theWrappedObject)->promoted_keyReleaseEvent(e)); +} + +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 ( ((PythonQtPublicPromoter_QTextEdit*)theWrappedObject)->promoted_loadResource(type, name)); +} + +void PythonQtWrapper_QTextEdit::mergeCurrentCharFormat(QTextEdit* theWrappedObject, const QTextCharFormat& modifier) +{ + ( theWrappedObject->mergeCurrentCharFormat(modifier)); +} + +void PythonQtWrapper_QTextEdit::mouseDoubleClickEvent(QTextEdit* theWrappedObject, QMouseEvent* e) +{ + ( ((PythonQtPublicPromoter_QTextEdit*)theWrappedObject)->promoted_mouseDoubleClickEvent(e)); +} + +void PythonQtWrapper_QTextEdit::mouseMoveEvent(QTextEdit* theWrappedObject, QMouseEvent* e) +{ + ( ((PythonQtPublicPromoter_QTextEdit*)theWrappedObject)->promoted_mouseMoveEvent(e)); +} + +void PythonQtWrapper_QTextEdit::mousePressEvent(QTextEdit* theWrappedObject, QMouseEvent* e) +{ + ( ((PythonQtPublicPromoter_QTextEdit*)theWrappedObject)->promoted_mousePressEvent(e)); +} + +void PythonQtWrapper_QTextEdit::mouseReleaseEvent(QTextEdit* theWrappedObject, QMouseEvent* e) +{ + ( ((PythonQtPublicPromoter_QTextEdit*)theWrappedObject)->promoted_mouseReleaseEvent(e)); +} + +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()); +} + +void PythonQtWrapper_QTextEdit::paintEvent(QTextEdit* theWrappedObject, QPaintEvent* e) +{ + ( ((PythonQtPublicPromoter_QTextEdit*)theWrappedObject)->promoted_paintEvent(e)); +} + +void PythonQtWrapper_QTextEdit::print(QTextEdit* theWrappedObject, QPrinter* printer) const +{ + ( theWrappedObject->print(printer)); +} + +void PythonQtWrapper_QTextEdit::resizeEvent(QTextEdit* theWrappedObject, QResizeEvent* e) +{ + ( ((PythonQtPublicPromoter_QTextEdit*)theWrappedObject)->promoted_resizeEvent(e)); +} + +void PythonQtWrapper_QTextEdit::scrollContentsBy(QTextEdit* theWrappedObject, int dx, int dy) +{ + ( ((PythonQtPublicPromoter_QTextEdit*)theWrappedObject)->promoted_scrollContentsBy(dx, dy)); +} + +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::setReadOnly(QTextEdit* theWrappedObject, bool ro) +{ + ( theWrappedObject->setReadOnly(ro)); +} + +void PythonQtWrapper_QTextEdit::setTabChangesFocus(QTextEdit* theWrappedObject, bool b) +{ + ( theWrappedObject->setTabChangesFocus(b)); +} + +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)); +} + +void PythonQtWrapper_QTextEdit::showEvent(QTextEdit* theWrappedObject, QShowEvent* arg__1) +{ + ( ((PythonQtPublicPromoter_QTextEdit*)theWrappedObject)->promoted_showEvent(arg__1)); +} + +bool PythonQtWrapper_QTextEdit::tabChangesFocus(QTextEdit* theWrappedObject) const +{ + return ( theWrappedObject->tabChangesFocus()); +} + +int PythonQtWrapper_QTextEdit::tabStopWidth(QTextEdit* theWrappedObject) const +{ + return ( theWrappedObject->tabStopWidth()); +} + +QColor PythonQtWrapper_QTextEdit::textBackgroundColor(QTextEdit* theWrappedObject) const +{ + return ( theWrappedObject->textBackgroundColor()); +} + +QColor PythonQtWrapper_QTextEdit::textColor(QTextEdit* theWrappedObject) const +{ + return ( theWrappedObject->textColor()); +} + +QTextCursor PythonQtWrapper_QTextEdit::textCursor(QTextEdit* theWrappedObject) const +{ + return ( theWrappedObject->textCursor()); +} + +Qt::TextInteractionFlags PythonQtWrapper_QTextEdit::textInteractionFlags(QTextEdit* theWrappedObject) const +{ + return ( theWrappedObject->textInteractionFlags()); +} + +void PythonQtWrapper_QTextEdit::timerEvent(QTextEdit* theWrappedObject, QTimerEvent* e) +{ + ( ((PythonQtPublicPromoter_QTextEdit*)theWrappedObject)->promoted_timerEvent(e)); +} + +QString PythonQtWrapper_QTextEdit::toHtml(QTextEdit* theWrappedObject) const +{ + return ( theWrappedObject->toHtml()); +} + +QString PythonQtWrapper_QTextEdit::toPlainText(QTextEdit* theWrappedObject) const +{ + return ( theWrappedObject->toPlainText()); +} + +void PythonQtWrapper_QTextEdit::wheelEvent(QTextEdit* theWrappedObject, QWheelEvent* e) +{ + ( ((PythonQtPublicPromoter_QTextEdit*)theWrappedObject)->promoted_wheelEvent(e)); +} + +QTextOption::WrapMode PythonQtWrapper_QTextEdit::wordWrapMode(QTextEdit* theWrappedObject) const +{ + return ( theWrappedObject->wordWrapMode()); +} + + + +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->charFormat()); +} + +int PythonQtWrapper_QTextFragment::charFormatIndex(QTextFragment* theWrappedObject) const +{ + return ( theWrappedObject->charFormatIndex()); +} + +bool PythonQtWrapper_QTextFragment::contains(QTextFragment* theWrappedObject, int position) const +{ + return ( theWrappedObject->contains(position)); +} + +bool PythonQtWrapper_QTextFragment::isValid(QTextFragment* theWrappedObject) const +{ + return ( theWrappedObject->isValid()); +} + +int PythonQtWrapper_QTextFragment::length(QTextFragment* theWrappedObject) const +{ + return ( theWrappedObject->length()); +} + +bool PythonQtWrapper_QTextFragment::__ne__(QTextFragment* theWrappedObject, const QTextFragment& o) const +{ + return ( (*theWrappedObject)!= o); +} + +bool PythonQtWrapper_QTextFragment::__lt__(QTextFragment* theWrappedObject, const QTextFragment& o) const +{ + return ( (*theWrappedObject)< o); +} + +bool PythonQtWrapper_QTextFragment::__eq__(QTextFragment* theWrappedObject, const QTextFragment& o) const +{ + return ( (*theWrappedObject)== o); +} + +int PythonQtWrapper_QTextFragment::position(QTextFragment* theWrappedObject) const +{ + return ( theWrappedObject->position()); +} + +QString PythonQtWrapper_QTextFragment::text(QTextFragment* theWrappedObject) const +{ + return ( theWrappedObject->text()); +} + + + +void PythonQtShell_QTextFrame::childEvent(QChildEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "childEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QChildEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QTextFrame::childEvent(arg__1); +} +void PythonQtShell_QTextFrame::customEvent(QEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "customEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QTextFrame::customEvent(arg__1); +} +bool PythonQtShell_QTextFrame::event(QEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "event"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue; + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QTextFrame::event(arg__1); +} +bool PythonQtShell_QTextFrame::eventFilter(QObject* arg__1, QEvent* arg__2) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "eventFilter"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue; + void* args[3] = {NULL, (void*)&arg__1, (void*)&arg__2}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QTextFrame::eventFilter(arg__1, arg__2); +} +void PythonQtShell_QTextFrame::timerEvent(QTimerEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "timerEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QTimerEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QTextFrame::timerEvent(arg__1); +} +QTextFrame* PythonQtWrapper_QTextFrame::new_QTextFrame(QTextDocument* doc) +{ +return new PythonQtShell_QTextFrame(doc); } + +QTextFrame::iterator PythonQtWrapper_QTextFrame::begin(QTextFrame* theWrappedObject) const +{ + return ( theWrappedObject->begin()); +} + +QList PythonQtWrapper_QTextFrame::childFrames(QTextFrame* theWrappedObject) const +{ + return ( theWrappedObject->childFrames()); +} + +QTextFrame::iterator PythonQtWrapper_QTextFrame::end(QTextFrame* theWrappedObject) const +{ + return ( theWrappedObject->end()); +} + +QTextCursor PythonQtWrapper_QTextFrame::firstCursorPosition(QTextFrame* theWrappedObject) const +{ + return ( theWrappedObject->firstCursorPosition()); +} + +int PythonQtWrapper_QTextFrame::firstPosition(QTextFrame* theWrappedObject) const +{ + return ( theWrappedObject->firstPosition()); +} + +QTextFrameFormat PythonQtWrapper_QTextFrame::frameFormat(QTextFrame* theWrappedObject) const +{ + return ( theWrappedObject->frameFormat()); +} + +QTextCursor PythonQtWrapper_QTextFrame::lastCursorPosition(QTextFrame* theWrappedObject) const +{ + return ( theWrappedObject->lastCursorPosition()); +} + +int PythonQtWrapper_QTextFrame::lastPosition(QTextFrame* theWrappedObject) const +{ + return ( theWrappedObject->lastPosition()); +} + +QTextFrame* PythonQtWrapper_QTextFrame::parentFrame(QTextFrame* theWrappedObject) const +{ + return ( theWrappedObject->parentFrame()); +} + +void PythonQtWrapper_QTextFrame::setFrameFormat(QTextFrame* theWrappedObject, const QTextFrameFormat& format) +{ + ( theWrappedObject->setFrameFormat(format)); +} + + + +QTextFrameFormat* PythonQtWrapper_QTextFrameFormat::new_QTextFrameFormat() +{ +return new PythonQtShell_QTextFrameFormat(); } + +qreal PythonQtWrapper_QTextFrameFormat::border(QTextFrameFormat* theWrappedObject) const +{ + return ( theWrappedObject->border()); +} + +QBrush PythonQtWrapper_QTextFrameFormat::borderBrush(QTextFrameFormat* theWrappedObject) const +{ + return ( theWrappedObject->borderBrush()); +} + +QTextFrameFormat::BorderStyle PythonQtWrapper_QTextFrameFormat::borderStyle(QTextFrameFormat* theWrappedObject) const +{ + return ( theWrappedObject->borderStyle()); +} + +qreal PythonQtWrapper_QTextFrameFormat::bottomMargin(QTextFrameFormat* theWrappedObject) const +{ + return ( theWrappedObject->bottomMargin()); +} + +QTextLength PythonQtWrapper_QTextFrameFormat::height(QTextFrameFormat* theWrappedObject) const +{ + return ( theWrappedObject->height()); +} + +bool PythonQtWrapper_QTextFrameFormat::isValid(QTextFrameFormat* theWrappedObject) const +{ + return ( theWrappedObject->isValid()); +} + +qreal PythonQtWrapper_QTextFrameFormat::leftMargin(QTextFrameFormat* theWrappedObject) const +{ + return ( theWrappedObject->leftMargin()); +} + +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()); +} + +QTextFrameFormat::Position PythonQtWrapper_QTextFrameFormat::position(QTextFrameFormat* theWrappedObject) const +{ + return ( theWrappedObject->position()); +} + +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)); +} + +void PythonQtWrapper_QTextFrameFormat::setBorderStyle(QTextFrameFormat* theWrappedObject, QTextFrameFormat::BorderStyle style) +{ + ( theWrappedObject->setBorderStyle(style)); +} + +void PythonQtWrapper_QTextFrameFormat::setBottomMargin(QTextFrameFormat* theWrappedObject, qreal margin) +{ + ( theWrappedObject->setBottomMargin(margin)); +} + +void PythonQtWrapper_QTextFrameFormat::setHeight(QTextFrameFormat* theWrappedObject, const QTextLength& height) +{ + ( theWrappedObject->setHeight(height)); +} + +void PythonQtWrapper_QTextFrameFormat::setHeight(QTextFrameFormat* theWrappedObject, qreal height) +{ + ( theWrappedObject->setHeight(height)); +} + +void PythonQtWrapper_QTextFrameFormat::setLeftMargin(QTextFrameFormat* theWrappedObject, qreal margin) +{ + ( 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)); +} + +void PythonQtWrapper_QTextFrameFormat::setPageBreakPolicy(QTextFrameFormat* theWrappedObject, QTextFormat::PageBreakFlags flags) +{ + ( theWrappedObject->setPageBreakPolicy(flags)); +} + +void PythonQtWrapper_QTextFrameFormat::setPosition(QTextFrameFormat* theWrappedObject, QTextFrameFormat::Position f) +{ + ( theWrappedObject->setPosition(f)); +} + +void PythonQtWrapper_QTextFrameFormat::setRightMargin(QTextFrameFormat* theWrappedObject, qreal margin) +{ + ( theWrappedObject->setRightMargin(margin)); +} + +void PythonQtWrapper_QTextFrameFormat::setTopMargin(QTextFrameFormat* theWrappedObject, qreal margin) +{ + ( theWrappedObject->setTopMargin(margin)); +} + +void PythonQtWrapper_QTextFrameFormat::setWidth(QTextFrameFormat* theWrappedObject, const QTextLength& length) +{ + ( theWrappedObject->setWidth(length)); +} + +void PythonQtWrapper_QTextFrameFormat::setWidth(QTextFrameFormat* theWrappedObject, qreal width) +{ + ( theWrappedObject->setWidth(width)); +} + +qreal PythonQtWrapper_QTextFrameFormat::topMargin(QTextFrameFormat* theWrappedObject) const +{ + return ( theWrappedObject->topMargin()); +} + +QTextLength PythonQtWrapper_QTextFrameFormat::width(QTextFrameFormat* theWrappedObject) const +{ + return ( theWrappedObject->width()); +} + + + +QTextImageFormat* PythonQtWrapper_QTextImageFormat::new_QTextImageFormat() +{ +return new PythonQtShell_QTextImageFormat(); } + +qreal PythonQtWrapper_QTextImageFormat::height(QTextImageFormat* theWrappedObject) const +{ + return ( theWrappedObject->height()); +} + +bool PythonQtWrapper_QTextImageFormat::isValid(QTextImageFormat* theWrappedObject) const +{ + return ( theWrappedObject->isValid()); +} + +QString PythonQtWrapper_QTextImageFormat::name(QTextImageFormat* theWrappedObject) const +{ + return ( theWrappedObject->name()); +} + +void PythonQtWrapper_QTextImageFormat::setHeight(QTextImageFormat* theWrappedObject, qreal height) +{ + ( theWrappedObject->setHeight(height)); +} + +void PythonQtWrapper_QTextImageFormat::setName(QTextImageFormat* theWrappedObject, const QString& name) +{ + ( theWrappedObject->setName(name)); +} + +void PythonQtWrapper_QTextImageFormat::setWidth(QTextImageFormat* theWrappedObject, qreal width) +{ + ( theWrappedObject->setWidth(width)); +} + +qreal PythonQtWrapper_QTextImageFormat::width(QTextImageFormat* theWrappedObject) const +{ + return ( theWrappedObject->width()); +} + + + +QTextInlineObject* PythonQtWrapper_QTextInlineObject::new_QTextInlineObject() +{ +return new QTextInlineObject(); } + +qreal PythonQtWrapper_QTextInlineObject::ascent(QTextInlineObject* theWrappedObject) const +{ + return ( theWrappedObject->ascent()); +} + +qreal PythonQtWrapper_QTextInlineObject::descent(QTextInlineObject* theWrappedObject) const +{ + return ( theWrappedObject->descent()); +} + +QTextFormat PythonQtWrapper_QTextInlineObject::format(QTextInlineObject* theWrappedObject) const +{ + return ( theWrappedObject->format()); +} + +int PythonQtWrapper_QTextInlineObject::formatIndex(QTextInlineObject* theWrappedObject) const +{ + return ( theWrappedObject->formatIndex()); +} + +qreal PythonQtWrapper_QTextInlineObject::height(QTextInlineObject* theWrappedObject) const +{ + return ( theWrappedObject->height()); +} + +bool PythonQtWrapper_QTextInlineObject::isValid(QTextInlineObject* theWrappedObject) const +{ + return ( theWrappedObject->isValid()); +} + +QRectF PythonQtWrapper_QTextInlineObject::rect(QTextInlineObject* theWrappedObject) const +{ + return ( theWrappedObject->rect()); +} + +void PythonQtWrapper_QTextInlineObject::setAscent(QTextInlineObject* theWrappedObject, qreal a) +{ + ( theWrappedObject->setAscent(a)); +} + +void PythonQtWrapper_QTextInlineObject::setDescent(QTextInlineObject* theWrappedObject, qreal d) +{ + ( theWrappedObject->setDescent(d)); +} + +void PythonQtWrapper_QTextInlineObject::setWidth(QTextInlineObject* theWrappedObject, qreal w) +{ + ( theWrappedObject->setWidth(w)); +} + +Qt::LayoutDirection PythonQtWrapper_QTextInlineObject::textDirection(QTextInlineObject* theWrappedObject) const +{ + return ( theWrappedObject->textDirection()); +} + +int PythonQtWrapper_QTextInlineObject::textPosition(QTextInlineObject* theWrappedObject) const +{ + return ( theWrappedObject->textPosition()); +} + +qreal PythonQtWrapper_QTextInlineObject::width(QTextInlineObject* theWrappedObject) const +{ + return ( theWrappedObject->width()); +} + + + +QTextItem* PythonQtWrapper_QTextItem::new_QTextItem() +{ +return new PythonQtShell_QTextItem(); } + +qreal PythonQtWrapper_QTextItem::ascent(QTextItem* theWrappedObject) const +{ + return ( theWrappedObject->ascent()); +} + +qreal PythonQtWrapper_QTextItem::descent(QTextItem* theWrappedObject) const +{ + return ( theWrappedObject->descent()); +} + +QFont PythonQtWrapper_QTextItem::font(QTextItem* theWrappedObject) const +{ + return ( theWrappedObject->font()); +} + +QTextItem::RenderFlags PythonQtWrapper_QTextItem::renderFlags(QTextItem* theWrappedObject) const +{ + return ( theWrappedObject->renderFlags()); +} + +QString PythonQtWrapper_QTextItem::text(QTextItem* theWrappedObject) const +{ + return ( theWrappedObject->text()); +} + +qreal PythonQtWrapper_QTextItem::width(QTextItem* theWrappedObject) const +{ + return ( theWrappedObject->width()); +} + + + +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)); +} + +qreal PythonQtWrapper_QTextLine::height(QTextLine* theWrappedObject) const +{ + return ( theWrappedObject->height()); +} + +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()); +} + + + +void PythonQtShell_QTextList::blockFormatChanged(const QTextBlock& block) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "blockFormatChanged"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "const QTextBlock&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&block}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QTextList::blockFormatChanged(block); +} +void PythonQtShell_QTextList::blockInserted(const QTextBlock& block) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "blockInserted"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "const QTextBlock&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&block}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QTextList::blockInserted(block); +} +void PythonQtShell_QTextList::blockRemoved(const QTextBlock& block) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "blockRemoved"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "const QTextBlock&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&block}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QTextList::blockRemoved(block); +} +void PythonQtShell_QTextList::childEvent(QChildEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "childEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QChildEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QTextList::childEvent(arg__1); +} +void PythonQtShell_QTextList::customEvent(QEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "customEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QTextList::customEvent(arg__1); +} +bool PythonQtShell_QTextList::event(QEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "event"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue; + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QTextList::event(arg__1); +} +bool PythonQtShell_QTextList::eventFilter(QObject* arg__1, QEvent* arg__2) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "eventFilter"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue; + void* args[3] = {NULL, (void*)&arg__1, (void*)&arg__2}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QTextList::eventFilter(arg__1, arg__2); +} +void PythonQtShell_QTextList::timerEvent(QTimerEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "timerEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QTimerEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QTextList::timerEvent(arg__1); +} +QTextList* PythonQtWrapper_QTextList::new_QTextList(QTextDocument* doc) +{ +return new PythonQtShell_QTextList(doc); } + +void PythonQtWrapper_QTextList::add(QTextList* theWrappedObject, const QTextBlock& block) +{ + ( 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)); +} + +void PythonQtWrapper_QTextList::removeItem(QTextList* theWrappedObject, int i) +{ + ( theWrappedObject->removeItem(i)); +} + +void PythonQtWrapper_QTextList::setFormat(QTextList* theWrappedObject, const QTextListFormat& format) +{ + ( theWrappedObject->setFormat(format)); +} + + + +QTextListFormat* PythonQtWrapper_QTextListFormat::new_QTextListFormat() +{ +return new PythonQtShell_QTextListFormat(); } + +int PythonQtWrapper_QTextListFormat::indent(QTextListFormat* theWrappedObject) const +{ + return ( theWrappedObject->indent()); +} + +bool PythonQtWrapper_QTextListFormat::isValid(QTextListFormat* theWrappedObject) const +{ + return ( theWrappedObject->isValid()); +} + +void PythonQtWrapper_QTextListFormat::setIndent(QTextListFormat* theWrappedObject, int indent) +{ + ( theWrappedObject->setIndent(indent)); +} + +void PythonQtWrapper_QTextListFormat::setStyle(QTextListFormat* theWrappedObject, QTextListFormat::Style style) +{ + ( theWrappedObject->setStyle(style)); +} + +QTextListFormat::Style PythonQtWrapper_QTextListFormat::style(QTextListFormat* theWrappedObject) const +{ + return ( theWrappedObject->style()); +} + + + +void PythonQtShell_QTextObject::childEvent(QChildEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "childEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QChildEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QTextObject::childEvent(arg__1); +} +void PythonQtShell_QTextObject::customEvent(QEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "customEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QTextObject::customEvent(arg__1); +} +bool PythonQtShell_QTextObject::event(QEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "event"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue; + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QTextObject::event(arg__1); +} +bool PythonQtShell_QTextObject::eventFilter(QObject* arg__1, QEvent* arg__2) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "eventFilter"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue; + void* args[3] = {NULL, (void*)&arg__1, (void*)&arg__2}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QTextObject::eventFilter(arg__1, arg__2); +} +void PythonQtShell_QTextObject::timerEvent(QTimerEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "timerEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QTimerEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QTextObject::timerEvent(arg__1); +} +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 PythonQtShell_QTextTable::childEvent(QChildEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "childEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QChildEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QTextTable::childEvent(arg__1); +} +void PythonQtShell_QTextTable::customEvent(QEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "customEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QTextTable::customEvent(arg__1); +} +bool PythonQtShell_QTextTable::event(QEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "event"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue; + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QTextTable::event(arg__1); +} +bool PythonQtShell_QTextTable::eventFilter(QObject* arg__1, QEvent* arg__2) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "eventFilter"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue; + void* args[3] = {NULL, (void*)&arg__1, (void*)&arg__2}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QTextTable::eventFilter(arg__1, arg__2); +} +void PythonQtShell_QTextTable::timerEvent(QTimerEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "timerEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QTimerEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QTextTable::timerEvent(arg__1); +} +QTextTable* PythonQtWrapper_QTextTable::new_QTextTable(QTextDocument* doc) +{ +return new PythonQtShell_QTextTable(doc); } + +void PythonQtWrapper_QTextTable::appendColumns(QTextTable* theWrappedObject, int count) +{ + ( theWrappedObject->appendColumns(count)); +} + +void PythonQtWrapper_QTextTable::appendRows(QTextTable* theWrappedObject, int count) +{ + ( theWrappedObject->appendRows(count)); +} + +QTextTableCell PythonQtWrapper_QTextTable::cellAt(QTextTable* theWrappedObject, const QTextCursor& c) const +{ + return ( theWrappedObject->cellAt(c)); +} + +QTextTableCell PythonQtWrapper_QTextTable::cellAt(QTextTable* theWrappedObject, int position) const +{ + return ( theWrappedObject->cellAt(position)); +} + +QTextTableCell PythonQtWrapper_QTextTable::cellAt(QTextTable* theWrappedObject, int row, int col) const +{ + return ( theWrappedObject->cellAt(row, col)); +} + +int PythonQtWrapper_QTextTable::columns(QTextTable* theWrappedObject) const +{ + return ( theWrappedObject->columns()); +} + +QTextTableFormat PythonQtWrapper_QTextTable::format(QTextTable* theWrappedObject) const +{ + return ( theWrappedObject->format()); +} + +void PythonQtWrapper_QTextTable::insertColumns(QTextTable* theWrappedObject, int pos, int num) +{ + ( theWrappedObject->insertColumns(pos, num)); +} + +void PythonQtWrapper_QTextTable::insertRows(QTextTable* theWrappedObject, int pos, int num) +{ + ( theWrappedObject->insertRows(pos, num)); +} + +void PythonQtWrapper_QTextTable::mergeCells(QTextTable* theWrappedObject, const QTextCursor& cursor) +{ + ( theWrappedObject->mergeCells(cursor)); +} + +void PythonQtWrapper_QTextTable::mergeCells(QTextTable* theWrappedObject, int row, int col, int numRows, int numCols) +{ + ( theWrappedObject->mergeCells(row, col, numRows, numCols)); +} + +void PythonQtWrapper_QTextTable::removeColumns(QTextTable* theWrappedObject, int pos, int num) +{ + ( theWrappedObject->removeColumns(pos, num)); +} + +void PythonQtWrapper_QTextTable::removeRows(QTextTable* theWrappedObject, int pos, int num) +{ + ( theWrappedObject->removeRows(pos, num)); +} + +void PythonQtWrapper_QTextTable::resize(QTextTable* theWrappedObject, int rows, int cols) +{ + ( theWrappedObject->resize(rows, cols)); +} + +QTextCursor PythonQtWrapper_QTextTable::rowEnd(QTextTable* theWrappedObject, const QTextCursor& c) const +{ + return ( theWrappedObject->rowEnd(c)); +} + +QTextCursor PythonQtWrapper_QTextTable::rowStart(QTextTable* theWrappedObject, const QTextCursor& c) const +{ + return ( theWrappedObject->rowStart(c)); +} + +int PythonQtWrapper_QTextTable::rows(QTextTable* theWrappedObject) const +{ + return ( theWrappedObject->rows()); +} + +void PythonQtWrapper_QTextTable::setFormat(QTextTable* theWrappedObject, const QTextTableFormat& format) +{ + ( theWrappedObject->setFormat(format)); +} + +void PythonQtWrapper_QTextTable::splitCell(QTextTable* theWrappedObject, int row, int col, int numRows, int numCols) +{ + ( theWrappedObject->splitCell(row, col, numRows, numCols)); +} + + + +QTextTableCell* PythonQtWrapper_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->begin()); +} + +int PythonQtWrapper_QTextTableCell::column(QTextTableCell* theWrappedObject) const +{ + return ( theWrappedObject->column()); +} + +int PythonQtWrapper_QTextTableCell::columnSpan(QTextTableCell* theWrappedObject) const +{ + return ( theWrappedObject->columnSpan()); +} + +QTextFrame::iterator PythonQtWrapper_QTextTableCell::end(QTextTableCell* theWrappedObject) const +{ + return ( theWrappedObject->end()); +} + +QTextCursor PythonQtWrapper_QTextTableCell::firstCursorPosition(QTextTableCell* theWrappedObject) const +{ + return ( theWrappedObject->firstCursorPosition()); +} + +int PythonQtWrapper_QTextTableCell::firstPosition(QTextTableCell* theWrappedObject) const +{ + return ( theWrappedObject->firstPosition()); +} + +QTextCharFormat PythonQtWrapper_QTextTableCell::format(QTextTableCell* theWrappedObject) const +{ + return ( theWrappedObject->format()); +} + +bool PythonQtWrapper_QTextTableCell::isValid(QTextTableCell* theWrappedObject) const +{ + return ( theWrappedObject->isValid()); +} + +QTextCursor PythonQtWrapper_QTextTableCell::lastCursorPosition(QTextTableCell* theWrappedObject) const +{ + return ( theWrappedObject->lastCursorPosition()); +} + +int PythonQtWrapper_QTextTableCell::lastPosition(QTextTableCell* theWrappedObject) const +{ + return ( theWrappedObject->lastPosition()); +} + +bool PythonQtWrapper_QTextTableCell::__ne__(QTextTableCell* theWrappedObject, const QTextTableCell& other) const +{ + return ( (*theWrappedObject)!= other); +} + +bool PythonQtWrapper_QTextTableCell::__eq__(QTextTableCell* theWrappedObject, const QTextTableCell& other) const +{ + return ( (*theWrappedObject)== other); +} + +int PythonQtWrapper_QTextTableCell::row(QTextTableCell* theWrappedObject) const +{ + return ( theWrappedObject->row()); +} + +int PythonQtWrapper_QTextTableCell::rowSpan(QTextTableCell* theWrappedObject) const +{ + return ( theWrappedObject->rowSpan()); +} + +void PythonQtWrapper_QTextTableCell::setFormat(QTextTableCell* theWrappedObject, const QTextCharFormat& format) +{ + ( theWrappedObject->setFormat(format)); +} + +int PythonQtWrapper_QTextTableCell::tableCellFormatIndex(QTextTableCell* theWrappedObject) const +{ + return ( theWrappedObject->tableCellFormatIndex()); +} + + + +QTextTableCellFormat* PythonQtWrapper_QTextTableCellFormat::new_QTextTableCellFormat() +{ +return new PythonQtShell_QTextTableCellFormat(); } + +qreal PythonQtWrapper_QTextTableCellFormat::bottomPadding(QTextTableCellFormat* theWrappedObject) const +{ + return ( theWrappedObject->bottomPadding()); +} + +bool PythonQtWrapper_QTextTableCellFormat::isValid(QTextTableCellFormat* theWrappedObject) const +{ + return ( theWrappedObject->isValid()); +} + +qreal PythonQtWrapper_QTextTableCellFormat::leftPadding(QTextTableCellFormat* theWrappedObject) const +{ + return ( theWrappedObject->leftPadding()); +} + +qreal PythonQtWrapper_QTextTableCellFormat::rightPadding(QTextTableCellFormat* theWrappedObject) const +{ + return ( theWrappedObject->rightPadding()); +} + +void PythonQtWrapper_QTextTableCellFormat::setBottomPadding(QTextTableCellFormat* theWrappedObject, qreal padding) +{ + ( theWrappedObject->setBottomPadding(padding)); +} + +void PythonQtWrapper_QTextTableCellFormat::setLeftPadding(QTextTableCellFormat* theWrappedObject, qreal padding) +{ + ( theWrappedObject->setLeftPadding(padding)); +} + +void PythonQtWrapper_QTextTableCellFormat::setPadding(QTextTableCellFormat* theWrappedObject, qreal padding) +{ + ( theWrappedObject->setPadding(padding)); +} + +void PythonQtWrapper_QTextTableCellFormat::setRightPadding(QTextTableCellFormat* theWrappedObject, qreal padding) +{ + ( theWrappedObject->setRightPadding(padding)); +} + +void PythonQtWrapper_QTextTableCellFormat::setTopPadding(QTextTableCellFormat* theWrappedObject, qreal padding) +{ + ( theWrappedObject->setTopPadding(padding)); +} + +qreal PythonQtWrapper_QTextTableCellFormat::topPadding(QTextTableCellFormat* theWrappedObject) const +{ + return ( theWrappedObject->topPadding()); +} + + + +QTextTableFormat* PythonQtWrapper_QTextTableFormat::new_QTextTableFormat() +{ +return new PythonQtShell_QTextTableFormat(); } + +Qt::Alignment PythonQtWrapper_QTextTableFormat::alignment(QTextTableFormat* theWrappedObject) const +{ + return ( theWrappedObject->alignment()); +} + +qreal PythonQtWrapper_QTextTableFormat::cellPadding(QTextTableFormat* theWrappedObject) const +{ + return ( theWrappedObject->cellPadding()); +} + +qreal PythonQtWrapper_QTextTableFormat::cellSpacing(QTextTableFormat* theWrappedObject) const +{ + return ( theWrappedObject->cellSpacing()); +} + +void PythonQtWrapper_QTextTableFormat::clearColumnWidthConstraints(QTextTableFormat* theWrappedObject) +{ + ( theWrappedObject->clearColumnWidthConstraints()); +} + +QVector PythonQtWrapper_QTextTableFormat::columnWidthConstraints(QTextTableFormat* theWrappedObject) const +{ + return ( theWrappedObject->columnWidthConstraints()); +} + +int PythonQtWrapper_QTextTableFormat::columns(QTextTableFormat* theWrappedObject) const +{ + return ( theWrappedObject->columns()); +} + +int PythonQtWrapper_QTextTableFormat::headerRowCount(QTextTableFormat* theWrappedObject) const +{ + return ( theWrappedObject->headerRowCount()); +} + +bool PythonQtWrapper_QTextTableFormat::isValid(QTextTableFormat* theWrappedObject) const +{ + return ( theWrappedObject->isValid()); +} + +void PythonQtWrapper_QTextTableFormat::setAlignment(QTextTableFormat* theWrappedObject, Qt::Alignment alignment) +{ + ( theWrappedObject->setAlignment(alignment)); +} + +void PythonQtWrapper_QTextTableFormat::setCellPadding(QTextTableFormat* theWrappedObject, qreal padding) +{ + ( theWrappedObject->setCellPadding(padding)); +} + +void PythonQtWrapper_QTextTableFormat::setCellSpacing(QTextTableFormat* theWrappedObject, qreal spacing) +{ + ( theWrappedObject->setCellSpacing(spacing)); +} + +void PythonQtWrapper_QTextTableFormat::setColumnWidthConstraints(QTextTableFormat* theWrappedObject, const QVector& constraints) +{ + ( theWrappedObject->setColumnWidthConstraints(constraints)); +} + +void PythonQtWrapper_QTextTableFormat::setColumns(QTextTableFormat* theWrappedObject, int columns) +{ + ( theWrappedObject->setColumns(columns)); +} + +void PythonQtWrapper_QTextTableFormat::setHeaderRowCount(QTextTableFormat* theWrappedObject, int count) +{ + ( theWrappedObject->setHeaderRowCount(count)); +} + + + +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); } + + + +void PythonQtShell_QTimeEdit::actionEvent(QActionEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "actionEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QActionEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QTimeEdit::actionEvent(arg__1); +} +void PythonQtShell_QTimeEdit::changeEvent(QEvent* event) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "changeEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&event}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QTimeEdit::changeEvent(event); +} +void PythonQtShell_QTimeEdit::childEvent(QChildEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "childEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QChildEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QTimeEdit::childEvent(arg__1); +} +void PythonQtShell_QTimeEdit::clear() +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "clear"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={""}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QTimeEdit::clear(); +} +void PythonQtShell_QTimeEdit::closeEvent(QCloseEvent* event) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "closeEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QCloseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&event}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QTimeEdit::closeEvent(event); +} +void PythonQtShell_QTimeEdit::contextMenuEvent(QContextMenuEvent* event) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "contextMenuEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QContextMenuEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&event}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QTimeEdit::contextMenuEvent(event); +} +void PythonQtShell_QTimeEdit::customEvent(QEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "customEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QTimeEdit::customEvent(arg__1); +} +QDateTime PythonQtShell_QTimeEdit::dateTimeFromText(const QString& text) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dateTimeFromText"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QDateTime" , "const QString&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + QDateTime returnValue; + void* args[2] = {NULL, (void*)&text}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("dateTimeFromText", methodInfo, result); + } else { + returnValue = *((QDateTime*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QTimeEdit::dateTimeFromText(text); +} +int PythonQtShell_QTimeEdit::devType() const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "devType"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + int returnValue; + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("devType", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QTimeEdit::devType(); +} +void PythonQtShell_QTimeEdit::dragEnterEvent(QDragEnterEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dragEnterEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QDragEnterEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QTimeEdit::dragEnterEvent(arg__1); +} +void PythonQtShell_QTimeEdit::dragLeaveEvent(QDragLeaveEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dragLeaveEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QDragLeaveEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QTimeEdit::dragLeaveEvent(arg__1); +} +void PythonQtShell_QTimeEdit::dragMoveEvent(QDragMoveEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dragMoveEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QDragMoveEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QTimeEdit::dragMoveEvent(arg__1); +} +void PythonQtShell_QTimeEdit::dropEvent(QDropEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dropEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QDropEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QTimeEdit::dropEvent(arg__1); +} +void PythonQtShell_QTimeEdit::enterEvent(QEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "enterEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QTimeEdit::enterEvent(arg__1); +} +bool PythonQtShell_QTimeEdit::event(QEvent* event) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "event"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue; + void* args[2] = {NULL, (void*)&event}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QTimeEdit::event(event); +} +bool PythonQtShell_QTimeEdit::eventFilter(QObject* arg__1, QEvent* arg__2) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "eventFilter"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue; + void* args[3] = {NULL, (void*)&arg__1, (void*)&arg__2}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QTimeEdit::eventFilter(arg__1, arg__2); +} +void PythonQtShell_QTimeEdit::fixup(QString& input) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "fixup"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QString&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&input}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QTimeEdit::fixup(input); +} +void PythonQtShell_QTimeEdit::focusInEvent(QFocusEvent* event) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "focusInEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QFocusEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&event}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QTimeEdit::focusInEvent(event); +} +bool PythonQtShell_QTimeEdit::focusNextPrevChild(bool next) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "focusNextPrevChild"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue; + void* args[2] = {NULL, (void*)&next}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("focusNextPrevChild", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QTimeEdit::focusNextPrevChild(next); +} +void PythonQtShell_QTimeEdit::focusOutEvent(QFocusEvent* event) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "focusOutEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QFocusEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&event}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QTimeEdit::focusOutEvent(event); +} +int PythonQtShell_QTimeEdit::heightForWidth(int arg__1) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "heightForWidth"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"int" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + int returnValue; + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("heightForWidth", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QTimeEdit::heightForWidth(arg__1); +} +void PythonQtShell_QTimeEdit::hideEvent(QHideEvent* event) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "hideEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QHideEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&event}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QTimeEdit::hideEvent(event); +} +void PythonQtShell_QTimeEdit::inputMethodEvent(QInputMethodEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "inputMethodEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QInputMethodEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QTimeEdit::inputMethodEvent(arg__1); +} +QVariant PythonQtShell_QTimeEdit::inputMethodQuery(Qt::InputMethodQuery arg__1) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "inputMethodQuery"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QVariant" , "Qt::InputMethodQuery"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + QVariant returnValue; + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result); + } else { + returnValue = *((QVariant*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QTimeEdit::inputMethodQuery(arg__1); +} +void PythonQtShell_QTimeEdit::keyPressEvent(QKeyEvent* event) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "keyPressEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QKeyEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&event}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QTimeEdit::keyPressEvent(event); +} +void PythonQtShell_QTimeEdit::keyReleaseEvent(QKeyEvent* event) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "keyReleaseEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QKeyEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&event}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QTimeEdit::keyReleaseEvent(event); +} +void PythonQtShell_QTimeEdit::languageChange() +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "languageChange"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={""}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QTimeEdit::languageChange(); +} +void PythonQtShell_QTimeEdit::leaveEvent(QEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "leaveEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QTimeEdit::leaveEvent(arg__1); +} +int PythonQtShell_QTimeEdit::metric(QPaintDevice::PaintDeviceMetric arg__1) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "metric"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + int returnValue; + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("metric", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QTimeEdit::metric(arg__1); +} +void PythonQtShell_QTimeEdit::mouseDoubleClickEvent(QMouseEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mouseDoubleClickEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QTimeEdit::mouseDoubleClickEvent(arg__1); +} +void PythonQtShell_QTimeEdit::mouseMoveEvent(QMouseEvent* event) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mouseMoveEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&event}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QTimeEdit::mouseMoveEvent(event); +} +void PythonQtShell_QTimeEdit::mousePressEvent(QMouseEvent* event) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mousePressEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&event}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QTimeEdit::mousePressEvent(event); +} +void PythonQtShell_QTimeEdit::mouseReleaseEvent(QMouseEvent* event) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mouseReleaseEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&event}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QTimeEdit::mouseReleaseEvent(event); +} +void PythonQtShell_QTimeEdit::moveEvent(QMoveEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "moveEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QMoveEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QTimeEdit::moveEvent(arg__1); +} +QPaintEngine* PythonQtShell_QTimeEdit::paintEngine() const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "paintEngine"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QPaintEngine*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QPaintEngine* returnValue; + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); + } else { + returnValue = *((QPaintEngine**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QTimeEdit::paintEngine(); +} +void PythonQtShell_QTimeEdit::paintEvent(QPaintEvent* event) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "paintEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QPaintEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&event}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QTimeEdit::paintEvent(event); +} +void PythonQtShell_QTimeEdit::resizeEvent(QResizeEvent* event) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "resizeEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QResizeEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&event}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QTimeEdit::resizeEvent(event); +} +void PythonQtShell_QTimeEdit::showEvent(QShowEvent* event) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "showEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QShowEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&event}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QTimeEdit::showEvent(event); +} +void PythonQtShell_QTimeEdit::stepBy(int steps) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "stepBy"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&steps}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QTimeEdit::stepBy(steps); +} +QAbstractSpinBox::StepEnabled PythonQtShell_QTimeEdit::stepEnabled() const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "stepEnabled"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QAbstractSpinBox::StepEnabled"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QAbstractSpinBox::StepEnabled returnValue; + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("stepEnabled", methodInfo, result); + } else { + returnValue = *((QAbstractSpinBox::StepEnabled*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QTimeEdit::stepEnabled(); +} +void PythonQtShell_QTimeEdit::tabletEvent(QTabletEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "tabletEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QTabletEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QTimeEdit::tabletEvent(arg__1); +} +QString PythonQtShell_QTimeEdit::textFromDateTime(const QDateTime& dt) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "textFromDateTime"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QString" , "const QDateTime&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + QString returnValue; + void* args[2] = {NULL, (void*)&dt}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("textFromDateTime", methodInfo, result); + } else { + returnValue = *((QString*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QTimeEdit::textFromDateTime(dt); +} +void PythonQtShell_QTimeEdit::timerEvent(QTimerEvent* event) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "timerEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QTimerEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&event}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QTimeEdit::timerEvent(event); +} +QValidator::State PythonQtShell_QTimeEdit::validate(QString& input, int& pos) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "validate"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QValidator::State" , "QString&" , "int&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + QValidator::State returnValue; + void* args[3] = {NULL, (void*)&input, (void*)&pos}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("validate", methodInfo, result); + } else { + returnValue = *((QValidator::State*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QTimeEdit::validate(input, pos); +} +void PythonQtShell_QTimeEdit::wheelEvent(QWheelEvent* event) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "wheelEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QWheelEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&event}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QTimeEdit::wheelEvent(event); +} +QTimeEdit* PythonQtWrapper_QTimeEdit::new_QTimeEdit(QWidget* parent) +{ +return new PythonQtShell_QTimeEdit(parent); } + +QTimeEdit* PythonQtWrapper_QTimeEdit::new_QTimeEdit(const QTime& time, QWidget* parent) +{ +return new PythonQtShell_QTimeEdit(time, parent); } + + + +void PythonQtShell_QToolBar::actionEvent(QActionEvent* event) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "actionEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QActionEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&event}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QToolBar::actionEvent(event); +} +void PythonQtShell_QToolBar::changeEvent(QEvent* event) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "changeEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&event}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QToolBar::changeEvent(event); +} +void PythonQtShell_QToolBar::childEvent(QChildEvent* event) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "childEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QChildEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&event}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QToolBar::childEvent(event); +} +void PythonQtShell_QToolBar::closeEvent(QCloseEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "closeEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QCloseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QToolBar::closeEvent(arg__1); +} +void PythonQtShell_QToolBar::contextMenuEvent(QContextMenuEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "contextMenuEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QContextMenuEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QToolBar::contextMenuEvent(arg__1); +} +void PythonQtShell_QToolBar::customEvent(QEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "customEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QToolBar::customEvent(arg__1); +} +int PythonQtShell_QToolBar::devType() const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "devType"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + int returnValue; + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("devType", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QToolBar::devType(); +} +void PythonQtShell_QToolBar::dragEnterEvent(QDragEnterEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dragEnterEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QDragEnterEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QToolBar::dragEnterEvent(arg__1); +} +void PythonQtShell_QToolBar::dragLeaveEvent(QDragLeaveEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dragLeaveEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QDragLeaveEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QToolBar::dragLeaveEvent(arg__1); +} +void PythonQtShell_QToolBar::dragMoveEvent(QDragMoveEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dragMoveEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QDragMoveEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QToolBar::dragMoveEvent(arg__1); +} +void PythonQtShell_QToolBar::dropEvent(QDropEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dropEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QDropEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QToolBar::dropEvent(arg__1); +} +void PythonQtShell_QToolBar::enterEvent(QEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "enterEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QToolBar::enterEvent(arg__1); +} +bool PythonQtShell_QToolBar::event(QEvent* event) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "event"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue; + void* args[2] = {NULL, (void*)&event}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QToolBar::event(event); +} +bool PythonQtShell_QToolBar::eventFilter(QObject* arg__1, QEvent* arg__2) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "eventFilter"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue; + void* args[3] = {NULL, (void*)&arg__1, (void*)&arg__2}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QToolBar::eventFilter(arg__1, arg__2); +} +void PythonQtShell_QToolBar::focusInEvent(QFocusEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "focusInEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QFocusEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QToolBar::focusInEvent(arg__1); +} +bool PythonQtShell_QToolBar::focusNextPrevChild(bool next) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "focusNextPrevChild"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue; + void* args[2] = {NULL, (void*)&next}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("focusNextPrevChild", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QToolBar::focusNextPrevChild(next); +} +void PythonQtShell_QToolBar::focusOutEvent(QFocusEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "focusOutEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QFocusEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QToolBar::focusOutEvent(arg__1); +} +int PythonQtShell_QToolBar::heightForWidth(int arg__1) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "heightForWidth"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"int" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + int returnValue; + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("heightForWidth", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QToolBar::heightForWidth(arg__1); +} +void PythonQtShell_QToolBar::hideEvent(QHideEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "hideEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QHideEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QToolBar::hideEvent(arg__1); +} +void PythonQtShell_QToolBar::inputMethodEvent(QInputMethodEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "inputMethodEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QInputMethodEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QToolBar::inputMethodEvent(arg__1); +} +QVariant PythonQtShell_QToolBar::inputMethodQuery(Qt::InputMethodQuery arg__1) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "inputMethodQuery"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QVariant" , "Qt::InputMethodQuery"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + QVariant returnValue; + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result); + } else { + returnValue = *((QVariant*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QToolBar::inputMethodQuery(arg__1); +} +void PythonQtShell_QToolBar::keyPressEvent(QKeyEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "keyPressEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QKeyEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QToolBar::keyPressEvent(arg__1); +} +void PythonQtShell_QToolBar::keyReleaseEvent(QKeyEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "keyReleaseEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QKeyEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QToolBar::keyReleaseEvent(arg__1); +} +void PythonQtShell_QToolBar::languageChange() +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "languageChange"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={""}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QToolBar::languageChange(); +} +void PythonQtShell_QToolBar::leaveEvent(QEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "leaveEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QToolBar::leaveEvent(arg__1); +} +int PythonQtShell_QToolBar::metric(QPaintDevice::PaintDeviceMetric arg__1) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "metric"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + int returnValue; + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("metric", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QToolBar::metric(arg__1); +} +QSize PythonQtShell_QToolBar::minimumSizeHint() const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "getMinimumSizeHint"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QSize"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QSize returnValue; + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("getMinimumSizeHint", methodInfo, result); + } else { + returnValue = *((QSize*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QToolBar::minimumSizeHint(); +} +void PythonQtShell_QToolBar::mouseDoubleClickEvent(QMouseEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mouseDoubleClickEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QToolBar::mouseDoubleClickEvent(arg__1); +} +void PythonQtShell_QToolBar::mouseMoveEvent(QMouseEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mouseMoveEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QToolBar::mouseMoveEvent(arg__1); +} +void PythonQtShell_QToolBar::mousePressEvent(QMouseEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mousePressEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QToolBar::mousePressEvent(arg__1); +} +void PythonQtShell_QToolBar::mouseReleaseEvent(QMouseEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mouseReleaseEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QToolBar::mouseReleaseEvent(arg__1); +} +void PythonQtShell_QToolBar::moveEvent(QMoveEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "moveEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QMoveEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QToolBar::moveEvent(arg__1); +} +QPaintEngine* PythonQtShell_QToolBar::paintEngine() const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "paintEngine"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QPaintEngine*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QPaintEngine* returnValue; + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); + } else { + returnValue = *((QPaintEngine**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QToolBar::paintEngine(); +} +void PythonQtShell_QToolBar::paintEvent(QPaintEvent* event) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "paintEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QPaintEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&event}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QToolBar::paintEvent(event); +} +void PythonQtShell_QToolBar::resizeEvent(QResizeEvent* event) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "resizeEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QResizeEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&event}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QToolBar::resizeEvent(event); +} +void PythonQtShell_QToolBar::showEvent(QShowEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "showEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QShowEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QToolBar::showEvent(arg__1); +} +QSize PythonQtShell_QToolBar::sizeHint() const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "getSizeHint"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QSize"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QSize returnValue; + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("getSizeHint", methodInfo, result); + } else { + returnValue = *((QSize*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QToolBar::sizeHint(); +} +void PythonQtShell_QToolBar::tabletEvent(QTabletEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "tabletEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QTabletEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QToolBar::tabletEvent(arg__1); +} +void PythonQtShell_QToolBar::timerEvent(QTimerEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "timerEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QTimerEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QToolBar::timerEvent(arg__1); +} +void PythonQtShell_QToolBar::wheelEvent(QWheelEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "wheelEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QWheelEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QToolBar::wheelEvent(arg__1); +} +QToolBar* PythonQtWrapper_QToolBar::new_QToolBar(QWidget* parent) +{ +return new PythonQtShell_QToolBar(parent); } + +QToolBar* PythonQtWrapper_QToolBar::new_QToolBar(const QString& title, QWidget* parent) +{ +return new PythonQtShell_QToolBar(title, parent); } + +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)); +} + +void PythonQtWrapper_QToolBar::actionEvent(QToolBar* theWrappedObject, QActionEvent* event) +{ + ( ((PythonQtPublicPromoter_QToolBar*)theWrappedObject)->promoted_actionEvent(event)); +} + +QRect PythonQtWrapper_QToolBar::actionGeometry(QToolBar* theWrappedObject, QAction* action) const +{ + return ( theWrappedObject->actionGeometry(action)); +} + +void PythonQtWrapper_QToolBar::addAction(QToolBar* theWrappedObject, QAction* action) +{ + ( theWrappedObject->addAction(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::changeEvent(QToolBar* theWrappedObject, QEvent* event) +{ + ( ((PythonQtPublicPromoter_QToolBar*)theWrappedObject)->promoted_changeEvent(event)); +} + +void PythonQtWrapper_QToolBar::childEvent(QToolBar* theWrappedObject, QChildEvent* event) +{ + ( ((PythonQtPublicPromoter_QToolBar*)theWrappedObject)->promoted_childEvent(event)); +} + +void PythonQtWrapper_QToolBar::clear(QToolBar* theWrappedObject) +{ + ( theWrappedObject->clear()); +} + +bool PythonQtWrapper_QToolBar::event(QToolBar* theWrappedObject, QEvent* event) +{ + return ( ((PythonQtPublicPromoter_QToolBar*)theWrappedObject)->promoted_event(event)); +} + +QSize PythonQtWrapper_QToolBar::iconSize(QToolBar* theWrappedObject) const +{ + return ( theWrappedObject->iconSize()); +} + +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::paintEvent(QToolBar* theWrappedObject, QPaintEvent* event) +{ + ( ((PythonQtPublicPromoter_QToolBar*)theWrappedObject)->promoted_paintEvent(event)); +} + +void PythonQtWrapper_QToolBar::resizeEvent(QToolBar* theWrappedObject, QResizeEvent* event) +{ + ( ((PythonQtPublicPromoter_QToolBar*)theWrappedObject)->promoted_resizeEvent(event)); +} + +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()); +} + + + +void PythonQtShell_QToolBox::actionEvent(QActionEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "actionEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QActionEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QToolBox::actionEvent(arg__1); +} +void PythonQtShell_QToolBox::changeEvent(QEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "changeEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QToolBox::changeEvent(arg__1); +} +void PythonQtShell_QToolBox::childEvent(QChildEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "childEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QChildEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QToolBox::childEvent(arg__1); +} +void PythonQtShell_QToolBox::closeEvent(QCloseEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "closeEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QCloseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QToolBox::closeEvent(arg__1); +} +void PythonQtShell_QToolBox::contextMenuEvent(QContextMenuEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "contextMenuEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QContextMenuEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QToolBox::contextMenuEvent(arg__1); +} +void PythonQtShell_QToolBox::customEvent(QEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "customEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QToolBox::customEvent(arg__1); +} +int PythonQtShell_QToolBox::devType() const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "devType"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + int returnValue; + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("devType", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QToolBox::devType(); +} +void PythonQtShell_QToolBox::dragEnterEvent(QDragEnterEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dragEnterEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QDragEnterEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QToolBox::dragEnterEvent(arg__1); +} +void PythonQtShell_QToolBox::dragLeaveEvent(QDragLeaveEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dragLeaveEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QDragLeaveEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QToolBox::dragLeaveEvent(arg__1); +} +void PythonQtShell_QToolBox::dragMoveEvent(QDragMoveEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dragMoveEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QDragMoveEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QToolBox::dragMoveEvent(arg__1); +} +void PythonQtShell_QToolBox::dropEvent(QDropEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dropEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QDropEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QToolBox::dropEvent(arg__1); +} +void PythonQtShell_QToolBox::enterEvent(QEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "enterEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QToolBox::enterEvent(arg__1); +} +bool PythonQtShell_QToolBox::event(QEvent* e) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "event"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue; + void* args[2] = {NULL, (void*)&e}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QToolBox::event(e); +} +bool PythonQtShell_QToolBox::eventFilter(QObject* arg__1, QEvent* arg__2) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "eventFilter"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue; + void* args[3] = {NULL, (void*)&arg__1, (void*)&arg__2}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QToolBox::eventFilter(arg__1, arg__2); +} +void PythonQtShell_QToolBox::focusInEvent(QFocusEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "focusInEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QFocusEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QToolBox::focusInEvent(arg__1); +} +bool PythonQtShell_QToolBox::focusNextPrevChild(bool next) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "focusNextPrevChild"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue; + void* args[2] = {NULL, (void*)&next}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("focusNextPrevChild", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QToolBox::focusNextPrevChild(next); +} +void PythonQtShell_QToolBox::focusOutEvent(QFocusEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "focusOutEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QFocusEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QToolBox::focusOutEvent(arg__1); +} +int PythonQtShell_QToolBox::heightForWidth(int arg__1) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "heightForWidth"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"int" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + int returnValue; + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("heightForWidth", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QToolBox::heightForWidth(arg__1); +} +void PythonQtShell_QToolBox::hideEvent(QHideEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "hideEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QHideEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QToolBox::hideEvent(arg__1); +} +void PythonQtShell_QToolBox::inputMethodEvent(QInputMethodEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "inputMethodEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QInputMethodEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QToolBox::inputMethodEvent(arg__1); +} +QVariant PythonQtShell_QToolBox::inputMethodQuery(Qt::InputMethodQuery arg__1) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "inputMethodQuery"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QVariant" , "Qt::InputMethodQuery"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + QVariant returnValue; + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result); + } else { + returnValue = *((QVariant*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QToolBox::inputMethodQuery(arg__1); +} +void PythonQtShell_QToolBox::itemInserted(int index) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "itemInserted"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&index}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QToolBox::itemInserted(index); +} +void PythonQtShell_QToolBox::itemRemoved(int index) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "itemRemoved"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&index}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QToolBox::itemRemoved(index); +} +void PythonQtShell_QToolBox::keyPressEvent(QKeyEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "keyPressEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QKeyEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QToolBox::keyPressEvent(arg__1); +} +void PythonQtShell_QToolBox::keyReleaseEvent(QKeyEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "keyReleaseEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QKeyEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QToolBox::keyReleaseEvent(arg__1); +} +void PythonQtShell_QToolBox::languageChange() +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "languageChange"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={""}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QToolBox::languageChange(); +} +void PythonQtShell_QToolBox::leaveEvent(QEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "leaveEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QToolBox::leaveEvent(arg__1); +} +int PythonQtShell_QToolBox::metric(QPaintDevice::PaintDeviceMetric arg__1) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "metric"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + int returnValue; + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("metric", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QToolBox::metric(arg__1); +} +QSize PythonQtShell_QToolBox::minimumSizeHint() const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "getMinimumSizeHint"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QSize"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QSize returnValue; + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("getMinimumSizeHint", methodInfo, result); + } else { + returnValue = *((QSize*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QToolBox::minimumSizeHint(); +} +void PythonQtShell_QToolBox::mouseDoubleClickEvent(QMouseEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mouseDoubleClickEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QToolBox::mouseDoubleClickEvent(arg__1); +} +void PythonQtShell_QToolBox::mouseMoveEvent(QMouseEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mouseMoveEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QToolBox::mouseMoveEvent(arg__1); +} +void PythonQtShell_QToolBox::mousePressEvent(QMouseEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mousePressEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QToolBox::mousePressEvent(arg__1); +} +void PythonQtShell_QToolBox::mouseReleaseEvent(QMouseEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mouseReleaseEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QToolBox::mouseReleaseEvent(arg__1); +} +void PythonQtShell_QToolBox::moveEvent(QMoveEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "moveEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QMoveEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QToolBox::moveEvent(arg__1); +} +QPaintEngine* PythonQtShell_QToolBox::paintEngine() const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "paintEngine"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QPaintEngine*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QPaintEngine* returnValue; + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); + } else { + returnValue = *((QPaintEngine**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QToolBox::paintEngine(); +} +void PythonQtShell_QToolBox::paintEvent(QPaintEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "paintEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QPaintEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QToolBox::paintEvent(arg__1); +} +void PythonQtShell_QToolBox::resizeEvent(QResizeEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "resizeEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QResizeEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QToolBox::resizeEvent(arg__1); +} +void PythonQtShell_QToolBox::showEvent(QShowEvent* e) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "showEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QShowEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&e}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QToolBox::showEvent(e); +} +void PythonQtShell_QToolBox::tabletEvent(QTabletEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "tabletEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QTabletEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QToolBox::tabletEvent(arg__1); +} +void PythonQtShell_QToolBox::timerEvent(QTimerEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "timerEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QTimerEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QToolBox::timerEvent(arg__1); +} +void PythonQtShell_QToolBox::wheelEvent(QWheelEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "wheelEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QWheelEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QToolBox::wheelEvent(arg__1); +} +QToolBox* PythonQtWrapper_QToolBox::new_QToolBox(QWidget* parent, Qt::WindowFlags f) +{ +return new PythonQtShell_QToolBox(parent, f); } + +int PythonQtWrapper_QToolBox::addItem(QToolBox* theWrappedObject, QWidget* widget, const QIcon& icon, const QString& text) +{ + return ( theWrappedObject->addItem(widget, icon, text)); +} + +int PythonQtWrapper_QToolBox::addItem(QToolBox* theWrappedObject, QWidget* widget, const QString& text) +{ + return ( theWrappedObject->addItem(widget, text)); +} + +void PythonQtWrapper_QToolBox::changeEvent(QToolBox* theWrappedObject, QEvent* arg__1) +{ + ( ((PythonQtPublicPromoter_QToolBox*)theWrappedObject)->promoted_changeEvent(arg__1)); +} + +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()); +} + +bool PythonQtWrapper_QToolBox::event(QToolBox* theWrappedObject, QEvent* e) +{ + return ( ((PythonQtPublicPromoter_QToolBox*)theWrappedObject)->promoted_event(e)); +} + +int PythonQtWrapper_QToolBox::indexOf(QToolBox* theWrappedObject, QWidget* widget) const +{ + return ( theWrappedObject->indexOf(widget)); +} + +int PythonQtWrapper_QToolBox::insertItem(QToolBox* theWrappedObject, int index, QWidget* widget, const QIcon& icon, const QString& text) +{ + return ( theWrappedObject->insertItem(index, widget, icon, text)); +} + +int PythonQtWrapper_QToolBox::insertItem(QToolBox* theWrappedObject, int index, QWidget* 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)); +} + +void PythonQtWrapper_QToolBox::showEvent(QToolBox* theWrappedObject, QShowEvent* e) +{ + ( ((PythonQtPublicPromoter_QToolBox*)theWrappedObject)->promoted_showEvent(e)); +} + +QWidget* PythonQtWrapper_QToolBox::widget(QToolBox* theWrappedObject, int index) const +{ + return ( theWrappedObject->widget(index)); +} + + + +void PythonQtShell_QToolButton::actionEvent(QActionEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "actionEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QActionEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QToolButton::actionEvent(arg__1); +} +void PythonQtShell_QToolButton::changeEvent(QEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "changeEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QToolButton::changeEvent(arg__1); +} +void PythonQtShell_QToolButton::checkStateSet() +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "checkStateSet"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={""}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QToolButton::checkStateSet(); +} +void PythonQtShell_QToolButton::childEvent(QChildEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "childEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QChildEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QToolButton::childEvent(arg__1); +} +void PythonQtShell_QToolButton::closeEvent(QCloseEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "closeEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QCloseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QToolButton::closeEvent(arg__1); +} +void PythonQtShell_QToolButton::contextMenuEvent(QContextMenuEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "contextMenuEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QContextMenuEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QToolButton::contextMenuEvent(arg__1); +} +void PythonQtShell_QToolButton::customEvent(QEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "customEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QToolButton::customEvent(arg__1); +} +int PythonQtShell_QToolButton::devType() const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "devType"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + int returnValue; + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("devType", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QToolButton::devType(); +} +void PythonQtShell_QToolButton::dragEnterEvent(QDragEnterEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dragEnterEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QDragEnterEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QToolButton::dragEnterEvent(arg__1); +} +void PythonQtShell_QToolButton::dragLeaveEvent(QDragLeaveEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dragLeaveEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QDragLeaveEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QToolButton::dragLeaveEvent(arg__1); +} +void PythonQtShell_QToolButton::dragMoveEvent(QDragMoveEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dragMoveEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QDragMoveEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QToolButton::dragMoveEvent(arg__1); +} +void PythonQtShell_QToolButton::dropEvent(QDropEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dropEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QDropEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QToolButton::dropEvent(arg__1); +} +void PythonQtShell_QToolButton::enterEvent(QEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "enterEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QToolButton::enterEvent(arg__1); +} +bool PythonQtShell_QToolButton::event(QEvent* e) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "event"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue; + void* args[2] = {NULL, (void*)&e}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QToolButton::event(e); +} +bool PythonQtShell_QToolButton::eventFilter(QObject* arg__1, QEvent* arg__2) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "eventFilter"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue; + void* args[3] = {NULL, (void*)&arg__1, (void*)&arg__2}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QToolButton::eventFilter(arg__1, arg__2); +} +void PythonQtShell_QToolButton::focusInEvent(QFocusEvent* e) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "focusInEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QFocusEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&e}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QToolButton::focusInEvent(e); +} +bool PythonQtShell_QToolButton::focusNextPrevChild(bool next) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "focusNextPrevChild"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue; + void* args[2] = {NULL, (void*)&next}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("focusNextPrevChild", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QToolButton::focusNextPrevChild(next); +} +void PythonQtShell_QToolButton::focusOutEvent(QFocusEvent* e) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "focusOutEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QFocusEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&e}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QToolButton::focusOutEvent(e); +} +int PythonQtShell_QToolButton::heightForWidth(int arg__1) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "heightForWidth"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"int" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + int returnValue; + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("heightForWidth", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QToolButton::heightForWidth(arg__1); +} +void PythonQtShell_QToolButton::hideEvent(QHideEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "hideEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QHideEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QToolButton::hideEvent(arg__1); +} +bool PythonQtShell_QToolButton::hitButton(const QPoint& pos) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "hitButton"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "const QPoint&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue; + void* args[2] = {NULL, (void*)&pos}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("hitButton", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QToolButton::hitButton(pos); +} +void PythonQtShell_QToolButton::inputMethodEvent(QInputMethodEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "inputMethodEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QInputMethodEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QToolButton::inputMethodEvent(arg__1); +} +QVariant PythonQtShell_QToolButton::inputMethodQuery(Qt::InputMethodQuery arg__1) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "inputMethodQuery"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QVariant" , "Qt::InputMethodQuery"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + QVariant returnValue; + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result); + } else { + returnValue = *((QVariant*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QToolButton::inputMethodQuery(arg__1); +} +void PythonQtShell_QToolButton::keyPressEvent(QKeyEvent* e) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "keyPressEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QKeyEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&e}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QToolButton::keyPressEvent(e); +} +void PythonQtShell_QToolButton::keyReleaseEvent(QKeyEvent* e) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "keyReleaseEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QKeyEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&e}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QToolButton::keyReleaseEvent(e); +} +void PythonQtShell_QToolButton::languageChange() +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "languageChange"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={""}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QToolButton::languageChange(); +} +void PythonQtShell_QToolButton::leaveEvent(QEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "leaveEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QToolButton::leaveEvent(arg__1); +} +int PythonQtShell_QToolButton::metric(QPaintDevice::PaintDeviceMetric arg__1) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "metric"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + int returnValue; + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("metric", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QToolButton::metric(arg__1); +} +void PythonQtShell_QToolButton::mouseDoubleClickEvent(QMouseEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mouseDoubleClickEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QToolButton::mouseDoubleClickEvent(arg__1); +} +void PythonQtShell_QToolButton::mouseMoveEvent(QMouseEvent* e) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mouseMoveEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&e}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QToolButton::mouseMoveEvent(e); +} +void PythonQtShell_QToolButton::mousePressEvent(QMouseEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mousePressEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QToolButton::mousePressEvent(arg__1); +} +void PythonQtShell_QToolButton::mouseReleaseEvent(QMouseEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mouseReleaseEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QToolButton::mouseReleaseEvent(arg__1); +} +void PythonQtShell_QToolButton::moveEvent(QMoveEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "moveEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QMoveEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QToolButton::moveEvent(arg__1); +} +void PythonQtShell_QToolButton::nextCheckState() +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "nextCheckState"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={""}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QToolButton::nextCheckState(); +} +QPaintEngine* PythonQtShell_QToolButton::paintEngine() const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "paintEngine"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QPaintEngine*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QPaintEngine* returnValue; + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); + } else { + returnValue = *((QPaintEngine**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QToolButton::paintEngine(); +} +void PythonQtShell_QToolButton::paintEvent(QPaintEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "paintEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QPaintEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QToolButton::paintEvent(arg__1); +} +void PythonQtShell_QToolButton::resizeEvent(QResizeEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "resizeEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QResizeEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QToolButton::resizeEvent(arg__1); +} +void PythonQtShell_QToolButton::showEvent(QShowEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "showEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QShowEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QToolButton::showEvent(arg__1); +} +void PythonQtShell_QToolButton::tabletEvent(QTabletEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "tabletEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QTabletEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QToolButton::tabletEvent(arg__1); +} +void PythonQtShell_QToolButton::timerEvent(QTimerEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "timerEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QTimerEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QToolButton::timerEvent(arg__1); +} +void PythonQtShell_QToolButton::wheelEvent(QWheelEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "wheelEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QWheelEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QToolButton::wheelEvent(arg__1); +} +QToolButton* PythonQtWrapper_QToolButton::new_QToolButton(QWidget* parent) +{ +return new PythonQtShell_QToolButton(parent); } + +void PythonQtWrapper_QToolButton::actionEvent(QToolButton* theWrappedObject, QActionEvent* arg__1) +{ + ( ((PythonQtPublicPromoter_QToolButton*)theWrappedObject)->promoted_actionEvent(arg__1)); +} + +Qt::ArrowType PythonQtWrapper_QToolButton::arrowType(QToolButton* theWrappedObject) const +{ + return ( theWrappedObject->arrowType()); +} + +bool PythonQtWrapper_QToolButton::autoRaise(QToolButton* theWrappedObject) const +{ + return ( theWrappedObject->autoRaise()); +} + +void PythonQtWrapper_QToolButton::changeEvent(QToolButton* theWrappedObject, QEvent* arg__1) +{ + ( ((PythonQtPublicPromoter_QToolButton*)theWrappedObject)->promoted_changeEvent(arg__1)); +} + +QAction* PythonQtWrapper_QToolButton::defaultAction(QToolButton* theWrappedObject) const +{ + return ( theWrappedObject->defaultAction()); +} + +void PythonQtWrapper_QToolButton::enterEvent(QToolButton* theWrappedObject, QEvent* arg__1) +{ + ( ((PythonQtPublicPromoter_QToolButton*)theWrappedObject)->promoted_enterEvent(arg__1)); +} + +bool PythonQtWrapper_QToolButton::event(QToolButton* theWrappedObject, QEvent* e) +{ + return ( ((PythonQtPublicPromoter_QToolButton*)theWrappedObject)->promoted_event(e)); +} + +bool PythonQtWrapper_QToolButton::hitButton(QToolButton* theWrappedObject, const QPoint& pos) const +{ + return ( ((PythonQtPublicPromoter_QToolButton*)theWrappedObject)->promoted_hitButton(pos)); +} + +void PythonQtWrapper_QToolButton::leaveEvent(QToolButton* theWrappedObject, QEvent* arg__1) +{ + ( ((PythonQtPublicPromoter_QToolButton*)theWrappedObject)->promoted_leaveEvent(arg__1)); +} + +QMenu* PythonQtWrapper_QToolButton::menu(QToolButton* theWrappedObject) const +{ + return ( theWrappedObject->menu()); +} + +QSize PythonQtWrapper_QToolButton::minimumSizeHint(QToolButton* theWrappedObject) const +{ + return ( theWrappedObject->minimumSizeHint()); +} + +void PythonQtWrapper_QToolButton::mousePressEvent(QToolButton* theWrappedObject, QMouseEvent* arg__1) +{ + ( ((PythonQtPublicPromoter_QToolButton*)theWrappedObject)->promoted_mousePressEvent(arg__1)); +} + +void PythonQtWrapper_QToolButton::mouseReleaseEvent(QToolButton* theWrappedObject, QMouseEvent* arg__1) +{ + ( ((PythonQtPublicPromoter_QToolButton*)theWrappedObject)->promoted_mouseReleaseEvent(arg__1)); +} + +void PythonQtWrapper_QToolButton::nextCheckState(QToolButton* theWrappedObject) +{ + ( ((PythonQtPublicPromoter_QToolButton*)theWrappedObject)->promoted_nextCheckState()); +} + +void PythonQtWrapper_QToolButton::paintEvent(QToolButton* theWrappedObject, QPaintEvent* arg__1) +{ + ( ((PythonQtPublicPromoter_QToolButton*)theWrappedObject)->promoted_paintEvent(arg__1)); +} + +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()); +} + +void PythonQtWrapper_QToolButton::timerEvent(QToolButton* theWrappedObject, QTimerEvent* arg__1) +{ + ( ((PythonQtPublicPromoter_QToolButton*)theWrappedObject)->promoted_timerEvent(arg__1)); +} + +Qt::ToolButtonStyle PythonQtWrapper_QToolButton::toolButtonStyle(QToolButton* theWrappedObject) const +{ + return ( theWrappedObject->toolButtonStyle()); +} + + diff --git a/generated_cpp_47/com_trolltech_qt_gui/com_trolltech_qt_gui9.h b/generated_cpp_47/com_trolltech_qt_gui/com_trolltech_qt_gui9.h new file mode 100644 index 00000000..bb9917ed --- /dev/null +++ b/generated_cpp_47/com_trolltech_qt_gui/com_trolltech_qt_gui9.h @@ -0,0 +1,1732 @@ +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#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_QTextBlockGroup : public QTextBlockGroup +{ +public: + PythonQtShell_QTextBlockGroup(QTextDocument* doc):QTextBlockGroup(doc),_wrapper(NULL) {}; + +virtual void blockFormatChanged(const QTextBlock& block); +virtual void blockInserted(const QTextBlock& block); +virtual void blockRemoved(const QTextBlock& block); +virtual void childEvent(QChildEvent* arg__1); +virtual void customEvent(QEvent* arg__1); +virtual bool event(QEvent* arg__1); +virtual bool eventFilter(QObject* arg__1, QEvent* arg__2); +virtual void timerEvent(QTimerEvent* arg__1); + + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtPublicPromoter_QTextBlockGroup : public QTextBlockGroup +{ public: +inline void promoted_blockFormatChanged(const QTextBlock& block) { QTextBlockGroup::blockFormatChanged(block); } +inline void promoted_blockInserted(const QTextBlock& block) { QTextBlockGroup::blockInserted(block); } +inline void promoted_blockRemoved(const QTextBlock& block) { QTextBlockGroup::blockRemoved(block); } +}; + +class PythonQtWrapper_QTextBlockGroup : public QObject +{ Q_OBJECT +public: +public slots: + void blockFormatChanged(QTextBlockGroup* theWrappedObject, const QTextBlock& block); + void blockInserted(QTextBlockGroup* theWrappedObject, const QTextBlock& block); + void blockRemoved(QTextBlockGroup* theWrappedObject, const QTextBlock& block); +}; + + + + + +class PythonQtShell_QTextBlockUserData : public QTextBlockUserData +{ +public: + PythonQtShell_QTextBlockUserData():QTextBlockUserData(),_wrapper(NULL) {}; + + + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtWrapper_QTextBlockUserData : public QObject +{ Q_OBJECT +public: +public slots: +QTextBlockUserData* new_QTextBlockUserData(); +void delete_QTextBlockUserData(QTextBlockUserData* obj) { delete obj; } +}; + + + + + +class PythonQtShell_QTextBrowser : public QTextBrowser +{ +public: + PythonQtShell_QTextBrowser(QWidget* parent = 0):QTextBrowser(parent),_wrapper(NULL) {}; + +virtual void actionEvent(QActionEvent* arg__1); +virtual void backward(); +virtual bool canInsertFromMimeData(const QMimeData* source) const; +virtual void changeEvent(QEvent* e); +virtual void childEvent(QChildEvent* arg__1); +virtual void closeEvent(QCloseEvent* arg__1); +virtual void contextMenuEvent(QContextMenuEvent* e); +virtual QMimeData* createMimeDataFromSelection() const; +virtual void customEvent(QEvent* arg__1); +virtual int devType() const; +virtual void dragEnterEvent(QDragEnterEvent* e); +virtual void dragLeaveEvent(QDragLeaveEvent* e); +virtual void dragMoveEvent(QDragMoveEvent* e); +virtual void dropEvent(QDropEvent* e); +virtual void enterEvent(QEvent* arg__1); +virtual bool event(QEvent* e); +virtual bool eventFilter(QObject* arg__1, QEvent* arg__2); +virtual void focusInEvent(QFocusEvent* e); +virtual bool focusNextPrevChild(bool next); +virtual void focusOutEvent(QFocusEvent* ev); +virtual void forward(); +virtual int heightForWidth(int arg__1) const; +virtual void hideEvent(QHideEvent* arg__1); +virtual void home(); +virtual void inputMethodEvent(QInputMethodEvent* arg__1); +virtual QVariant inputMethodQuery(Qt::InputMethodQuery property) const; +virtual void insertFromMimeData(const QMimeData* source); +virtual void keyPressEvent(QKeyEvent* ev); +virtual void keyReleaseEvent(QKeyEvent* e); +virtual void languageChange(); +virtual void leaveEvent(QEvent* arg__1); +virtual QVariant loadResource(int type, const QUrl& name); +virtual int metric(QPaintDevice::PaintDeviceMetric arg__1) const; +virtual void mouseDoubleClickEvent(QMouseEvent* e); +virtual void mouseMoveEvent(QMouseEvent* ev); +virtual void mousePressEvent(QMouseEvent* ev); +virtual void mouseReleaseEvent(QMouseEvent* ev); +virtual void moveEvent(QMoveEvent* arg__1); +virtual QPaintEngine* paintEngine() const; +virtual void paintEvent(QPaintEvent* e); +virtual void reload(); +virtual void resizeEvent(QResizeEvent* e); +virtual void scrollContentsBy(int dx, int dy); +virtual void setSource(const QUrl& name); +virtual void showEvent(QShowEvent* arg__1); +virtual void tabletEvent(QTabletEvent* arg__1); +virtual void timerEvent(QTimerEvent* e); +virtual bool viewportEvent(QEvent* arg__1); +virtual void wheelEvent(QWheelEvent* e); + + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtPublicPromoter_QTextBrowser : public QTextBrowser +{ public: +inline void promoted_backward() { QTextBrowser::backward(); } +inline bool promoted_event(QEvent* e) { return QTextBrowser::event(e); } +inline bool promoted_focusNextPrevChild(bool next) { return QTextBrowser::focusNextPrevChild(next); } +inline void promoted_focusOutEvent(QFocusEvent* ev) { QTextBrowser::focusOutEvent(ev); } +inline void promoted_forward() { QTextBrowser::forward(); } +inline void promoted_home() { QTextBrowser::home(); } +inline void promoted_keyPressEvent(QKeyEvent* ev) { QTextBrowser::keyPressEvent(ev); } +inline QVariant promoted_loadResource(int type, const QUrl& name) { return QTextBrowser::loadResource(type, name); } +inline void promoted_mouseMoveEvent(QMouseEvent* ev) { QTextBrowser::mouseMoveEvent(ev); } +inline void promoted_mousePressEvent(QMouseEvent* ev) { QTextBrowser::mousePressEvent(ev); } +inline void promoted_mouseReleaseEvent(QMouseEvent* ev) { QTextBrowser::mouseReleaseEvent(ev); } +inline void promoted_paintEvent(QPaintEvent* e) { QTextBrowser::paintEvent(e); } +inline void promoted_reload() { QTextBrowser::reload(); } +inline void promoted_setSource(const QUrl& name) { QTextBrowser::setSource(name); } +}; + +class PythonQtWrapper_QTextBrowser : public QObject +{ Q_OBJECT +public: +public slots: +QTextBrowser* new_QTextBrowser(QWidget* parent = 0); +void delete_QTextBrowser(QTextBrowser* obj) { delete obj; } + int backwardHistoryCount(QTextBrowser* theWrappedObject) const; + void clearHistory(QTextBrowser* theWrappedObject); + bool event(QTextBrowser* theWrappedObject, QEvent* e); + bool focusNextPrevChild(QTextBrowser* theWrappedObject, bool next); + void focusOutEvent(QTextBrowser* theWrappedObject, QFocusEvent* ev); + int forwardHistoryCount(QTextBrowser* theWrappedObject) const; + QString historyTitle(QTextBrowser* theWrappedObject, int arg__1) const; + QUrl historyUrl(QTextBrowser* theWrappedObject, int arg__1) const; + bool isBackwardAvailable(QTextBrowser* theWrappedObject) const; + bool isForwardAvailable(QTextBrowser* theWrappedObject) const; + void keyPressEvent(QTextBrowser* theWrappedObject, QKeyEvent* ev); + QVariant loadResource(QTextBrowser* theWrappedObject, int type, const QUrl& name); + void mouseMoveEvent(QTextBrowser* theWrappedObject, QMouseEvent* ev); + void mousePressEvent(QTextBrowser* theWrappedObject, QMouseEvent* ev); + void mouseReleaseEvent(QTextBrowser* theWrappedObject, QMouseEvent* ev); + bool openExternalLinks(QTextBrowser* theWrappedObject) const; + bool openLinks(QTextBrowser* theWrappedObject) const; + void paintEvent(QTextBrowser* theWrappedObject, QPaintEvent* e); + QStringList searchPaths(QTextBrowser* theWrappedObject) const; + void setOpenExternalLinks(QTextBrowser* theWrappedObject, bool open); + void setOpenLinks(QTextBrowser* theWrappedObject, bool open); + void setSearchPaths(QTextBrowser* theWrappedObject, const QStringList& paths); + QUrl source(QTextBrowser* theWrappedObject) const; +}; + + + + + +class PythonQtShell_QTextCharFormat : public QTextCharFormat +{ +public: + PythonQtShell_QTextCharFormat():QTextCharFormat(),_wrapper(NULL) {}; + PythonQtShell_QTextCharFormat(const QTextFormat& fmt):QTextCharFormat(fmt),_wrapper(NULL) {}; + + + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtWrapper_QTextCharFormat : public QObject +{ Q_OBJECT +public: +Q_ENUMS(VerticalAlignment UnderlineStyle ) +enum VerticalAlignment{ + AlignNormal = QTextCharFormat::AlignNormal, AlignSuperScript = QTextCharFormat::AlignSuperScript, AlignSubScript = QTextCharFormat::AlignSubScript, AlignMiddle = QTextCharFormat::AlignMiddle, AlignTop = QTextCharFormat::AlignTop, AlignBottom = QTextCharFormat::AlignBottom}; +enum UnderlineStyle{ + NoUnderline = QTextCharFormat::NoUnderline, SingleUnderline = QTextCharFormat::SingleUnderline, DashUnderline = QTextCharFormat::DashUnderline, DotLine = QTextCharFormat::DotLine, DashDotLine = QTextCharFormat::DashDotLine, DashDotDotLine = QTextCharFormat::DashDotDotLine, WaveUnderline = QTextCharFormat::WaveUnderline, SpellCheckUnderline = QTextCharFormat::SpellCheckUnderline}; +public slots: +QTextCharFormat* new_QTextCharFormat(); +QTextCharFormat* new_QTextCharFormat(const QTextCharFormat& other) { +PythonQtShell_QTextCharFormat* a = new PythonQtShell_QTextCharFormat(); +*((QTextCharFormat*)a) = other; +return a; } +void delete_QTextCharFormat(QTextCharFormat* obj) { delete obj; } + QString anchorHref(QTextCharFormat* theWrappedObject) const; + QStringList anchorNames(QTextCharFormat* theWrappedObject) const; + QFont font(QTextCharFormat* theWrappedObject) const; + QFont::Capitalization fontCapitalization(QTextCharFormat* theWrappedObject) const; + QString fontFamily(QTextCharFormat* theWrappedObject) const; + bool fontFixedPitch(QTextCharFormat* theWrappedObject) const; + bool fontItalic(QTextCharFormat* theWrappedObject) const; + bool fontKerning(QTextCharFormat* theWrappedObject) const; + qreal fontLetterSpacing(QTextCharFormat* theWrappedObject) const; + bool fontOverline(QTextCharFormat* theWrappedObject) const; + qreal fontPointSize(QTextCharFormat* theWrappedObject) const; + bool fontStrikeOut(QTextCharFormat* theWrappedObject) const; + QFont::StyleHint fontStyleHint(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 setFontCapitalization(QTextCharFormat* theWrappedObject, QFont::Capitalization capitalization); + void setFontFamily(QTextCharFormat* theWrappedObject, const QString& family); + void setFontFixedPitch(QTextCharFormat* theWrappedObject, bool fixedPitch); + void setFontItalic(QTextCharFormat* theWrappedObject, bool italic); + void setFontKerning(QTextCharFormat* theWrappedObject, bool enable); + void setFontLetterSpacing(QTextCharFormat* theWrappedObject, qreal spacing); + void setFontOverline(QTextCharFormat* theWrappedObject, bool overline); + void setFontPointSize(QTextCharFormat* theWrappedObject, qreal size); + void setFontStrikeOut(QTextCharFormat* theWrappedObject, bool strikeOut); + void setFontStyleHint(QTextCharFormat* theWrappedObject, QFont::StyleHint hint, QFont::StyleStrategy strategy = QFont::PreferDefault); + 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; +}; + + + + + +class PythonQtShell_QTextCodecPlugin : public QTextCodecPlugin +{ +public: + PythonQtShell_QTextCodecPlugin(QObject* parent = 0):QTextCodecPlugin(parent),_wrapper(NULL) {}; + +virtual QList aliases() const; +virtual void childEvent(QChildEvent* arg__1); +virtual QTextCodec* createForMib(int mib); +virtual QTextCodec* createForName(const QByteArray& name); +virtual void customEvent(QEvent* arg__1); +virtual bool event(QEvent* arg__1); +virtual bool eventFilter(QObject* arg__1, QEvent* arg__2); +virtual QList mibEnums() const; +virtual QList names() const; +virtual void timerEvent(QTimerEvent* arg__1); + + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtWrapper_QTextCodecPlugin : public QObject +{ Q_OBJECT +public: +public slots: +QTextCodecPlugin* new_QTextCodecPlugin(QObject* parent = 0); +void delete_QTextCodecPlugin(QTextCodecPlugin* obj) { delete obj; } +}; + + + + + +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); + 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; + void removeSelectedText(QTextCursor* theWrappedObject); + void select(QTextCursor* theWrappedObject, QTextCursor::SelectionType selection); + void selectedTableCells(QTextCursor* theWrappedObject, int* firstRow, int* numRows, int* firstColumn, int* numColumns) const; + 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 setPosition(QTextCursor* theWrappedObject, int pos, QTextCursor::MoveMode mode = QTextCursor::MoveAnchor); + void setVisualNavigation(QTextCursor* theWrappedObject, bool b); + bool visualNavigation(QTextCursor* theWrappedObject) const; + bool __nonzero__(QTextCursor* obj) { return !obj->isNull(); } +}; + + + + + +class PythonQtShell_QTextDocument : public QTextDocument +{ +public: + PythonQtShell_QTextDocument(QObject* parent = 0):QTextDocument(parent),_wrapper(NULL) {}; + PythonQtShell_QTextDocument(const QString& text, QObject* parent = 0):QTextDocument(text, parent),_wrapper(NULL) {}; + +virtual void childEvent(QChildEvent* arg__1); +virtual void clear(); +virtual QTextObject* createObject(const QTextFormat& f); +virtual void customEvent(QEvent* arg__1); +virtual bool event(QEvent* arg__1); +virtual bool eventFilter(QObject* arg__1, QEvent* arg__2); +virtual QVariant loadResource(int type, const QUrl& name); +virtual void timerEvent(QTimerEvent* arg__1); + + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtPublicPromoter_QTextDocument : public QTextDocument +{ public: +inline void promoted_clear() { QTextDocument::clear(); } +inline QTextObject* promoted_createObject(const QTextFormat& f) { return QTextDocument::createObject(f); } +inline QVariant promoted_loadResource(int type, const QUrl& name) { return QTextDocument::loadResource(type, name); } +}; + +class PythonQtWrapper_QTextDocument : public QObject +{ Q_OBJECT +public: +Q_ENUMS(ResourceType FindFlag MetaInformation ) +Q_FLAGS(FindFlags ) +enum ResourceType{ + HtmlResource = QTextDocument::HtmlResource, ImageResource = QTextDocument::ImageResource, StyleSheetResource = QTextDocument::StyleSheetResource, UserResource = QTextDocument::UserResource}; +enum FindFlag{ + FindBackward = QTextDocument::FindBackward, FindCaseSensitively = QTextDocument::FindCaseSensitively, FindWholeWords = QTextDocument::FindWholeWords}; +enum MetaInformation{ + DocumentTitle = QTextDocument::DocumentTitle, DocumentUrl = QTextDocument::DocumentUrl}; +Q_DECLARE_FLAGS(FindFlags, FindFlag) +public slots: +QTextDocument* new_QTextDocument(QObject* parent = 0); +QTextDocument* new_QTextDocument(const QString& text, QObject* parent = 0); +void delete_QTextDocument(QTextDocument* obj) { delete obj; } + void addResource(QTextDocument* theWrappedObject, int type, const QUrl& name, const QVariant& resource); + void adjustSize(QTextDocument* theWrappedObject); + QVector allFormats(QTextDocument* theWrappedObject) const; + int availableRedoSteps(QTextDocument* theWrappedObject) const; + int availableUndoSteps(QTextDocument* theWrappedObject) const; + QTextBlock begin(QTextDocument* theWrappedObject) const; + int blockCount(QTextDocument* theWrappedObject) const; + QChar characterAt(QTextDocument* theWrappedObject, int pos) const; + int characterCount(QTextDocument* theWrappedObject) const; + void clear(QTextDocument* theWrappedObject); + QTextDocument* clone(QTextDocument* theWrappedObject, QObject* parent = 0) const; + QTextObject* createObject(QTextDocument* theWrappedObject, const QTextFormat& f); + QFont defaultFont(QTextDocument* theWrappedObject) const; + QString defaultStyleSheet(QTextDocument* theWrappedObject) const; + QTextOption defaultTextOption(QTextDocument* theWrappedObject) const; + QAbstractTextDocumentLayout* documentLayout(QTextDocument* theWrappedObject) const; + qreal documentMargin(QTextDocument* theWrappedObject) const; + void drawContents(QTextDocument* theWrappedObject, QPainter* painter, const QRectF& rect = QRectF()); + QTextBlock end(QTextDocument* theWrappedObject) const; + QTextCursor find(QTextDocument* theWrappedObject, const QRegExp& expr, const QTextCursor& from, QTextDocument::FindFlags options = 0) const; + QTextCursor find(QTextDocument* theWrappedObject, const QRegExp& expr, int from = 0, QTextDocument::FindFlags options = 0) const; + QTextCursor find(QTextDocument* theWrappedObject, const QString& subString, const QTextCursor& from, QTextDocument::FindFlags options = 0) const; + QTextCursor find(QTextDocument* theWrappedObject, const QString& subString, int from = 0, QTextDocument::FindFlags options = 0) const; + QTextBlock findBlock(QTextDocument* theWrappedObject, int pos) const; + QTextBlock findBlockByLineNumber(QTextDocument* theWrappedObject, int blockNumber) const; + QTextBlock findBlockByNumber(QTextDocument* theWrappedObject, int blockNumber) const; + QTextBlock firstBlock(QTextDocument* theWrappedObject) const; + QTextFrame* frameAt(QTextDocument* theWrappedObject, int pos) const; + qreal idealWidth(QTextDocument* theWrappedObject) const; + qreal indentWidth(QTextDocument* theWrappedObject) const; + bool isEmpty(QTextDocument* theWrappedObject) const; + bool isModified(QTextDocument* theWrappedObject) const; + bool isRedoAvailable(QTextDocument* theWrappedObject) const; + bool isUndoAvailable(QTextDocument* theWrappedObject) const; + bool isUndoRedoEnabled(QTextDocument* theWrappedObject) const; + QTextBlock lastBlock(QTextDocument* theWrappedObject) const; + int lineCount(QTextDocument* theWrappedObject) const; + QVariant loadResource(QTextDocument* theWrappedObject, int type, const QUrl& name); + void markContentsDirty(QTextDocument* theWrappedObject, int from, int length); + int maximumBlockCount(QTextDocument* theWrappedObject) const; + QString metaInformation(QTextDocument* theWrappedObject, QTextDocument::MetaInformation info) const; + QTextObject* object(QTextDocument* theWrappedObject, int objectIndex) const; + QTextObject* objectForFormat(QTextDocument* theWrappedObject, const QTextFormat& arg__1) const; + int pageCount(QTextDocument* theWrappedObject) const; + QSizeF pageSize(QTextDocument* theWrappedObject) const; + void print(QTextDocument* theWrappedObject, QPrinter* printer) const; + void redo(QTextDocument* theWrappedObject, QTextCursor* cursor); + QVariant resource(QTextDocument* theWrappedObject, int type, const QUrl& name) const; + int revision(QTextDocument* theWrappedObject) const; + QTextFrame* rootFrame(QTextDocument* theWrappedObject) const; + void setDefaultFont(QTextDocument* theWrappedObject, const QFont& font); + void setDefaultStyleSheet(QTextDocument* theWrappedObject, const QString& sheet); + void setDefaultTextOption(QTextDocument* theWrappedObject, const QTextOption& option); + void setDocumentLayout(QTextDocument* theWrappedObject, QAbstractTextDocumentLayout* layout); + void setDocumentMargin(QTextDocument* theWrappedObject, qreal margin); + void setHtml(QTextDocument* theWrappedObject, const QString& html); + void setIndentWidth(QTextDocument* theWrappedObject, qreal width); + void setMaximumBlockCount(QTextDocument* theWrappedObject, int maximum); + void setMetaInformation(QTextDocument* theWrappedObject, QTextDocument::MetaInformation info, const QString& arg__2); + void setPageSize(QTextDocument* theWrappedObject, const QSizeF& size); + void setPlainText(QTextDocument* theWrappedObject, const QString& text); + void setTextWidth(QTextDocument* theWrappedObject, qreal width); + void setUndoRedoEnabled(QTextDocument* theWrappedObject, bool enable); + void setUseDesignMetrics(QTextDocument* theWrappedObject, bool b); + QSizeF size(QTextDocument* theWrappedObject) const; + qreal textWidth(QTextDocument* theWrappedObject) const; + QString toHtml(QTextDocument* theWrappedObject, const QByteArray& encoding = QByteArray()) const; + QString toPlainText(QTextDocument* theWrappedObject) const; + void undo(QTextDocument* theWrappedObject, QTextCursor* cursor); + bool useDesignMetrics(QTextDocument* theWrappedObject) const; +}; + + + + + +class PythonQtWrapper_QTextDocumentFragment : public QObject +{ Q_OBJECT +public: +public slots: +QTextDocumentFragment* new_QTextDocumentFragment(); +QTextDocumentFragment* new_QTextDocumentFragment(const QTextCursor& range); +QTextDocumentFragment* new_QTextDocumentFragment(const QTextDocument* document); +QTextDocumentFragment* new_QTextDocumentFragment(const QTextDocumentFragment& rhs); +void delete_QTextDocumentFragment(QTextDocumentFragment* obj) { delete obj; } + QTextDocumentFragment static_QTextDocumentFragment_fromHtml(const QString& html); + QTextDocumentFragment static_QTextDocumentFragment_fromHtml(const QString& html, const QTextDocument* resourceProvider); + QTextDocumentFragment static_QTextDocumentFragment_fromPlainText(const QString& plainText); + bool isEmpty(QTextDocumentFragment* theWrappedObject) const; + QString toHtml(QTextDocumentFragment* theWrappedObject) const; + QString toHtml(QTextDocumentFragment* theWrappedObject, const QByteArray& encoding) const; + QString toPlainText(QTextDocumentFragment* theWrappedObject) const; +}; + + + + + +class PythonQtWrapper_QTextDocumentWriter : public QObject +{ Q_OBJECT +public: +public slots: +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; + QByteArray format(QTextDocumentWriter* theWrappedObject) const; + void setCodec(QTextDocumentWriter* theWrappedObject, QTextCodec* codec); + void setDevice(QTextDocumentWriter* theWrappedObject, QIODevice* device); + void setFileName(QTextDocumentWriter* theWrappedObject, const QString& fileName); + void setFormat(QTextDocumentWriter* theWrappedObject, const QByteArray& format); + QList static_QTextDocumentWriter_supportedDocumentFormats(); + bool write(QTextDocumentWriter* theWrappedObject, const QTextDocument* document); + bool write(QTextDocumentWriter* theWrappedObject, const QTextDocumentFragment& fragment); +}; + + + + + +class PythonQtShell_QTextEdit : public QTextEdit +{ +public: + PythonQtShell_QTextEdit(QWidget* parent = 0):QTextEdit(parent),_wrapper(NULL) {}; + PythonQtShell_QTextEdit(const QString& text, QWidget* parent = 0):QTextEdit(text, parent),_wrapper(NULL) {}; + +virtual void actionEvent(QActionEvent* arg__1); +virtual bool canInsertFromMimeData(const QMimeData* source) const; +virtual void changeEvent(QEvent* e); +virtual void childEvent(QChildEvent* arg__1); +virtual void closeEvent(QCloseEvent* arg__1); +virtual void contextMenuEvent(QContextMenuEvent* e); +virtual QMimeData* createMimeDataFromSelection() const; +virtual void customEvent(QEvent* arg__1); +virtual int devType() const; +virtual void dragEnterEvent(QDragEnterEvent* e); +virtual void dragLeaveEvent(QDragLeaveEvent* e); +virtual void dragMoveEvent(QDragMoveEvent* e); +virtual void dropEvent(QDropEvent* e); +virtual void enterEvent(QEvent* arg__1); +virtual bool event(QEvent* e); +virtual bool eventFilter(QObject* arg__1, QEvent* arg__2); +virtual void focusInEvent(QFocusEvent* e); +virtual bool focusNextPrevChild(bool next); +virtual void focusOutEvent(QFocusEvent* e); +virtual int heightForWidth(int arg__1) const; +virtual void hideEvent(QHideEvent* arg__1); +virtual void inputMethodEvent(QInputMethodEvent* arg__1); +virtual QVariant inputMethodQuery(Qt::InputMethodQuery property) const; +virtual void insertFromMimeData(const QMimeData* source); +virtual void keyPressEvent(QKeyEvent* e); +virtual void keyReleaseEvent(QKeyEvent* e); +virtual void languageChange(); +virtual void leaveEvent(QEvent* arg__1); +virtual QVariant loadResource(int type, const QUrl& name); +virtual int metric(QPaintDevice::PaintDeviceMetric arg__1) const; +virtual void mouseDoubleClickEvent(QMouseEvent* e); +virtual void mouseMoveEvent(QMouseEvent* e); +virtual void mousePressEvent(QMouseEvent* e); +virtual void mouseReleaseEvent(QMouseEvent* e); +virtual void moveEvent(QMoveEvent* arg__1); +virtual QPaintEngine* paintEngine() const; +virtual void paintEvent(QPaintEvent* e); +virtual void resizeEvent(QResizeEvent* e); +virtual void scrollContentsBy(int dx, int dy); +virtual void showEvent(QShowEvent* arg__1); +virtual void tabletEvent(QTabletEvent* arg__1); +virtual void timerEvent(QTimerEvent* e); +virtual bool viewportEvent(QEvent* arg__1); +virtual void wheelEvent(QWheelEvent* e); + + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtPublicPromoter_QTextEdit : public QTextEdit +{ public: +inline bool promoted_canInsertFromMimeData(const QMimeData* source) const { return QTextEdit::canInsertFromMimeData(source); } +inline void promoted_changeEvent(QEvent* e) { QTextEdit::changeEvent(e); } +inline void promoted_contextMenuEvent(QContextMenuEvent* e) { QTextEdit::contextMenuEvent(e); } +inline QMimeData* promoted_createMimeDataFromSelection() const { return QTextEdit::createMimeDataFromSelection(); } +inline void promoted_dragEnterEvent(QDragEnterEvent* e) { QTextEdit::dragEnterEvent(e); } +inline void promoted_dragLeaveEvent(QDragLeaveEvent* e) { QTextEdit::dragLeaveEvent(e); } +inline void promoted_dragMoveEvent(QDragMoveEvent* e) { QTextEdit::dragMoveEvent(e); } +inline void promoted_dropEvent(QDropEvent* e) { QTextEdit::dropEvent(e); } +inline bool promoted_event(QEvent* e) { return QTextEdit::event(e); } +inline void promoted_focusInEvent(QFocusEvent* e) { QTextEdit::focusInEvent(e); } +inline bool promoted_focusNextPrevChild(bool next) { return QTextEdit::focusNextPrevChild(next); } +inline void promoted_focusOutEvent(QFocusEvent* e) { QTextEdit::focusOutEvent(e); } +inline void promoted_inputMethodEvent(QInputMethodEvent* arg__1) { QTextEdit::inputMethodEvent(arg__1); } +inline QVariant promoted_inputMethodQuery(Qt::InputMethodQuery property) const { return QTextEdit::inputMethodQuery(property); } +inline void promoted_insertFromMimeData(const QMimeData* source) { QTextEdit::insertFromMimeData(source); } +inline void promoted_keyPressEvent(QKeyEvent* e) { QTextEdit::keyPressEvent(e); } +inline void promoted_keyReleaseEvent(QKeyEvent* e) { QTextEdit::keyReleaseEvent(e); } +inline QVariant promoted_loadResource(int type, const QUrl& name) { return QTextEdit::loadResource(type, name); } +inline void promoted_mouseDoubleClickEvent(QMouseEvent* e) { QTextEdit::mouseDoubleClickEvent(e); } +inline void promoted_mouseMoveEvent(QMouseEvent* e) { QTextEdit::mouseMoveEvent(e); } +inline void promoted_mousePressEvent(QMouseEvent* e) { QTextEdit::mousePressEvent(e); } +inline void promoted_mouseReleaseEvent(QMouseEvent* e) { QTextEdit::mouseReleaseEvent(e); } +inline void promoted_paintEvent(QPaintEvent* e) { QTextEdit::paintEvent(e); } +inline void promoted_resizeEvent(QResizeEvent* e) { QTextEdit::resizeEvent(e); } +inline void promoted_scrollContentsBy(int dx, int dy) { QTextEdit::scrollContentsBy(dx, dy); } +inline void promoted_showEvent(QShowEvent* arg__1) { QTextEdit::showEvent(arg__1); } +inline void promoted_timerEvent(QTimerEvent* e) { QTextEdit::timerEvent(e); } +inline void promoted_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 = 0); +QTextEdit* new_QTextEdit(const QString& text, QWidget* parent = 0); +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 canPaste(QTextEdit* theWrappedObject) const; + void changeEvent(QTextEdit* theWrappedObject, QEvent* e); + void contextMenuEvent(QTextEdit* theWrappedObject, QContextMenuEvent* e); + QMimeData* createMimeDataFromSelection(QTextEdit* theWrappedObject) const; + 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; + QTextDocument* document(QTextEdit* theWrappedObject) const; + QString documentTitle(QTextEdit* theWrappedObject) const; + void dragEnterEvent(QTextEdit* theWrappedObject, QDragEnterEvent* e); + void dragLeaveEvent(QTextEdit* theWrappedObject, QDragLeaveEvent* e); + void dragMoveEvent(QTextEdit* theWrappedObject, QDragMoveEvent* e); + void dropEvent(QTextEdit* theWrappedObject, QDropEvent* e); + void ensureCursorVisible(QTextEdit* theWrappedObject); + bool event(QTextEdit* theWrappedObject, QEvent* e); + QList extraSelections(QTextEdit* theWrappedObject) const; + bool find(QTextEdit* theWrappedObject, const QString& exp, QTextDocument::FindFlags options = 0); + void focusInEvent(QTextEdit* theWrappedObject, QFocusEvent* e); + bool focusNextPrevChild(QTextEdit* theWrappedObject, bool next); + void focusOutEvent(QTextEdit* theWrappedObject, QFocusEvent* 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 inputMethodEvent(QTextEdit* theWrappedObject, QInputMethodEvent* arg__1); + QVariant inputMethodQuery(QTextEdit* theWrappedObject, Qt::InputMethodQuery property) const; + void insertFromMimeData(QTextEdit* theWrappedObject, const QMimeData* source); + bool isReadOnly(QTextEdit* theWrappedObject) const; + bool isUndoRedoEnabled(QTextEdit* theWrappedObject) const; + void keyPressEvent(QTextEdit* theWrappedObject, QKeyEvent* e); + void keyReleaseEvent(QTextEdit* theWrappedObject, QKeyEvent* e); + int lineWrapColumnOrWidth(QTextEdit* theWrappedObject) const; + QTextEdit::LineWrapMode lineWrapMode(QTextEdit* theWrappedObject) const; + QVariant loadResource(QTextEdit* theWrappedObject, int type, const QUrl& name); + void mergeCurrentCharFormat(QTextEdit* theWrappedObject, const QTextCharFormat& modifier); + void mouseDoubleClickEvent(QTextEdit* theWrappedObject, QMouseEvent* e); + void mouseMoveEvent(QTextEdit* theWrappedObject, QMouseEvent* e); + void mousePressEvent(QTextEdit* theWrappedObject, QMouseEvent* e); + void mouseReleaseEvent(QTextEdit* theWrappedObject, QMouseEvent* e); + void moveCursor(QTextEdit* theWrappedObject, QTextCursor::MoveOperation operation, QTextCursor::MoveMode mode = QTextCursor::MoveAnchor); + bool overwriteMode(QTextEdit* theWrappedObject) const; + void paintEvent(QTextEdit* theWrappedObject, QPaintEvent* e); + void print(QTextEdit* theWrappedObject, QPrinter* printer) const; + void resizeEvent(QTextEdit* theWrappedObject, QResizeEvent* e); + void scrollContentsBy(QTextEdit* theWrappedObject, int dx, int 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 setReadOnly(QTextEdit* theWrappedObject, bool ro); + void setTabChangesFocus(QTextEdit* theWrappedObject, bool b); + 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 showEvent(QTextEdit* theWrappedObject, QShowEvent* arg__1); + bool tabChangesFocus(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); + QString toHtml(QTextEdit* theWrappedObject) const; + QString toPlainText(QTextEdit* theWrappedObject) const; + void wheelEvent(QTextEdit* theWrappedObject, QWheelEvent* e); + QTextOption::WrapMode wordWrapMode(QTextEdit* theWrappedObject) const; +}; + + + + + +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; + 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; +}; + + + + + +class PythonQtShell_QTextFrame : public QTextFrame +{ +public: + PythonQtShell_QTextFrame(QTextDocument* doc):QTextFrame(doc),_wrapper(NULL) {}; + +virtual void childEvent(QChildEvent* arg__1); +virtual void customEvent(QEvent* arg__1); +virtual bool event(QEvent* arg__1); +virtual bool eventFilter(QObject* arg__1, QEvent* arg__2); +virtual void timerEvent(QTimerEvent* arg__1); + + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtWrapper_QTextFrame : public QObject +{ Q_OBJECT +public: +public slots: +QTextFrame* new_QTextFrame(QTextDocument* doc); +void delete_QTextFrame(QTextFrame* obj) { delete obj; } + 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(NULL) {}; + PythonQtShell_QTextFrameFormat(const QTextFormat& fmt):QTextFrameFormat(fmt),_wrapper(NULL) {}; + + + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtWrapper_QTextFrameFormat : public QObject +{ Q_OBJECT +public: +Q_ENUMS(Position BorderStyle ) +enum Position{ + InFlow = QTextFrameFormat::InFlow, FloatLeft = QTextFrameFormat::FloatLeft, FloatRight = QTextFrameFormat::FloatRight}; +enum BorderStyle{ + BorderStyle_None = QTextFrameFormat::BorderStyle_None, BorderStyle_Dotted = QTextFrameFormat::BorderStyle_Dotted, BorderStyle_Dashed = QTextFrameFormat::BorderStyle_Dashed, BorderStyle_Solid = QTextFrameFormat::BorderStyle_Solid, BorderStyle_Double = QTextFrameFormat::BorderStyle_Double, BorderStyle_DotDash = QTextFrameFormat::BorderStyle_DotDash, BorderStyle_DotDotDash = QTextFrameFormat::BorderStyle_DotDotDash, BorderStyle_Groove = QTextFrameFormat::BorderStyle_Groove, BorderStyle_Ridge = QTextFrameFormat::BorderStyle_Ridge, BorderStyle_Inset = QTextFrameFormat::BorderStyle_Inset, BorderStyle_Outset = QTextFrameFormat::BorderStyle_Outset}; +public slots: +QTextFrameFormat* new_QTextFrameFormat(); +QTextFrameFormat* new_QTextFrameFormat(const QTextFrameFormat& other) { +PythonQtShell_QTextFrameFormat* a = new PythonQtShell_QTextFrameFormat(); +*((QTextFrameFormat*)a) = other; +return a; } +void delete_QTextFrameFormat(QTextFrameFormat* obj) { delete obj; } + 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; +}; + + + + + +class PythonQtShell_QTextImageFormat : public QTextImageFormat +{ +public: + PythonQtShell_QTextImageFormat():QTextImageFormat(),_wrapper(NULL) {}; + PythonQtShell_QTextImageFormat(const QTextFormat& format):QTextImageFormat(format),_wrapper(NULL) {}; + + + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtWrapper_QTextImageFormat : public QObject +{ Q_OBJECT +public: +public slots: +QTextImageFormat* new_QTextImageFormat(); +QTextImageFormat* new_QTextImageFormat(const QTextImageFormat& other) { +PythonQtShell_QTextImageFormat* a = new PythonQtShell_QTextImageFormat(); +*((QTextImageFormat*)a) = other; +return a; } +void delete_QTextImageFormat(QTextImageFormat* obj) { delete obj; } + qreal height(QTextImageFormat* theWrappedObject) const; + bool isValid(QTextImageFormat* theWrappedObject) const; + QString name(QTextImageFormat* theWrappedObject) const; + void setHeight(QTextImageFormat* theWrappedObject, qreal height); + void setName(QTextImageFormat* theWrappedObject, const QString& name); + void setWidth(QTextImageFormat* theWrappedObject, qreal width); + qreal width(QTextImageFormat* theWrappedObject) const; +}; + + + + + +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; +}; + + + + + +class PythonQtShell_QTextItem : public QTextItem +{ +public: + PythonQtShell_QTextItem():QTextItem(),_wrapper(NULL) {}; + + + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtWrapper_QTextItem : public QObject +{ Q_OBJECT +public: +Q_ENUMS(RenderFlag ) +Q_FLAGS(RenderFlags ) +enum RenderFlag{ + RightToLeft = QTextItem::RightToLeft, Overline = QTextItem::Overline, Underline = QTextItem::Underline, StrikeOut = QTextItem::StrikeOut, Dummy = QTextItem::Dummy}; +Q_DECLARE_FLAGS(RenderFlags, RenderFlag) +public slots: +QTextItem* new_QTextItem(); +void delete_QTextItem(QTextItem* obj) { delete obj; } + qreal ascent(QTextItem* theWrappedObject) const; + qreal descent(QTextItem* theWrappedObject) const; + QFont font(QTextItem* theWrappedObject) const; + QTextItem::RenderFlags renderFlags(QTextItem* theWrappedObject) const; + QString text(QTextItem* theWrappedObject) const; + qreal width(QTextItem* theWrappedObject) const; +}; + + + + + +class PythonQtWrapper_QTextLine : public QObject +{ Q_OBJECT +public: +Q_ENUMS(Edge CursorPosition ) +enum Edge{ + Leading = QTextLine::Leading, Trailing = QTextLine::Trailing}; +enum CursorPosition{ + CursorBetweenCharacters = QTextLine::CursorBetweenCharacters, CursorOnCharacter = QTextLine::CursorOnCharacter}; +public slots: +QTextLine* new_QTextLine(); +QTextLine* new_QTextLine(const QTextLine& other) { +QTextLine* a = new QTextLine(); +*((QTextLine*)a) = other; +return a; } +void delete_QTextLine(QTextLine* obj) { delete obj; } + qreal ascent(QTextLine* theWrappedObject) const; + qreal cursorToX(QTextLine* theWrappedObject, int cursorPos, QTextLine::Edge edge = QTextLine::Leading) const; + qreal descent(QTextLine* theWrappedObject) const; + void draw(QTextLine* theWrappedObject, QPainter* p, const QPointF& point, const QTextLayout::FormatRange* selection = 0) const; + qreal height(QTextLine* theWrappedObject) const; + bool isValid(QTextLine* theWrappedObject) const; + qreal leading(QTextLine* theWrappedObject) const; + bool leadingIncluded(QTextLine* theWrappedObject) const; + int lineNumber(QTextLine* theWrappedObject) const; + QRectF naturalTextRect(QTextLine* theWrappedObject) const; + qreal naturalTextWidth(QTextLine* theWrappedObject) const; + QPointF position(QTextLine* theWrappedObject) const; + QRectF rect(QTextLine* theWrappedObject) const; + void setLeadingIncluded(QTextLine* theWrappedObject, bool included); + void setLineWidth(QTextLine* theWrappedObject, qreal width); + void setNumColumns(QTextLine* theWrappedObject, int columns); + void setNumColumns(QTextLine* theWrappedObject, int columns, qreal alignmentWidth); + void setPosition(QTextLine* theWrappedObject, const QPointF& pos); + int textLength(QTextLine* theWrappedObject) const; + int textStart(QTextLine* theWrappedObject) const; + qreal width(QTextLine* theWrappedObject) const; + qreal x(QTextLine* theWrappedObject) const; + int xToCursor(QTextLine* theWrappedObject, qreal x, QTextLine::CursorPosition arg__2 = QTextLine::CursorBetweenCharacters) const; + qreal y(QTextLine* theWrappedObject) const; +}; + + + + + +class PythonQtShell_QTextList : public QTextList +{ +public: + PythonQtShell_QTextList(QTextDocument* doc):QTextList(doc),_wrapper(NULL) {}; + +virtual void blockFormatChanged(const QTextBlock& block); +virtual void blockInserted(const QTextBlock& block); +virtual void blockRemoved(const QTextBlock& block); +virtual void childEvent(QChildEvent* arg__1); +virtual void customEvent(QEvent* arg__1); +virtual bool event(QEvent* arg__1); +virtual bool eventFilter(QObject* arg__1, QEvent* arg__2); +virtual void timerEvent(QTimerEvent* arg__1); + + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtWrapper_QTextList : public QObject +{ Q_OBJECT +public: +public slots: +QTextList* new_QTextList(QTextDocument* doc); +void delete_QTextList(QTextList* obj) { delete obj; } + void add(QTextList* theWrappedObject, const QTextBlock& block); + int count(QTextList* theWrappedObject) const; + QTextListFormat format(QTextList* theWrappedObject) const; + QTextBlock item(QTextList* theWrappedObject, int i) const; + int itemNumber(QTextList* theWrappedObject, const QTextBlock& arg__1) const; + QString itemText(QTextList* theWrappedObject, const QTextBlock& arg__1) const; + void remove(QTextList* theWrappedObject, const QTextBlock& arg__1); + void removeItem(QTextList* theWrappedObject, int i); + void setFormat(QTextList* theWrappedObject, const QTextListFormat& format); +}; + + + + + +class PythonQtShell_QTextListFormat : public QTextListFormat +{ +public: + PythonQtShell_QTextListFormat():QTextListFormat(),_wrapper(NULL) {}; + PythonQtShell_QTextListFormat(const QTextFormat& fmt):QTextListFormat(fmt),_wrapper(NULL) {}; + + + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtWrapper_QTextListFormat : public QObject +{ Q_OBJECT +public: +Q_ENUMS(Style ) +enum Style{ + ListDisc = QTextListFormat::ListDisc, ListCircle = QTextListFormat::ListCircle, ListSquare = QTextListFormat::ListSquare, ListDecimal = QTextListFormat::ListDecimal, ListLowerAlpha = QTextListFormat::ListLowerAlpha, ListUpperAlpha = QTextListFormat::ListUpperAlpha, ListLowerRoman = QTextListFormat::ListLowerRoman, ListUpperRoman = QTextListFormat::ListUpperRoman, ListStyleUndefined = QTextListFormat::ListStyleUndefined}; +public slots: +QTextListFormat* new_QTextListFormat(); +QTextListFormat* new_QTextListFormat(const QTextListFormat& other) { +PythonQtShell_QTextListFormat* a = new PythonQtShell_QTextListFormat(); +*((QTextListFormat*)a) = other; +return a; } +void delete_QTextListFormat(QTextListFormat* obj) { delete obj; } + int indent(QTextListFormat* theWrappedObject) const; + bool isValid(QTextListFormat* theWrappedObject) const; + void setIndent(QTextListFormat* theWrappedObject, int indent); + void setStyle(QTextListFormat* theWrappedObject, QTextListFormat::Style style); + QTextListFormat::Style style(QTextListFormat* theWrappedObject) const; +}; + + + + + +class PythonQtShell_QTextObject : public QTextObject +{ +public: + PythonQtShell_QTextObject(QTextDocument* doc):QTextObject(doc),_wrapper(NULL) {}; + +virtual void childEvent(QChildEvent* arg__1); +virtual void customEvent(QEvent* arg__1); +virtual bool event(QEvent* arg__1); +virtual bool eventFilter(QObject* arg__1, QEvent* arg__2); +virtual void timerEvent(QTimerEvent* arg__1); + + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtWrapper_QTextObject : public QObject +{ Q_OBJECT +public: +public slots: + QTextDocument* document(QTextObject* theWrappedObject) const; + QTextFormat format(QTextObject* theWrappedObject) const; + int formatIndex(QTextObject* theWrappedObject) const; + int objectIndex(QTextObject* theWrappedObject) const; +}; + + + + + +class PythonQtShell_QTextTable : public QTextTable +{ +public: + PythonQtShell_QTextTable(QTextDocument* doc):QTextTable(doc),_wrapper(NULL) {}; + +virtual void childEvent(QChildEvent* arg__1); +virtual void customEvent(QEvent* arg__1); +virtual bool event(QEvent* arg__1); +virtual bool eventFilter(QObject* arg__1, QEvent* arg__2); +virtual void timerEvent(QTimerEvent* arg__1); + + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtWrapper_QTextTable : public QObject +{ Q_OBJECT +public: +public slots: +QTextTable* new_QTextTable(QTextDocument* doc); +void delete_QTextTable(QTextTable* obj) { delete obj; } + void appendColumns(QTextTable* theWrappedObject, int count); + void appendRows(QTextTable* theWrappedObject, int count); + QTextTableCell cellAt(QTextTable* theWrappedObject, const QTextCursor& c) const; + QTextTableCell cellAt(QTextTable* theWrappedObject, int position) const; + QTextTableCell cellAt(QTextTable* theWrappedObject, int row, int col) const; + int columns(QTextTable* theWrappedObject) const; + QTextTableFormat format(QTextTable* theWrappedObject) const; + void insertColumns(QTextTable* theWrappedObject, int pos, int num); + void insertRows(QTextTable* theWrappedObject, int pos, int num); + void mergeCells(QTextTable* theWrappedObject, const QTextCursor& cursor); + void mergeCells(QTextTable* theWrappedObject, int row, int col, int numRows, int numCols); + void removeColumns(QTextTable* theWrappedObject, int pos, int num); + void removeRows(QTextTable* theWrappedObject, int pos, int num); + void resize(QTextTable* theWrappedObject, int rows, int cols); + QTextCursor rowEnd(QTextTable* theWrappedObject, const QTextCursor& c) const; + QTextCursor rowStart(QTextTable* theWrappedObject, const QTextCursor& c) const; + int rows(QTextTable* theWrappedObject) const; + void setFormat(QTextTable* theWrappedObject, const QTextTableFormat& format); + void splitCell(QTextTable* theWrappedObject, int row, int col, int numRows, int numCols); +}; + + + + + +class PythonQtWrapper_QTextTableCell : public QObject +{ Q_OBJECT +public: +public slots: +QTextTableCell* new_QTextTableCell(); +QTextTableCell* new_QTextTableCell(const QTextTableCell& o); +void delete_QTextTableCell(QTextTableCell* obj) { delete obj; } + QTextFrame::iterator begin(QTextTableCell* theWrappedObject) const; + int column(QTextTableCell* theWrappedObject) const; + int columnSpan(QTextTableCell* theWrappedObject) const; + QTextFrame::iterator end(QTextTableCell* theWrappedObject) const; + QTextCursor firstCursorPosition(QTextTableCell* theWrappedObject) const; + int firstPosition(QTextTableCell* theWrappedObject) const; + QTextCharFormat format(QTextTableCell* theWrappedObject) const; + bool isValid(QTextTableCell* theWrappedObject) const; + QTextCursor lastCursorPosition(QTextTableCell* theWrappedObject) const; + int lastPosition(QTextTableCell* theWrappedObject) const; + bool __ne__(QTextTableCell* theWrappedObject, const QTextTableCell& other) const; + bool __eq__(QTextTableCell* theWrappedObject, const QTextTableCell& other) const; + int row(QTextTableCell* theWrappedObject) const; + int rowSpan(QTextTableCell* theWrappedObject) const; + void setFormat(QTextTableCell* theWrappedObject, const QTextCharFormat& format); + int tableCellFormatIndex(QTextTableCell* theWrappedObject) const; +}; + + + + + +class PythonQtShell_QTextTableCellFormat : public QTextTableCellFormat +{ +public: + PythonQtShell_QTextTableCellFormat():QTextTableCellFormat(),_wrapper(NULL) {}; + PythonQtShell_QTextTableCellFormat(const QTextFormat& fmt):QTextTableCellFormat(fmt),_wrapper(NULL) {}; + + + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtWrapper_QTextTableCellFormat : public QObject +{ Q_OBJECT +public: +public slots: +QTextTableCellFormat* new_QTextTableCellFormat(); +QTextTableCellFormat* new_QTextTableCellFormat(const QTextTableCellFormat& other) { +PythonQtShell_QTextTableCellFormat* a = new PythonQtShell_QTextTableCellFormat(); +*((QTextTableCellFormat*)a) = other; +return a; } +void delete_QTextTableCellFormat(QTextTableCellFormat* obj) { delete obj; } + qreal bottomPadding(QTextTableCellFormat* theWrappedObject) const; + bool isValid(QTextTableCellFormat* theWrappedObject) const; + qreal leftPadding(QTextTableCellFormat* theWrappedObject) const; + qreal rightPadding(QTextTableCellFormat* theWrappedObject) const; + void setBottomPadding(QTextTableCellFormat* theWrappedObject, qreal padding); + void setLeftPadding(QTextTableCellFormat* theWrappedObject, qreal padding); + void setPadding(QTextTableCellFormat* theWrappedObject, qreal padding); + void setRightPadding(QTextTableCellFormat* theWrappedObject, qreal padding); + void setTopPadding(QTextTableCellFormat* theWrappedObject, qreal padding); + qreal topPadding(QTextTableCellFormat* theWrappedObject) const; +}; + + + + + +class PythonQtShell_QTextTableFormat : public QTextTableFormat +{ +public: + PythonQtShell_QTextTableFormat():QTextTableFormat(),_wrapper(NULL) {}; + PythonQtShell_QTextTableFormat(const QTextFormat& fmt):QTextTableFormat(fmt),_wrapper(NULL) {}; + + + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtWrapper_QTextTableFormat : public QObject +{ Q_OBJECT +public: +public slots: +QTextTableFormat* new_QTextTableFormat(); +QTextTableFormat* new_QTextTableFormat(const QTextTableFormat& other) { +PythonQtShell_QTextTableFormat* a = new PythonQtShell_QTextTableFormat(); +*((QTextTableFormat*)a) = other; +return a; } +void delete_QTextTableFormat(QTextTableFormat* obj) { delete obj; } + Qt::Alignment alignment(QTextTableFormat* theWrappedObject) const; + qreal cellPadding(QTextTableFormat* theWrappedObject) const; + qreal cellSpacing(QTextTableFormat* theWrappedObject) const; + void clearColumnWidthConstraints(QTextTableFormat* theWrappedObject); + QVector columnWidthConstraints(QTextTableFormat* theWrappedObject) const; + int columns(QTextTableFormat* theWrappedObject) const; + int headerRowCount(QTextTableFormat* theWrappedObject) const; + bool isValid(QTextTableFormat* theWrappedObject) const; + void setAlignment(QTextTableFormat* theWrappedObject, Qt::Alignment alignment); + void setCellPadding(QTextTableFormat* theWrappedObject, qreal padding); + void setCellSpacing(QTextTableFormat* theWrappedObject, qreal spacing); + void setColumnWidthConstraints(QTextTableFormat* theWrappedObject, const QVector& constraints); + void setColumns(QTextTableFormat* theWrappedObject, int columns); + void setHeaderRowCount(QTextTableFormat* theWrappedObject, int count); +}; + + + + + +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) {}; + + + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtWrapper_QTileRules : public QObject +{ Q_OBJECT +public: +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 py_set_vertical(QTileRules* theWrappedObject, Qt::TileRule vertical){ theWrappedObject->vertical = vertical; } +Qt::TileRule py_get_vertical(QTileRules* theWrappedObject){ return theWrappedObject->vertical; } +void py_set_horizontal(QTileRules* theWrappedObject, Qt::TileRule horizontal){ theWrappedObject->horizontal = horizontal; } +Qt::TileRule py_get_horizontal(QTileRules* theWrappedObject){ return theWrappedObject->horizontal; } +}; + + + + + +class PythonQtShell_QTimeEdit : public QTimeEdit +{ +public: + PythonQtShell_QTimeEdit(QWidget* parent = 0):QTimeEdit(parent),_wrapper(NULL) {}; + PythonQtShell_QTimeEdit(const QTime& time, QWidget* parent = 0):QTimeEdit(time, parent),_wrapper(NULL) {}; + +virtual void actionEvent(QActionEvent* arg__1); +virtual void changeEvent(QEvent* event); +virtual void childEvent(QChildEvent* arg__1); +virtual void clear(); +virtual void closeEvent(QCloseEvent* event); +virtual void contextMenuEvent(QContextMenuEvent* event); +virtual void customEvent(QEvent* arg__1); +virtual QDateTime dateTimeFromText(const QString& text) const; +virtual int devType() const; +virtual void dragEnterEvent(QDragEnterEvent* arg__1); +virtual void dragLeaveEvent(QDragLeaveEvent* arg__1); +virtual void dragMoveEvent(QDragMoveEvent* arg__1); +virtual void dropEvent(QDropEvent* arg__1); +virtual void enterEvent(QEvent* arg__1); +virtual bool event(QEvent* event); +virtual bool eventFilter(QObject* arg__1, QEvent* arg__2); +virtual void fixup(QString& input) const; +virtual void focusInEvent(QFocusEvent* event); +virtual bool focusNextPrevChild(bool next); +virtual void focusOutEvent(QFocusEvent* event); +virtual int heightForWidth(int arg__1) const; +virtual void hideEvent(QHideEvent* event); +virtual void inputMethodEvent(QInputMethodEvent* arg__1); +virtual QVariant inputMethodQuery(Qt::InputMethodQuery arg__1) const; +virtual void keyPressEvent(QKeyEvent* event); +virtual void keyReleaseEvent(QKeyEvent* event); +virtual void languageChange(); +virtual void leaveEvent(QEvent* arg__1); +virtual int metric(QPaintDevice::PaintDeviceMetric arg__1) const; +virtual void mouseDoubleClickEvent(QMouseEvent* arg__1); +virtual void mouseMoveEvent(QMouseEvent* event); +virtual void mousePressEvent(QMouseEvent* event); +virtual void mouseReleaseEvent(QMouseEvent* event); +virtual void moveEvent(QMoveEvent* arg__1); +virtual QPaintEngine* paintEngine() const; +virtual void paintEvent(QPaintEvent* event); +virtual void resizeEvent(QResizeEvent* event); +virtual void showEvent(QShowEvent* event); +virtual void stepBy(int steps); +virtual QAbstractSpinBox::StepEnabled stepEnabled() const; +virtual void tabletEvent(QTabletEvent* arg__1); +virtual QString textFromDateTime(const QDateTime& dt) const; +virtual void timerEvent(QTimerEvent* event); +virtual QValidator::State validate(QString& input, int& pos) const; +virtual void wheelEvent(QWheelEvent* event); + + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtWrapper_QTimeEdit : public QObject +{ Q_OBJECT +public: +public slots: +QTimeEdit* new_QTimeEdit(QWidget* parent = 0); +QTimeEdit* new_QTimeEdit(const QTime& time, QWidget* parent = 0); +void delete_QTimeEdit(QTimeEdit* obj) { delete obj; } +}; + + + + + +class PythonQtShell_QToolBar : public QToolBar +{ +public: + PythonQtShell_QToolBar(QWidget* parent = 0):QToolBar(parent),_wrapper(NULL) {}; + PythonQtShell_QToolBar(const QString& title, QWidget* parent = 0):QToolBar(title, parent),_wrapper(NULL) {}; + +virtual void actionEvent(QActionEvent* event); +virtual void changeEvent(QEvent* event); +virtual void childEvent(QChildEvent* event); +virtual void closeEvent(QCloseEvent* arg__1); +virtual void contextMenuEvent(QContextMenuEvent* arg__1); +virtual void customEvent(QEvent* arg__1); +virtual int devType() const; +virtual void dragEnterEvent(QDragEnterEvent* arg__1); +virtual void dragLeaveEvent(QDragLeaveEvent* arg__1); +virtual void dragMoveEvent(QDragMoveEvent* arg__1); +virtual void dropEvent(QDropEvent* arg__1); +virtual void enterEvent(QEvent* arg__1); +virtual bool event(QEvent* event); +virtual bool eventFilter(QObject* arg__1, QEvent* arg__2); +virtual void focusInEvent(QFocusEvent* arg__1); +virtual bool focusNextPrevChild(bool next); +virtual void focusOutEvent(QFocusEvent* arg__1); +virtual int heightForWidth(int arg__1) const; +virtual void hideEvent(QHideEvent* arg__1); +virtual void inputMethodEvent(QInputMethodEvent* arg__1); +virtual QVariant inputMethodQuery(Qt::InputMethodQuery arg__1) const; +virtual void keyPressEvent(QKeyEvent* arg__1); +virtual void keyReleaseEvent(QKeyEvent* arg__1); +virtual void languageChange(); +virtual void leaveEvent(QEvent* arg__1); +virtual int metric(QPaintDevice::PaintDeviceMetric arg__1) const; +virtual QSize minimumSizeHint() const; +virtual void mouseDoubleClickEvent(QMouseEvent* arg__1); +virtual void mouseMoveEvent(QMouseEvent* arg__1); +virtual void mousePressEvent(QMouseEvent* arg__1); +virtual void mouseReleaseEvent(QMouseEvent* arg__1); +virtual void moveEvent(QMoveEvent* arg__1); +virtual QPaintEngine* paintEngine() const; +virtual void paintEvent(QPaintEvent* event); +virtual void resizeEvent(QResizeEvent* event); +virtual void showEvent(QShowEvent* arg__1); +virtual QSize sizeHint() const; +virtual void tabletEvent(QTabletEvent* arg__1); +virtual void timerEvent(QTimerEvent* arg__1); +virtual void wheelEvent(QWheelEvent* arg__1); + + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtPublicPromoter_QToolBar : public QToolBar +{ public: +inline void promoted_actionEvent(QActionEvent* event) { QToolBar::actionEvent(event); } +inline void promoted_changeEvent(QEvent* event) { QToolBar::changeEvent(event); } +inline void promoted_childEvent(QChildEvent* event) { QToolBar::childEvent(event); } +inline bool promoted_event(QEvent* event) { return QToolBar::event(event); } +inline void promoted_paintEvent(QPaintEvent* event) { QToolBar::paintEvent(event); } +inline void promoted_resizeEvent(QResizeEvent* event) { QToolBar::resizeEvent(event); } +}; + +class PythonQtWrapper_QToolBar : public QObject +{ Q_OBJECT +public: +public slots: +QToolBar* new_QToolBar(QWidget* parent = 0); +QToolBar* new_QToolBar(const QString& title, QWidget* parent = 0); +void delete_QToolBar(QToolBar* obj) { delete obj; } + QAction* actionAt(QToolBar* theWrappedObject, const QPoint& p) const; + QAction* actionAt(QToolBar* theWrappedObject, int x, int y) const; + void actionEvent(QToolBar* theWrappedObject, QActionEvent* event); + QRect actionGeometry(QToolBar* theWrappedObject, QAction* action) const; + void addAction(QToolBar* theWrappedObject, QAction* action); + QAction* addAction(QToolBar* theWrappedObject, const QIcon& icon, const QString& text); + QAction* addAction(QToolBar* theWrappedObject, const QIcon& icon, const QString& text, const QObject* receiver, const char* member); + QAction* addAction(QToolBar* theWrappedObject, const QString& text); + QAction* addAction(QToolBar* theWrappedObject, const QString& text, const QObject* receiver, const char* member); + QAction* addSeparator(QToolBar* theWrappedObject); + QAction* addWidget(QToolBar* theWrappedObject, QWidget* widget); + Qt::ToolBarAreas allowedAreas(QToolBar* theWrappedObject) const; + void changeEvent(QToolBar* theWrappedObject, QEvent* event); + void childEvent(QToolBar* theWrappedObject, QChildEvent* event); + void clear(QToolBar* theWrappedObject); + bool event(QToolBar* theWrappedObject, QEvent* event); + QSize iconSize(QToolBar* theWrappedObject) const; + QAction* insertSeparator(QToolBar* theWrappedObject, QAction* before); + QAction* insertWidget(QToolBar* theWrappedObject, QAction* before, QWidget* widget); + bool isAreaAllowed(QToolBar* theWrappedObject, Qt::ToolBarArea area) const; + bool isFloatable(QToolBar* theWrappedObject) const; + bool isFloating(QToolBar* theWrappedObject) const; + bool isMovable(QToolBar* theWrappedObject) const; + Qt::Orientation orientation(QToolBar* theWrappedObject) const; + void paintEvent(QToolBar* theWrappedObject, QPaintEvent* event); + void resizeEvent(QToolBar* theWrappedObject, QResizeEvent* event); + void setAllowedAreas(QToolBar* theWrappedObject, Qt::ToolBarAreas areas); + void setFloatable(QToolBar* theWrappedObject, bool floatable); + void setMovable(QToolBar* theWrappedObject, bool movable); + void setOrientation(QToolBar* theWrappedObject, Qt::Orientation orientation); + QAction* toggleViewAction(QToolBar* theWrappedObject) const; + Qt::ToolButtonStyle toolButtonStyle(QToolBar* theWrappedObject) const; + QWidget* widgetForAction(QToolBar* theWrappedObject, QAction* action) const; + + QAction* addAction (QToolBar* menu, const QString & text, PyObject* callable) + { + QAction* a = menu->addAction(text); + PythonQt::self()->addSignalHandler(a, SIGNAL(triggered(bool)), callable); + return a; + } + + QAction* addAction (QToolBar* menu, const QIcon& icon, const QString& text, PyObject* callable) + { + QAction* a = menu->addAction(text); + a->setIcon(icon); + PythonQt::self()->addSignalHandler(a, SIGNAL(triggered(bool)), callable); + return a; + } + +}; + + + + + +class PythonQtWrapper_QToolBarChangeEvent : public QObject +{ Q_OBJECT +public: +public slots: +QToolBarChangeEvent* new_QToolBarChangeEvent(bool t); +void delete_QToolBarChangeEvent(QToolBarChangeEvent* obj) { delete obj; } + bool toggle(QToolBarChangeEvent* theWrappedObject) const; +}; + + + + + +class PythonQtShell_QToolBox : public QToolBox +{ +public: + PythonQtShell_QToolBox(QWidget* parent = 0, Qt::WindowFlags f = 0):QToolBox(parent, f),_wrapper(NULL) {}; + +virtual void actionEvent(QActionEvent* arg__1); +virtual void changeEvent(QEvent* arg__1); +virtual void childEvent(QChildEvent* arg__1); +virtual void closeEvent(QCloseEvent* arg__1); +virtual void contextMenuEvent(QContextMenuEvent* arg__1); +virtual void customEvent(QEvent* arg__1); +virtual int devType() const; +virtual void dragEnterEvent(QDragEnterEvent* arg__1); +virtual void dragLeaveEvent(QDragLeaveEvent* arg__1); +virtual void dragMoveEvent(QDragMoveEvent* arg__1); +virtual void dropEvent(QDropEvent* arg__1); +virtual void enterEvent(QEvent* arg__1); +virtual bool event(QEvent* e); +virtual bool eventFilter(QObject* arg__1, QEvent* arg__2); +virtual void focusInEvent(QFocusEvent* arg__1); +virtual bool focusNextPrevChild(bool next); +virtual void focusOutEvent(QFocusEvent* arg__1); +virtual int heightForWidth(int arg__1) const; +virtual void hideEvent(QHideEvent* arg__1); +virtual void inputMethodEvent(QInputMethodEvent* arg__1); +virtual QVariant inputMethodQuery(Qt::InputMethodQuery arg__1) const; +virtual void itemInserted(int index); +virtual void itemRemoved(int index); +virtual void keyPressEvent(QKeyEvent* arg__1); +virtual void keyReleaseEvent(QKeyEvent* arg__1); +virtual void languageChange(); +virtual void leaveEvent(QEvent* arg__1); +virtual int metric(QPaintDevice::PaintDeviceMetric arg__1) const; +virtual QSize minimumSizeHint() const; +virtual void mouseDoubleClickEvent(QMouseEvent* arg__1); +virtual void mouseMoveEvent(QMouseEvent* arg__1); +virtual void mousePressEvent(QMouseEvent* arg__1); +virtual void mouseReleaseEvent(QMouseEvent* arg__1); +virtual void moveEvent(QMoveEvent* arg__1); +virtual QPaintEngine* paintEngine() const; +virtual void paintEvent(QPaintEvent* arg__1); +virtual void resizeEvent(QResizeEvent* arg__1); +virtual void showEvent(QShowEvent* e); +virtual void tabletEvent(QTabletEvent* arg__1); +virtual void timerEvent(QTimerEvent* arg__1); +virtual void wheelEvent(QWheelEvent* arg__1); + + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtPublicPromoter_QToolBox : public QToolBox +{ public: +inline void promoted_changeEvent(QEvent* arg__1) { QToolBox::changeEvent(arg__1); } +inline bool promoted_event(QEvent* e) { return QToolBox::event(e); } +inline void promoted_itemInserted(int index) { QToolBox::itemInserted(index); } +inline void promoted_itemRemoved(int index) { QToolBox::itemRemoved(index); } +inline void promoted_showEvent(QShowEvent* e) { QToolBox::showEvent(e); } +}; + +class PythonQtWrapper_QToolBox : public QObject +{ Q_OBJECT +public: +public slots: +QToolBox* new_QToolBox(QWidget* parent = 0, Qt::WindowFlags f = 0); +void delete_QToolBox(QToolBox* obj) { delete obj; } + int addItem(QToolBox* theWrappedObject, QWidget* widget, const QIcon& icon, const QString& text); + int addItem(QToolBox* theWrappedObject, QWidget* widget, const QString& text); + void changeEvent(QToolBox* theWrappedObject, QEvent* arg__1); + int count(QToolBox* theWrappedObject) const; + int currentIndex(QToolBox* theWrappedObject) const; + QWidget* currentWidget(QToolBox* theWrappedObject) const; + bool event(QToolBox* theWrappedObject, QEvent* e); + int indexOf(QToolBox* theWrappedObject, QWidget* widget) const; + int insertItem(QToolBox* theWrappedObject, int index, QWidget* widget, const QIcon& icon, const QString& text); + int insertItem(QToolBox* theWrappedObject, int index, QWidget* widget, const QString& text); + bool isItemEnabled(QToolBox* theWrappedObject, int index) const; + QIcon itemIcon(QToolBox* theWrappedObject, int index) const; + void itemInserted(QToolBox* theWrappedObject, int index); + void itemRemoved(QToolBox* theWrappedObject, int index); + QString itemText(QToolBox* theWrappedObject, int index) const; + QString itemToolTip(QToolBox* theWrappedObject, int index) const; + void removeItem(QToolBox* theWrappedObject, int index); + void setItemEnabled(QToolBox* theWrappedObject, int index, bool enabled); + void setItemIcon(QToolBox* theWrappedObject, int index, const QIcon& icon); + void setItemText(QToolBox* theWrappedObject, int index, const QString& text); + void setItemToolTip(QToolBox* theWrappedObject, int index, const QString& toolTip); + void showEvent(QToolBox* theWrappedObject, QShowEvent* e); + QWidget* widget(QToolBox* theWrappedObject, int index) const; +}; + + + + + +class PythonQtShell_QToolButton : public QToolButton +{ +public: + PythonQtShell_QToolButton(QWidget* parent = 0):QToolButton(parent),_wrapper(NULL) {}; + +virtual void actionEvent(QActionEvent* arg__1); +virtual void changeEvent(QEvent* arg__1); +virtual void checkStateSet(); +virtual void childEvent(QChildEvent* arg__1); +virtual void closeEvent(QCloseEvent* arg__1); +virtual void contextMenuEvent(QContextMenuEvent* arg__1); +virtual void customEvent(QEvent* arg__1); +virtual int devType() const; +virtual void dragEnterEvent(QDragEnterEvent* arg__1); +virtual void dragLeaveEvent(QDragLeaveEvent* arg__1); +virtual void dragMoveEvent(QDragMoveEvent* arg__1); +virtual void dropEvent(QDropEvent* arg__1); +virtual void enterEvent(QEvent* arg__1); +virtual bool event(QEvent* e); +virtual bool eventFilter(QObject* arg__1, QEvent* arg__2); +virtual void focusInEvent(QFocusEvent* e); +virtual bool focusNextPrevChild(bool next); +virtual void focusOutEvent(QFocusEvent* e); +virtual int heightForWidth(int arg__1) const; +virtual void hideEvent(QHideEvent* arg__1); +virtual bool hitButton(const QPoint& pos) const; +virtual void inputMethodEvent(QInputMethodEvent* arg__1); +virtual QVariant inputMethodQuery(Qt::InputMethodQuery arg__1) const; +virtual void keyPressEvent(QKeyEvent* e); +virtual void keyReleaseEvent(QKeyEvent* e); +virtual void languageChange(); +virtual void leaveEvent(QEvent* arg__1); +virtual int metric(QPaintDevice::PaintDeviceMetric arg__1) const; +virtual void mouseDoubleClickEvent(QMouseEvent* arg__1); +virtual void mouseMoveEvent(QMouseEvent* e); +virtual void mousePressEvent(QMouseEvent* arg__1); +virtual void mouseReleaseEvent(QMouseEvent* arg__1); +virtual void moveEvent(QMoveEvent* arg__1); +virtual void nextCheckState(); +virtual QPaintEngine* paintEngine() const; +virtual void paintEvent(QPaintEvent* arg__1); +virtual void resizeEvent(QResizeEvent* arg__1); +virtual void showEvent(QShowEvent* arg__1); +virtual void tabletEvent(QTabletEvent* arg__1); +virtual void timerEvent(QTimerEvent* arg__1); +virtual void wheelEvent(QWheelEvent* arg__1); + + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtPublicPromoter_QToolButton : public QToolButton +{ public: +inline void promoted_actionEvent(QActionEvent* arg__1) { QToolButton::actionEvent(arg__1); } +inline void promoted_changeEvent(QEvent* arg__1) { QToolButton::changeEvent(arg__1); } +inline void promoted_enterEvent(QEvent* arg__1) { QToolButton::enterEvent(arg__1); } +inline bool promoted_event(QEvent* e) { return QToolButton::event(e); } +inline bool promoted_hitButton(const QPoint& pos) const { return QToolButton::hitButton(pos); } +inline void promoted_leaveEvent(QEvent* arg__1) { QToolButton::leaveEvent(arg__1); } +inline void promoted_mousePressEvent(QMouseEvent* arg__1) { QToolButton::mousePressEvent(arg__1); } +inline void promoted_mouseReleaseEvent(QMouseEvent* arg__1) { QToolButton::mouseReleaseEvent(arg__1); } +inline void promoted_nextCheckState() { QToolButton::nextCheckState(); } +inline void promoted_paintEvent(QPaintEvent* arg__1) { QToolButton::paintEvent(arg__1); } +inline void promoted_timerEvent(QTimerEvent* arg__1) { QToolButton::timerEvent(arg__1); } +}; + +class PythonQtWrapper_QToolButton : public QObject +{ Q_OBJECT +public: +public slots: +QToolButton* new_QToolButton(QWidget* parent = 0); +void delete_QToolButton(QToolButton* obj) { delete obj; } + void actionEvent(QToolButton* theWrappedObject, QActionEvent* arg__1); + Qt::ArrowType arrowType(QToolButton* theWrappedObject) const; + bool autoRaise(QToolButton* theWrappedObject) const; + void changeEvent(QToolButton* theWrappedObject, QEvent* arg__1); + QAction* defaultAction(QToolButton* theWrappedObject) const; + void enterEvent(QToolButton* theWrappedObject, QEvent* arg__1); + bool event(QToolButton* theWrappedObject, QEvent* e); + bool hitButton(QToolButton* theWrappedObject, const QPoint& pos) const; + void leaveEvent(QToolButton* theWrappedObject, QEvent* arg__1); + QMenu* menu(QToolButton* theWrappedObject) const; + QSize minimumSizeHint(QToolButton* theWrappedObject) const; + void mousePressEvent(QToolButton* theWrappedObject, QMouseEvent* arg__1); + void mouseReleaseEvent(QToolButton* theWrappedObject, QMouseEvent* arg__1); + void nextCheckState(QToolButton* theWrappedObject); + void paintEvent(QToolButton* theWrappedObject, QPaintEvent* arg__1); + QToolButton::ToolButtonPopupMode popupMode(QToolButton* theWrappedObject) const; + void setArrowType(QToolButton* theWrappedObject, Qt::ArrowType type); + void setAutoRaise(QToolButton* theWrappedObject, bool enable); + void setMenu(QToolButton* theWrappedObject, QMenu* menu); + void setPopupMode(QToolButton* theWrappedObject, QToolButton::ToolButtonPopupMode mode); + QSize sizeHint(QToolButton* theWrappedObject) const; + void timerEvent(QToolButton* theWrappedObject, QTimerEvent* arg__1); + Qt::ToolButtonStyle toolButtonStyle(QToolButton* theWrappedObject) const; +}; + + diff --git a/generated_cpp_47/com_trolltech_qt_gui/com_trolltech_qt_gui_init.cpp b/generated_cpp_47/com_trolltech_qt_gui/com_trolltech_qt_gui_init.cpp new file mode 100644 index 00000000..2e2d88a1 --- /dev/null +++ b/generated_cpp_47/com_trolltech_qt_gui/com_trolltech_qt_gui_init.cpp @@ -0,0 +1,686 @@ +#include +#include "com_trolltech_qt_gui0.h" +#include "com_trolltech_qt_gui1.h" +#include "com_trolltech_qt_gui2.h" +#include "com_trolltech_qt_gui3.h" +#include "com_trolltech_qt_gui4.h" +#include "com_trolltech_qt_gui5.h" +#include "com_trolltech_qt_gui6.h" +#include "com_trolltech_qt_gui7.h" +#include "com_trolltech_qt_gui8.h" +#include "com_trolltech_qt_gui9.h" +#include "com_trolltech_qt_gui10.h" + +static void* polymorphichandler_QStyleOption(const void *ptr, const char **class_name) +{ + Q_ASSERT(ptr != 0); + QStyleOption *object = (QStyleOption *)ptr; + if (object->type == QStyleOption::SO_Default) { + *class_name = "QStyleOption"; + return (QStyleOption*)object; + } + if (object->type == QStyleOptionDockWidget::Type && object->version == QStyleOptionDockWidget::Version) { + *class_name = "QStyleOptionDockWidget"; + return (QStyleOptionDockWidget*)object; + } + if (object->type == QStyleOptionToolBar::Type && object->version == QStyleOptionToolBar::Version) { + *class_name = "QStyleOptionToolBar"; + return (QStyleOptionToolBar*)object; + } + if (object->type == QStyleOptionFrame::Type && object->version == QStyleOptionFrame::Version) { + *class_name = "QStyleOptionFrame"; + return (QStyleOptionFrame*)object; + } + if (object->type == QStyleOptionComplex::Type && object->version == QStyleOptionComplex::Version) { + *class_name = "QStyleOptionComplex"; + return (QStyleOptionComplex*)object; + } + if (object->type == QStyleOptionTab::Type && object->version == QStyleOptionTab::Version) { + *class_name = "QStyleOptionTab"; + return (QStyleOptionTab*)object; + } + if (object->type == QStyleOptionProgressBar::Type && object->version == QStyleOptionProgressBar::Version) { + *class_name = "QStyleOptionProgressBar"; + return (QStyleOptionProgressBar*)object; + } + if (object->type == QStyleOptionToolBox::Type && object->version == QStyleOptionToolBox::Version) { + *class_name = "QStyleOptionToolBox"; + return (QStyleOptionToolBox*)object; + } + if (object->type == QStyleOptionGraphicsItem::Type && object->version == QStyleOptionGraphicsItem::Version) { + *class_name = "QStyleOptionGraphicsItem"; + return (QStyleOptionGraphicsItem*)object; + } + if (object->type == QStyleOptionButton::Type && object->version == QStyleOptionButton::Version) { + *class_name = "QStyleOptionButton"; + return (QStyleOptionButton*)object; + } + if (object->type == QStyleOptionFocusRect::Type && object->version == QStyleOptionFocusRect::Version) { + *class_name = "QStyleOptionFocusRect"; + return (QStyleOptionFocusRect*)object; + } + if (object->type == QStyleOptionRubberBand::Type && object->version == QStyleOptionRubberBand::Version) { + *class_name = "QStyleOptionRubberBand"; + return (QStyleOptionRubberBand*)object; + } + if (object->type == QStyleOptionMenuItem::Type && object->version == QStyleOptionMenuItem::Version) { + *class_name = "QStyleOptionMenuItem"; + return (QStyleOptionMenuItem*)object; + } + if (object->type == QStyleOptionTabBarBase::Type && object->version == QStyleOptionTabBarBase::Version) { + *class_name = "QStyleOptionTabBarBase"; + return (QStyleOptionTabBarBase*)object; + } + if (object->type == QStyleOptionViewItem::Type && object->version == QStyleOptionViewItem::Version) { + *class_name = "QStyleOptionViewItem"; + return (QStyleOptionViewItem*)object; + } + if (object->type == QStyleOptionTabWidgetFrame::Type && object->version == QStyleOptionTabWidgetFrame::Version) { + *class_name = "QStyleOptionTabWidgetFrame"; + return (QStyleOptionTabWidgetFrame*)object; + } + if (object->type == QStyleOptionHeader::Type && object->version == QStyleOptionHeader::Version) { + *class_name = "QStyleOptionHeader"; + return (QStyleOptionHeader*)object; + } + if (object->type == QStyleOptionSpinBox::Type && object->version == QStyleOptionSpinBox::Version) { + *class_name = "QStyleOptionSpinBox"; + return (QStyleOptionSpinBox*)object; + } + if (object->type == QStyleOptionProgressBarV2::Type && object->version == QStyleOptionProgressBarV2::Version) { + *class_name = "QStyleOptionProgressBarV2"; + return (QStyleOptionProgressBarV2*)object; + } + if (object->type == QStyleOptionDockWidgetV2::Type && object->version == QStyleOptionDockWidgetV2::Version) { + *class_name = "QStyleOptionDockWidgetV2"; + return (QStyleOptionDockWidgetV2*)object; + } + if (object->type == QStyleOptionTabV2::Type && object->version == QStyleOptionTabV2::Version) { + *class_name = "QStyleOptionTabV2"; + return (QStyleOptionTabV2*)object; + } + if (object->type == QStyleOptionToolButton::Type && object->version == QStyleOptionToolButton::Version) { + *class_name = "QStyleOptionToolButton"; + return (QStyleOptionToolButton*)object; + } + if (object->type == QStyleOptionFrameV2::Type && object->version == QStyleOptionFrameV2::Version) { + *class_name = "QStyleOptionFrameV2"; + return (QStyleOptionFrameV2*)object; + } + if (object->type == QStyleOptionViewItemV2::Type && object->version == QStyleOptionViewItemV2::Version) { + *class_name = "QStyleOptionViewItemV2"; + return (QStyleOptionViewItemV2*)object; + } + if (object->type == QStyleOptionTitleBar::Type && object->version == QStyleOptionTitleBar::Version) { + *class_name = "QStyleOptionTitleBar"; + return (QStyleOptionTitleBar*)object; + } + if (object->type == QStyleOptionTabBarBaseV2::Type && object->version == QStyleOptionTabBarBaseV2::Version) { + *class_name = "QStyleOptionTabBarBaseV2"; + return (QStyleOptionTabBarBaseV2*)object; + } + if (object->type == QStyleOptionSlider::Type && object->version == QStyleOptionSlider::Version) { + *class_name = "QStyleOptionSlider"; + return (QStyleOptionSlider*)object; + } + if (object->type == QStyleOptionToolBoxV2::Type && object->version == QStyleOptionToolBoxV2::Version) { + *class_name = "QStyleOptionToolBoxV2"; + return (QStyleOptionToolBoxV2*)object; + } + if (object->type == QStyleOptionComboBox::Type && object->version == QStyleOptionComboBox::Version) { + *class_name = "QStyleOptionComboBox"; + return (QStyleOptionComboBox*)object; + } + if (object->type == QStyleOptionSizeGrip::Type && object->version == QStyleOptionSizeGrip::Version) { + *class_name = "QStyleOptionSizeGrip"; + return (QStyleOptionSizeGrip*)object; + } + if (object->type == QStyleOptionGroupBox::Type && object->version == QStyleOptionGroupBox::Version) { + *class_name = "QStyleOptionGroupBox"; + return (QStyleOptionGroupBox*)object; + } + if (object->type == QStyleOptionViewItemV3::Type && object->version == QStyleOptionViewItemV3::Version) { + *class_name = "QStyleOptionViewItemV3"; + return (QStyleOptionViewItemV3*)object; + } + if (object->type == QStyleOptionTabV3::Type && object->version == QStyleOptionTabV3::Version) { + *class_name = "QStyleOptionTabV3"; + return (QStyleOptionTabV3*)object; + } + if (object->type == QStyleOptionFrameV3::Type && object->version == QStyleOptionFrameV3::Version) { + *class_name = "QStyleOptionFrameV3"; + return (QStyleOptionFrameV3*)object; + } + if (object->type == QStyleOptionViewItemV4::Type && object->version == QStyleOptionViewItemV4::Version) { + *class_name = "QStyleOptionViewItemV4"; + return (QStyleOptionViewItemV4*)object; + } + return NULL; +} +static void* polymorphichandler_QGradient(const void *ptr, const char **class_name) +{ + Q_ASSERT(ptr != 0); + QGradient *object = (QGradient *)ptr; + if (object->type() == QGradient::NoGradient) { + *class_name = "QGradient"; + return (QGradient*)object; + } + if (object->type() == QGradient::LinearGradient) { + *class_name = "QLinearGradient"; + return (QLinearGradient*)object; + } + if (object->type() == QGradient::ConicalGradient) { + *class_name = "QConicalGradient"; + return (QConicalGradient*)object; + } + if (object->type() == QGradient::RadialGradient) { + *class_name = "QRadialGradient"; + return (QRadialGradient*)object; + } + return NULL; +} +static void* polymorphichandler_QEvent(const void *ptr, const char **class_name) +{ + Q_ASSERT(ptr != 0); + QEvent *object = (QEvent *)ptr; + if (object->type() == QEvent::FocusIn || object->type() == QEvent::FocusOut) { + *class_name = "QFocusEvent"; + return (QFocusEvent*)object; + } + if (object->type() == QEvent::WhatsThisClicked) { + *class_name = "QWhatsThisClickedEvent"; + return (QWhatsThisClickedEvent*)object; + } + if (object->type() == QEvent::Move) { + *class_name = "QMoveEvent"; + return (QMoveEvent*)object; + } + if (object->type() == QEvent::HoverEnter || object->type() == QEvent::HoverLeave || object->type() == QEvent::HoverMove) { + *class_name = "QHoverEvent"; + return (QHoverEvent*)object; + } + if (object->type() == QEvent::DragResponse) { + *class_name = "QDragResponseEvent"; + return (QDragResponseEvent*)object; + } + if (object->type() == QEvent::DragLeave) { + *class_name = "QDragLeaveEvent"; + return (QDragLeaveEvent*)object; + } + if (object->type() == QEvent::ToolTip || object->type() == QEvent::WhatsThis) { + *class_name = "QHelpEvent"; + return (QHelpEvent*)object; + } + if (object->type() == QEvent::FileOpen) { + *class_name = "QFileOpenEvent"; + return (QFileOpenEvent*)object; + } + if (object->type() == QEvent::Clipboard) { + *class_name = "QClipboardEvent"; + return (QClipboardEvent*)object; + } + if (object->type() == QEvent::StatusTip) { + *class_name = "QStatusTipEvent"; + return (QStatusTipEvent*)object; + } + if (object->type() == QEvent::IconDrag) { + *class_name = "QIconDragEvent"; + return (QIconDragEvent*)object; + } + if (object->type() == QEvent::Paint) { + *class_name = "QPaintEvent"; + return (QPaintEvent*)object; + } + if (object->type() == QEvent::Hide) { + *class_name = "QHideEvent"; + return (QHideEvent*)object; + } + if (object->type() == QEvent::ToolBarChange) { + *class_name = "QToolBarChangeEvent"; + return (QToolBarChangeEvent*)object; + } + if (object->type() == QEvent::ActionAdded || object->type() == QEvent::ActionRemoved || object->type() == QEvent::ActionChanged) { + *class_name = "QActionEvent"; + return (QActionEvent*)object; + } + if (object->type() == QEvent::WindowStateChange) { + *class_name = "QWindowStateChangeEvent"; + return (QWindowStateChangeEvent*)object; + } + if (object->type() == QEvent::Shortcut) { + *class_name = "QShortcutEvent"; + return (QShortcutEvent*)object; + } + if (object->type() == QEvent::Close) { + *class_name = "QCloseEvent"; + return (QCloseEvent*)object; + } + if (object->type() == QEvent::Show) { + *class_name = "QShowEvent"; + return (QShowEvent*)object; + } + if (object->type() == QEvent::AccessibilityDescription || object->type() == QEvent::AccessibilityHelp) { + *class_name = "QAccessibleEvent"; + return (QAccessibleEvent*)object; + } + if (object->type() == QEvent::Resize) { + *class_name = "QResizeEvent"; + return (QResizeEvent*)object; + } + if (object->type() == QEvent::Drop) { + *class_name = "QDropEvent"; + return (QDropEvent*)object; + } + if (object->type() == QEvent::GraphicsSceneHoverEnter || object->type() == QEvent::GraphicsSceneHoverLeave || object->type() == QEvent::GraphicsSceneHoverMove) { + *class_name = "QGraphicsSceneHoverEvent"; + return (QGraphicsSceneHoverEvent*)object; + } + if (object->type() == QEvent::KeyPress || object->type() == QEvent::KeyRelease) { + *class_name = "QKeyEvent"; + return (QKeyEvent*)object; + } + if (object->type() == QEvent::MouseButtonDblClick || object->type() == QEvent::MouseButtonPress || object->type() == QEvent::MouseButtonRelease || object->type() == QEvent::MouseMove) { + *class_name = "QMouseEvent"; + return (QMouseEvent*)object; + } + if (object->type() == QEvent::GraphicsSceneHelp) { + *class_name = "QGraphicsSceneHelpEvent"; + return (QGraphicsSceneHelpEvent*)object; + } + if (object->type() == QEvent::GraphicsSceneMouseDoubleClick || object->type() == QEvent::GraphicsSceneMouseMove || object->type() == QEvent::GraphicsSceneMousePress || object->type() == QEvent::GraphicsSceneMouseRelease) { + *class_name = "QGraphicsSceneMouseEvent"; + return (QGraphicsSceneMouseEvent*)object; + } + if (object->type() == QEvent::TouchBegin || object->type() == QEvent::TouchUpdate || object->type() == QEvent::TouchEnd) { + *class_name = "QTouchEvent"; + return (QTouchEvent*)object; + } + if (object->type() == QEvent::GraphicsSceneDragEnter || object->type() == QEvent::GraphicsSceneDragLeave || object->type() == QEvent::GraphicsSceneDragMove || object->type() == QEvent::GraphicsSceneDrop) { + *class_name = "QGraphicsSceneDragDropEvent"; + return (QGraphicsSceneDragDropEvent*)object; + } + if (object->type() == QEvent::GraphicsSceneResize) { + *class_name = "QGraphicsSceneResizeEvent"; + return (QGraphicsSceneResizeEvent*)object; + } + if (object->type() == QEvent::GraphicsSceneMove) { + *class_name = "QGraphicsSceneMoveEvent"; + return (QGraphicsSceneMoveEvent*)object; + } + if (object->type() == QEvent::GraphicsSceneContextMenu) { + *class_name = "QGraphicsSceneContextMenuEvent"; + return (QGraphicsSceneContextMenuEvent*)object; + } + if (object->type() == QEvent::DragMove) { + *class_name = "QDragMoveEvent"; + return (QDragMoveEvent*)object; + } + if (object->type() == QEvent::TabletMove || object->type() == QEvent::TabletPress || object->type() == QEvent::TabletRelease) { + *class_name = "QTabletEvent"; + return (QTabletEvent*)object; + } + if (object->type() == QEvent::Wheel) { + *class_name = "QWheelEvent"; + return (QWheelEvent*)object; + } + if (object->type() == QEvent::ContextMenu) { + *class_name = "QContextMenuEvent"; + return (QContextMenuEvent*)object; + } + if (object->type() == QEvent::GraphicsSceneWheel) { + *class_name = "QGraphicsSceneWheelEvent"; + return (QGraphicsSceneWheelEvent*)object; + } + if (object->type() == QEvent::DragEnter) { + *class_name = "QDragEnterEvent"; + return (QDragEnterEvent*)object; + } + return NULL; +} + +void PythonQt_init_QtGui(PyObject* module) { +PythonQt::priv()->registerClass(&QAbstractButton::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); +PythonQt::priv()->registerCPPClass("QAbstractGraphicsShapeItem", "", "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); +PythonQt::self()->addParentClass("QAbstractGraphicsShapeItem", "QGraphicsItem",PythonQtUpcastingOffset()); +PythonQt::priv()->registerClass(&QAbstractItemDelegate::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); +PythonQt::priv()->registerClass(&QAbstractItemView::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); +PythonQt::priv()->registerClass(&QAbstractPageSetupDialog::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); +PythonQt::priv()->registerClass(&QAbstractPrintDialog::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); +PythonQt::priv()->registerClass(&QAbstractScrollArea::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); +PythonQt::priv()->registerClass(&QAbstractSlider::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); +PythonQt::priv()->registerClass(&QAbstractSpinBox::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); +PythonQt::priv()->registerClass(&QAbstractTableModel::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); +PythonQt::priv()->registerCPPClass("QAccessible", "", "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); +PythonQt::priv()->registerCPPClass("QAccessible2Interface", "", "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); +PythonQt::priv()->registerCPPClass("QAccessibleBridge", "", "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); +PythonQt::priv()->registerCPPClass("QAccessibleEvent", "QEvent", "QtGui", PythonQtCreateObject, NULL, module, 0); +PythonQt::priv()->registerCPPClass("QAccessibleInterface", "QAccessible", "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); +PythonQt::priv()->registerCPPClass("QAccessibleInterfaceEx", "QAccessibleInterface", "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); +PythonQt::priv()->registerCPPClass("QAccessibleObject", "QAccessibleInterface", "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); +PythonQt::priv()->registerCPPClass("QAccessibleObjectEx", "QAccessibleInterfaceEx", "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); +PythonQt::priv()->registerClass(&QAccessiblePlugin::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); +PythonQt::priv()->registerCPPClass("QAccessibleTableInterface", "QAccessible2Interface", "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); +PythonQt::priv()->registerCPPClass("QAccessibleWidget", "QAccessibleObject", "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); +PythonQt::priv()->registerCPPClass("QAccessibleWidgetEx", "QAccessibleObjectEx", "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()->registerClass(&QActionGroup::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); +PythonQt::priv()->registerClass(&QApplication::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); +PythonQt::priv()->registerClass(&QBoxLayout::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); +PythonQt::priv()->registerClass(&QButtonGroup::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); +PythonQt::priv()->registerClass(&QCDEStyle::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()->registerClass(&QCleanlooksStyle::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); +PythonQt::priv()->registerClass(&QClipboard::staticMetaObject, "QtGui", PythonQtCreateObject, NULL, module, 0); +PythonQt::priv()->registerCPPClass("QClipboardEvent", "QEvent", "QtGui", PythonQtCreateObject, NULL, module, 0); +PythonQt::priv()->registerCPPClass("QCloseEvent", "QEvent", "QtGui", PythonQtCreateObject, NULL, 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("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); +PythonQt::priv()->registerClass(&QDateTimeEdit::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); +PythonQt::priv()->registerCPPClass("QDesktopServices", "", "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); +PythonQt::priv()->registerClass(&QDesktopWidget::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); +PythonQt::priv()->registerClass(&QDial::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); +PythonQt::priv()->registerClass(&QDialog::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); +PythonQt::priv()->registerClass(&QDialogButtonBox::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); +PythonQt::priv()->registerClass(&QDockWidget::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); +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("QDragMoveEvent", "QDropEvent", "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); +PythonQt::priv()->registerCPPClass("QDragResponseEvent", "QEvent", "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); +PythonQt::priv()->registerCPPClass("QDropEvent", "QEvent", "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); +PythonQt::priv()->registerClass(&QErrorMessage::staticMetaObject, "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("QFocusEvent", "QEvent", "QtGui", PythonQtCreateObject, NULL, module, 0); +PythonQt::priv()->registerClass(&QFocusFrame::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); +PythonQt::priv()->registerClass(&QFontComboBox::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); +PythonQt::priv()->registerClass(&QFontDialog::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); +PythonQt::priv()->registerCPPClass("QFontInfo", "", "QtGui", PythonQtCreateObject, NULL, module, 0); +PythonQt::priv()->registerCPPClass("QFontMetrics", "", "QtGui", PythonQtCreateObject, NULL, module, PythonQt::Type_RichCompare); +PythonQt::priv()->registerCPPClass("QFontMetricsF", "", "QtGui", PythonQtCreateObject, NULL, module, PythonQt::Type_RichCompare); +PythonQt::priv()->registerClass(&QFormLayout::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); +PythonQt::priv()->registerClass(&QFrame::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); +PythonQt::priv()->registerClass(&QGesture::staticMetaObject, "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("QGraphicsAnchorLayout", "QGraphicsLayout", "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); +PythonQt::priv()->registerClass(&QGraphicsEffect::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); +PythonQt::priv()->registerCPPClass("QGraphicsEllipseItem", "QAbstractGraphicsShapeItem", "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); +PythonQt::priv()->registerCPPClass("QGraphicsGridLayout", "QGraphicsLayout", "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); +PythonQt::priv()->registerCPPClass("QGraphicsItem", "", "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); +PythonQt::priv()->registerClass(&QGraphicsItemAnimation::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); +PythonQt::priv()->registerCPPClass("QGraphicsItemGroup", "", "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); +PythonQt::self()->addParentClass("QGraphicsItemGroup", "QGraphicsItem",PythonQtUpcastingOffset()); +PythonQt::priv()->registerCPPClass("QGraphicsLayout", "", "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); +PythonQt::self()->addParentClass("QGraphicsLayout", "QGraphicsLayoutItem",PythonQtUpcastingOffset()); +PythonQt::priv()->registerCPPClass("QGraphicsLayoutItem", "", "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); +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); +PythonQt::self()->addParentClass("QGraphicsPixmapItem", "QGraphicsItem",PythonQtUpcastingOffset()); +PythonQt::priv()->registerCPPClass("QGraphicsPolygonItem", "QAbstractGraphicsShapeItem", "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); +PythonQt::priv()->registerClass(&QGraphicsProxyWidget::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); +PythonQt::priv()->registerCPPClass("QGraphicsRectItem", "QAbstractGraphicsShapeItem", "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); +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("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::self()->addParentClass("QGraphicsWidget", "QGraphicsLayoutItem",PythonQtUpcastingOffset()); +PythonQt::priv()->registerClass(&QGridLayout::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); +PythonQt::priv()->registerClass(&QGroupBox::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); +PythonQt::priv()->registerClass(&QHBoxLayout::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); +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("QHoverEvent", "QEvent", "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); +PythonQt::priv()->registerCPPClass("QIconDragEvent", "QEvent", "QtGui", PythonQtCreateObject, NULL, module, 0); +PythonQt::priv()->registerCPPClass("QIconEngine", "", "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); +PythonQt::priv()->registerClass(&QIconEnginePluginV2::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); +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()->registerClass(&QInputContext::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); +PythonQt::priv()->registerCPPClass("QInputContextFactory", "", "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); +PythonQt::priv()->registerClass(&QInputContextPlugin::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, 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(&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, PythonQt::Type_InplaceAdd|PythonQt::Type_RichCompare|PythonQt::Type_Add); +PythonQt::priv()->registerClass(&QItemSelectionModel::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); +PythonQt::priv()->registerCPPClass("QItemSelectionRange", "", "QtGui", PythonQtCreateObject, NULL, module, 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(&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, 0); +PythonQt::self()->addParentClass("QLayout", "QLayoutItem",PythonQtUpcastingOffset()); +PythonQt::priv()->registerCPPClass("QLayoutItem", "", "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); +PythonQt::priv()->registerClass(&QLineEdit::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); +PythonQt::priv()->registerCPPClass("QLinearGradient", "QGradient", "QtGui", PythonQtCreateObject, NULL, 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, NULL, module, PythonQt::Type_NonZero|PythonQt::Type_RichCompare); +PythonQt::priv()->registerCPPClass("QMatrix4x4", "", "QtGui", PythonQtCreateObject, NULL, module, PythonQt::Type_Divide|PythonQt::Type_InplaceDivide|PythonQt::Type_InplaceSubtract|PythonQt::Type_InplaceAdd|PythonQt::Type_RichCompare|PythonQt::Type_Subtract|PythonQt::Type_InplaceMultiply|PythonQt::Type_Multiply|PythonQt::Type_Add); +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, 0); +PythonQt::priv()->registerClass(&QMenuBar::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); +PythonQt::priv()->registerClass(&QMessageBox::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); +PythonQt::priv()->registerClass(&QMotifStyle::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); +PythonQt::priv()->registerCPPClass("QMouseEvent", "QInputEvent", "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); +PythonQt::priv()->registerClass(&QMouseEventTransition::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); +PythonQt::priv()->registerCPPClass("QMoveEvent", "QEvent", "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); +PythonQt::priv()->registerClass(&QMovie::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); +PythonQt::priv()->registerClass(&QPageSetupDialog::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); +PythonQt::priv()->registerCPPClass("QPaintDevice", "", "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); +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_And|PythonQt::Type_InplaceSubtract|PythonQt::Type_InplaceAdd|PythonQt::Type_InplaceOr|PythonQt::Type_RichCompare|PythonQt::Type_Or|PythonQt::Type_InplaceAnd|PythonQt::Type_Subtract|PythonQt::Type_Multiply|PythonQt::Type_Add); +PythonQt::priv()->registerCPPClass("QPainterPathStroker", "", "QtGui", PythonQtCreateObject, NULL, module, 0); +PythonQt::priv()->registerClass(&QPanGesture::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); +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, PythonQtSetInstanceWrapperOnShell, module, 0); +PythonQt::priv()->registerCPPClass("QPixmapCache", "", "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); +PythonQt::priv()->registerCPPClass("QPixmapCache::Key", "", "QtGui", PythonQtCreateObject, NULL, module, 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()->registerClass(&QPlastiqueStyle::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); +PythonQt::priv()->registerCPPClass("QPolygonF", "", "QtGui", PythonQtCreateObject, NULL, module, PythonQt::Type_RichCompare|PythonQt::Type_Multiply|PythonQt::Type_Add); +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); +PythonQt::priv()->registerClass(&QPrintPreviewWidget::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); +PythonQt::priv()->registerCPPClass("QPrinter", "", "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); +PythonQt::self()->addParentClass("QPrinter", "QPaintDevice",PythonQtUpcastingOffset()); +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_Divide|PythonQt::Type_InplaceDivide|PythonQt::Type_NonZero|PythonQt::Type_InplaceSubtract|PythonQt::Type_InplaceAdd|PythonQt::Type_RichCompare|PythonQt::Type_Subtract|PythonQt::Type_InplaceMultiply|PythonQt::Type_Multiply|PythonQt::Type_Add); +PythonQt::priv()->registerCPPClass("QRadialGradient", "QGradient", "QtGui", PythonQtCreateObject, NULL, module, PythonQt::Type_RichCompare); +PythonQt::priv()->registerClass(&QRadioButton::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); +PythonQt::priv()->registerClass(&QRegExpValidator::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); +PythonQt::priv()->registerCPPClass("QResizeEvent", "QEvent", "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); +PythonQt::priv()->registerClass(&QRubberBand::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); +PythonQt::priv()->registerClass(&QScrollArea::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); +PythonQt::priv()->registerClass(&QScrollBar::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); +PythonQt::priv()->registerClass(&QSessionManager::staticMetaObject, "QtGui", PythonQtCreateObject, NULL, 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()->registerClass(&QSizeGrip::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); +PythonQt::priv()->registerClass(&QSlider::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); +PythonQt::priv()->registerClass(&QSound::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); +PythonQt::priv()->registerCPPClass("QSpacerItem", "", "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); +PythonQt::self()->addParentClass("QSpacerItem", "QLayoutItem",PythonQtUpcastingOffset()); +PythonQt::priv()->registerClass(&QSpinBox::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); +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(&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()->registerClass(&QStatusBar::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); +PythonQt::priv()->registerCPPClass("QStatusTipEvent", "QEvent", "QtGui", PythonQtCreateObject, NULL, module, 0); +PythonQt::priv()->registerClass(&QStringListModel::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); +PythonQt::priv()->registerClass(&QStyle::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, 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()->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); +PythonQt::priv()->registerCPPClass("QStyleOptionFrame", "QStyleOption", "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); +PythonQt::priv()->registerCPPClass("QStyleOptionFrameV2", "QStyleOptionFrame", "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); +PythonQt::priv()->registerCPPClass("QStyleOptionFrameV3", "QStyleOptionFrameV2", "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); +PythonQt::priv()->registerCPPClass("QStyleOptionGraphicsItem", "QStyleOption", "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); +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("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", "QStyleOptionTab", "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); +PythonQt::priv()->registerCPPClass("QStyleOptionTabV3", "QStyleOptionTabV2", "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); +PythonQt::priv()->registerCPPClass("QStyleOptionTabWidgetFrame", "QStyleOption", "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); +PythonQt::priv()->registerCPPClass("QStyleOptionTitleBar", "QStyleOptionComplex", "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); +PythonQt::priv()->registerCPPClass("QStyleOptionToolBar", "QStyleOption", "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); +PythonQt::priv()->registerCPPClass("QStyleOptionToolBox", "QStyleOption", "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); +PythonQt::priv()->registerCPPClass("QStyleOptionToolBoxV2", "QStyleOptionToolBox", "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); +PythonQt::priv()->registerCPPClass("QStyleOptionToolButton", "QStyleOptionComplex", "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); +PythonQt::priv()->registerCPPClass("QStyleOptionViewItem", "QStyleOption", "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); +PythonQt::priv()->registerCPPClass("QStyleOptionViewItemV2", "QStyleOptionViewItem", "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); +PythonQt::priv()->registerCPPClass("QStyleOptionViewItemV3", "QStyleOptionViewItemV2", "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); +PythonQt::priv()->registerCPPClass("QStyleOptionViewItemV4", "QStyleOptionViewItemV3", "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); +PythonQt::priv()->registerCPPClass("QStylePainter", "QPainter", "QtGui", PythonQtCreateObject, NULL, module, 0); +PythonQt::priv()->registerClass(&QStylePlugin::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); +PythonQt::priv()->registerClass(&QStyledItemDelegate::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); +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); +PythonQt::priv()->registerClass(&QTabWidget::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); +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("QTabletEvent", "QInputEvent", "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); +PythonQt::priv()->registerCPPClass("QTextBlock", "", "QtGui", PythonQtCreateObject, NULL, module, PythonQt::Type_RichCompare); +PythonQt::priv()->registerCPPClass("QTextBlockFormat", "QTextFormat", "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 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_RichCompare); +PythonQt::priv()->registerClass(&QTextCodecPlugin::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); +PythonQt::priv()->registerCPPClass("QTextCursor", "", "QtGui", PythonQtCreateObject, NULL, module, PythonQt::Type_NonZero|PythonQt::Type_RichCompare); +PythonQt::priv()->registerClass(&QTextDocument::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); +PythonQt::priv()->registerCPPClass("QTextDocumentFragment", "", "QtGui", PythonQtCreateObject, NULL, module, 0); +PythonQt::priv()->registerCPPClass("QTextDocumentWriter", "", "QtGui", PythonQtCreateObject, NULL, module, 0); +PythonQt::priv()->registerClass(&QTextEdit::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); +PythonQt::priv()->registerCPPClass("QTextFragment", "", "QtGui", PythonQtCreateObject, NULL, module, PythonQt::Type_RichCompare); +PythonQt::priv()->registerClass(&QTextFrame::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); +PythonQt::priv()->registerCPPClass("QTextFrameFormat", "QTextFormat", "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, PythonQt::Type_RichCompare); +PythonQt::priv()->registerCPPClass("QTextImageFormat", "QTextCharFormat", "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, PythonQt::Type_RichCompare); +PythonQt::priv()->registerCPPClass("QTextInlineObject", "", "QtGui", PythonQtCreateObject, NULL, module, 0); +PythonQt::priv()->registerCPPClass("QTextItem", "", "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); +PythonQt::priv()->registerCPPClass("QTextLine", "", "QtGui", PythonQtCreateObject, NULL, module, 0); +PythonQt::priv()->registerClass(&QTextList::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); +PythonQt::priv()->registerCPPClass("QTextListFormat", "QTextFormat", "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, PythonQt::Type_RichCompare); +PythonQt::priv()->registerClass(&QTextObject::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); +PythonQt::priv()->registerClass(&QTextTable::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); +PythonQt::priv()->registerCPPClass("QTextTableCell", "", "QtGui", PythonQtCreateObject, NULL, module, PythonQt::Type_RichCompare); +PythonQt::priv()->registerCPPClass("QTextTableCellFormat", "QTextCharFormat", "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, PythonQt::Type_RichCompare); +PythonQt::priv()->registerCPPClass("QTextTableFormat", "QTextFrameFormat", "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 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()->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("QTouchEvent", "QInputEvent", "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); +PythonQt::priv()->registerCPPClass("QTouchEvent::TouchPoint", "", "QtGui", PythonQtCreateObject, NULL, module, 0); +PythonQt::priv()->registerCPPClass("QTransform", "", "QtGui", PythonQtCreateObject, NULL, module, PythonQt::Type_Divide|PythonQt::Type_InplaceDivide|PythonQt::Type_InplaceSubtract|PythonQt::Type_InplaceAdd|PythonQt::Type_RichCompare|PythonQt::Type_Subtract|PythonQt::Type_InplaceMultiply|PythonQt::Type_Multiply|PythonQt::Type_Add); +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); +PythonQt::priv()->registerCPPClass("QUndoCommand", "", "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); +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(&QValidator::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); +PythonQt::priv()->registerCPPClass("QVector2D", "", "QtGui", PythonQtCreateObject, NULL, module, PythonQt::Type_Divide|PythonQt::Type_InplaceDivide|PythonQt::Type_NonZero|PythonQt::Type_InplaceSubtract|PythonQt::Type_InplaceAdd|PythonQt::Type_RichCompare|PythonQt::Type_Subtract|PythonQt::Type_InplaceMultiply|PythonQt::Type_Multiply|PythonQt::Type_Add); +PythonQt::priv()->registerCPPClass("QVector3D", "", "QtGui", PythonQtCreateObject, NULL, module, PythonQt::Type_Divide|PythonQt::Type_InplaceDivide|PythonQt::Type_NonZero|PythonQt::Type_InplaceSubtract|PythonQt::Type_InplaceAdd|PythonQt::Type_RichCompare|PythonQt::Type_Subtract|PythonQt::Type_InplaceMultiply|PythonQt::Type_Multiply|PythonQt::Type_Add); +PythonQt::priv()->registerCPPClass("QVector4D", "", "QtGui", PythonQtCreateObject, NULL, module, PythonQt::Type_Divide|PythonQt::Type_InplaceDivide|PythonQt::Type_NonZero|PythonQt::Type_InplaceSubtract|PythonQt::Type_InplaceAdd|PythonQt::Type_RichCompare|PythonQt::Type_Subtract|PythonQt::Type_InplaceMultiply|PythonQt::Type_Multiply|PythonQt::Type_Add); +PythonQt::priv()->registerCPPClass("QWhatsThis", "", "QtGui", PythonQtCreateObject, NULL, module, 0); +PythonQt::priv()->registerCPPClass("QWhatsThisClickedEvent", "QEvent", "QtGui", PythonQtCreateObject, NULL, 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, 0); +PythonQt::self()->addParentClass("QWidgetItem", "QLayoutItem",PythonQtUpcastingOffset()); +PythonQt::priv()->registerCPPClass("QWindowStateChangeEvent", "QEvent", "QtGui", PythonQtCreateObject, NULL, module, 0); +PythonQt::priv()->registerClass(&QWindowsStyle::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); +PythonQt::priv()->registerClass(&QWizard::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); +PythonQt::priv()->registerClass(&QWizardPage::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); +PythonQt::priv()->registerClass(&QWorkspace::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); + +PythonQt::self()->addPolymorphicHandler("QStyleOption", polymorphichandler_QStyleOption); +PythonQt::self()->addPolymorphicHandler("QGradient", polymorphichandler_QGradient); +PythonQt::self()->addPolymorphicHandler("QEvent", polymorphichandler_QEvent); +} diff --git a/generated_cpp_47/com_trolltech_qt_gui_builtin/com_trolltech_qt_gui_builtin.pri b/generated_cpp_47/com_trolltech_qt_gui_builtin/com_trolltech_qt_gui_builtin.pri new file mode 100644 index 00000000..4aa1ce87 --- /dev/null +++ b/generated_cpp_47/com_trolltech_qt_gui_builtin/com_trolltech_qt_gui_builtin.pri @@ -0,0 +1,6 @@ +HEADERS += \ + $$PWD/com_trolltech_qt_gui_builtin0.h \ + +SOURCES += \ + $$PWD/com_trolltech_qt_gui_builtin0.cpp \ + $$PWD/com_trolltech_qt_gui_builtin_init.cpp diff --git a/generated_cpp_47/com_trolltech_qt_gui_builtin/com_trolltech_qt_gui_builtin0.cpp b/generated_cpp_47/com_trolltech_qt_gui_builtin/com_trolltech_qt_gui_builtin0.cpp new file mode 100644 index 00000000..a743a34a --- /dev/null +++ b/generated_cpp_47/com_trolltech_qt_gui_builtin/com_trolltech_qt_gui_builtin0.cpp @@ -0,0 +1,3695 @@ +#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 + +int PythonQtShell_QBitmap::devType() const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "devType"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + int returnValue; + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("devType", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QBitmap::devType(); +} +int PythonQtShell_QBitmap::metric(QPaintDevice::PaintDeviceMetric arg__1) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "metric"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + int returnValue; + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("metric", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QBitmap::metric(arg__1); +} +QPaintEngine* PythonQtShell_QBitmap::paintEngine() const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "paintEngine"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QPaintEngine*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QPaintEngine* returnValue; + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); + } else { + returnValue = *((QPaintEngine**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QBitmap::paintEngine(); +} +QBitmap* PythonQtWrapper_QBitmap::new_QBitmap() +{ +return new PythonQtShell_QBitmap(); } + +QBitmap* PythonQtWrapper_QBitmap::new_QBitmap(const QPixmap& arg__1) +{ +return new PythonQtShell_QBitmap(arg__1); } + +QBitmap* PythonQtWrapper_QBitmap::new_QBitmap(const QSize& arg__1) +{ +return new PythonQtShell_QBitmap(arg__1); } + +QBitmap* PythonQtWrapper_QBitmap::new_QBitmap(const QString& fileName, const char* format) +{ +return new PythonQtShell_QBitmap(fileName, format); } + +QBitmap* PythonQtWrapper_QBitmap::new_QBitmap(int w, int h) +{ +return new PythonQtShell_QBitmap(w, h); } + +void PythonQtWrapper_QBitmap::clear(QBitmap* theWrappedObject) +{ + ( theWrappedObject->clear()); +} + +QBitmap PythonQtWrapper_QBitmap::static_QBitmap_fromImage(const QImage& image, Qt::ImageConversionFlags flags) +{ + return (QBitmap::fromImage(image, flags)); +} + +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()); +} + +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(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)); +} + +void PythonQtWrapper_QColor::getCmykF(QColor* theWrappedObject, qreal* c, qreal* m, qreal* y, qreal* k, qreal* a) +{ + ( 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)); +} + +void PythonQtWrapper_QColor::getHsvF(QColor* theWrappedObject, qreal* h, qreal* s, qreal* v, qreal* a) const +{ + ( theWrappedObject->getHsvF(h, s, v, a)); +} + +void PythonQtWrapper_QColor::getRgbF(QColor* theWrappedObject, qreal* r, qreal* g, qreal* b, qreal* a) const +{ + ( theWrappedObject->getRgbF(r, g, b, 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()); +} + +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()); +} + +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()); +} + +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, 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)); +} + +QColor::Spec PythonQtWrapper_QColor::spec(QColor* theWrappedObject) const +{ + return ( theWrappedObject->spec()); +} + +QColor PythonQtWrapper_QColor::toCmyk(QColor* theWrappedObject) const +{ + return ( theWrappedObject->toCmyk()); +} + +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()); +} + +void PythonQtWrapper_QCursor::writeTo(QCursor* theWrappedObject, QDataStream& outS) +{ + outS << (*theWrappedObject); +} + +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()); +} + +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()); +} + + + +QFont* PythonQtWrapper_QFont::new_QFont() +{ +return new QFont(); } + +QFont* PythonQtWrapper_QFont::new_QFont(const QFont& arg__1) +{ +return new QFont(arg__1); } + +QFont* PythonQtWrapper_QFont::new_QFont(const QFont& arg__1, QPaintDevice* pd) +{ +return new QFont(arg__1, pd); } + +QFont* PythonQtWrapper_QFont::new_QFont(const QString& family, int pointSize, int weight, bool italic) +{ +return new QFont(family, pointSize, weight, italic); } + +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()); +} + +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)); +} + +Qt::HANDLE PythonQtWrapper_QFont::handle(QFont* theWrappedObject) const +{ + return ( theWrappedObject->handle()); +} + +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_removeSubstitution(const QString& arg__1) +{ + (QFont::removeSubstitution(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::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::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::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()); +} + +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()); +} + +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(QIconEngine* engine) +{ +return new QIcon(engine); } + +QIcon* PythonQtWrapper_QIcon::new_QIcon(QIconEngineV2* engine) +{ +return new QIcon(engine); } + +QIcon* PythonQtWrapper_QIcon::new_QIcon(const QIcon& other) +{ +return new QIcon(other); } + +QIcon* PythonQtWrapper_QIcon::new_QIcon(const QPixmap& pixmap) +{ +return new QIcon(pixmap); } + +QIcon* PythonQtWrapper_QIcon::new_QIcon(const QString& fileName) +{ +return new QIcon(fileName); } + +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()); +} + +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::isNull(QIcon* theWrappedObject) const +{ + return ( theWrappedObject->isNull()); +} + +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, 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_setThemeName(const QString& path) +{ + (QIcon::setThemeName(path)); +} + +void PythonQtWrapper_QIcon::static_QIcon_setThemeSearchPaths(const QStringList& searchpath) +{ + (QIcon::setThemeSearchPaths(searchpath)); +} + +QString PythonQtWrapper_QIcon::static_QIcon_themeName() +{ + return (QIcon::themeName()); +} + +QStringList PythonQtWrapper_QIcon::static_QIcon_themeSearchPaths() +{ + return (QIcon::themeSearchPaths()); +} + + + +int PythonQtShell_QImage::devType() const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "devType"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + int returnValue; + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("devType", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QImage::devType(); +} +int PythonQtShell_QImage::metric(QPaintDevice::PaintDeviceMetric metric) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "metric"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + int returnValue; + void* args[2] = {NULL, (void*)&metric}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("metric", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QImage::metric(metric); +} +QPaintEngine* PythonQtShell_QImage::paintEngine() const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "paintEngine"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QPaintEngine*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QPaintEngine* returnValue; + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); + } else { + returnValue = *((QPaintEngine**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QImage::paintEngine(); +} +QImage* PythonQtWrapper_QImage::new_QImage() +{ +return new PythonQtShell_QImage(); } + +QImage* PythonQtWrapper_QImage::new_QImage(const QImage& arg__1) +{ +return new PythonQtShell_QImage(arg__1); } + +QImage* PythonQtWrapper_QImage::new_QImage(const QSize& size, QImage::Format format) +{ +return new PythonQtShell_QImage(size, format); } + +QImage* PythonQtWrapper_QImage::new_QImage(const QString& fileName, const char* format) +{ +return new PythonQtShell_QImage(fileName, format); } + +QImage* PythonQtWrapper_QImage::new_QImage(int width, int height, QImage::Format format) +{ +return new PythonQtShell_QImage(width, height, format); } + +bool PythonQtWrapper_QImage::allGray(QImage* theWrappedObject) const +{ + return ( theWrappedObject->allGray()); +} + +QImage PythonQtWrapper_QImage::alphaChannel(QImage* theWrappedObject) const +{ + return ( theWrappedObject->alphaChannel()); +} + +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()); +} + +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::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()); +} + +int PythonQtWrapper_QImage::devType(QImage* theWrappedObject) const +{ + return ( ((PythonQtPublicPromoter_QImage*)theWrappedObject)->promoted_devType()); +} + +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, 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)); +} + +int PythonQtWrapper_QImage::metric(QImage* theWrappedObject, QPaintDevice::PaintDeviceMetric metric) const +{ + return ( ((PythonQtPublicPromoter_QImage*)theWrappedObject)->promoted_metric(metric)); +} + +QImage PythonQtWrapper_QImage::mirrored(QImage* theWrappedObject, bool horizontally, bool vertically) const +{ + return ( theWrappedObject->mirrored(horizontally, vertically)); +} + +int PythonQtWrapper_QImage::numBytes(QImage* theWrappedObject) const +{ + return ( theWrappedObject->numBytes()); +} + +int PythonQtWrapper_QImage::numColors(QImage* theWrappedObject) const +{ + return ( theWrappedObject->numColors()); +} + +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); +} + +QPaintEngine* PythonQtWrapper_QImage::paintEngine(QImage* theWrappedObject) const +{ + return ( ((PythonQtPublicPromoter_QImage*)theWrappedObject)->promoted_paintEngine()); +} + +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)); +} + +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()); +} + +QImage PythonQtWrapper_QImage::rgbSwapped(QImage* theWrappedObject) const +{ + return ( theWrappedObject->rgbSwapped()); +} + +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::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::setNumColors(QImage* theWrappedObject, int arg__1) +{ + ( theWrappedObject->setNumColors(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::setText(QImage* theWrappedObject, const QString& key, const QString& value) +{ + ( theWrappedObject->setText(key, value)); +} + +QSize PythonQtWrapper_QImage::size(QImage* theWrappedObject) const +{ + return ( theWrappedObject->size()); +} + +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 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()); +} + + + +QKeySequence* PythonQtWrapper_QKeySequence::new_QKeySequence() +{ +return new QKeySequence(); } + +QKeySequence* PythonQtWrapper_QKeySequence::new_QKeySequence(QKeySequence::StandardKey key) +{ +return new QKeySequence(key); } + +QKeySequence* PythonQtWrapper_QKeySequence::new_QKeySequence(const QKeySequence& ks) +{ +return new QKeySequence(ks); } + +QKeySequence* PythonQtWrapper_QKeySequence::new_QKeySequence(const QString& key) +{ +return new QKeySequence(key); } + +QKeySequence* PythonQtWrapper_QKeySequence::new_QKeySequence(int k1, int k2, int k3, int k4) +{ +return new QKeySequence(k1, k2, k3, k4); } + +uint 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)); +} + +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)); +} + +int PythonQtWrapper_QKeySequence::operator_cast_int(QKeySequence* theWrappedObject) const +{ + return ( theWrappedObject->operator int()); +} + +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]); +} + +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& matrix) +{ +return new QMatrix(matrix); } + +QMatrix* PythonQtWrapper_QMatrix::new_QMatrix(qreal m11, qreal m12, qreal m21, qreal m22, qreal dx, qreal dy) +{ +return new QMatrix(m11, m12, m21, m22, dx, dy); } + +qreal PythonQtWrapper_QMatrix::det(QMatrix* theWrappedObject) const +{ + return ( theWrappedObject->det()); +} + +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)); +} + +void PythonQtWrapper_QMatrix::map(QMatrix* theWrappedObject, qreal x, qreal y, qreal* tx, qreal* ty) const +{ + ( theWrappedObject->map(x, y, tx, ty)); +} + +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; +} + + + +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); +} + +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()); +} + +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()); +} + + + +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()); +} + +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; +} + + + +int PythonQtShell_QPixmap::devType() const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "devType"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + int returnValue; + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("devType", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QPixmap::devType(); +} +int PythonQtShell_QPixmap::metric(QPaintDevice::PaintDeviceMetric arg__1) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "metric"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + int returnValue; + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("metric", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QPixmap::metric(arg__1); +} +QPaintEngine* PythonQtShell_QPixmap::paintEngine() const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "paintEngine"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QPaintEngine*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QPaintEngine* returnValue; + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); + } else { + returnValue = *((QPaintEngine**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QPixmap::paintEngine(); +} +QPixmap* PythonQtWrapper_QPixmap::new_QPixmap() +{ +return new PythonQtShell_QPixmap(); } + +QPixmap* PythonQtWrapper_QPixmap::new_QPixmap(const QPixmap& arg__1) +{ +return new PythonQtShell_QPixmap(arg__1); } + +QPixmap* PythonQtWrapper_QPixmap::new_QPixmap(const QSize& arg__1) +{ +return new PythonQtShell_QPixmap(arg__1); } + +QPixmap* PythonQtWrapper_QPixmap::new_QPixmap(const QString& fileName, const char* format, Qt::ImageConversionFlags flags) +{ +return new PythonQtShell_QPixmap(fileName, format, flags); } + +QPixmap* PythonQtWrapper_QPixmap::new_QPixmap(const char** xpm) +{ +return new PythonQtShell_QPixmap(xpm); } + +QPixmap* PythonQtWrapper_QPixmap::new_QPixmap(int w, int h) +{ +return new PythonQtShell_QPixmap(w, h); } + +QPixmap PythonQtWrapper_QPixmap::alphaChannel(QPixmap* theWrappedObject) const +{ + return ( theWrappedObject->alphaChannel()); +} + +qint64 PythonQtWrapper_QPixmap::cacheKey(QPixmap* theWrappedObject) const +{ + return ( theWrappedObject->cacheKey()); +} + +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) const +{ + return ( theWrappedObject->createMaskFromColor(maskColor)); +} + +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()); +} + +int PythonQtWrapper_QPixmap::devType(QPixmap* theWrappedObject) const +{ + return ( ((PythonQtPublicPromoter_QPixmap*)theWrappedObject)->promoted_devType()); +} + +void PythonQtWrapper_QPixmap::fill(QPixmap* theWrappedObject, const QColor& fillColor) +{ + ( theWrappedObject->fill(fillColor)); +} + +void PythonQtWrapper_QPixmap::fill(QPixmap* theWrappedObject, const QWidget* widget, const QPoint& ofs) +{ + ( theWrappedObject->fill(widget, ofs)); +} + +void PythonQtWrapper_QPixmap::fill(QPixmap* theWrappedObject, const QWidget* widget, int xofs, int yofs) +{ + ( theWrappedObject->fill(widget, xofs, yofs)); +} + +QPixmap PythonQtWrapper_QPixmap::static_QPixmap_fromImage(const QImage& image, Qt::ImageConversionFlags flags) +{ + return (QPixmap::fromImage(image, flags)); +} + +QPixmap PythonQtWrapper_QPixmap::static_QPixmap_grabWidget(QWidget* widget, const QRect& rect) +{ + return (QPixmap::grabWidget(widget, rect)); +} + +QPixmap PythonQtWrapper_QPixmap::static_QPixmap_grabWidget(QWidget* 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()); +} + +int PythonQtWrapper_QPixmap::metric(QPixmap* theWrappedObject, QPaintDevice::PaintDeviceMetric arg__1) const +{ + return ( ((PythonQtPublicPromoter_QPixmap*)theWrappedObject)->promoted_metric(arg__1)); +} + +void PythonQtWrapper_QPixmap::writeTo(QPixmap* theWrappedObject, QDataStream& arg__1) +{ + arg__1 << (*theWrappedObject); +} + +void PythonQtWrapper_QPixmap::readFrom(QPixmap* theWrappedObject, QDataStream& arg__1) +{ + arg__1 >> (*theWrappedObject); +} + +QPaintEngine* PythonQtWrapper_QPixmap::paintEngine(QPixmap* theWrappedObject) const +{ + return ( ((PythonQtPublicPromoter_QPixmap*)theWrappedObject)->promoted_paintEngine()); +} + +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::setAlphaChannel(QPixmap* theWrappedObject, const QPixmap& arg__1) +{ + ( theWrappedObject->setAlphaChannel(arg__1)); +} + +void PythonQtWrapper_QPixmap::setMask(QPixmap* theWrappedObject, const QBitmap& arg__1) +{ + ( theWrappedObject->setMask(arg__1)); +} + +QSize PythonQtWrapper_QPixmap::size(QPixmap* theWrappedObject) const +{ + return ( theWrappedObject->size()); +} + +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()); +} + + + +QPolygon* PythonQtWrapper_QPolygon::new_QPolygon() +{ +return new QPolygon(); } + +QPolygon* PythonQtWrapper_QPolygon::new_QPolygon(const QPolygon& a) +{ +return new QPolygon(a); } + +QPolygon* PythonQtWrapper_QPolygon::new_QPolygon(const QRect& r, bool closed) +{ +return new QPolygon(r, closed); } + +QPolygon* PythonQtWrapper_QPolygon::new_QPolygon(const QVector& v) +{ +return new QPolygon(v); } + +QPolygon* PythonQtWrapper_QPolygon::new_QPolygon(int size) +{ +return new QPolygon(size); } + +void PythonQtWrapper_QPolygon::append(QPolygon* theWrappedObject, const QPoint& t) +{ + ( theWrappedObject->append(t)); +} + +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()); +} + +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::isEmpty(QPolygon* theWrappedObject) const +{ + return ( theWrappedObject->isEmpty()); +} + +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)); +} + +QVector PythonQtWrapper_QPolygon::mid(QPolygon* theWrappedObject, int pos, int length) const +{ + return ( theWrappedObject->mid(pos, length)); +} + +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); +} + +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)); +} + +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)); +} + +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)); +} + +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); } + +QRect PythonQtWrapper_QRegion::boundingRect(QRegion* theWrappedObject) const +{ + return ( theWrappedObject->boundingRect()); +} + +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)); +} + +QRegion PythonQtWrapper_QRegion::intersect(QRegion* theWrappedObject, const QRect& r) const +{ + return ( theWrappedObject->intersect(r)); +} + +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()); +} + +int PythonQtWrapper_QRegion::numRects(QRegion* theWrappedObject) const +{ + return ( theWrappedObject->numRects()); +} + +bool PythonQtWrapper_QRegion::__ne__(QRegion* theWrappedObject, const QRegion& r) const +{ + return ( (*theWrappedObject)!= r); +} + +const 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); +} + +const 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::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::unite(QRegion* theWrappedObject, const QRect& r) const +{ + return ( theWrappedObject->unite(r)); +} + +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) +{ +return new QSizePolicy(horizontal, vertical); } + +QSizePolicy* PythonQtWrapper_QSizePolicy::new_QSizePolicy(QSizePolicy::Policy horizontal, QSizePolicy::Policy vertical, QSizePolicy::ControlType type) +{ +return new QSizePolicy(horizontal, vertical, type); } + +QSizePolicy::ControlType PythonQtWrapper_QSizePolicy::controlType(QSizePolicy* theWrappedObject) const +{ + return ( theWrappedObject->controlType()); +} + +Qt::Orientations PythonQtWrapper_QSizePolicy::expandingDirections(QSizePolicy* theWrappedObject) const +{ + return ( theWrappedObject->expandingDirections()); +} + +bool PythonQtWrapper_QSizePolicy::hasHeightForWidth(QSizePolicy* theWrappedObject) const +{ + return ( theWrappedObject->hasHeightForWidth()); +} + +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); +} + +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, uchar stretchFactor) +{ + ( theWrappedObject->setHorizontalStretch(stretchFactor)); +} + +void PythonQtWrapper_QSizePolicy::setVerticalPolicy(QSizePolicy* theWrappedObject, QSizePolicy::Policy d) +{ + ( theWrappedObject->setVerticalPolicy(d)); +} + +void PythonQtWrapper_QSizePolicy::setVerticalStretch(QSizePolicy* theWrappedObject, uchar stretchFactor) +{ + ( theWrappedObject->setVerticalStretch(stretchFactor)); +} + +void PythonQtWrapper_QSizePolicy::transpose(QSizePolicy* theWrappedObject) +{ + ( theWrappedObject->transpose()); +} + +QSizePolicy::Policy PythonQtWrapper_QSizePolicy::verticalPolicy(QSizePolicy* theWrappedObject) const +{ + return ( theWrappedObject->verticalPolicy()); +} + +int PythonQtWrapper_QSizePolicy::verticalStretch(QSizePolicy* theWrappedObject) const +{ + return ( theWrappedObject->verticalStretch()); +} + + + +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::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)); +} + +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()); +} + + + +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)); +} + + diff --git a/generated_cpp_47/com_trolltech_qt_gui_builtin/com_trolltech_qt_gui_builtin0.h b/generated_cpp_47/com_trolltech_qt_gui_builtin/com_trolltech_qt_gui_builtin0.h new file mode 100644 index 00000000..5904de52 --- /dev/null +++ b/generated_cpp_47/com_trolltech_qt_gui_builtin/com_trolltech_qt_gui_builtin0.h @@ -0,0 +1,1063 @@ +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#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(NULL) {}; + PythonQtShell_QBitmap(const QPixmap& arg__1):QBitmap(arg__1),_wrapper(NULL) {}; + PythonQtShell_QBitmap(const QSize& arg__1):QBitmap(arg__1),_wrapper(NULL) {}; + PythonQtShell_QBitmap(const QString& fileName, const char* format = 0):QBitmap(fileName, format),_wrapper(NULL) {}; + PythonQtShell_QBitmap(int w, int h):QBitmap(w, h),_wrapper(NULL) {}; + +virtual int devType() const; +virtual int metric(QPaintDevice::PaintDeviceMetric arg__1) const; +virtual QPaintEngine* paintEngine() const; + + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtWrapper_QBitmap : public QObject +{ Q_OBJECT +public: +public slots: +QBitmap* new_QBitmap(); +QBitmap* new_QBitmap(const QPixmap& arg__1); +QBitmap* new_QBitmap(const QSize& arg__1); +QBitmap* new_QBitmap(const QString& fileName, const char* format = 0); +QBitmap* new_QBitmap(int w, int h); +QBitmap* new_QBitmap(const QBitmap& other) { +PythonQtShell_QBitmap* a = new PythonQtShell_QBitmap(); +*((QBitmap*)a) = other; +return a; } +void delete_QBitmap(QBitmap* obj) { delete obj; } + void clear(QBitmap* theWrappedObject); + QBitmap static_QBitmap_fromImage(const QImage& image, Qt::ImageConversionFlags flags = Qt::AutoColor); + 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; + 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(Spec ) +enum Spec{ + Invalid = QColor::Invalid, Rgb = QColor::Rgb, Hsv = QColor::Hsv, Cmyk = QColor::Cmyk, Hsl = QColor::Hsl}; +public slots: +QColor* new_QColor(); +QColor* new_QColor(Qt::GlobalColor color); +QColor* new_QColor(const QColor& color); +QColor* new_QColor(const QString& name); +QColor* new_QColor(int r, int g, int b, int a = 255); +QColor* new_QColor(unsigned int rgb); +void delete_QColor(QColor* obj) { delete obj; } + 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); + void getCmykF(QColor* theWrappedObject, qreal* c, qreal* m, qreal* y, qreal* k, qreal* a = 0); + void getHsl(QColor* theWrappedObject, int* h, int* s, int* l, int* a = 0) const; + void getHslF(QColor* theWrappedObject, qreal* h, qreal* s, qreal* l, qreal* a = 0) const; + void getHsvF(QColor* theWrappedObject, qreal* h, qreal* s, qreal* v, qreal* a = 0) const; + void getRgbF(QColor* theWrappedObject, qreal* r, qreal* g, qreal* b, qreal* a = 0) 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; + 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; + 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; + 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, 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); + QColor::Spec spec(QColor* theWrappedObject) const; + QColor toCmyk(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*); +}; + + + + + +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; + void writeTo(QCursor* theWrappedObject, QDataStream& outS); + void readFrom(QCursor* theWrappedObject, QDataStream& inS); + QPixmap pixmap(QCursor* theWrappedObject) const; + QPoint static_QCursor_pos(); + 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; +}; + + + + + +class PythonQtWrapper_QFont : public QObject +{ Q_OBJECT +public: +Q_ENUMS(StyleStrategy SpacingType StyleHint Weight Capitalization Stretch Style ) +enum StyleStrategy{ + PreferDefault = QFont::PreferDefault, PreferBitmap = QFont::PreferBitmap, PreferDevice = QFont::PreferDevice, PreferOutline = QFont::PreferOutline, ForceOutline = QFont::ForceOutline, PreferMatch = QFont::PreferMatch, PreferQuality = QFont::PreferQuality, PreferAntialias = QFont::PreferAntialias, NoAntialias = QFont::NoAntialias, OpenGLCompatible = QFont::OpenGLCompatible, NoFontMerging = QFont::NoFontMerging}; +enum SpacingType{ + PercentageSpacing = QFont::PercentageSpacing, AbsoluteSpacing = QFont::AbsoluteSpacing}; +enum StyleHint{ + Helvetica = QFont::Helvetica, SansSerif = QFont::SansSerif, Times = QFont::Times, Serif = QFont::Serif, Courier = QFont::Courier, TypeWriter = QFont::TypeWriter, OldEnglish = QFont::OldEnglish, Decorative = QFont::Decorative, System = QFont::System, AnyStyle = QFont::AnyStyle}; +enum Weight{ + Light = QFont::Light, Normal = QFont::Normal, DemiBold = QFont::DemiBold, Bold = QFont::Bold, Black = QFont::Black}; +enum Capitalization{ + MixedCase = QFont::MixedCase, AllUppercase = QFont::AllUppercase, AllLowercase = QFont::AllLowercase, SmallCaps = QFont::SmallCaps, Capitalize = QFont::Capitalize}; +enum Stretch{ + UltraCondensed = QFont::UltraCondensed, ExtraCondensed = QFont::ExtraCondensed, Condensed = QFont::Condensed, SemiCondensed = QFont::SemiCondensed, Unstretched = QFont::Unstretched, SemiExpanded = QFont::SemiExpanded, Expanded = QFont::Expanded, ExtraExpanded = QFont::ExtraExpanded, UltraExpanded = QFont::UltraExpanded}; +enum Style{ + StyleNormal = QFont::StyleNormal, StyleItalic = QFont::StyleItalic, StyleOblique = QFont::StyleOblique}; +public slots: +QFont* new_QFont(); +QFont* new_QFont(const QFont& arg__1); +QFont* new_QFont(const QFont& arg__1, QPaintDevice* pd); +QFont* new_QFont(const QString& family, int pointSize = -1, int weight = -1, bool italic = false); +void delete_QFont(QFont* obj) { delete obj; } + 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; + QString family(QFont* theWrappedObject) const; + bool fixedPitch(QFont* theWrappedObject) const; + bool fromString(QFont* theWrappedObject, const QString& arg__1); + Qt::HANDLE handle(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_removeSubstitution(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 setFamily(QFont* theWrappedObject, const QString& arg__1); + void setFixedPitch(QFont* theWrappedObject, bool arg__1); + 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 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; + 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(); + 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(QIconEngine* engine); +QIcon* new_QIcon(QIconEngineV2* engine); +QIcon* new_QIcon(const QIcon& other); +QIcon* new_QIcon(const QPixmap& pixmap); +QIcon* new_QIcon(const QString& fileName); +void delete_QIcon(QIcon* obj) { delete obj; } + 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; + QIcon static_QIcon_fromTheme(const QString& name, const QIcon& fallback = QIcon()); + bool static_QIcon_hasThemeIcon(const QString& name); + bool isNull(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, 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_setThemeName(const QString& path); + void static_QIcon_setThemeSearchPaths(const QStringList& searchpath); + QString static_QIcon_themeName(); + QStringList static_QIcon_themeSearchPaths(); + bool __nonzero__(QIcon* obj) { return !obj->isNull(); } +}; + + + + + +class PythonQtShell_QImage : public QImage +{ +public: + PythonQtShell_QImage():QImage(),_wrapper(NULL) {}; + PythonQtShell_QImage(const QImage& arg__1):QImage(arg__1),_wrapper(NULL) {}; + PythonQtShell_QImage(const QSize& size, QImage::Format format):QImage(size, format),_wrapper(NULL) {}; + PythonQtShell_QImage(const QString& fileName, const char* format = 0):QImage(fileName, format),_wrapper(NULL) {}; + PythonQtShell_QImage(int width, int height, QImage::Format format):QImage(width, height, format),_wrapper(NULL) {}; + +virtual int devType() const; +virtual int metric(QPaintDevice::PaintDeviceMetric metric) const; +virtual QPaintEngine* paintEngine() const; + + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtPublicPromoter_QImage : public QImage +{ public: +inline int promoted_devType() const { return QImage::devType(); } +inline int promoted_metric(QPaintDevice::PaintDeviceMetric metric) const { return QImage::metric(metric); } +inline QPaintEngine* promoted_paintEngine() const { return QImage::paintEngine(); } +}; + +class PythonQtWrapper_QImage : public QObject +{ Q_OBJECT +public: +Q_ENUMS(InvertMode Format ) +enum InvertMode{ + InvertRgb = QImage::InvertRgb, InvertRgba = QImage::InvertRgba}; +enum Format{ + Format_Invalid = QImage::Format_Invalid, Format_Mono = QImage::Format_Mono, Format_MonoLSB = QImage::Format_MonoLSB, Format_Indexed8 = QImage::Format_Indexed8, Format_RGB32 = QImage::Format_RGB32, Format_ARGB32 = QImage::Format_ARGB32, Format_ARGB32_Premultiplied = QImage::Format_ARGB32_Premultiplied, Format_RGB16 = QImage::Format_RGB16, Format_ARGB8565_Premultiplied = QImage::Format_ARGB8565_Premultiplied, Format_RGB666 = QImage::Format_RGB666, Format_ARGB6666_Premultiplied = QImage::Format_ARGB6666_Premultiplied, Format_RGB555 = QImage::Format_RGB555, Format_ARGB8555_Premultiplied = QImage::Format_ARGB8555_Premultiplied, Format_RGB888 = QImage::Format_RGB888, Format_RGB444 = QImage::Format_RGB444, Format_ARGB4444_Premultiplied = QImage::Format_ARGB4444_Premultiplied, NImageFormats = QImage::NImageFormats}; +public slots: +QImage* new_QImage(); +QImage* new_QImage(const QImage& arg__1); +QImage* new_QImage(const QSize& size, QImage::Format format); +QImage* new_QImage(const QString& fileName, const char* format = 0); +QImage* new_QImage(int width, int height, QImage::Format format); +void delete_QImage(QImage* obj) { delete obj; } + bool allGray(QImage* theWrappedObject) const; + QImage alphaChannel(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; + 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 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 devType(QImage* theWrappedObject) const; + int dotsPerMeterX(QImage* theWrappedObject) const; + int dotsPerMeterY(QImage* theWrappedObject) const; + void fill(QImage* theWrappedObject, uint pixel); + QImage::Format format(QImage* theWrappedObject) const; + QImage static_QImage_fromData(const QByteArray& data, const char* format = 0); + 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 = 0); + bool loadFromData(QImage* theWrappedObject, const QByteArray& data, const char* aformat = 0); + int metric(QImage* theWrappedObject, QPaintDevice::PaintDeviceMetric metric) const; + QImage mirrored(QImage* theWrappedObject, bool horizontally = false, bool vertically = true) const; + int numBytes(QImage* theWrappedObject) const; + int numColors(QImage* theWrappedObject) const; + 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* paintEngine(QImage* theWrappedObject) const; + unsigned int pixel(QImage* theWrappedObject, const QPoint& pt) const; + unsigned int pixel(QImage* theWrappedObject, int x, int y) const; + int pixelIndex(QImage* theWrappedObject, const QPoint& pt) const; + int pixelIndex(QImage* theWrappedObject, int x, int y) const; + QRect rect(QImage* theWrappedObject) const; + QImage rgbSwapped(QImage* theWrappedObject) const; + bool save(QImage* theWrappedObject, QIODevice* device, const char* format = 0, int quality = -1) const; + bool save(QImage* theWrappedObject, const QString& fileName, const char* format = 0, 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 setDotsPerMeterX(QImage* theWrappedObject, int arg__1); + void setDotsPerMeterY(QImage* theWrappedObject, int arg__1); + void setNumColors(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 setText(QImage* theWrappedObject, const QString& key, const QString& value); + QSize size(QImage* theWrappedObject) const; + QString text(QImage* theWrappedObject, const QString& key = QString()) const; + QStringList textKeys(QImage* theWrappedObject) const; + 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; + bool __nonzero__(QImage* obj) { return !obj->isNull(); } +}; + + + + + +class PythonQtWrapper_QKeySequence : public QObject +{ Q_OBJECT +public: +Q_ENUMS(SequenceFormat StandardKey SequenceMatch ) +enum SequenceFormat{ + NativeText = QKeySequence::NativeText, PortableText = QKeySequence::PortableText}; +enum StandardKey{ + UnknownKey = QKeySequence::UnknownKey, HelpContents = QKeySequence::HelpContents, WhatsThis = QKeySequence::WhatsThis, Open = QKeySequence::Open, Close = QKeySequence::Close, Save = QKeySequence::Save, New = QKeySequence::New, Delete = QKeySequence::Delete, Cut = QKeySequence::Cut, Copy = QKeySequence::Copy, Paste = QKeySequence::Paste, Undo = QKeySequence::Undo, Redo = QKeySequence::Redo, Back = QKeySequence::Back, Forward = QKeySequence::Forward, Refresh = QKeySequence::Refresh, ZoomIn = QKeySequence::ZoomIn, ZoomOut = QKeySequence::ZoomOut, Print = QKeySequence::Print, AddTab = QKeySequence::AddTab, NextChild = QKeySequence::NextChild, PreviousChild = QKeySequence::PreviousChild, Find = QKeySequence::Find, FindNext = QKeySequence::FindNext, FindPrevious = QKeySequence::FindPrevious, Replace = QKeySequence::Replace, SelectAll = QKeySequence::SelectAll, Bold = QKeySequence::Bold, Italic = QKeySequence::Italic, Underline = QKeySequence::Underline, MoveToNextChar = QKeySequence::MoveToNextChar, MoveToPreviousChar = QKeySequence::MoveToPreviousChar, MoveToNextWord = QKeySequence::MoveToNextWord, MoveToPreviousWord = QKeySequence::MoveToPreviousWord, MoveToNextLine = QKeySequence::MoveToNextLine, MoveToPreviousLine = QKeySequence::MoveToPreviousLine, MoveToNextPage = QKeySequence::MoveToNextPage, MoveToPreviousPage = QKeySequence::MoveToPreviousPage, MoveToStartOfLine = QKeySequence::MoveToStartOfLine, MoveToEndOfLine = QKeySequence::MoveToEndOfLine, MoveToStartOfBlock = QKeySequence::MoveToStartOfBlock, MoveToEndOfBlock = QKeySequence::MoveToEndOfBlock, MoveToStartOfDocument = QKeySequence::MoveToStartOfDocument, MoveToEndOfDocument = QKeySequence::MoveToEndOfDocument, SelectNextChar = QKeySequence::SelectNextChar, SelectPreviousChar = QKeySequence::SelectPreviousChar, SelectNextWord = QKeySequence::SelectNextWord, SelectPreviousWord = QKeySequence::SelectPreviousWord, SelectNextLine = QKeySequence::SelectNextLine, SelectPreviousLine = QKeySequence::SelectPreviousLine, SelectNextPage = QKeySequence::SelectNextPage, SelectPreviousPage = QKeySequence::SelectPreviousPage, SelectStartOfLine = QKeySequence::SelectStartOfLine, SelectEndOfLine = QKeySequence::SelectEndOfLine, SelectStartOfBlock = QKeySequence::SelectStartOfBlock, SelectEndOfBlock = QKeySequence::SelectEndOfBlock, SelectStartOfDocument = QKeySequence::SelectStartOfDocument, SelectEndOfDocument = QKeySequence::SelectEndOfDocument, DeleteStartOfWord = QKeySequence::DeleteStartOfWord, DeleteEndOfWord = QKeySequence::DeleteEndOfWord, DeleteEndOfLine = QKeySequence::DeleteEndOfLine, InsertParagraphSeparator = QKeySequence::InsertParagraphSeparator, InsertLineSeparator = QKeySequence::InsertLineSeparator, SaveAs = QKeySequence::SaveAs, Preferences = QKeySequence::Preferences, Quit = QKeySequence::Quit}; +enum SequenceMatch{ + NoMatch = QKeySequence::NoMatch, PartialMatch = QKeySequence::PartialMatch, ExactMatch = QKeySequence::ExactMatch}; +public slots: +QKeySequence* new_QKeySequence(); +QKeySequence* new_QKeySequence(QKeySequence::StandardKey key); +QKeySequence* new_QKeySequence(const QKeySequence& ks); +QKeySequence* new_QKeySequence(const QString& key); +QKeySequence* new_QKeySequence(int k1, int k2 = 0, int k3 = 0, int k4 = 0); +void delete_QKeySequence(QKeySequence* obj) { delete obj; } + uint 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); + QKeySequence::SequenceMatch matches(QKeySequence* theWrappedObject, const QKeySequence& seq) const; + QKeySequence static_QKeySequence_mnemonic(const QString& text); + int operator_cast_int(QKeySequence* theWrappedObject) const; + 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; + QString toString(QKeySequence* theWrappedObject, QKeySequence::SequenceFormat format = QKeySequence::PortableText) const; + QString py_toString(QKeySequence*); +}; + + + + + +class PythonQtWrapper_QMatrix : public QObject +{ Q_OBJECT +public: +public slots: +QMatrix* new_QMatrix(); +QMatrix* new_QMatrix(const QMatrix& matrix); +QMatrix* new_QMatrix(qreal m11, qreal m12, qreal m21, qreal m22, qreal dx, qreal dy); +void delete_QMatrix(QMatrix* obj) { delete obj; } + qreal det(QMatrix* theWrappedObject) const; + qreal determinant(QMatrix* theWrappedObject) const; + qreal dx(QMatrix* theWrappedObject) const; + qreal dy(QMatrix* theWrappedObject) const; + QMatrix inverted(QMatrix* theWrappedObject, bool* invertible = 0) 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; + void map(QMatrix* theWrappedObject, qreal x, qreal y, qreal* tx, qreal* ty) 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_QPalette : public QObject +{ Q_OBJECT +public: +Q_ENUMS(ColorGroup ColorRole ) +enum ColorGroup{ + Active = QPalette::Active, Disabled = QPalette::Disabled, Inactive = QPalette::Inactive, NColorGroups = QPalette::NColorGroups, Current = QPalette::Current, All = QPalette::All, Normal = QPalette::Normal}; +enum ColorRole{ + WindowText = QPalette::WindowText, Button = QPalette::Button, Light = QPalette::Light, Midlight = QPalette::Midlight, Dark = QPalette::Dark, Mid = QPalette::Mid, Text = QPalette::Text, BrightText = QPalette::BrightText, ButtonText = QPalette::ButtonText, Base = QPalette::Base, Window = QPalette::Window, Shadow = QPalette::Shadow, Highlight = QPalette::Highlight, HighlightedText = QPalette::HighlightedText, Link = QPalette::Link, LinkVisited = QPalette::LinkVisited, AlternateBase = QPalette::AlternateBase, NoRole = QPalette::NoRole, ToolTipBase = QPalette::ToolTipBase, ToolTipText = QPalette::ToolTipText, NColorRoles = QPalette::NColorRoles, Foreground = QPalette::Foreground, Background = QPalette::Background}; +public slots: +QPalette* new_QPalette(); +QPalette* new_QPalette(Qt::GlobalColor button); +QPalette* new_QPalette(const QBrush& windowText, const QBrush& button, const QBrush& light, const QBrush& dark, const QBrush& mid, const QBrush& text, const QBrush& bright_text, const QBrush& base, const QBrush& window); +QPalette* new_QPalette(const QColor& button); +QPalette* new_QPalette(const QColor& button, const QColor& window); +QPalette* new_QPalette(const QPalette& palette); +void delete_QPalette(QPalette* obj) { delete obj; } + const QBrush* alternateBase(QPalette* theWrappedObject) const; + const QBrush* 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); + 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; + 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; +}; + + + + + +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; + int width(QPen* theWrappedObject) const; + qreal widthF(QPen* theWrappedObject) const; + QString py_toString(QPen*); +}; + + + + + +class PythonQtShell_QPixmap : public QPixmap +{ +public: + PythonQtShell_QPixmap():QPixmap(),_wrapper(NULL) {}; + PythonQtShell_QPixmap(const QPixmap& arg__1):QPixmap(arg__1),_wrapper(NULL) {}; + PythonQtShell_QPixmap(const QSize& arg__1):QPixmap(arg__1),_wrapper(NULL) {}; + PythonQtShell_QPixmap(const QString& fileName, const char* format = 0, Qt::ImageConversionFlags flags = Qt::AutoColor):QPixmap(fileName, format, flags),_wrapper(NULL) {}; + PythonQtShell_QPixmap(const char** xpm):QPixmap(xpm),_wrapper(NULL) {}; + PythonQtShell_QPixmap(int w, int h):QPixmap(w, h),_wrapper(NULL) {}; + +virtual int devType() const; +virtual int metric(QPaintDevice::PaintDeviceMetric arg__1) const; +virtual QPaintEngine* paintEngine() const; + + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtPublicPromoter_QPixmap : public QPixmap +{ public: +inline int promoted_devType() const { return QPixmap::devType(); } +inline int promoted_metric(QPaintDevice::PaintDeviceMetric arg__1) const { return QPixmap::metric(arg__1); } +inline QPaintEngine* promoted_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 = 0, Qt::ImageConversionFlags flags = Qt::AutoColor); +QPixmap* new_QPixmap(const char** xpm); +QPixmap* new_QPixmap(int w, int h); +void delete_QPixmap(QPixmap* obj) { delete obj; } + QPixmap alphaChannel(QPixmap* theWrappedObject) const; + qint64 cacheKey(QPixmap* theWrappedObject) const; + 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) const; + QBitmap createMaskFromColor(QPixmap* theWrappedObject, const QColor& maskColor, Qt::MaskMode mode) const; + int static_QPixmap_defaultDepth(); + int depth(QPixmap* theWrappedObject) const; + int devType(QPixmap* theWrappedObject) const; + void fill(QPixmap* theWrappedObject, const QColor& fillColor = Qt::white); + void fill(QPixmap* theWrappedObject, const QWidget* widget, const QPoint& ofs); + void fill(QPixmap* theWrappedObject, const QWidget* widget, int xofs, int yofs); + QPixmap static_QPixmap_fromImage(const QImage& image, Qt::ImageConversionFlags flags = Qt::AutoColor); + QPixmap static_QPixmap_grabWidget(QWidget* widget, const QRect& rect); + QPixmap static_QPixmap_grabWidget(QWidget* 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 = 0, Qt::ImageConversionFlags flags = Qt::AutoColor); + bool loadFromData(QPixmap* theWrappedObject, const QByteArray& data, const char* format = 0, Qt::ImageConversionFlags flags = Qt::AutoColor); + QBitmap mask(QPixmap* theWrappedObject) const; + int metric(QPixmap* theWrappedObject, QPaintDevice::PaintDeviceMetric arg__1) const; + void writeTo(QPixmap* theWrappedObject, QDataStream& arg__1); + void readFrom(QPixmap* theWrappedObject, QDataStream& arg__1); + QPaintEngine* paintEngine(QPixmap* theWrappedObject) const; + QRect rect(QPixmap* theWrappedObject) const; + bool save(QPixmap* theWrappedObject, QIODevice* device, const char* format = 0, int quality = -1) const; + bool save(QPixmap* theWrappedObject, const QString& fileName, const char* format = 0, 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 = 0); + void scroll(QPixmap* theWrappedObject, int dx, int dy, int x, int y, int width, int height, QRegion* exposed = 0); + void setAlphaChannel(QPixmap* theWrappedObject, const QPixmap& arg__1); + void setMask(QPixmap* theWrappedObject, const QBitmap& arg__1); + QSize size(QPixmap* theWrappedObject) const; + 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; + 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& a); +QPolygon* new_QPolygon(const QRect& r, bool closed = false); +QPolygon* new_QPolygon(const QVector& v); +QPolygon* new_QPolygon(int size); +void delete_QPolygon(QPolygon* obj) { delete obj; } + void append(QPolygon* theWrappedObject, const QPoint& t); + const QPoint* at(QPolygon* theWrappedObject, int i) const; + QRect boundingRect(QPolygon* theWrappedObject) const; + int capacity(QPolygon* theWrappedObject) const; + void clear(QPolygon* theWrappedObject); + 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); + const QPoint* first(QPolygon* theWrappedObject) const; + QVector static_QPolygon_fromList(const QList& list); + int indexOf(QPolygon* theWrappedObject, const QPoint& t, int from) const; + QPolygon intersected(QPolygon* theWrappedObject, const QPolygon& r) const; + bool isEmpty(QPolygon* theWrappedObject) const; + const QPoint* last(QPolygon* theWrappedObject) const; + int lastIndexOf(QPolygon* theWrappedObject, const QPoint& t, int from) const; + QVector mid(QPolygon* theWrappedObject, int pos, int length) const; + 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); + 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); + 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); + 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; + 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*); +}; + + + + + +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; } + QRect boundingRect(QRegion* theWrappedObject) const; + bool contains(QRegion* theWrappedObject, const QPoint& p) const; + bool contains(QRegion* theWrappedObject, const QRect& r) const; + QRegion intersect(QRegion* theWrappedObject, const QRect& r) 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; + int numRects(QRegion* theWrappedObject) const; + bool __ne__(QRegion* theWrappedObject, const QRegion& r) const; + const QRegion __and__(QRegion* theWrappedObject, const QRect& r) const; + QRegion __mul__(QRegion* theWrappedObject, const QMatrix& m); + QRegion __mul__(QRegion* theWrappedObject, const QTransform& m); + const 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 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 unite(QRegion* theWrappedObject, const QRect& r) 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*); +}; + + + + + +class PythonQtWrapper_QSizePolicy : public QObject +{ Q_OBJECT +public: +Q_ENUMS(ControlType PolicyFlag Policy ) +Q_FLAGS(ControlTypes ) +enum ControlType{ + DefaultType = QSizePolicy::DefaultType, ButtonBox = QSizePolicy::ButtonBox, CheckBox = QSizePolicy::CheckBox, ComboBox = QSizePolicy::ComboBox, Frame = QSizePolicy::Frame, GroupBox = QSizePolicy::GroupBox, Label = QSizePolicy::Label, Line = QSizePolicy::Line, LineEdit = QSizePolicy::LineEdit, PushButton = QSizePolicy::PushButton, RadioButton = QSizePolicy::RadioButton, Slider = QSizePolicy::Slider, SpinBox = QSizePolicy::SpinBox, TabWidget = QSizePolicy::TabWidget, ToolButton = QSizePolicy::ToolButton}; +enum PolicyFlag{ + GrowFlag = QSizePolicy::GrowFlag, ExpandFlag = QSizePolicy::ExpandFlag, ShrinkFlag = QSizePolicy::ShrinkFlag, IgnoreFlag = QSizePolicy::IgnoreFlag}; +enum Policy{ + Fixed = QSizePolicy::Fixed, Minimum = QSizePolicy::Minimum, Maximum = QSizePolicy::Maximum, Preferred = QSizePolicy::Preferred, MinimumExpanding = QSizePolicy::MinimumExpanding, Expanding = QSizePolicy::Expanding, Ignored = QSizePolicy::Ignored}; +Q_DECLARE_FLAGS(ControlTypes, ControlType) +public slots: +QSizePolicy* new_QSizePolicy(); +QSizePolicy* new_QSizePolicy(QSizePolicy::Policy horizontal, QSizePolicy::Policy vertical); +QSizePolicy* new_QSizePolicy(QSizePolicy::Policy horizontal, QSizePolicy::Policy vertical, QSizePolicy::ControlType type); +QSizePolicy* new_QSizePolicy(const QSizePolicy& other) { +QSizePolicy* a = new QSizePolicy(); +*((QSizePolicy*)a) = other; +return a; } +void delete_QSizePolicy(QSizePolicy* obj) { delete obj; } + QSizePolicy::ControlType controlType(QSizePolicy* theWrappedObject) const; + Qt::Orientations expandingDirections(QSizePolicy* theWrappedObject) const; + bool hasHeightForWidth(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); + void setControlType(QSizePolicy* theWrappedObject, QSizePolicy::ControlType type); + void setHeightForWidth(QSizePolicy* theWrappedObject, bool b); + void setHorizontalPolicy(QSizePolicy* theWrappedObject, QSizePolicy::Policy d); + void setHorizontalStretch(QSizePolicy* theWrappedObject, uchar stretchFactor); + void setVerticalPolicy(QSizePolicy* theWrappedObject, QSizePolicy::Policy d); + void setVerticalStretch(QSizePolicy* theWrappedObject, uchar stretchFactor); + void transpose(QSizePolicy* theWrappedObject); + QSizePolicy::Policy verticalPolicy(QSizePolicy* theWrappedObject) const; + int verticalStretch(QSizePolicy* theWrappedObject) const; +}; + + + + + +class PythonQtWrapper_QTextFormat : public QObject +{ Q_OBJECT +public: +Q_ENUMS(Property FormatType ObjectTypes PageBreakFlag ) +Q_FLAGS(PageBreakFlags ) +enum Property{ + ObjectIndex = QTextFormat::ObjectIndex, CssFloat = QTextFormat::CssFloat, LayoutDirection = QTextFormat::LayoutDirection, OutlinePen = QTextFormat::OutlinePen, BackgroundBrush = QTextFormat::BackgroundBrush, ForegroundBrush = QTextFormat::ForegroundBrush, BackgroundImageUrl = QTextFormat::BackgroundImageUrl, BlockAlignment = QTextFormat::BlockAlignment, BlockTopMargin = QTextFormat::BlockTopMargin, BlockBottomMargin = QTextFormat::BlockBottomMargin, BlockLeftMargin = QTextFormat::BlockLeftMargin, BlockRightMargin = QTextFormat::BlockRightMargin, TextIndent = QTextFormat::TextIndent, TabPositions = QTextFormat::TabPositions, BlockIndent = QTextFormat::BlockIndent, BlockNonBreakableLines = QTextFormat::BlockNonBreakableLines, BlockTrailingHorizontalRulerWidth = QTextFormat::BlockTrailingHorizontalRulerWidth, FirstFontProperty = QTextFormat::FirstFontProperty, FontCapitalization = QTextFormat::FontCapitalization, FontLetterSpacing = QTextFormat::FontLetterSpacing, FontWordSpacing = QTextFormat::FontWordSpacing, FontStyleHint = QTextFormat::FontStyleHint, FontStyleStrategy = QTextFormat::FontStyleStrategy, FontKerning = QTextFormat::FontKerning, FontFamily = QTextFormat::FontFamily, FontPointSize = QTextFormat::FontPointSize, FontSizeAdjustment = QTextFormat::FontSizeAdjustment, FontSizeIncrement = QTextFormat::FontSizeIncrement, FontWeight = QTextFormat::FontWeight, FontItalic = QTextFormat::FontItalic, FontUnderline = QTextFormat::FontUnderline, FontOverline = QTextFormat::FontOverline, FontStrikeOut = QTextFormat::FontStrikeOut, FontFixedPitch = QTextFormat::FontFixedPitch, FontPixelSize = QTextFormat::FontPixelSize, LastFontProperty = QTextFormat::LastFontProperty, TextUnderlineColor = QTextFormat::TextUnderlineColor, TextVerticalAlignment = QTextFormat::TextVerticalAlignment, TextOutline = QTextFormat::TextOutline, TextUnderlineStyle = QTextFormat::TextUnderlineStyle, TextToolTip = QTextFormat::TextToolTip, IsAnchor = QTextFormat::IsAnchor, AnchorHref = QTextFormat::AnchorHref, AnchorName = QTextFormat::AnchorName, ObjectType = QTextFormat::ObjectType, ListStyle = QTextFormat::ListStyle, ListIndent = QTextFormat::ListIndent, FrameBorder = QTextFormat::FrameBorder, FrameMargin = QTextFormat::FrameMargin, FramePadding = QTextFormat::FramePadding, FrameWidth = QTextFormat::FrameWidth, FrameHeight = QTextFormat::FrameHeight, FrameTopMargin = QTextFormat::FrameTopMargin, FrameBottomMargin = QTextFormat::FrameBottomMargin, FrameLeftMargin = QTextFormat::FrameLeftMargin, FrameRightMargin = QTextFormat::FrameRightMargin, FrameBorderBrush = QTextFormat::FrameBorderBrush, FrameBorderStyle = QTextFormat::FrameBorderStyle, TableColumns = QTextFormat::TableColumns, TableColumnWidthConstraints = QTextFormat::TableColumnWidthConstraints, TableCellSpacing = QTextFormat::TableCellSpacing, TableCellPadding = QTextFormat::TableCellPadding, TableHeaderRowCount = QTextFormat::TableHeaderRowCount, TableCellRowSpan = QTextFormat::TableCellRowSpan, TableCellColumnSpan = QTextFormat::TableCellColumnSpan, TableCellTopPadding = QTextFormat::TableCellTopPadding, TableCellBottomPadding = QTextFormat::TableCellBottomPadding, TableCellLeftPadding = QTextFormat::TableCellLeftPadding, TableCellRightPadding = QTextFormat::TableCellRightPadding, ImageName = QTextFormat::ImageName, ImageWidth = QTextFormat::ImageWidth, ImageHeight = QTextFormat::ImageHeight, FullWidthSelection = QTextFormat::FullWidthSelection, PageBreakPolicy = QTextFormat::PageBreakPolicy, UserProperty = QTextFormat::UserProperty}; +enum FormatType{ + InvalidFormat = QTextFormat::InvalidFormat, BlockFormat = QTextFormat::BlockFormat, CharFormat = QTextFormat::CharFormat, ListFormat = QTextFormat::ListFormat, TableFormat = QTextFormat::TableFormat, FrameFormat = QTextFormat::FrameFormat, UserFormat = QTextFormat::UserFormat}; +enum ObjectTypes{ + NoObject = QTextFormat::NoObject, ImageObject = QTextFormat::ImageObject, TableObject = QTextFormat::TableObject, TableCellObject = QTextFormat::TableCellObject, UserObject = QTextFormat::UserObject}; +enum PageBreakFlag{ + PageBreak_Auto = QTextFormat::PageBreak_Auto, PageBreak_AlwaysBefore = QTextFormat::PageBreak_AlwaysBefore, PageBreak_AlwaysAfter = QTextFormat::PageBreak_AlwaysAfter}; +Q_DECLARE_FLAGS(PageBreakFlags, PageBreakFlag) +public slots: +QTextFormat* new_QTextFormat(); +QTextFormat* new_QTextFormat(const QTextFormat& rhs); +QTextFormat* new_QTextFormat(int type); +void delete_QTextFormat(QTextFormat* obj) { delete obj; } + 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 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; + 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; +}; + + + + + +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; +}; + + diff --git a/generated_cpp_47/com_trolltech_qt_gui_builtin/com_trolltech_qt_gui_builtin_init.cpp b/generated_cpp_47/com_trolltech_qt_gui_builtin/com_trolltech_qt_gui_builtin_init.cpp new file mode 100644 index 00000000..93882f50 --- /dev/null +++ b/generated_cpp_47/com_trolltech_qt_gui_builtin/com_trolltech_qt_gui_builtin_init.cpp @@ -0,0 +1,25 @@ +#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, NULL, module, PythonQt::Type_RichCompare); +PythonQt::priv()->registerCPPClass("QColor", "", "QtGui", PythonQtCreateObject, NULL, module, PythonQt::Type_RichCompare); +PythonQt::priv()->registerCPPClass("QCursor", "", "QtGui", PythonQtCreateObject, NULL, module, 0); +PythonQt::priv()->registerCPPClass("QFont", "", "QtGui", PythonQtCreateObject, NULL, module, PythonQt::Type_RichCompare); +PythonQt::priv()->registerCPPClass("QIcon", "", "QtGui", PythonQtCreateObject, NULL, 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, NULL, module, PythonQt::Type_RichCompare); +PythonQt::priv()->registerCPPClass("QMatrix", "", "QtGui", PythonQtCreateObject, NULL, module, PythonQt::Type_RichCompare|PythonQt::Type_InplaceMultiply|PythonQt::Type_Multiply); +PythonQt::priv()->registerCPPClass("QPalette", "", "QtGui", PythonQtCreateObject, NULL, module, PythonQt::Type_RichCompare); +PythonQt::priv()->registerCPPClass("QPen", "", "QtGui", PythonQtCreateObject, NULL, 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, NULL, module, PythonQt::Type_RichCompare|PythonQt::Type_Multiply|PythonQt::Type_Add); +PythonQt::priv()->registerCPPClass("QRegion", "", "QtGui", PythonQtCreateObject, NULL, module, PythonQt::Type_And|PythonQt::Type_InplaceXor|PythonQt::Type_InplaceSubtract|PythonQt::Type_InplaceAdd|PythonQt::Type_InplaceOr|PythonQt::Type_Xor|PythonQt::Type_RichCompare|PythonQt::Type_Or|PythonQt::Type_InplaceAnd|PythonQt::Type_Subtract|PythonQt::Type_Multiply|PythonQt::Type_Add); +PythonQt::priv()->registerCPPClass("QSizePolicy", "", "QtGui", PythonQtCreateObject, NULL, module, PythonQt::Type_RichCompare); +PythonQt::priv()->registerCPPClass("QTextFormat", "", "QtGui", PythonQtCreateObject, NULL, module, PythonQt::Type_RichCompare); +PythonQt::priv()->registerCPPClass("QTextLength", "", "QtGui", PythonQtCreateObject, NULL, module, PythonQt::Type_RichCompare); + +} diff --git a/generated_cpp_47/com_trolltech_qt_network/com_trolltech_qt_network.pri b/generated_cpp_47/com_trolltech_qt_network/com_trolltech_qt_network.pri new file mode 100644 index 00000000..71768c91 --- /dev/null +++ b/generated_cpp_47/com_trolltech_qt_network/com_trolltech_qt_network.pri @@ -0,0 +1,6 @@ +HEADERS += \ + $$PWD/com_trolltech_qt_network0.h \ + +SOURCES += \ + $$PWD/com_trolltech_qt_network0.cpp \ + $$PWD/com_trolltech_qt_network_init.cpp diff --git a/generated_cpp_47/com_trolltech_qt_network/com_trolltech_qt_network0.cpp b/generated_cpp_47/com_trolltech_qt_network/com_trolltech_qt_network0.cpp new file mode 100644 index 00000000..11f80873 --- /dev/null +++ b/generated_cpp_47/com_trolltech_qt_network/com_trolltech_qt_network0.cpp @@ -0,0 +1,7211 @@ +#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 + +qint64 PythonQtShell_QAbstractNetworkCache::cacheSize() const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "cacheSize"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"qint64"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + qint64 returnValue; + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("cacheSize", methodInfo, result); + } else { + returnValue = *((qint64*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return qint64(); +} +void PythonQtShell_QAbstractNetworkCache::childEvent(QChildEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "childEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QChildEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QAbstractNetworkCache::childEvent(arg__1); +} +void PythonQtShell_QAbstractNetworkCache::clear() +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "clear"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={""}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + +} +void PythonQtShell_QAbstractNetworkCache::customEvent(QEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "customEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QAbstractNetworkCache::customEvent(arg__1); +} +QIODevice* PythonQtShell_QAbstractNetworkCache::data(const QUrl& url) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "data"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QIODevice*" , "const QUrl&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + QIODevice* returnValue; + void* args[2] = {NULL, (void*)&url}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("data", methodInfo, result); + } else { + returnValue = *((QIODevice**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return 0; +} +bool PythonQtShell_QAbstractNetworkCache::event(QEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "event"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue; + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QAbstractNetworkCache::event(arg__1); +} +bool PythonQtShell_QAbstractNetworkCache::eventFilter(QObject* arg__1, QEvent* arg__2) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "eventFilter"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue; + void* args[3] = {NULL, (void*)&arg__1, (void*)&arg__2}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QAbstractNetworkCache::eventFilter(arg__1, arg__2); +} +void PythonQtShell_QAbstractNetworkCache::insert(QIODevice* device) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "insert"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QIODevice*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&device}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + +} +QNetworkCacheMetaData PythonQtShell_QAbstractNetworkCache::metaData(const QUrl& url) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "metaData"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QNetworkCacheMetaData" , "const QUrl&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + QNetworkCacheMetaData returnValue; + void* args[2] = {NULL, (void*)&url}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("metaData", methodInfo, result); + } else { + returnValue = *((QNetworkCacheMetaData*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QNetworkCacheMetaData(); +} +QIODevice* PythonQtShell_QAbstractNetworkCache::prepare(const QNetworkCacheMetaData& metaData) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "prepare"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QIODevice*" , "const QNetworkCacheMetaData&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + QIODevice* returnValue; + void* args[2] = {NULL, (void*)&metaData}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (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; + } +} + return 0; +} +bool PythonQtShell_QAbstractNetworkCache::remove(const QUrl& url) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "remove"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "const QUrl&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue; + void* args[2] = {NULL, (void*)&url}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("remove", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return bool(); +} +void PythonQtShell_QAbstractNetworkCache::timerEvent(QTimerEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "timerEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QTimerEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QAbstractNetworkCache::timerEvent(arg__1); +} +void PythonQtShell_QAbstractNetworkCache::updateMetaData(const QNetworkCacheMetaData& metaData) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "updateMetaData"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "const QNetworkCacheMetaData&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&metaData}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + +} + + +bool PythonQtShell_QAbstractSocket::atEnd() const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "atEnd"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + bool returnValue; + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("atEnd", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QAbstractSocket::atEnd(); +} +qint64 PythonQtShell_QAbstractSocket::bytesAvailable() const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "bytesAvailable"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"qint64"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + qint64 returnValue; + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("bytesAvailable", methodInfo, result); + } else { + returnValue = *((qint64*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QAbstractSocket::bytesAvailable(); +} +qint64 PythonQtShell_QAbstractSocket::bytesToWrite() const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "bytesToWrite"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"qint64"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + qint64 returnValue; + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("bytesToWrite", methodInfo, result); + } else { + returnValue = *((qint64*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QAbstractSocket::bytesToWrite(); +} +bool PythonQtShell_QAbstractSocket::canReadLine() const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "canReadLine"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + bool returnValue; + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("canReadLine", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QAbstractSocket::canReadLine(); +} +void PythonQtShell_QAbstractSocket::childEvent(QChildEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "childEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QChildEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QAbstractSocket::childEvent(arg__1); +} +void PythonQtShell_QAbstractSocket::close() +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "close"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={""}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QAbstractSocket::close(); +} +void PythonQtShell_QAbstractSocket::customEvent(QEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "customEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QAbstractSocket::customEvent(arg__1); +} +bool PythonQtShell_QAbstractSocket::event(QEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "event"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue; + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QAbstractSocket::event(arg__1); +} +bool PythonQtShell_QAbstractSocket::eventFilter(QObject* arg__1, QEvent* arg__2) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "eventFilter"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue; + void* args[3] = {NULL, (void*)&arg__1, (void*)&arg__2}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QAbstractSocket::eventFilter(arg__1, arg__2); +} +bool PythonQtShell_QAbstractSocket::isSequential() const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "isSequential"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + bool returnValue; + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("isSequential", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QAbstractSocket::isSequential(); +} +bool PythonQtShell_QAbstractSocket::open(QIODevice::OpenMode mode) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "open"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "QIODevice::OpenMode"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue; + void* args[2] = {NULL, (void*)&mode}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("open", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QAbstractSocket::open(mode); +} +qint64 PythonQtShell_QAbstractSocket::pos() const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "pos"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"qint64"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + qint64 returnValue; + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("pos", methodInfo, result); + } else { + returnValue = *((qint64*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QAbstractSocket::pos(); +} +qint64 PythonQtShell_QAbstractSocket::readData(char* data, qint64 maxlen) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "readData"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"qint64" , "char*" , "qint64"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + qint64 returnValue; + void* args[3] = {NULL, (void*)&data, (void*)&maxlen}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("readData", methodInfo, result); + } else { + returnValue = *((qint64*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QAbstractSocket::readData(data, maxlen); +} +qint64 PythonQtShell_QAbstractSocket::readLineData(char* data, qint64 maxlen) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "readLineData"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"qint64" , "char*" , "qint64"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + qint64 returnValue; + void* args[3] = {NULL, (void*)&data, (void*)&maxlen}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("readLineData", methodInfo, result); + } else { + returnValue = *((qint64*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QAbstractSocket::readLineData(data, maxlen); +} +bool PythonQtShell_QAbstractSocket::reset() +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "reset"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + bool returnValue; + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("reset", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QAbstractSocket::reset(); +} +bool PythonQtShell_QAbstractSocket::seek(qint64 pos) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "seek"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "qint64"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue; + void* args[2] = {NULL, (void*)&pos}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("seek", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QAbstractSocket::seek(pos); +} +qint64 PythonQtShell_QAbstractSocket::size() const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "size"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"qint64"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + qint64 returnValue; + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("size", methodInfo, result); + } else { + returnValue = *((qint64*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QAbstractSocket::size(); +} +void PythonQtShell_QAbstractSocket::timerEvent(QTimerEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "timerEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QTimerEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QAbstractSocket::timerEvent(arg__1); +} +bool PythonQtShell_QAbstractSocket::waitForBytesWritten(int msecs) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "waitForBytesWritten"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue; + void* args[2] = {NULL, (void*)&msecs}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("waitForBytesWritten", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QAbstractSocket::waitForBytesWritten(msecs); +} +bool PythonQtShell_QAbstractSocket::waitForReadyRead(int msecs) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "waitForReadyRead"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue; + void* args[2] = {NULL, (void*)&msecs}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("waitForReadyRead", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QAbstractSocket::waitForReadyRead(msecs); +} +qint64 PythonQtShell_QAbstractSocket::writeData(const char* data, qint64 len) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "writeData"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"qint64" , "const char*" , "qint64"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + qint64 returnValue; + void* args[3] = {NULL, (void*)&data, (void*)&len}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("writeData", methodInfo, result); + } else { + returnValue = *((qint64*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QAbstractSocket::writeData(data, len); +} +QAbstractSocket* PythonQtWrapper_QAbstractSocket::new_QAbstractSocket(QAbstractSocket::SocketType socketType, QObject* parent) +{ +return new PythonQtShell_QAbstractSocket(socketType, parent); } + +void PythonQtWrapper_QAbstractSocket::abort(QAbstractSocket* theWrappedObject) +{ + ( theWrappedObject->abort()); +} + +bool PythonQtWrapper_QAbstractSocket::atEnd(QAbstractSocket* theWrappedObject) const +{ + return ( ((PythonQtPublicPromoter_QAbstractSocket*)theWrappedObject)->promoted_atEnd()); +} + +qint64 PythonQtWrapper_QAbstractSocket::bytesAvailable(QAbstractSocket* theWrappedObject) const +{ + return ( ((PythonQtPublicPromoter_QAbstractSocket*)theWrappedObject)->promoted_bytesAvailable()); +} + +qint64 PythonQtWrapper_QAbstractSocket::bytesToWrite(QAbstractSocket* theWrappedObject) const +{ + return ( ((PythonQtPublicPromoter_QAbstractSocket*)theWrappedObject)->promoted_bytesToWrite()); +} + +bool PythonQtWrapper_QAbstractSocket::canReadLine(QAbstractSocket* theWrappedObject) const +{ + return ( ((PythonQtPublicPromoter_QAbstractSocket*)theWrappedObject)->promoted_canReadLine()); +} + +void PythonQtWrapper_QAbstractSocket::close(QAbstractSocket* theWrappedObject) +{ + ( ((PythonQtPublicPromoter_QAbstractSocket*)theWrappedObject)->promoted_close()); +} + +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) +{ + ( theWrappedObject->connectToHost(hostName, port, mode)); +} + +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::isSequential(QAbstractSocket* theWrappedObject) const +{ + return ( ((PythonQtPublicPromoter_QAbstractSocket*)theWrappedObject)->promoted_isSequential()); +} + +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()); +} + +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()); +} + +QNetworkProxy PythonQtWrapper_QAbstractSocket::proxy(QAbstractSocket* theWrappedObject) const +{ + return ( theWrappedObject->proxy()); +} + +qint64 PythonQtWrapper_QAbstractSocket::readBufferSize(QAbstractSocket* theWrappedObject) const +{ + return ( theWrappedObject->readBufferSize()); +} + +qint64 PythonQtWrapper_QAbstractSocket::readData(QAbstractSocket* theWrappedObject, char* data, qint64 maxlen) +{ + return ( ((PythonQtPublicPromoter_QAbstractSocket*)theWrappedObject)->promoted_readData(data, maxlen)); +} + +qint64 PythonQtWrapper_QAbstractSocket::readLineData(QAbstractSocket* theWrappedObject, char* data, qint64 maxlen) +{ + return ( ((PythonQtPublicPromoter_QAbstractSocket*)theWrappedObject)->promoted_readLineData(data, maxlen)); +} + +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, int socketDescriptor, QAbstractSocket::SocketState state, QIODevice::OpenMode openMode) +{ + return ( theWrappedObject->setSocketDescriptor(socketDescriptor, state, openMode)); +} + +int PythonQtWrapper_QAbstractSocket::socketDescriptor(QAbstractSocket* theWrappedObject) const +{ + return ( theWrappedObject->socketDescriptor()); +} + +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::waitForBytesWritten(QAbstractSocket* theWrappedObject, int msecs) +{ + return ( ((PythonQtPublicPromoter_QAbstractSocket*)theWrappedObject)->promoted_waitForBytesWritten(msecs)); +} + +bool PythonQtWrapper_QAbstractSocket::waitForConnected(QAbstractSocket* theWrappedObject, int msecs) +{ + return ( theWrappedObject->waitForConnected(msecs)); +} + +bool PythonQtWrapper_QAbstractSocket::waitForDisconnected(QAbstractSocket* theWrappedObject, int msecs) +{ + return ( theWrappedObject->waitForDisconnected(msecs)); +} + +bool PythonQtWrapper_QAbstractSocket::waitForReadyRead(QAbstractSocket* theWrappedObject, int msecs) +{ + return ( ((PythonQtPublicPromoter_QAbstractSocket*)theWrappedObject)->promoted_waitForReadyRead(msecs)); +} + +qint64 PythonQtWrapper_QAbstractSocket::writeData(QAbstractSocket* theWrappedObject, const char* data, qint64 len) +{ + return ( ((PythonQtPublicPromoter_QAbstractSocket*)theWrappedObject)->promoted_writeData(data, len)); +} + + + +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); +} + +QString PythonQtWrapper_QAuthenticator::password(QAuthenticator* theWrappedObject) const +{ + return ( theWrappedObject->password()); +} + +QString PythonQtWrapper_QAuthenticator::realm(QAuthenticator* theWrappedObject) const +{ + return ( theWrappedObject->realm()); +} + +void PythonQtWrapper_QAuthenticator::setPassword(QAuthenticator* theWrappedObject, const QString& password) +{ + ( theWrappedObject->setPassword(password)); +} + +void PythonQtWrapper_QAuthenticator::setUser(QAuthenticator* theWrappedObject, const QString& user) +{ + ( theWrappedObject->setUser(user)); +} + +QString PythonQtWrapper_QAuthenticator::user(QAuthenticator* theWrappedObject) const +{ + return ( theWrappedObject->user()); +} + + + +void PythonQtShell_QFtp::childEvent(QChildEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "childEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QChildEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QFtp::childEvent(arg__1); +} +void PythonQtShell_QFtp::customEvent(QEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "customEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QFtp::customEvent(arg__1); +} +bool PythonQtShell_QFtp::event(QEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "event"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue; + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QFtp::event(arg__1); +} +bool PythonQtShell_QFtp::eventFilter(QObject* arg__1, QEvent* arg__2) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "eventFilter"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue; + void* args[3] = {NULL, (void*)&arg__1, (void*)&arg__2}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QFtp::eventFilter(arg__1, arg__2); +} +void PythonQtShell_QFtp::timerEvent(QTimerEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "timerEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QTimerEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QFtp::timerEvent(arg__1); +} +QFtp* PythonQtWrapper_QFtp::new_QFtp(QObject* parent) +{ +return new PythonQtShell_QFtp(parent); } + +qint64 PythonQtWrapper_QFtp::bytesAvailable(QFtp* theWrappedObject) const +{ + return ( theWrappedObject->bytesAvailable()); +} + +int PythonQtWrapper_QFtp::cd(QFtp* theWrappedObject, const QString& dir) +{ + return ( theWrappedObject->cd(dir)); +} + +void PythonQtWrapper_QFtp::clearPendingCommands(QFtp* theWrappedObject) +{ + ( theWrappedObject->clearPendingCommands()); +} + +int PythonQtWrapper_QFtp::close(QFtp* theWrappedObject) +{ + return ( theWrappedObject->close()); +} + +int PythonQtWrapper_QFtp::connectToHost(QFtp* theWrappedObject, const QString& host, unsigned short port) +{ + return ( theWrappedObject->connectToHost(host, port)); +} + +QFtp::Command PythonQtWrapper_QFtp::currentCommand(QFtp* theWrappedObject) const +{ + return ( theWrappedObject->currentCommand()); +} + +QIODevice* PythonQtWrapper_QFtp::currentDevice(QFtp* theWrappedObject) const +{ + return ( theWrappedObject->currentDevice()); +} + +int PythonQtWrapper_QFtp::currentId(QFtp* theWrappedObject) const +{ + return ( theWrappedObject->currentId()); +} + +QFtp::Error PythonQtWrapper_QFtp::error(QFtp* theWrappedObject) const +{ + return ( theWrappedObject->error()); +} + +QString PythonQtWrapper_QFtp::errorString(QFtp* theWrappedObject) const +{ + return ( theWrappedObject->errorString()); +} + +int PythonQtWrapper_QFtp::get(QFtp* theWrappedObject, const QString& file, QIODevice* dev, QFtp::TransferType type) +{ + return ( theWrappedObject->get(file, dev, type)); +} + +bool PythonQtWrapper_QFtp::hasPendingCommands(QFtp* theWrappedObject) const +{ + return ( theWrappedObject->hasPendingCommands()); +} + +int PythonQtWrapper_QFtp::list(QFtp* theWrappedObject, const QString& dir) +{ + return ( theWrappedObject->list(dir)); +} + +int PythonQtWrapper_QFtp::login(QFtp* theWrappedObject, const QString& user, const QString& password) +{ + return ( theWrappedObject->login(user, password)); +} + +int PythonQtWrapper_QFtp::mkdir(QFtp* theWrappedObject, const QString& dir) +{ + return ( theWrappedObject->mkdir(dir)); +} + +int PythonQtWrapper_QFtp::put(QFtp* theWrappedObject, QIODevice* dev, const QString& file, QFtp::TransferType type) +{ + return ( theWrappedObject->put(dev, file, type)); +} + +int PythonQtWrapper_QFtp::put(QFtp* theWrappedObject, const QByteArray& data, const QString& file, QFtp::TransferType type) +{ + return ( theWrappedObject->put(data, file, type)); +} + +int PythonQtWrapper_QFtp::rawCommand(QFtp* theWrappedObject, const QString& command) +{ + return ( theWrappedObject->rawCommand(command)); +} + +qint64 PythonQtWrapper_QFtp::read(QFtp* theWrappedObject, char* data, qint64 maxlen) +{ + return ( theWrappedObject->read(data, maxlen)); +} + +QByteArray PythonQtWrapper_QFtp::readAll(QFtp* theWrappedObject) +{ + return ( theWrappedObject->readAll()); +} + +int PythonQtWrapper_QFtp::remove(QFtp* theWrappedObject, const QString& file) +{ + return ( theWrappedObject->remove(file)); +} + +int PythonQtWrapper_QFtp::rename(QFtp* theWrappedObject, const QString& oldname, const QString& newname) +{ + return ( theWrappedObject->rename(oldname, newname)); +} + +int PythonQtWrapper_QFtp::rmdir(QFtp* theWrappedObject, const QString& dir) +{ + return ( theWrappedObject->rmdir(dir)); +} + +int PythonQtWrapper_QFtp::setProxy(QFtp* theWrappedObject, const QString& host, unsigned short port) +{ + return ( theWrappedObject->setProxy(host, port)); +} + +int PythonQtWrapper_QFtp::setTransferMode(QFtp* theWrappedObject, QFtp::TransferMode mode) +{ + return ( theWrappedObject->setTransferMode(mode)); +} + +QFtp::State PythonQtWrapper_QFtp::state(QFtp* theWrappedObject) const +{ + return ( theWrappedObject->state()); +} + + + +QHostAddress* PythonQtWrapper_QHostAddress::new_QHostAddress() +{ +return new QHostAddress(); } + +QHostAddress* PythonQtWrapper_QHostAddress::new_QHostAddress(QHostAddress::SpecialAddress address) +{ +return new QHostAddress(address); } + +QHostAddress* PythonQtWrapper_QHostAddress::new_QHostAddress(const QHostAddress& copy) +{ +return new QHostAddress(copy); } + +QHostAddress* PythonQtWrapper_QHostAddress::new_QHostAddress(const QIPv6Address& ip6Addr) +{ +return new QHostAddress(ip6Addr); } + +QHostAddress* PythonQtWrapper_QHostAddress::new_QHostAddress(const QString& address) +{ +return new QHostAddress(address); } + +QHostAddress* PythonQtWrapper_QHostAddress::new_QHostAddress(unsigned int ip4Addr) +{ +return new QHostAddress(ip4Addr); } + +void PythonQtWrapper_QHostAddress::clear(QHostAddress* theWrappedObject) +{ + ( theWrappedObject->clear()); +} + +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::isNull(QHostAddress* theWrappedObject) const +{ + return ( theWrappedObject->isNull()); +} + +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); +} + +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, 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, unsigned int ip4Addr) +{ + ( theWrappedObject->setAddress(ip4Addr)); +} + +void PythonQtWrapper_QHostAddress::setScopeId(QHostAddress* theWrappedObject, const QString& id) +{ + ( theWrappedObject->setScopeId(id)); +} + +unsigned int PythonQtWrapper_QHostAddress::toIPv4Address(QHostAddress* theWrappedObject) const +{ + return ( theWrappedObject->toIPv4Address()); +} + +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 PythonQtShell_QHttp::childEvent(QChildEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "childEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QChildEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QHttp::childEvent(arg__1); +} +void PythonQtShell_QHttp::customEvent(QEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "customEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QHttp::customEvent(arg__1); +} +bool PythonQtShell_QHttp::event(QEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "event"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue; + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QHttp::event(arg__1); +} +bool PythonQtShell_QHttp::eventFilter(QObject* arg__1, QEvent* arg__2) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "eventFilter"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue; + void* args[3] = {NULL, (void*)&arg__1, (void*)&arg__2}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QHttp::eventFilter(arg__1, arg__2); +} +void PythonQtShell_QHttp::timerEvent(QTimerEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "timerEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QTimerEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QHttp::timerEvent(arg__1); +} +QHttp* PythonQtWrapper_QHttp::new_QHttp(QObject* parent) +{ +return new PythonQtShell_QHttp(parent); } + +QHttp* PythonQtWrapper_QHttp::new_QHttp(const QString& hostname, QHttp::ConnectionMode mode, unsigned short port, QObject* parent) +{ +return new PythonQtShell_QHttp(hostname, mode, port, parent); } + +QHttp* PythonQtWrapper_QHttp::new_QHttp(const QString& hostname, unsigned short port, QObject* parent) +{ +return new PythonQtShell_QHttp(hostname, port, parent); } + +qint64 PythonQtWrapper_QHttp::bytesAvailable(QHttp* theWrappedObject) const +{ + return ( theWrappedObject->bytesAvailable()); +} + +void PythonQtWrapper_QHttp::clearPendingRequests(QHttp* theWrappedObject) +{ + ( theWrappedObject->clearPendingRequests()); +} + +int PythonQtWrapper_QHttp::close(QHttp* theWrappedObject) +{ + return ( theWrappedObject->close()); +} + +QIODevice* PythonQtWrapper_QHttp::currentDestinationDevice(QHttp* theWrappedObject) const +{ + return ( theWrappedObject->currentDestinationDevice()); +} + +int PythonQtWrapper_QHttp::currentId(QHttp* theWrappedObject) const +{ + return ( theWrappedObject->currentId()); +} + +QHttpRequestHeader PythonQtWrapper_QHttp::currentRequest(QHttp* theWrappedObject) const +{ + return ( theWrappedObject->currentRequest()); +} + +QIODevice* PythonQtWrapper_QHttp::currentSourceDevice(QHttp* theWrappedObject) const +{ + return ( theWrappedObject->currentSourceDevice()); +} + +QHttp::Error PythonQtWrapper_QHttp::error(QHttp* theWrappedObject) const +{ + return ( theWrappedObject->error()); +} + +QString PythonQtWrapper_QHttp::errorString(QHttp* theWrappedObject) const +{ + return ( theWrappedObject->errorString()); +} + +int PythonQtWrapper_QHttp::get(QHttp* theWrappedObject, const QString& path, QIODevice* to) +{ + return ( theWrappedObject->get(path, to)); +} + +bool PythonQtWrapper_QHttp::hasPendingRequests(QHttp* theWrappedObject) const +{ + return ( theWrappedObject->hasPendingRequests()); +} + +int PythonQtWrapper_QHttp::head(QHttp* theWrappedObject, const QString& path) +{ + return ( theWrappedObject->head(path)); +} + +QHttpResponseHeader PythonQtWrapper_QHttp::lastResponse(QHttp* theWrappedObject) const +{ + return ( theWrappedObject->lastResponse()); +} + +int PythonQtWrapper_QHttp::post(QHttp* theWrappedObject, const QString& path, QIODevice* data, QIODevice* to) +{ + return ( theWrappedObject->post(path, data, to)); +} + +int PythonQtWrapper_QHttp::post(QHttp* theWrappedObject, const QString& path, const QByteArray& data, QIODevice* to) +{ + return ( theWrappedObject->post(path, data, to)); +} + +qint64 PythonQtWrapper_QHttp::read(QHttp* theWrappedObject, char* data, qint64 maxlen) +{ + return ( theWrappedObject->read(data, maxlen)); +} + +QByteArray PythonQtWrapper_QHttp::readAll(QHttp* theWrappedObject) +{ + return ( theWrappedObject->readAll()); +} + +int PythonQtWrapper_QHttp::request(QHttp* theWrappedObject, const QHttpRequestHeader& header, QIODevice* device, QIODevice* to) +{ + return ( theWrappedObject->request(header, device, to)); +} + +int PythonQtWrapper_QHttp::request(QHttp* theWrappedObject, const QHttpRequestHeader& header, const QByteArray& data, QIODevice* to) +{ + return ( theWrappedObject->request(header, data, to)); +} + +int PythonQtWrapper_QHttp::setHost(QHttp* theWrappedObject, const QString& hostname, QHttp::ConnectionMode mode, unsigned short port) +{ + return ( theWrappedObject->setHost(hostname, mode, port)); +} + +int PythonQtWrapper_QHttp::setHost(QHttp* theWrappedObject, const QString& hostname, unsigned short port) +{ + return ( theWrappedObject->setHost(hostname, port)); +} + +int PythonQtWrapper_QHttp::setProxy(QHttp* theWrappedObject, const QNetworkProxy& proxy) +{ + return ( theWrappedObject->setProxy(proxy)); +} + +int PythonQtWrapper_QHttp::setProxy(QHttp* theWrappedObject, const QString& host, int port, const QString& username, const QString& password) +{ + return ( theWrappedObject->setProxy(host, port, username, password)); +} + +int PythonQtWrapper_QHttp::setSocket(QHttp* theWrappedObject, QTcpSocket* socket) +{ + return ( theWrappedObject->setSocket(socket)); +} + +int PythonQtWrapper_QHttp::setUser(QHttp* theWrappedObject, const QString& username, const QString& password) +{ + return ( theWrappedObject->setUser(username, password)); +} + +QHttp::State PythonQtWrapper_QHttp::state(QHttp* theWrappedObject) const +{ + return ( theWrappedObject->state()); +} + + + +int PythonQtShell_QHttpHeader::majorVersion() const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "majorVersion"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + int returnValue; + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("majorVersion", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return int(); +} +int PythonQtShell_QHttpHeader::minorVersion() const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "minorVersion"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + int returnValue; + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("minorVersion", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return int(); +} +bool PythonQtShell_QHttpHeader::parseLine(const QString& line, int number) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "parseLine"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "const QString&" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue; + void* args[3] = {NULL, (void*)&line, (void*)&number}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("parseLine", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QHttpHeader::parseLine(line, number); +} +QString PythonQtShell_QHttpHeader::toString() const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "toString"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QString"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QString returnValue; + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("toString", methodInfo, result); + } else { + returnValue = *((QString*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QHttpHeader::toString(); +} +QHttpHeader* PythonQtWrapper_QHttpHeader::new_QHttpHeader() +{ +return new PythonQtShell_QHttpHeader(); } + +QHttpHeader* PythonQtWrapper_QHttpHeader::new_QHttpHeader(const QString& str) +{ +return new PythonQtShell_QHttpHeader(str); } + +void PythonQtWrapper_QHttpHeader::addValue(QHttpHeader* theWrappedObject, const QString& key, const QString& value) +{ + ( theWrappedObject->addValue(key, value)); +} + +QStringList PythonQtWrapper_QHttpHeader::allValues(QHttpHeader* theWrappedObject, const QString& key) const +{ + return ( theWrappedObject->allValues(key)); +} + +uint PythonQtWrapper_QHttpHeader::contentLength(QHttpHeader* theWrappedObject) const +{ + return ( theWrappedObject->contentLength()); +} + +QString PythonQtWrapper_QHttpHeader::contentType(QHttpHeader* theWrappedObject) const +{ + return ( theWrappedObject->contentType()); +} + +bool PythonQtWrapper_QHttpHeader::hasContentLength(QHttpHeader* theWrappedObject) const +{ + return ( theWrappedObject->hasContentLength()); +} + +bool PythonQtWrapper_QHttpHeader::hasContentType(QHttpHeader* theWrappedObject) const +{ + return ( theWrappedObject->hasContentType()); +} + +bool PythonQtWrapper_QHttpHeader::hasKey(QHttpHeader* theWrappedObject, const QString& key) const +{ + return ( theWrappedObject->hasKey(key)); +} + +bool PythonQtWrapper_QHttpHeader::isValid(QHttpHeader* theWrappedObject) const +{ + return ( theWrappedObject->isValid()); +} + +QStringList PythonQtWrapper_QHttpHeader::keys(QHttpHeader* theWrappedObject) const +{ + return ( theWrappedObject->keys()); +} + +bool PythonQtWrapper_QHttpHeader::parseLine(QHttpHeader* theWrappedObject, const QString& line, int number) +{ + return ( ((PythonQtPublicPromoter_QHttpHeader*)theWrappedObject)->promoted_parseLine(line, number)); +} + +void PythonQtWrapper_QHttpHeader::removeAllValues(QHttpHeader* theWrappedObject, const QString& key) +{ + ( theWrappedObject->removeAllValues(key)); +} + +void PythonQtWrapper_QHttpHeader::removeValue(QHttpHeader* theWrappedObject, const QString& key) +{ + ( theWrappedObject->removeValue(key)); +} + +void PythonQtWrapper_QHttpHeader::setContentLength(QHttpHeader* theWrappedObject, int len) +{ + ( theWrappedObject->setContentLength(len)); +} + +void PythonQtWrapper_QHttpHeader::setContentType(QHttpHeader* theWrappedObject, const QString& type) +{ + ( theWrappedObject->setContentType(type)); +} + +void PythonQtWrapper_QHttpHeader::setValue(QHttpHeader* theWrappedObject, const QString& key, const QString& value) +{ + ( theWrappedObject->setValue(key, value)); +} + +void PythonQtWrapper_QHttpHeader::setValues(QHttpHeader* theWrappedObject, const QList >& values) +{ + ( theWrappedObject->setValues(values)); +} + +QString PythonQtWrapper_QHttpHeader::toString(QHttpHeader* theWrappedObject) const +{ + return ( ((PythonQtPublicPromoter_QHttpHeader*)theWrappedObject)->promoted_toString()); +} + +QString PythonQtWrapper_QHttpHeader::value(QHttpHeader* theWrappedObject, const QString& key) const +{ + return ( theWrappedObject->value(key)); +} + +QList > PythonQtWrapper_QHttpHeader::values(QHttpHeader* theWrappedObject) const +{ + return ( theWrappedObject->values()); +} + +QString PythonQtWrapper_QHttpHeader::py_toString(QHttpHeader* obj) { return obj->toString(); } + + +int PythonQtShell_QHttpRequestHeader::majorVersion() const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "majorVersion"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + int returnValue; + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("majorVersion", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QHttpRequestHeader::majorVersion(); +} +int PythonQtShell_QHttpRequestHeader::minorVersion() const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "minorVersion"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + int returnValue; + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("minorVersion", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QHttpRequestHeader::minorVersion(); +} +bool PythonQtShell_QHttpRequestHeader::parseLine(const QString& line, int number) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "parseLine"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "const QString&" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue; + void* args[3] = {NULL, (void*)&line, (void*)&number}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("parseLine", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QHttpRequestHeader::parseLine(line, number); +} +QString PythonQtShell_QHttpRequestHeader::toString() const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "toString"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QString"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QString returnValue; + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("toString", methodInfo, result); + } else { + returnValue = *((QString*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QHttpRequestHeader::toString(); +} +QHttpRequestHeader* PythonQtWrapper_QHttpRequestHeader::new_QHttpRequestHeader() +{ +return new PythonQtShell_QHttpRequestHeader(); } + +QHttpRequestHeader* PythonQtWrapper_QHttpRequestHeader::new_QHttpRequestHeader(const QHttpRequestHeader& header) +{ +return new PythonQtShell_QHttpRequestHeader(header); } + +QHttpRequestHeader* PythonQtWrapper_QHttpRequestHeader::new_QHttpRequestHeader(const QString& method, const QString& path, int majorVer, int minorVer) +{ +return new PythonQtShell_QHttpRequestHeader(method, path, majorVer, minorVer); } + +QHttpRequestHeader* PythonQtWrapper_QHttpRequestHeader::new_QHttpRequestHeader(const QString& str) +{ +return new PythonQtShell_QHttpRequestHeader(str); } + +int PythonQtWrapper_QHttpRequestHeader::majorVersion(QHttpRequestHeader* theWrappedObject) const +{ + return ( ((PythonQtPublicPromoter_QHttpRequestHeader*)theWrappedObject)->promoted_majorVersion()); +} + +QString PythonQtWrapper_QHttpRequestHeader::method(QHttpRequestHeader* theWrappedObject) const +{ + return ( theWrappedObject->method()); +} + +int PythonQtWrapper_QHttpRequestHeader::minorVersion(QHttpRequestHeader* theWrappedObject) const +{ + return ( ((PythonQtPublicPromoter_QHttpRequestHeader*)theWrappedObject)->promoted_minorVersion()); +} + +bool PythonQtWrapper_QHttpRequestHeader::parseLine(QHttpRequestHeader* theWrappedObject, const QString& line, int number) +{ + return ( ((PythonQtPublicPromoter_QHttpRequestHeader*)theWrappedObject)->promoted_parseLine(line, number)); +} + +QString PythonQtWrapper_QHttpRequestHeader::path(QHttpRequestHeader* theWrappedObject) const +{ + return ( theWrappedObject->path()); +} + +void PythonQtWrapper_QHttpRequestHeader::setRequest(QHttpRequestHeader* theWrappedObject, const QString& method, const QString& path, int majorVer, int minorVer) +{ + ( theWrappedObject->setRequest(method, path, majorVer, minorVer)); +} + +QString PythonQtWrapper_QHttpRequestHeader::toString(QHttpRequestHeader* theWrappedObject) const +{ + return ( ((PythonQtPublicPromoter_QHttpRequestHeader*)theWrappedObject)->promoted_toString()); +} + +QString PythonQtWrapper_QHttpRequestHeader::py_toString(QHttpRequestHeader* obj) { return obj->toString(); } + + +int PythonQtShell_QHttpResponseHeader::majorVersion() const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "majorVersion"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + int returnValue; + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("majorVersion", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QHttpResponseHeader::majorVersion(); +} +int PythonQtShell_QHttpResponseHeader::minorVersion() const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "minorVersion"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + int returnValue; + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("minorVersion", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QHttpResponseHeader::minorVersion(); +} +bool PythonQtShell_QHttpResponseHeader::parseLine(const QString& line, int number) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "parseLine"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "const QString&" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue; + void* args[3] = {NULL, (void*)&line, (void*)&number}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("parseLine", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QHttpResponseHeader::parseLine(line, number); +} +QString PythonQtShell_QHttpResponseHeader::toString() const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "toString"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QString"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QString returnValue; + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("toString", methodInfo, result); + } else { + returnValue = *((QString*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QHttpResponseHeader::toString(); +} +QHttpResponseHeader* PythonQtWrapper_QHttpResponseHeader::new_QHttpResponseHeader() +{ +return new PythonQtShell_QHttpResponseHeader(); } + +QHttpResponseHeader* PythonQtWrapper_QHttpResponseHeader::new_QHttpResponseHeader(const QHttpResponseHeader& header) +{ +return new PythonQtShell_QHttpResponseHeader(header); } + +QHttpResponseHeader* PythonQtWrapper_QHttpResponseHeader::new_QHttpResponseHeader(const QString& str) +{ +return new PythonQtShell_QHttpResponseHeader(str); } + +QHttpResponseHeader* PythonQtWrapper_QHttpResponseHeader::new_QHttpResponseHeader(int code, const QString& text, int majorVer, int minorVer) +{ +return new PythonQtShell_QHttpResponseHeader(code, text, majorVer, minorVer); } + +int PythonQtWrapper_QHttpResponseHeader::majorVersion(QHttpResponseHeader* theWrappedObject) const +{ + return ( ((PythonQtPublicPromoter_QHttpResponseHeader*)theWrappedObject)->promoted_majorVersion()); +} + +int PythonQtWrapper_QHttpResponseHeader::minorVersion(QHttpResponseHeader* theWrappedObject) const +{ + return ( ((PythonQtPublicPromoter_QHttpResponseHeader*)theWrappedObject)->promoted_minorVersion()); +} + +bool PythonQtWrapper_QHttpResponseHeader::parseLine(QHttpResponseHeader* theWrappedObject, const QString& line, int number) +{ + return ( ((PythonQtPublicPromoter_QHttpResponseHeader*)theWrappedObject)->promoted_parseLine(line, number)); +} + +QString PythonQtWrapper_QHttpResponseHeader::reasonPhrase(QHttpResponseHeader* theWrappedObject) const +{ + return ( theWrappedObject->reasonPhrase()); +} + +void PythonQtWrapper_QHttpResponseHeader::setStatusLine(QHttpResponseHeader* theWrappedObject, int code, const QString& text, int majorVer, int minorVer) +{ + ( theWrappedObject->setStatusLine(code, text, majorVer, minorVer)); +} + +int PythonQtWrapper_QHttpResponseHeader::statusCode(QHttpResponseHeader* theWrappedObject) const +{ + return ( theWrappedObject->statusCode()); +} + +QString PythonQtWrapper_QHttpResponseHeader::toString(QHttpResponseHeader* theWrappedObject) const +{ + return ( ((PythonQtPublicPromoter_QHttpResponseHeader*)theWrappedObject)->promoted_toString()); +} + +QString PythonQtWrapper_QHttpResponseHeader::py_toString(QHttpResponseHeader* obj) { return obj->toString(); } + + +QIPv6Address* PythonQtWrapper_QIPv6Address::new_QIPv6Address() +{ +return new PythonQtShell_QIPv6Address(); } + + + +void PythonQtShell_QLocalServer::childEvent(QChildEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "childEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QChildEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QLocalServer::childEvent(arg__1); +} +void PythonQtShell_QLocalServer::customEvent(QEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "customEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QLocalServer::customEvent(arg__1); +} +bool PythonQtShell_QLocalServer::event(QEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "event"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue; + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QLocalServer::event(arg__1); +} +bool PythonQtShell_QLocalServer::eventFilter(QObject* arg__1, QEvent* arg__2) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "eventFilter"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue; + void* args[3] = {NULL, (void*)&arg__1, (void*)&arg__2}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QLocalServer::eventFilter(arg__1, arg__2); +} +bool PythonQtShell_QLocalServer::hasPendingConnections() const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "hasPendingConnections"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + bool returnValue; + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("hasPendingConnections", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QLocalServer::hasPendingConnections(); +} +void PythonQtShell_QLocalServer::incomingConnection(quintptr socketDescriptor) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "incomingConnection"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "quintptr"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&socketDescriptor}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QLocalServer::incomingConnection(socketDescriptor); +} +QLocalSocket* PythonQtShell_QLocalServer::nextPendingConnection() +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "nextPendingConnection"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QLocalSocket*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QLocalSocket* returnValue; + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("nextPendingConnection", methodInfo, result); + } else { + returnValue = *((QLocalSocket**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QLocalServer::nextPendingConnection(); +} +void PythonQtShell_QLocalServer::timerEvent(QTimerEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "timerEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QTimerEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QLocalServer::timerEvent(arg__1); +} +QLocalServer* PythonQtWrapper_QLocalServer::new_QLocalServer(QObject* parent) +{ +return new PythonQtShell_QLocalServer(parent); } + +void PythonQtWrapper_QLocalServer::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 ( ((PythonQtPublicPromoter_QLocalServer*)theWrappedObject)->promoted_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)); +} + +int PythonQtWrapper_QLocalServer::maxPendingConnections(QLocalServer* theWrappedObject) const +{ + return ( theWrappedObject->maxPendingConnections()); +} + +QLocalSocket* PythonQtWrapper_QLocalServer::nextPendingConnection(QLocalServer* theWrappedObject) +{ + return ( ((PythonQtPublicPromoter_QLocalServer*)theWrappedObject)->promoted_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)); +} + +bool PythonQtWrapper_QLocalServer::waitForNewConnection(QLocalServer* theWrappedObject, int msec, bool* timedOut) +{ + return ( theWrappedObject->waitForNewConnection(msec, timedOut)); +} + + + +bool PythonQtShell_QLocalSocket::atEnd() const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "atEnd"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + bool returnValue; + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("atEnd", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QLocalSocket::atEnd(); +} +qint64 PythonQtShell_QLocalSocket::bytesAvailable() const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "bytesAvailable"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"qint64"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + qint64 returnValue; + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("bytesAvailable", methodInfo, result); + } else { + returnValue = *((qint64*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QLocalSocket::bytesAvailable(); +} +qint64 PythonQtShell_QLocalSocket::bytesToWrite() const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "bytesToWrite"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"qint64"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + qint64 returnValue; + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("bytesToWrite", methodInfo, result); + } else { + returnValue = *((qint64*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QLocalSocket::bytesToWrite(); +} +bool PythonQtShell_QLocalSocket::canReadLine() const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "canReadLine"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + bool returnValue; + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("canReadLine", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QLocalSocket::canReadLine(); +} +void PythonQtShell_QLocalSocket::childEvent(QChildEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "childEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QChildEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QLocalSocket::childEvent(arg__1); +} +void PythonQtShell_QLocalSocket::close() +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "close"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={""}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QLocalSocket::close(); +} +void PythonQtShell_QLocalSocket::customEvent(QEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "customEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QLocalSocket::customEvent(arg__1); +} +bool PythonQtShell_QLocalSocket::event(QEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "event"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue; + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QLocalSocket::event(arg__1); +} +bool PythonQtShell_QLocalSocket::eventFilter(QObject* arg__1, QEvent* arg__2) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "eventFilter"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue; + void* args[3] = {NULL, (void*)&arg__1, (void*)&arg__2}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QLocalSocket::eventFilter(arg__1, arg__2); +} +bool PythonQtShell_QLocalSocket::isSequential() const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "isSequential"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + bool returnValue; + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("isSequential", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QLocalSocket::isSequential(); +} +bool PythonQtShell_QLocalSocket::open(QIODevice::OpenMode mode) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "open"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "QIODevice::OpenMode"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue; + void* args[2] = {NULL, (void*)&mode}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("open", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QLocalSocket::open(mode); +} +qint64 PythonQtShell_QLocalSocket::pos() const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "pos"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"qint64"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + qint64 returnValue; + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("pos", methodInfo, result); + } else { + returnValue = *((qint64*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QLocalSocket::pos(); +} +qint64 PythonQtShell_QLocalSocket::readData(char* arg__1, qint64 arg__2) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "readData"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"qint64" , "char*" , "qint64"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + qint64 returnValue; + void* args[3] = {NULL, (void*)&arg__1, (void*)&arg__2}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("readData", methodInfo, result); + } else { + returnValue = *((qint64*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QLocalSocket::readData(arg__1, arg__2); +} +qint64 PythonQtShell_QLocalSocket::readLineData(char* data, qint64 maxlen) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "readLineData"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"qint64" , "char*" , "qint64"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + qint64 returnValue; + void* args[3] = {NULL, (void*)&data, (void*)&maxlen}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("readLineData", methodInfo, result); + } else { + returnValue = *((qint64*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QLocalSocket::readLineData(data, maxlen); +} +bool PythonQtShell_QLocalSocket::reset() +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "reset"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + bool returnValue; + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("reset", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QLocalSocket::reset(); +} +bool PythonQtShell_QLocalSocket::seek(qint64 pos) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "seek"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "qint64"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue; + void* args[2] = {NULL, (void*)&pos}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("seek", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QLocalSocket::seek(pos); +} +qint64 PythonQtShell_QLocalSocket::size() const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "size"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"qint64"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + qint64 returnValue; + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("size", methodInfo, result); + } else { + returnValue = *((qint64*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QLocalSocket::size(); +} +void PythonQtShell_QLocalSocket::timerEvent(QTimerEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "timerEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QTimerEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QLocalSocket::timerEvent(arg__1); +} +bool PythonQtShell_QLocalSocket::waitForBytesWritten(int msecs) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "waitForBytesWritten"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue; + void* args[2] = {NULL, (void*)&msecs}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("waitForBytesWritten", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QLocalSocket::waitForBytesWritten(msecs); +} +bool PythonQtShell_QLocalSocket::waitForReadyRead(int msecs) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "waitForReadyRead"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue; + void* args[2] = {NULL, (void*)&msecs}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("waitForReadyRead", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QLocalSocket::waitForReadyRead(msecs); +} +qint64 PythonQtShell_QLocalSocket::writeData(const char* arg__1, qint64 arg__2) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "writeData"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"qint64" , "const char*" , "qint64"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + qint64 returnValue; + void* args[3] = {NULL, (void*)&arg__1, (void*)&arg__2}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("writeData", methodInfo, result); + } else { + returnValue = *((qint64*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QLocalSocket::writeData(arg__1, arg__2); +} +QLocalSocket* PythonQtWrapper_QLocalSocket::new_QLocalSocket(QObject* parent) +{ +return new PythonQtShell_QLocalSocket(parent); } + +void PythonQtWrapper_QLocalSocket::abort(QLocalSocket* theWrappedObject) +{ + ( theWrappedObject->abort()); +} + +qint64 PythonQtWrapper_QLocalSocket::bytesAvailable(QLocalSocket* theWrappedObject) const +{ + return ( ((PythonQtPublicPromoter_QLocalSocket*)theWrappedObject)->promoted_bytesAvailable()); +} + +qint64 PythonQtWrapper_QLocalSocket::bytesToWrite(QLocalSocket* theWrappedObject) const +{ + return ( ((PythonQtPublicPromoter_QLocalSocket*)theWrappedObject)->promoted_bytesToWrite()); +} + +bool PythonQtWrapper_QLocalSocket::canReadLine(QLocalSocket* theWrappedObject) const +{ + return ( ((PythonQtPublicPromoter_QLocalSocket*)theWrappedObject)->promoted_canReadLine()); +} + +void PythonQtWrapper_QLocalSocket::close(QLocalSocket* theWrappedObject) +{ + ( ((PythonQtPublicPromoter_QLocalSocket*)theWrappedObject)->promoted_close()); +} + +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::isSequential(QLocalSocket* theWrappedObject) const +{ + return ( ((PythonQtPublicPromoter_QLocalSocket*)theWrappedObject)->promoted_isSequential()); +} + +bool PythonQtWrapper_QLocalSocket::isValid(QLocalSocket* theWrappedObject) const +{ + return ( theWrappedObject->isValid()); +} + +qint64 PythonQtWrapper_QLocalSocket::readBufferSize(QLocalSocket* theWrappedObject) const +{ + return ( theWrappedObject->readBufferSize()); +} + +qint64 PythonQtWrapper_QLocalSocket::readData(QLocalSocket* theWrappedObject, char* arg__1, qint64 arg__2) +{ + return ( ((PythonQtPublicPromoter_QLocalSocket*)theWrappedObject)->promoted_readData(arg__1, arg__2)); +} + +QString PythonQtWrapper_QLocalSocket::serverName(QLocalSocket* theWrappedObject) const +{ + return ( theWrappedObject->serverName()); +} + +void PythonQtWrapper_QLocalSocket::setReadBufferSize(QLocalSocket* theWrappedObject, qint64 size) +{ + ( theWrappedObject->setReadBufferSize(size)); +} + +bool PythonQtWrapper_QLocalSocket::setSocketDescriptor(QLocalSocket* theWrappedObject, quintptr socketDescriptor, QLocalSocket::LocalSocketState socketState, QIODevice::OpenMode openMode) +{ + return ( theWrappedObject->setSocketDescriptor(socketDescriptor, socketState, openMode)); +} + +quintptr PythonQtWrapper_QLocalSocket::socketDescriptor(QLocalSocket* theWrappedObject) const +{ + return ( theWrappedObject->socketDescriptor()); +} + +QLocalSocket::LocalSocketState PythonQtWrapper_QLocalSocket::state(QLocalSocket* theWrappedObject) const +{ + return ( theWrappedObject->state()); +} + +bool PythonQtWrapper_QLocalSocket::waitForBytesWritten(QLocalSocket* theWrappedObject, int msecs) +{ + return ( ((PythonQtPublicPromoter_QLocalSocket*)theWrappedObject)->promoted_waitForBytesWritten(msecs)); +} + +bool PythonQtWrapper_QLocalSocket::waitForConnected(QLocalSocket* theWrappedObject, int msecs) +{ + return ( theWrappedObject->waitForConnected(msecs)); +} + +bool PythonQtWrapper_QLocalSocket::waitForDisconnected(QLocalSocket* theWrappedObject, int msecs) +{ + return ( theWrappedObject->waitForDisconnected(msecs)); +} + +bool PythonQtWrapper_QLocalSocket::waitForReadyRead(QLocalSocket* theWrappedObject, int msecs) +{ + return ( ((PythonQtPublicPromoter_QLocalSocket*)theWrappedObject)->promoted_waitForReadyRead(msecs)); +} + +qint64 PythonQtWrapper_QLocalSocket::writeData(QLocalSocket* theWrappedObject, const char* arg__1, qint64 arg__2) +{ + return ( ((PythonQtPublicPromoter_QLocalSocket*)theWrappedObject)->promoted_writeData(arg__1, arg__2)); +} + + + +void PythonQtShell_QNetworkAccessManager::childEvent(QChildEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "childEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QChildEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QNetworkAccessManager::childEvent(arg__1); +} +QNetworkReply* PythonQtShell_QNetworkAccessManager::createRequest(QNetworkAccessManager::Operation op, const QNetworkRequest& request, QIODevice* outgoingData) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "createRequest"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QNetworkReply*" , "QNetworkAccessManager::Operation" , "const QNetworkRequest&" , "QIODevice*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + QNetworkReply* returnValue; + void* args[4] = {NULL, (void*)&op, (void*)&request, (void*)&outgoingData}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("createRequest", methodInfo, result); + } else { + returnValue = *((QNetworkReply**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QNetworkAccessManager::createRequest(op, request, outgoingData); +} +void PythonQtShell_QNetworkAccessManager::customEvent(QEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "customEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QNetworkAccessManager::customEvent(arg__1); +} +bool PythonQtShell_QNetworkAccessManager::event(QEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "event"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue; + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QNetworkAccessManager::event(arg__1); +} +bool PythonQtShell_QNetworkAccessManager::eventFilter(QObject* arg__1, QEvent* arg__2) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "eventFilter"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue; + void* args[3] = {NULL, (void*)&arg__1, (void*)&arg__2}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QNetworkAccessManager::eventFilter(arg__1, arg__2); +} +void PythonQtShell_QNetworkAccessManager::timerEvent(QTimerEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "timerEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QTimerEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QNetworkAccessManager::timerEvent(arg__1); +} +QNetworkAccessManager* PythonQtWrapper_QNetworkAccessManager::new_QNetworkAccessManager(QObject* parent) +{ +return new PythonQtShell_QNetworkAccessManager(parent); } + +QAbstractNetworkCache* PythonQtWrapper_QNetworkAccessManager::cache(QNetworkAccessManager* theWrappedObject) const +{ + return ( theWrappedObject->cache()); +} + +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)); +} + +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)); +} + +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, QIODevice* data) +{ + return ( theWrappedObject->put(request, data)); +} + +QNetworkReply* PythonQtWrapper_QNetworkAccessManager::put(QNetworkAccessManager* theWrappedObject, const QNetworkRequest& request, const QByteArray& data) +{ + return ( theWrappedObject->put(request, data)); +} + +void PythonQtWrapper_QNetworkAccessManager::setCache(QNetworkAccessManager* theWrappedObject, QAbstractNetworkCache* cache) +{ + ( theWrappedObject->setCache(cache)); +} + +void PythonQtWrapper_QNetworkAccessManager::setCookieJar(QNetworkAccessManager* theWrappedObject, QNetworkCookieJar* cookieJar) +{ + ( theWrappedObject->setCookieJar(cookieJar)); +} + +void PythonQtWrapper_QNetworkAccessManager::setProxy(QNetworkAccessManager* theWrappedObject, const QNetworkProxy& proxy) +{ + ( theWrappedObject->setProxy(proxy)); +} + +void PythonQtWrapper_QNetworkAccessManager::setProxyFactory(QNetworkAccessManager* theWrappedObject, QNetworkProxyFactory* factory) +{ + ( theWrappedObject->setProxyFactory(factory)); +} + + + +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()); +} + +QHostAddress PythonQtWrapper_QNetworkAddressEntry::ip(QNetworkAddressEntry* theWrappedObject) const +{ + return ( theWrappedObject->ip()); +} + +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); +} + +int PythonQtWrapper_QNetworkAddressEntry::prefixLength(QNetworkAddressEntry* theWrappedObject) const +{ + return ( theWrappedObject->prefixLength()); +} + +void PythonQtWrapper_QNetworkAddressEntry::setBroadcast(QNetworkAddressEntry* theWrappedObject, const QHostAddress& newBroadcast) +{ + ( theWrappedObject->setBroadcast(newBroadcast)); +} + +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)); +} + + + +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)); +} + +QUrl PythonQtWrapper_QNetworkCacheMetaData::url(QNetworkCacheMetaData* theWrappedObject) const +{ + return ( theWrappedObject->url()); +} + + + +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::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()); +} + +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)); +} + +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; +} + + + +void PythonQtShell_QNetworkCookieJar::childEvent(QChildEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "childEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QChildEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QNetworkCookieJar::childEvent(arg__1); +} +QList PythonQtShell_QNetworkCookieJar::cookiesForUrl(const QUrl& url) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "cookiesForUrl"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QList" , "const QUrl&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + QList returnValue; + void* args[2] = {NULL, (void*)&url}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("cookiesForUrl", methodInfo, result); + } else { + returnValue = *((QList*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QNetworkCookieJar::cookiesForUrl(url); +} +void PythonQtShell_QNetworkCookieJar::customEvent(QEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "customEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QNetworkCookieJar::customEvent(arg__1); +} +bool PythonQtShell_QNetworkCookieJar::event(QEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "event"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue; + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QNetworkCookieJar::event(arg__1); +} +bool PythonQtShell_QNetworkCookieJar::eventFilter(QObject* arg__1, QEvent* arg__2) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "eventFilter"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue; + void* args[3] = {NULL, (void*)&arg__1, (void*)&arg__2}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QNetworkCookieJar::eventFilter(arg__1, arg__2); +} +bool PythonQtShell_QNetworkCookieJar::setCookiesFromUrl(const QList& cookieList, const QUrl& url) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "setCookiesFromUrl"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "const QList&" , "const QUrl&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue; + void* args[3] = {NULL, (void*)&cookieList, (void*)&url}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("setCookiesFromUrl", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QNetworkCookieJar::setCookiesFromUrl(cookieList, url); +} +void PythonQtShell_QNetworkCookieJar::timerEvent(QTimerEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "timerEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QTimerEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QNetworkCookieJar::timerEvent(arg__1); +} +QNetworkCookieJar* PythonQtWrapper_QNetworkCookieJar::new_QNetworkCookieJar(QObject* parent) +{ +return new PythonQtShell_QNetworkCookieJar(parent); } + +QList PythonQtWrapper_QNetworkCookieJar::cookiesForUrl(QNetworkCookieJar* theWrappedObject, const QUrl& url) const +{ + return ( ((PythonQtPublicPromoter_QNetworkCookieJar*)theWrappedObject)->promoted_cookiesForUrl(url)); +} + +bool PythonQtWrapper_QNetworkCookieJar::setCookiesFromUrl(QNetworkCookieJar* theWrappedObject, const QList& cookieList, const QUrl& url) +{ + return ( ((PythonQtPublicPromoter_QNetworkCookieJar*)theWrappedObject)->promoted_setCookiesFromUrl(cookieList, url)); +} + + + +qint64 PythonQtShell_QNetworkDiskCache::cacheSize() const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "cacheSize"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"qint64"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + qint64 returnValue; + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("cacheSize", methodInfo, result); + } else { + returnValue = *((qint64*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QNetworkDiskCache::cacheSize(); +} +void PythonQtShell_QNetworkDiskCache::childEvent(QChildEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "childEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QChildEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QNetworkDiskCache::childEvent(arg__1); +} +void PythonQtShell_QNetworkDiskCache::clear() +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "clear"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={""}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QNetworkDiskCache::clear(); +} +void PythonQtShell_QNetworkDiskCache::customEvent(QEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "customEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QNetworkDiskCache::customEvent(arg__1); +} +QIODevice* PythonQtShell_QNetworkDiskCache::data(const QUrl& url) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "data"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QIODevice*" , "const QUrl&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + QIODevice* returnValue; + void* args[2] = {NULL, (void*)&url}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("data", methodInfo, result); + } else { + returnValue = *((QIODevice**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QNetworkDiskCache::data(url); +} +bool PythonQtShell_QNetworkDiskCache::event(QEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "event"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue; + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QNetworkDiskCache::event(arg__1); +} +bool PythonQtShell_QNetworkDiskCache::eventFilter(QObject* arg__1, QEvent* arg__2) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "eventFilter"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue; + void* args[3] = {NULL, (void*)&arg__1, (void*)&arg__2}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QNetworkDiskCache::eventFilter(arg__1, arg__2); +} +qint64 PythonQtShell_QNetworkDiskCache::expire() +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "expire"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"qint64"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + qint64 returnValue; + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("expire", methodInfo, result); + } else { + returnValue = *((qint64*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QNetworkDiskCache::expire(); +} +void PythonQtShell_QNetworkDiskCache::insert(QIODevice* device) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "insert"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QIODevice*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&device}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QNetworkDiskCache::insert(device); +} +QNetworkCacheMetaData PythonQtShell_QNetworkDiskCache::metaData(const QUrl& url) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "metaData"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QNetworkCacheMetaData" , "const QUrl&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + QNetworkCacheMetaData returnValue; + void* args[2] = {NULL, (void*)&url}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("metaData", methodInfo, result); + } else { + returnValue = *((QNetworkCacheMetaData*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QNetworkDiskCache::metaData(url); +} +QIODevice* PythonQtShell_QNetworkDiskCache::prepare(const QNetworkCacheMetaData& metaData) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "prepare"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QIODevice*" , "const QNetworkCacheMetaData&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + QIODevice* returnValue; + void* args[2] = {NULL, (void*)&metaData}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (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; + } +} + return QNetworkDiskCache::prepare(metaData); +} +bool PythonQtShell_QNetworkDiskCache::remove(const QUrl& url) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "remove"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "const QUrl&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue; + void* args[2] = {NULL, (void*)&url}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("remove", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QNetworkDiskCache::remove(url); +} +void PythonQtShell_QNetworkDiskCache::timerEvent(QTimerEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "timerEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QTimerEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QNetworkDiskCache::timerEvent(arg__1); +} +void PythonQtShell_QNetworkDiskCache::updateMetaData(const QNetworkCacheMetaData& metaData) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "updateMetaData"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "const QNetworkCacheMetaData&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&metaData}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QNetworkDiskCache::updateMetaData(metaData); +} +QNetworkDiskCache* PythonQtWrapper_QNetworkDiskCache::new_QNetworkDiskCache(QObject* parent) +{ +return new PythonQtShell_QNetworkDiskCache(parent); } + +QString PythonQtWrapper_QNetworkDiskCache::cacheDirectory(QNetworkDiskCache* theWrappedObject) const +{ + return ( theWrappedObject->cacheDirectory()); +} + +qint64 PythonQtWrapper_QNetworkDiskCache::cacheSize(QNetworkDiskCache* theWrappedObject) const +{ + return ( ((PythonQtPublicPromoter_QNetworkDiskCache*)theWrappedObject)->promoted_cacheSize()); +} + +QIODevice* PythonQtWrapper_QNetworkDiskCache::data(QNetworkDiskCache* theWrappedObject, const QUrl& url) +{ + return ( ((PythonQtPublicPromoter_QNetworkDiskCache*)theWrappedObject)->promoted_data(url)); +} + +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)); +} + +void PythonQtWrapper_QNetworkDiskCache::insert(QNetworkDiskCache* theWrappedObject, QIODevice* device) +{ + ( ((PythonQtPublicPromoter_QNetworkDiskCache*)theWrappedObject)->promoted_insert(device)); +} + +qint64 PythonQtWrapper_QNetworkDiskCache::maximumCacheSize(QNetworkDiskCache* theWrappedObject) const +{ + return ( theWrappedObject->maximumCacheSize()); +} + +QNetworkCacheMetaData PythonQtWrapper_QNetworkDiskCache::metaData(QNetworkDiskCache* theWrappedObject, const QUrl& url) +{ + return ( ((PythonQtPublicPromoter_QNetworkDiskCache*)theWrappedObject)->promoted_metaData(url)); +} + +QIODevice* PythonQtWrapper_QNetworkDiskCache::prepare(QNetworkDiskCache* theWrappedObject, const QNetworkCacheMetaData& metaData) +{ + return ( ((PythonQtPublicPromoter_QNetworkDiskCache*)theWrappedObject)->promoted_prepare(metaData)); +} + +bool PythonQtWrapper_QNetworkDiskCache::remove(QNetworkDiskCache* theWrappedObject, const QUrl& url) +{ + return ( ((PythonQtPublicPromoter_QNetworkDiskCache*)theWrappedObject)->promoted_remove(url)); +} + +void PythonQtWrapper_QNetworkDiskCache::setCacheDirectory(QNetworkDiskCache* theWrappedObject, const QString& cacheDir) +{ + ( theWrappedObject->setCacheDirectory(cacheDir)); +} + +void PythonQtWrapper_QNetworkDiskCache::setMaximumCacheSize(QNetworkDiskCache* theWrappedObject, qint64 size) +{ + ( theWrappedObject->setMaximumCacheSize(size)); +} + +void PythonQtWrapper_QNetworkDiskCache::updateMetaData(QNetworkDiskCache* theWrappedObject, const QNetworkCacheMetaData& metaData) +{ + ( ((PythonQtPublicPromoter_QNetworkDiskCache*)theWrappedObject)->promoted_updateMetaData(metaData)); +} + + + +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)); +} + +bool PythonQtWrapper_QNetworkInterface::isValid(QNetworkInterface* theWrappedObject) const +{ + return ( theWrappedObject->isValid()); +} + +QString PythonQtWrapper_QNetworkInterface::name(QNetworkInterface* theWrappedObject) const +{ + return ( theWrappedObject->name()); +} + +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()); +} + +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()); +} + +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::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::setType(QNetworkProxy* theWrappedObject, QNetworkProxy::ProxyType type) +{ + ( theWrappedObject->setType(type)); +} + +void PythonQtWrapper_QNetworkProxy::setUser(QNetworkProxy* theWrappedObject, const QString& userName) +{ + ( theWrappedObject->setUser(userName)); +} + +QNetworkProxy::ProxyType PythonQtWrapper_QNetworkProxy::type(QNetworkProxy* theWrappedObject) const +{ + return ( theWrappedObject->type()); +} + +QString PythonQtWrapper_QNetworkProxy::user(QNetworkProxy* theWrappedObject) const +{ + return ( theWrappedObject->user()); +} + + + +QList PythonQtShell_QNetworkProxyFactory::queryProxy(const QNetworkProxyQuery& query) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "queryProxy"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QList" , "const QNetworkProxyQuery&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + QList returnValue; + void* args[2] = {NULL, (void*)&query}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("queryProxy", methodInfo, result); + } else { + returnValue = *((QList*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QList(); +} +QNetworkProxyFactory* PythonQtWrapper_QNetworkProxyFactory::new_QNetworkProxyFactory() +{ +return new PythonQtShell_QNetworkProxyFactory(); } + +QList PythonQtWrapper_QNetworkProxyFactory::static_QNetworkProxyFactory_proxyForQuery(const QNetworkProxyQuery& query) +{ + return (QNetworkProxyFactory::proxyForQuery(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)); +} + + + +QNetworkProxyQuery* PythonQtWrapper_QNetworkProxyQuery::new_QNetworkProxyQuery() +{ +return new QNetworkProxyQuery(); } + +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()); +} + +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::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)); +} + +QUrl PythonQtWrapper_QNetworkProxyQuery::url(QNetworkProxyQuery* theWrappedObject) const +{ + return ( theWrappedObject->url()); +} + + + +void PythonQtShell_QNetworkReply::abort() +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "abort"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={""}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + +} +bool PythonQtShell_QNetworkReply::atEnd() const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "atEnd"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + bool returnValue; + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("atEnd", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QNetworkReply::atEnd(); +} +qint64 PythonQtShell_QNetworkReply::bytesAvailable() const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "bytesAvailable"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"qint64"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + qint64 returnValue; + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("bytesAvailable", methodInfo, result); + } else { + returnValue = *((qint64*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QNetworkReply::bytesAvailable(); +} +qint64 PythonQtShell_QNetworkReply::bytesToWrite() const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "bytesToWrite"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"qint64"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + qint64 returnValue; + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("bytesToWrite", methodInfo, result); + } else { + returnValue = *((qint64*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QNetworkReply::bytesToWrite(); +} +bool PythonQtShell_QNetworkReply::canReadLine() const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "canReadLine"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + bool returnValue; + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("canReadLine", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QNetworkReply::canReadLine(); +} +void PythonQtShell_QNetworkReply::childEvent(QChildEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "childEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QChildEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QNetworkReply::childEvent(arg__1); +} +void PythonQtShell_QNetworkReply::close() +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "close"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={""}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QNetworkReply::close(); +} +void PythonQtShell_QNetworkReply::customEvent(QEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "customEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QNetworkReply::customEvent(arg__1); +} +bool PythonQtShell_QNetworkReply::event(QEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "event"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue; + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QNetworkReply::event(arg__1); +} +bool PythonQtShell_QNetworkReply::eventFilter(QObject* arg__1, QEvent* arg__2) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "eventFilter"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue; + void* args[3] = {NULL, (void*)&arg__1, (void*)&arg__2}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QNetworkReply::eventFilter(arg__1, arg__2); +} +void PythonQtShell_QNetworkReply::ignoreSslErrors() +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "ignoreSslErrors"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={""}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QNetworkReply::ignoreSslErrors(); +} +bool PythonQtShell_QNetworkReply::isSequential() const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "isSequential"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + bool returnValue; + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("isSequential", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QNetworkReply::isSequential(); +} +bool PythonQtShell_QNetworkReply::open(QIODevice::OpenMode mode) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "open"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "QIODevice::OpenMode"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue; + void* args[2] = {NULL, (void*)&mode}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("open", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QNetworkReply::open(mode); +} +qint64 PythonQtShell_QNetworkReply::pos() const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "pos"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"qint64"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + qint64 returnValue; + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("pos", methodInfo, result); + } else { + returnValue = *((qint64*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QNetworkReply::pos(); +} +qint64 PythonQtShell_QNetworkReply::readData(char* data, qint64 maxlen) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "readData"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"qint64" , "char*" , "qint64"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + qint64 returnValue; + void* args[3] = {NULL, (void*)&data, (void*)&maxlen}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("readData", methodInfo, result); + } else { + returnValue = *((qint64*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return qint64(); +} +qint64 PythonQtShell_QNetworkReply::readLineData(char* data, qint64 maxlen) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "readLineData"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"qint64" , "char*" , "qint64"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + qint64 returnValue; + void* args[3] = {NULL, (void*)&data, (void*)&maxlen}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("readLineData", methodInfo, result); + } else { + returnValue = *((qint64*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QNetworkReply::readLineData(data, maxlen); +} +bool PythonQtShell_QNetworkReply::reset() +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "reset"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + bool returnValue; + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("reset", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QNetworkReply::reset(); +} +bool PythonQtShell_QNetworkReply::seek(qint64 pos) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "seek"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "qint64"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue; + void* args[2] = {NULL, (void*)&pos}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("seek", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QNetworkReply::seek(pos); +} +void PythonQtShell_QNetworkReply::setReadBufferSize(qint64 size) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "setReadBufferSize"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "qint64"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&size}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QNetworkReply::setReadBufferSize(size); +} +qint64 PythonQtShell_QNetworkReply::size() const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "size"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"qint64"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + qint64 returnValue; + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("size", methodInfo, result); + } else { + returnValue = *((qint64*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QNetworkReply::size(); +} +void PythonQtShell_QNetworkReply::timerEvent(QTimerEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "timerEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QTimerEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QNetworkReply::timerEvent(arg__1); +} +bool PythonQtShell_QNetworkReply::waitForBytesWritten(int msecs) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "waitForBytesWritten"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue; + void* args[2] = {NULL, (void*)&msecs}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("waitForBytesWritten", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QNetworkReply::waitForBytesWritten(msecs); +} +bool PythonQtShell_QNetworkReply::waitForReadyRead(int msecs) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "waitForReadyRead"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue; + void* args[2] = {NULL, (void*)&msecs}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("waitForReadyRead", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QNetworkReply::waitForReadyRead(msecs); +} +qint64 PythonQtShell_QNetworkReply::writeData(const char* data, qint64 len) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "writeData"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"qint64" , "const char*" , "qint64"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + qint64 returnValue; + void* args[3] = {NULL, (void*)&data, (void*)&len}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("writeData", methodInfo, result); + } else { + returnValue = *((qint64*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QNetworkReply::writeData(data, len); +} +QVariant PythonQtWrapper_QNetworkReply::attribute(QNetworkReply* theWrappedObject, QNetworkRequest::Attribute code) const +{ + return ( theWrappedObject->attribute(code)); +} + +void PythonQtWrapper_QNetworkReply::close(QNetworkReply* theWrappedObject) +{ + ( ((PythonQtPublicPromoter_QNetworkReply*)theWrappedObject)->promoted_close()); +} + +QNetworkReply::NetworkError PythonQtWrapper_QNetworkReply::error(QNetworkReply* theWrappedObject) const +{ + return ( theWrappedObject->error()); +} + +bool PythonQtWrapper_QNetworkReply::hasRawHeader(QNetworkReply* theWrappedObject, const QByteArray& headerName) const +{ + return ( theWrappedObject->hasRawHeader(headerName)); +} + +QVariant PythonQtWrapper_QNetworkReply::header(QNetworkReply* theWrappedObject, QNetworkRequest::KnownHeaders header) const +{ + return ( theWrappedObject->header(header)); +} + +bool PythonQtWrapper_QNetworkReply::isFinished(QNetworkReply* theWrappedObject) const +{ + return ( theWrappedObject->isFinished()); +} + +bool PythonQtWrapper_QNetworkReply::isRunning(QNetworkReply* theWrappedObject) const +{ + return ( theWrappedObject->isRunning()); +} + +bool PythonQtWrapper_QNetworkReply::isSequential(QNetworkReply* theWrappedObject) const +{ + return ( ((PythonQtPublicPromoter_QNetworkReply*)theWrappedObject)->promoted_isSequential()); +} + +QNetworkAccessManager* PythonQtWrapper_QNetworkReply::manager(QNetworkReply* theWrappedObject) const +{ + return ( theWrappedObject->manager()); +} + +QNetworkAccessManager::Operation PythonQtWrapper_QNetworkReply::operation(QNetworkReply* theWrappedObject) const +{ + return ( theWrappedObject->operation()); +} + +QByteArray PythonQtWrapper_QNetworkReply::rawHeader(QNetworkReply* theWrappedObject, const QByteArray& headerName) const +{ + return ( theWrappedObject->rawHeader(headerName)); +} + +QList PythonQtWrapper_QNetworkReply::rawHeaderList(QNetworkReply* theWrappedObject) const +{ + return ( theWrappedObject->rawHeaderList()); +} + +qint64 PythonQtWrapper_QNetworkReply::readBufferSize(QNetworkReply* theWrappedObject) const +{ + return ( theWrappedObject->readBufferSize()); +} + +QNetworkRequest PythonQtWrapper_QNetworkReply::request(QNetworkReply* theWrappedObject) const +{ + return ( theWrappedObject->request()); +} + +void PythonQtWrapper_QNetworkReply::setReadBufferSize(QNetworkReply* theWrappedObject, qint64 size) +{ + ( ((PythonQtPublicPromoter_QNetworkReply*)theWrappedObject)->promoted_setReadBufferSize(size)); +} + +QUrl PythonQtWrapper_QNetworkReply::url(QNetworkReply* theWrappedObject) const +{ + return ( theWrappedObject->url()); +} + +qint64 PythonQtWrapper_QNetworkReply::writeData(QNetworkReply* theWrappedObject, const char* data, qint64 len) +{ + return ( ((PythonQtPublicPromoter_QNetworkReply*)theWrappedObject)->promoted_writeData(data, len)); +} + + + +QNetworkRequest* PythonQtWrapper_QNetworkRequest::new_QNetworkRequest(const QNetworkRequest& other) +{ +return new QNetworkRequest(other); } + +QNetworkRequest* PythonQtWrapper_QNetworkRequest::new_QNetworkRequest(const QUrl& url) +{ +return new QNetworkRequest(url); } + +QVariant PythonQtWrapper_QNetworkRequest::attribute(QNetworkRequest* theWrappedObject, QNetworkRequest::Attribute code, const QVariant& defaultValue) const +{ + return ( theWrappedObject->attribute(code, defaultValue)); +} + +bool PythonQtWrapper_QNetworkRequest::hasRawHeader(QNetworkRequest* theWrappedObject, const QByteArray& headerName) const +{ + return ( theWrappedObject->hasRawHeader(headerName)); +} + +QVariant PythonQtWrapper_QNetworkRequest::header(QNetworkRequest* theWrappedObject, QNetworkRequest::KnownHeaders header) const +{ + return ( theWrappedObject->header(header)); +} + +bool PythonQtWrapper_QNetworkRequest::__ne__(QNetworkRequest* theWrappedObject, const QNetworkRequest& other) const +{ + return ( (*theWrappedObject)!= other); +} + +bool PythonQtWrapper_QNetworkRequest::__eq__(QNetworkRequest* theWrappedObject, const QNetworkRequest& other) const +{ + return ( (*theWrappedObject)== other); +} + +QObject* PythonQtWrapper_QNetworkRequest::originatingObject(QNetworkRequest* theWrappedObject) const +{ + return ( theWrappedObject->originatingObject()); +} + +QByteArray PythonQtWrapper_QNetworkRequest::rawHeader(QNetworkRequest* theWrappedObject, const QByteArray& headerName) const +{ + return ( theWrappedObject->rawHeader(headerName)); +} + +QList PythonQtWrapper_QNetworkRequest::rawHeaderList(QNetworkRequest* theWrappedObject) const +{ + return ( theWrappedObject->rawHeaderList()); +} + +void PythonQtWrapper_QNetworkRequest::setAttribute(QNetworkRequest* theWrappedObject, QNetworkRequest::Attribute code, const QVariant& value) +{ + ( theWrappedObject->setAttribute(code, value)); +} + +void PythonQtWrapper_QNetworkRequest::setHeader(QNetworkRequest* theWrappedObject, QNetworkRequest::KnownHeaders header, const QVariant& value) +{ + ( theWrappedObject->setHeader(header, value)); +} + +void PythonQtWrapper_QNetworkRequest::setOriginatingObject(QNetworkRequest* theWrappedObject, QObject* object) +{ + ( theWrappedObject->setOriginatingObject(object)); +} + +void PythonQtWrapper_QNetworkRequest::setRawHeader(QNetworkRequest* theWrappedObject, const QByteArray& headerName, const QByteArray& value) +{ + ( theWrappedObject->setRawHeader(headerName, value)); +} + +void PythonQtWrapper_QNetworkRequest::setUrl(QNetworkRequest* theWrappedObject, const QUrl& url) +{ + ( theWrappedObject->setUrl(url)); +} + +QUrl PythonQtWrapper_QNetworkRequest::url(QNetworkRequest* theWrappedObject) const +{ + return ( theWrappedObject->url()); +} + + + + + +void PythonQtShell_QTcpServer::childEvent(QChildEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "childEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QChildEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QTcpServer::childEvent(arg__1); +} +void PythonQtShell_QTcpServer::customEvent(QEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "customEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QTcpServer::customEvent(arg__1); +} +bool PythonQtShell_QTcpServer::event(QEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "event"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue; + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QTcpServer::event(arg__1); +} +bool PythonQtShell_QTcpServer::eventFilter(QObject* arg__1, QEvent* arg__2) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "eventFilter"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue; + void* args[3] = {NULL, (void*)&arg__1, (void*)&arg__2}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QTcpServer::eventFilter(arg__1, arg__2); +} +bool PythonQtShell_QTcpServer::hasPendingConnections() const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "hasPendingConnections"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + bool returnValue; + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("hasPendingConnections", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QTcpServer::hasPendingConnections(); +} +void PythonQtShell_QTcpServer::incomingConnection(int handle) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "incomingConnection"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&handle}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QTcpServer::incomingConnection(handle); +} +QTcpSocket* PythonQtShell_QTcpServer::nextPendingConnection() +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "nextPendingConnection"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QTcpSocket*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QTcpSocket* returnValue; + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("nextPendingConnection", methodInfo, result); + } else { + returnValue = *((QTcpSocket**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QTcpServer::nextPendingConnection(); +} +void PythonQtShell_QTcpServer::timerEvent(QTimerEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "timerEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QTimerEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QTcpServer::timerEvent(arg__1); +} +QTcpServer* PythonQtWrapper_QTcpServer::new_QTcpServer(QObject* parent) +{ +return new PythonQtShell_QTcpServer(parent); } + +void PythonQtWrapper_QTcpServer::close(QTcpServer* theWrappedObject) +{ + ( theWrappedObject->close()); +} + +QString PythonQtWrapper_QTcpServer::errorString(QTcpServer* theWrappedObject) const +{ + return ( theWrappedObject->errorString()); +} + +bool PythonQtWrapper_QTcpServer::hasPendingConnections(QTcpServer* theWrappedObject) const +{ + return ( ((PythonQtPublicPromoter_QTcpServer*)theWrappedObject)->promoted_hasPendingConnections()); +} + +void PythonQtWrapper_QTcpServer::incomingConnection(QTcpServer* theWrappedObject, int handle) +{ + ( ((PythonQtPublicPromoter_QTcpServer*)theWrappedObject)->promoted_incomingConnection(handle)); +} + +bool PythonQtWrapper_QTcpServer::isListening(QTcpServer* theWrappedObject) const +{ + return ( theWrappedObject->isListening()); +} + +bool PythonQtWrapper_QTcpServer::listen(QTcpServer* theWrappedObject, const QHostAddress& address, unsigned short port) +{ + return ( theWrappedObject->listen(address, port)); +} + +int PythonQtWrapper_QTcpServer::maxPendingConnections(QTcpServer* theWrappedObject) const +{ + return ( theWrappedObject->maxPendingConnections()); +} + +QTcpSocket* PythonQtWrapper_QTcpServer::nextPendingConnection(QTcpServer* theWrappedObject) +{ + return ( ((PythonQtPublicPromoter_QTcpServer*)theWrappedObject)->promoted_nextPendingConnection()); +} + +QNetworkProxy PythonQtWrapper_QTcpServer::proxy(QTcpServer* theWrappedObject) const +{ + return ( theWrappedObject->proxy()); +} + +QHostAddress PythonQtWrapper_QTcpServer::serverAddress(QTcpServer* theWrappedObject) const +{ + return ( theWrappedObject->serverAddress()); +} + +QAbstractSocket::SocketError PythonQtWrapper_QTcpServer::serverError(QTcpServer* theWrappedObject) const +{ + return ( theWrappedObject->serverError()); +} + +unsigned short PythonQtWrapper_QTcpServer::serverPort(QTcpServer* theWrappedObject) const +{ + return ( theWrappedObject->serverPort()); +} + +void PythonQtWrapper_QTcpServer::setMaxPendingConnections(QTcpServer* theWrappedObject, int numConnections) +{ + ( theWrappedObject->setMaxPendingConnections(numConnections)); +} + +void PythonQtWrapper_QTcpServer::setProxy(QTcpServer* theWrappedObject, const QNetworkProxy& networkProxy) +{ + ( theWrappedObject->setProxy(networkProxy)); +} + +bool PythonQtWrapper_QTcpServer::setSocketDescriptor(QTcpServer* theWrappedObject, int socketDescriptor) +{ + return ( theWrappedObject->setSocketDescriptor(socketDescriptor)); +} + +int PythonQtWrapper_QTcpServer::socketDescriptor(QTcpServer* theWrappedObject) const +{ + return ( theWrappedObject->socketDescriptor()); +} + +bool PythonQtWrapper_QTcpServer::waitForNewConnection(QTcpServer* theWrappedObject, int msec, bool* timedOut) +{ + return ( theWrappedObject->waitForNewConnection(msec, timedOut)); +} + + + +bool PythonQtShell_QTcpSocket::atEnd() const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "atEnd"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + bool returnValue; + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("atEnd", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QTcpSocket::atEnd(); +} +qint64 PythonQtShell_QTcpSocket::bytesAvailable() const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "bytesAvailable"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"qint64"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + qint64 returnValue; + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("bytesAvailable", methodInfo, result); + } else { + returnValue = *((qint64*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QTcpSocket::bytesAvailable(); +} +qint64 PythonQtShell_QTcpSocket::bytesToWrite() const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "bytesToWrite"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"qint64"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + qint64 returnValue; + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("bytesToWrite", methodInfo, result); + } else { + returnValue = *((qint64*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QTcpSocket::bytesToWrite(); +} +bool PythonQtShell_QTcpSocket::canReadLine() const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "canReadLine"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + bool returnValue; + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("canReadLine", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QTcpSocket::canReadLine(); +} +void PythonQtShell_QTcpSocket::childEvent(QChildEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "childEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QChildEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QTcpSocket::childEvent(arg__1); +} +void PythonQtShell_QTcpSocket::close() +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "close"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={""}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QTcpSocket::close(); +} +void PythonQtShell_QTcpSocket::customEvent(QEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "customEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QTcpSocket::customEvent(arg__1); +} +bool PythonQtShell_QTcpSocket::event(QEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "event"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue; + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QTcpSocket::event(arg__1); +} +bool PythonQtShell_QTcpSocket::eventFilter(QObject* arg__1, QEvent* arg__2) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "eventFilter"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue; + void* args[3] = {NULL, (void*)&arg__1, (void*)&arg__2}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QTcpSocket::eventFilter(arg__1, arg__2); +} +bool PythonQtShell_QTcpSocket::isSequential() const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "isSequential"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + bool returnValue; + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("isSequential", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QTcpSocket::isSequential(); +} +bool PythonQtShell_QTcpSocket::open(QIODevice::OpenMode mode) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "open"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "QIODevice::OpenMode"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue; + void* args[2] = {NULL, (void*)&mode}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("open", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QTcpSocket::open(mode); +} +qint64 PythonQtShell_QTcpSocket::pos() const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "pos"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"qint64"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + qint64 returnValue; + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("pos", methodInfo, result); + } else { + returnValue = *((qint64*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QTcpSocket::pos(); +} +qint64 PythonQtShell_QTcpSocket::readData(char* data, qint64 maxlen) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "readData"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"qint64" , "char*" , "qint64"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + qint64 returnValue; + void* args[3] = {NULL, (void*)&data, (void*)&maxlen}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("readData", methodInfo, result); + } else { + returnValue = *((qint64*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QTcpSocket::readData(data, maxlen); +} +qint64 PythonQtShell_QTcpSocket::readLineData(char* data, qint64 maxlen) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "readLineData"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"qint64" , "char*" , "qint64"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + qint64 returnValue; + void* args[3] = {NULL, (void*)&data, (void*)&maxlen}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("readLineData", methodInfo, result); + } else { + returnValue = *((qint64*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QTcpSocket::readLineData(data, maxlen); +} +bool PythonQtShell_QTcpSocket::reset() +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "reset"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + bool returnValue; + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("reset", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QTcpSocket::reset(); +} +bool PythonQtShell_QTcpSocket::seek(qint64 pos) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "seek"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "qint64"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue; + void* args[2] = {NULL, (void*)&pos}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("seek", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QTcpSocket::seek(pos); +} +qint64 PythonQtShell_QTcpSocket::size() const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "size"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"qint64"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + qint64 returnValue; + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("size", methodInfo, result); + } else { + returnValue = *((qint64*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QTcpSocket::size(); +} +void PythonQtShell_QTcpSocket::timerEvent(QTimerEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "timerEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QTimerEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QTcpSocket::timerEvent(arg__1); +} +bool PythonQtShell_QTcpSocket::waitForBytesWritten(int msecs) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "waitForBytesWritten"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue; + void* args[2] = {NULL, (void*)&msecs}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("waitForBytesWritten", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QTcpSocket::waitForBytesWritten(msecs); +} +bool PythonQtShell_QTcpSocket::waitForReadyRead(int msecs) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "waitForReadyRead"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue; + void* args[2] = {NULL, (void*)&msecs}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("waitForReadyRead", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QTcpSocket::waitForReadyRead(msecs); +} +qint64 PythonQtShell_QTcpSocket::writeData(const char* data, qint64 len) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "writeData"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"qint64" , "const char*" , "qint64"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + qint64 returnValue; + void* args[3] = {NULL, (void*)&data, (void*)&len}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("writeData", methodInfo, result); + } else { + returnValue = *((qint64*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QTcpSocket::writeData(data, len); +} +QTcpSocket* PythonQtWrapper_QTcpSocket::new_QTcpSocket(QObject* parent) +{ +return new PythonQtShell_QTcpSocket(parent); } + + + +bool PythonQtShell_QUdpSocket::atEnd() const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "atEnd"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + bool returnValue; + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("atEnd", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QUdpSocket::atEnd(); +} +qint64 PythonQtShell_QUdpSocket::bytesAvailable() const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "bytesAvailable"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"qint64"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + qint64 returnValue; + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("bytesAvailable", methodInfo, result); + } else { + returnValue = *((qint64*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QUdpSocket::bytesAvailable(); +} +qint64 PythonQtShell_QUdpSocket::bytesToWrite() const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "bytesToWrite"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"qint64"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + qint64 returnValue; + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("bytesToWrite", methodInfo, result); + } else { + returnValue = *((qint64*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QUdpSocket::bytesToWrite(); +} +bool PythonQtShell_QUdpSocket::canReadLine() const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "canReadLine"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + bool returnValue; + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("canReadLine", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QUdpSocket::canReadLine(); +} +void PythonQtShell_QUdpSocket::childEvent(QChildEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "childEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QChildEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QUdpSocket::childEvent(arg__1); +} +void PythonQtShell_QUdpSocket::close() +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "close"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={""}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QUdpSocket::close(); +} +void PythonQtShell_QUdpSocket::customEvent(QEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "customEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QUdpSocket::customEvent(arg__1); +} +bool PythonQtShell_QUdpSocket::event(QEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "event"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue; + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QUdpSocket::event(arg__1); +} +bool PythonQtShell_QUdpSocket::eventFilter(QObject* arg__1, QEvent* arg__2) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "eventFilter"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue; + void* args[3] = {NULL, (void*)&arg__1, (void*)&arg__2}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QUdpSocket::eventFilter(arg__1, arg__2); +} +bool PythonQtShell_QUdpSocket::isSequential() const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "isSequential"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + bool returnValue; + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("isSequential", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QUdpSocket::isSequential(); +} +bool PythonQtShell_QUdpSocket::open(QIODevice::OpenMode mode) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "open"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "QIODevice::OpenMode"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue; + void* args[2] = {NULL, (void*)&mode}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("open", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QUdpSocket::open(mode); +} +qint64 PythonQtShell_QUdpSocket::pos() const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "pos"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"qint64"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + qint64 returnValue; + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("pos", methodInfo, result); + } else { + returnValue = *((qint64*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QUdpSocket::pos(); +} +qint64 PythonQtShell_QUdpSocket::readData(char* data, qint64 maxlen) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "readData"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"qint64" , "char*" , "qint64"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + qint64 returnValue; + void* args[3] = {NULL, (void*)&data, (void*)&maxlen}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("readData", methodInfo, result); + } else { + returnValue = *((qint64*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QUdpSocket::readData(data, maxlen); +} +qint64 PythonQtShell_QUdpSocket::readLineData(char* data, qint64 maxlen) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "readLineData"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"qint64" , "char*" , "qint64"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + qint64 returnValue; + void* args[3] = {NULL, (void*)&data, (void*)&maxlen}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("readLineData", methodInfo, result); + } else { + returnValue = *((qint64*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QUdpSocket::readLineData(data, maxlen); +} +bool PythonQtShell_QUdpSocket::reset() +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "reset"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + bool returnValue; + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("reset", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QUdpSocket::reset(); +} +bool PythonQtShell_QUdpSocket::seek(qint64 pos) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "seek"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "qint64"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue; + void* args[2] = {NULL, (void*)&pos}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("seek", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QUdpSocket::seek(pos); +} +qint64 PythonQtShell_QUdpSocket::size() const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "size"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"qint64"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + qint64 returnValue; + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("size", methodInfo, result); + } else { + returnValue = *((qint64*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QUdpSocket::size(); +} +void PythonQtShell_QUdpSocket::timerEvent(QTimerEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "timerEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QTimerEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QUdpSocket::timerEvent(arg__1); +} +bool PythonQtShell_QUdpSocket::waitForBytesWritten(int msecs) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "waitForBytesWritten"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue; + void* args[2] = {NULL, (void*)&msecs}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("waitForBytesWritten", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QUdpSocket::waitForBytesWritten(msecs); +} +bool PythonQtShell_QUdpSocket::waitForReadyRead(int msecs) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "waitForReadyRead"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue; + void* args[2] = {NULL, (void*)&msecs}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("waitForReadyRead", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QUdpSocket::waitForReadyRead(msecs); +} +qint64 PythonQtShell_QUdpSocket::writeData(const char* data, qint64 len) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "writeData"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"qint64" , "const char*" , "qint64"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + qint64 returnValue; + void* args[3] = {NULL, (void*)&data, (void*)&len}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("writeData", methodInfo, result); + } else { + returnValue = *((qint64*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QUdpSocket::writeData(data, len); +} +QUdpSocket* PythonQtWrapper_QUdpSocket::new_QUdpSocket(QObject* parent) +{ +return new PythonQtShell_QUdpSocket(parent); } + +bool PythonQtWrapper_QUdpSocket::bind(QUdpSocket* theWrappedObject, const QHostAddress& address, unsigned short port) +{ + return ( theWrappedObject->bind(address, port)); +} + +bool PythonQtWrapper_QUdpSocket::bind(QUdpSocket* theWrappedObject, const QHostAddress& address, unsigned short port, QUdpSocket::BindMode mode) +{ + return ( theWrappedObject->bind(address, port, mode)); +} + +bool PythonQtWrapper_QUdpSocket::bind(QUdpSocket* theWrappedObject, unsigned short port) +{ + return ( theWrappedObject->bind(port)); +} + +bool PythonQtWrapper_QUdpSocket::bind(QUdpSocket* theWrappedObject, unsigned short port, QUdpSocket::BindMode mode) +{ + return ( theWrappedObject->bind(port, mode)); +} + +bool PythonQtWrapper_QUdpSocket::hasPendingDatagrams(QUdpSocket* theWrappedObject) const +{ + return ( theWrappedObject->hasPendingDatagrams()); +} + +qint64 PythonQtWrapper_QUdpSocket::pendingDatagramSize(QUdpSocket* theWrappedObject) const +{ + return ( theWrappedObject->pendingDatagramSize()); +} + +qint64 PythonQtWrapper_QUdpSocket::readDatagram(QUdpSocket* theWrappedObject, char* data, qint64 maxlen, QHostAddress* host, unsigned short* port) +{ + return ( theWrappedObject->readDatagram(data, maxlen, host, port)); +} + +qint64 PythonQtWrapper_QUdpSocket::writeDatagram(QUdpSocket* theWrappedObject, const QByteArray& datagram, const QHostAddress& host, unsigned short port) +{ + return ( theWrappedObject->writeDatagram(datagram, host, port)); +} + + + +void PythonQtShell_QUrlInfo::setDir(bool b) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "setDir"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&b}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QUrlInfo::setDir(b); +} +void PythonQtShell_QUrlInfo::setFile(bool b) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "setFile"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&b}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QUrlInfo::setFile(b); +} +void PythonQtShell_QUrlInfo::setGroup(const QString& s) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "setGroup"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "const QString&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&s}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QUrlInfo::setGroup(s); +} +void PythonQtShell_QUrlInfo::setLastModified(const QDateTime& dt) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "setLastModified"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "const QDateTime&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&dt}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QUrlInfo::setLastModified(dt); +} +void PythonQtShell_QUrlInfo::setName(const QString& name) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "setName"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "const QString&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&name}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QUrlInfo::setName(name); +} +void PythonQtShell_QUrlInfo::setOwner(const QString& s) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "setOwner"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "const QString&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&s}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QUrlInfo::setOwner(s); +} +void PythonQtShell_QUrlInfo::setPermissions(int p) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "setPermissions"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&p}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QUrlInfo::setPermissions(p); +} +void PythonQtShell_QUrlInfo::setReadable(bool b) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "setReadable"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&b}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QUrlInfo::setReadable(b); +} +void PythonQtShell_QUrlInfo::setSize(qint64 size) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "setSize"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "qint64"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&size}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QUrlInfo::setSize(size); +} +void PythonQtShell_QUrlInfo::setSymLink(bool b) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "setSymLink"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&b}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QUrlInfo::setSymLink(b); +} +void PythonQtShell_QUrlInfo::setWritable(bool b) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "setWritable"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&b}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QUrlInfo::setWritable(b); +} +QUrlInfo* PythonQtWrapper_QUrlInfo::new_QUrlInfo() +{ +return new PythonQtShell_QUrlInfo(); } + +QUrlInfo* PythonQtWrapper_QUrlInfo::new_QUrlInfo(const QString& name, int permissions, const QString& owner, const QString& group, qint64 size, const QDateTime& lastModified, const QDateTime& lastRead, bool isDir, bool isFile, bool isSymLink, bool isWritable, bool isReadable, bool isExecutable) +{ +return new PythonQtShell_QUrlInfo(name, permissions, owner, group, size, lastModified, lastRead, isDir, isFile, isSymLink, isWritable, isReadable, isExecutable); } + +QUrlInfo* PythonQtWrapper_QUrlInfo::new_QUrlInfo(const QUrl& url, int permissions, const QString& owner, const QString& group, qint64 size, const QDateTime& lastModified, const QDateTime& lastRead, bool isDir, bool isFile, bool isSymLink, bool isWritable, bool isReadable, bool isExecutable) +{ +return new PythonQtShell_QUrlInfo(url, permissions, owner, group, size, lastModified, lastRead, isDir, isFile, isSymLink, isWritable, isReadable, isExecutable); } + +QUrlInfo* PythonQtWrapper_QUrlInfo::new_QUrlInfo(const QUrlInfo& ui) +{ +return new PythonQtShell_QUrlInfo(ui); } + +bool PythonQtWrapper_QUrlInfo::static_QUrlInfo_equal(const QUrlInfo& i1, const QUrlInfo& i2, int sortBy) +{ + return (QUrlInfo::equal(i1, i2, sortBy)); +} + +bool PythonQtWrapper_QUrlInfo::static_QUrlInfo_greaterThan(const QUrlInfo& i1, const QUrlInfo& i2, int sortBy) +{ + return (QUrlInfo::greaterThan(i1, i2, sortBy)); +} + +QString PythonQtWrapper_QUrlInfo::group(QUrlInfo* theWrappedObject) const +{ + return ( theWrappedObject->group()); +} + +bool PythonQtWrapper_QUrlInfo::isDir(QUrlInfo* theWrappedObject) const +{ + return ( theWrappedObject->isDir()); +} + +bool PythonQtWrapper_QUrlInfo::isExecutable(QUrlInfo* theWrappedObject) const +{ + return ( theWrappedObject->isExecutable()); +} + +bool PythonQtWrapper_QUrlInfo::isFile(QUrlInfo* theWrappedObject) const +{ + return ( theWrappedObject->isFile()); +} + +bool PythonQtWrapper_QUrlInfo::isReadable(QUrlInfo* theWrappedObject) const +{ + return ( theWrappedObject->isReadable()); +} + +bool PythonQtWrapper_QUrlInfo::isSymLink(QUrlInfo* theWrappedObject) const +{ + return ( theWrappedObject->isSymLink()); +} + +bool PythonQtWrapper_QUrlInfo::isValid(QUrlInfo* theWrappedObject) const +{ + return ( theWrappedObject->isValid()); +} + +bool PythonQtWrapper_QUrlInfo::isWritable(QUrlInfo* theWrappedObject) const +{ + return ( theWrappedObject->isWritable()); +} + +QDateTime PythonQtWrapper_QUrlInfo::lastModified(QUrlInfo* theWrappedObject) const +{ + return ( theWrappedObject->lastModified()); +} + +QDateTime PythonQtWrapper_QUrlInfo::lastRead(QUrlInfo* theWrappedObject) const +{ + return ( theWrappedObject->lastRead()); +} + +bool PythonQtWrapper_QUrlInfo::static_QUrlInfo_lessThan(const QUrlInfo& i1, const QUrlInfo& i2, int sortBy) +{ + return (QUrlInfo::lessThan(i1, i2, sortBy)); +} + +QString PythonQtWrapper_QUrlInfo::name(QUrlInfo* theWrappedObject) const +{ + return ( theWrappedObject->name()); +} + +bool PythonQtWrapper_QUrlInfo::__ne__(QUrlInfo* theWrappedObject, const QUrlInfo& i) const +{ + return ( (*theWrappedObject)!= i); +} + +bool PythonQtWrapper_QUrlInfo::__eq__(QUrlInfo* theWrappedObject, const QUrlInfo& i) const +{ + return ( (*theWrappedObject)== i); +} + +QString PythonQtWrapper_QUrlInfo::owner(QUrlInfo* theWrappedObject) const +{ + return ( theWrappedObject->owner()); +} + +int PythonQtWrapper_QUrlInfo::permissions(QUrlInfo* theWrappedObject) const +{ + return ( theWrappedObject->permissions()); +} + +void PythonQtWrapper_QUrlInfo::setDir(QUrlInfo* theWrappedObject, bool b) +{ + ( ((PythonQtPublicPromoter_QUrlInfo*)theWrappedObject)->promoted_setDir(b)); +} + +void PythonQtWrapper_QUrlInfo::setFile(QUrlInfo* theWrappedObject, bool b) +{ + ( ((PythonQtPublicPromoter_QUrlInfo*)theWrappedObject)->promoted_setFile(b)); +} + +void PythonQtWrapper_QUrlInfo::setGroup(QUrlInfo* theWrappedObject, const QString& s) +{ + ( ((PythonQtPublicPromoter_QUrlInfo*)theWrappedObject)->promoted_setGroup(s)); +} + +void PythonQtWrapper_QUrlInfo::setLastModified(QUrlInfo* theWrappedObject, const QDateTime& dt) +{ + ( ((PythonQtPublicPromoter_QUrlInfo*)theWrappedObject)->promoted_setLastModified(dt)); +} + +void PythonQtWrapper_QUrlInfo::setLastRead(QUrlInfo* theWrappedObject, const QDateTime& dt) +{ + ( theWrappedObject->setLastRead(dt)); +} + +void PythonQtWrapper_QUrlInfo::setName(QUrlInfo* theWrappedObject, const QString& name) +{ + ( ((PythonQtPublicPromoter_QUrlInfo*)theWrappedObject)->promoted_setName(name)); +} + +void PythonQtWrapper_QUrlInfo::setOwner(QUrlInfo* theWrappedObject, const QString& s) +{ + ( ((PythonQtPublicPromoter_QUrlInfo*)theWrappedObject)->promoted_setOwner(s)); +} + +void PythonQtWrapper_QUrlInfo::setPermissions(QUrlInfo* theWrappedObject, int p) +{ + ( ((PythonQtPublicPromoter_QUrlInfo*)theWrappedObject)->promoted_setPermissions(p)); +} + +void PythonQtWrapper_QUrlInfo::setReadable(QUrlInfo* theWrappedObject, bool b) +{ + ( ((PythonQtPublicPromoter_QUrlInfo*)theWrappedObject)->promoted_setReadable(b)); +} + +void PythonQtWrapper_QUrlInfo::setSize(QUrlInfo* theWrappedObject, qint64 size) +{ + ( ((PythonQtPublicPromoter_QUrlInfo*)theWrappedObject)->promoted_setSize(size)); +} + +void PythonQtWrapper_QUrlInfo::setSymLink(QUrlInfo* theWrappedObject, bool b) +{ + ( ((PythonQtPublicPromoter_QUrlInfo*)theWrappedObject)->promoted_setSymLink(b)); +} + +void PythonQtWrapper_QUrlInfo::setWritable(QUrlInfo* theWrappedObject, bool b) +{ + ( ((PythonQtPublicPromoter_QUrlInfo*)theWrappedObject)->promoted_setWritable(b)); +} + +qint64 PythonQtWrapper_QUrlInfo::size(QUrlInfo* theWrappedObject) const +{ + return ( theWrappedObject->size()); +} + + diff --git a/generated_cpp_47/com_trolltech_qt_network/com_trolltech_qt_network0.h b/generated_cpp_47/com_trolltech_qt_network/com_trolltech_qt_network0.h new file mode 100644 index 00000000..cfc85ea5 --- /dev/null +++ b/generated_cpp_47/com_trolltech_qt_network/com_trolltech_qt_network0.h @@ -0,0 +1,1424 @@ +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#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 = 0):QAbstractNetworkCache(parent),_wrapper(NULL) {}; + +virtual qint64 cacheSize() const; +virtual void childEvent(QChildEvent* arg__1); +virtual void clear(); +virtual void customEvent(QEvent* arg__1); +virtual QIODevice* data(const QUrl& url); +virtual bool event(QEvent* arg__1); +virtual bool eventFilter(QObject* arg__1, QEvent* arg__2); +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 timerEvent(QTimerEvent* arg__1); +virtual void updateMetaData(const QNetworkCacheMetaData& metaData); + + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtWrapper_QAbstractNetworkCache : public QObject +{ Q_OBJECT +public: +public slots: +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) {}; + +virtual bool atEnd() const; +virtual qint64 bytesAvailable() const; +virtual qint64 bytesToWrite() const; +virtual bool canReadLine() const; +virtual void childEvent(QChildEvent* arg__1); +virtual void close(); +virtual void customEvent(QEvent* arg__1); +virtual bool event(QEvent* arg__1); +virtual bool eventFilter(QObject* arg__1, QEvent* arg__2); +virtual bool isSequential() const; +virtual bool open(QIODevice::OpenMode mode); +virtual qint64 pos() const; +virtual qint64 readData(char* data, qint64 maxlen); +virtual qint64 readLineData(char* data, qint64 maxlen); +virtual bool reset(); +virtual bool seek(qint64 pos); +virtual qint64 size() const; +virtual void timerEvent(QTimerEvent* arg__1); +virtual bool waitForBytesWritten(int msecs = 30000); +virtual bool waitForReadyRead(int msecs = 30000); +virtual qint64 writeData(const char* data, qint64 len); + + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtPublicPromoter_QAbstractSocket : public QAbstractSocket +{ public: +inline bool promoted_atEnd() const { return QAbstractSocket::atEnd(); } +inline qint64 promoted_bytesAvailable() const { return QAbstractSocket::bytesAvailable(); } +inline qint64 promoted_bytesToWrite() const { return QAbstractSocket::bytesToWrite(); } +inline bool promoted_canReadLine() const { return QAbstractSocket::canReadLine(); } +inline void promoted_close() { QAbstractSocket::close(); } +inline bool promoted_isSequential() const { return QAbstractSocket::isSequential(); } +inline qint64 promoted_readData(char* data, qint64 maxlen) { return QAbstractSocket::readData(data, maxlen); } +inline qint64 promoted_readLineData(char* data, qint64 maxlen) { return QAbstractSocket::readLineData(data, maxlen); } +inline bool promoted_waitForBytesWritten(int msecs = 30000) { return QAbstractSocket::waitForBytesWritten(msecs); } +inline bool promoted_waitForReadyRead(int msecs = 30000) { return QAbstractSocket::waitForReadyRead(msecs); } +inline qint64 promoted_writeData(const char* data, qint64 len) { return QAbstractSocket::writeData(data, len); } +}; + +class PythonQtWrapper_QAbstractSocket : public QObject +{ Q_OBJECT +public: +Q_ENUMS(SocketType SocketError NetworkLayerProtocol SocketOption SocketState ) +enum SocketType{ + TcpSocket = QAbstractSocket::TcpSocket, UdpSocket = QAbstractSocket::UdpSocket, UnknownSocketType = QAbstractSocket::UnknownSocketType}; +enum SocketError{ + ConnectionRefusedError = QAbstractSocket::ConnectionRefusedError, RemoteHostClosedError = QAbstractSocket::RemoteHostClosedError, HostNotFoundError = QAbstractSocket::HostNotFoundError, SocketAccessError = QAbstractSocket::SocketAccessError, SocketResourceError = QAbstractSocket::SocketResourceError, SocketTimeoutError = QAbstractSocket::SocketTimeoutError, DatagramTooLargeError = QAbstractSocket::DatagramTooLargeError, NetworkError = QAbstractSocket::NetworkError, AddressInUseError = QAbstractSocket::AddressInUseError, SocketAddressNotAvailableError = QAbstractSocket::SocketAddressNotAvailableError, UnsupportedSocketOperationError = QAbstractSocket::UnsupportedSocketOperationError, UnfinishedSocketOperationError = QAbstractSocket::UnfinishedSocketOperationError, ProxyAuthenticationRequiredError = QAbstractSocket::ProxyAuthenticationRequiredError, SslHandshakeFailedError = QAbstractSocket::SslHandshakeFailedError, ProxyConnectionRefusedError = QAbstractSocket::ProxyConnectionRefusedError, ProxyConnectionClosedError = QAbstractSocket::ProxyConnectionClosedError, ProxyConnectionTimeoutError = QAbstractSocket::ProxyConnectionTimeoutError, ProxyNotFoundError = QAbstractSocket::ProxyNotFoundError, ProxyProtocolError = QAbstractSocket::ProxyProtocolError, UnknownSocketError = QAbstractSocket::UnknownSocketError}; +enum NetworkLayerProtocol{ + IPv4Protocol = QAbstractSocket::IPv4Protocol, IPv6Protocol = QAbstractSocket::IPv6Protocol, UnknownNetworkLayerProtocol = QAbstractSocket::UnknownNetworkLayerProtocol}; +enum SocketOption{ + LowDelayOption = QAbstractSocket::LowDelayOption, KeepAliveOption = QAbstractSocket::KeepAliveOption}; +enum SocketState{ + UnconnectedState = QAbstractSocket::UnconnectedState, HostLookupState = QAbstractSocket::HostLookupState, ConnectingState = QAbstractSocket::ConnectingState, ConnectedState = QAbstractSocket::ConnectedState, BoundState = QAbstractSocket::BoundState, ListeningState = QAbstractSocket::ListeningState, ClosingState = QAbstractSocket::ClosingState}; +public slots: +QAbstractSocket* new_QAbstractSocket(QAbstractSocket::SocketType socketType, QObject* parent); +void delete_QAbstractSocket(QAbstractSocket* obj) { delete obj; } + void abort(QAbstractSocket* theWrappedObject); + bool atEnd(QAbstractSocket* theWrappedObject) const; + qint64 bytesAvailable(QAbstractSocket* theWrappedObject) const; + qint64 bytesToWrite(QAbstractSocket* theWrappedObject) const; + bool canReadLine(QAbstractSocket* theWrappedObject) const; + void close(QAbstractSocket* theWrappedObject); + void connectToHost(QAbstractSocket* theWrappedObject, const QHostAddress& address, unsigned short port, QIODevice::OpenMode mode = QIODevice::ReadWrite); + void connectToHost(QAbstractSocket* theWrappedObject, const QString& hostName, unsigned short port, QIODevice::OpenMode mode = QIODevice::ReadWrite); + void disconnectFromHost(QAbstractSocket* theWrappedObject); + QAbstractSocket::SocketError error(QAbstractSocket* theWrappedObject) const; + bool flush(QAbstractSocket* theWrappedObject); + bool isSequential(QAbstractSocket* theWrappedObject) const; + bool isValid(QAbstractSocket* theWrappedObject) const; + QHostAddress localAddress(QAbstractSocket* theWrappedObject) const; + unsigned short localPort(QAbstractSocket* theWrappedObject) const; + QHostAddress peerAddress(QAbstractSocket* theWrappedObject) const; + QString peerName(QAbstractSocket* theWrappedObject) const; + unsigned short peerPort(QAbstractSocket* theWrappedObject) const; + QNetworkProxy proxy(QAbstractSocket* theWrappedObject) const; + qint64 readBufferSize(QAbstractSocket* theWrappedObject) const; + qint64 readData(QAbstractSocket* theWrappedObject, char* data, qint64 maxlen); + qint64 readLineData(QAbstractSocket* theWrappedObject, char* data, qint64 maxlen); + void setProxy(QAbstractSocket* theWrappedObject, const QNetworkProxy& networkProxy); + void setReadBufferSize(QAbstractSocket* theWrappedObject, qint64 size); + bool setSocketDescriptor(QAbstractSocket* theWrappedObject, int socketDescriptor, QAbstractSocket::SocketState state = QAbstractSocket::ConnectedState, QIODevice::OpenMode openMode = QIODevice::ReadWrite); + int socketDescriptor(QAbstractSocket* theWrappedObject) const; + QAbstractSocket::SocketType socketType(QAbstractSocket* theWrappedObject) const; + QAbstractSocket::SocketState state(QAbstractSocket* theWrappedObject) const; + bool waitForBytesWritten(QAbstractSocket* theWrappedObject, int msecs = 30000); + bool waitForConnected(QAbstractSocket* theWrappedObject, int msecs = 30000); + bool waitForDisconnected(QAbstractSocket* theWrappedObject, int msecs = 30000); + bool waitForReadyRead(QAbstractSocket* theWrappedObject, int msecs = 30000); + qint64 writeData(QAbstractSocket* theWrappedObject, const char* data, qint64 len); +}; + + + + + +class PythonQtWrapper_QAuthenticator : public QObject +{ Q_OBJECT +public: +public slots: +QAuthenticator* new_QAuthenticator(); +QAuthenticator* new_QAuthenticator(const QAuthenticator& other); +void delete_QAuthenticator(QAuthenticator* obj) { delete obj; } + bool isNull(QAuthenticator* theWrappedObject) const; + bool __ne__(QAuthenticator* theWrappedObject, const QAuthenticator& other) const; + bool __eq__(QAuthenticator* theWrappedObject, const QAuthenticator& other) const; + QString password(QAuthenticator* theWrappedObject) const; + QString realm(QAuthenticator* theWrappedObject) const; + void setPassword(QAuthenticator* theWrappedObject, const QString& password); + void setUser(QAuthenticator* theWrappedObject, const QString& user); + QString user(QAuthenticator* theWrappedObject) const; + bool __nonzero__(QAuthenticator* obj) { return !obj->isNull(); } +}; + + + + + +class PythonQtShell_QFtp : public QFtp +{ +public: + PythonQtShell_QFtp(QObject* parent = 0):QFtp(parent),_wrapper(NULL) {}; + +virtual void childEvent(QChildEvent* arg__1); +virtual void customEvent(QEvent* arg__1); +virtual bool event(QEvent* arg__1); +virtual bool eventFilter(QObject* arg__1, QEvent* arg__2); +virtual void timerEvent(QTimerEvent* arg__1); + + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtWrapper_QFtp : public QObject +{ Q_OBJECT +public: +Q_ENUMS(TransferType Error Command TransferMode State ) +enum TransferType{ + Binary = QFtp::Binary, Ascii = QFtp::Ascii}; +enum Error{ + NoError = QFtp::NoError, UnknownError = QFtp::UnknownError, HostNotFound = QFtp::HostNotFound, ConnectionRefused = QFtp::ConnectionRefused, NotConnected = QFtp::NotConnected}; +enum Command{ + None = QFtp::None, SetTransferMode = QFtp::SetTransferMode, SetProxy = QFtp::SetProxy, ConnectToHost = QFtp::ConnectToHost, Login = QFtp::Login, Close = QFtp::Close, List = QFtp::List, Cd = QFtp::Cd, Get = QFtp::Get, Put = QFtp::Put, Remove = QFtp::Remove, Mkdir = QFtp::Mkdir, Rmdir = QFtp::Rmdir, Rename = QFtp::Rename, RawCommand = QFtp::RawCommand}; +enum TransferMode{ + Active = QFtp::Active, Passive = QFtp::Passive}; +enum State{ + Unconnected = QFtp::Unconnected, HostLookup = QFtp::HostLookup, Connecting = QFtp::Connecting, Connected = QFtp::Connected, LoggedIn = QFtp::LoggedIn, Closing = QFtp::Closing}; +public slots: +QFtp* new_QFtp(QObject* parent = 0); +void delete_QFtp(QFtp* obj) { delete obj; } + qint64 bytesAvailable(QFtp* theWrappedObject) const; + int cd(QFtp* theWrappedObject, const QString& dir); + void clearPendingCommands(QFtp* theWrappedObject); + int close(QFtp* theWrappedObject); + int connectToHost(QFtp* theWrappedObject, const QString& host, unsigned short port = 21); + QFtp::Command currentCommand(QFtp* theWrappedObject) const; + QIODevice* currentDevice(QFtp* theWrappedObject) const; + int currentId(QFtp* theWrappedObject) const; + QFtp::Error error(QFtp* theWrappedObject) const; + QString errorString(QFtp* theWrappedObject) const; + int get(QFtp* theWrappedObject, const QString& file, QIODevice* dev = 0, QFtp::TransferType type = QFtp::Binary); + bool hasPendingCommands(QFtp* theWrappedObject) const; + int list(QFtp* theWrappedObject, const QString& dir = QString()); + int login(QFtp* theWrappedObject, const QString& user = QString(), const QString& password = QString()); + int mkdir(QFtp* theWrappedObject, const QString& dir); + int put(QFtp* theWrappedObject, QIODevice* dev, const QString& file, QFtp::TransferType type = QFtp::Binary); + int put(QFtp* theWrappedObject, const QByteArray& data, const QString& file, QFtp::TransferType type = QFtp::Binary); + int rawCommand(QFtp* theWrappedObject, const QString& command); + qint64 read(QFtp* theWrappedObject, char* data, qint64 maxlen); + QByteArray readAll(QFtp* theWrappedObject); + int remove(QFtp* theWrappedObject, const QString& file); + int rename(QFtp* theWrappedObject, const QString& oldname, const QString& newname); + int rmdir(QFtp* theWrappedObject, const QString& dir); + int setProxy(QFtp* theWrappedObject, const QString& host, unsigned short port); + int setTransferMode(QFtp* theWrappedObject, QFtp::TransferMode mode); + QFtp::State state(QFtp* theWrappedObject) const; +}; + + + + + +class PythonQtWrapper_QHostAddress : public QObject +{ Q_OBJECT +public: +Q_ENUMS(SpecialAddress ) +enum SpecialAddress{ + Null = QHostAddress::Null, Broadcast = QHostAddress::Broadcast, LocalHost = QHostAddress::LocalHost, LocalHostIPv6 = QHostAddress::LocalHostIPv6, Any = QHostAddress::Any, AnyIPv6 = QHostAddress::AnyIPv6}; +public slots: +QHostAddress* new_QHostAddress(); +QHostAddress* new_QHostAddress(QHostAddress::SpecialAddress address); +QHostAddress* new_QHostAddress(const QHostAddress& copy); +QHostAddress* new_QHostAddress(const QIPv6Address& ip6Addr); +QHostAddress* new_QHostAddress(const QString& address); +QHostAddress* new_QHostAddress(unsigned int ip4Addr); +void delete_QHostAddress(QHostAddress* obj) { delete obj; } + void clear(QHostAddress* theWrappedObject); + bool isInSubnet(QHostAddress* theWrappedObject, const QHostAddress& subnet, int netmask) const; + bool isInSubnet(QHostAddress* theWrappedObject, const QPair& subnet) const; + bool isNull(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); + 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, const QIPv6Address& ip6Addr); + bool setAddress(QHostAddress* theWrappedObject, const QString& address); + void setAddress(QHostAddress* theWrappedObject, unsigned int ip4Addr); + void setScopeId(QHostAddress* theWrappedObject, const QString& id); + unsigned int toIPv4Address(QHostAddress* theWrappedObject) 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: +Q_ENUMS(HostInfoError ) +enum HostInfoError{ + NoError = QHostInfo::NoError, HostNotFound = QHostInfo::HostNotFound, UnknownError = QHostInfo::UnknownError}; +public slots: +QHostInfo* new_QHostInfo(const QHostInfo& d); +QHostInfo* new_QHostInfo(int lookupId = -1); +void delete_QHostInfo(QHostInfo* obj) { delete obj; } + 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); +}; + + + + + +class PythonQtShell_QHttp : public QHttp +{ +public: + PythonQtShell_QHttp(QObject* parent = 0):QHttp(parent),_wrapper(NULL) {}; + PythonQtShell_QHttp(const QString& hostname, QHttp::ConnectionMode mode, unsigned short port = 0, QObject* parent = 0):QHttp(hostname, mode, port, parent),_wrapper(NULL) {}; + PythonQtShell_QHttp(const QString& hostname, unsigned short port = 80, QObject* parent = 0):QHttp(hostname, port, parent),_wrapper(NULL) {}; + +virtual void childEvent(QChildEvent* arg__1); +virtual void customEvent(QEvent* arg__1); +virtual bool event(QEvent* arg__1); +virtual bool eventFilter(QObject* arg__1, QEvent* arg__2); +virtual void timerEvent(QTimerEvent* arg__1); + + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtWrapper_QHttp : public QObject +{ Q_OBJECT +public: +Q_ENUMS(Error ConnectionMode State ) +enum Error{ + NoError = QHttp::NoError, UnknownError = QHttp::UnknownError, HostNotFound = QHttp::HostNotFound, ConnectionRefused = QHttp::ConnectionRefused, UnexpectedClose = QHttp::UnexpectedClose, InvalidResponseHeader = QHttp::InvalidResponseHeader, WrongContentLength = QHttp::WrongContentLength, Aborted = QHttp::Aborted, AuthenticationRequiredError = QHttp::AuthenticationRequiredError, ProxyAuthenticationRequiredError = QHttp::ProxyAuthenticationRequiredError}; +enum ConnectionMode{ + ConnectionModeHttp = QHttp::ConnectionModeHttp, ConnectionModeHttps = QHttp::ConnectionModeHttps}; +enum State{ + Unconnected = QHttp::Unconnected, HostLookup = QHttp::HostLookup, Connecting = QHttp::Connecting, Sending = QHttp::Sending, Reading = QHttp::Reading, Connected = QHttp::Connected, Closing = QHttp::Closing}; +public slots: +QHttp* new_QHttp(QObject* parent = 0); +QHttp* new_QHttp(const QString& hostname, QHttp::ConnectionMode mode, unsigned short port = 0, QObject* parent = 0); +QHttp* new_QHttp(const QString& hostname, unsigned short port = 80, QObject* parent = 0); +void delete_QHttp(QHttp* obj) { delete obj; } + qint64 bytesAvailable(QHttp* theWrappedObject) const; + void clearPendingRequests(QHttp* theWrappedObject); + int close(QHttp* theWrappedObject); + QIODevice* currentDestinationDevice(QHttp* theWrappedObject) const; + int currentId(QHttp* theWrappedObject) const; + QHttpRequestHeader currentRequest(QHttp* theWrappedObject) const; + QIODevice* currentSourceDevice(QHttp* theWrappedObject) const; + QHttp::Error error(QHttp* theWrappedObject) const; + QString errorString(QHttp* theWrappedObject) const; + int get(QHttp* theWrappedObject, const QString& path, QIODevice* to = 0); + bool hasPendingRequests(QHttp* theWrappedObject) const; + int head(QHttp* theWrappedObject, const QString& path); + QHttpResponseHeader lastResponse(QHttp* theWrappedObject) const; + int post(QHttp* theWrappedObject, const QString& path, QIODevice* data, QIODevice* to = 0); + int post(QHttp* theWrappedObject, const QString& path, const QByteArray& data, QIODevice* to = 0); + qint64 read(QHttp* theWrappedObject, char* data, qint64 maxlen); + QByteArray readAll(QHttp* theWrappedObject); + int request(QHttp* theWrappedObject, const QHttpRequestHeader& header, QIODevice* device = 0, QIODevice* to = 0); + int request(QHttp* theWrappedObject, const QHttpRequestHeader& header, const QByteArray& data, QIODevice* to = 0); + int setHost(QHttp* theWrappedObject, const QString& hostname, QHttp::ConnectionMode mode, unsigned short port = 0); + int setHost(QHttp* theWrappedObject, const QString& hostname, unsigned short port = 80); + int setProxy(QHttp* theWrappedObject, const QNetworkProxy& proxy); + int setProxy(QHttp* theWrappedObject, const QString& host, int port, const QString& username = QString(), const QString& password = QString()); + int setSocket(QHttp* theWrappedObject, QTcpSocket* socket); + int setUser(QHttp* theWrappedObject, const QString& username, const QString& password = QString()); + QHttp::State state(QHttp* theWrappedObject) const; +}; + + + + + +class PythonQtShell_QHttpHeader : public QHttpHeader +{ +public: + PythonQtShell_QHttpHeader():QHttpHeader(),_wrapper(NULL) {}; + PythonQtShell_QHttpHeader(const QString& str):QHttpHeader(str),_wrapper(NULL) {}; + +virtual int majorVersion() const; +virtual int minorVersion() const; +virtual bool parseLine(const QString& line, int number); +virtual QString toString() const; + + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtPublicPromoter_QHttpHeader : public QHttpHeader +{ public: +inline bool promoted_parseLine(const QString& line, int number) { return QHttpHeader::parseLine(line, number); } +inline QString promoted_toString() const { return QHttpHeader::toString(); } +}; + +class PythonQtWrapper_QHttpHeader : public QObject +{ Q_OBJECT +public: +public slots: +QHttpHeader* new_QHttpHeader(); +QHttpHeader* new_QHttpHeader(const QString& str); +void delete_QHttpHeader(QHttpHeader* obj) { delete obj; } + void addValue(QHttpHeader* theWrappedObject, const QString& key, const QString& value); + QStringList allValues(QHttpHeader* theWrappedObject, const QString& key) const; + uint contentLength(QHttpHeader* theWrappedObject) const; + QString contentType(QHttpHeader* theWrappedObject) const; + bool hasContentLength(QHttpHeader* theWrappedObject) const; + bool hasContentType(QHttpHeader* theWrappedObject) const; + bool hasKey(QHttpHeader* theWrappedObject, const QString& key) const; + bool isValid(QHttpHeader* theWrappedObject) const; + QStringList keys(QHttpHeader* theWrappedObject) const; + bool parseLine(QHttpHeader* theWrappedObject, const QString& line, int number); + void removeAllValues(QHttpHeader* theWrappedObject, const QString& key); + void removeValue(QHttpHeader* theWrappedObject, const QString& key); + void setContentLength(QHttpHeader* theWrappedObject, int len); + void setContentType(QHttpHeader* theWrappedObject, const QString& type); + void setValue(QHttpHeader* theWrappedObject, const QString& key, const QString& value); + void setValues(QHttpHeader* theWrappedObject, const QList >& values); + QString toString(QHttpHeader* theWrappedObject) const; + QString value(QHttpHeader* theWrappedObject, const QString& key) const; + QList > values(QHttpHeader* theWrappedObject) const; + QString py_toString(QHttpHeader*); +}; + + + + + +class PythonQtShell_QHttpRequestHeader : public QHttpRequestHeader +{ +public: + PythonQtShell_QHttpRequestHeader():QHttpRequestHeader(),_wrapper(NULL) {}; + PythonQtShell_QHttpRequestHeader(const QHttpRequestHeader& header):QHttpRequestHeader(header),_wrapper(NULL) {}; + PythonQtShell_QHttpRequestHeader(const QString& method, const QString& path, int majorVer = 1, int minorVer = 1):QHttpRequestHeader(method, path, majorVer, minorVer),_wrapper(NULL) {}; + PythonQtShell_QHttpRequestHeader(const QString& str):QHttpRequestHeader(str),_wrapper(NULL) {}; + +virtual int majorVersion() const; +virtual int minorVersion() const; +virtual bool parseLine(const QString& line, int number); +virtual QString toString() const; + + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtPublicPromoter_QHttpRequestHeader : public QHttpRequestHeader +{ public: +inline int promoted_majorVersion() const { return QHttpRequestHeader::majorVersion(); } +inline int promoted_minorVersion() const { return QHttpRequestHeader::minorVersion(); } +inline bool promoted_parseLine(const QString& line, int number) { return QHttpRequestHeader::parseLine(line, number); } +inline QString promoted_toString() const { return QHttpRequestHeader::toString(); } +}; + +class PythonQtWrapper_QHttpRequestHeader : public QObject +{ Q_OBJECT +public: +public slots: +QHttpRequestHeader* new_QHttpRequestHeader(); +QHttpRequestHeader* new_QHttpRequestHeader(const QHttpRequestHeader& header); +QHttpRequestHeader* new_QHttpRequestHeader(const QString& method, const QString& path, int majorVer = 1, int minorVer = 1); +QHttpRequestHeader* new_QHttpRequestHeader(const QString& str); +void delete_QHttpRequestHeader(QHttpRequestHeader* obj) { delete obj; } + int majorVersion(QHttpRequestHeader* theWrappedObject) const; + QString method(QHttpRequestHeader* theWrappedObject) const; + int minorVersion(QHttpRequestHeader* theWrappedObject) const; + bool parseLine(QHttpRequestHeader* theWrappedObject, const QString& line, int number); + QString path(QHttpRequestHeader* theWrappedObject) const; + void setRequest(QHttpRequestHeader* theWrappedObject, const QString& method, const QString& path, int majorVer = 1, int minorVer = 1); + QString toString(QHttpRequestHeader* theWrappedObject) const; + QString py_toString(QHttpRequestHeader*); +}; + + + + + +class PythonQtShell_QHttpResponseHeader : public QHttpResponseHeader +{ +public: + PythonQtShell_QHttpResponseHeader():QHttpResponseHeader(),_wrapper(NULL) {}; + PythonQtShell_QHttpResponseHeader(const QHttpResponseHeader& header):QHttpResponseHeader(header),_wrapper(NULL) {}; + PythonQtShell_QHttpResponseHeader(const QString& str):QHttpResponseHeader(str),_wrapper(NULL) {}; + PythonQtShell_QHttpResponseHeader(int code, const QString& text = QString(), int majorVer = 1, int minorVer = 1):QHttpResponseHeader(code, text, majorVer, minorVer),_wrapper(NULL) {}; + +virtual int majorVersion() const; +virtual int minorVersion() const; +virtual bool parseLine(const QString& line, int number); +virtual QString toString() const; + + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtPublicPromoter_QHttpResponseHeader : public QHttpResponseHeader +{ public: +inline int promoted_majorVersion() const { return QHttpResponseHeader::majorVersion(); } +inline int promoted_minorVersion() const { return QHttpResponseHeader::minorVersion(); } +inline bool promoted_parseLine(const QString& line, int number) { return QHttpResponseHeader::parseLine(line, number); } +inline QString promoted_toString() const { return QHttpResponseHeader::toString(); } +}; + +class PythonQtWrapper_QHttpResponseHeader : public QObject +{ Q_OBJECT +public: +public slots: +QHttpResponseHeader* new_QHttpResponseHeader(); +QHttpResponseHeader* new_QHttpResponseHeader(const QHttpResponseHeader& header); +QHttpResponseHeader* new_QHttpResponseHeader(const QString& str); +QHttpResponseHeader* new_QHttpResponseHeader(int code, const QString& text = QString(), int majorVer = 1, int minorVer = 1); +void delete_QHttpResponseHeader(QHttpResponseHeader* obj) { delete obj; } + int majorVersion(QHttpResponseHeader* theWrappedObject) const; + int minorVersion(QHttpResponseHeader* theWrappedObject) const; + bool parseLine(QHttpResponseHeader* theWrappedObject, const QString& line, int number); + QString reasonPhrase(QHttpResponseHeader* theWrappedObject) const; + void setStatusLine(QHttpResponseHeader* theWrappedObject, int code, const QString& text = QString(), int majorVer = 1, int minorVer = 1); + int statusCode(QHttpResponseHeader* theWrappedObject) const; + QString toString(QHttpResponseHeader* theWrappedObject) const; + QString py_toString(QHttpResponseHeader*); +}; + + + + + +class PythonQtShell_QIPv6Address : public QIPv6Address +{ +public: + PythonQtShell_QIPv6Address():QIPv6Address(),_wrapper(NULL) {}; + + + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtWrapper_QIPv6Address : public QObject +{ Q_OBJECT +public: +public slots: +QIPv6Address* new_QIPv6Address(); +QIPv6Address* new_QIPv6Address(const QIPv6Address& other) { +PythonQtShell_QIPv6Address* a = new PythonQtShell_QIPv6Address(); +*((QIPv6Address*)a) = other; +return a; } +void delete_QIPv6Address(QIPv6Address* obj) { delete obj; } +}; + + + + + +class PythonQtShell_QLocalServer : public QLocalServer +{ +public: + PythonQtShell_QLocalServer(QObject* parent = 0):QLocalServer(parent),_wrapper(NULL) {}; + +virtual void childEvent(QChildEvent* arg__1); +virtual void customEvent(QEvent* arg__1); +virtual bool event(QEvent* arg__1); +virtual bool eventFilter(QObject* arg__1, QEvent* arg__2); +virtual bool hasPendingConnections() const; +virtual void incomingConnection(quintptr socketDescriptor); +virtual QLocalSocket* nextPendingConnection(); +virtual void timerEvent(QTimerEvent* arg__1); + + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtPublicPromoter_QLocalServer : public QLocalServer +{ public: +inline bool promoted_hasPendingConnections() const { return QLocalServer::hasPendingConnections(); } +inline void promoted_incomingConnection(quintptr socketDescriptor) { QLocalServer::incomingConnection(socketDescriptor); } +inline QLocalSocket* promoted_nextPendingConnection() { return QLocalServer::nextPendingConnection(); } +}; + +class PythonQtWrapper_QLocalServer : public QObject +{ Q_OBJECT +public: +public slots: +QLocalServer* new_QLocalServer(QObject* parent = 0); +void delete_QLocalServer(QLocalServer* obj) { delete obj; } + void close(QLocalServer* theWrappedObject); + QString errorString(QLocalServer* theWrappedObject) const; + QString fullServerName(QLocalServer* theWrappedObject) const; + bool hasPendingConnections(QLocalServer* theWrappedObject) const; + void incomingConnection(QLocalServer* theWrappedObject, quintptr socketDescriptor); + bool isListening(QLocalServer* theWrappedObject) const; + bool listen(QLocalServer* theWrappedObject, const QString& name); + int maxPendingConnections(QLocalServer* theWrappedObject) const; + QLocalSocket* nextPendingConnection(QLocalServer* theWrappedObject); + bool static_QLocalServer_removeServer(const QString& name); + QAbstractSocket::SocketError serverError(QLocalServer* theWrappedObject) const; + QString serverName(QLocalServer* theWrappedObject) const; + void setMaxPendingConnections(QLocalServer* theWrappedObject, int numConnections); + bool waitForNewConnection(QLocalServer* theWrappedObject, int msec = 0, bool* timedOut = 0); +}; + + + + + +class PythonQtShell_QLocalSocket : public QLocalSocket +{ +public: + PythonQtShell_QLocalSocket(QObject* parent = 0):QLocalSocket(parent),_wrapper(NULL) {}; + +virtual bool atEnd() const; +virtual qint64 bytesAvailable() const; +virtual qint64 bytesToWrite() const; +virtual bool canReadLine() const; +virtual void childEvent(QChildEvent* arg__1); +virtual void close(); +virtual void customEvent(QEvent* arg__1); +virtual bool event(QEvent* arg__1); +virtual bool eventFilter(QObject* arg__1, QEvent* arg__2); +virtual bool isSequential() const; +virtual bool open(QIODevice::OpenMode mode); +virtual qint64 pos() const; +virtual qint64 readData(char* arg__1, qint64 arg__2); +virtual qint64 readLineData(char* data, qint64 maxlen); +virtual bool reset(); +virtual bool seek(qint64 pos); +virtual qint64 size() const; +virtual void timerEvent(QTimerEvent* arg__1); +virtual bool waitForBytesWritten(int msecs = 30000); +virtual bool waitForReadyRead(int msecs = 30000); +virtual qint64 writeData(const char* arg__1, qint64 arg__2); + + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtPublicPromoter_QLocalSocket : public QLocalSocket +{ public: +inline qint64 promoted_bytesAvailable() const { return QLocalSocket::bytesAvailable(); } +inline qint64 promoted_bytesToWrite() const { return QLocalSocket::bytesToWrite(); } +inline bool promoted_canReadLine() const { return QLocalSocket::canReadLine(); } +inline void promoted_close() { QLocalSocket::close(); } +inline bool promoted_isSequential() const { return QLocalSocket::isSequential(); } +inline qint64 promoted_readData(char* arg__1, qint64 arg__2) { return QLocalSocket::readData(arg__1, arg__2); } +inline bool promoted_waitForBytesWritten(int msecs = 30000) { return QLocalSocket::waitForBytesWritten(msecs); } +inline bool promoted_waitForReadyRead(int msecs = 30000) { return QLocalSocket::waitForReadyRead(msecs); } +inline qint64 promoted_writeData(const char* arg__1, qint64 arg__2) { return QLocalSocket::writeData(arg__1, arg__2); } +}; + +class PythonQtWrapper_QLocalSocket : public QObject +{ Q_OBJECT +public: +Q_ENUMS(LocalSocketState LocalSocketError ) +enum LocalSocketState{ + UnconnectedState = QLocalSocket::UnconnectedState, ConnectingState = QLocalSocket::ConnectingState, ConnectedState = QLocalSocket::ConnectedState, ClosingState = QLocalSocket::ClosingState}; +enum LocalSocketError{ + ConnectionRefusedError = QLocalSocket::ConnectionRefusedError, PeerClosedError = QLocalSocket::PeerClosedError, ServerNotFoundError = QLocalSocket::ServerNotFoundError, SocketAccessError = QLocalSocket::SocketAccessError, SocketResourceError = QLocalSocket::SocketResourceError, SocketTimeoutError = QLocalSocket::SocketTimeoutError, DatagramTooLargeError = QLocalSocket::DatagramTooLargeError, ConnectionError = QLocalSocket::ConnectionError, UnsupportedSocketOperationError = QLocalSocket::UnsupportedSocketOperationError, UnknownSocketError = QLocalSocket::UnknownSocketError}; +public slots: +QLocalSocket* new_QLocalSocket(QObject* parent = 0); +void delete_QLocalSocket(QLocalSocket* obj) { delete obj; } + void abort(QLocalSocket* theWrappedObject); + qint64 bytesAvailable(QLocalSocket* theWrappedObject) const; + qint64 bytesToWrite(QLocalSocket* theWrappedObject) const; + bool canReadLine(QLocalSocket* theWrappedObject) const; + void close(QLocalSocket* theWrappedObject); + void connectToServer(QLocalSocket* theWrappedObject, const QString& name, QIODevice::OpenMode openMode = QIODevice::ReadWrite); + void disconnectFromServer(QLocalSocket* theWrappedObject); + QLocalSocket::LocalSocketError error(QLocalSocket* theWrappedObject) const; + bool flush(QLocalSocket* theWrappedObject); + QString fullServerName(QLocalSocket* theWrappedObject) const; + bool isSequential(QLocalSocket* theWrappedObject) const; + bool isValid(QLocalSocket* theWrappedObject) const; + qint64 readBufferSize(QLocalSocket* theWrappedObject) const; + qint64 readData(QLocalSocket* theWrappedObject, char* arg__1, qint64 arg__2); + QString serverName(QLocalSocket* theWrappedObject) const; + void setReadBufferSize(QLocalSocket* theWrappedObject, qint64 size); + bool setSocketDescriptor(QLocalSocket* theWrappedObject, quintptr socketDescriptor, QLocalSocket::LocalSocketState socketState = QLocalSocket::ConnectedState, QIODevice::OpenMode openMode = QIODevice::ReadWrite); + quintptr socketDescriptor(QLocalSocket* theWrappedObject) const; + QLocalSocket::LocalSocketState state(QLocalSocket* theWrappedObject) const; + bool waitForBytesWritten(QLocalSocket* theWrappedObject, int msecs = 30000); + bool waitForConnected(QLocalSocket* theWrappedObject, int msecs = 30000); + bool waitForDisconnected(QLocalSocket* theWrappedObject, int msecs = 30000); + bool waitForReadyRead(QLocalSocket* theWrappedObject, int msecs = 30000); + qint64 writeData(QLocalSocket* theWrappedObject, const char* arg__1, qint64 arg__2); +}; + + + + + +class PythonQtShell_QNetworkAccessManager : public QNetworkAccessManager +{ +public: + PythonQtShell_QNetworkAccessManager(QObject* parent = 0):QNetworkAccessManager(parent),_wrapper(NULL) {}; + +virtual void childEvent(QChildEvent* arg__1); +virtual QNetworkReply* createRequest(QNetworkAccessManager::Operation op, const QNetworkRequest& request, QIODevice* outgoingData = 0); +virtual void customEvent(QEvent* arg__1); +virtual bool event(QEvent* arg__1); +virtual bool eventFilter(QObject* arg__1, QEvent* arg__2); +virtual void timerEvent(QTimerEvent* arg__1); + + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtPublicPromoter_QNetworkAccessManager : public QNetworkAccessManager +{ public: +inline QNetworkReply* promoted_createRequest(QNetworkAccessManager::Operation op, const QNetworkRequest& request, QIODevice* outgoingData = 0) { return QNetworkAccessManager::createRequest(op, request, outgoingData); } +}; + +class PythonQtWrapper_QNetworkAccessManager : public QObject +{ Q_OBJECT +public: +Q_ENUMS(Operation ) +enum Operation{ + HeadOperation = QNetworkAccessManager::HeadOperation, GetOperation = QNetworkAccessManager::GetOperation, PutOperation = QNetworkAccessManager::PutOperation, PostOperation = QNetworkAccessManager::PostOperation, DeleteOperation = QNetworkAccessManager::DeleteOperation, UnknownOperation = QNetworkAccessManager::UnknownOperation}; +public slots: +QNetworkAccessManager* new_QNetworkAccessManager(QObject* parent = 0); +void delete_QNetworkAccessManager(QNetworkAccessManager* obj) { delete obj; } + QAbstractNetworkCache* cache(QNetworkAccessManager* theWrappedObject) const; + QNetworkCookieJar* cookieJar(QNetworkAccessManager* theWrappedObject) const; + QNetworkReply* createRequest(QNetworkAccessManager* theWrappedObject, QNetworkAccessManager::Operation op, const QNetworkRequest& request, QIODevice* outgoingData = 0); + QNetworkReply* deleteResource(QNetworkAccessManager* theWrappedObject, const QNetworkRequest& request); + QNetworkReply* get(QNetworkAccessManager* theWrappedObject, const QNetworkRequest& request); + QNetworkReply* head(QNetworkAccessManager* theWrappedObject, const QNetworkRequest& request); + QNetworkReply* post(QNetworkAccessManager* theWrappedObject, const QNetworkRequest& request, QIODevice* data); + QNetworkReply* post(QNetworkAccessManager* theWrappedObject, const QNetworkRequest& request, const QByteArray& data); + QNetworkProxy proxy(QNetworkAccessManager* theWrappedObject) const; + QNetworkProxyFactory* proxyFactory(QNetworkAccessManager* theWrappedObject) const; + QNetworkReply* put(QNetworkAccessManager* theWrappedObject, const QNetworkRequest& request, QIODevice* data); + QNetworkReply* put(QNetworkAccessManager* theWrappedObject, const QNetworkRequest& request, const QByteArray& data); + void setCache(QNetworkAccessManager* theWrappedObject, QAbstractNetworkCache* cache); + void setCookieJar(QNetworkAccessManager* theWrappedObject, QNetworkCookieJar* cookieJar); + void setProxy(QNetworkAccessManager* theWrappedObject, const QNetworkProxy& proxy); + void setProxyFactory(QNetworkAccessManager* theWrappedObject, QNetworkProxyFactory* factory); +}; + + + + + +class PythonQtWrapper_QNetworkAddressEntry : public QObject +{ Q_OBJECT +public: +public slots: +QNetworkAddressEntry* new_QNetworkAddressEntry(); +QNetworkAddressEntry* new_QNetworkAddressEntry(const QNetworkAddressEntry& other); +void delete_QNetworkAddressEntry(QNetworkAddressEntry* obj) { delete obj; } + QHostAddress broadcast(QNetworkAddressEntry* theWrappedObject) const; + QHostAddress ip(QNetworkAddressEntry* theWrappedObject) const; + QHostAddress netmask(QNetworkAddressEntry* theWrappedObject) const; + bool __ne__(QNetworkAddressEntry* theWrappedObject, const QNetworkAddressEntry& other) const; + bool __eq__(QNetworkAddressEntry* theWrappedObject, const QNetworkAddressEntry& other) const; + int prefixLength(QNetworkAddressEntry* theWrappedObject) const; + void setBroadcast(QNetworkAddressEntry* theWrappedObject, const QHostAddress& newBroadcast); + void setIp(QNetworkAddressEntry* theWrappedObject, const QHostAddress& newIp); + void setNetmask(QNetworkAddressEntry* theWrappedObject, const QHostAddress& newNetmask); + void setPrefixLength(QNetworkAddressEntry* theWrappedObject, int length); +}; + + + + + +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); + QUrl url(QNetworkCacheMetaData* theWrappedObject) const; +}; + + + + + +class PythonQtWrapper_QNetworkCookie : public QObject +{ Q_OBJECT +public: +Q_ENUMS(RawForm ) +enum RawForm{ + NameAndValueOnly = QNetworkCookie::NameAndValueOnly, Full = QNetworkCookie::Full}; +public slots: +QNetworkCookie* new_QNetworkCookie(const QByteArray& name = QByteArray(), const QByteArray& value = QByteArray()); +QNetworkCookie* new_QNetworkCookie(const QNetworkCookie& other); +void delete_QNetworkCookie(QNetworkCookie* obj) { delete obj; } + QString domain(QNetworkCookie* theWrappedObject) const; + QDateTime expirationDate(QNetworkCookie* theWrappedObject) const; + bool isHttpOnly(QNetworkCookie* theWrappedObject) const; + bool isSecure(QNetworkCookie* theWrappedObject) const; + bool isSessionCookie(QNetworkCookie* theWrappedObject) const; + QByteArray name(QNetworkCookie* theWrappedObject) const; + 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); + QByteArray toRawForm(QNetworkCookie* theWrappedObject, QNetworkCookie::RawForm form = QNetworkCookie::Full) const; + QByteArray value(QNetworkCookie* theWrappedObject) const; + QString py_toString(QNetworkCookie*); +}; + + + + + +class PythonQtShell_QNetworkCookieJar : public QNetworkCookieJar +{ +public: + PythonQtShell_QNetworkCookieJar(QObject* parent = 0):QNetworkCookieJar(parent),_wrapper(NULL) {}; + +virtual void childEvent(QChildEvent* arg__1); +virtual QList cookiesForUrl(const QUrl& url) const; +virtual void customEvent(QEvent* arg__1); +virtual bool event(QEvent* arg__1); +virtual bool eventFilter(QObject* arg__1, QEvent* arg__2); +virtual bool setCookiesFromUrl(const QList& cookieList, const QUrl& url); +virtual void timerEvent(QTimerEvent* arg__1); + + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtPublicPromoter_QNetworkCookieJar : public QNetworkCookieJar +{ public: +inline QList promoted_cookiesForUrl(const QUrl& url) const { return QNetworkCookieJar::cookiesForUrl(url); } +inline bool promoted_setCookiesFromUrl(const QList& cookieList, const QUrl& url) { return QNetworkCookieJar::setCookiesFromUrl(cookieList, url); } +}; + +class PythonQtWrapper_QNetworkCookieJar : public QObject +{ Q_OBJECT +public: +public slots: +QNetworkCookieJar* new_QNetworkCookieJar(QObject* parent = 0); +void delete_QNetworkCookieJar(QNetworkCookieJar* obj) { delete obj; } + QList cookiesForUrl(QNetworkCookieJar* theWrappedObject, const QUrl& url) const; + bool setCookiesFromUrl(QNetworkCookieJar* theWrappedObject, const QList& cookieList, const QUrl& url); +}; + + + + + +class PythonQtShell_QNetworkDiskCache : public QNetworkDiskCache +{ +public: + PythonQtShell_QNetworkDiskCache(QObject* parent = 0):QNetworkDiskCache(parent),_wrapper(NULL) {}; + +virtual qint64 cacheSize() const; +virtual void childEvent(QChildEvent* arg__1); +virtual void clear(); +virtual void customEvent(QEvent* arg__1); +virtual QIODevice* data(const QUrl& url); +virtual bool event(QEvent* arg__1); +virtual bool eventFilter(QObject* arg__1, QEvent* arg__2); +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 timerEvent(QTimerEvent* arg__1); +virtual void updateMetaData(const QNetworkCacheMetaData& metaData); + + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtPublicPromoter_QNetworkDiskCache : public QNetworkDiskCache +{ public: +inline qint64 promoted_cacheSize() const { return QNetworkDiskCache::cacheSize(); } +inline void promoted_clear() { QNetworkDiskCache::clear(); } +inline QIODevice* promoted_data(const QUrl& url) { return QNetworkDiskCache::data(url); } +inline qint64 promoted_expire() { return QNetworkDiskCache::expire(); } +inline void promoted_insert(QIODevice* device) { QNetworkDiskCache::insert(device); } +inline QNetworkCacheMetaData promoted_metaData(const QUrl& url) { return QNetworkDiskCache::metaData(url); } +inline QIODevice* promoted_prepare(const QNetworkCacheMetaData& metaData) { return QNetworkDiskCache::prepare(metaData); } +inline bool promoted_remove(const QUrl& url) { return QNetworkDiskCache::remove(url); } +inline void promoted_updateMetaData(const QNetworkCacheMetaData& metaData) { QNetworkDiskCache::updateMetaData(metaData); } +}; + +class PythonQtWrapper_QNetworkDiskCache : public QObject +{ Q_OBJECT +public: +public slots: +QNetworkDiskCache* new_QNetworkDiskCache(QObject* parent = 0); +void delete_QNetworkDiskCache(QNetworkDiskCache* obj) { delete obj; } + QString cacheDirectory(QNetworkDiskCache* theWrappedObject) const; + qint64 cacheSize(QNetworkDiskCache* theWrappedObject) const; + QIODevice* data(QNetworkDiskCache* theWrappedObject, const QUrl& url); + qint64 expire(QNetworkDiskCache* theWrappedObject); + QNetworkCacheMetaData fileMetaData(QNetworkDiskCache* theWrappedObject, const QString& fileName) const; + void insert(QNetworkDiskCache* theWrappedObject, QIODevice* device); + qint64 maximumCacheSize(QNetworkDiskCache* theWrappedObject) const; + QNetworkCacheMetaData metaData(QNetworkDiskCache* theWrappedObject, const QUrl& url); + QIODevice* prepare(QNetworkDiskCache* theWrappedObject, const QNetworkCacheMetaData& metaData); + bool remove(QNetworkDiskCache* theWrappedObject, const QUrl& url); + void setCacheDirectory(QNetworkDiskCache* theWrappedObject, const QString& cacheDir); + void setMaximumCacheSize(QNetworkDiskCache* theWrappedObject, qint64 size); + void updateMetaData(QNetworkDiskCache* theWrappedObject, const QNetworkCacheMetaData& metaData); +}; + + + + + +class PythonQtWrapper_QNetworkInterface : public QObject +{ Q_OBJECT +public: +Q_ENUMS(InterfaceFlag ) +Q_FLAGS(InterfaceFlags ) +enum InterfaceFlag{ + IsUp = QNetworkInterface::IsUp, IsRunning = QNetworkInterface::IsRunning, CanBroadcast = QNetworkInterface::CanBroadcast, IsLoopBack = QNetworkInterface::IsLoopBack, IsPointToPoint = QNetworkInterface::IsPointToPoint, CanMulticast = QNetworkInterface::CanMulticast}; +Q_DECLARE_FLAGS(InterfaceFlags, InterfaceFlag) +public slots: +QNetworkInterface* new_QNetworkInterface(); +QNetworkInterface* new_QNetworkInterface(const QNetworkInterface& other); +void delete_QNetworkInterface(QNetworkInterface* obj) { delete obj; } + QList 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); + bool isValid(QNetworkInterface* theWrappedObject) const; + QString name(QNetworkInterface* theWrappedObject) const; + QString py_toString(QNetworkInterface*); +}; + + + + + +class PythonQtWrapper_QNetworkProxy : public QObject +{ Q_OBJECT +public: +Q_ENUMS(ProxyType Capability ) +Q_FLAGS(Capabilities ) +enum ProxyType{ + DefaultProxy = QNetworkProxy::DefaultProxy, Socks5Proxy = QNetworkProxy::Socks5Proxy, NoProxy = QNetworkProxy::NoProxy, HttpProxy = QNetworkProxy::HttpProxy, HttpCachingProxy = QNetworkProxy::HttpCachingProxy, FtpCachingProxy = QNetworkProxy::FtpCachingProxy}; +enum Capability{ + TunnelingCapability = QNetworkProxy::TunnelingCapability, ListeningCapability = QNetworkProxy::ListeningCapability, UdpTunnelingCapability = QNetworkProxy::UdpTunnelingCapability, CachingCapability = QNetworkProxy::CachingCapability, HostNameLookupCapability = QNetworkProxy::HostNameLookupCapability}; +Q_DECLARE_FLAGS(Capabilities, Capability) +public slots: +QNetworkProxy* new_QNetworkProxy(); +QNetworkProxy* new_QNetworkProxy(QNetworkProxy::ProxyType type, const QString& hostName = QString(), unsigned short port = 0, const QString& user = QString(), const QString& password = QString()); +QNetworkProxy* new_QNetworkProxy(const QNetworkProxy& other); +void delete_QNetworkProxy(QNetworkProxy* obj) { delete obj; } + QNetworkProxy static_QNetworkProxy_applicationProxy(); + QNetworkProxy::Capabilities capabilities(QNetworkProxy* theWrappedObject) 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; + void static_QNetworkProxy_setApplicationProxy(const QNetworkProxy& proxy); + void setCapabilities(QNetworkProxy* theWrappedObject, QNetworkProxy::Capabilities capab); + void setHostName(QNetworkProxy* theWrappedObject, const QString& hostName); + void setPassword(QNetworkProxy* theWrappedObject, const QString& password); + void setPort(QNetworkProxy* theWrappedObject, unsigned short port); + void setType(QNetworkProxy* theWrappedObject, QNetworkProxy::ProxyType type); + void setUser(QNetworkProxy* theWrappedObject, const QString& userName); + QNetworkProxy::ProxyType type(QNetworkProxy* theWrappedObject) const; + QString user(QNetworkProxy* theWrappedObject) const; +}; + + + + + +class PythonQtShell_QNetworkProxyFactory : public QNetworkProxyFactory +{ +public: + PythonQtShell_QNetworkProxyFactory():QNetworkProxyFactory(),_wrapper(NULL) {}; + +virtual QList queryProxy(const QNetworkProxyQuery& query = QNetworkProxyQuery()); + + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtWrapper_QNetworkProxyFactory : public QObject +{ Q_OBJECT +public: +public slots: +QNetworkProxyFactory* new_QNetworkProxyFactory(); +void delete_QNetworkProxyFactory(QNetworkProxyFactory* obj) { delete obj; } + QList static_QNetworkProxyFactory_proxyForQuery(const QNetworkProxyQuery& query); + void static_QNetworkProxyFactory_setApplicationProxyFactory(QNetworkProxyFactory* factory); + void static_QNetworkProxyFactory_setUseSystemConfiguration(bool enable); + QList static_QNetworkProxyFactory_systemProxyForQuery(const QNetworkProxyQuery& query = QNetworkProxyQuery()); +}; + + + + + +class PythonQtWrapper_QNetworkProxyQuery : public QObject +{ Q_OBJECT +public: +Q_ENUMS(QueryType ) +enum QueryType{ + TcpSocket = QNetworkProxyQuery::TcpSocket, UdpSocket = QNetworkProxyQuery::UdpSocket, TcpServer = QNetworkProxyQuery::TcpServer, UrlRequest = QNetworkProxyQuery::UrlRequest}; +public slots: +QNetworkProxyQuery* new_QNetworkProxyQuery(); +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; + 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 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); + QUrl url(QNetworkProxyQuery* theWrappedObject) const; +}; + + + + + +class PythonQtShell_QNetworkReply : public QNetworkReply +{ +public: + PythonQtShell_QNetworkReply(QObject* parent = 0):QNetworkReply(parent),_wrapper(NULL) {}; + +virtual void abort(); +virtual bool atEnd() const; +virtual qint64 bytesAvailable() const; +virtual qint64 bytesToWrite() const; +virtual bool canReadLine() const; +virtual void childEvent(QChildEvent* arg__1); +virtual void close(); +virtual void customEvent(QEvent* arg__1); +virtual bool event(QEvent* arg__1); +virtual bool eventFilter(QObject* arg__1, QEvent* arg__2); +virtual void ignoreSslErrors(); +virtual bool isSequential() const; +virtual bool open(QIODevice::OpenMode mode); +virtual qint64 pos() const; +virtual qint64 readData(char* data, qint64 maxlen); +virtual qint64 readLineData(char* data, qint64 maxlen); +virtual bool reset(); +virtual bool seek(qint64 pos); +virtual void setReadBufferSize(qint64 size); +virtual qint64 size() const; +virtual void timerEvent(QTimerEvent* arg__1); +virtual bool waitForBytesWritten(int msecs); +virtual bool waitForReadyRead(int msecs); +virtual qint64 writeData(const char* data, qint64 len); + + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtPublicPromoter_QNetworkReply : public QNetworkReply +{ public: +inline void promoted_close() { QNetworkReply::close(); } +inline void promoted_ignoreSslErrors() { QNetworkReply::ignoreSslErrors(); } +inline bool promoted_isSequential() const { return QNetworkReply::isSequential(); } +inline void promoted_setReadBufferSize(qint64 size) { QNetworkReply::setReadBufferSize(size); } +inline qint64 promoted_writeData(const char* data, qint64 len) { return QNetworkReply::writeData(data, len); } +}; + +class PythonQtWrapper_QNetworkReply : public QObject +{ Q_OBJECT +public: +public slots: +void delete_QNetworkReply(QNetworkReply* obj) { delete obj; } + QVariant attribute(QNetworkReply* theWrappedObject, QNetworkRequest::Attribute code) const; + void close(QNetworkReply* theWrappedObject); + QNetworkReply::NetworkError error(QNetworkReply* theWrappedObject) const; + bool hasRawHeader(QNetworkReply* theWrappedObject, const QByteArray& headerName) const; + QVariant header(QNetworkReply* theWrappedObject, QNetworkRequest::KnownHeaders header) const; + bool isFinished(QNetworkReply* theWrappedObject) const; + bool isRunning(QNetworkReply* theWrappedObject) const; + bool isSequential(QNetworkReply* theWrappedObject) const; + QNetworkAccessManager* manager(QNetworkReply* theWrappedObject) const; + QNetworkAccessManager::Operation operation(QNetworkReply* theWrappedObject) const; + QByteArray rawHeader(QNetworkReply* theWrappedObject, const QByteArray& headerName) const; + QList rawHeaderList(QNetworkReply* theWrappedObject) const; + qint64 readBufferSize(QNetworkReply* theWrappedObject) const; + QNetworkRequest request(QNetworkReply* theWrappedObject) const; + void setReadBufferSize(QNetworkReply* theWrappedObject, qint64 size); + QUrl url(QNetworkReply* theWrappedObject) const; + qint64 writeData(QNetworkReply* theWrappedObject, const char* data, qint64 len); +}; + + + + + +class PythonQtWrapper_QNetworkRequest : public QObject +{ Q_OBJECT +public: +Q_ENUMS(CacheLoadControl KnownHeaders Attribute ) +enum CacheLoadControl{ + AlwaysNetwork = QNetworkRequest::AlwaysNetwork, PreferNetwork = QNetworkRequest::PreferNetwork, PreferCache = QNetworkRequest::PreferCache, AlwaysCache = QNetworkRequest::AlwaysCache}; +enum KnownHeaders{ + ContentTypeHeader = QNetworkRequest::ContentTypeHeader, ContentLengthHeader = QNetworkRequest::ContentLengthHeader, LocationHeader = QNetworkRequest::LocationHeader, LastModifiedHeader = QNetworkRequest::LastModifiedHeader, CookieHeader = QNetworkRequest::CookieHeader, SetCookieHeader = QNetworkRequest::SetCookieHeader}; +enum Attribute{ + HttpStatusCodeAttribute = QNetworkRequest::HttpStatusCodeAttribute, HttpReasonPhraseAttribute = QNetworkRequest::HttpReasonPhraseAttribute, RedirectionTargetAttribute = QNetworkRequest::RedirectionTargetAttribute, ConnectionEncryptedAttribute = QNetworkRequest::ConnectionEncryptedAttribute, CacheLoadControlAttribute = QNetworkRequest::CacheLoadControlAttribute, CacheSaveControlAttribute = QNetworkRequest::CacheSaveControlAttribute, SourceIsFromCacheAttribute = QNetworkRequest::SourceIsFromCacheAttribute, DoNotBufferUploadDataAttribute = QNetworkRequest::DoNotBufferUploadDataAttribute, HttpPipeliningAllowedAttribute = QNetworkRequest::HttpPipeliningAllowedAttribute, HttpPipeliningWasUsedAttribute = QNetworkRequest::HttpPipeliningWasUsedAttribute, User = QNetworkRequest::User, UserMax = QNetworkRequest::UserMax}; +public slots: +QNetworkRequest* new_QNetworkRequest(const QNetworkRequest& other); +QNetworkRequest* new_QNetworkRequest(const QUrl& url = QUrl()); +void delete_QNetworkRequest(QNetworkRequest* obj) { delete obj; } + 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; + bool __ne__(QNetworkRequest* theWrappedObject, const QNetworkRequest& other) const; + bool __eq__(QNetworkRequest* theWrappedObject, const QNetworkRequest& other) const; + QObject* originatingObject(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 setOriginatingObject(QNetworkRequest* theWrappedObject, QObject* object); + void setRawHeader(QNetworkRequest* theWrappedObject, const QByteArray& headerName, const QByteArray& value); + void setUrl(QNetworkRequest* theWrappedObject, const QUrl& url); + QUrl url(QNetworkRequest* theWrappedObject) const; +}; + + + + + +class PythonQtWrapper_QSsl : public QObject +{ Q_OBJECT +public: +Q_ENUMS(KeyType KeyAlgorithm SslProtocol AlternateNameEntryType EncodingFormat ) +enum KeyType{ + PrivateKey = QSsl::PrivateKey, PublicKey = QSsl::PublicKey}; +enum KeyAlgorithm{ + Rsa = QSsl::Rsa, Dsa = QSsl::Dsa}; +enum SslProtocol{ + SslV3 = QSsl::SslV3, SslV2 = QSsl::SslV2, TlsV1 = QSsl::TlsV1, AnyProtocol = QSsl::AnyProtocol, UnknownProtocol = QSsl::UnknownProtocol}; +enum AlternateNameEntryType{ + EmailEntry = QSsl::EmailEntry, DnsEntry = QSsl::DnsEntry}; +enum EncodingFormat{ + Pem = QSsl::Pem, Der = QSsl::Der}; +public slots: +}; + + + + + +class PythonQtShell_QTcpServer : public QTcpServer +{ +public: + PythonQtShell_QTcpServer(QObject* parent = 0):QTcpServer(parent),_wrapper(NULL) {}; + +virtual void childEvent(QChildEvent* arg__1); +virtual void customEvent(QEvent* arg__1); +virtual bool event(QEvent* arg__1); +virtual bool eventFilter(QObject* arg__1, QEvent* arg__2); +virtual bool hasPendingConnections() const; +virtual void incomingConnection(int handle); +virtual QTcpSocket* nextPendingConnection(); +virtual void timerEvent(QTimerEvent* arg__1); + + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtPublicPromoter_QTcpServer : public QTcpServer +{ public: +inline bool promoted_hasPendingConnections() const { return QTcpServer::hasPendingConnections(); } +inline void promoted_incomingConnection(int handle) { QTcpServer::incomingConnection(handle); } +inline QTcpSocket* promoted_nextPendingConnection() { return QTcpServer::nextPendingConnection(); } +}; + +class PythonQtWrapper_QTcpServer : public QObject +{ Q_OBJECT +public: +public slots: +QTcpServer* new_QTcpServer(QObject* parent = 0); +void delete_QTcpServer(QTcpServer* obj) { delete obj; } + void close(QTcpServer* theWrappedObject); + QString errorString(QTcpServer* theWrappedObject) const; + bool hasPendingConnections(QTcpServer* theWrappedObject) const; + void incomingConnection(QTcpServer* theWrappedObject, int 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); + QNetworkProxy proxy(QTcpServer* theWrappedObject) const; + 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, int socketDescriptor); + int socketDescriptor(QTcpServer* theWrappedObject) const; + bool waitForNewConnection(QTcpServer* theWrappedObject, int msec = 0, bool* timedOut = 0); +}; + + + + + +class PythonQtShell_QTcpSocket : public QTcpSocket +{ +public: + PythonQtShell_QTcpSocket(QObject* parent = 0):QTcpSocket(parent),_wrapper(NULL) {}; + +virtual bool atEnd() const; +virtual qint64 bytesAvailable() const; +virtual qint64 bytesToWrite() const; +virtual bool canReadLine() const; +virtual void childEvent(QChildEvent* arg__1); +virtual void close(); +virtual void customEvent(QEvent* arg__1); +virtual bool event(QEvent* arg__1); +virtual bool eventFilter(QObject* arg__1, QEvent* arg__2); +virtual bool isSequential() const; +virtual bool open(QIODevice::OpenMode mode); +virtual qint64 pos() const; +virtual qint64 readData(char* data, qint64 maxlen); +virtual qint64 readLineData(char* data, qint64 maxlen); +virtual bool reset(); +virtual bool seek(qint64 pos); +virtual qint64 size() const; +virtual void timerEvent(QTimerEvent* arg__1); +virtual bool waitForBytesWritten(int msecs); +virtual bool waitForReadyRead(int msecs); +virtual qint64 writeData(const char* data, qint64 len); + + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtWrapper_QTcpSocket : public QObject +{ Q_OBJECT +public: +public slots: +QTcpSocket* new_QTcpSocket(QObject* parent = 0); +void delete_QTcpSocket(QTcpSocket* obj) { delete obj; } +}; + + + + + +class PythonQtShell_QUdpSocket : public QUdpSocket +{ +public: + PythonQtShell_QUdpSocket(QObject* parent = 0):QUdpSocket(parent),_wrapper(NULL) {}; + +virtual bool atEnd() const; +virtual qint64 bytesAvailable() const; +virtual qint64 bytesToWrite() const; +virtual bool canReadLine() const; +virtual void childEvent(QChildEvent* arg__1); +virtual void close(); +virtual void customEvent(QEvent* arg__1); +virtual bool event(QEvent* arg__1); +virtual bool eventFilter(QObject* arg__1, QEvent* arg__2); +virtual bool isSequential() const; +virtual bool open(QIODevice::OpenMode mode); +virtual qint64 pos() const; +virtual qint64 readData(char* data, qint64 maxlen); +virtual qint64 readLineData(char* data, qint64 maxlen); +virtual bool reset(); +virtual bool seek(qint64 pos); +virtual qint64 size() const; +virtual void timerEvent(QTimerEvent* arg__1); +virtual bool waitForBytesWritten(int msecs); +virtual bool waitForReadyRead(int msecs); +virtual qint64 writeData(const char* data, qint64 len); + + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtWrapper_QUdpSocket : public QObject +{ Q_OBJECT +public: +Q_ENUMS(BindFlag ) +Q_FLAGS(BindMode ) +enum BindFlag{ + DefaultForPlatform = QUdpSocket::DefaultForPlatform, ShareAddress = QUdpSocket::ShareAddress, DontShareAddress = QUdpSocket::DontShareAddress, ReuseAddressHint = QUdpSocket::ReuseAddressHint}; +Q_DECLARE_FLAGS(BindMode, BindFlag) +public slots: +QUdpSocket* new_QUdpSocket(QObject* parent = 0); +void delete_QUdpSocket(QUdpSocket* obj) { delete obj; } + bool bind(QUdpSocket* theWrappedObject, const QHostAddress& address, unsigned short port); + bool bind(QUdpSocket* theWrappedObject, const QHostAddress& address, unsigned short port, QUdpSocket::BindMode mode); + bool bind(QUdpSocket* theWrappedObject, unsigned short port = 0); + bool bind(QUdpSocket* theWrappedObject, unsigned short port, QUdpSocket::BindMode mode); + bool hasPendingDatagrams(QUdpSocket* theWrappedObject) const; + qint64 pendingDatagramSize(QUdpSocket* theWrappedObject) const; + qint64 readDatagram(QUdpSocket* theWrappedObject, char* data, qint64 maxlen, QHostAddress* host = 0, unsigned short* port = 0); + qint64 writeDatagram(QUdpSocket* theWrappedObject, const QByteArray& datagram, const QHostAddress& host, unsigned short port); +}; + + + + + +class PythonQtShell_QUrlInfo : public QUrlInfo +{ +public: + PythonQtShell_QUrlInfo():QUrlInfo(),_wrapper(NULL) {}; + PythonQtShell_QUrlInfo(const QString& name, int permissions, const QString& owner, const QString& group, qint64 size, const QDateTime& lastModified, const QDateTime& lastRead, bool isDir, bool isFile, bool isSymLink, bool isWritable, bool isReadable, bool isExecutable):QUrlInfo(name, permissions, owner, group, size, lastModified, lastRead, isDir, isFile, isSymLink, isWritable, isReadable, isExecutable),_wrapper(NULL) {}; + PythonQtShell_QUrlInfo(const QUrl& url, int permissions, const QString& owner, const QString& group, qint64 size, const QDateTime& lastModified, const QDateTime& lastRead, bool isDir, bool isFile, bool isSymLink, bool isWritable, bool isReadable, bool isExecutable):QUrlInfo(url, permissions, owner, group, size, lastModified, lastRead, isDir, isFile, isSymLink, isWritable, isReadable, isExecutable),_wrapper(NULL) {}; + PythonQtShell_QUrlInfo(const QUrlInfo& ui):QUrlInfo(ui),_wrapper(NULL) {}; + +virtual void setDir(bool b); +virtual void setFile(bool b); +virtual void setGroup(const QString& s); +virtual void setLastModified(const QDateTime& dt); +virtual void setName(const QString& name); +virtual void setOwner(const QString& s); +virtual void setPermissions(int p); +virtual void setReadable(bool b); +virtual void setSize(qint64 size); +virtual void setSymLink(bool b); +virtual void setWritable(bool b); + + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtPublicPromoter_QUrlInfo : public QUrlInfo +{ public: +inline void promoted_setDir(bool b) { QUrlInfo::setDir(b); } +inline void promoted_setFile(bool b) { QUrlInfo::setFile(b); } +inline void promoted_setGroup(const QString& s) { QUrlInfo::setGroup(s); } +inline void promoted_setLastModified(const QDateTime& dt) { QUrlInfo::setLastModified(dt); } +inline void promoted_setName(const QString& name) { QUrlInfo::setName(name); } +inline void promoted_setOwner(const QString& s) { QUrlInfo::setOwner(s); } +inline void promoted_setPermissions(int p) { QUrlInfo::setPermissions(p); } +inline void promoted_setReadable(bool b) { QUrlInfo::setReadable(b); } +inline void promoted_setSize(qint64 size) { QUrlInfo::setSize(size); } +inline void promoted_setSymLink(bool b) { QUrlInfo::setSymLink(b); } +inline void promoted_setWritable(bool b) { QUrlInfo::setWritable(b); } +}; + +class PythonQtWrapper_QUrlInfo : public QObject +{ Q_OBJECT +public: +Q_ENUMS(PermissionSpec ) +enum PermissionSpec{ + ReadOwner = QUrlInfo::ReadOwner, WriteOwner = QUrlInfo::WriteOwner, ExeOwner = QUrlInfo::ExeOwner, ReadGroup = QUrlInfo::ReadGroup, WriteGroup = QUrlInfo::WriteGroup, ExeGroup = QUrlInfo::ExeGroup, ReadOther = QUrlInfo::ReadOther, WriteOther = QUrlInfo::WriteOther, ExeOther = QUrlInfo::ExeOther}; +public slots: +QUrlInfo* new_QUrlInfo(); +QUrlInfo* new_QUrlInfo(const QString& name, int permissions, const QString& owner, const QString& group, qint64 size, const QDateTime& lastModified, const QDateTime& lastRead, bool isDir, bool isFile, bool isSymLink, bool isWritable, bool isReadable, bool isExecutable); +QUrlInfo* new_QUrlInfo(const QUrl& url, int permissions, const QString& owner, const QString& group, qint64 size, const QDateTime& lastModified, const QDateTime& lastRead, bool isDir, bool isFile, bool isSymLink, bool isWritable, bool isReadable, bool isExecutable); +QUrlInfo* new_QUrlInfo(const QUrlInfo& ui); +void delete_QUrlInfo(QUrlInfo* obj) { delete obj; } + bool static_QUrlInfo_equal(const QUrlInfo& i1, const QUrlInfo& i2, int sortBy); + bool static_QUrlInfo_greaterThan(const QUrlInfo& i1, const QUrlInfo& i2, int sortBy); + QString group(QUrlInfo* theWrappedObject) const; + bool isDir(QUrlInfo* theWrappedObject) const; + bool isExecutable(QUrlInfo* theWrappedObject) const; + bool isFile(QUrlInfo* theWrappedObject) const; + bool isReadable(QUrlInfo* theWrappedObject) const; + bool isSymLink(QUrlInfo* theWrappedObject) const; + bool isValid(QUrlInfo* theWrappedObject) const; + bool isWritable(QUrlInfo* theWrappedObject) const; + QDateTime lastModified(QUrlInfo* theWrappedObject) const; + QDateTime lastRead(QUrlInfo* theWrappedObject) const; + bool static_QUrlInfo_lessThan(const QUrlInfo& i1, const QUrlInfo& i2, int sortBy); + QString name(QUrlInfo* theWrappedObject) const; + bool __ne__(QUrlInfo* theWrappedObject, const QUrlInfo& i) const; + bool __eq__(QUrlInfo* theWrappedObject, const QUrlInfo& i) const; + QString owner(QUrlInfo* theWrappedObject) const; + int permissions(QUrlInfo* theWrappedObject) const; + void setDir(QUrlInfo* theWrappedObject, bool b); + void setFile(QUrlInfo* theWrappedObject, bool b); + void setGroup(QUrlInfo* theWrappedObject, const QString& s); + void setLastModified(QUrlInfo* theWrappedObject, const QDateTime& dt); + void setLastRead(QUrlInfo* theWrappedObject, const QDateTime& dt); + void setName(QUrlInfo* theWrappedObject, const QString& name); + void setOwner(QUrlInfo* theWrappedObject, const QString& s); + void setPermissions(QUrlInfo* theWrappedObject, int p); + void setReadable(QUrlInfo* theWrappedObject, bool b); + void setSize(QUrlInfo* theWrappedObject, qint64 size); + void setSymLink(QUrlInfo* theWrappedObject, bool b); + void setWritable(QUrlInfo* theWrappedObject, bool b); + qint64 size(QUrlInfo* theWrappedObject) const; +}; + + diff --git a/generated_cpp_47/com_trolltech_qt_network/com_trolltech_qt_network_init.cpp b/generated_cpp_47/com_trolltech_qt_network/com_trolltech_qt_network_init.cpp new file mode 100644 index 00000000..fb395099 --- /dev/null +++ b/generated_cpp_47/com_trolltech_qt_network/com_trolltech_qt_network_init.cpp @@ -0,0 +1,37 @@ +#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, 0); +PythonQt::priv()->registerCPPClass("QAuthenticator", "", "QtNetwork", PythonQtCreateObject, NULL, module, PythonQt::Type_NonZero|PythonQt::Type_RichCompare); +PythonQt::priv()->registerClass(&QFtp::staticMetaObject, "QtNetwork", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); +PythonQt::priv()->registerCPPClass("QHostAddress", "", "QtNetwork", PythonQtCreateObject, NULL, module, PythonQt::Type_NonZero|PythonQt::Type_RichCompare); +PythonQt::priv()->registerCPPClass("QHostInfo", "", "QtNetwork", PythonQtCreateObject, NULL, module, 0); +PythonQt::priv()->registerClass(&QHttp::staticMetaObject, "QtNetwork", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); +PythonQt::priv()->registerCPPClass("QHttpHeader", "", "QtNetwork", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); +PythonQt::priv()->registerCPPClass("QHttpRequestHeader", "QHttpHeader", "QtNetwork", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); +PythonQt::priv()->registerCPPClass("QHttpResponseHeader", "QHttpHeader", "QtNetwork", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, 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, 0); +PythonQt::priv()->registerClass(&QNetworkAccessManager::staticMetaObject, "QtNetwork", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); +PythonQt::priv()->registerCPPClass("QNetworkAddressEntry", "", "QtNetwork", PythonQtCreateObject, NULL, module, PythonQt::Type_RichCompare); +PythonQt::priv()->registerCPPClass("QNetworkCacheMetaData", "", "QtNetwork", PythonQtCreateObject, NULL, module, PythonQt::Type_RichCompare); +PythonQt::priv()->registerCPPClass("QNetworkCookie", "", "QtNetwork", PythonQtCreateObject, NULL, module, PythonQt::Type_RichCompare); +PythonQt::priv()->registerClass(&QNetworkCookieJar::staticMetaObject, "QtNetwork", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); +PythonQt::priv()->registerClass(&QNetworkDiskCache::staticMetaObject, "QtNetwork", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); +PythonQt::priv()->registerCPPClass("QNetworkInterface", "", "QtNetwork", PythonQtCreateObject, NULL, module, 0); +PythonQt::priv()->registerCPPClass("QNetworkProxy", "", "QtNetwork", PythonQtCreateObject, NULL, module, PythonQt::Type_RichCompare); +PythonQt::priv()->registerCPPClass("QNetworkProxyFactory", "", "QtNetwork", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); +PythonQt::priv()->registerCPPClass("QNetworkProxyQuery", "", "QtNetwork", PythonQtCreateObject, NULL, module, PythonQt::Type_RichCompare); +PythonQt::priv()->registerClass(&QNetworkReply::staticMetaObject, "QtNetwork", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); +PythonQt::priv()->registerCPPClass("QNetworkRequest", "", "QtNetwork", PythonQtCreateObject, NULL, module, PythonQt::Type_RichCompare); +PythonQt::priv()->registerCPPClass("QSsl", "", "QtNetwork", PythonQtCreateObject, NULL, module, 0); +PythonQt::priv()->registerClass(&QTcpServer::staticMetaObject, "QtNetwork", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); +PythonQt::priv()->registerClass(&QTcpSocket::staticMetaObject, "QtNetwork", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); +PythonQt::priv()->registerClass(&QUdpSocket::staticMetaObject, "QtNetwork", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); +PythonQt::priv()->registerCPPClass("QUrlInfo", "", "QtNetwork", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, PythonQt::Type_RichCompare); + +} diff --git a/generated_cpp_47/com_trolltech_qt_opengl/com_trolltech_qt_opengl.pri b/generated_cpp_47/com_trolltech_qt_opengl/com_trolltech_qt_opengl.pri new file mode 100644 index 00000000..9ef686c4 --- /dev/null +++ b/generated_cpp_47/com_trolltech_qt_opengl/com_trolltech_qt_opengl.pri @@ -0,0 +1,6 @@ +HEADERS += \ + $$PWD/com_trolltech_qt_opengl0.h \ + +SOURCES += \ + $$PWD/com_trolltech_qt_opengl0.cpp \ + $$PWD/com_trolltech_qt_opengl_init.cpp diff --git a/generated_cpp_47/com_trolltech_qt_opengl/com_trolltech_qt_opengl0.cpp b/generated_cpp_47/com_trolltech_qt_opengl/com_trolltech_qt_opengl0.cpp new file mode 100644 index 00000000..01bbdac2 --- /dev/null +++ b/generated_cpp_47/com_trolltech_qt_opengl/com_trolltech_qt_opengl0.cpp @@ -0,0 +1,2785 @@ +#include "com_trolltech_qt_opengl0.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 + +QGLColormap* PythonQtWrapper_QGLColormap::new_QGLColormap() +{ +return new PythonQtShell_QGLColormap(); } + +QGLColormap* PythonQtWrapper_QGLColormap::new_QGLColormap(const QGLColormap& arg__1) +{ +return new PythonQtShell_QGLColormap(arg__1); } + +QColor PythonQtWrapper_QGLColormap::entryColor(QGLColormap* theWrappedObject, int idx) const +{ + return ( theWrappedObject->entryColor(idx)); +} + +unsigned int PythonQtWrapper_QGLColormap::entryRgb(QGLColormap* theWrappedObject, int idx) const +{ + return ( theWrappedObject->entryRgb(idx)); +} + +int PythonQtWrapper_QGLColormap::find(QGLColormap* theWrappedObject, unsigned int color) const +{ + return ( theWrappedObject->find(color)); +} + +int PythonQtWrapper_QGLColormap::findNearest(QGLColormap* theWrappedObject, unsigned int color) const +{ + return ( theWrappedObject->findNearest(color)); +} + +bool PythonQtWrapper_QGLColormap::isEmpty(QGLColormap* theWrappedObject) const +{ + return ( theWrappedObject->isEmpty()); +} + +void PythonQtWrapper_QGLColormap::setEntries(QGLColormap* theWrappedObject, int count, const unsigned int* colors, int base) +{ + ( theWrappedObject->setEntries(count, colors, base)); +} + +void PythonQtWrapper_QGLColormap::setEntry(QGLColormap* theWrappedObject, int idx, const QColor& color) +{ + ( theWrappedObject->setEntry(idx, color)); +} + +void PythonQtWrapper_QGLColormap::setEntry(QGLColormap* theWrappedObject, int idx, unsigned int color) +{ + ( theWrappedObject->setEntry(idx, color)); +} + +int PythonQtWrapper_QGLColormap::size(QGLColormap* theWrappedObject) const +{ + return ( theWrappedObject->size()); +} + + + +bool PythonQtShell_QGLContext::chooseContext(const QGLContext* shareContext) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "chooseContext"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "const QGLContext*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue; + void* args[2] = {NULL, (void*)&shareContext}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("chooseContext", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QGLContext::chooseContext(shareContext); +} +bool PythonQtShell_QGLContext::create(const QGLContext* shareContext) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "create"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "const QGLContext*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue; + void* args[2] = {NULL, (void*)&shareContext}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("create", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QGLContext::create(shareContext); +} +void PythonQtShell_QGLContext::doneCurrent() +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "doneCurrent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={""}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QGLContext::doneCurrent(); +} +void PythonQtShell_QGLContext::makeCurrent() +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "makeCurrent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={""}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QGLContext::makeCurrent(); +} +void PythonQtShell_QGLContext::swapBuffers() const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "swapBuffers"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={""}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QGLContext::swapBuffers(); +} +QGLContext* PythonQtWrapper_QGLContext::new_QGLContext(const QGLFormat& format) +{ +return new PythonQtShell_QGLContext(format); } + +QGLContext* PythonQtWrapper_QGLContext::new_QGLContext(const QGLFormat& format, QPaintDevice* device) +{ +return new PythonQtShell_QGLContext(format, device); } + +bool PythonQtWrapper_QGLContext::static_QGLContext_areSharing(const QGLContext* context1, const QGLContext* context2) +{ + return (QGLContext::areSharing(context1, context2)); +} + +unsigned int PythonQtWrapper_QGLContext::bindTexture(QGLContext* theWrappedObject, const QImage& image, unsigned int target, int format) +{ + return ( theWrappedObject->bindTexture(image, target, format)); +} + +unsigned int PythonQtWrapper_QGLContext::bindTexture(QGLContext* theWrappedObject, const QImage& image, unsigned int target, int format, QGLContext::BindOptions options) +{ + return ( theWrappedObject->bindTexture(image, target, format, options)); +} + +unsigned int PythonQtWrapper_QGLContext::bindTexture(QGLContext* theWrappedObject, const QPixmap& pixmap, unsigned int target, int format) +{ + return ( theWrappedObject->bindTexture(pixmap, target, format)); +} + +unsigned int PythonQtWrapper_QGLContext::bindTexture(QGLContext* theWrappedObject, const QPixmap& pixmap, unsigned int target, int format, QGLContext::BindOptions options) +{ + return ( theWrappedObject->bindTexture(pixmap, target, format, options)); +} + +unsigned int PythonQtWrapper_QGLContext::bindTexture(QGLContext* theWrappedObject, const QString& fileName) +{ + return ( theWrappedObject->bindTexture(fileName)); +} + +bool PythonQtWrapper_QGLContext::chooseContext(QGLContext* theWrappedObject, const QGLContext* shareContext) +{ + return ( ((PythonQtPublicPromoter_QGLContext*)theWrappedObject)->promoted_chooseContext(shareContext)); +} + +bool PythonQtWrapper_QGLContext::create(QGLContext* theWrappedObject, const QGLContext* shareContext) +{ + return ( ((PythonQtPublicPromoter_QGLContext*)theWrappedObject)->promoted_create(shareContext)); +} + +const QGLContext* PythonQtWrapper_QGLContext::static_QGLContext_currentContext() +{ + return (QGLContext::currentContext()); +} + +void PythonQtWrapper_QGLContext::deleteTexture(QGLContext* theWrappedObject, unsigned int tx_id) +{ + ( theWrappedObject->deleteTexture(tx_id)); +} + +QPaintDevice* PythonQtWrapper_QGLContext::device(QGLContext* theWrappedObject) const +{ + return ( theWrappedObject->device()); +} + +void PythonQtWrapper_QGLContext::doneCurrent(QGLContext* theWrappedObject) +{ + ( ((PythonQtPublicPromoter_QGLContext*)theWrappedObject)->promoted_doneCurrent()); +} + +void PythonQtWrapper_QGLContext::drawTexture(QGLContext* theWrappedObject, const QPointF& point, unsigned int textureId, unsigned int textureTarget) +{ + ( theWrappedObject->drawTexture(point, textureId, textureTarget)); +} + +void PythonQtWrapper_QGLContext::drawTexture(QGLContext* theWrappedObject, const QRectF& target, unsigned int textureId, unsigned int textureTarget) +{ + ( theWrappedObject->drawTexture(target, textureId, textureTarget)); +} + +QGLFormat PythonQtWrapper_QGLContext::format(QGLContext* theWrappedObject) const +{ + return ( theWrappedObject->format()); +} + +bool PythonQtWrapper_QGLContext::isSharing(QGLContext* theWrappedObject) const +{ + return ( theWrappedObject->isSharing()); +} + +bool PythonQtWrapper_QGLContext::isValid(QGLContext* theWrappedObject) const +{ + return ( theWrappedObject->isValid()); +} + +void PythonQtWrapper_QGLContext::makeCurrent(QGLContext* theWrappedObject) +{ + ( ((PythonQtPublicPromoter_QGLContext*)theWrappedObject)->promoted_makeCurrent()); +} + +QColor PythonQtWrapper_QGLContext::overlayTransparentColor(QGLContext* theWrappedObject) const +{ + return ( theWrappedObject->overlayTransparentColor()); +} + +QGLFormat PythonQtWrapper_QGLContext::requestedFormat(QGLContext* theWrappedObject) const +{ + return ( theWrappedObject->requestedFormat()); +} + +void PythonQtWrapper_QGLContext::reset(QGLContext* theWrappedObject) +{ + ( theWrappedObject->reset()); +} + +void PythonQtWrapper_QGLContext::setFormat(QGLContext* theWrappedObject, const QGLFormat& format) +{ + ( theWrappedObject->setFormat(format)); +} + +void PythonQtWrapper_QGLContext::static_QGLContext_setTextureCacheLimit(int size) +{ + (QGLContext::setTextureCacheLimit(size)); +} + +void PythonQtWrapper_QGLContext::swapBuffers(QGLContext* theWrappedObject) const +{ + ( ((PythonQtPublicPromoter_QGLContext*)theWrappedObject)->promoted_swapBuffers()); +} + +int PythonQtWrapper_QGLContext::static_QGLContext_textureCacheLimit() +{ + return (QGLContext::textureCacheLimit()); +} + + + +int PythonQtShell_QGLFramebufferObject::devType() const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "devType"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + int returnValue; + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("devType", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QGLFramebufferObject::devType(); +} +int PythonQtShell_QGLFramebufferObject::metric(QPaintDevice::PaintDeviceMetric metric) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "metric"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + int returnValue; + void* args[2] = {NULL, (void*)&metric}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("metric", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QGLFramebufferObject::metric(metric); +} +QPaintEngine* PythonQtShell_QGLFramebufferObject::paintEngine() const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "paintEngine"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QPaintEngine*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QPaintEngine* returnValue; + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); + } else { + returnValue = *((QPaintEngine**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QGLFramebufferObject::paintEngine(); +} +QGLFramebufferObject* PythonQtWrapper_QGLFramebufferObject::new_QGLFramebufferObject(const QSize& size, QGLFramebufferObject::Attachment attachment, unsigned int target, unsigned int internal_format) +{ +return new PythonQtShell_QGLFramebufferObject(size, attachment, target, internal_format); } + +QGLFramebufferObject* PythonQtWrapper_QGLFramebufferObject::new_QGLFramebufferObject(const QSize& size, const QGLFramebufferObjectFormat& format) +{ +return new PythonQtShell_QGLFramebufferObject(size, format); } + +QGLFramebufferObject* PythonQtWrapper_QGLFramebufferObject::new_QGLFramebufferObject(const QSize& size, unsigned int target) +{ +return new PythonQtShell_QGLFramebufferObject(size, target); } + +QGLFramebufferObject* PythonQtWrapper_QGLFramebufferObject::new_QGLFramebufferObject(int width, int height, QGLFramebufferObject::Attachment attachment, unsigned int target, unsigned int internal_format) +{ +return new PythonQtShell_QGLFramebufferObject(width, height, attachment, target, internal_format); } + +QGLFramebufferObject* PythonQtWrapper_QGLFramebufferObject::new_QGLFramebufferObject(int width, int height, const QGLFramebufferObjectFormat& format) +{ +return new PythonQtShell_QGLFramebufferObject(width, height, format); } + +QGLFramebufferObject* PythonQtWrapper_QGLFramebufferObject::new_QGLFramebufferObject(int width, int height, unsigned int target) +{ +return new PythonQtShell_QGLFramebufferObject(width, height, target); } + +QGLFramebufferObject::Attachment PythonQtWrapper_QGLFramebufferObject::attachment(QGLFramebufferObject* theWrappedObject) const +{ + return ( theWrappedObject->attachment()); +} + +bool PythonQtWrapper_QGLFramebufferObject::bind(QGLFramebufferObject* theWrappedObject) +{ + return ( theWrappedObject->bind()); +} + +void PythonQtWrapper_QGLFramebufferObject::static_QGLFramebufferObject_blitFramebuffer(QGLFramebufferObject* target, const QRect& targetRect, QGLFramebufferObject* source, const QRect& sourceRect, unsigned int buffers, unsigned int filter) +{ + (QGLFramebufferObject::blitFramebuffer(target, targetRect, source, sourceRect, buffers, filter)); +} + +int PythonQtWrapper_QGLFramebufferObject::devType(QGLFramebufferObject* theWrappedObject) const +{ + return ( ((PythonQtPublicPromoter_QGLFramebufferObject*)theWrappedObject)->promoted_devType()); +} + +void PythonQtWrapper_QGLFramebufferObject::drawTexture(QGLFramebufferObject* theWrappedObject, const QPointF& point, unsigned int textureId, unsigned int textureTarget) +{ + ( theWrappedObject->drawTexture(point, textureId, textureTarget)); +} + +void PythonQtWrapper_QGLFramebufferObject::drawTexture(QGLFramebufferObject* theWrappedObject, const QRectF& target, unsigned int textureId, unsigned int textureTarget) +{ + ( theWrappedObject->drawTexture(target, textureId, textureTarget)); +} + +QGLFramebufferObjectFormat PythonQtWrapper_QGLFramebufferObject::format(QGLFramebufferObject* theWrappedObject) const +{ + return ( theWrappedObject->format()); +} + +unsigned int PythonQtWrapper_QGLFramebufferObject::handle(QGLFramebufferObject* theWrappedObject) const +{ + return ( theWrappedObject->handle()); +} + +bool PythonQtWrapper_QGLFramebufferObject::static_QGLFramebufferObject_hasOpenGLFramebufferBlit() +{ + return (QGLFramebufferObject::hasOpenGLFramebufferBlit()); +} + +bool PythonQtWrapper_QGLFramebufferObject::static_QGLFramebufferObject_hasOpenGLFramebufferObjects() +{ + return (QGLFramebufferObject::hasOpenGLFramebufferObjects()); +} + +bool PythonQtWrapper_QGLFramebufferObject::isBound(QGLFramebufferObject* theWrappedObject) const +{ + return ( theWrappedObject->isBound()); +} + +bool PythonQtWrapper_QGLFramebufferObject::isValid(QGLFramebufferObject* theWrappedObject) const +{ + return ( theWrappedObject->isValid()); +} + +int PythonQtWrapper_QGLFramebufferObject::metric(QGLFramebufferObject* theWrappedObject, QPaintDevice::PaintDeviceMetric metric) const +{ + return ( ((PythonQtPublicPromoter_QGLFramebufferObject*)theWrappedObject)->promoted_metric(metric)); +} + +QPaintEngine* PythonQtWrapper_QGLFramebufferObject::paintEngine(QGLFramebufferObject* theWrappedObject) const +{ + return ( ((PythonQtPublicPromoter_QGLFramebufferObject*)theWrappedObject)->promoted_paintEngine()); +} + +bool PythonQtWrapper_QGLFramebufferObject::release(QGLFramebufferObject* theWrappedObject) +{ + return ( theWrappedObject->release()); +} + +QSize PythonQtWrapper_QGLFramebufferObject::size(QGLFramebufferObject* theWrappedObject) const +{ + return ( theWrappedObject->size()); +} + +unsigned int PythonQtWrapper_QGLFramebufferObject::texture(QGLFramebufferObject* theWrappedObject) const +{ + return ( theWrappedObject->texture()); +} + +QImage PythonQtWrapper_QGLFramebufferObject::toImage(QGLFramebufferObject* theWrappedObject) const +{ + return ( theWrappedObject->toImage()); +} + + + +QGLFramebufferObjectFormat* PythonQtWrapper_QGLFramebufferObjectFormat::new_QGLFramebufferObjectFormat() +{ +return new QGLFramebufferObjectFormat(); } + +QGLFramebufferObjectFormat* PythonQtWrapper_QGLFramebufferObjectFormat::new_QGLFramebufferObjectFormat(const QGLFramebufferObjectFormat& other) +{ +return new QGLFramebufferObjectFormat(other); } + +QGLFramebufferObject::Attachment PythonQtWrapper_QGLFramebufferObjectFormat::attachment(QGLFramebufferObjectFormat* theWrappedObject) const +{ + return ( theWrappedObject->attachment()); +} + +unsigned int PythonQtWrapper_QGLFramebufferObjectFormat::internalTextureFormat(QGLFramebufferObjectFormat* theWrappedObject) const +{ + return ( theWrappedObject->internalTextureFormat()); +} + +bool PythonQtWrapper_QGLFramebufferObjectFormat::__ne__(QGLFramebufferObjectFormat* theWrappedObject, const QGLFramebufferObjectFormat& other) const +{ + return ( (*theWrappedObject)!= other); +} + +QGLFramebufferObjectFormat* PythonQtWrapper_QGLFramebufferObjectFormat::operator_assign(QGLFramebufferObjectFormat* theWrappedObject, const QGLFramebufferObjectFormat& other) +{ + return &( (*theWrappedObject)= other); +} + +bool PythonQtWrapper_QGLFramebufferObjectFormat::__eq__(QGLFramebufferObjectFormat* theWrappedObject, const QGLFramebufferObjectFormat& other) const +{ + return ( (*theWrappedObject)== other); +} + +int PythonQtWrapper_QGLFramebufferObjectFormat::samples(QGLFramebufferObjectFormat* theWrappedObject) const +{ + return ( theWrappedObject->samples()); +} + +void PythonQtWrapper_QGLFramebufferObjectFormat::setAttachment(QGLFramebufferObjectFormat* theWrappedObject, QGLFramebufferObject::Attachment attachment) +{ + ( theWrappedObject->setAttachment(attachment)); +} + +void PythonQtWrapper_QGLFramebufferObjectFormat::setInternalTextureFormat(QGLFramebufferObjectFormat* theWrappedObject, unsigned int internalTextureFormat) +{ + ( theWrappedObject->setInternalTextureFormat(internalTextureFormat)); +} + +void PythonQtWrapper_QGLFramebufferObjectFormat::setSamples(QGLFramebufferObjectFormat* theWrappedObject, int samples) +{ + ( theWrappedObject->setSamples(samples)); +} + +void PythonQtWrapper_QGLFramebufferObjectFormat::setTextureTarget(QGLFramebufferObjectFormat* theWrappedObject, unsigned int target) +{ + ( theWrappedObject->setTextureTarget(target)); +} + +unsigned int PythonQtWrapper_QGLFramebufferObjectFormat::textureTarget(QGLFramebufferObjectFormat* theWrappedObject) const +{ + return ( theWrappedObject->textureTarget()); +} + + + +int PythonQtShell_QGLPixelBuffer::devType() const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "devType"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + int returnValue; + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("devType", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QGLPixelBuffer::devType(); +} +int PythonQtShell_QGLPixelBuffer::metric(QPaintDevice::PaintDeviceMetric metric) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "metric"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + int returnValue; + void* args[2] = {NULL, (void*)&metric}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("metric", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QGLPixelBuffer::metric(metric); +} +QPaintEngine* PythonQtShell_QGLPixelBuffer::paintEngine() const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "paintEngine"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QPaintEngine*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QPaintEngine* returnValue; + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); + } else { + returnValue = *((QPaintEngine**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QGLPixelBuffer::paintEngine(); +} +QGLPixelBuffer* PythonQtWrapper_QGLPixelBuffer::new_QGLPixelBuffer(const QSize& size, const QGLFormat& format, QGLWidget* shareWidget) +{ +return new PythonQtShell_QGLPixelBuffer(size, format, shareWidget); } + +QGLPixelBuffer* PythonQtWrapper_QGLPixelBuffer::new_QGLPixelBuffer(int width, int height, const QGLFormat& format, QGLWidget* shareWidget) +{ +return new PythonQtShell_QGLPixelBuffer(width, height, format, shareWidget); } + +unsigned int PythonQtWrapper_QGLPixelBuffer::bindTexture(QGLPixelBuffer* theWrappedObject, const QImage& image, unsigned int target) +{ + return ( theWrappedObject->bindTexture(image, target)); +} + +unsigned int PythonQtWrapper_QGLPixelBuffer::bindTexture(QGLPixelBuffer* theWrappedObject, const QPixmap& pixmap, unsigned int target) +{ + return ( theWrappedObject->bindTexture(pixmap, target)); +} + +unsigned int PythonQtWrapper_QGLPixelBuffer::bindTexture(QGLPixelBuffer* theWrappedObject, const QString& fileName) +{ + return ( theWrappedObject->bindTexture(fileName)); +} + +bool PythonQtWrapper_QGLPixelBuffer::bindToDynamicTexture(QGLPixelBuffer* theWrappedObject, unsigned int texture) +{ + return ( theWrappedObject->bindToDynamicTexture(texture)); +} + +void PythonQtWrapper_QGLPixelBuffer::deleteTexture(QGLPixelBuffer* theWrappedObject, unsigned int texture_id) +{ + ( theWrappedObject->deleteTexture(texture_id)); +} + +int PythonQtWrapper_QGLPixelBuffer::devType(QGLPixelBuffer* theWrappedObject) const +{ + return ( ((PythonQtPublicPromoter_QGLPixelBuffer*)theWrappedObject)->promoted_devType()); +} + +bool PythonQtWrapper_QGLPixelBuffer::doneCurrent(QGLPixelBuffer* theWrappedObject) +{ + return ( theWrappedObject->doneCurrent()); +} + +void PythonQtWrapper_QGLPixelBuffer::drawTexture(QGLPixelBuffer* theWrappedObject, const QPointF& point, unsigned int textureId, unsigned int textureTarget) +{ + ( theWrappedObject->drawTexture(point, textureId, textureTarget)); +} + +void PythonQtWrapper_QGLPixelBuffer::drawTexture(QGLPixelBuffer* theWrappedObject, const QRectF& target, unsigned int textureId, unsigned int textureTarget) +{ + ( theWrappedObject->drawTexture(target, textureId, textureTarget)); +} + +QGLFormat PythonQtWrapper_QGLPixelBuffer::format(QGLPixelBuffer* theWrappedObject) const +{ + return ( theWrappedObject->format()); +} + +unsigned int PythonQtWrapper_QGLPixelBuffer::generateDynamicTexture(QGLPixelBuffer* theWrappedObject) const +{ + return ( theWrappedObject->generateDynamicTexture()); +} + +Qt::HANDLE PythonQtWrapper_QGLPixelBuffer::handle(QGLPixelBuffer* theWrappedObject) const +{ + return ( theWrappedObject->handle()); +} + +bool PythonQtWrapper_QGLPixelBuffer::static_QGLPixelBuffer_hasOpenGLPbuffers() +{ + return (QGLPixelBuffer::hasOpenGLPbuffers()); +} + +bool PythonQtWrapper_QGLPixelBuffer::isValid(QGLPixelBuffer* theWrappedObject) const +{ + return ( theWrappedObject->isValid()); +} + +bool PythonQtWrapper_QGLPixelBuffer::makeCurrent(QGLPixelBuffer* theWrappedObject) +{ + return ( theWrappedObject->makeCurrent()); +} + +int PythonQtWrapper_QGLPixelBuffer::metric(QGLPixelBuffer* theWrappedObject, QPaintDevice::PaintDeviceMetric metric) const +{ + return ( ((PythonQtPublicPromoter_QGLPixelBuffer*)theWrappedObject)->promoted_metric(metric)); +} + +QPaintEngine* PythonQtWrapper_QGLPixelBuffer::paintEngine(QGLPixelBuffer* theWrappedObject) const +{ + return ( ((PythonQtPublicPromoter_QGLPixelBuffer*)theWrappedObject)->promoted_paintEngine()); +} + +void PythonQtWrapper_QGLPixelBuffer::releaseFromDynamicTexture(QGLPixelBuffer* theWrappedObject) +{ + ( theWrappedObject->releaseFromDynamicTexture()); +} + +QSize PythonQtWrapper_QGLPixelBuffer::size(QGLPixelBuffer* theWrappedObject) const +{ + return ( theWrappedObject->size()); +} + +QImage PythonQtWrapper_QGLPixelBuffer::toImage(QGLPixelBuffer* theWrappedObject) const +{ + return ( theWrappedObject->toImage()); +} + +void PythonQtWrapper_QGLPixelBuffer::updateDynamicTexture(QGLPixelBuffer* theWrappedObject, unsigned int texture_id) const +{ + ( theWrappedObject->updateDynamicTexture(texture_id)); +} + + + +void PythonQtShell_QGLShader::childEvent(QChildEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "childEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QChildEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QGLShader::childEvent(arg__1); +} +void PythonQtShell_QGLShader::customEvent(QEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "customEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QGLShader::customEvent(arg__1); +} +bool PythonQtShell_QGLShader::event(QEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "event"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue; + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QGLShader::event(arg__1); +} +bool PythonQtShell_QGLShader::eventFilter(QObject* arg__1, QEvent* arg__2) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "eventFilter"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue; + void* args[3] = {NULL, (void*)&arg__1, (void*)&arg__2}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QGLShader::eventFilter(arg__1, arg__2); +} +void PythonQtShell_QGLShader::timerEvent(QTimerEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "timerEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QTimerEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QGLShader::timerEvent(arg__1); +} +QGLShader* PythonQtWrapper_QGLShader::new_QGLShader(QGLShader::ShaderType type, QObject* parent) +{ +return new PythonQtShell_QGLShader(type, parent); } + +QGLShader* PythonQtWrapper_QGLShader::new_QGLShader(QGLShader::ShaderType type, const QGLContext* context, QObject* parent) +{ +return new PythonQtShell_QGLShader(type, context, parent); } + +bool PythonQtWrapper_QGLShader::compileSourceCode(QGLShader* theWrappedObject, const QByteArray& source) +{ + return ( theWrappedObject->compileSourceCode(source)); +} + +bool PythonQtWrapper_QGLShader::compileSourceCode(QGLShader* theWrappedObject, const QString& source) +{ + return ( theWrappedObject->compileSourceCode(source)); +} + +bool PythonQtWrapper_QGLShader::compileSourceCode(QGLShader* theWrappedObject, const char* source) +{ + return ( theWrappedObject->compileSourceCode(source)); +} + +bool PythonQtWrapper_QGLShader::compileSourceFile(QGLShader* theWrappedObject, const QString& fileName) +{ + return ( theWrappedObject->compileSourceFile(fileName)); +} + +bool PythonQtWrapper_QGLShader::isCompiled(QGLShader* theWrappedObject) const +{ + return ( theWrappedObject->isCompiled()); +} + +QString PythonQtWrapper_QGLShader::log(QGLShader* theWrappedObject) const +{ + return ( theWrappedObject->log()); +} + +unsigned int PythonQtWrapper_QGLShader::shaderId(QGLShader* theWrappedObject) const +{ + return ( theWrappedObject->shaderId()); +} + +QGLShader::ShaderType PythonQtWrapper_QGLShader::shaderType(QGLShader* theWrappedObject) const +{ + return ( theWrappedObject->shaderType()); +} + +QByteArray PythonQtWrapper_QGLShader::sourceCode(QGLShader* theWrappedObject) const +{ + return ( theWrappedObject->sourceCode()); +} + + + +void PythonQtShell_QGLShaderProgram::childEvent(QChildEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "childEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QChildEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QGLShaderProgram::childEvent(arg__1); +} +void PythonQtShell_QGLShaderProgram::customEvent(QEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "customEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QGLShaderProgram::customEvent(arg__1); +} +bool PythonQtShell_QGLShaderProgram::event(QEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "event"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue; + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QGLShaderProgram::event(arg__1); +} +bool PythonQtShell_QGLShaderProgram::eventFilter(QObject* arg__1, QEvent* arg__2) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "eventFilter"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue; + void* args[3] = {NULL, (void*)&arg__1, (void*)&arg__2}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QGLShaderProgram::eventFilter(arg__1, arg__2); +} +bool PythonQtShell_QGLShaderProgram::link() +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "link"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + bool returnValue; + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("link", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QGLShaderProgram::link(); +} +void PythonQtShell_QGLShaderProgram::timerEvent(QTimerEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "timerEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QTimerEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QGLShaderProgram::timerEvent(arg__1); +} +QGLShaderProgram* PythonQtWrapper_QGLShaderProgram::new_QGLShaderProgram(QObject* parent) +{ +return new PythonQtShell_QGLShaderProgram(parent); } + +QGLShaderProgram* PythonQtWrapper_QGLShaderProgram::new_QGLShaderProgram(const QGLContext* context, QObject* parent) +{ +return new PythonQtShell_QGLShaderProgram(context, parent); } + +bool PythonQtWrapper_QGLShaderProgram::addShader(QGLShaderProgram* theWrappedObject, QGLShader* shader) +{ + return ( theWrappedObject->addShader(shader)); +} + +bool PythonQtWrapper_QGLShaderProgram::addShaderFromSourceCode(QGLShaderProgram* theWrappedObject, QGLShader::ShaderType type, const QByteArray& source) +{ + return ( theWrappedObject->addShaderFromSourceCode(type, source)); +} + +bool PythonQtWrapper_QGLShaderProgram::addShaderFromSourceCode(QGLShaderProgram* theWrappedObject, QGLShader::ShaderType type, const QString& source) +{ + return ( theWrappedObject->addShaderFromSourceCode(type, source)); +} + +bool PythonQtWrapper_QGLShaderProgram::addShaderFromSourceCode(QGLShaderProgram* theWrappedObject, QGLShader::ShaderType type, const char* source) +{ + return ( theWrappedObject->addShaderFromSourceCode(type, source)); +} + +bool PythonQtWrapper_QGLShaderProgram::addShaderFromSourceFile(QGLShaderProgram* theWrappedObject, QGLShader::ShaderType type, const QString& fileName) +{ + return ( theWrappedObject->addShaderFromSourceFile(type, fileName)); +} + +int PythonQtWrapper_QGLShaderProgram::attributeLocation(QGLShaderProgram* theWrappedObject, const QByteArray& name) const +{ + return ( theWrappedObject->attributeLocation(name)); +} + +int PythonQtWrapper_QGLShaderProgram::attributeLocation(QGLShaderProgram* theWrappedObject, const QString& name) const +{ + return ( theWrappedObject->attributeLocation(name)); +} + +int PythonQtWrapper_QGLShaderProgram::attributeLocation(QGLShaderProgram* theWrappedObject, const char* name) const +{ + return ( theWrappedObject->attributeLocation(name)); +} + +bool PythonQtWrapper_QGLShaderProgram::bind(QGLShaderProgram* theWrappedObject) +{ + return ( theWrappedObject->bind()); +} + +void PythonQtWrapper_QGLShaderProgram::bindAttributeLocation(QGLShaderProgram* theWrappedObject, const QByteArray& name, int location) +{ + ( theWrappedObject->bindAttributeLocation(name, location)); +} + +void PythonQtWrapper_QGLShaderProgram::bindAttributeLocation(QGLShaderProgram* theWrappedObject, const QString& name, int location) +{ + ( theWrappedObject->bindAttributeLocation(name, location)); +} + +void PythonQtWrapper_QGLShaderProgram::bindAttributeLocation(QGLShaderProgram* theWrappedObject, const char* name, int location) +{ + ( theWrappedObject->bindAttributeLocation(name, location)); +} + +void PythonQtWrapper_QGLShaderProgram::disableAttributeArray(QGLShaderProgram* theWrappedObject, const char* name) +{ + ( theWrappedObject->disableAttributeArray(name)); +} + +void PythonQtWrapper_QGLShaderProgram::disableAttributeArray(QGLShaderProgram* theWrappedObject, int location) +{ + ( theWrappedObject->disableAttributeArray(location)); +} + +void PythonQtWrapper_QGLShaderProgram::enableAttributeArray(QGLShaderProgram* theWrappedObject, const char* name) +{ + ( theWrappedObject->enableAttributeArray(name)); +} + +void PythonQtWrapper_QGLShaderProgram::enableAttributeArray(QGLShaderProgram* theWrappedObject, int location) +{ + ( theWrappedObject->enableAttributeArray(location)); +} + +bool PythonQtWrapper_QGLShaderProgram::static_QGLShaderProgram_hasOpenGLShaderPrograms(const QGLContext* context) +{ + return (QGLShaderProgram::hasOpenGLShaderPrograms(context)); +} + +bool PythonQtWrapper_QGLShaderProgram::isLinked(QGLShaderProgram* theWrappedObject) const +{ + return ( theWrappedObject->isLinked()); +} + +bool PythonQtWrapper_QGLShaderProgram::link(QGLShaderProgram* theWrappedObject) +{ + return ( ((PythonQtPublicPromoter_QGLShaderProgram*)theWrappedObject)->promoted_link()); +} + +QString PythonQtWrapper_QGLShaderProgram::log(QGLShaderProgram* theWrappedObject) const +{ + return ( theWrappedObject->log()); +} + +unsigned int PythonQtWrapper_QGLShaderProgram::programId(QGLShaderProgram* theWrappedObject) const +{ + return ( theWrappedObject->programId()); +} + +void PythonQtWrapper_QGLShaderProgram::release(QGLShaderProgram* theWrappedObject) +{ + ( theWrappedObject->release()); +} + +void PythonQtWrapper_QGLShaderProgram::removeAllShaders(QGLShaderProgram* theWrappedObject) +{ + ( theWrappedObject->removeAllShaders()); +} + +void PythonQtWrapper_QGLShaderProgram::removeShader(QGLShaderProgram* theWrappedObject, QGLShader* shader) +{ + ( theWrappedObject->removeShader(shader)); +} + +void PythonQtWrapper_QGLShaderProgram::setAttributeArray(QGLShaderProgram* theWrappedObject, const char* name, const QVector2D* values, int stride) +{ + ( theWrappedObject->setAttributeArray(name, values, stride)); +} + +void PythonQtWrapper_QGLShaderProgram::setAttributeArray(QGLShaderProgram* theWrappedObject, const char* name, const QVector3D* values, int stride) +{ + ( theWrappedObject->setAttributeArray(name, values, stride)); +} + +void PythonQtWrapper_QGLShaderProgram::setAttributeArray(QGLShaderProgram* theWrappedObject, const char* name, const QVector4D* values, int stride) +{ + ( theWrappedObject->setAttributeArray(name, values, stride)); +} + +void PythonQtWrapper_QGLShaderProgram::setAttributeArray(QGLShaderProgram* theWrappedObject, const char* name, const float* values, int tupleSize, int stride) +{ + ( theWrappedObject->setAttributeArray(name, values, tupleSize, stride)); +} + +void PythonQtWrapper_QGLShaderProgram::setAttributeArray(QGLShaderProgram* theWrappedObject, int location, const QVector2D* values, int stride) +{ + ( theWrappedObject->setAttributeArray(location, values, stride)); +} + +void PythonQtWrapper_QGLShaderProgram::setAttributeArray(QGLShaderProgram* theWrappedObject, int location, const QVector3D* values, int stride) +{ + ( theWrappedObject->setAttributeArray(location, values, stride)); +} + +void PythonQtWrapper_QGLShaderProgram::setAttributeArray(QGLShaderProgram* theWrappedObject, int location, const QVector4D* values, int stride) +{ + ( theWrappedObject->setAttributeArray(location, values, stride)); +} + +void PythonQtWrapper_QGLShaderProgram::setAttributeArray(QGLShaderProgram* theWrappedObject, int location, const float* values, int tupleSize, int stride) +{ + ( theWrappedObject->setAttributeArray(location, values, tupleSize, stride)); +} + +void PythonQtWrapper_QGLShaderProgram::setAttributeValue(QGLShaderProgram* theWrappedObject, const char* name, const QColor& value) +{ + ( theWrappedObject->setAttributeValue(name, value)); +} + +void PythonQtWrapper_QGLShaderProgram::setAttributeValue(QGLShaderProgram* theWrappedObject, const char* name, const QVector2D& value) +{ + ( theWrappedObject->setAttributeValue(name, value)); +} + +void PythonQtWrapper_QGLShaderProgram::setAttributeValue(QGLShaderProgram* theWrappedObject, const char* name, const QVector3D& value) +{ + ( theWrappedObject->setAttributeValue(name, value)); +} + +void PythonQtWrapper_QGLShaderProgram::setAttributeValue(QGLShaderProgram* theWrappedObject, const char* name, const QVector4D& value) +{ + ( theWrappedObject->setAttributeValue(name, value)); +} + +void PythonQtWrapper_QGLShaderProgram::setAttributeValue(QGLShaderProgram* theWrappedObject, const char* name, const float* values, int columns, int rows) +{ + ( theWrappedObject->setAttributeValue(name, values, columns, rows)); +} + +void PythonQtWrapper_QGLShaderProgram::setAttributeValue(QGLShaderProgram* theWrappedObject, const char* name, float value) +{ + ( theWrappedObject->setAttributeValue(name, value)); +} + +void PythonQtWrapper_QGLShaderProgram::setAttributeValue(QGLShaderProgram* theWrappedObject, const char* name, float x, float y) +{ + ( theWrappedObject->setAttributeValue(name, x, y)); +} + +void PythonQtWrapper_QGLShaderProgram::setAttributeValue(QGLShaderProgram* theWrappedObject, const char* name, float x, float y, float z) +{ + ( theWrappedObject->setAttributeValue(name, x, y, z)); +} + +void PythonQtWrapper_QGLShaderProgram::setAttributeValue(QGLShaderProgram* theWrappedObject, const char* name, float x, float y, float z, float w) +{ + ( theWrappedObject->setAttributeValue(name, x, y, z, w)); +} + +void PythonQtWrapper_QGLShaderProgram::setAttributeValue(QGLShaderProgram* theWrappedObject, int location, const QColor& value) +{ + ( theWrappedObject->setAttributeValue(location, value)); +} + +void PythonQtWrapper_QGLShaderProgram::setAttributeValue(QGLShaderProgram* theWrappedObject, int location, const QVector2D& value) +{ + ( theWrappedObject->setAttributeValue(location, value)); +} + +void PythonQtWrapper_QGLShaderProgram::setAttributeValue(QGLShaderProgram* theWrappedObject, int location, const QVector3D& value) +{ + ( theWrappedObject->setAttributeValue(location, value)); +} + +void PythonQtWrapper_QGLShaderProgram::setAttributeValue(QGLShaderProgram* theWrappedObject, int location, const QVector4D& value) +{ + ( theWrappedObject->setAttributeValue(location, value)); +} + +void PythonQtWrapper_QGLShaderProgram::setAttributeValue(QGLShaderProgram* theWrappedObject, int location, const float* values, int columns, int rows) +{ + ( theWrappedObject->setAttributeValue(location, values, columns, rows)); +} + +void PythonQtWrapper_QGLShaderProgram::setAttributeValue(QGLShaderProgram* theWrappedObject, int location, float value) +{ + ( theWrappedObject->setAttributeValue(location, value)); +} + +void PythonQtWrapper_QGLShaderProgram::setAttributeValue(QGLShaderProgram* theWrappedObject, int location, float x, float y) +{ + ( theWrappedObject->setAttributeValue(location, x, y)); +} + +void PythonQtWrapper_QGLShaderProgram::setAttributeValue(QGLShaderProgram* theWrappedObject, int location, float x, float y, float z) +{ + ( theWrappedObject->setAttributeValue(location, x, y, z)); +} + +void PythonQtWrapper_QGLShaderProgram::setAttributeValue(QGLShaderProgram* theWrappedObject, int location, float x, float y, float z, float w) +{ + ( theWrappedObject->setAttributeValue(location, x, y, z, w)); +} + +void PythonQtWrapper_QGLShaderProgram::setUniformValue(QGLShaderProgram* theWrappedObject, const char* name, const QColor& color) +{ + ( theWrappedObject->setUniformValue(name, color)); +} + +void PythonQtWrapper_QGLShaderProgram::setUniformValue(QGLShaderProgram* theWrappedObject, const char* name, const QMatrix4x4& value) +{ + ( theWrappedObject->setUniformValue(name, value)); +} + +void PythonQtWrapper_QGLShaderProgram::setUniformValue(QGLShaderProgram* theWrappedObject, const char* name, const QPoint& point) +{ + ( theWrappedObject->setUniformValue(name, point)); +} + +void PythonQtWrapper_QGLShaderProgram::setUniformValue(QGLShaderProgram* theWrappedObject, const char* name, const QPointF& point) +{ + ( theWrappedObject->setUniformValue(name, point)); +} + +void PythonQtWrapper_QGLShaderProgram::setUniformValue(QGLShaderProgram* theWrappedObject, const char* name, const QSize& size) +{ + ( theWrappedObject->setUniformValue(name, size)); +} + +void PythonQtWrapper_QGLShaderProgram::setUniformValue(QGLShaderProgram* theWrappedObject, const char* name, const QSizeF& size) +{ + ( theWrappedObject->setUniformValue(name, size)); +} + +void PythonQtWrapper_QGLShaderProgram::setUniformValue(QGLShaderProgram* theWrappedObject, const char* name, const QTransform& value) +{ + ( theWrappedObject->setUniformValue(name, value)); +} + +void PythonQtWrapper_QGLShaderProgram::setUniformValue(QGLShaderProgram* theWrappedObject, const char* name, const QVector2D& value) +{ + ( theWrappedObject->setUniformValue(name, value)); +} + +void PythonQtWrapper_QGLShaderProgram::setUniformValue(QGLShaderProgram* theWrappedObject, const char* name, const QVector3D& value) +{ + ( theWrappedObject->setUniformValue(name, value)); +} + +void PythonQtWrapper_QGLShaderProgram::setUniformValue(QGLShaderProgram* theWrappedObject, const char* name, const QVector4D& value) +{ + ( theWrappedObject->setUniformValue(name, value)); +} + +void PythonQtWrapper_QGLShaderProgram::setUniformValue(QGLShaderProgram* theWrappedObject, const char* name, float value) +{ + ( theWrappedObject->setUniformValue(name, value)); +} + +void PythonQtWrapper_QGLShaderProgram::setUniformValue(QGLShaderProgram* theWrappedObject, const char* name, float x, float y) +{ + ( theWrappedObject->setUniformValue(name, x, y)); +} + +void PythonQtWrapper_QGLShaderProgram::setUniformValue(QGLShaderProgram* theWrappedObject, const char* name, float x, float y, float z) +{ + ( theWrappedObject->setUniformValue(name, x, y, z)); +} + +void PythonQtWrapper_QGLShaderProgram::setUniformValue(QGLShaderProgram* theWrappedObject, const char* name, float x, float y, float z, float w) +{ + ( theWrappedObject->setUniformValue(name, x, y, z, w)); +} + +void PythonQtWrapper_QGLShaderProgram::setUniformValue(QGLShaderProgram* theWrappedObject, const char* name, int value) +{ + ( theWrappedObject->setUniformValue(name, value)); +} + +void PythonQtWrapper_QGLShaderProgram::setUniformValue(QGLShaderProgram* theWrappedObject, const char* name, unsigned int value) +{ + ( theWrappedObject->setUniformValue(name, value)); +} + +void PythonQtWrapper_QGLShaderProgram::setUniformValue(QGLShaderProgram* theWrappedObject, int location, const QColor& color) +{ + ( theWrappedObject->setUniformValue(location, color)); +} + +void PythonQtWrapper_QGLShaderProgram::setUniformValue(QGLShaderProgram* theWrappedObject, int location, const QMatrix4x4& value) +{ + ( theWrappedObject->setUniformValue(location, value)); +} + +void PythonQtWrapper_QGLShaderProgram::setUniformValue(QGLShaderProgram* theWrappedObject, int location, const QPoint& point) +{ + ( theWrappedObject->setUniformValue(location, point)); +} + +void PythonQtWrapper_QGLShaderProgram::setUniformValue(QGLShaderProgram* theWrappedObject, int location, const QPointF& point) +{ + ( theWrappedObject->setUniformValue(location, point)); +} + +void PythonQtWrapper_QGLShaderProgram::setUniformValue(QGLShaderProgram* theWrappedObject, int location, const QSize& size) +{ + ( theWrappedObject->setUniformValue(location, size)); +} + +void PythonQtWrapper_QGLShaderProgram::setUniformValue(QGLShaderProgram* theWrappedObject, int location, const QSizeF& size) +{ + ( theWrappedObject->setUniformValue(location, size)); +} + +void PythonQtWrapper_QGLShaderProgram::setUniformValue(QGLShaderProgram* theWrappedObject, int location, const QTransform& value) +{ + ( theWrappedObject->setUniformValue(location, value)); +} + +void PythonQtWrapper_QGLShaderProgram::setUniformValue(QGLShaderProgram* theWrappedObject, int location, const QVector2D& value) +{ + ( theWrappedObject->setUniformValue(location, value)); +} + +void PythonQtWrapper_QGLShaderProgram::setUniformValue(QGLShaderProgram* theWrappedObject, int location, const QVector3D& value) +{ + ( theWrappedObject->setUniformValue(location, value)); +} + +void PythonQtWrapper_QGLShaderProgram::setUniformValue(QGLShaderProgram* theWrappedObject, int location, const QVector4D& value) +{ + ( theWrappedObject->setUniformValue(location, value)); +} + +void PythonQtWrapper_QGLShaderProgram::setUniformValue(QGLShaderProgram* theWrappedObject, int location, float value) +{ + ( theWrappedObject->setUniformValue(location, value)); +} + +void PythonQtWrapper_QGLShaderProgram::setUniformValue(QGLShaderProgram* theWrappedObject, int location, float x, float y) +{ + ( theWrappedObject->setUniformValue(location, x, y)); +} + +void PythonQtWrapper_QGLShaderProgram::setUniformValue(QGLShaderProgram* theWrappedObject, int location, float x, float y, float z) +{ + ( theWrappedObject->setUniformValue(location, x, y, z)); +} + +void PythonQtWrapper_QGLShaderProgram::setUniformValue(QGLShaderProgram* theWrappedObject, int location, float x, float y, float z, float w) +{ + ( theWrappedObject->setUniformValue(location, x, y, z, w)); +} + +void PythonQtWrapper_QGLShaderProgram::setUniformValue(QGLShaderProgram* theWrappedObject, int location, int value) +{ + ( theWrappedObject->setUniformValue(location, value)); +} + +void PythonQtWrapper_QGLShaderProgram::setUniformValue(QGLShaderProgram* theWrappedObject, int location, unsigned int value) +{ + ( theWrappedObject->setUniformValue(location, value)); +} + +void PythonQtWrapper_QGLShaderProgram::setUniformValueArray(QGLShaderProgram* theWrappedObject, const char* name, const QMatrix4x4* values, int count) +{ + ( theWrappedObject->setUniformValueArray(name, values, count)); +} + +void PythonQtWrapper_QGLShaderProgram::setUniformValueArray(QGLShaderProgram* theWrappedObject, const char* name, const QVector2D* values, int count) +{ + ( theWrappedObject->setUniformValueArray(name, values, count)); +} + +void PythonQtWrapper_QGLShaderProgram::setUniformValueArray(QGLShaderProgram* theWrappedObject, const char* name, const QVector3D* values, int count) +{ + ( theWrappedObject->setUniformValueArray(name, values, count)); +} + +void PythonQtWrapper_QGLShaderProgram::setUniformValueArray(QGLShaderProgram* theWrappedObject, const char* name, const QVector4D* values, int count) +{ + ( theWrappedObject->setUniformValueArray(name, values, count)); +} + +void PythonQtWrapper_QGLShaderProgram::setUniformValueArray(QGLShaderProgram* theWrappedObject, const char* name, const float* values, int count, int tupleSize) +{ + ( theWrappedObject->setUniformValueArray(name, values, count, tupleSize)); +} + +void PythonQtWrapper_QGLShaderProgram::setUniformValueArray(QGLShaderProgram* theWrappedObject, const char* name, const int* values, int count) +{ + ( theWrappedObject->setUniformValueArray(name, values, count)); +} + +void PythonQtWrapper_QGLShaderProgram::setUniformValueArray(QGLShaderProgram* theWrappedObject, const char* name, const unsigned int* values, int count) +{ + ( theWrappedObject->setUniformValueArray(name, values, count)); +} + +void PythonQtWrapper_QGLShaderProgram::setUniformValueArray(QGLShaderProgram* theWrappedObject, int location, const QMatrix4x4* values, int count) +{ + ( theWrappedObject->setUniformValueArray(location, values, count)); +} + +void PythonQtWrapper_QGLShaderProgram::setUniformValueArray(QGLShaderProgram* theWrappedObject, int location, const QVector2D* values, int count) +{ + ( theWrappedObject->setUniformValueArray(location, values, count)); +} + +void PythonQtWrapper_QGLShaderProgram::setUniformValueArray(QGLShaderProgram* theWrappedObject, int location, const QVector3D* values, int count) +{ + ( theWrappedObject->setUniformValueArray(location, values, count)); +} + +void PythonQtWrapper_QGLShaderProgram::setUniformValueArray(QGLShaderProgram* theWrappedObject, int location, const QVector4D* values, int count) +{ + ( theWrappedObject->setUniformValueArray(location, values, count)); +} + +void PythonQtWrapper_QGLShaderProgram::setUniformValueArray(QGLShaderProgram* theWrappedObject, int location, const float* values, int count, int tupleSize) +{ + ( theWrappedObject->setUniformValueArray(location, values, count, tupleSize)); +} + +void PythonQtWrapper_QGLShaderProgram::setUniformValueArray(QGLShaderProgram* theWrappedObject, int location, const int* values, int count) +{ + ( theWrappedObject->setUniformValueArray(location, values, count)); +} + +void PythonQtWrapper_QGLShaderProgram::setUniformValueArray(QGLShaderProgram* theWrappedObject, int location, const unsigned int* values, int count) +{ + ( theWrappedObject->setUniformValueArray(location, values, count)); +} + +QList PythonQtWrapper_QGLShaderProgram::shaders(QGLShaderProgram* theWrappedObject) const +{ + return ( theWrappedObject->shaders()); +} + +int PythonQtWrapper_QGLShaderProgram::uniformLocation(QGLShaderProgram* theWrappedObject, const QByteArray& name) const +{ + return ( theWrappedObject->uniformLocation(name)); +} + +int PythonQtWrapper_QGLShaderProgram::uniformLocation(QGLShaderProgram* theWrappedObject, const QString& name) const +{ + return ( theWrappedObject->uniformLocation(name)); +} + +int PythonQtWrapper_QGLShaderProgram::uniformLocation(QGLShaderProgram* theWrappedObject, const char* name) const +{ + return ( theWrappedObject->uniformLocation(name)); +} + + + +void PythonQtShell_QGLWidget::actionEvent(QActionEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "actionEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QActionEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QGLWidget::actionEvent(arg__1); +} +void PythonQtShell_QGLWidget::changeEvent(QEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "changeEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QGLWidget::changeEvent(arg__1); +} +void PythonQtShell_QGLWidget::childEvent(QChildEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "childEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QChildEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QGLWidget::childEvent(arg__1); +} +void PythonQtShell_QGLWidget::closeEvent(QCloseEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "closeEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QCloseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QGLWidget::closeEvent(arg__1); +} +void PythonQtShell_QGLWidget::contextMenuEvent(QContextMenuEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "contextMenuEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QContextMenuEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QGLWidget::contextMenuEvent(arg__1); +} +void PythonQtShell_QGLWidget::customEvent(QEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "customEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QGLWidget::customEvent(arg__1); +} +int PythonQtShell_QGLWidget::devType() const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "devType"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + int returnValue; + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("devType", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QGLWidget::devType(); +} +void PythonQtShell_QGLWidget::dragEnterEvent(QDragEnterEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dragEnterEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QDragEnterEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QGLWidget::dragEnterEvent(arg__1); +} +void PythonQtShell_QGLWidget::dragLeaveEvent(QDragLeaveEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dragLeaveEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QDragLeaveEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QGLWidget::dragLeaveEvent(arg__1); +} +void PythonQtShell_QGLWidget::dragMoveEvent(QDragMoveEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dragMoveEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QDragMoveEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QGLWidget::dragMoveEvent(arg__1); +} +void PythonQtShell_QGLWidget::dropEvent(QDropEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dropEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QDropEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QGLWidget::dropEvent(arg__1); +} +void PythonQtShell_QGLWidget::enterEvent(QEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "enterEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QGLWidget::enterEvent(arg__1); +} +bool PythonQtShell_QGLWidget::event(QEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "event"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue; + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QGLWidget::event(arg__1); +} +bool PythonQtShell_QGLWidget::eventFilter(QObject* arg__1, QEvent* arg__2) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "eventFilter"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue; + void* args[3] = {NULL, (void*)&arg__1, (void*)&arg__2}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QGLWidget::eventFilter(arg__1, arg__2); +} +void PythonQtShell_QGLWidget::focusInEvent(QFocusEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "focusInEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QFocusEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QGLWidget::focusInEvent(arg__1); +} +bool PythonQtShell_QGLWidget::focusNextPrevChild(bool next) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "focusNextPrevChild"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue; + void* args[2] = {NULL, (void*)&next}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("focusNextPrevChild", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QGLWidget::focusNextPrevChild(next); +} +void PythonQtShell_QGLWidget::focusOutEvent(QFocusEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "focusOutEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QFocusEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QGLWidget::focusOutEvent(arg__1); +} +void PythonQtShell_QGLWidget::glDraw() +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "glDraw"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={""}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QGLWidget::glDraw(); +} +void PythonQtShell_QGLWidget::glInit() +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "glInit"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={""}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QGLWidget::glInit(); +} +int PythonQtShell_QGLWidget::heightForWidth(int arg__1) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "heightForWidth"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"int" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + int returnValue; + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("heightForWidth", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QGLWidget::heightForWidth(arg__1); +} +void PythonQtShell_QGLWidget::hideEvent(QHideEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "hideEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QHideEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QGLWidget::hideEvent(arg__1); +} +void PythonQtShell_QGLWidget::initializeGL() +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "initializeGL"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={""}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QGLWidget::initializeGL(); +} +void PythonQtShell_QGLWidget::initializeOverlayGL() +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "initializeOverlayGL"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={""}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QGLWidget::initializeOverlayGL(); +} +void PythonQtShell_QGLWidget::inputMethodEvent(QInputMethodEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "inputMethodEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QInputMethodEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QGLWidget::inputMethodEvent(arg__1); +} +QVariant PythonQtShell_QGLWidget::inputMethodQuery(Qt::InputMethodQuery arg__1) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "inputMethodQuery"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QVariant" , "Qt::InputMethodQuery"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + QVariant returnValue; + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result); + } else { + returnValue = *((QVariant*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QGLWidget::inputMethodQuery(arg__1); +} +void PythonQtShell_QGLWidget::keyPressEvent(QKeyEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "keyPressEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QKeyEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QGLWidget::keyPressEvent(arg__1); +} +void PythonQtShell_QGLWidget::keyReleaseEvent(QKeyEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "keyReleaseEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QKeyEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QGLWidget::keyReleaseEvent(arg__1); +} +void PythonQtShell_QGLWidget::languageChange() +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "languageChange"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={""}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QGLWidget::languageChange(); +} +void PythonQtShell_QGLWidget::leaveEvent(QEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "leaveEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QGLWidget::leaveEvent(arg__1); +} +int PythonQtShell_QGLWidget::metric(QPaintDevice::PaintDeviceMetric arg__1) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "metric"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + int returnValue; + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("metric", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QGLWidget::metric(arg__1); +} +QSize PythonQtShell_QGLWidget::minimumSizeHint() const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "getMinimumSizeHint"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QSize"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QSize returnValue; + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("getMinimumSizeHint", methodInfo, result); + } else { + returnValue = *((QSize*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QGLWidget::minimumSizeHint(); +} +void PythonQtShell_QGLWidget::mouseDoubleClickEvent(QMouseEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mouseDoubleClickEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QGLWidget::mouseDoubleClickEvent(arg__1); +} +void PythonQtShell_QGLWidget::mouseMoveEvent(QMouseEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mouseMoveEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QGLWidget::mouseMoveEvent(arg__1); +} +void PythonQtShell_QGLWidget::mousePressEvent(QMouseEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mousePressEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QGLWidget::mousePressEvent(arg__1); +} +void PythonQtShell_QGLWidget::mouseReleaseEvent(QMouseEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mouseReleaseEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QGLWidget::mouseReleaseEvent(arg__1); +} +void PythonQtShell_QGLWidget::moveEvent(QMoveEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "moveEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QMoveEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QGLWidget::moveEvent(arg__1); +} +QPaintEngine* PythonQtShell_QGLWidget::paintEngine() const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "paintEngine"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QPaintEngine*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QPaintEngine* returnValue; + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); + } else { + returnValue = *((QPaintEngine**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QGLWidget::paintEngine(); +} +void PythonQtShell_QGLWidget::paintEvent(QPaintEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "paintEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QPaintEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QGLWidget::paintEvent(arg__1); +} +void PythonQtShell_QGLWidget::paintGL() +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "paintGL"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={""}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QGLWidget::paintGL(); +} +void PythonQtShell_QGLWidget::paintOverlayGL() +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "paintOverlayGL"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={""}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QGLWidget::paintOverlayGL(); +} +void PythonQtShell_QGLWidget::resizeEvent(QResizeEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "resizeEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QResizeEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QGLWidget::resizeEvent(arg__1); +} +void PythonQtShell_QGLWidget::resizeGL(int w, int h) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "resizeGL"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "int" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + void* args[3] = {NULL, (void*)&w, (void*)&h}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QGLWidget::resizeGL(w, h); +} +void PythonQtShell_QGLWidget::resizeOverlayGL(int w, int h) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "resizeOverlayGL"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "int" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + void* args[3] = {NULL, (void*)&w, (void*)&h}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QGLWidget::resizeOverlayGL(w, h); +} +void PythonQtShell_QGLWidget::showEvent(QShowEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "showEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QShowEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QGLWidget::showEvent(arg__1); +} +QSize PythonQtShell_QGLWidget::sizeHint() const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "getSizeHint"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QSize"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QSize returnValue; + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("getSizeHint", methodInfo, result); + } else { + returnValue = *((QSize*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QGLWidget::sizeHint(); +} +void PythonQtShell_QGLWidget::tabletEvent(QTabletEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "tabletEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QTabletEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QGLWidget::tabletEvent(arg__1); +} +void PythonQtShell_QGLWidget::timerEvent(QTimerEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "timerEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QTimerEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QGLWidget::timerEvent(arg__1); +} +void PythonQtShell_QGLWidget::updateGL() +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "updateGL"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={""}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QGLWidget::updateGL(); +} +void PythonQtShell_QGLWidget::updateOverlayGL() +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "updateOverlayGL"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={""}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QGLWidget::updateOverlayGL(); +} +void PythonQtShell_QGLWidget::wheelEvent(QWheelEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "wheelEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QWheelEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QGLWidget::wheelEvent(arg__1); +} +QGLWidget* PythonQtWrapper_QGLWidget::new_QGLWidget(QGLContext* context, QWidget* parent, const QGLWidget* shareWidget, Qt::WindowFlags f) +{ +return new PythonQtShell_QGLWidget(context, parent, shareWidget, f); } + +QGLWidget* PythonQtWrapper_QGLWidget::new_QGLWidget(QWidget* parent, const QGLWidget* shareWidget, Qt::WindowFlags f) +{ +return new PythonQtShell_QGLWidget(parent, shareWidget, f); } + +QGLWidget* PythonQtWrapper_QGLWidget::new_QGLWidget(const QGLFormat& format, QWidget* parent, const QGLWidget* shareWidget, Qt::WindowFlags f) +{ +return new PythonQtShell_QGLWidget(format, parent, shareWidget, f); } + +unsigned int PythonQtWrapper_QGLWidget::bindTexture(QGLWidget* theWrappedObject, const QImage& image, unsigned int target, int format) +{ + return ( theWrappedObject->bindTexture(image, target, format)); +} + +unsigned int PythonQtWrapper_QGLWidget::bindTexture(QGLWidget* theWrappedObject, const QImage& image, unsigned int target, int format, QGLContext::BindOptions options) +{ + return ( theWrappedObject->bindTexture(image, target, format, options)); +} + +unsigned int PythonQtWrapper_QGLWidget::bindTexture(QGLWidget* theWrappedObject, const QPixmap& pixmap, unsigned int target, int format) +{ + return ( theWrappedObject->bindTexture(pixmap, target, format)); +} + +unsigned int PythonQtWrapper_QGLWidget::bindTexture(QGLWidget* theWrappedObject, const QPixmap& pixmap, unsigned int target, int format, QGLContext::BindOptions options) +{ + return ( theWrappedObject->bindTexture(pixmap, target, format, options)); +} + +unsigned int PythonQtWrapper_QGLWidget::bindTexture(QGLWidget* theWrappedObject, const QString& fileName) +{ + return ( theWrappedObject->bindTexture(fileName)); +} + +const QGLColormap* PythonQtWrapper_QGLWidget::colormap(QGLWidget* theWrappedObject) const +{ + return &( theWrappedObject->colormap()); +} + +const 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, unsigned int 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, unsigned int textureId, unsigned int textureTarget) +{ + ( theWrappedObject->drawTexture(point, textureId, textureTarget)); +} + +void PythonQtWrapper_QGLWidget::drawTexture(QGLWidget* theWrappedObject, const QRectF& target, unsigned int textureId, unsigned int textureTarget) +{ + ( theWrappedObject->drawTexture(target, textureId, textureTarget)); +} + +bool PythonQtWrapper_QGLWidget::event(QGLWidget* theWrappedObject, QEvent* arg__1) +{ + return ( ((PythonQtPublicPromoter_QGLWidget*)theWrappedObject)->promoted_event(arg__1)); +} + +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()); +} + +QPaintEngine* PythonQtWrapper_QGLWidget::paintEngine(QGLWidget* theWrappedObject) const +{ + return ( ((PythonQtPublicPromoter_QGLWidget*)theWrappedObject)->promoted_paintEngine()); +} + +void PythonQtWrapper_QGLWidget::paintEvent(QGLWidget* theWrappedObject, QPaintEvent* arg__1) +{ + ( ((PythonQtPublicPromoter_QGLWidget*)theWrappedObject)->promoted_paintEvent(arg__1)); +} + +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, int listBase) +{ + ( theWrappedObject->renderText(x, y, z, str, fnt, listBase)); +} + +void PythonQtWrapper_QGLWidget::renderText(QGLWidget* theWrappedObject, int x, int y, const QString& str, const QFont& fnt, int listBase) +{ + ( theWrappedObject->renderText(x, y, str, fnt, listBase)); +} + +void PythonQtWrapper_QGLWidget::resizeEvent(QGLWidget* theWrappedObject, QResizeEvent* arg__1) +{ + ( ((PythonQtPublicPromoter_QGLWidget*)theWrappedObject)->promoted_resizeEvent(arg__1)); +} + +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::setColormap(QGLWidget* theWrappedObject, const QGLColormap& map) +{ + ( theWrappedObject->setColormap(map)); +} + +void PythonQtWrapper_QGLWidget::swapBuffers(QGLWidget* theWrappedObject) +{ + ( theWrappedObject->swapBuffers()); +} + + diff --git a/generated_cpp_47/com_trolltech_qt_opengl/com_trolltech_qt_opengl0.h b/generated_cpp_47/com_trolltech_qt_opengl/com_trolltech_qt_opengl0.h new file mode 100644 index 00000000..26128d14 --- /dev/null +++ b/generated_cpp_47/com_trolltech_qt_opengl/com_trolltech_qt_opengl0.h @@ -0,0 +1,593 @@ +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#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_QGLColormap : public QGLColormap +{ +public: + PythonQtShell_QGLColormap():QGLColormap(),_wrapper(NULL) {}; + PythonQtShell_QGLColormap(const QGLColormap& arg__1):QGLColormap(arg__1),_wrapper(NULL) {}; + + + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtWrapper_QGLColormap : public QObject +{ Q_OBJECT +public: +public slots: +QGLColormap* new_QGLColormap(); +QGLColormap* new_QGLColormap(const QGLColormap& arg__1); +void delete_QGLColormap(QGLColormap* obj) { delete obj; } + QColor entryColor(QGLColormap* theWrappedObject, int idx) const; + unsigned int entryRgb(QGLColormap* theWrappedObject, int idx) const; + int find(QGLColormap* theWrappedObject, unsigned int color) const; + int findNearest(QGLColormap* theWrappedObject, unsigned int color) const; + bool isEmpty(QGLColormap* theWrappedObject) const; + void setEntries(QGLColormap* theWrappedObject, int count, const unsigned int* colors, int base = 0); + void setEntry(QGLColormap* theWrappedObject, int idx, const QColor& color); + void setEntry(QGLColormap* theWrappedObject, int idx, unsigned int color); + int size(QGLColormap* theWrappedObject) const; +}; + + + + + +class PythonQtShell_QGLContext : public QGLContext +{ +public: + PythonQtShell_QGLContext(const QGLFormat& format):QGLContext(format),_wrapper(NULL) {}; + PythonQtShell_QGLContext(const QGLFormat& format, QPaintDevice* device):QGLContext(format, device),_wrapper(NULL) {}; + +virtual bool chooseContext(const QGLContext* shareContext = 0); +virtual bool create(const QGLContext* shareContext = 0); +virtual void doneCurrent(); +virtual void makeCurrent(); +virtual void swapBuffers() const; + + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtPublicPromoter_QGLContext : public QGLContext +{ public: +inline bool promoted_chooseContext(const QGLContext* shareContext = 0) { return QGLContext::chooseContext(shareContext); } +inline bool promoted_create(const QGLContext* shareContext = 0) { return QGLContext::create(shareContext); } +inline void promoted_doneCurrent() { QGLContext::doneCurrent(); } +inline void promoted_makeCurrent() { QGLContext::makeCurrent(); } +inline void promoted_swapBuffers() const { QGLContext::swapBuffers(); } +}; + +class PythonQtWrapper_QGLContext : public QObject +{ Q_OBJECT +public: +Q_ENUMS(BindOption ) +Q_FLAGS(BindOptions ) +enum BindOption{ + NoBindOption = QGLContext::NoBindOption, InvertedYBindOption = QGLContext::InvertedYBindOption, MipmapBindOption = QGLContext::MipmapBindOption, PremultipliedAlphaBindOption = QGLContext::PremultipliedAlphaBindOption, LinearFilteringBindOption = QGLContext::LinearFilteringBindOption, MemoryManagedBindOption = QGLContext::MemoryManagedBindOption, CanFlipNativePixmapBindOption = QGLContext::CanFlipNativePixmapBindOption, DefaultBindOption = QGLContext::DefaultBindOption, InternalBindOption = QGLContext::InternalBindOption}; +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; } + bool static_QGLContext_areSharing(const QGLContext* context1, const QGLContext* context2); + unsigned int bindTexture(QGLContext* theWrappedObject, const QImage& image, unsigned int target = 0x0DE1, int format = 0x1908); + unsigned int bindTexture(QGLContext* theWrappedObject, const QImage& image, unsigned int target, int format, QGLContext::BindOptions options); + unsigned int bindTexture(QGLContext* theWrappedObject, const QPixmap& pixmap, unsigned int target = 0x0DE1, int format = 0x1908); + unsigned int bindTexture(QGLContext* theWrappedObject, const QPixmap& pixmap, unsigned int target, int format, QGLContext::BindOptions options); + unsigned int bindTexture(QGLContext* theWrappedObject, const QString& fileName); + bool chooseContext(QGLContext* theWrappedObject, const QGLContext* shareContext = 0); + bool create(QGLContext* theWrappedObject, const QGLContext* shareContext = 0); + const QGLContext* static_QGLContext_currentContext(); + void deleteTexture(QGLContext* theWrappedObject, unsigned int tx_id); + QPaintDevice* device(QGLContext* theWrappedObject) const; + void doneCurrent(QGLContext* theWrappedObject); + void drawTexture(QGLContext* theWrappedObject, const QPointF& point, unsigned int textureId, unsigned int textureTarget = 0x0DE1); + void drawTexture(QGLContext* theWrappedObject, const QRectF& target, unsigned int textureId, unsigned int textureTarget = 0x0DE1); + QGLFormat format(QGLContext* theWrappedObject) const; + bool isSharing(QGLContext* theWrappedObject) const; + bool isValid(QGLContext* theWrappedObject) const; + void makeCurrent(QGLContext* theWrappedObject); + QColor overlayTransparentColor(QGLContext* theWrappedObject) const; + QGLFormat requestedFormat(QGLContext* theWrappedObject) const; + void reset(QGLContext* theWrappedObject); + void setFormat(QGLContext* theWrappedObject, const QGLFormat& format); + void static_QGLContext_setTextureCacheLimit(int size); + void swapBuffers(QGLContext* theWrappedObject) const; + int static_QGLContext_textureCacheLimit(); +}; + + + + + +class PythonQtShell_QGLFramebufferObject : public QGLFramebufferObject +{ +public: + PythonQtShell_QGLFramebufferObject(const QSize& size, QGLFramebufferObject::Attachment attachment, unsigned int target = 0x0DE1, unsigned int internal_format = 0x8058):QGLFramebufferObject(size, attachment, target, internal_format),_wrapper(NULL) {}; + PythonQtShell_QGLFramebufferObject(const QSize& size, const QGLFramebufferObjectFormat& format):QGLFramebufferObject(size, format),_wrapper(NULL) {}; + PythonQtShell_QGLFramebufferObject(const QSize& size, unsigned int target = 0x0DE1):QGLFramebufferObject(size, target),_wrapper(NULL) {}; + PythonQtShell_QGLFramebufferObject(int width, int height, QGLFramebufferObject::Attachment attachment, unsigned int target = 0x0DE1, unsigned int internal_format = 0x8058):QGLFramebufferObject(width, height, attachment, target, internal_format),_wrapper(NULL) {}; + PythonQtShell_QGLFramebufferObject(int width, int height, const QGLFramebufferObjectFormat& format):QGLFramebufferObject(width, height, format),_wrapper(NULL) {}; + PythonQtShell_QGLFramebufferObject(int width, int height, unsigned int target = 0x0DE1):QGLFramebufferObject(width, height, target),_wrapper(NULL) {}; + +virtual int devType() const; +virtual int metric(QPaintDevice::PaintDeviceMetric metric) const; +virtual QPaintEngine* paintEngine() const; + + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtPublicPromoter_QGLFramebufferObject : public QGLFramebufferObject +{ public: +inline int promoted_devType() const { return QGLFramebufferObject::devType(); } +inline int promoted_metric(QPaintDevice::PaintDeviceMetric metric) const { return QGLFramebufferObject::metric(metric); } +inline QPaintEngine* promoted_paintEngine() const { return QGLFramebufferObject::paintEngine(); } +}; + +class PythonQtWrapper_QGLFramebufferObject : public QObject +{ Q_OBJECT +public: +Q_ENUMS(Attachment ) +enum Attachment{ + NoAttachment = QGLFramebufferObject::NoAttachment, CombinedDepthStencil = QGLFramebufferObject::CombinedDepthStencil, Depth = QGLFramebufferObject::Depth}; +public slots: +QGLFramebufferObject* new_QGLFramebufferObject(const QSize& size, QGLFramebufferObject::Attachment attachment, unsigned int target = 0x0DE1, unsigned int internal_format = 0x8058); +QGLFramebufferObject* new_QGLFramebufferObject(const QSize& size, const QGLFramebufferObjectFormat& format); +QGLFramebufferObject* new_QGLFramebufferObject(const QSize& size, unsigned int target = 0x0DE1); +QGLFramebufferObject* new_QGLFramebufferObject(int width, int height, QGLFramebufferObject::Attachment attachment, unsigned int target = 0x0DE1, unsigned int internal_format = 0x8058); +QGLFramebufferObject* new_QGLFramebufferObject(int width, int height, const QGLFramebufferObjectFormat& format); +QGLFramebufferObject* new_QGLFramebufferObject(int width, int height, unsigned int target = 0x0DE1); +void delete_QGLFramebufferObject(QGLFramebufferObject* obj) { delete obj; } + QGLFramebufferObject::Attachment attachment(QGLFramebufferObject* theWrappedObject) const; + bool bind(QGLFramebufferObject* theWrappedObject); + void static_QGLFramebufferObject_blitFramebuffer(QGLFramebufferObject* target, const QRect& targetRect, QGLFramebufferObject* source, const QRect& sourceRect, unsigned int buffers = 0x00004000, unsigned int filter = 0x2600); + int devType(QGLFramebufferObject* theWrappedObject) const; + void drawTexture(QGLFramebufferObject* theWrappedObject, const QPointF& point, unsigned int textureId, unsigned int textureTarget = 0x0DE1); + void drawTexture(QGLFramebufferObject* theWrappedObject, const QRectF& target, unsigned int textureId, unsigned int textureTarget = 0x0DE1); + QGLFramebufferObjectFormat format(QGLFramebufferObject* theWrappedObject) const; + unsigned int handle(QGLFramebufferObject* theWrappedObject) const; + bool static_QGLFramebufferObject_hasOpenGLFramebufferBlit(); + bool static_QGLFramebufferObject_hasOpenGLFramebufferObjects(); + bool isBound(QGLFramebufferObject* theWrappedObject) const; + bool isValid(QGLFramebufferObject* theWrappedObject) const; + int metric(QGLFramebufferObject* theWrappedObject, QPaintDevice::PaintDeviceMetric metric) const; + QPaintEngine* paintEngine(QGLFramebufferObject* theWrappedObject) const; + bool release(QGLFramebufferObject* theWrappedObject); + QSize size(QGLFramebufferObject* theWrappedObject) const; + unsigned int texture(QGLFramebufferObject* theWrappedObject) const; + QImage toImage(QGLFramebufferObject* theWrappedObject) const; +}; + + + + + +class PythonQtWrapper_QGLFramebufferObjectFormat : public QObject +{ Q_OBJECT +public: +public slots: +QGLFramebufferObjectFormat* new_QGLFramebufferObjectFormat(); +QGLFramebufferObjectFormat* new_QGLFramebufferObjectFormat(const QGLFramebufferObjectFormat& other); +void delete_QGLFramebufferObjectFormat(QGLFramebufferObjectFormat* obj) { delete obj; } + QGLFramebufferObject::Attachment attachment(QGLFramebufferObjectFormat* theWrappedObject) const; + unsigned int internalTextureFormat(QGLFramebufferObjectFormat* theWrappedObject) const; + bool __ne__(QGLFramebufferObjectFormat* theWrappedObject, const QGLFramebufferObjectFormat& other) const; + QGLFramebufferObjectFormat* operator_assign(QGLFramebufferObjectFormat* theWrappedObject, const QGLFramebufferObjectFormat& other); + bool __eq__(QGLFramebufferObjectFormat* theWrappedObject, const QGLFramebufferObjectFormat& other) const; + int samples(QGLFramebufferObjectFormat* theWrappedObject) const; + void setAttachment(QGLFramebufferObjectFormat* theWrappedObject, QGLFramebufferObject::Attachment attachment); + void setInternalTextureFormat(QGLFramebufferObjectFormat* theWrappedObject, unsigned int internalTextureFormat); + void setSamples(QGLFramebufferObjectFormat* theWrappedObject, int samples); + void setTextureTarget(QGLFramebufferObjectFormat* theWrappedObject, unsigned int target); + unsigned int textureTarget(QGLFramebufferObjectFormat* theWrappedObject) const; +}; + + + + + +class PythonQtShell_QGLPixelBuffer : public QGLPixelBuffer +{ +public: + PythonQtShell_QGLPixelBuffer(const QSize& size, const QGLFormat& format = QGLFormat::defaultFormat(), QGLWidget* shareWidget = 0):QGLPixelBuffer(size, format, shareWidget),_wrapper(NULL) {}; + PythonQtShell_QGLPixelBuffer(int width, int height, const QGLFormat& format = QGLFormat::defaultFormat(), QGLWidget* shareWidget = 0):QGLPixelBuffer(width, height, format, shareWidget),_wrapper(NULL) {}; + +virtual int devType() const; +virtual int metric(QPaintDevice::PaintDeviceMetric metric) const; +virtual QPaintEngine* paintEngine() const; + + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtPublicPromoter_QGLPixelBuffer : public QGLPixelBuffer +{ public: +inline int promoted_devType() const { return QGLPixelBuffer::devType(); } +inline int promoted_metric(QPaintDevice::PaintDeviceMetric metric) const { return QGLPixelBuffer::metric(metric); } +inline QPaintEngine* promoted_paintEngine() const { return QGLPixelBuffer::paintEngine(); } +}; + +class PythonQtWrapper_QGLPixelBuffer : public QObject +{ Q_OBJECT +public: +public slots: +QGLPixelBuffer* new_QGLPixelBuffer(const QSize& size, const QGLFormat& format = QGLFormat::defaultFormat(), QGLWidget* shareWidget = 0); +QGLPixelBuffer* new_QGLPixelBuffer(int width, int height, const QGLFormat& format = QGLFormat::defaultFormat(), QGLWidget* shareWidget = 0); +void delete_QGLPixelBuffer(QGLPixelBuffer* obj) { delete obj; } + unsigned int bindTexture(QGLPixelBuffer* theWrappedObject, const QImage& image, unsigned int target = 0x0DE1); + unsigned int bindTexture(QGLPixelBuffer* theWrappedObject, const QPixmap& pixmap, unsigned int target = 0x0DE1); + unsigned int bindTexture(QGLPixelBuffer* theWrappedObject, const QString& fileName); + bool bindToDynamicTexture(QGLPixelBuffer* theWrappedObject, unsigned int texture); + void deleteTexture(QGLPixelBuffer* theWrappedObject, unsigned int texture_id); + int devType(QGLPixelBuffer* theWrappedObject) const; + bool doneCurrent(QGLPixelBuffer* theWrappedObject); + void drawTexture(QGLPixelBuffer* theWrappedObject, const QPointF& point, unsigned int textureId, unsigned int textureTarget = 0x0DE1); + void drawTexture(QGLPixelBuffer* theWrappedObject, const QRectF& target, unsigned int textureId, unsigned int textureTarget = 0x0DE1); + QGLFormat format(QGLPixelBuffer* theWrappedObject) const; + unsigned int generateDynamicTexture(QGLPixelBuffer* theWrappedObject) const; + Qt::HANDLE handle(QGLPixelBuffer* theWrappedObject) const; + bool static_QGLPixelBuffer_hasOpenGLPbuffers(); + bool isValid(QGLPixelBuffer* theWrappedObject) const; + bool makeCurrent(QGLPixelBuffer* theWrappedObject); + int metric(QGLPixelBuffer* theWrappedObject, QPaintDevice::PaintDeviceMetric metric) const; + QPaintEngine* paintEngine(QGLPixelBuffer* theWrappedObject) const; + void releaseFromDynamicTexture(QGLPixelBuffer* theWrappedObject); + QSize size(QGLPixelBuffer* theWrappedObject) const; + QImage toImage(QGLPixelBuffer* theWrappedObject) const; + void updateDynamicTexture(QGLPixelBuffer* theWrappedObject, unsigned int texture_id) const; +}; + + + + + +class PythonQtShell_QGLShader : public QGLShader +{ +public: + PythonQtShell_QGLShader(QGLShader::ShaderType type, QObject* parent = 0):QGLShader(type, parent),_wrapper(NULL) {}; + PythonQtShell_QGLShader(QGLShader::ShaderType type, const QGLContext* context, QObject* parent = 0):QGLShader(type, context, parent),_wrapper(NULL) {}; + +virtual void childEvent(QChildEvent* arg__1); +virtual void customEvent(QEvent* arg__1); +virtual bool event(QEvent* arg__1); +virtual bool eventFilter(QObject* arg__1, QEvent* arg__2); +virtual void timerEvent(QTimerEvent* arg__1); + + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtWrapper_QGLShader : public QObject +{ Q_OBJECT +public: +Q_ENUMS(ShaderTypeBit ) +Q_FLAGS(ShaderType ) +enum ShaderTypeBit{ + Vertex = QGLShader::Vertex, Fragment = QGLShader::Fragment}; +Q_DECLARE_FLAGS(ShaderType, ShaderTypeBit) +public slots: +QGLShader* new_QGLShader(QGLShader::ShaderType type, QObject* parent = 0); +QGLShader* new_QGLShader(QGLShader::ShaderType type, const QGLContext* context, QObject* parent = 0); +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); + bool compileSourceFile(QGLShader* theWrappedObject, const QString& fileName); + bool isCompiled(QGLShader* theWrappedObject) const; + QString log(QGLShader* theWrappedObject) const; + unsigned int shaderId(QGLShader* theWrappedObject) const; + QGLShader::ShaderType shaderType(QGLShader* theWrappedObject) const; + QByteArray sourceCode(QGLShader* theWrappedObject) const; +}; + + + + + +class PythonQtShell_QGLShaderProgram : public QGLShaderProgram +{ +public: + PythonQtShell_QGLShaderProgram(QObject* parent = 0):QGLShaderProgram(parent),_wrapper(NULL) {}; + PythonQtShell_QGLShaderProgram(const QGLContext* context, QObject* parent = 0):QGLShaderProgram(context, parent),_wrapper(NULL) {}; + +virtual void childEvent(QChildEvent* arg__1); +virtual void customEvent(QEvent* arg__1); +virtual bool event(QEvent* arg__1); +virtual bool eventFilter(QObject* arg__1, QEvent* arg__2); +virtual bool link(); +virtual void timerEvent(QTimerEvent* arg__1); + + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtPublicPromoter_QGLShaderProgram : public QGLShaderProgram +{ public: +inline bool promoted_link() { return QGLShaderProgram::link(); } +}; + +class PythonQtWrapper_QGLShaderProgram : public QObject +{ Q_OBJECT +public: +public slots: +QGLShaderProgram* new_QGLShaderProgram(QObject* parent = 0); +QGLShaderProgram* new_QGLShaderProgram(const QGLContext* context, QObject* parent = 0); +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); + bool addShaderFromSourceCode(QGLShaderProgram* theWrappedObject, QGLShader::ShaderType type, const char* source); + bool addShaderFromSourceFile(QGLShaderProgram* theWrappedObject, QGLShader::ShaderType type, const QString& fileName); + int attributeLocation(QGLShaderProgram* theWrappedObject, const QByteArray& name) const; + int attributeLocation(QGLShaderProgram* theWrappedObject, const QString& name) const; + int attributeLocation(QGLShaderProgram* theWrappedObject, const char* name) const; + bool bind(QGLShaderProgram* theWrappedObject); + void bindAttributeLocation(QGLShaderProgram* theWrappedObject, const QByteArray& name, int location); + void bindAttributeLocation(QGLShaderProgram* theWrappedObject, const QString& name, int location); + void bindAttributeLocation(QGLShaderProgram* theWrappedObject, const char* name, int location); + void disableAttributeArray(QGLShaderProgram* theWrappedObject, const char* name); + void disableAttributeArray(QGLShaderProgram* theWrappedObject, int location); + void enableAttributeArray(QGLShaderProgram* theWrappedObject, const char* name); + void enableAttributeArray(QGLShaderProgram* theWrappedObject, int location); + bool static_QGLShaderProgram_hasOpenGLShaderPrograms(const QGLContext* context = 0); + bool isLinked(QGLShaderProgram* theWrappedObject) const; + bool link(QGLShaderProgram* theWrappedObject); + QString log(QGLShaderProgram* theWrappedObject) const; + unsigned int programId(QGLShaderProgram* theWrappedObject) const; + void release(QGLShaderProgram* theWrappedObject); + void removeAllShaders(QGLShaderProgram* theWrappedObject); + void removeShader(QGLShaderProgram* theWrappedObject, QGLShader* shader); + void setAttributeArray(QGLShaderProgram* theWrappedObject, const char* name, const QVector2D* values, int stride = 0); + void setAttributeArray(QGLShaderProgram* theWrappedObject, const char* name, const QVector3D* values, int stride = 0); + void setAttributeArray(QGLShaderProgram* theWrappedObject, const char* name, const QVector4D* values, int stride = 0); + void setAttributeArray(QGLShaderProgram* theWrappedObject, const char* name, const float* values, int tupleSize, int stride = 0); + void setAttributeArray(QGLShaderProgram* theWrappedObject, int location, const QVector2D* values, int stride = 0); + void setAttributeArray(QGLShaderProgram* theWrappedObject, int location, const QVector3D* values, int stride = 0); + void setAttributeArray(QGLShaderProgram* theWrappedObject, int location, const QVector4D* values, int stride = 0); + void setAttributeArray(QGLShaderProgram* theWrappedObject, int location, const float* values, int tupleSize, int stride = 0); + void setAttributeValue(QGLShaderProgram* theWrappedObject, const char* name, const QColor& value); + void setAttributeValue(QGLShaderProgram* theWrappedObject, const char* name, const QVector2D& value); + void setAttributeValue(QGLShaderProgram* theWrappedObject, const char* name, const QVector3D& value); + void setAttributeValue(QGLShaderProgram* theWrappedObject, const char* name, const QVector4D& value); + void setAttributeValue(QGLShaderProgram* theWrappedObject, const char* name, const float* values, int columns, int rows); + void setAttributeValue(QGLShaderProgram* theWrappedObject, const char* name, float value); + void setAttributeValue(QGLShaderProgram* theWrappedObject, const char* name, float x, float y); + void setAttributeValue(QGLShaderProgram* theWrappedObject, const char* name, float x, float y, float z); + void setAttributeValue(QGLShaderProgram* theWrappedObject, const char* name, float x, float y, float z, float w); + void setAttributeValue(QGLShaderProgram* theWrappedObject, int location, const QColor& value); + void setAttributeValue(QGLShaderProgram* theWrappedObject, int location, const QVector2D& value); + void setAttributeValue(QGLShaderProgram* theWrappedObject, int location, const QVector3D& value); + void setAttributeValue(QGLShaderProgram* theWrappedObject, int location, const QVector4D& value); + void setAttributeValue(QGLShaderProgram* theWrappedObject, int location, const float* values, int columns, int rows); + void setAttributeValue(QGLShaderProgram* theWrappedObject, int location, float value); + void setAttributeValue(QGLShaderProgram* theWrappedObject, int location, float x, float y); + void setAttributeValue(QGLShaderProgram* theWrappedObject, int location, float x, float y, float z); + void setAttributeValue(QGLShaderProgram* theWrappedObject, int location, float x, float y, float z, float w); + void setUniformValue(QGLShaderProgram* theWrappedObject, const char* name, const QColor& color); + void setUniformValue(QGLShaderProgram* theWrappedObject, const char* name, const QMatrix4x4& value); + void setUniformValue(QGLShaderProgram* theWrappedObject, const char* name, const QPoint& point); + void setUniformValue(QGLShaderProgram* theWrappedObject, const char* name, const QPointF& point); + void setUniformValue(QGLShaderProgram* theWrappedObject, const char* name, const QSize& size); + void setUniformValue(QGLShaderProgram* theWrappedObject, const char* name, const QSizeF& size); + void setUniformValue(QGLShaderProgram* theWrappedObject, const char* name, const QTransform& value); + 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, float value); + void setUniformValue(QGLShaderProgram* theWrappedObject, const char* name, float x, float y); + void setUniformValue(QGLShaderProgram* theWrappedObject, const char* name, float x, float y, float z); + void setUniformValue(QGLShaderProgram* theWrappedObject, const char* name, float x, float y, float z, float w); + void setUniformValue(QGLShaderProgram* theWrappedObject, const char* name, int value); + void setUniformValue(QGLShaderProgram* theWrappedObject, const char* name, unsigned int value); + void setUniformValue(QGLShaderProgram* theWrappedObject, int location, const QColor& color); + void setUniformValue(QGLShaderProgram* theWrappedObject, int location, const QMatrix4x4& value); + void setUniformValue(QGLShaderProgram* theWrappedObject, int location, const QPoint& point); + void setUniformValue(QGLShaderProgram* theWrappedObject, int location, const QPointF& point); + void setUniformValue(QGLShaderProgram* theWrappedObject, int location, const QSize& size); + void setUniformValue(QGLShaderProgram* theWrappedObject, int location, const QSizeF& size); + void setUniformValue(QGLShaderProgram* theWrappedObject, int location, const QTransform& value); + 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, float value); + void setUniformValue(QGLShaderProgram* theWrappedObject, int location, float x, float y); + void setUniformValue(QGLShaderProgram* theWrappedObject, int location, float x, float y, float z); + void setUniformValue(QGLShaderProgram* theWrappedObject, int location, float x, float y, float z, float w); + void setUniformValue(QGLShaderProgram* theWrappedObject, int location, int value); + void setUniformValue(QGLShaderProgram* theWrappedObject, int location, unsigned int value); + 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 float* values, int count, int tupleSize); + void setUniformValueArray(QGLShaderProgram* theWrappedObject, const char* name, const int* values, int count); + void setUniformValueArray(QGLShaderProgram* theWrappedObject, const char* name, const unsigned int* 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 float* values, int count, int tupleSize); + void setUniformValueArray(QGLShaderProgram* theWrappedObject, int location, const int* values, int count); + void setUniformValueArray(QGLShaderProgram* theWrappedObject, int location, const unsigned int* values, int count); + QList shaders(QGLShaderProgram* theWrappedObject) const; + int uniformLocation(QGLShaderProgram* theWrappedObject, const QByteArray& name) const; + int uniformLocation(QGLShaderProgram* theWrappedObject, const QString& name) const; + int uniformLocation(QGLShaderProgram* theWrappedObject, const char* name) const; +}; + + + + + +class PythonQtShell_QGLWidget : public QGLWidget +{ +public: + PythonQtShell_QGLWidget(QGLContext* context, QWidget* parent = 0, const QGLWidget* shareWidget = 0, Qt::WindowFlags f = 0):QGLWidget(context, parent, shareWidget, f),_wrapper(NULL) {}; + PythonQtShell_QGLWidget(QWidget* parent = 0, const QGLWidget* shareWidget = 0, Qt::WindowFlags f = 0):QGLWidget(parent, shareWidget, f),_wrapper(NULL) {}; + PythonQtShell_QGLWidget(const QGLFormat& format, QWidget* parent = 0, const QGLWidget* shareWidget = 0, Qt::WindowFlags f = 0):QGLWidget(format, parent, shareWidget, f),_wrapper(NULL) {}; + +virtual void actionEvent(QActionEvent* arg__1); +virtual void changeEvent(QEvent* arg__1); +virtual void childEvent(QChildEvent* arg__1); +virtual void closeEvent(QCloseEvent* arg__1); +virtual void contextMenuEvent(QContextMenuEvent* arg__1); +virtual void customEvent(QEvent* arg__1); +virtual int devType() const; +virtual void dragEnterEvent(QDragEnterEvent* arg__1); +virtual void dragLeaveEvent(QDragLeaveEvent* arg__1); +virtual void dragMoveEvent(QDragMoveEvent* arg__1); +virtual void dropEvent(QDropEvent* arg__1); +virtual void enterEvent(QEvent* arg__1); +virtual bool event(QEvent* arg__1); +virtual bool eventFilter(QObject* arg__1, QEvent* arg__2); +virtual void focusInEvent(QFocusEvent* arg__1); +virtual bool focusNextPrevChild(bool next); +virtual void focusOutEvent(QFocusEvent* arg__1); +virtual void glDraw(); +virtual void glInit(); +virtual int heightForWidth(int arg__1) const; +virtual void hideEvent(QHideEvent* arg__1); +virtual void initializeGL(); +virtual void initializeOverlayGL(); +virtual void inputMethodEvent(QInputMethodEvent* arg__1); +virtual QVariant inputMethodQuery(Qt::InputMethodQuery arg__1) const; +virtual void keyPressEvent(QKeyEvent* arg__1); +virtual void keyReleaseEvent(QKeyEvent* arg__1); +virtual void languageChange(); +virtual void leaveEvent(QEvent* arg__1); +virtual int metric(QPaintDevice::PaintDeviceMetric arg__1) const; +virtual QSize minimumSizeHint() const; +virtual void mouseDoubleClickEvent(QMouseEvent* arg__1); +virtual void mouseMoveEvent(QMouseEvent* arg__1); +virtual void mousePressEvent(QMouseEvent* arg__1); +virtual void mouseReleaseEvent(QMouseEvent* arg__1); +virtual void moveEvent(QMoveEvent* arg__1); +virtual QPaintEngine* paintEngine() const; +virtual void paintEvent(QPaintEvent* arg__1); +virtual void paintGL(); +virtual void paintOverlayGL(); +virtual void resizeEvent(QResizeEvent* arg__1); +virtual void resizeGL(int w, int h); +virtual void resizeOverlayGL(int w, int h); +virtual void showEvent(QShowEvent* arg__1); +virtual QSize sizeHint() const; +virtual void tabletEvent(QTabletEvent* arg__1); +virtual void timerEvent(QTimerEvent* arg__1); +virtual void updateGL(); +virtual void updateOverlayGL(); +virtual void wheelEvent(QWheelEvent* arg__1); + + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtPublicPromoter_QGLWidget : public QGLWidget +{ public: +inline bool promoted_event(QEvent* arg__1) { return QGLWidget::event(arg__1); } +inline void promoted_glDraw() { QGLWidget::glDraw(); } +inline void promoted_glInit() { QGLWidget::glInit(); } +inline void promoted_initializeGL() { QGLWidget::initializeGL(); } +inline void promoted_initializeOverlayGL() { QGLWidget::initializeOverlayGL(); } +inline QPaintEngine* promoted_paintEngine() const { return QGLWidget::paintEngine(); } +inline void promoted_paintEvent(QPaintEvent* arg__1) { QGLWidget::paintEvent(arg__1); } +inline void promoted_paintGL() { QGLWidget::paintGL(); } +inline void promoted_paintOverlayGL() { QGLWidget::paintOverlayGL(); } +inline void promoted_resizeEvent(QResizeEvent* arg__1) { QGLWidget::resizeEvent(arg__1); } +inline void promoted_resizeGL(int w, int h) { QGLWidget::resizeGL(w, h); } +inline void promoted_resizeOverlayGL(int w, int h) { QGLWidget::resizeOverlayGL(w, h); } +inline void promoted_updateGL() { QGLWidget::updateGL(); } +inline void promoted_updateOverlayGL() { QGLWidget::updateOverlayGL(); } +}; + +class PythonQtWrapper_QGLWidget : public QObject +{ Q_OBJECT +public: +public slots: +QGLWidget* new_QGLWidget(QGLContext* context, QWidget* parent = 0, const QGLWidget* shareWidget = 0, Qt::WindowFlags f = 0); +QGLWidget* new_QGLWidget(QWidget* parent = 0, const QGLWidget* shareWidget = 0, Qt::WindowFlags f = 0); +QGLWidget* new_QGLWidget(const QGLFormat& format, QWidget* parent = 0, const QGLWidget* shareWidget = 0, Qt::WindowFlags f = 0); +void delete_QGLWidget(QGLWidget* obj) { delete obj; } + unsigned int bindTexture(QGLWidget* theWrappedObject, const QImage& image, unsigned int target = 0x0DE1, int format = 0x1908); + unsigned int bindTexture(QGLWidget* theWrappedObject, const QImage& image, unsigned int target, int format, QGLContext::BindOptions options); + unsigned int bindTexture(QGLWidget* theWrappedObject, const QPixmap& pixmap, unsigned int target = 0x0DE1, int format = 0x1908); + unsigned int bindTexture(QGLWidget* theWrappedObject, const QPixmap& pixmap, unsigned int target, int format, QGLContext::BindOptions options); + unsigned int bindTexture(QGLWidget* theWrappedObject, const QString& fileName); + const QGLColormap* colormap(QGLWidget* theWrappedObject) const; + const QGLContext* context(QGLWidget* theWrappedObject) const; + QImage static_QGLWidget_convertToGLFormat(const QImage& img); + void deleteTexture(QGLWidget* theWrappedObject, unsigned int tx_id); + void doneCurrent(QGLWidget* theWrappedObject); + bool doubleBuffer(QGLWidget* theWrappedObject) const; + void drawTexture(QGLWidget* theWrappedObject, const QPointF& point, unsigned int textureId, unsigned int textureTarget = 0x0DE1); + void drawTexture(QGLWidget* theWrappedObject, const QRectF& target, unsigned int textureId, unsigned int textureTarget = 0x0DE1); + bool event(QGLWidget* theWrappedObject, QEvent* arg__1); + QGLFormat format(QGLWidget* theWrappedObject) const; + void glDraw(QGLWidget* theWrappedObject); + void glInit(QGLWidget* theWrappedObject); + QImage grabFrameBuffer(QGLWidget* theWrappedObject, bool withAlpha = false); + void initializeGL(QGLWidget* theWrappedObject); + void initializeOverlayGL(QGLWidget* theWrappedObject); + 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* paintEngine(QGLWidget* theWrappedObject) const; + void paintEvent(QGLWidget* theWrappedObject, QPaintEvent* arg__1); + void paintGL(QGLWidget* theWrappedObject); + void paintOverlayGL(QGLWidget* theWrappedObject); + 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(), int listBase = 2000); + void renderText(QGLWidget* theWrappedObject, int x, int y, const QString& str, const QFont& fnt = QFont(), int listBase = 2000); + void resizeEvent(QGLWidget* theWrappedObject, QResizeEvent* arg__1); + void resizeGL(QGLWidget* theWrappedObject, int w, int h); + void resizeOverlayGL(QGLWidget* theWrappedObject, int w, int h); + void setColormap(QGLWidget* theWrappedObject, const QGLColormap& map); + void swapBuffers(QGLWidget* theWrappedObject); +}; + + diff --git a/generated_cpp_47/com_trolltech_qt_opengl/com_trolltech_qt_opengl_init.cpp b/generated_cpp_47/com_trolltech_qt_opengl/com_trolltech_qt_opengl_init.cpp new file mode 100644 index 00000000..7abfb27c --- /dev/null +++ b/generated_cpp_47/com_trolltech_qt_opengl/com_trolltech_qt_opengl_init.cpp @@ -0,0 +1,17 @@ +#include +#include "com_trolltech_qt_opengl0.h" + + +void PythonQt_init_QtOpenGL(PyObject* module) { +PythonQt::priv()->registerCPPClass("QGLColormap", "", "QtOpenGL", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); +PythonQt::priv()->registerCPPClass("QGLContext", "", "QtOpenGL", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); +PythonQt::priv()->registerCPPClass("QGLFramebufferObject", "", "QtOpenGL", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); +PythonQt::self()->addParentClass("QGLFramebufferObject", "QPaintDevice",PythonQtUpcastingOffset()); +PythonQt::priv()->registerCPPClass("QGLFramebufferObjectFormat", "", "QtOpenGL", PythonQtCreateObject, NULL, module, PythonQt::Type_RichCompare); +PythonQt::priv()->registerCPPClass("QGLPixelBuffer", "", "QtOpenGL", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); +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, 0); + +} diff --git a/generated_cpp_47/com_trolltech_qt_sql/com_trolltech_qt_sql.pri b/generated_cpp_47/com_trolltech_qt_sql/com_trolltech_qt_sql.pri new file mode 100644 index 00000000..38611e2c --- /dev/null +++ b/generated_cpp_47/com_trolltech_qt_sql/com_trolltech_qt_sql.pri @@ -0,0 +1,6 @@ +HEADERS += \ + $$PWD/com_trolltech_qt_sql0.h \ + +SOURCES += \ + $$PWD/com_trolltech_qt_sql0.cpp \ + $$PWD/com_trolltech_qt_sql_init.cpp diff --git a/generated_cpp_47/com_trolltech_qt_sql/com_trolltech_qt_sql0.cpp b/generated_cpp_47/com_trolltech_qt_sql/com_trolltech_qt_sql0.cpp new file mode 100644 index 00000000..8625ba2e --- /dev/null +++ b/generated_cpp_47/com_trolltech_qt_sql/com_trolltech_qt_sql0.cpp @@ -0,0 +1,5698 @@ +#include "com_trolltech_qt_sql0.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 + + + +QSqlDatabase* PythonQtWrapper_QSqlDatabase::new_QSqlDatabase() +{ +return new PythonQtShell_QSqlDatabase(); } + +QSqlDatabase* PythonQtWrapper_QSqlDatabase::new_QSqlDatabase(const QSqlDatabase& other) +{ +return new PythonQtShell_QSqlDatabase(other); } + +QSqlDatabase PythonQtWrapper_QSqlDatabase::static_QSqlDatabase_addDatabase(QSqlDriver* driver, const QString& connectionName) +{ + return (QSqlDatabase::addDatabase(driver, connectionName)); +} + +QSqlDatabase PythonQtWrapper_QSqlDatabase::static_QSqlDatabase_addDatabase(const QString& type, const QString& connectionName) +{ + return (QSqlDatabase::addDatabase(type, connectionName)); +} + +QSqlDatabase PythonQtWrapper_QSqlDatabase::static_QSqlDatabase_cloneDatabase(const QSqlDatabase& other, const QString& connectionName) +{ + return (QSqlDatabase::cloneDatabase(other, connectionName)); +} + +void PythonQtWrapper_QSqlDatabase::close(QSqlDatabase* theWrappedObject) +{ + ( theWrappedObject->close()); +} + +bool PythonQtWrapper_QSqlDatabase::commit(QSqlDatabase* theWrappedObject) +{ + return ( theWrappedObject->commit()); +} + +QString PythonQtWrapper_QSqlDatabase::connectOptions(QSqlDatabase* theWrappedObject) const +{ + return ( theWrappedObject->connectOptions()); +} + +QString PythonQtWrapper_QSqlDatabase::connectionName(QSqlDatabase* theWrappedObject) const +{ + return ( theWrappedObject->connectionName()); +} + +QStringList PythonQtWrapper_QSqlDatabase::static_QSqlDatabase_connectionNames() +{ + return (QSqlDatabase::connectionNames()); +} + +bool PythonQtWrapper_QSqlDatabase::static_QSqlDatabase_contains(const QString& connectionName) +{ + return (QSqlDatabase::contains(connectionName)); +} + +QSqlDatabase PythonQtWrapper_QSqlDatabase::static_QSqlDatabase_database(const QString& connectionName, bool open) +{ + return (QSqlDatabase::database(connectionName, open)); +} + +QString PythonQtWrapper_QSqlDatabase::databaseName(QSqlDatabase* theWrappedObject) const +{ + return ( theWrappedObject->databaseName()); +} + +QSqlDriver* PythonQtWrapper_QSqlDatabase::driver(QSqlDatabase* theWrappedObject) const +{ + return ( theWrappedObject->driver()); +} + +QString PythonQtWrapper_QSqlDatabase::driverName(QSqlDatabase* theWrappedObject) const +{ + return ( theWrappedObject->driverName()); +} + +QStringList PythonQtWrapper_QSqlDatabase::static_QSqlDatabase_drivers() +{ + return (QSqlDatabase::drivers()); +} + +QSqlQuery PythonQtWrapper_QSqlDatabase::exec(QSqlDatabase* theWrappedObject, const QString& query) const +{ + return ( theWrappedObject->exec(query)); +} + +QString PythonQtWrapper_QSqlDatabase::hostName(QSqlDatabase* theWrappedObject) const +{ + return ( theWrappedObject->hostName()); +} + +bool PythonQtWrapper_QSqlDatabase::static_QSqlDatabase_isDriverAvailable(const QString& name) +{ + return (QSqlDatabase::isDriverAvailable(name)); +} + +bool PythonQtWrapper_QSqlDatabase::isOpen(QSqlDatabase* theWrappedObject) const +{ + return ( theWrappedObject->isOpen()); +} + +bool PythonQtWrapper_QSqlDatabase::isOpenError(QSqlDatabase* theWrappedObject) const +{ + return ( theWrappedObject->isOpenError()); +} + +bool PythonQtWrapper_QSqlDatabase::isValid(QSqlDatabase* theWrappedObject) const +{ + return ( theWrappedObject->isValid()); +} + +QSqlError PythonQtWrapper_QSqlDatabase::lastError(QSqlDatabase* theWrappedObject) const +{ + return ( theWrappedObject->lastError()); +} + +QSql::NumericalPrecisionPolicy PythonQtWrapper_QSqlDatabase::numericalPrecisionPolicy(QSqlDatabase* theWrappedObject) const +{ + return ( theWrappedObject->numericalPrecisionPolicy()); +} + +bool PythonQtWrapper_QSqlDatabase::open(QSqlDatabase* theWrappedObject) +{ + return ( theWrappedObject->open()); +} + +bool PythonQtWrapper_QSqlDatabase::open(QSqlDatabase* theWrappedObject, const QString& user, const QString& password) +{ + return ( theWrappedObject->open(user, password)); +} + +QString PythonQtWrapper_QSqlDatabase::password(QSqlDatabase* theWrappedObject) const +{ + return ( theWrappedObject->password()); +} + +int PythonQtWrapper_QSqlDatabase::port(QSqlDatabase* theWrappedObject) const +{ + return ( theWrappedObject->port()); +} + +QSqlIndex PythonQtWrapper_QSqlDatabase::primaryIndex(QSqlDatabase* theWrappedObject, const QString& tablename) const +{ + return ( theWrappedObject->primaryIndex(tablename)); +} + +QSqlRecord PythonQtWrapper_QSqlDatabase::record(QSqlDatabase* theWrappedObject, const QString& tablename) const +{ + return ( theWrappedObject->record(tablename)); +} + +void PythonQtWrapper_QSqlDatabase::static_QSqlDatabase_registerSqlDriver(const QString& name, QSqlDriverCreatorBase* creator) +{ + (QSqlDatabase::registerSqlDriver(name, creator)); +} + +void PythonQtWrapper_QSqlDatabase::static_QSqlDatabase_removeDatabase(const QString& connectionName) +{ + (QSqlDatabase::removeDatabase(connectionName)); +} + +bool PythonQtWrapper_QSqlDatabase::rollback(QSqlDatabase* theWrappedObject) +{ + return ( theWrappedObject->rollback()); +} + +void PythonQtWrapper_QSqlDatabase::setConnectOptions(QSqlDatabase* theWrappedObject, const QString& options) +{ + ( theWrappedObject->setConnectOptions(options)); +} + +void PythonQtWrapper_QSqlDatabase::setDatabaseName(QSqlDatabase* theWrappedObject, const QString& name) +{ + ( theWrappedObject->setDatabaseName(name)); +} + +void PythonQtWrapper_QSqlDatabase::setHostName(QSqlDatabase* theWrappedObject, const QString& host) +{ + ( theWrappedObject->setHostName(host)); +} + +void PythonQtWrapper_QSqlDatabase::setNumericalPrecisionPolicy(QSqlDatabase* theWrappedObject, QSql::NumericalPrecisionPolicy precisionPolicy) +{ + ( theWrappedObject->setNumericalPrecisionPolicy(precisionPolicy)); +} + +void PythonQtWrapper_QSqlDatabase::setPassword(QSqlDatabase* theWrappedObject, const QString& password) +{ + ( theWrappedObject->setPassword(password)); +} + +void PythonQtWrapper_QSqlDatabase::setPort(QSqlDatabase* theWrappedObject, int p) +{ + ( theWrappedObject->setPort(p)); +} + +void PythonQtWrapper_QSqlDatabase::setUserName(QSqlDatabase* theWrappedObject, const QString& name) +{ + ( theWrappedObject->setUserName(name)); +} + +QStringList PythonQtWrapper_QSqlDatabase::tables(QSqlDatabase* theWrappedObject, QSql::TableType type) const +{ + return ( theWrappedObject->tables(type)); +} + +bool PythonQtWrapper_QSqlDatabase::transaction(QSqlDatabase* theWrappedObject) +{ + return ( theWrappedObject->transaction()); +} + +QString PythonQtWrapper_QSqlDatabase::userName(QSqlDatabase* theWrappedObject) const +{ + return ( theWrappedObject->userName()); +} + +QString PythonQtWrapper_QSqlDatabase::py_toString(QSqlDatabase* obj) { + QString result; + QDebug d(&result); + d << *obj; + return result; +} + + + +bool PythonQtShell_QSqlDriver::beginTransaction() +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "beginTransaction"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + bool returnValue; + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("beginTransaction", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QSqlDriver::beginTransaction(); +} +void PythonQtShell_QSqlDriver::childEvent(QChildEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "childEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QChildEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QSqlDriver::childEvent(arg__1); +} +void PythonQtShell_QSqlDriver::close() +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "close"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={""}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + +} +bool PythonQtShell_QSqlDriver::commitTransaction() +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "commitTransaction"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + bool returnValue; + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("commitTransaction", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QSqlDriver::commitTransaction(); +} +QSqlResult* PythonQtShell_QSqlDriver::createResult() const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "createResult"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QSqlResult*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QSqlResult* returnValue; + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("createResult", methodInfo, result); + } else { + returnValue = *((QSqlResult**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return 0; +} +void PythonQtShell_QSqlDriver::customEvent(QEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "customEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QSqlDriver::customEvent(arg__1); +} +QString PythonQtShell_QSqlDriver::escapeIdentifier(const QString& identifier, QSqlDriver::IdentifierType type) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "escapeIdentifier"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QString" , "const QString&" , "QSqlDriver::IdentifierType"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + QString returnValue; + void* args[3] = {NULL, (void*)&identifier, (void*)&type}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("escapeIdentifier", methodInfo, result); + } else { + returnValue = *((QString*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QSqlDriver::escapeIdentifier(identifier, type); +} +bool PythonQtShell_QSqlDriver::event(QEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "event"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue; + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QSqlDriver::event(arg__1); +} +bool PythonQtShell_QSqlDriver::eventFilter(QObject* arg__1, QEvent* arg__2) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "eventFilter"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue; + void* args[3] = {NULL, (void*)&arg__1, (void*)&arg__2}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QSqlDriver::eventFilter(arg__1, arg__2); +} +QString PythonQtShell_QSqlDriver::formatValue(const QSqlField& field, bool trimStrings) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "formatValue"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QString" , "const QSqlField&" , "bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + QString returnValue; + void* args[3] = {NULL, (void*)&field, (void*)&trimStrings}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("formatValue", methodInfo, result); + } else { + returnValue = *((QString*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QSqlDriver::formatValue(field, trimStrings); +} +QVariant PythonQtShell_QSqlDriver::handle() const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "handle"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QVariant"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QVariant returnValue; + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("handle", methodInfo, result); + } else { + returnValue = *((QVariant*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QSqlDriver::handle(); +} +bool PythonQtShell_QSqlDriver::hasFeature(QSqlDriver::DriverFeature f) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "hasFeature"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "QSqlDriver::DriverFeature"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue; + void* args[2] = {NULL, (void*)&f}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("hasFeature", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return bool(); +} +bool PythonQtShell_QSqlDriver::isOpen() const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "isOpen"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + bool returnValue; + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("isOpen", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QSqlDriver::isOpen(); +} +bool PythonQtShell_QSqlDriver::open(const QString& db, const QString& user, const QString& password, const QString& host, int port, const QString& connOpts) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "open"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "const QString&" , "const QString&" , "const QString&" , "const QString&" , "int" , "const QString&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(7, argumentList); + bool returnValue; + void* args[7] = {NULL, (void*)&db, (void*)&user, (void*)&password, (void*)&host, (void*)&port, (void*)&connOpts}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("open", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return bool(); +} +QSqlIndex PythonQtShell_QSqlDriver::primaryIndex(const QString& tableName) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "primaryIndex"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QSqlIndex" , "const QString&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + QSqlIndex returnValue; + void* args[2] = {NULL, (void*)&tableName}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("primaryIndex", methodInfo, result); + } else { + returnValue = *((QSqlIndex*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QSqlDriver::primaryIndex(tableName); +} +QSqlRecord PythonQtShell_QSqlDriver::record(const QString& tableName) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "record"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QSqlRecord" , "const QString&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + QSqlRecord returnValue; + void* args[2] = {NULL, (void*)&tableName}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("record", methodInfo, result); + } else { + returnValue = *((QSqlRecord*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QSqlDriver::record(tableName); +} +bool PythonQtShell_QSqlDriver::rollbackTransaction() +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "rollbackTransaction"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + bool returnValue; + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("rollbackTransaction", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QSqlDriver::rollbackTransaction(); +} +void PythonQtShell_QSqlDriver::setLastError(const QSqlError& e) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "setLastError"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "const QSqlError&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&e}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QSqlDriver::setLastError(e); +} +void PythonQtShell_QSqlDriver::setOpen(bool o) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "setOpen"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&o}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QSqlDriver::setOpen(o); +} +void PythonQtShell_QSqlDriver::setOpenError(bool e) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "setOpenError"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&e}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QSqlDriver::setOpenError(e); +} +QString PythonQtShell_QSqlDriver::sqlStatement(QSqlDriver::StatementType type, const QString& tableName, const QSqlRecord& rec, bool preparedStatement) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "sqlStatement"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QString" , "QSqlDriver::StatementType" , "const QString&" , "const QSqlRecord&" , "bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(5, argumentList); + QString returnValue; + void* args[5] = {NULL, (void*)&type, (void*)&tableName, (void*)&rec, (void*)&preparedStatement}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("sqlStatement", methodInfo, result); + } else { + returnValue = *((QString*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QSqlDriver::sqlStatement(type, tableName, rec, preparedStatement); +} +QStringList PythonQtShell_QSqlDriver::tables(QSql::TableType tableType) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "tables"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QStringList" , "QSql::TableType"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + QStringList returnValue; + void* args[2] = {NULL, (void*)&tableType}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("tables", methodInfo, result); + } else { + returnValue = *((QStringList*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QSqlDriver::tables(tableType); +} +void PythonQtShell_QSqlDriver::timerEvent(QTimerEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "timerEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QTimerEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QSqlDriver::timerEvent(arg__1); +} +QSqlDriver* PythonQtWrapper_QSqlDriver::new_QSqlDriver(QObject* parent) +{ +return new PythonQtShell_QSqlDriver(parent); } + +bool PythonQtWrapper_QSqlDriver::beginTransaction(QSqlDriver* theWrappedObject) +{ + return ( ((PythonQtPublicPromoter_QSqlDriver*)theWrappedObject)->promoted_beginTransaction()); +} + +bool PythonQtWrapper_QSqlDriver::commitTransaction(QSqlDriver* theWrappedObject) +{ + return ( ((PythonQtPublicPromoter_QSqlDriver*)theWrappedObject)->promoted_commitTransaction()); +} + +QString PythonQtWrapper_QSqlDriver::escapeIdentifier(QSqlDriver* theWrappedObject, const QString& identifier, QSqlDriver::IdentifierType type) const +{ + return ( ((PythonQtPublicPromoter_QSqlDriver*)theWrappedObject)->promoted_escapeIdentifier(identifier, type)); +} + +QString PythonQtWrapper_QSqlDriver::formatValue(QSqlDriver* theWrappedObject, const QSqlField& field, bool trimStrings) const +{ + return ( ((PythonQtPublicPromoter_QSqlDriver*)theWrappedObject)->promoted_formatValue(field, trimStrings)); +} + +QVariant PythonQtWrapper_QSqlDriver::handle(QSqlDriver* theWrappedObject) const +{ + return ( ((PythonQtPublicPromoter_QSqlDriver*)theWrappedObject)->promoted_handle()); +} + +bool PythonQtWrapper_QSqlDriver::isIdentifierEscaped(QSqlDriver* theWrappedObject, const QString& identifier, QSqlDriver::IdentifierType type) const +{ + return ( theWrappedObject->isIdentifierEscaped(identifier, type)); +} + +bool PythonQtWrapper_QSqlDriver::isOpen(QSqlDriver* theWrappedObject) const +{ + return ( ((PythonQtPublicPromoter_QSqlDriver*)theWrappedObject)->promoted_isOpen()); +} + +bool PythonQtWrapper_QSqlDriver::isOpenError(QSqlDriver* theWrappedObject) const +{ + return ( theWrappedObject->isOpenError()); +} + +QSqlError PythonQtWrapper_QSqlDriver::lastError(QSqlDriver* theWrappedObject) const +{ + return ( theWrappedObject->lastError()); +} + +QSql::NumericalPrecisionPolicy PythonQtWrapper_QSqlDriver::numericalPrecisionPolicy(QSqlDriver* theWrappedObject) const +{ + return ( theWrappedObject->numericalPrecisionPolicy()); +} + +QSqlIndex PythonQtWrapper_QSqlDriver::primaryIndex(QSqlDriver* theWrappedObject, const QString& tableName) const +{ + return ( ((PythonQtPublicPromoter_QSqlDriver*)theWrappedObject)->promoted_primaryIndex(tableName)); +} + +QSqlRecord PythonQtWrapper_QSqlDriver::record(QSqlDriver* theWrappedObject, const QString& tableName) const +{ + return ( ((PythonQtPublicPromoter_QSqlDriver*)theWrappedObject)->promoted_record(tableName)); +} + +bool PythonQtWrapper_QSqlDriver::rollbackTransaction(QSqlDriver* theWrappedObject) +{ + return ( ((PythonQtPublicPromoter_QSqlDriver*)theWrappedObject)->promoted_rollbackTransaction()); +} + +void PythonQtWrapper_QSqlDriver::setLastError(QSqlDriver* theWrappedObject, const QSqlError& e) +{ + ( ((PythonQtPublicPromoter_QSqlDriver*)theWrappedObject)->promoted_setLastError(e)); +} + +void PythonQtWrapper_QSqlDriver::setNumericalPrecisionPolicy(QSqlDriver* theWrappedObject, QSql::NumericalPrecisionPolicy precisionPolicy) +{ + ( theWrappedObject->setNumericalPrecisionPolicy(precisionPolicy)); +} + +void PythonQtWrapper_QSqlDriver::setOpen(QSqlDriver* theWrappedObject, bool o) +{ + ( ((PythonQtPublicPromoter_QSqlDriver*)theWrappedObject)->promoted_setOpen(o)); +} + +void PythonQtWrapper_QSqlDriver::setOpenError(QSqlDriver* theWrappedObject, bool e) +{ + ( ((PythonQtPublicPromoter_QSqlDriver*)theWrappedObject)->promoted_setOpenError(e)); +} + +QString PythonQtWrapper_QSqlDriver::sqlStatement(QSqlDriver* theWrappedObject, QSqlDriver::StatementType type, const QString& tableName, const QSqlRecord& rec, bool preparedStatement) const +{ + return ( ((PythonQtPublicPromoter_QSqlDriver*)theWrappedObject)->promoted_sqlStatement(type, tableName, rec, preparedStatement)); +} + +QString PythonQtWrapper_QSqlDriver::stripDelimiters(QSqlDriver* theWrappedObject, const QString& identifier, QSqlDriver::IdentifierType type) const +{ + return ( theWrappedObject->stripDelimiters(identifier, type)); +} + +bool PythonQtWrapper_QSqlDriver::subscribeToNotification(QSqlDriver* theWrappedObject, const QString& name) +{ + return ( theWrappedObject->subscribeToNotification(name)); +} + +QStringList PythonQtWrapper_QSqlDriver::subscribedToNotifications(QSqlDriver* theWrappedObject) const +{ + return ( theWrappedObject->subscribedToNotifications()); +} + +QStringList PythonQtWrapper_QSqlDriver::tables(QSqlDriver* theWrappedObject, QSql::TableType tableType) const +{ + return ( ((PythonQtPublicPromoter_QSqlDriver*)theWrappedObject)->promoted_tables(tableType)); +} + +bool PythonQtWrapper_QSqlDriver::unsubscribeFromNotification(QSqlDriver* theWrappedObject, const QString& name) +{ + return ( theWrappedObject->unsubscribeFromNotification(name)); +} + + + +QSqlDriver* PythonQtShell_QSqlDriverCreatorBase::createObject() const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "createObject"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QSqlDriver*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QSqlDriver* returnValue; + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("createObject", methodInfo, result); + } else { + returnValue = *((QSqlDriver**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return 0; +} +QSqlDriverCreatorBase* PythonQtWrapper_QSqlDriverCreatorBase::new_QSqlDriverCreatorBase() +{ +return new PythonQtShell_QSqlDriverCreatorBase(); } + + + +QSqlError* PythonQtWrapper_QSqlError::new_QSqlError(const QSqlError& other) +{ +return new QSqlError(other); } + +QSqlError* PythonQtWrapper_QSqlError::new_QSqlError(const QString& driverText, const QString& databaseText, QSqlError::ErrorType type, int number) +{ +return new QSqlError(driverText, databaseText, type, number); } + +QString PythonQtWrapper_QSqlError::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()); +} + +int PythonQtWrapper_QSqlError::number(QSqlError* theWrappedObject) const +{ + return ( theWrappedObject->number()); +} + +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)); +} + +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); } + +QSqlField* PythonQtWrapper_QSqlField::new_QSqlField(const QString& fieldName, QVariant::Type type) +{ +return new QSqlField(fieldName, type); } + +void PythonQtWrapper_QSqlField::clear(QSqlField* theWrappedObject) +{ + ( theWrappedObject->clear()); +} + +QVariant PythonQtWrapper_QSqlField::defaultValue(QSqlField* theWrappedObject) const +{ + return ( theWrappedObject->defaultValue()); +} + +bool PythonQtWrapper_QSqlField::isAutoValue(QSqlField* theWrappedObject) const +{ + return ( theWrappedObject->isAutoValue()); +} + +bool PythonQtWrapper_QSqlField::isGenerated(QSqlField* theWrappedObject) const +{ + return ( theWrappedObject->isGenerated()); +} + +bool PythonQtWrapper_QSqlField::isNull(QSqlField* theWrappedObject) const +{ + return ( theWrappedObject->isNull()); +} + +bool PythonQtWrapper_QSqlField::isReadOnly(QSqlField* theWrappedObject) const +{ + return ( theWrappedObject->isReadOnly()); +} + +bool PythonQtWrapper_QSqlField::isValid(QSqlField* theWrappedObject) const +{ + return ( theWrappedObject->isValid()); +} + +int PythonQtWrapper_QSqlField::length(QSqlField* theWrappedObject) const +{ + return ( theWrappedObject->length()); +} + +QString PythonQtWrapper_QSqlField::name(QSqlField* theWrappedObject) const +{ + return ( theWrappedObject->name()); +} + +bool PythonQtWrapper_QSqlField::__ne__(QSqlField* theWrappedObject, const QSqlField& other) const +{ + return ( (*theWrappedObject)!= other); +} + +bool PythonQtWrapper_QSqlField::__eq__(QSqlField* theWrappedObject, const QSqlField& other) const +{ + return ( (*theWrappedObject)== other); +} + +int PythonQtWrapper_QSqlField::precision(QSqlField* theWrappedObject) const +{ + return ( theWrappedObject->precision()); +} + +QSqlField::RequiredStatus PythonQtWrapper_QSqlField::requiredStatus(QSqlField* theWrappedObject) const +{ + return ( theWrappedObject->requiredStatus()); +} + +void PythonQtWrapper_QSqlField::setAutoValue(QSqlField* theWrappedObject, bool autoVal) +{ + ( theWrappedObject->setAutoValue(autoVal)); +} + +void PythonQtWrapper_QSqlField::setDefaultValue(QSqlField* theWrappedObject, const QVariant& value) +{ + ( theWrappedObject->setDefaultValue(value)); +} + +void PythonQtWrapper_QSqlField::setGenerated(QSqlField* theWrappedObject, bool gen) +{ + ( theWrappedObject->setGenerated(gen)); +} + +void PythonQtWrapper_QSqlField::setLength(QSqlField* theWrappedObject, int fieldLength) +{ + ( theWrappedObject->setLength(fieldLength)); +} + +void PythonQtWrapper_QSqlField::setName(QSqlField* theWrappedObject, const QString& name) +{ + ( theWrappedObject->setName(name)); +} + +void PythonQtWrapper_QSqlField::setPrecision(QSqlField* theWrappedObject, int precision) +{ + ( theWrappedObject->setPrecision(precision)); +} + +void PythonQtWrapper_QSqlField::setReadOnly(QSqlField* theWrappedObject, bool readOnly) +{ + ( theWrappedObject->setReadOnly(readOnly)); +} + +void PythonQtWrapper_QSqlField::setRequired(QSqlField* theWrappedObject, bool required) +{ + ( theWrappedObject->setRequired(required)); +} + +void PythonQtWrapper_QSqlField::setRequiredStatus(QSqlField* theWrappedObject, QSqlField::RequiredStatus status) +{ + ( theWrappedObject->setRequiredStatus(status)); +} + +void PythonQtWrapper_QSqlField::setSqlType(QSqlField* theWrappedObject, int type) +{ + ( theWrappedObject->setSqlType(type)); +} + +void PythonQtWrapper_QSqlField::setType(QSqlField* theWrappedObject, QVariant::Type type) +{ + ( theWrappedObject->setType(type)); +} + +void PythonQtWrapper_QSqlField::setValue(QSqlField* theWrappedObject, const QVariant& value) +{ + ( theWrappedObject->setValue(value)); +} + +QVariant::Type PythonQtWrapper_QSqlField::type(QSqlField* theWrappedObject) const +{ + return ( theWrappedObject->type()); +} + +int PythonQtWrapper_QSqlField::typeID(QSqlField* theWrappedObject) const +{ + return ( theWrappedObject->typeID()); +} + +QVariant PythonQtWrapper_QSqlField::value(QSqlField* theWrappedObject) const +{ + return ( theWrappedObject->value()); +} + +QString PythonQtWrapper_QSqlField::py_toString(QSqlField* obj) { + QString result; + QDebug d(&result); + d << *obj; + return result; +} + + + +QSqlIndex* PythonQtWrapper_QSqlIndex::new_QSqlIndex(const QSqlIndex& other) +{ +return new QSqlIndex(other); } + +QSqlIndex* PythonQtWrapper_QSqlIndex::new_QSqlIndex(const QString& cursorName, const QString& name) +{ +return new QSqlIndex(cursorName, name); } + +void PythonQtWrapper_QSqlIndex::append(QSqlIndex* theWrappedObject, const QSqlField& field) +{ + ( theWrappedObject->append(field)); +} + +void PythonQtWrapper_QSqlIndex::append(QSqlIndex* theWrappedObject, const QSqlField& field, bool desc) +{ + ( theWrappedObject->append(field, desc)); +} + +QString PythonQtWrapper_QSqlIndex::cursorName(QSqlIndex* theWrappedObject) const +{ + return ( theWrappedObject->cursorName()); +} + +bool PythonQtWrapper_QSqlIndex::isDescending(QSqlIndex* theWrappedObject, int i) const +{ + return ( theWrappedObject->isDescending(i)); +} + +QString PythonQtWrapper_QSqlIndex::name(QSqlIndex* theWrappedObject) const +{ + return ( theWrappedObject->name()); +} + +void PythonQtWrapper_QSqlIndex::setCursorName(QSqlIndex* theWrappedObject, const QString& cursorName) +{ + ( theWrappedObject->setCursorName(cursorName)); +} + +void PythonQtWrapper_QSqlIndex::setDescending(QSqlIndex* theWrappedObject, int i, bool desc) +{ + ( theWrappedObject->setDescending(i, desc)); +} + +void PythonQtWrapper_QSqlIndex::setName(QSqlIndex* theWrappedObject, const QString& name) +{ + ( theWrappedObject->setName(name)); +} + + + +QSqlQuery* PythonQtWrapper_QSqlQuery::new_QSqlQuery(QSqlDatabase db) +{ +return new QSqlQuery(db); } + +QSqlQuery* PythonQtWrapper_QSqlQuery::new_QSqlQuery(QSqlResult* r) +{ +return new QSqlQuery(r); } + +QSqlQuery* PythonQtWrapper_QSqlQuery::new_QSqlQuery(const QSqlQuery& other) +{ +return new QSqlQuery(other); } + +QSqlQuery* PythonQtWrapper_QSqlQuery::new_QSqlQuery(const QString& query, QSqlDatabase db) +{ +return new QSqlQuery(query, db); } + +void PythonQtWrapper_QSqlQuery::addBindValue(QSqlQuery* theWrappedObject, const QVariant& val, QSql::ParamType type) +{ + ( theWrappedObject->addBindValue(val, type)); +} + +int PythonQtWrapper_QSqlQuery::at(QSqlQuery* theWrappedObject) const +{ + return ( theWrappedObject->at()); +} + +void PythonQtWrapper_QSqlQuery::bindValue(QSqlQuery* theWrappedObject, const QString& placeholder, const QVariant& val, QSql::ParamType type) +{ + ( theWrappedObject->bindValue(placeholder, val, type)); +} + +void PythonQtWrapper_QSqlQuery::bindValue(QSqlQuery* theWrappedObject, int pos, const QVariant& val, QSql::ParamType type) +{ + ( theWrappedObject->bindValue(pos, val, type)); +} + +QVariant PythonQtWrapper_QSqlQuery::boundValue(QSqlQuery* theWrappedObject, const QString& placeholder) const +{ + return ( theWrappedObject->boundValue(placeholder)); +} + +QVariant PythonQtWrapper_QSqlQuery::boundValue(QSqlQuery* theWrappedObject, int pos) const +{ + return ( theWrappedObject->boundValue(pos)); +} + +QMap PythonQtWrapper_QSqlQuery::boundValues(QSqlQuery* theWrappedObject) const +{ + return ( theWrappedObject->boundValues()); +} + +void PythonQtWrapper_QSqlQuery::clear(QSqlQuery* theWrappedObject) +{ + ( theWrappedObject->clear()); +} + +const QSqlDriver* PythonQtWrapper_QSqlQuery::driver(QSqlQuery* theWrappedObject) const +{ + return ( theWrappedObject->driver()); +} + +bool PythonQtWrapper_QSqlQuery::exec(QSqlQuery* theWrappedObject) +{ + return ( theWrappedObject->exec()); +} + +bool PythonQtWrapper_QSqlQuery::exec(QSqlQuery* theWrappedObject, const QString& query) +{ + return ( theWrappedObject->exec(query)); +} + +bool PythonQtWrapper_QSqlQuery::execBatch(QSqlQuery* theWrappedObject, QSqlQuery::BatchExecutionMode mode) +{ + return ( theWrappedObject->execBatch(mode)); +} + +QString PythonQtWrapper_QSqlQuery::executedQuery(QSqlQuery* theWrappedObject) const +{ + return ( theWrappedObject->executedQuery()); +} + +void PythonQtWrapper_QSqlQuery::finish(QSqlQuery* theWrappedObject) +{ + ( theWrappedObject->finish()); +} + +bool PythonQtWrapper_QSqlQuery::first(QSqlQuery* theWrappedObject) +{ + return ( theWrappedObject->first()); +} + +bool PythonQtWrapper_QSqlQuery::isActive(QSqlQuery* theWrappedObject) const +{ + return ( theWrappedObject->isActive()); +} + +bool PythonQtWrapper_QSqlQuery::isForwardOnly(QSqlQuery* theWrappedObject) const +{ + return ( theWrappedObject->isForwardOnly()); +} + +bool PythonQtWrapper_QSqlQuery::isNull(QSqlQuery* theWrappedObject, int field) const +{ + return ( theWrappedObject->isNull(field)); +} + +bool PythonQtWrapper_QSqlQuery::isSelect(QSqlQuery* theWrappedObject) const +{ + return ( theWrappedObject->isSelect()); +} + +bool PythonQtWrapper_QSqlQuery::isValid(QSqlQuery* theWrappedObject) const +{ + return ( theWrappedObject->isValid()); +} + +bool PythonQtWrapper_QSqlQuery::last(QSqlQuery* theWrappedObject) +{ + return ( theWrappedObject->last()); +} + +QSqlError PythonQtWrapper_QSqlQuery::lastError(QSqlQuery* theWrappedObject) const +{ + return ( theWrappedObject->lastError()); +} + +QVariant PythonQtWrapper_QSqlQuery::lastInsertId(QSqlQuery* theWrappedObject) const +{ + return ( theWrappedObject->lastInsertId()); +} + +QString PythonQtWrapper_QSqlQuery::lastQuery(QSqlQuery* theWrappedObject) const +{ + return ( theWrappedObject->lastQuery()); +} + +bool PythonQtWrapper_QSqlQuery::next(QSqlQuery* theWrappedObject) +{ + return ( theWrappedObject->next()); +} + +bool PythonQtWrapper_QSqlQuery::nextResult(QSqlQuery* theWrappedObject) +{ + return ( theWrappedObject->nextResult()); +} + +int PythonQtWrapper_QSqlQuery::numRowsAffected(QSqlQuery* theWrappedObject) const +{ + return ( theWrappedObject->numRowsAffected()); +} + +QSql::NumericalPrecisionPolicy PythonQtWrapper_QSqlQuery::numericalPrecisionPolicy(QSqlQuery* theWrappedObject) const +{ + return ( theWrappedObject->numericalPrecisionPolicy()); +} + +bool PythonQtWrapper_QSqlQuery::prepare(QSqlQuery* theWrappedObject, const QString& query) +{ + return ( theWrappedObject->prepare(query)); +} + +bool PythonQtWrapper_QSqlQuery::previous(QSqlQuery* theWrappedObject) +{ + return ( theWrappedObject->previous()); +} + +QSqlRecord PythonQtWrapper_QSqlQuery::record(QSqlQuery* theWrappedObject) const +{ + return ( theWrappedObject->record()); +} + +const QSqlResult* PythonQtWrapper_QSqlQuery::result(QSqlQuery* theWrappedObject) const +{ + return ( theWrappedObject->result()); +} + +bool PythonQtWrapper_QSqlQuery::seek(QSqlQuery* theWrappedObject, int i, bool relative) +{ + return ( theWrappedObject->seek(i, relative)); +} + +void PythonQtWrapper_QSqlQuery::setForwardOnly(QSqlQuery* theWrappedObject, bool forward) +{ + ( theWrappedObject->setForwardOnly(forward)); +} + +void PythonQtWrapper_QSqlQuery::setNumericalPrecisionPolicy(QSqlQuery* theWrappedObject, QSql::NumericalPrecisionPolicy precisionPolicy) +{ + ( theWrappedObject->setNumericalPrecisionPolicy(precisionPolicy)); +} + +int PythonQtWrapper_QSqlQuery::size(QSqlQuery* theWrappedObject) const +{ + return ( theWrappedObject->size()); +} + +QVariant PythonQtWrapper_QSqlQuery::value(QSqlQuery* theWrappedObject, int i) const +{ + return ( theWrappedObject->value(i)); +} + + + +QModelIndex PythonQtShell_QSqlQueryModel::buddy(const QModelIndex& index) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "buddy"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QModelIndex" , "const QModelIndex&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + QModelIndex returnValue; + void* args[2] = {NULL, (void*)&index}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("buddy", methodInfo, result); + } else { + returnValue = *((QModelIndex*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QSqlQueryModel::buddy(index); +} +bool PythonQtShell_QSqlQueryModel::canFetchMore(const QModelIndex& parent) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "canFetchMore"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "const QModelIndex&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue; + void* args[2] = {NULL, (void*)&parent}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("canFetchMore", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QSqlQueryModel::canFetchMore(parent); +} +void PythonQtShell_QSqlQueryModel::childEvent(QChildEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "childEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QChildEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QSqlQueryModel::childEvent(arg__1); +} +void PythonQtShell_QSqlQueryModel::clear() +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "clear"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={""}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QSqlQueryModel::clear(); +} +int PythonQtShell_QSqlQueryModel::columnCount(const QModelIndex& parent) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "columnCount"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"int" , "const QModelIndex&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + int returnValue; + void* args[2] = {NULL, (void*)&parent}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("columnCount", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QSqlQueryModel::columnCount(parent); +} +void PythonQtShell_QSqlQueryModel::customEvent(QEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "customEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QSqlQueryModel::customEvent(arg__1); +} +QVariant PythonQtShell_QSqlQueryModel::data(const QModelIndex& item, int role) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "data"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QVariant" , "const QModelIndex&" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + QVariant returnValue; + void* args[3] = {NULL, (void*)&item, (void*)&role}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("data", methodInfo, result); + } else { + returnValue = *((QVariant*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QSqlQueryModel::data(item, role); +} +bool PythonQtShell_QSqlQueryModel::dropMimeData(const QMimeData* data, Qt::DropAction action, int row, int column, const QModelIndex& parent) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dropMimeData"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "const QMimeData*" , "Qt::DropAction" , "int" , "int" , "const QModelIndex&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(6, argumentList); + bool returnValue; + void* args[6] = {NULL, (void*)&data, (void*)&action, (void*)&row, (void*)&column, (void*)&parent}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("dropMimeData", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QSqlQueryModel::dropMimeData(data, action, row, column, parent); +} +bool PythonQtShell_QSqlQueryModel::event(QEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "event"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue; + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QSqlQueryModel::event(arg__1); +} +bool PythonQtShell_QSqlQueryModel::eventFilter(QObject* arg__1, QEvent* arg__2) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "eventFilter"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue; + void* args[3] = {NULL, (void*)&arg__1, (void*)&arg__2}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QSqlQueryModel::eventFilter(arg__1, arg__2); +} +void PythonQtShell_QSqlQueryModel::fetchMore(const QModelIndex& parent) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "fetchMore"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "const QModelIndex&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&parent}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QSqlQueryModel::fetchMore(parent); +} +Qt::ItemFlags PythonQtShell_QSqlQueryModel::flags(const QModelIndex& index) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "flags"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"Qt::ItemFlags" , "const QModelIndex&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + Qt::ItemFlags returnValue; + void* args[2] = {NULL, (void*)&index}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("flags", methodInfo, result); + } else { + returnValue = *((Qt::ItemFlags*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QSqlQueryModel::flags(index); +} +QVariant PythonQtShell_QSqlQueryModel::headerData(int section, Qt::Orientation orientation, int role) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "headerData"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QVariant" , "int" , "Qt::Orientation" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + QVariant returnValue; + void* args[4] = {NULL, (void*)§ion, (void*)&orientation, (void*)&role}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("headerData", methodInfo, result); + } else { + returnValue = *((QVariant*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QSqlQueryModel::headerData(section, orientation, role); +} +QModelIndex PythonQtShell_QSqlQueryModel::index(int row, int column, const QModelIndex& parent) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "index"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QModelIndex" , "int" , "int" , "const QModelIndex&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + QModelIndex returnValue; + void* args[4] = {NULL, (void*)&row, (void*)&column, (void*)&parent}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("index", methodInfo, result); + } else { + returnValue = *((QModelIndex*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QSqlQueryModel::index(row, column, parent); +} +bool PythonQtShell_QSqlQueryModel::insertColumns(int column, int count, const QModelIndex& parent) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "insertColumns"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "int" , "int" , "const QModelIndex&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + bool returnValue; + void* args[4] = {NULL, (void*)&column, (void*)&count, (void*)&parent}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("insertColumns", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QSqlQueryModel::insertColumns(column, count, parent); +} +bool PythonQtShell_QSqlQueryModel::insertRows(int row, int count, const QModelIndex& parent) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "insertRows"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "int" , "int" , "const QModelIndex&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + bool returnValue; + void* args[4] = {NULL, (void*)&row, (void*)&count, (void*)&parent}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("insertRows", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QSqlQueryModel::insertRows(row, count, parent); +} +QMap PythonQtShell_QSqlQueryModel::itemData(const QModelIndex& index) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "itemData"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QMap" , "const QModelIndex&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + QMap returnValue; + void* args[2] = {NULL, (void*)&index}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("itemData", methodInfo, result); + } else { + returnValue = *((QMap*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QSqlQueryModel::itemData(index); +} +QList PythonQtShell_QSqlQueryModel::match(const QModelIndex& start, int role, const QVariant& value, int hits, Qt::MatchFlags flags) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "match"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QList" , "const QModelIndex&" , "int" , "const QVariant&" , "int" , "Qt::MatchFlags"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(6, argumentList); + QList returnValue; + void* args[6] = {NULL, (void*)&start, (void*)&role, (void*)&value, (void*)&hits, (void*)&flags}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("match", methodInfo, result); + } else { + returnValue = *((QList*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QSqlQueryModel::match(start, role, value, hits, flags); +} +QMimeData* PythonQtShell_QSqlQueryModel::mimeData(const QList& indexes) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mimeData"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QMimeData*" , "const QList&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + QMimeData* returnValue; + void* args[2] = {NULL, (void*)&indexes}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("mimeData", methodInfo, result); + } else { + returnValue = *((QMimeData**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QSqlQueryModel::mimeData(indexes); +} +QStringList PythonQtShell_QSqlQueryModel::mimeTypes() const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mimeTypes"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QStringList"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QStringList returnValue; + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("mimeTypes", methodInfo, result); + } else { + returnValue = *((QStringList*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QSqlQueryModel::mimeTypes(); +} +void PythonQtShell_QSqlQueryModel::queryChange() +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "queryChange"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={""}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QSqlQueryModel::queryChange(); +} +bool PythonQtShell_QSqlQueryModel::removeColumns(int column, int count, const QModelIndex& parent) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "removeColumns"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "int" , "int" , "const QModelIndex&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + bool returnValue; + void* args[4] = {NULL, (void*)&column, (void*)&count, (void*)&parent}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("removeColumns", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QSqlQueryModel::removeColumns(column, count, parent); +} +bool PythonQtShell_QSqlQueryModel::removeRows(int row, int count, const QModelIndex& parent) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "removeRows"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "int" , "int" , "const QModelIndex&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + bool returnValue; + void* args[4] = {NULL, (void*)&row, (void*)&count, (void*)&parent}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("removeRows", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QSqlQueryModel::removeRows(row, count, parent); +} +void PythonQtShell_QSqlQueryModel::revert() +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "revert"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={""}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QSqlQueryModel::revert(); +} +int PythonQtShell_QSqlQueryModel::rowCount(const QModelIndex& parent) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "rowCount"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"int" , "const QModelIndex&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + int returnValue; + void* args[2] = {NULL, (void*)&parent}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("rowCount", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QSqlQueryModel::rowCount(parent); +} +bool PythonQtShell_QSqlQueryModel::setData(const QModelIndex& index, const QVariant& value, int role) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "setData"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "const QModelIndex&" , "const QVariant&" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + bool returnValue; + void* args[4] = {NULL, (void*)&index, (void*)&value, (void*)&role}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("setData", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QSqlQueryModel::setData(index, value, role); +} +bool PythonQtShell_QSqlQueryModel::setHeaderData(int section, Qt::Orientation orientation, const QVariant& value, int role) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "setHeaderData"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "int" , "Qt::Orientation" , "const QVariant&" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(5, argumentList); + bool returnValue; + void* args[5] = {NULL, (void*)§ion, (void*)&orientation, (void*)&value, (void*)&role}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("setHeaderData", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QSqlQueryModel::setHeaderData(section, orientation, value, role); +} +bool PythonQtShell_QSqlQueryModel::setItemData(const QModelIndex& index, const QMap& roles) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "setItemData"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "const QModelIndex&" , "const QMap&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue; + void* args[3] = {NULL, (void*)&index, (void*)&roles}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("setItemData", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QSqlQueryModel::setItemData(index, roles); +} +void PythonQtShell_QSqlQueryModel::sort(int column, Qt::SortOrder order) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "sort"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "int" , "Qt::SortOrder"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + void* args[3] = {NULL, (void*)&column, (void*)&order}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QSqlQueryModel::sort(column, order); +} +QSize PythonQtShell_QSqlQueryModel::span(const QModelIndex& index) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "span"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QSize" , "const QModelIndex&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + QSize returnValue; + void* args[2] = {NULL, (void*)&index}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("span", methodInfo, result); + } else { + returnValue = *((QSize*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QSqlQueryModel::span(index); +} +bool PythonQtShell_QSqlQueryModel::submit() +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "submit"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + bool returnValue; + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("submit", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QSqlQueryModel::submit(); +} +Qt::DropActions PythonQtShell_QSqlQueryModel::supportedDropActions() const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "supportedDropActions"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"Qt::DropActions"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + Qt::DropActions returnValue; + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("supportedDropActions", methodInfo, result); + } else { + returnValue = *((Qt::DropActions*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QSqlQueryModel::supportedDropActions(); +} +void PythonQtShell_QSqlQueryModel::timerEvent(QTimerEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "timerEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QTimerEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QSqlQueryModel::timerEvent(arg__1); +} +QSqlQueryModel* PythonQtWrapper_QSqlQueryModel::new_QSqlQueryModel(QObject* parent) +{ +return new PythonQtShell_QSqlQueryModel(parent); } + +bool PythonQtWrapper_QSqlQueryModel::canFetchMore(QSqlQueryModel* theWrappedObject, const QModelIndex& parent) const +{ + return ( ((PythonQtPublicPromoter_QSqlQueryModel*)theWrappedObject)->promoted_canFetchMore(parent)); +} + +void PythonQtWrapper_QSqlQueryModel::clear(QSqlQueryModel* theWrappedObject) +{ + ( ((PythonQtPublicPromoter_QSqlQueryModel*)theWrappedObject)->promoted_clear()); +} + +int PythonQtWrapper_QSqlQueryModel::columnCount(QSqlQueryModel* theWrappedObject, const QModelIndex& parent) const +{ + return ( ((PythonQtPublicPromoter_QSqlQueryModel*)theWrappedObject)->promoted_columnCount(parent)); +} + +QVariant PythonQtWrapper_QSqlQueryModel::data(QSqlQueryModel* theWrappedObject, const QModelIndex& item, int role) const +{ + return ( ((PythonQtPublicPromoter_QSqlQueryModel*)theWrappedObject)->promoted_data(item, role)); +} + +void PythonQtWrapper_QSqlQueryModel::fetchMore(QSqlQueryModel* theWrappedObject, const QModelIndex& parent) +{ + ( ((PythonQtPublicPromoter_QSqlQueryModel*)theWrappedObject)->promoted_fetchMore(parent)); +} + +QVariant PythonQtWrapper_QSqlQueryModel::headerData(QSqlQueryModel* theWrappedObject, int section, Qt::Orientation orientation, int role) const +{ + return ( ((PythonQtPublicPromoter_QSqlQueryModel*)theWrappedObject)->promoted_headerData(section, orientation, role)); +} + +bool PythonQtWrapper_QSqlQueryModel::insertColumns(QSqlQueryModel* theWrappedObject, int column, int count, const QModelIndex& parent) +{ + return ( ((PythonQtPublicPromoter_QSqlQueryModel*)theWrappedObject)->promoted_insertColumns(column, count, parent)); +} + +QSqlError PythonQtWrapper_QSqlQueryModel::lastError(QSqlQueryModel* theWrappedObject) const +{ + return ( theWrappedObject->lastError()); +} + +QSqlQuery PythonQtWrapper_QSqlQueryModel::query(QSqlQueryModel* theWrappedObject) const +{ + return ( theWrappedObject->query()); +} + +void PythonQtWrapper_QSqlQueryModel::queryChange(QSqlQueryModel* theWrappedObject) +{ + ( ((PythonQtPublicPromoter_QSqlQueryModel*)theWrappedObject)->promoted_queryChange()); +} + +QSqlRecord PythonQtWrapper_QSqlQueryModel::record(QSqlQueryModel* theWrappedObject) const +{ + return ( theWrappedObject->record()); +} + +QSqlRecord PythonQtWrapper_QSqlQueryModel::record(QSqlQueryModel* theWrappedObject, int row) const +{ + return ( theWrappedObject->record(row)); +} + +bool PythonQtWrapper_QSqlQueryModel::removeColumns(QSqlQueryModel* theWrappedObject, int column, int count, const QModelIndex& parent) +{ + return ( ((PythonQtPublicPromoter_QSqlQueryModel*)theWrappedObject)->promoted_removeColumns(column, count, parent)); +} + +int PythonQtWrapper_QSqlQueryModel::rowCount(QSqlQueryModel* theWrappedObject, const QModelIndex& parent) const +{ + return ( ((PythonQtPublicPromoter_QSqlQueryModel*)theWrappedObject)->promoted_rowCount(parent)); +} + +bool PythonQtWrapper_QSqlQueryModel::setHeaderData(QSqlQueryModel* theWrappedObject, int section, Qt::Orientation orientation, const QVariant& value, int role) +{ + return ( ((PythonQtPublicPromoter_QSqlQueryModel*)theWrappedObject)->promoted_setHeaderData(section, orientation, value, role)); +} + +void PythonQtWrapper_QSqlQueryModel::setQuery(QSqlQueryModel* theWrappedObject, const QSqlQuery& query) +{ + ( theWrappedObject->setQuery(query)); +} + +void PythonQtWrapper_QSqlQueryModel::setQuery(QSqlQueryModel* theWrappedObject, const QString& query, const QSqlDatabase& db) +{ + ( theWrappedObject->setQuery(query, db)); +} + + + +QSqlRecord* PythonQtWrapper_QSqlRecord::new_QSqlRecord() +{ +return new QSqlRecord(); } + +QSqlRecord* PythonQtWrapper_QSqlRecord::new_QSqlRecord(const QSqlRecord& other) +{ +return new QSqlRecord(other); } + +void PythonQtWrapper_QSqlRecord::append(QSqlRecord* theWrappedObject, const QSqlField& field) +{ + ( theWrappedObject->append(field)); +} + +void PythonQtWrapper_QSqlRecord::clear(QSqlRecord* theWrappedObject) +{ + ( theWrappedObject->clear()); +} + +void PythonQtWrapper_QSqlRecord::clearValues(QSqlRecord* theWrappedObject) +{ + ( theWrappedObject->clearValues()); +} + +bool PythonQtWrapper_QSqlRecord::contains(QSqlRecord* theWrappedObject, const QString& name) const +{ + return ( theWrappedObject->contains(name)); +} + +int PythonQtWrapper_QSqlRecord::count(QSqlRecord* theWrappedObject) const +{ + return ( theWrappedObject->count()); +} + +QSqlField PythonQtWrapper_QSqlRecord::field(QSqlRecord* theWrappedObject, const QString& name) const +{ + return ( theWrappedObject->field(name)); +} + +QSqlField PythonQtWrapper_QSqlRecord::field(QSqlRecord* theWrappedObject, int i) const +{ + return ( theWrappedObject->field(i)); +} + +QString PythonQtWrapper_QSqlRecord::fieldName(QSqlRecord* theWrappedObject, int i) const +{ + return ( theWrappedObject->fieldName(i)); +} + +int PythonQtWrapper_QSqlRecord::indexOf(QSqlRecord* theWrappedObject, const QString& name) const +{ + return ( theWrappedObject->indexOf(name)); +} + +void PythonQtWrapper_QSqlRecord::insert(QSqlRecord* theWrappedObject, int pos, const QSqlField& field) +{ + ( theWrappedObject->insert(pos, field)); +} + +bool PythonQtWrapper_QSqlRecord::isEmpty(QSqlRecord* theWrappedObject) const +{ + return ( theWrappedObject->isEmpty()); +} + +bool PythonQtWrapper_QSqlRecord::isGenerated(QSqlRecord* theWrappedObject, const QString& name) const +{ + return ( theWrappedObject->isGenerated(name)); +} + +bool PythonQtWrapper_QSqlRecord::isGenerated(QSqlRecord* theWrappedObject, int i) const +{ + return ( theWrappedObject->isGenerated(i)); +} + +bool PythonQtWrapper_QSqlRecord::isNull(QSqlRecord* theWrappedObject, const QString& name) const +{ + return ( theWrappedObject->isNull(name)); +} + +bool PythonQtWrapper_QSqlRecord::isNull(QSqlRecord* theWrappedObject, int i) const +{ + return ( theWrappedObject->isNull(i)); +} + +bool PythonQtWrapper_QSqlRecord::__ne__(QSqlRecord* theWrappedObject, const QSqlRecord& other) const +{ + return ( (*theWrappedObject)!= other); +} + +bool PythonQtWrapper_QSqlRecord::__eq__(QSqlRecord* theWrappedObject, const QSqlRecord& other) const +{ + return ( (*theWrappedObject)== other); +} + +void PythonQtWrapper_QSqlRecord::remove(QSqlRecord* theWrappedObject, int pos) +{ + ( theWrappedObject->remove(pos)); +} + +void PythonQtWrapper_QSqlRecord::replace(QSqlRecord* theWrappedObject, int pos, const QSqlField& field) +{ + ( theWrappedObject->replace(pos, field)); +} + +void PythonQtWrapper_QSqlRecord::setGenerated(QSqlRecord* theWrappedObject, const QString& name, bool generated) +{ + ( theWrappedObject->setGenerated(name, generated)); +} + +void PythonQtWrapper_QSqlRecord::setGenerated(QSqlRecord* theWrappedObject, int i, bool generated) +{ + ( theWrappedObject->setGenerated(i, generated)); +} + +void PythonQtWrapper_QSqlRecord::setNull(QSqlRecord* theWrappedObject, const QString& name) +{ + ( theWrappedObject->setNull(name)); +} + +void PythonQtWrapper_QSqlRecord::setNull(QSqlRecord* theWrappedObject, int i) +{ + ( theWrappedObject->setNull(i)); +} + +void PythonQtWrapper_QSqlRecord::setValue(QSqlRecord* theWrappedObject, const QString& name, const QVariant& val) +{ + ( theWrappedObject->setValue(name, val)); +} + +void PythonQtWrapper_QSqlRecord::setValue(QSqlRecord* theWrappedObject, int i, const QVariant& val) +{ + ( theWrappedObject->setValue(i, val)); +} + +QVariant PythonQtWrapper_QSqlRecord::value(QSqlRecord* theWrappedObject, const QString& name) const +{ + return ( theWrappedObject->value(name)); +} + +QVariant PythonQtWrapper_QSqlRecord::value(QSqlRecord* theWrappedObject, int i) const +{ + return ( theWrappedObject->value(i)); +} + +QString PythonQtWrapper_QSqlRecord::py_toString(QSqlRecord* obj) { + QString result; + QDebug d(&result); + d << *obj; + return result; +} + + + +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()); +} + +QString PythonQtWrapper_QSqlRelation::tableName(QSqlRelation* theWrappedObject) const +{ + return ( theWrappedObject->tableName()); +} + + + +QModelIndex PythonQtShell_QSqlRelationalTableModel::buddy(const QModelIndex& index) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "buddy"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QModelIndex" , "const QModelIndex&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + QModelIndex returnValue; + void* args[2] = {NULL, (void*)&index}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("buddy", methodInfo, result); + } else { + returnValue = *((QModelIndex*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QSqlRelationalTableModel::buddy(index); +} +bool PythonQtShell_QSqlRelationalTableModel::canFetchMore(const QModelIndex& parent) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "canFetchMore"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "const QModelIndex&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue; + void* args[2] = {NULL, (void*)&parent}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("canFetchMore", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QSqlRelationalTableModel::canFetchMore(parent); +} +void PythonQtShell_QSqlRelationalTableModel::childEvent(QChildEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "childEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QChildEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QSqlRelationalTableModel::childEvent(arg__1); +} +void PythonQtShell_QSqlRelationalTableModel::clear() +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "clear"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={""}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QSqlRelationalTableModel::clear(); +} +int PythonQtShell_QSqlRelationalTableModel::columnCount(const QModelIndex& parent) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "columnCount"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"int" , "const QModelIndex&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + int returnValue; + void* args[2] = {NULL, (void*)&parent}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("columnCount", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QSqlRelationalTableModel::columnCount(parent); +} +void PythonQtShell_QSqlRelationalTableModel::customEvent(QEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "customEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QSqlRelationalTableModel::customEvent(arg__1); +} +QVariant PythonQtShell_QSqlRelationalTableModel::data(const QModelIndex& item, int role) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "data"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QVariant" , "const QModelIndex&" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + QVariant returnValue; + void* args[3] = {NULL, (void*)&item, (void*)&role}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("data", methodInfo, result); + } else { + returnValue = *((QVariant*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QSqlRelationalTableModel::data(item, role); +} +bool PythonQtShell_QSqlRelationalTableModel::deleteRowFromTable(int row) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "deleteRowFromTable"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue; + void* args[2] = {NULL, (void*)&row}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("deleteRowFromTable", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QSqlRelationalTableModel::deleteRowFromTable(row); +} +bool PythonQtShell_QSqlRelationalTableModel::dropMimeData(const QMimeData* data, Qt::DropAction action, int row, int column, const QModelIndex& parent) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dropMimeData"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "const QMimeData*" , "Qt::DropAction" , "int" , "int" , "const QModelIndex&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(6, argumentList); + bool returnValue; + void* args[6] = {NULL, (void*)&data, (void*)&action, (void*)&row, (void*)&column, (void*)&parent}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("dropMimeData", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QSqlRelationalTableModel::dropMimeData(data, action, row, column, parent); +} +bool PythonQtShell_QSqlRelationalTableModel::event(QEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "event"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue; + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QSqlRelationalTableModel::event(arg__1); +} +bool PythonQtShell_QSqlRelationalTableModel::eventFilter(QObject* arg__1, QEvent* arg__2) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "eventFilter"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue; + void* args[3] = {NULL, (void*)&arg__1, (void*)&arg__2}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QSqlRelationalTableModel::eventFilter(arg__1, arg__2); +} +void PythonQtShell_QSqlRelationalTableModel::fetchMore(const QModelIndex& parent) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "fetchMore"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "const QModelIndex&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&parent}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QSqlRelationalTableModel::fetchMore(parent); +} +Qt::ItemFlags PythonQtShell_QSqlRelationalTableModel::flags(const QModelIndex& index) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "flags"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"Qt::ItemFlags" , "const QModelIndex&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + Qt::ItemFlags returnValue; + void* args[2] = {NULL, (void*)&index}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("flags", methodInfo, result); + } else { + returnValue = *((Qt::ItemFlags*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QSqlRelationalTableModel::flags(index); +} +QVariant PythonQtShell_QSqlRelationalTableModel::headerData(int section, Qt::Orientation orientation, int role) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "headerData"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QVariant" , "int" , "Qt::Orientation" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + QVariant returnValue; + void* args[4] = {NULL, (void*)§ion, (void*)&orientation, (void*)&role}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("headerData", methodInfo, result); + } else { + returnValue = *((QVariant*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QSqlRelationalTableModel::headerData(section, orientation, role); +} +QModelIndex PythonQtShell_QSqlRelationalTableModel::index(int row, int column, const QModelIndex& parent) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "index"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QModelIndex" , "int" , "int" , "const QModelIndex&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + QModelIndex returnValue; + void* args[4] = {NULL, (void*)&row, (void*)&column, (void*)&parent}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("index", methodInfo, result); + } else { + returnValue = *((QModelIndex*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QSqlRelationalTableModel::index(row, column, parent); +} +bool PythonQtShell_QSqlRelationalTableModel::insertColumns(int column, int count, const QModelIndex& parent) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "insertColumns"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "int" , "int" , "const QModelIndex&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + bool returnValue; + void* args[4] = {NULL, (void*)&column, (void*)&count, (void*)&parent}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("insertColumns", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QSqlRelationalTableModel::insertColumns(column, count, parent); +} +bool PythonQtShell_QSqlRelationalTableModel::insertRowIntoTable(const QSqlRecord& values) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "insertRowIntoTable"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "const QSqlRecord&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue; + void* args[2] = {NULL, (void*)&values}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("insertRowIntoTable", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QSqlRelationalTableModel::insertRowIntoTable(values); +} +bool PythonQtShell_QSqlRelationalTableModel::insertRows(int row, int count, const QModelIndex& parent) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "insertRows"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "int" , "int" , "const QModelIndex&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + bool returnValue; + void* args[4] = {NULL, (void*)&row, (void*)&count, (void*)&parent}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("insertRows", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QSqlRelationalTableModel::insertRows(row, count, parent); +} +QMap PythonQtShell_QSqlRelationalTableModel::itemData(const QModelIndex& index) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "itemData"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QMap" , "const QModelIndex&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + QMap returnValue; + void* args[2] = {NULL, (void*)&index}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("itemData", methodInfo, result); + } else { + returnValue = *((QMap*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QSqlRelationalTableModel::itemData(index); +} +QList PythonQtShell_QSqlRelationalTableModel::match(const QModelIndex& start, int role, const QVariant& value, int hits, Qt::MatchFlags flags) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "match"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QList" , "const QModelIndex&" , "int" , "const QVariant&" , "int" , "Qt::MatchFlags"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(6, argumentList); + QList returnValue; + void* args[6] = {NULL, (void*)&start, (void*)&role, (void*)&value, (void*)&hits, (void*)&flags}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("match", methodInfo, result); + } else { + returnValue = *((QList*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QSqlRelationalTableModel::match(start, role, value, hits, flags); +} +QMimeData* PythonQtShell_QSqlRelationalTableModel::mimeData(const QList& indexes) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mimeData"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QMimeData*" , "const QList&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + QMimeData* returnValue; + void* args[2] = {NULL, (void*)&indexes}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("mimeData", methodInfo, result); + } else { + returnValue = *((QMimeData**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QSqlRelationalTableModel::mimeData(indexes); +} +QStringList PythonQtShell_QSqlRelationalTableModel::mimeTypes() const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mimeTypes"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QStringList"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QStringList returnValue; + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("mimeTypes", methodInfo, result); + } else { + returnValue = *((QStringList*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QSqlRelationalTableModel::mimeTypes(); +} +QString PythonQtShell_QSqlRelationalTableModel::orderByClause() const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "orderByClause"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QString"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QString returnValue; + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("orderByClause", methodInfo, result); + } else { + returnValue = *((QString*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QSqlRelationalTableModel::orderByClause(); +} +void PythonQtShell_QSqlRelationalTableModel::queryChange() +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "queryChange"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={""}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QSqlRelationalTableModel::queryChange(); +} +QSqlTableModel* PythonQtShell_QSqlRelationalTableModel::relationModel(int column) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "relationModel"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QSqlTableModel*" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + QSqlTableModel* returnValue; + void* args[2] = {NULL, (void*)&column}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("relationModel", methodInfo, result); + } else { + returnValue = *((QSqlTableModel**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QSqlRelationalTableModel::relationModel(column); +} +bool PythonQtShell_QSqlRelationalTableModel::removeColumns(int column, int count, const QModelIndex& parent) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "removeColumns"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "int" , "int" , "const QModelIndex&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + bool returnValue; + void* args[4] = {NULL, (void*)&column, (void*)&count, (void*)&parent}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("removeColumns", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QSqlRelationalTableModel::removeColumns(column, count, parent); +} +bool PythonQtShell_QSqlRelationalTableModel::removeRows(int row, int count, const QModelIndex& parent) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "removeRows"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "int" , "int" , "const QModelIndex&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + bool returnValue; + void* args[4] = {NULL, (void*)&row, (void*)&count, (void*)&parent}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("removeRows", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QSqlRelationalTableModel::removeRows(row, count, parent); +} +void PythonQtShell_QSqlRelationalTableModel::revert() +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "revert"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={""}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QSqlRelationalTableModel::revert(); +} +void PythonQtShell_QSqlRelationalTableModel::revertRow(int row) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "revertRow"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&row}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QSqlRelationalTableModel::revertRow(row); +} +int PythonQtShell_QSqlRelationalTableModel::rowCount(const QModelIndex& parent) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "rowCount"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"int" , "const QModelIndex&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + int returnValue; + void* args[2] = {NULL, (void*)&parent}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("rowCount", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QSqlRelationalTableModel::rowCount(parent); +} +bool PythonQtShell_QSqlRelationalTableModel::select() +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "select"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + bool returnValue; + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("select", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QSqlRelationalTableModel::select(); +} +QString PythonQtShell_QSqlRelationalTableModel::selectStatement() const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "selectStatement"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QString"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QString returnValue; + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("selectStatement", methodInfo, result); + } else { + returnValue = *((QString*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QSqlRelationalTableModel::selectStatement(); +} +bool PythonQtShell_QSqlRelationalTableModel::setData(const QModelIndex& item, const QVariant& value, int role) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "setData"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "const QModelIndex&" , "const QVariant&" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + bool returnValue; + void* args[4] = {NULL, (void*)&item, (void*)&value, (void*)&role}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("setData", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QSqlRelationalTableModel::setData(item, value, role); +} +void PythonQtShell_QSqlRelationalTableModel::setEditStrategy(QSqlTableModel::EditStrategy strategy) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "setEditStrategy"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QSqlTableModel::EditStrategy"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&strategy}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QSqlRelationalTableModel::setEditStrategy(strategy); +} +void PythonQtShell_QSqlRelationalTableModel::setFilter(const QString& filter) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "setFilter"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "const QString&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&filter}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QSqlRelationalTableModel::setFilter(filter); +} +bool PythonQtShell_QSqlRelationalTableModel::setHeaderData(int section, Qt::Orientation orientation, const QVariant& value, int role) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "setHeaderData"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "int" , "Qt::Orientation" , "const QVariant&" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(5, argumentList); + bool returnValue; + void* args[5] = {NULL, (void*)§ion, (void*)&orientation, (void*)&value, (void*)&role}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("setHeaderData", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QSqlRelationalTableModel::setHeaderData(section, orientation, value, role); +} +bool PythonQtShell_QSqlRelationalTableModel::setItemData(const QModelIndex& index, const QMap& roles) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "setItemData"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "const QModelIndex&" , "const QMap&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue; + void* args[3] = {NULL, (void*)&index, (void*)&roles}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("setItemData", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QSqlRelationalTableModel::setItemData(index, roles); +} +void PythonQtShell_QSqlRelationalTableModel::setRelation(int column, const QSqlRelation& relation) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "setRelation"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "int" , "const QSqlRelation&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + void* args[3] = {NULL, (void*)&column, (void*)&relation}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QSqlRelationalTableModel::setRelation(column, relation); +} +void PythonQtShell_QSqlRelationalTableModel::setSort(int column, Qt::SortOrder order) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "setSort"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "int" , "Qt::SortOrder"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + void* args[3] = {NULL, (void*)&column, (void*)&order}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QSqlRelationalTableModel::setSort(column, order); +} +void PythonQtShell_QSqlRelationalTableModel::setTable(const QString& tableName) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "setTable"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "const QString&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&tableName}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QSqlRelationalTableModel::setTable(tableName); +} +void PythonQtShell_QSqlRelationalTableModel::sort(int column, Qt::SortOrder order) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "sort"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "int" , "Qt::SortOrder"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + void* args[3] = {NULL, (void*)&column, (void*)&order}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QSqlRelationalTableModel::sort(column, order); +} +QSize PythonQtShell_QSqlRelationalTableModel::span(const QModelIndex& index) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "span"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QSize" , "const QModelIndex&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + QSize returnValue; + void* args[2] = {NULL, (void*)&index}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("span", methodInfo, result); + } else { + returnValue = *((QSize*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QSqlRelationalTableModel::span(index); +} +bool PythonQtShell_QSqlRelationalTableModel::submit() +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "submit"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + bool returnValue; + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("submit", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QSqlRelationalTableModel::submit(); +} +Qt::DropActions PythonQtShell_QSqlRelationalTableModel::supportedDropActions() const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "supportedDropActions"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"Qt::DropActions"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + Qt::DropActions returnValue; + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("supportedDropActions", methodInfo, result); + } else { + returnValue = *((Qt::DropActions*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QSqlRelationalTableModel::supportedDropActions(); +} +void PythonQtShell_QSqlRelationalTableModel::timerEvent(QTimerEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "timerEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QTimerEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QSqlRelationalTableModel::timerEvent(arg__1); +} +bool PythonQtShell_QSqlRelationalTableModel::updateRowInTable(int row, const QSqlRecord& values) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "updateRowInTable"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "int" , "const QSqlRecord&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue; + void* args[3] = {NULL, (void*)&row, (void*)&values}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("updateRowInTable", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QSqlRelationalTableModel::updateRowInTable(row, values); +} +QSqlRelationalTableModel* PythonQtWrapper_QSqlRelationalTableModel::new_QSqlRelationalTableModel(QObject* parent, QSqlDatabase db) +{ +return new PythonQtShell_QSqlRelationalTableModel(parent, db); } + +void PythonQtWrapper_QSqlRelationalTableModel::clear(QSqlRelationalTableModel* theWrappedObject) +{ + ( ((PythonQtPublicPromoter_QSqlRelationalTableModel*)theWrappedObject)->promoted_clear()); +} + +QVariant PythonQtWrapper_QSqlRelationalTableModel::data(QSqlRelationalTableModel* theWrappedObject, const QModelIndex& item, int role) const +{ + return ( ((PythonQtPublicPromoter_QSqlRelationalTableModel*)theWrappedObject)->promoted_data(item, role)); +} + +bool PythonQtWrapper_QSqlRelationalTableModel::insertRowIntoTable(QSqlRelationalTableModel* theWrappedObject, const QSqlRecord& values) +{ + return ( ((PythonQtPublicPromoter_QSqlRelationalTableModel*)theWrappedObject)->promoted_insertRowIntoTable(values)); +} + +QString PythonQtWrapper_QSqlRelationalTableModel::orderByClause(QSqlRelationalTableModel* theWrappedObject) const +{ + return ( ((PythonQtPublicPromoter_QSqlRelationalTableModel*)theWrappedObject)->promoted_orderByClause()); +} + +QSqlRelation PythonQtWrapper_QSqlRelationalTableModel::relation(QSqlRelationalTableModel* theWrappedObject, int column) const +{ + return ( theWrappedObject->relation(column)); +} + +QSqlTableModel* PythonQtWrapper_QSqlRelationalTableModel::relationModel(QSqlRelationalTableModel* theWrappedObject, int column) const +{ + return ( ((PythonQtPublicPromoter_QSqlRelationalTableModel*)theWrappedObject)->promoted_relationModel(column)); +} + +bool PythonQtWrapper_QSqlRelationalTableModel::removeColumns(QSqlRelationalTableModel* theWrappedObject, int column, int count, const QModelIndex& parent) +{ + return ( ((PythonQtPublicPromoter_QSqlRelationalTableModel*)theWrappedObject)->promoted_removeColumns(column, count, parent)); +} + +bool PythonQtWrapper_QSqlRelationalTableModel::select(QSqlRelationalTableModel* theWrappedObject) +{ + return ( ((PythonQtPublicPromoter_QSqlRelationalTableModel*)theWrappedObject)->promoted_select()); +} + +QString PythonQtWrapper_QSqlRelationalTableModel::selectStatement(QSqlRelationalTableModel* theWrappedObject) const +{ + return ( ((PythonQtPublicPromoter_QSqlRelationalTableModel*)theWrappedObject)->promoted_selectStatement()); +} + +bool PythonQtWrapper_QSqlRelationalTableModel::setData(QSqlRelationalTableModel* theWrappedObject, const QModelIndex& item, const QVariant& value, int role) +{ + return ( ((PythonQtPublicPromoter_QSqlRelationalTableModel*)theWrappedObject)->promoted_setData(item, value, role)); +} + +void PythonQtWrapper_QSqlRelationalTableModel::setRelation(QSqlRelationalTableModel* theWrappedObject, int column, const QSqlRelation& relation) +{ + ( ((PythonQtPublicPromoter_QSqlRelationalTableModel*)theWrappedObject)->promoted_setRelation(column, relation)); +} + +void PythonQtWrapper_QSqlRelationalTableModel::setTable(QSqlRelationalTableModel* theWrappedObject, const QString& tableName) +{ + ( ((PythonQtPublicPromoter_QSqlRelationalTableModel*)theWrappedObject)->promoted_setTable(tableName)); +} + +bool PythonQtWrapper_QSqlRelationalTableModel::updateRowInTable(QSqlRelationalTableModel* theWrappedObject, int row, const QSqlRecord& values) +{ + return ( ((PythonQtPublicPromoter_QSqlRelationalTableModel*)theWrappedObject)->promoted_updateRowInTable(row, values)); +} + + + +void PythonQtShell_QSqlResult::bindValue(const QString& placeholder, const QVariant& val, QSql::ParamType type) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "bindValue"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "const QString&" , "const QVariant&" , "QSql::ParamType"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + void* args[4] = {NULL, (void*)&placeholder, (void*)&val, (void*)&type}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QSqlResult::bindValue(placeholder, val, type); +} +void PythonQtShell_QSqlResult::bindValue(int pos, const QVariant& val, QSql::ParamType type) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "bindValue"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "int" , "const QVariant&" , "QSql::ParamType"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + void* args[4] = {NULL, (void*)&pos, (void*)&val, (void*)&type}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QSqlResult::bindValue(pos, val, type); +} +QVariant PythonQtShell_QSqlResult::data(int i) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "data"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QVariant" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + QVariant returnValue; + void* args[2] = {NULL, (void*)&i}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("data", methodInfo, result); + } else { + returnValue = *((QVariant*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QVariant(); +} +bool PythonQtShell_QSqlResult::exec() +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "exec"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + bool returnValue; + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("exec", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QSqlResult::exec(); +} +bool PythonQtShell_QSqlResult::fetch(int i) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "fetch"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue; + void* args[2] = {NULL, (void*)&i}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("fetch", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return bool(); +} +bool PythonQtShell_QSqlResult::fetchFirst() +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "fetchFirst"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + bool returnValue; + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("fetchFirst", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return bool(); +} +bool PythonQtShell_QSqlResult::fetchLast() +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "fetchLast"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + bool returnValue; + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("fetchLast", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return bool(); +} +bool PythonQtShell_QSqlResult::fetchNext() +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "fetchNext"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + bool returnValue; + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("fetchNext", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QSqlResult::fetchNext(); +} +bool PythonQtShell_QSqlResult::fetchPrevious() +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "fetchPrevious"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + bool returnValue; + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("fetchPrevious", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QSqlResult::fetchPrevious(); +} +QVariant PythonQtShell_QSqlResult::handle() const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "handle"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QVariant"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QVariant returnValue; + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("handle", methodInfo, result); + } else { + returnValue = *((QVariant*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QSqlResult::handle(); +} +bool PythonQtShell_QSqlResult::isNull(int i) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "isNull"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue; + void* args[2] = {NULL, (void*)&i}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("isNull", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return bool(); +} +QVariant PythonQtShell_QSqlResult::lastInsertId() const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "lastInsertId"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QVariant"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QVariant returnValue; + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("lastInsertId", methodInfo, result); + } else { + returnValue = *((QVariant*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QSqlResult::lastInsertId(); +} +int PythonQtShell_QSqlResult::numRowsAffected() +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "numRowsAffected"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + int returnValue; + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("numRowsAffected", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return int(); +} +bool PythonQtShell_QSqlResult::prepare(const QString& query) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "prepare"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "const QString&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue; + void* args[2] = {NULL, (void*)&query}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("prepare", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QSqlResult::prepare(query); +} +QSqlRecord PythonQtShell_QSqlResult::record() const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "record"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QSqlRecord"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QSqlRecord returnValue; + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("record", methodInfo, result); + } else { + returnValue = *((QSqlRecord*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QSqlResult::record(); +} +bool PythonQtShell_QSqlResult::reset(const QString& sqlquery) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "reset"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "const QString&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue; + void* args[2] = {NULL, (void*)&sqlquery}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("reset", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return bool(); +} +bool PythonQtShell_QSqlResult::savePrepare(const QString& sqlquery) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "savePrepare"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "const QString&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue; + void* args[2] = {NULL, (void*)&sqlquery}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("savePrepare", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QSqlResult::savePrepare(sqlquery); +} +void PythonQtShell_QSqlResult::setActive(bool a) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "setActive"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&a}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QSqlResult::setActive(a); +} +void PythonQtShell_QSqlResult::setAt(int at) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "setAt"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&at}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QSqlResult::setAt(at); +} +void PythonQtShell_QSqlResult::setForwardOnly(bool forward) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "setForwardOnly"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&forward}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QSqlResult::setForwardOnly(forward); +} +void PythonQtShell_QSqlResult::setLastError(const QSqlError& e) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "setLastError"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "const QSqlError&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&e}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QSqlResult::setLastError(e); +} +void PythonQtShell_QSqlResult::setQuery(const QString& query) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "setQuery"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "const QString&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&query}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QSqlResult::setQuery(query); +} +void PythonQtShell_QSqlResult::setSelect(bool s) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "setSelect"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&s}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QSqlResult::setSelect(s); +} +int PythonQtShell_QSqlResult::size() +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "size"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + int returnValue; + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("size", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return int(); +} +void PythonQtShell_QSqlResult::virtual_hook(int id, void* data) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "virtual_hook"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "int" , "void*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + void* args[3] = {NULL, (void*)&id, (void*)&data}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QSqlResult::virtual_hook(id, data); +} +void PythonQtWrapper_QSqlResult::bindValue(QSqlResult* theWrappedObject, const QString& placeholder, const QVariant& val, QSql::ParamType type) +{ + ( ((PythonQtPublicPromoter_QSqlResult*)theWrappedObject)->promoted_bindValue(placeholder, val, type)); +} + +void PythonQtWrapper_QSqlResult::bindValue(QSqlResult* theWrappedObject, int pos, const QVariant& val, QSql::ParamType type) +{ + ( ((PythonQtPublicPromoter_QSqlResult*)theWrappedObject)->promoted_bindValue(pos, val, type)); +} + +bool PythonQtWrapper_QSqlResult::exec(QSqlResult* theWrappedObject) +{ + return ( ((PythonQtPublicPromoter_QSqlResult*)theWrappedObject)->promoted_exec()); +} + +bool PythonQtWrapper_QSqlResult::fetchNext(QSqlResult* theWrappedObject) +{ + return ( ((PythonQtPublicPromoter_QSqlResult*)theWrappedObject)->promoted_fetchNext()); +} + +bool PythonQtWrapper_QSqlResult::fetchPrevious(QSqlResult* theWrappedObject) +{ + return ( ((PythonQtPublicPromoter_QSqlResult*)theWrappedObject)->promoted_fetchPrevious()); +} + +QVariant PythonQtWrapper_QSqlResult::handle(QSqlResult* theWrappedObject) const +{ + return ( ((PythonQtPublicPromoter_QSqlResult*)theWrappedObject)->promoted_handle()); +} + +QVariant PythonQtWrapper_QSqlResult::lastInsertId(QSqlResult* theWrappedObject) const +{ + return ( ((PythonQtPublicPromoter_QSqlResult*)theWrappedObject)->promoted_lastInsertId()); +} + +bool PythonQtWrapper_QSqlResult::prepare(QSqlResult* theWrappedObject, const QString& query) +{ + return ( ((PythonQtPublicPromoter_QSqlResult*)theWrappedObject)->promoted_prepare(query)); +} + +QSqlRecord PythonQtWrapper_QSqlResult::record(QSqlResult* theWrappedObject) const +{ + return ( ((PythonQtPublicPromoter_QSqlResult*)theWrappedObject)->promoted_record()); +} + +bool PythonQtWrapper_QSqlResult::savePrepare(QSqlResult* theWrappedObject, const QString& sqlquery) +{ + return ( ((PythonQtPublicPromoter_QSqlResult*)theWrappedObject)->promoted_savePrepare(sqlquery)); +} + +void PythonQtWrapper_QSqlResult::setActive(QSqlResult* theWrappedObject, bool a) +{ + ( ((PythonQtPublicPromoter_QSqlResult*)theWrappedObject)->promoted_setActive(a)); +} + +void PythonQtWrapper_QSqlResult::setAt(QSqlResult* theWrappedObject, int at) +{ + ( ((PythonQtPublicPromoter_QSqlResult*)theWrappedObject)->promoted_setAt(at)); +} + +void PythonQtWrapper_QSqlResult::setForwardOnly(QSqlResult* theWrappedObject, bool forward) +{ + ( ((PythonQtPublicPromoter_QSqlResult*)theWrappedObject)->promoted_setForwardOnly(forward)); +} + +void PythonQtWrapper_QSqlResult::setLastError(QSqlResult* theWrappedObject, const QSqlError& e) +{ + ( ((PythonQtPublicPromoter_QSqlResult*)theWrappedObject)->promoted_setLastError(e)); +} + +void PythonQtWrapper_QSqlResult::setQuery(QSqlResult* theWrappedObject, const QString& query) +{ + ( ((PythonQtPublicPromoter_QSqlResult*)theWrappedObject)->promoted_setQuery(query)); +} + +void PythonQtWrapper_QSqlResult::setSelect(QSqlResult* theWrappedObject, bool s) +{ + ( ((PythonQtPublicPromoter_QSqlResult*)theWrappedObject)->promoted_setSelect(s)); +} + + + +QModelIndex PythonQtShell_QSqlTableModel::buddy(const QModelIndex& index) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "buddy"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QModelIndex" , "const QModelIndex&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + QModelIndex returnValue; + void* args[2] = {NULL, (void*)&index}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("buddy", methodInfo, result); + } else { + returnValue = *((QModelIndex*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QSqlTableModel::buddy(index); +} +bool PythonQtShell_QSqlTableModel::canFetchMore(const QModelIndex& parent) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "canFetchMore"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "const QModelIndex&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue; + void* args[2] = {NULL, (void*)&parent}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("canFetchMore", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QSqlTableModel::canFetchMore(parent); +} +void PythonQtShell_QSqlTableModel::childEvent(QChildEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "childEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QChildEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QSqlTableModel::childEvent(arg__1); +} +void PythonQtShell_QSqlTableModel::clear() +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "clear"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={""}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QSqlTableModel::clear(); +} +int PythonQtShell_QSqlTableModel::columnCount(const QModelIndex& parent) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "columnCount"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"int" , "const QModelIndex&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + int returnValue; + void* args[2] = {NULL, (void*)&parent}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("columnCount", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QSqlTableModel::columnCount(parent); +} +void PythonQtShell_QSqlTableModel::customEvent(QEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "customEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QSqlTableModel::customEvent(arg__1); +} +QVariant PythonQtShell_QSqlTableModel::data(const QModelIndex& idx, int role) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "data"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QVariant" , "const QModelIndex&" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + QVariant returnValue; + void* args[3] = {NULL, (void*)&idx, (void*)&role}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("data", methodInfo, result); + } else { + returnValue = *((QVariant*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QSqlTableModel::data(idx, role); +} +bool PythonQtShell_QSqlTableModel::deleteRowFromTable(int row) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "deleteRowFromTable"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue; + void* args[2] = {NULL, (void*)&row}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("deleteRowFromTable", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QSqlTableModel::deleteRowFromTable(row); +} +bool PythonQtShell_QSqlTableModel::dropMimeData(const QMimeData* data, Qt::DropAction action, int row, int column, const QModelIndex& parent) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dropMimeData"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "const QMimeData*" , "Qt::DropAction" , "int" , "int" , "const QModelIndex&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(6, argumentList); + bool returnValue; + void* args[6] = {NULL, (void*)&data, (void*)&action, (void*)&row, (void*)&column, (void*)&parent}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("dropMimeData", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QSqlTableModel::dropMimeData(data, action, row, column, parent); +} +bool PythonQtShell_QSqlTableModel::event(QEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "event"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue; + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QSqlTableModel::event(arg__1); +} +bool PythonQtShell_QSqlTableModel::eventFilter(QObject* arg__1, QEvent* arg__2) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "eventFilter"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue; + void* args[3] = {NULL, (void*)&arg__1, (void*)&arg__2}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QSqlTableModel::eventFilter(arg__1, arg__2); +} +void PythonQtShell_QSqlTableModel::fetchMore(const QModelIndex& parent) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "fetchMore"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "const QModelIndex&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&parent}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QSqlTableModel::fetchMore(parent); +} +Qt::ItemFlags PythonQtShell_QSqlTableModel::flags(const QModelIndex& index) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "flags"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"Qt::ItemFlags" , "const QModelIndex&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + Qt::ItemFlags returnValue; + void* args[2] = {NULL, (void*)&index}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("flags", methodInfo, result); + } else { + returnValue = *((Qt::ItemFlags*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QSqlTableModel::flags(index); +} +QVariant PythonQtShell_QSqlTableModel::headerData(int section, Qt::Orientation orientation, int role) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "headerData"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QVariant" , "int" , "Qt::Orientation" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + QVariant returnValue; + void* args[4] = {NULL, (void*)§ion, (void*)&orientation, (void*)&role}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("headerData", methodInfo, result); + } else { + returnValue = *((QVariant*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QSqlTableModel::headerData(section, orientation, role); +} +QModelIndex PythonQtShell_QSqlTableModel::index(int row, int column, const QModelIndex& parent) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "index"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QModelIndex" , "int" , "int" , "const QModelIndex&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + QModelIndex returnValue; + void* args[4] = {NULL, (void*)&row, (void*)&column, (void*)&parent}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("index", methodInfo, result); + } else { + returnValue = *((QModelIndex*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QSqlTableModel::index(row, column, parent); +} +bool PythonQtShell_QSqlTableModel::insertColumns(int column, int count, const QModelIndex& parent) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "insertColumns"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "int" , "int" , "const QModelIndex&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + bool returnValue; + void* args[4] = {NULL, (void*)&column, (void*)&count, (void*)&parent}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("insertColumns", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QSqlTableModel::insertColumns(column, count, parent); +} +bool PythonQtShell_QSqlTableModel::insertRowIntoTable(const QSqlRecord& values) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "insertRowIntoTable"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "const QSqlRecord&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue; + void* args[2] = {NULL, (void*)&values}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("insertRowIntoTable", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QSqlTableModel::insertRowIntoTable(values); +} +bool PythonQtShell_QSqlTableModel::insertRows(int row, int count, const QModelIndex& parent) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "insertRows"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "int" , "int" , "const QModelIndex&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + bool returnValue; + void* args[4] = {NULL, (void*)&row, (void*)&count, (void*)&parent}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("insertRows", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QSqlTableModel::insertRows(row, count, parent); +} +QMap PythonQtShell_QSqlTableModel::itemData(const QModelIndex& index) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "itemData"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QMap" , "const QModelIndex&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + QMap returnValue; + void* args[2] = {NULL, (void*)&index}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("itemData", methodInfo, result); + } else { + returnValue = *((QMap*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QSqlTableModel::itemData(index); +} +QList PythonQtShell_QSqlTableModel::match(const QModelIndex& start, int role, const QVariant& value, int hits, Qt::MatchFlags flags) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "match"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QList" , "const QModelIndex&" , "int" , "const QVariant&" , "int" , "Qt::MatchFlags"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(6, argumentList); + QList returnValue; + void* args[6] = {NULL, (void*)&start, (void*)&role, (void*)&value, (void*)&hits, (void*)&flags}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("match", methodInfo, result); + } else { + returnValue = *((QList*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QSqlTableModel::match(start, role, value, hits, flags); +} +QMimeData* PythonQtShell_QSqlTableModel::mimeData(const QList& indexes) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mimeData"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QMimeData*" , "const QList&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + QMimeData* returnValue; + void* args[2] = {NULL, (void*)&indexes}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("mimeData", methodInfo, result); + } else { + returnValue = *((QMimeData**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QSqlTableModel::mimeData(indexes); +} +QStringList PythonQtShell_QSqlTableModel::mimeTypes() const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mimeTypes"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QStringList"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QStringList returnValue; + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("mimeTypes", methodInfo, result); + } else { + returnValue = *((QStringList*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QSqlTableModel::mimeTypes(); +} +QString PythonQtShell_QSqlTableModel::orderByClause() const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "orderByClause"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QString"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QString returnValue; + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("orderByClause", methodInfo, result); + } else { + returnValue = *((QString*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QSqlTableModel::orderByClause(); +} +void PythonQtShell_QSqlTableModel::queryChange() +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "queryChange"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={""}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QSqlTableModel::queryChange(); +} +bool PythonQtShell_QSqlTableModel::removeColumns(int column, int count, const QModelIndex& parent) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "removeColumns"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "int" , "int" , "const QModelIndex&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + bool returnValue; + void* args[4] = {NULL, (void*)&column, (void*)&count, (void*)&parent}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("removeColumns", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QSqlTableModel::removeColumns(column, count, parent); +} +bool PythonQtShell_QSqlTableModel::removeRows(int row, int count, const QModelIndex& parent) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "removeRows"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "int" , "int" , "const QModelIndex&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + bool returnValue; + void* args[4] = {NULL, (void*)&row, (void*)&count, (void*)&parent}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("removeRows", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QSqlTableModel::removeRows(row, count, parent); +} +void PythonQtShell_QSqlTableModel::revert() +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "revert"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={""}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QSqlTableModel::revert(); +} +void PythonQtShell_QSqlTableModel::revertRow(int row) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "revertRow"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&row}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QSqlTableModel::revertRow(row); +} +int PythonQtShell_QSqlTableModel::rowCount(const QModelIndex& parent) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "rowCount"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"int" , "const QModelIndex&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + int returnValue; + void* args[2] = {NULL, (void*)&parent}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("rowCount", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QSqlTableModel::rowCount(parent); +} +bool PythonQtShell_QSqlTableModel::select() +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "select"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + bool returnValue; + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("select", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QSqlTableModel::select(); +} +QString PythonQtShell_QSqlTableModel::selectStatement() const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "selectStatement"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QString"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QString returnValue; + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("selectStatement", methodInfo, result); + } else { + returnValue = *((QString*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QSqlTableModel::selectStatement(); +} +bool PythonQtShell_QSqlTableModel::setData(const QModelIndex& index, const QVariant& value, int role) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "setData"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "const QModelIndex&" , "const QVariant&" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + bool returnValue; + void* args[4] = {NULL, (void*)&index, (void*)&value, (void*)&role}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("setData", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QSqlTableModel::setData(index, value, role); +} +void PythonQtShell_QSqlTableModel::setEditStrategy(QSqlTableModel::EditStrategy strategy) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "setEditStrategy"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QSqlTableModel::EditStrategy"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&strategy}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QSqlTableModel::setEditStrategy(strategy); +} +void PythonQtShell_QSqlTableModel::setFilter(const QString& filter) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "setFilter"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "const QString&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&filter}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QSqlTableModel::setFilter(filter); +} +bool PythonQtShell_QSqlTableModel::setHeaderData(int section, Qt::Orientation orientation, const QVariant& value, int role) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "setHeaderData"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "int" , "Qt::Orientation" , "const QVariant&" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(5, argumentList); + bool returnValue; + void* args[5] = {NULL, (void*)§ion, (void*)&orientation, (void*)&value, (void*)&role}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("setHeaderData", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QSqlTableModel::setHeaderData(section, orientation, value, role); +} +bool PythonQtShell_QSqlTableModel::setItemData(const QModelIndex& index, const QMap& roles) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "setItemData"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "const QModelIndex&" , "const QMap&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue; + void* args[3] = {NULL, (void*)&index, (void*)&roles}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("setItemData", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QSqlTableModel::setItemData(index, roles); +} +void PythonQtShell_QSqlTableModel::setSort(int column, Qt::SortOrder order) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "setSort"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "int" , "Qt::SortOrder"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + void* args[3] = {NULL, (void*)&column, (void*)&order}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QSqlTableModel::setSort(column, order); +} +void PythonQtShell_QSqlTableModel::setTable(const QString& tableName) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "setTable"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "const QString&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&tableName}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QSqlTableModel::setTable(tableName); +} +void PythonQtShell_QSqlTableModel::sort(int column, Qt::SortOrder order) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "sort"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "int" , "Qt::SortOrder"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + void* args[3] = {NULL, (void*)&column, (void*)&order}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QSqlTableModel::sort(column, order); +} +QSize PythonQtShell_QSqlTableModel::span(const QModelIndex& index) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "span"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QSize" , "const QModelIndex&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + QSize returnValue; + void* args[2] = {NULL, (void*)&index}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("span", methodInfo, result); + } else { + returnValue = *((QSize*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QSqlTableModel::span(index); +} +bool PythonQtShell_QSqlTableModel::submit() +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "submit"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + bool returnValue; + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("submit", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QSqlTableModel::submit(); +} +Qt::DropActions PythonQtShell_QSqlTableModel::supportedDropActions() const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "supportedDropActions"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"Qt::DropActions"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + Qt::DropActions returnValue; + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("supportedDropActions", methodInfo, result); + } else { + returnValue = *((Qt::DropActions*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QSqlTableModel::supportedDropActions(); +} +void PythonQtShell_QSqlTableModel::timerEvent(QTimerEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "timerEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QTimerEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QSqlTableModel::timerEvent(arg__1); +} +bool PythonQtShell_QSqlTableModel::updateRowInTable(int row, const QSqlRecord& values) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "updateRowInTable"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "int" , "const QSqlRecord&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue; + void* args[3] = {NULL, (void*)&row, (void*)&values}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("updateRowInTable", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QSqlTableModel::updateRowInTable(row, values); +} +QSqlTableModel* PythonQtWrapper_QSqlTableModel::new_QSqlTableModel(QObject* parent, QSqlDatabase db) +{ +return new PythonQtShell_QSqlTableModel(parent, db); } + +void PythonQtWrapper_QSqlTableModel::clear(QSqlTableModel* theWrappedObject) +{ + ( ((PythonQtPublicPromoter_QSqlTableModel*)theWrappedObject)->promoted_clear()); +} + +QVariant PythonQtWrapper_QSqlTableModel::data(QSqlTableModel* theWrappedObject, const QModelIndex& idx, int role) const +{ + return ( ((PythonQtPublicPromoter_QSqlTableModel*)theWrappedObject)->promoted_data(idx, role)); +} + +QSqlDatabase PythonQtWrapper_QSqlTableModel::database(QSqlTableModel* theWrappedObject) const +{ + return ( theWrappedObject->database()); +} + +bool PythonQtWrapper_QSqlTableModel::deleteRowFromTable(QSqlTableModel* theWrappedObject, int row) +{ + return ( ((PythonQtPublicPromoter_QSqlTableModel*)theWrappedObject)->promoted_deleteRowFromTable(row)); +} + +QSqlTableModel::EditStrategy PythonQtWrapper_QSqlTableModel::editStrategy(QSqlTableModel* theWrappedObject) const +{ + return ( theWrappedObject->editStrategy()); +} + +int PythonQtWrapper_QSqlTableModel::fieldIndex(QSqlTableModel* theWrappedObject, const QString& fieldName) const +{ + return ( theWrappedObject->fieldIndex(fieldName)); +} + +QString PythonQtWrapper_QSqlTableModel::filter(QSqlTableModel* theWrappedObject) const +{ + return ( theWrappedObject->filter()); +} + +Qt::ItemFlags PythonQtWrapper_QSqlTableModel::flags(QSqlTableModel* theWrappedObject, const QModelIndex& index) const +{ + return ( ((PythonQtPublicPromoter_QSqlTableModel*)theWrappedObject)->promoted_flags(index)); +} + +QVariant PythonQtWrapper_QSqlTableModel::headerData(QSqlTableModel* theWrappedObject, int section, Qt::Orientation orientation, int role) const +{ + return ( ((PythonQtPublicPromoter_QSqlTableModel*)theWrappedObject)->promoted_headerData(section, orientation, role)); +} + +bool PythonQtWrapper_QSqlTableModel::insertRecord(QSqlTableModel* theWrappedObject, int row, const QSqlRecord& record) +{ + return ( theWrappedObject->insertRecord(row, record)); +} + +bool PythonQtWrapper_QSqlTableModel::insertRowIntoTable(QSqlTableModel* theWrappedObject, const QSqlRecord& values) +{ + return ( ((PythonQtPublicPromoter_QSqlTableModel*)theWrappedObject)->promoted_insertRowIntoTable(values)); +} + +bool PythonQtWrapper_QSqlTableModel::insertRows(QSqlTableModel* theWrappedObject, int row, int count, const QModelIndex& parent) +{ + return ( ((PythonQtPublicPromoter_QSqlTableModel*)theWrappedObject)->promoted_insertRows(row, count, parent)); +} + +bool PythonQtWrapper_QSqlTableModel::isDirty(QSqlTableModel* theWrappedObject, const QModelIndex& index) const +{ + return ( theWrappedObject->isDirty(index)); +} + +QString PythonQtWrapper_QSqlTableModel::orderByClause(QSqlTableModel* theWrappedObject) const +{ + return ( ((PythonQtPublicPromoter_QSqlTableModel*)theWrappedObject)->promoted_orderByClause()); +} + +QSqlIndex PythonQtWrapper_QSqlTableModel::primaryKey(QSqlTableModel* theWrappedObject) const +{ + return ( theWrappedObject->primaryKey()); +} + +bool PythonQtWrapper_QSqlTableModel::removeColumns(QSqlTableModel* theWrappedObject, int column, int count, const QModelIndex& parent) +{ + return ( ((PythonQtPublicPromoter_QSqlTableModel*)theWrappedObject)->promoted_removeColumns(column, count, parent)); +} + +bool PythonQtWrapper_QSqlTableModel::removeRows(QSqlTableModel* theWrappedObject, int row, int count, const QModelIndex& parent) +{ + return ( ((PythonQtPublicPromoter_QSqlTableModel*)theWrappedObject)->promoted_removeRows(row, count, parent)); +} + +void PythonQtWrapper_QSqlTableModel::revertRow(QSqlTableModel* theWrappedObject, int row) +{ + ( ((PythonQtPublicPromoter_QSqlTableModel*)theWrappedObject)->promoted_revertRow(row)); +} + +int PythonQtWrapper_QSqlTableModel::rowCount(QSqlTableModel* theWrappedObject, const QModelIndex& parent) const +{ + return ( ((PythonQtPublicPromoter_QSqlTableModel*)theWrappedObject)->promoted_rowCount(parent)); +} + +bool PythonQtWrapper_QSqlTableModel::select(QSqlTableModel* theWrappedObject) +{ + return ( ((PythonQtPublicPromoter_QSqlTableModel*)theWrappedObject)->promoted_select()); +} + +QString PythonQtWrapper_QSqlTableModel::selectStatement(QSqlTableModel* theWrappedObject) const +{ + return ( ((PythonQtPublicPromoter_QSqlTableModel*)theWrappedObject)->promoted_selectStatement()); +} + +bool PythonQtWrapper_QSqlTableModel::setData(QSqlTableModel* theWrappedObject, const QModelIndex& index, const QVariant& value, int role) +{ + return ( ((PythonQtPublicPromoter_QSqlTableModel*)theWrappedObject)->promoted_setData(index, value, role)); +} + +void PythonQtWrapper_QSqlTableModel::setEditStrategy(QSqlTableModel* theWrappedObject, QSqlTableModel::EditStrategy strategy) +{ + ( ((PythonQtPublicPromoter_QSqlTableModel*)theWrappedObject)->promoted_setEditStrategy(strategy)); +} + +void PythonQtWrapper_QSqlTableModel::setFilter(QSqlTableModel* theWrappedObject, const QString& filter) +{ + ( ((PythonQtPublicPromoter_QSqlTableModel*)theWrappedObject)->promoted_setFilter(filter)); +} + +bool PythonQtWrapper_QSqlTableModel::setRecord(QSqlTableModel* theWrappedObject, int row, const QSqlRecord& record) +{ + return ( theWrappedObject->setRecord(row, record)); +} + +void PythonQtWrapper_QSqlTableModel::setSort(QSqlTableModel* theWrappedObject, int column, Qt::SortOrder order) +{ + ( ((PythonQtPublicPromoter_QSqlTableModel*)theWrappedObject)->promoted_setSort(column, order)); +} + +void PythonQtWrapper_QSqlTableModel::setTable(QSqlTableModel* theWrappedObject, const QString& tableName) +{ + ( ((PythonQtPublicPromoter_QSqlTableModel*)theWrappedObject)->promoted_setTable(tableName)); +} + +void PythonQtWrapper_QSqlTableModel::sort(QSqlTableModel* theWrappedObject, int column, Qt::SortOrder order) +{ + ( ((PythonQtPublicPromoter_QSqlTableModel*)theWrappedObject)->promoted_sort(column, order)); +} + +QString PythonQtWrapper_QSqlTableModel::tableName(QSqlTableModel* theWrappedObject) const +{ + return ( theWrappedObject->tableName()); +} + +bool PythonQtWrapper_QSqlTableModel::updateRowInTable(QSqlTableModel* theWrappedObject, int row, const QSqlRecord& values) +{ + return ( ((PythonQtPublicPromoter_QSqlTableModel*)theWrappedObject)->promoted_updateRowInTable(row, values)); +} + + diff --git a/generated_cpp_47/com_trolltech_qt_sql/com_trolltech_qt_sql0.h b/generated_cpp_47/com_trolltech_qt_sql/com_trolltech_qt_sql0.h new file mode 100644 index 00000000..9af7829d --- /dev/null +++ b/generated_cpp_47/com_trolltech_qt_sql/com_trolltech_qt_sql0.h @@ -0,0 +1,835 @@ +#include +#include +#include +#include +#include +#include +#include +#include +#include +#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_QSql : public QObject +{ Q_OBJECT +public: +Q_ENUMS(NumericalPrecisionPolicy Location ParamTypeFlag TableType ) +Q_FLAGS(ParamType ) +enum NumericalPrecisionPolicy{ + LowPrecisionInt32 = QSql::LowPrecisionInt32, LowPrecisionInt64 = QSql::LowPrecisionInt64, LowPrecisionDouble = QSql::LowPrecisionDouble, HighPrecision = QSql::HighPrecision}; +enum Location{ + BeforeFirstRow = QSql::BeforeFirstRow, AfterLastRow = QSql::AfterLastRow}; +enum ParamTypeFlag{ + In = QSql::In, Out = QSql::Out, InOut = QSql::InOut, Binary = QSql::Binary}; +enum TableType{ + Tables = QSql::Tables, SystemTables = QSql::SystemTables, Views = QSql::Views, AllTables = QSql::AllTables}; +Q_DECLARE_FLAGS(ParamType, ParamTypeFlag) +public slots: +}; + + + + + +class PythonQtShell_QSqlDatabase : public QSqlDatabase +{ +public: + PythonQtShell_QSqlDatabase():QSqlDatabase(),_wrapper(NULL) {}; + PythonQtShell_QSqlDatabase(QSqlDriver* driver):QSqlDatabase(driver),_wrapper(NULL) {}; + PythonQtShell_QSqlDatabase(const QSqlDatabase& other):QSqlDatabase(other),_wrapper(NULL) {}; + PythonQtShell_QSqlDatabase(const QString& type):QSqlDatabase(type),_wrapper(NULL) {}; + + + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtWrapper_QSqlDatabase : public QObject +{ Q_OBJECT +public: +public slots: +QSqlDatabase* new_QSqlDatabase(); +QSqlDatabase* new_QSqlDatabase(const QSqlDatabase& other); +void delete_QSqlDatabase(QSqlDatabase* obj) { delete obj; } + 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); + void close(QSqlDatabase* theWrappedObject); + bool commit(QSqlDatabase* theWrappedObject); + QString connectOptions(QSqlDatabase* theWrappedObject) const; + QString connectionName(QSqlDatabase* theWrappedObject) const; + QStringList static_QSqlDatabase_connectionNames(); + bool static_QSqlDatabase_contains(const QString& connectionName = QLatin1String(QSqlDatabase::defaultConnection)); + QSqlDatabase static_QSqlDatabase_database(const QString& connectionName = QLatin1String(QSqlDatabase::defaultConnection), bool open = true); + QString databaseName(QSqlDatabase* theWrappedObject) const; + QSqlDriver* driver(QSqlDatabase* theWrappedObject) const; + QString driverName(QSqlDatabase* theWrappedObject) const; + QStringList static_QSqlDatabase_drivers(); + QSqlQuery exec(QSqlDatabase* theWrappedObject, const QString& query = QString()) const; + QString hostName(QSqlDatabase* theWrappedObject) const; + bool static_QSqlDatabase_isDriverAvailable(const QString& name); + bool isOpen(QSqlDatabase* theWrappedObject) const; + bool isOpenError(QSqlDatabase* theWrappedObject) const; + bool isValid(QSqlDatabase* theWrappedObject) const; + QSqlError lastError(QSqlDatabase* theWrappedObject) const; + QSql::NumericalPrecisionPolicy numericalPrecisionPolicy(QSqlDatabase* theWrappedObject) const; + bool open(QSqlDatabase* theWrappedObject); + bool open(QSqlDatabase* theWrappedObject, const QString& user, const QString& password); + QString password(QSqlDatabase* theWrappedObject) const; + int port(QSqlDatabase* theWrappedObject) const; + QSqlIndex primaryIndex(QSqlDatabase* theWrappedObject, const QString& tablename) const; + QSqlRecord record(QSqlDatabase* theWrappedObject, const QString& tablename) const; + void static_QSqlDatabase_registerSqlDriver(const QString& name, QSqlDriverCreatorBase* creator); + void static_QSqlDatabase_removeDatabase(const QString& connectionName); + bool rollback(QSqlDatabase* theWrappedObject); + void setConnectOptions(QSqlDatabase* theWrappedObject, const QString& options = QString()); + void setDatabaseName(QSqlDatabase* theWrappedObject, const QString& name); + void setHostName(QSqlDatabase* theWrappedObject, const QString& host); + void setNumericalPrecisionPolicy(QSqlDatabase* theWrappedObject, QSql::NumericalPrecisionPolicy precisionPolicy); + void setPassword(QSqlDatabase* theWrappedObject, const QString& password); + void setPort(QSqlDatabase* theWrappedObject, int p); + void setUserName(QSqlDatabase* theWrappedObject, const QString& name); + QStringList tables(QSqlDatabase* theWrappedObject, QSql::TableType type = QSql::Tables) const; + bool transaction(QSqlDatabase* theWrappedObject); + QString userName(QSqlDatabase* theWrappedObject) const; + QString py_toString(QSqlDatabase*); +}; + + + + + +class PythonQtShell_QSqlDriver : public QSqlDriver +{ +public: + PythonQtShell_QSqlDriver(QObject* parent = 0):QSqlDriver(parent),_wrapper(NULL) {}; + +virtual bool beginTransaction(); +virtual void childEvent(QChildEvent* arg__1); +virtual void close(); +virtual bool commitTransaction(); +virtual QSqlResult* createResult() const; +virtual void customEvent(QEvent* arg__1); +virtual QString escapeIdentifier(const QString& identifier, QSqlDriver::IdentifierType type) const; +virtual bool event(QEvent* arg__1); +virtual bool eventFilter(QObject* arg__1, QEvent* arg__2); +virtual QString formatValue(const QSqlField& field, bool trimStrings = false) const; +virtual QVariant handle() const; +virtual bool hasFeature(QSqlDriver::DriverFeature f) const; +virtual bool isOpen() const; +virtual bool open(const QString& db, const QString& user = QString(), const QString& password = QString(), const QString& host = QString(), int port = -1, const QString& connOpts = QString()); +virtual QSqlIndex primaryIndex(const QString& tableName) const; +virtual QSqlRecord record(const QString& tableName) const; +virtual bool rollbackTransaction(); +virtual void setLastError(const QSqlError& e); +virtual void setOpen(bool o); +virtual void setOpenError(bool e); +virtual QString sqlStatement(QSqlDriver::StatementType type, const QString& tableName, const QSqlRecord& rec, bool preparedStatement) const; +virtual QStringList tables(QSql::TableType tableType) const; +virtual void timerEvent(QTimerEvent* arg__1); + + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtPublicPromoter_QSqlDriver : public QSqlDriver +{ public: +inline bool promoted_beginTransaction() { return QSqlDriver::beginTransaction(); } +inline bool promoted_commitTransaction() { return QSqlDriver::commitTransaction(); } +inline QString promoted_escapeIdentifier(const QString& identifier, QSqlDriver::IdentifierType type) const { return QSqlDriver::escapeIdentifier(identifier, type); } +inline QString promoted_formatValue(const QSqlField& field, bool trimStrings = false) const { return QSqlDriver::formatValue(field, trimStrings); } +inline QVariant promoted_handle() const { return QSqlDriver::handle(); } +inline bool promoted_isOpen() const { return QSqlDriver::isOpen(); } +inline QSqlIndex promoted_primaryIndex(const QString& tableName) const { return QSqlDriver::primaryIndex(tableName); } +inline QSqlRecord promoted_record(const QString& tableName) const { return QSqlDriver::record(tableName); } +inline bool promoted_rollbackTransaction() { return QSqlDriver::rollbackTransaction(); } +inline void promoted_setLastError(const QSqlError& e) { QSqlDriver::setLastError(e); } +inline void promoted_setOpen(bool o) { QSqlDriver::setOpen(o); } +inline void promoted_setOpenError(bool e) { QSqlDriver::setOpenError(e); } +inline QString promoted_sqlStatement(QSqlDriver::StatementType type, const QString& tableName, const QSqlRecord& rec, bool preparedStatement) const { return QSqlDriver::sqlStatement(type, tableName, rec, preparedStatement); } +inline QStringList promoted_tables(QSql::TableType tableType) const { return QSqlDriver::tables(tableType); } +}; + +class PythonQtWrapper_QSqlDriver : public QObject +{ Q_OBJECT +public: +Q_ENUMS(StatementType IdentifierType DriverFeature ) +enum StatementType{ + WhereStatement = QSqlDriver::WhereStatement, SelectStatement = QSqlDriver::SelectStatement, UpdateStatement = QSqlDriver::UpdateStatement, InsertStatement = QSqlDriver::InsertStatement, DeleteStatement = QSqlDriver::DeleteStatement}; +enum IdentifierType{ + FieldName = QSqlDriver::FieldName, TableName = QSqlDriver::TableName}; +enum DriverFeature{ + Transactions = QSqlDriver::Transactions, QuerySize = QSqlDriver::QuerySize, BLOB = QSqlDriver::BLOB, Unicode = QSqlDriver::Unicode, PreparedQueries = QSqlDriver::PreparedQueries, NamedPlaceholders = QSqlDriver::NamedPlaceholders, PositionalPlaceholders = QSqlDriver::PositionalPlaceholders, LastInsertId = QSqlDriver::LastInsertId, BatchOperations = QSqlDriver::BatchOperations, SimpleLocking = QSqlDriver::SimpleLocking, LowPrecisionNumbers = QSqlDriver::LowPrecisionNumbers, EventNotifications = QSqlDriver::EventNotifications, FinishQuery = QSqlDriver::FinishQuery, MultipleResultSets = QSqlDriver::MultipleResultSets}; +public slots: +QSqlDriver* new_QSqlDriver(QObject* parent = 0); +void delete_QSqlDriver(QSqlDriver* obj) { delete obj; } + bool beginTransaction(QSqlDriver* theWrappedObject); + bool commitTransaction(QSqlDriver* theWrappedObject); + QString escapeIdentifier(QSqlDriver* theWrappedObject, const QString& identifier, QSqlDriver::IdentifierType type) const; + QString formatValue(QSqlDriver* theWrappedObject, const QSqlField& field, bool trimStrings = false) const; + QVariant handle(QSqlDriver* theWrappedObject) const; + bool isIdentifierEscaped(QSqlDriver* theWrappedObject, const QString& identifier, QSqlDriver::IdentifierType type) const; + bool isOpen(QSqlDriver* theWrappedObject) const; + bool isOpenError(QSqlDriver* theWrappedObject) const; + QSqlError lastError(QSqlDriver* theWrappedObject) const; + QSql::NumericalPrecisionPolicy numericalPrecisionPolicy(QSqlDriver* theWrappedObject) const; + QSqlIndex primaryIndex(QSqlDriver* theWrappedObject, const QString& tableName) const; + QSqlRecord record(QSqlDriver* theWrappedObject, const QString& tableName) const; + bool rollbackTransaction(QSqlDriver* theWrappedObject); + void setLastError(QSqlDriver* theWrappedObject, const QSqlError& e); + void setNumericalPrecisionPolicy(QSqlDriver* theWrappedObject, QSql::NumericalPrecisionPolicy precisionPolicy); + void setOpen(QSqlDriver* theWrappedObject, bool o); + void setOpenError(QSqlDriver* theWrappedObject, bool e); + QString sqlStatement(QSqlDriver* theWrappedObject, QSqlDriver::StatementType type, const QString& tableName, const QSqlRecord& rec, bool preparedStatement) const; + QString stripDelimiters(QSqlDriver* theWrappedObject, const QString& identifier, QSqlDriver::IdentifierType type) const; + bool subscribeToNotification(QSqlDriver* theWrappedObject, const QString& name); + QStringList subscribedToNotifications(QSqlDriver* theWrappedObject) const; + QStringList tables(QSqlDriver* theWrappedObject, QSql::TableType tableType) const; + bool unsubscribeFromNotification(QSqlDriver* theWrappedObject, const QString& name); +}; + + + + + +class PythonQtShell_QSqlDriverCreatorBase : public QSqlDriverCreatorBase +{ +public: + PythonQtShell_QSqlDriverCreatorBase():QSqlDriverCreatorBase(),_wrapper(NULL) {}; + +virtual QSqlDriver* createObject() const; + + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtWrapper_QSqlDriverCreatorBase : public QObject +{ Q_OBJECT +public: +public slots: +QSqlDriverCreatorBase* new_QSqlDriverCreatorBase(); +void delete_QSqlDriverCreatorBase(QSqlDriverCreatorBase* obj) { delete obj; } +}; + + + + + +class PythonQtWrapper_QSqlError : public QObject +{ Q_OBJECT +public: +Q_ENUMS(ErrorType ) +enum ErrorType{ + NoError = QSqlError::NoError, ConnectionError = QSqlError::ConnectionError, StatementError = QSqlError::StatementError, TransactionError = QSqlError::TransactionError, UnknownError = QSqlError::UnknownError}; +public slots: +QSqlError* new_QSqlError(const QSqlError& other); +QSqlError* new_QSqlError(const QString& driverText = QString(), const QString& databaseText = QString(), QSqlError::ErrorType type = QSqlError::NoError, int number = -1); +void delete_QSqlError(QSqlError* obj) { delete obj; } + QString databaseText(QSqlError* theWrappedObject) const; + QString driverText(QSqlError* theWrappedObject) const; + bool isValid(QSqlError* theWrappedObject) const; + int number(QSqlError* theWrappedObject) 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); + QString text(QSqlError* theWrappedObject) const; + QSqlError::ErrorType type(QSqlError* theWrappedObject) const; + QString py_toString(QSqlError*); +}; + + + + + +class PythonQtWrapper_QSqlField : public QObject +{ Q_OBJECT +public: +Q_ENUMS(RequiredStatus ) +enum RequiredStatus{ + Unknown = QSqlField::Unknown, Optional = QSqlField::Optional, Required = QSqlField::Required}; +public slots: +QSqlField* new_QSqlField(const QSqlField& other); +QSqlField* new_QSqlField(const QString& fieldName = QString(), QVariant::Type type = QVariant::Invalid); +void delete_QSqlField(QSqlField* obj) { delete obj; } + void clear(QSqlField* theWrappedObject); + QVariant defaultValue(QSqlField* theWrappedObject) const; + bool isAutoValue(QSqlField* theWrappedObject) const; + bool isGenerated(QSqlField* theWrappedObject) const; + bool isNull(QSqlField* theWrappedObject) const; + bool isReadOnly(QSqlField* theWrappedObject) const; + bool isValid(QSqlField* theWrappedObject) const; + int length(QSqlField* theWrappedObject) const; + QString name(QSqlField* theWrappedObject) const; + bool __ne__(QSqlField* theWrappedObject, const QSqlField& other) const; + bool __eq__(QSqlField* theWrappedObject, const QSqlField& other) const; + int precision(QSqlField* theWrappedObject) const; + QSqlField::RequiredStatus requiredStatus(QSqlField* theWrappedObject) const; + void setAutoValue(QSqlField* theWrappedObject, bool autoVal); + void setDefaultValue(QSqlField* theWrappedObject, const QVariant& value); + void setGenerated(QSqlField* theWrappedObject, bool gen); + void setLength(QSqlField* theWrappedObject, int fieldLength); + void setName(QSqlField* theWrappedObject, const QString& name); + void setPrecision(QSqlField* theWrappedObject, int precision); + void setReadOnly(QSqlField* theWrappedObject, bool readOnly); + void setRequired(QSqlField* theWrappedObject, bool required); + void setRequiredStatus(QSqlField* theWrappedObject, QSqlField::RequiredStatus status); + void setSqlType(QSqlField* theWrappedObject, int type); + void setType(QSqlField* theWrappedObject, QVariant::Type type); + void setValue(QSqlField* theWrappedObject, const QVariant& value); + QVariant::Type type(QSqlField* theWrappedObject) const; + int typeID(QSqlField* theWrappedObject) const; + QVariant value(QSqlField* theWrappedObject) const; + QString py_toString(QSqlField*); + bool __nonzero__(QSqlField* obj) { return !obj->isNull(); } +}; + + + + + +class PythonQtWrapper_QSqlIndex : public QObject +{ Q_OBJECT +public: +public slots: +QSqlIndex* new_QSqlIndex(const QSqlIndex& other); +QSqlIndex* new_QSqlIndex(const QString& cursorName = QString(), const QString& name = QString()); +void delete_QSqlIndex(QSqlIndex* obj) { delete obj; } + void append(QSqlIndex* theWrappedObject, const QSqlField& field); + void append(QSqlIndex* theWrappedObject, const QSqlField& field, bool desc); + QString cursorName(QSqlIndex* theWrappedObject) const; + bool isDescending(QSqlIndex* theWrappedObject, int i) const; + QString name(QSqlIndex* theWrappedObject) const; + void setCursorName(QSqlIndex* theWrappedObject, const QString& cursorName); + void setDescending(QSqlIndex* theWrappedObject, int i, bool desc); + void setName(QSqlIndex* theWrappedObject, const QString& name); +}; + + + + + +class PythonQtWrapper_QSqlQuery : public QObject +{ Q_OBJECT +public: +Q_ENUMS(BatchExecutionMode ) +enum BatchExecutionMode{ + ValuesAsRows = QSqlQuery::ValuesAsRows, ValuesAsColumns = QSqlQuery::ValuesAsColumns}; +public slots: +QSqlQuery* new_QSqlQuery(QSqlDatabase db); +QSqlQuery* new_QSqlQuery(QSqlResult* r); +QSqlQuery* new_QSqlQuery(const QSqlQuery& other); +QSqlQuery* new_QSqlQuery(const QString& query = QString(), QSqlDatabase db = QSqlDatabase()); +void delete_QSqlQuery(QSqlQuery* obj) { delete obj; } + 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); + void bindValue(QSqlQuery* theWrappedObject, int pos, const QVariant& val, QSql::ParamType type = QSql::In); + QVariant boundValue(QSqlQuery* theWrappedObject, const QString& placeholder) const; + QVariant boundValue(QSqlQuery* theWrappedObject, int pos) const; + QMap boundValues(QSqlQuery* theWrappedObject) const; + void clear(QSqlQuery* theWrappedObject); + const QSqlDriver* driver(QSqlQuery* theWrappedObject) const; + bool exec(QSqlQuery* theWrappedObject); + bool exec(QSqlQuery* theWrappedObject, const QString& query); + bool execBatch(QSqlQuery* theWrappedObject, QSqlQuery::BatchExecutionMode mode = QSqlQuery::ValuesAsRows); + QString executedQuery(QSqlQuery* theWrappedObject) const; + void finish(QSqlQuery* theWrappedObject); + bool first(QSqlQuery* theWrappedObject); + bool isActive(QSqlQuery* theWrappedObject) const; + bool isForwardOnly(QSqlQuery* theWrappedObject) const; + bool isNull(QSqlQuery* theWrappedObject, int field) const; + bool isSelect(QSqlQuery* theWrappedObject) const; + bool isValid(QSqlQuery* theWrappedObject) const; + bool last(QSqlQuery* theWrappedObject); + QSqlError lastError(QSqlQuery* theWrappedObject) const; + QVariant lastInsertId(QSqlQuery* theWrappedObject) const; + QString lastQuery(QSqlQuery* theWrappedObject) const; + bool next(QSqlQuery* theWrappedObject); + bool nextResult(QSqlQuery* theWrappedObject); + int numRowsAffected(QSqlQuery* theWrappedObject) const; + QSql::NumericalPrecisionPolicy numericalPrecisionPolicy(QSqlQuery* theWrappedObject) const; + bool prepare(QSqlQuery* theWrappedObject, const QString& query); + bool previous(QSqlQuery* theWrappedObject); + QSqlRecord record(QSqlQuery* theWrappedObject) const; + const QSqlResult* result(QSqlQuery* theWrappedObject) const; + bool seek(QSqlQuery* theWrappedObject, int i, bool relative = false); + void setForwardOnly(QSqlQuery* theWrappedObject, bool forward); + void setNumericalPrecisionPolicy(QSqlQuery* theWrappedObject, QSql::NumericalPrecisionPolicy precisionPolicy); + int size(QSqlQuery* theWrappedObject) const; + QVariant value(QSqlQuery* theWrappedObject, int i) const; +}; + + + + + +class PythonQtShell_QSqlQueryModel : public QSqlQueryModel +{ +public: + PythonQtShell_QSqlQueryModel(QObject* parent = 0):QSqlQueryModel(parent),_wrapper(NULL) {}; + +virtual QModelIndex buddy(const QModelIndex& index) const; +virtual bool canFetchMore(const QModelIndex& parent = QModelIndex()) const; +virtual void childEvent(QChildEvent* arg__1); +virtual void clear(); +virtual int columnCount(const QModelIndex& parent = QModelIndex()) const; +virtual void customEvent(QEvent* arg__1); +virtual QVariant data(const QModelIndex& item, int role = Qt::DisplayRole) const; +virtual bool dropMimeData(const QMimeData* data, Qt::DropAction action, int row, int column, const QModelIndex& parent); +virtual bool event(QEvent* arg__1); +virtual bool eventFilter(QObject* arg__1, QEvent* arg__2); +virtual void fetchMore(const QModelIndex& parent = QModelIndex()); +virtual Qt::ItemFlags flags(const QModelIndex& index) const; +virtual QVariant headerData(int section, Qt::Orientation orientation, int role = Qt::DisplayRole) const; +virtual QModelIndex index(int row, int column, const QModelIndex& parent) const; +virtual bool insertColumns(int column, int count, const QModelIndex& parent = QModelIndex()); +virtual bool insertRows(int row, int count, const QModelIndex& parent); +virtual QMap itemData(const QModelIndex& index) const; +virtual QList match(const QModelIndex& start, int role, const QVariant& value, int hits, Qt::MatchFlags flags) const; +virtual QMimeData* mimeData(const QList& indexes) const; +virtual QStringList mimeTypes() const; +virtual void queryChange(); +virtual bool removeColumns(int column, int count, const QModelIndex& parent = QModelIndex()); +virtual bool removeRows(int row, int count, const QModelIndex& parent); +virtual void revert(); +virtual int rowCount(const QModelIndex& parent = QModelIndex()) const; +virtual bool setData(const QModelIndex& index, const QVariant& value, int role); +virtual bool setHeaderData(int section, Qt::Orientation orientation, const QVariant& value, int role = Qt::EditRole); +virtual bool setItemData(const QModelIndex& index, const QMap& roles); +virtual void sort(int column, Qt::SortOrder order); +virtual QSize span(const QModelIndex& index) const; +virtual bool submit(); +virtual Qt::DropActions supportedDropActions() const; +virtual void timerEvent(QTimerEvent* arg__1); + + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtPublicPromoter_QSqlQueryModel : public QSqlQueryModel +{ public: +inline bool promoted_canFetchMore(const QModelIndex& parent = QModelIndex()) const { return QSqlQueryModel::canFetchMore(parent); } +inline void promoted_clear() { QSqlQueryModel::clear(); } +inline int promoted_columnCount(const QModelIndex& parent = QModelIndex()) const { return QSqlQueryModel::columnCount(parent); } +inline QVariant promoted_data(const QModelIndex& item, int role = Qt::DisplayRole) const { return QSqlQueryModel::data(item, role); } +inline void promoted_fetchMore(const QModelIndex& parent = QModelIndex()) { QSqlQueryModel::fetchMore(parent); } +inline QVariant promoted_headerData(int section, Qt::Orientation orientation, int role = Qt::DisplayRole) const { return QSqlQueryModel::headerData(section, orientation, role); } +inline bool promoted_insertColumns(int column, int count, const QModelIndex& parent = QModelIndex()) { return QSqlQueryModel::insertColumns(column, count, parent); } +inline void promoted_queryChange() { QSqlQueryModel::queryChange(); } +inline bool promoted_removeColumns(int column, int count, const QModelIndex& parent = QModelIndex()) { return QSqlQueryModel::removeColumns(column, count, parent); } +inline int promoted_rowCount(const QModelIndex& parent = QModelIndex()) const { return QSqlQueryModel::rowCount(parent); } +inline bool promoted_setHeaderData(int section, Qt::Orientation orientation, const QVariant& value, int role = Qt::EditRole) { return QSqlQueryModel::setHeaderData(section, orientation, value, role); } +}; + +class PythonQtWrapper_QSqlQueryModel : public QObject +{ Q_OBJECT +public: +public slots: +QSqlQueryModel* new_QSqlQueryModel(QObject* parent = 0); +void delete_QSqlQueryModel(QSqlQueryModel* obj) { delete obj; } + bool canFetchMore(QSqlQueryModel* theWrappedObject, const QModelIndex& parent = QModelIndex()) const; + void clear(QSqlQueryModel* theWrappedObject); + int columnCount(QSqlQueryModel* theWrappedObject, const QModelIndex& parent = QModelIndex()) const; + QVariant data(QSqlQueryModel* theWrappedObject, const QModelIndex& item, int role = Qt::DisplayRole) const; + void fetchMore(QSqlQueryModel* theWrappedObject, const QModelIndex& parent = QModelIndex()); + QVariant headerData(QSqlQueryModel* theWrappedObject, int section, Qt::Orientation orientation, int role = Qt::DisplayRole) const; + bool insertColumns(QSqlQueryModel* theWrappedObject, int column, int count, const QModelIndex& parent = QModelIndex()); + QSqlError lastError(QSqlQueryModel* theWrappedObject) const; + QSqlQuery query(QSqlQueryModel* theWrappedObject) const; + void queryChange(QSqlQueryModel* theWrappedObject); + QSqlRecord record(QSqlQueryModel* theWrappedObject) const; + QSqlRecord record(QSqlQueryModel* theWrappedObject, int row) const; + bool removeColumns(QSqlQueryModel* theWrappedObject, int column, int count, const QModelIndex& parent = QModelIndex()); + int rowCount(QSqlQueryModel* theWrappedObject, const QModelIndex& parent = QModelIndex()) const; + bool setHeaderData(QSqlQueryModel* theWrappedObject, int section, Qt::Orientation orientation, const QVariant& value, int role = Qt::EditRole); + void setQuery(QSqlQueryModel* theWrappedObject, const QSqlQuery& query); + void setQuery(QSqlQueryModel* theWrappedObject, const QString& query, const QSqlDatabase& db = QSqlDatabase()); +}; + + + + + +class PythonQtWrapper_QSqlRecord : public QObject +{ Q_OBJECT +public: +public slots: +QSqlRecord* new_QSqlRecord(); +QSqlRecord* new_QSqlRecord(const QSqlRecord& other); +void delete_QSqlRecord(QSqlRecord* obj) { delete obj; } + void append(QSqlRecord* theWrappedObject, const QSqlField& field); + void clear(QSqlRecord* theWrappedObject); + void clearValues(QSqlRecord* theWrappedObject); + bool contains(QSqlRecord* theWrappedObject, const QString& name) const; + int count(QSqlRecord* theWrappedObject) const; + QSqlField field(QSqlRecord* theWrappedObject, const QString& name) const; + QSqlField field(QSqlRecord* theWrappedObject, int i) const; + QString fieldName(QSqlRecord* theWrappedObject, int i) const; + int indexOf(QSqlRecord* theWrappedObject, const QString& name) const; + void insert(QSqlRecord* theWrappedObject, int pos, const QSqlField& field); + bool isEmpty(QSqlRecord* theWrappedObject) const; + bool isGenerated(QSqlRecord* theWrappedObject, const QString& name) const; + bool isGenerated(QSqlRecord* theWrappedObject, int i) const; + bool isNull(QSqlRecord* theWrappedObject, const QString& name) const; + bool isNull(QSqlRecord* theWrappedObject, int i) const; + bool __ne__(QSqlRecord* theWrappedObject, const QSqlRecord& other) const; + bool __eq__(QSqlRecord* theWrappedObject, const QSqlRecord& other) const; + void remove(QSqlRecord* theWrappedObject, int pos); + void replace(QSqlRecord* theWrappedObject, int pos, const QSqlField& field); + void setGenerated(QSqlRecord* theWrappedObject, const QString& name, bool generated); + void setGenerated(QSqlRecord* theWrappedObject, int i, bool generated); + void setNull(QSqlRecord* theWrappedObject, const QString& name); + void setNull(QSqlRecord* theWrappedObject, int i); + void setValue(QSqlRecord* theWrappedObject, const QString& name, const QVariant& val); + void setValue(QSqlRecord* theWrappedObject, int i, const QVariant& val); + QVariant value(QSqlRecord* theWrappedObject, const QString& name) const; + QVariant value(QSqlRecord* theWrappedObject, int i) const; + QString py_toString(QSqlRecord*); +}; + + + + + +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; + QString tableName(QSqlRelation* theWrappedObject) const; +}; + + + + + +class PythonQtShell_QSqlRelationalTableModel : public QSqlRelationalTableModel +{ +public: + PythonQtShell_QSqlRelationalTableModel(QObject* parent = 0, QSqlDatabase db = QSqlDatabase()):QSqlRelationalTableModel(parent, db),_wrapper(NULL) {}; + +virtual QModelIndex buddy(const QModelIndex& index) const; +virtual bool canFetchMore(const QModelIndex& parent) const; +virtual void childEvent(QChildEvent* arg__1); +virtual void clear(); +virtual int columnCount(const QModelIndex& parent) const; +virtual void customEvent(QEvent* arg__1); +virtual QVariant data(const QModelIndex& item, int role = Qt::DisplayRole) const; +virtual bool deleteRowFromTable(int row); +virtual bool dropMimeData(const QMimeData* data, Qt::DropAction action, int row, int column, const QModelIndex& parent); +virtual bool event(QEvent* arg__1); +virtual bool eventFilter(QObject* arg__1, QEvent* arg__2); +virtual void fetchMore(const QModelIndex& parent); +virtual Qt::ItemFlags flags(const QModelIndex& index) const; +virtual QVariant headerData(int section, Qt::Orientation orientation, int role) const; +virtual QModelIndex index(int row, int column, const QModelIndex& parent) const; +virtual bool insertColumns(int column, int count, const QModelIndex& parent); +virtual bool insertRowIntoTable(const QSqlRecord& values); +virtual bool insertRows(int row, int count, const QModelIndex& parent); +virtual QMap itemData(const QModelIndex& index) const; +virtual QList match(const QModelIndex& start, int role, const QVariant& value, int hits, Qt::MatchFlags flags) const; +virtual QMimeData* mimeData(const QList& indexes) const; +virtual QStringList mimeTypes() const; +virtual QString orderByClause() const; +virtual void queryChange(); +virtual QSqlTableModel* relationModel(int column) const; +virtual bool removeColumns(int column, int count, const QModelIndex& parent = QModelIndex()); +virtual bool removeRows(int row, int count, const QModelIndex& parent); +virtual void revert(); +virtual void revertRow(int row); +virtual int rowCount(const QModelIndex& parent) const; +virtual bool select(); +virtual QString selectStatement() const; +virtual bool setData(const QModelIndex& item, const QVariant& value, int role = Qt::EditRole); +virtual void setEditStrategy(QSqlTableModel::EditStrategy strategy); +virtual void setFilter(const QString& filter); +virtual bool setHeaderData(int section, Qt::Orientation orientation, const QVariant& value, int role); +virtual bool setItemData(const QModelIndex& index, const QMap& roles); +virtual void setRelation(int column, const QSqlRelation& relation); +virtual void setSort(int column, Qt::SortOrder order); +virtual void setTable(const QString& tableName); +virtual void sort(int column, Qt::SortOrder order); +virtual QSize span(const QModelIndex& index) const; +virtual bool submit(); +virtual Qt::DropActions supportedDropActions() const; +virtual void timerEvent(QTimerEvent* arg__1); +virtual bool updateRowInTable(int row, const QSqlRecord& values); + + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtPublicPromoter_QSqlRelationalTableModel : public QSqlRelationalTableModel +{ public: +inline void promoted_clear() { QSqlRelationalTableModel::clear(); } +inline QVariant promoted_data(const QModelIndex& item, int role = Qt::DisplayRole) const { return QSqlRelationalTableModel::data(item, role); } +inline bool promoted_insertRowIntoTable(const QSqlRecord& values) { return QSqlRelationalTableModel::insertRowIntoTable(values); } +inline QString promoted_orderByClause() const { return QSqlRelationalTableModel::orderByClause(); } +inline QSqlTableModel* promoted_relationModel(int column) const { return QSqlRelationalTableModel::relationModel(column); } +inline bool promoted_removeColumns(int column, int count, const QModelIndex& parent = QModelIndex()) { return QSqlRelationalTableModel::removeColumns(column, count, parent); } +inline void promoted_revertRow(int row) { QSqlRelationalTableModel::revertRow(row); } +inline bool promoted_select() { return QSqlRelationalTableModel::select(); } +inline QString promoted_selectStatement() const { return QSqlRelationalTableModel::selectStatement(); } +inline bool promoted_setData(const QModelIndex& item, const QVariant& value, int role = Qt::EditRole) { return QSqlRelationalTableModel::setData(item, value, role); } +inline void promoted_setRelation(int column, const QSqlRelation& relation) { QSqlRelationalTableModel::setRelation(column, relation); } +inline void promoted_setTable(const QString& tableName) { QSqlRelationalTableModel::setTable(tableName); } +inline bool promoted_updateRowInTable(int row, const QSqlRecord& values) { return QSqlRelationalTableModel::updateRowInTable(row, values); } +}; + +class PythonQtWrapper_QSqlRelationalTableModel : public QObject +{ Q_OBJECT +public: +public slots: +QSqlRelationalTableModel* new_QSqlRelationalTableModel(QObject* parent = 0, QSqlDatabase db = QSqlDatabase()); +void delete_QSqlRelationalTableModel(QSqlRelationalTableModel* obj) { delete obj; } + void clear(QSqlRelationalTableModel* theWrappedObject); + QVariant data(QSqlRelationalTableModel* theWrappedObject, const QModelIndex& item, int role = Qt::DisplayRole) const; + bool insertRowIntoTable(QSqlRelationalTableModel* theWrappedObject, const QSqlRecord& values); + QString orderByClause(QSqlRelationalTableModel* theWrappedObject) const; + QSqlRelation relation(QSqlRelationalTableModel* theWrappedObject, int column) const; + QSqlTableModel* relationModel(QSqlRelationalTableModel* theWrappedObject, int column) const; + bool removeColumns(QSqlRelationalTableModel* theWrappedObject, int column, int count, const QModelIndex& parent = QModelIndex()); + bool select(QSqlRelationalTableModel* theWrappedObject); + QString selectStatement(QSqlRelationalTableModel* theWrappedObject) const; + bool setData(QSqlRelationalTableModel* theWrappedObject, const QModelIndex& item, const QVariant& value, int role = Qt::EditRole); + void setRelation(QSqlRelationalTableModel* theWrappedObject, int column, const QSqlRelation& relation); + void setTable(QSqlRelationalTableModel* theWrappedObject, const QString& tableName); + bool updateRowInTable(QSqlRelationalTableModel* theWrappedObject, int row, const QSqlRecord& values); +}; + + + + + +class PythonQtShell_QSqlResult : public QSqlResult +{ +public: + PythonQtShell_QSqlResult(const QSqlDriver* db):QSqlResult(db),_wrapper(NULL) {}; + +virtual void bindValue(const QString& placeholder, const QVariant& val, QSql::ParamType type); +virtual void bindValue(int pos, const QVariant& val, QSql::ParamType type); +virtual QVariant data(int i); +virtual bool exec(); +virtual bool fetch(int i); +virtual bool fetchFirst(); +virtual bool fetchLast(); +virtual bool fetchNext(); +virtual bool fetchPrevious(); +virtual QVariant handle() const; +virtual bool isNull(int i); +virtual QVariant lastInsertId() const; +virtual int numRowsAffected(); +virtual bool prepare(const QString& query); +virtual QSqlRecord record() const; +virtual bool reset(const QString& sqlquery); +virtual bool savePrepare(const QString& sqlquery); +virtual void setActive(bool a); +virtual void setAt(int at); +virtual void setForwardOnly(bool forward); +virtual void setLastError(const QSqlError& e); +virtual void setQuery(const QString& query); +virtual void setSelect(bool s); +virtual int size(); +virtual void virtual_hook(int id, void* data); + + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtPublicPromoter_QSqlResult : public QSqlResult +{ public: +inline void promoted_bindValue(const QString& placeholder, const QVariant& val, QSql::ParamType type) { QSqlResult::bindValue(placeholder, val, type); } +inline void promoted_bindValue(int pos, const QVariant& val, QSql::ParamType type) { QSqlResult::bindValue(pos, val, type); } +inline bool promoted_exec() { return QSqlResult::exec(); } +inline bool promoted_fetchNext() { return QSqlResult::fetchNext(); } +inline bool promoted_fetchPrevious() { return QSqlResult::fetchPrevious(); } +inline QVariant promoted_handle() const { return QSqlResult::handle(); } +inline QVariant promoted_lastInsertId() const { return QSqlResult::lastInsertId(); } +inline bool promoted_prepare(const QString& query) { return QSqlResult::prepare(query); } +inline QSqlRecord promoted_record() const { return QSqlResult::record(); } +inline bool promoted_savePrepare(const QString& sqlquery) { return QSqlResult::savePrepare(sqlquery); } +inline void promoted_setActive(bool a) { QSqlResult::setActive(a); } +inline void promoted_setAt(int at) { QSqlResult::setAt(at); } +inline void promoted_setForwardOnly(bool forward) { QSqlResult::setForwardOnly(forward); } +inline void promoted_setLastError(const QSqlError& e) { QSqlResult::setLastError(e); } +inline void promoted_setQuery(const QString& query) { QSqlResult::setQuery(query); } +inline void promoted_setSelect(bool s) { QSqlResult::setSelect(s); } +}; + +class PythonQtWrapper_QSqlResult : public QObject +{ Q_OBJECT +public: +public slots: +void delete_QSqlResult(QSqlResult* obj) { delete obj; } + void bindValue(QSqlResult* theWrappedObject, const QString& placeholder, const QVariant& val, QSql::ParamType type); + void bindValue(QSqlResult* theWrappedObject, int pos, const QVariant& val, QSql::ParamType type); + bool exec(QSqlResult* theWrappedObject); + bool fetchNext(QSqlResult* theWrappedObject); + bool fetchPrevious(QSqlResult* theWrappedObject); + QVariant handle(QSqlResult* theWrappedObject) const; + QVariant lastInsertId(QSqlResult* theWrappedObject) const; + bool prepare(QSqlResult* theWrappedObject, const QString& query); + QSqlRecord record(QSqlResult* theWrappedObject) const; + bool savePrepare(QSqlResult* theWrappedObject, const QString& sqlquery); + void setActive(QSqlResult* theWrappedObject, bool a); + void setAt(QSqlResult* theWrappedObject, int at); + void setForwardOnly(QSqlResult* theWrappedObject, bool forward); + void setLastError(QSqlResult* theWrappedObject, const QSqlError& e); + void setQuery(QSqlResult* theWrappedObject, const QString& query); + void setSelect(QSqlResult* theWrappedObject, bool s); +}; + + + + + +class PythonQtShell_QSqlTableModel : public QSqlTableModel +{ +public: + PythonQtShell_QSqlTableModel(QObject* parent = 0, QSqlDatabase db = QSqlDatabase()):QSqlTableModel(parent, db),_wrapper(NULL) {}; + +virtual QModelIndex buddy(const QModelIndex& index) const; +virtual bool canFetchMore(const QModelIndex& parent) const; +virtual void childEvent(QChildEvent* arg__1); +virtual void clear(); +virtual int columnCount(const QModelIndex& parent) const; +virtual void customEvent(QEvent* arg__1); +virtual QVariant data(const QModelIndex& idx, int role = Qt::DisplayRole) const; +virtual bool deleteRowFromTable(int row); +virtual bool dropMimeData(const QMimeData* data, Qt::DropAction action, int row, int column, const QModelIndex& parent); +virtual bool event(QEvent* arg__1); +virtual bool eventFilter(QObject* arg__1, QEvent* arg__2); +virtual void fetchMore(const QModelIndex& parent); +virtual Qt::ItemFlags flags(const QModelIndex& index) const; +virtual QVariant headerData(int section, Qt::Orientation orientation, int role = Qt::DisplayRole) const; +virtual QModelIndex index(int row, int column, const QModelIndex& parent) const; +virtual bool insertColumns(int column, int count, const QModelIndex& parent); +virtual bool insertRowIntoTable(const QSqlRecord& values); +virtual bool insertRows(int row, int count, const QModelIndex& parent = QModelIndex()); +virtual QMap itemData(const QModelIndex& index) const; +virtual QList match(const QModelIndex& start, int role, const QVariant& value, int hits, Qt::MatchFlags flags) const; +virtual QMimeData* mimeData(const QList& indexes) const; +virtual QStringList mimeTypes() const; +virtual QString orderByClause() const; +virtual void queryChange(); +virtual bool removeColumns(int column, int count, const QModelIndex& parent = QModelIndex()); +virtual bool removeRows(int row, int count, const QModelIndex& parent = QModelIndex()); +virtual void revert(); +virtual void revertRow(int row); +virtual int rowCount(const QModelIndex& parent = QModelIndex()) const; +virtual bool select(); +virtual QString selectStatement() const; +virtual bool setData(const QModelIndex& index, const QVariant& value, int role = Qt::EditRole); +virtual void setEditStrategy(QSqlTableModel::EditStrategy strategy); +virtual void setFilter(const QString& filter); +virtual bool setHeaderData(int section, Qt::Orientation orientation, const QVariant& value, int role); +virtual bool setItemData(const QModelIndex& index, const QMap& roles); +virtual void setSort(int column, Qt::SortOrder order); +virtual void setTable(const QString& tableName); +virtual void sort(int column, Qt::SortOrder order); +virtual QSize span(const QModelIndex& index) const; +virtual bool submit(); +virtual Qt::DropActions supportedDropActions() const; +virtual void timerEvent(QTimerEvent* arg__1); +virtual bool updateRowInTable(int row, const QSqlRecord& values); + + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtPublicPromoter_QSqlTableModel : public QSqlTableModel +{ public: +inline void promoted_clear() { QSqlTableModel::clear(); } +inline QVariant promoted_data(const QModelIndex& idx, int role = Qt::DisplayRole) const { return QSqlTableModel::data(idx, role); } +inline bool promoted_deleteRowFromTable(int row) { return QSqlTableModel::deleteRowFromTable(row); } +inline Qt::ItemFlags promoted_flags(const QModelIndex& index) const { return QSqlTableModel::flags(index); } +inline QVariant promoted_headerData(int section, Qt::Orientation orientation, int role = Qt::DisplayRole) const { return QSqlTableModel::headerData(section, orientation, role); } +inline bool promoted_insertRowIntoTable(const QSqlRecord& values) { return QSqlTableModel::insertRowIntoTable(values); } +inline bool promoted_insertRows(int row, int count, const QModelIndex& parent = QModelIndex()) { return QSqlTableModel::insertRows(row, count, parent); } +inline QString promoted_orderByClause() const { return QSqlTableModel::orderByClause(); } +inline bool promoted_removeColumns(int column, int count, const QModelIndex& parent = QModelIndex()) { return QSqlTableModel::removeColumns(column, count, parent); } +inline bool promoted_removeRows(int row, int count, const QModelIndex& parent = QModelIndex()) { return QSqlTableModel::removeRows(row, count, parent); } +inline void promoted_revert() { QSqlTableModel::revert(); } +inline void promoted_revertRow(int row) { QSqlTableModel::revertRow(row); } +inline int promoted_rowCount(const QModelIndex& parent = QModelIndex()) const { return QSqlTableModel::rowCount(parent); } +inline bool promoted_select() { return QSqlTableModel::select(); } +inline QString promoted_selectStatement() const { return QSqlTableModel::selectStatement(); } +inline bool promoted_setData(const QModelIndex& index, const QVariant& value, int role = Qt::EditRole) { return QSqlTableModel::setData(index, value, role); } +inline void promoted_setEditStrategy(QSqlTableModel::EditStrategy strategy) { QSqlTableModel::setEditStrategy(strategy); } +inline void promoted_setFilter(const QString& filter) { QSqlTableModel::setFilter(filter); } +inline void promoted_setSort(int column, Qt::SortOrder order) { QSqlTableModel::setSort(column, order); } +inline void promoted_setTable(const QString& tableName) { QSqlTableModel::setTable(tableName); } +inline void promoted_sort(int column, Qt::SortOrder order) { QSqlTableModel::sort(column, order); } +inline bool promoted_submit() { return QSqlTableModel::submit(); } +inline bool promoted_updateRowInTable(int row, const QSqlRecord& values) { return QSqlTableModel::updateRowInTable(row, values); } +}; + +class PythonQtWrapper_QSqlTableModel : public QObject +{ Q_OBJECT +public: +Q_ENUMS(EditStrategy ) +enum EditStrategy{ + OnFieldChange = QSqlTableModel::OnFieldChange, OnRowChange = QSqlTableModel::OnRowChange, OnManualSubmit = QSqlTableModel::OnManualSubmit}; +public slots: +QSqlTableModel* new_QSqlTableModel(QObject* parent = 0, QSqlDatabase db = QSqlDatabase()); +void delete_QSqlTableModel(QSqlTableModel* obj) { delete obj; } + void clear(QSqlTableModel* theWrappedObject); + QVariant data(QSqlTableModel* theWrappedObject, const QModelIndex& idx, int role = Qt::DisplayRole) const; + QSqlDatabase database(QSqlTableModel* theWrappedObject) const; + bool deleteRowFromTable(QSqlTableModel* theWrappedObject, int row); + QSqlTableModel::EditStrategy editStrategy(QSqlTableModel* theWrappedObject) const; + int fieldIndex(QSqlTableModel* theWrappedObject, const QString& fieldName) const; + QString filter(QSqlTableModel* theWrappedObject) const; + Qt::ItemFlags flags(QSqlTableModel* theWrappedObject, const QModelIndex& index) const; + QVariant headerData(QSqlTableModel* theWrappedObject, int section, Qt::Orientation orientation, int role = Qt::DisplayRole) const; + bool insertRecord(QSqlTableModel* theWrappedObject, int row, const QSqlRecord& record); + bool insertRowIntoTable(QSqlTableModel* theWrappedObject, const QSqlRecord& values); + bool insertRows(QSqlTableModel* theWrappedObject, int row, int count, const QModelIndex& parent = QModelIndex()); + bool isDirty(QSqlTableModel* theWrappedObject, const QModelIndex& index) const; + QString orderByClause(QSqlTableModel* theWrappedObject) const; + QSqlIndex primaryKey(QSqlTableModel* theWrappedObject) const; + bool removeColumns(QSqlTableModel* theWrappedObject, int column, int count, const QModelIndex& parent = QModelIndex()); + bool removeRows(QSqlTableModel* theWrappedObject, int row, int count, const QModelIndex& parent = QModelIndex()); + void revertRow(QSqlTableModel* theWrappedObject, int row); + int rowCount(QSqlTableModel* theWrappedObject, const QModelIndex& parent = QModelIndex()) const; + bool select(QSqlTableModel* theWrappedObject); + QString selectStatement(QSqlTableModel* theWrappedObject) const; + bool setData(QSqlTableModel* theWrappedObject, const QModelIndex& index, const QVariant& value, int role = Qt::EditRole); + void setEditStrategy(QSqlTableModel* theWrappedObject, QSqlTableModel::EditStrategy strategy); + void setFilter(QSqlTableModel* theWrappedObject, const QString& filter); + bool setRecord(QSqlTableModel* theWrappedObject, int row, const QSqlRecord& record); + void setSort(QSqlTableModel* theWrappedObject, int column, Qt::SortOrder order); + void setTable(QSqlTableModel* theWrappedObject, const QString& tableName); + void sort(QSqlTableModel* theWrappedObject, int column, Qt::SortOrder order); + QString tableName(QSqlTableModel* theWrappedObject) const; + bool updateRowInTable(QSqlTableModel* theWrappedObject, int row, const QSqlRecord& values); +}; + + diff --git a/generated_cpp_47/com_trolltech_qt_sql/com_trolltech_qt_sql_init.cpp b/generated_cpp_47/com_trolltech_qt_sql/com_trolltech_qt_sql_init.cpp new file mode 100644 index 00000000..38386beb --- /dev/null +++ b/generated_cpp_47/com_trolltech_qt_sql/com_trolltech_qt_sql_init.cpp @@ -0,0 +1,21 @@ +#include +#include "com_trolltech_qt_sql0.h" + + +void PythonQt_init_QtSql(PyObject* module) { +PythonQt::priv()->registerCPPClass("QSql", "", "QtSql", PythonQtCreateObject, NULL, module, 0); +PythonQt::priv()->registerCPPClass("QSqlDatabase", "", "QtSql", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); +PythonQt::priv()->registerClass(&QSqlDriver::staticMetaObject, "QtSql", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); +PythonQt::priv()->registerCPPClass("QSqlDriverCreatorBase", "", "QtSql", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); +PythonQt::priv()->registerCPPClass("QSqlError", "", "QtSql", PythonQtCreateObject, NULL, 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_RichCompare); +PythonQt::priv()->registerCPPClass("QSqlQuery", "", "QtSql", PythonQtCreateObject, NULL, module, 0); +PythonQt::priv()->registerClass(&QSqlQueryModel::staticMetaObject, "QtSql", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); +PythonQt::priv()->registerCPPClass("QSqlRecord", "", "QtSql", PythonQtCreateObject, NULL, module, PythonQt::Type_RichCompare); +PythonQt::priv()->registerCPPClass("QSqlRelation", "", "QtSql", PythonQtCreateObject, NULL, module, 0); +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_47/com_trolltech_qt_svg/com_trolltech_qt_svg.pri b/generated_cpp_47/com_trolltech_qt_svg/com_trolltech_qt_svg.pri new file mode 100644 index 00000000..eeea5942 --- /dev/null +++ b/generated_cpp_47/com_trolltech_qt_svg/com_trolltech_qt_svg.pri @@ -0,0 +1,6 @@ +HEADERS += \ + $$PWD/com_trolltech_qt_svg0.h \ + +SOURCES += \ + $$PWD/com_trolltech_qt_svg0.cpp \ + $$PWD/com_trolltech_qt_svg_init.cpp diff --git a/generated_cpp_47/com_trolltech_qt_svg/com_trolltech_qt_svg0.cpp b/generated_cpp_47/com_trolltech_qt_svg/com_trolltech_qt_svg0.cpp new file mode 100644 index 00000000..c9a9ff36 --- /dev/null +++ b/generated_cpp_47/com_trolltech_qt_svg/com_trolltech_qt_svg0.cpp @@ -0,0 +1,1210 @@ +#include "com_trolltech_qt_svg0.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 + +int PythonQtShell_QSvgGenerator::devType() const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "devType"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + int returnValue; + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("devType", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QSvgGenerator::devType(); +} +int PythonQtShell_QSvgGenerator::metric(QPaintDevice::PaintDeviceMetric metric) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "metric"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + int returnValue; + void* args[2] = {NULL, (void*)&metric}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("metric", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QSvgGenerator::metric(metric); +} +QPaintEngine* PythonQtShell_QSvgGenerator::paintEngine() const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "paintEngine"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QPaintEngine*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QPaintEngine* returnValue; + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); + } else { + returnValue = *((QPaintEngine**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QSvgGenerator::paintEngine(); +} +QSvgGenerator* PythonQtWrapper_QSvgGenerator::new_QSvgGenerator() +{ +return new PythonQtShell_QSvgGenerator(); } + +QString PythonQtWrapper_QSvgGenerator::description(QSvgGenerator* theWrappedObject) const +{ + return ( theWrappedObject->description()); +} + +QString PythonQtWrapper_QSvgGenerator::fileName(QSvgGenerator* theWrappedObject) const +{ + return ( theWrappedObject->fileName()); +} + +int PythonQtWrapper_QSvgGenerator::metric(QSvgGenerator* theWrappedObject, QPaintDevice::PaintDeviceMetric metric) const +{ + return ( ((PythonQtPublicPromoter_QSvgGenerator*)theWrappedObject)->promoted_metric(metric)); +} + +QIODevice* PythonQtWrapper_QSvgGenerator::outputDevice(QSvgGenerator* theWrappedObject) const +{ + return ( theWrappedObject->outputDevice()); +} + +QPaintEngine* PythonQtWrapper_QSvgGenerator::paintEngine(QSvgGenerator* theWrappedObject) const +{ + return ( ((PythonQtPublicPromoter_QSvgGenerator*)theWrappedObject)->promoted_paintEngine()); +} + +int PythonQtWrapper_QSvgGenerator::resolution(QSvgGenerator* theWrappedObject) const +{ + return ( theWrappedObject->resolution()); +} + +void PythonQtWrapper_QSvgGenerator::setDescription(QSvgGenerator* theWrappedObject, const QString& description) +{ + ( theWrappedObject->setDescription(description)); +} + +void PythonQtWrapper_QSvgGenerator::setFileName(QSvgGenerator* theWrappedObject, const QString& fileName) +{ + ( theWrappedObject->setFileName(fileName)); +} + +void PythonQtWrapper_QSvgGenerator::setOutputDevice(QSvgGenerator* theWrappedObject, QIODevice* outputDevice) +{ + ( theWrappedObject->setOutputDevice(outputDevice)); +} + +void PythonQtWrapper_QSvgGenerator::setResolution(QSvgGenerator* theWrappedObject, int dpi) +{ + ( theWrappedObject->setResolution(dpi)); +} + +void PythonQtWrapper_QSvgGenerator::setSize(QSvgGenerator* theWrappedObject, const QSize& size) +{ + ( theWrappedObject->setSize(size)); +} + +void PythonQtWrapper_QSvgGenerator::setTitle(QSvgGenerator* theWrappedObject, const QString& title) +{ + ( theWrappedObject->setTitle(title)); +} + +void PythonQtWrapper_QSvgGenerator::setViewBox(QSvgGenerator* theWrappedObject, const QRect& viewBox) +{ + ( theWrappedObject->setViewBox(viewBox)); +} + +void PythonQtWrapper_QSvgGenerator::setViewBox(QSvgGenerator* theWrappedObject, const QRectF& viewBox) +{ + ( theWrappedObject->setViewBox(viewBox)); +} + +QSize PythonQtWrapper_QSvgGenerator::size(QSvgGenerator* theWrappedObject) const +{ + return ( theWrappedObject->size()); +} + +QString PythonQtWrapper_QSvgGenerator::title(QSvgGenerator* theWrappedObject) const +{ + return ( theWrappedObject->title()); +} + +QRect PythonQtWrapper_QSvgGenerator::viewBox(QSvgGenerator* theWrappedObject) const +{ + return ( theWrappedObject->viewBox()); +} + +QRectF PythonQtWrapper_QSvgGenerator::viewBoxF(QSvgGenerator* theWrappedObject) const +{ + return ( theWrappedObject->viewBoxF()); +} + + + +void PythonQtShell_QSvgRenderer::childEvent(QChildEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "childEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QChildEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QSvgRenderer::childEvent(arg__1); +} +void PythonQtShell_QSvgRenderer::customEvent(QEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "customEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QSvgRenderer::customEvent(arg__1); +} +bool PythonQtShell_QSvgRenderer::event(QEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "event"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue; + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QSvgRenderer::event(arg__1); +} +bool PythonQtShell_QSvgRenderer::eventFilter(QObject* arg__1, QEvent* arg__2) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "eventFilter"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue; + void* args[3] = {NULL, (void*)&arg__1, (void*)&arg__2}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QSvgRenderer::eventFilter(arg__1, arg__2); +} +void PythonQtShell_QSvgRenderer::timerEvent(QTimerEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "timerEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QTimerEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QSvgRenderer::timerEvent(arg__1); +} +QSvgRenderer* PythonQtWrapper_QSvgRenderer::new_QSvgRenderer(QObject* parent) +{ +return new PythonQtShell_QSvgRenderer(parent); } + +QSvgRenderer* PythonQtWrapper_QSvgRenderer::new_QSvgRenderer(QXmlStreamReader* contents, QObject* parent) +{ +return new PythonQtShell_QSvgRenderer(contents, parent); } + +QSvgRenderer* PythonQtWrapper_QSvgRenderer::new_QSvgRenderer(const QByteArray& contents, QObject* parent) +{ +return new PythonQtShell_QSvgRenderer(contents, parent); } + +QSvgRenderer* PythonQtWrapper_QSvgRenderer::new_QSvgRenderer(const QString& filename, QObject* parent) +{ +return new PythonQtShell_QSvgRenderer(filename, parent); } + +bool PythonQtWrapper_QSvgRenderer::animated(QSvgRenderer* theWrappedObject) const +{ + return ( theWrappedObject->animated()); +} + +int PythonQtWrapper_QSvgRenderer::animationDuration(QSvgRenderer* theWrappedObject) const +{ + return ( theWrappedObject->animationDuration()); +} + +QRectF PythonQtWrapper_QSvgRenderer::boundsOnElement(QSvgRenderer* theWrappedObject, const QString& id) const +{ + return ( theWrappedObject->boundsOnElement(id)); +} + +int PythonQtWrapper_QSvgRenderer::currentFrame(QSvgRenderer* theWrappedObject) const +{ + return ( theWrappedObject->currentFrame()); +} + +QSize PythonQtWrapper_QSvgRenderer::defaultSize(QSvgRenderer* theWrappedObject) const +{ + return ( theWrappedObject->defaultSize()); +} + +bool PythonQtWrapper_QSvgRenderer::elementExists(QSvgRenderer* theWrappedObject, const QString& id) const +{ + return ( theWrappedObject->elementExists(id)); +} + +int PythonQtWrapper_QSvgRenderer::framesPerSecond(QSvgRenderer* theWrappedObject) const +{ + return ( theWrappedObject->framesPerSecond()); +} + +bool PythonQtWrapper_QSvgRenderer::isValid(QSvgRenderer* theWrappedObject) const +{ + return ( theWrappedObject->isValid()); +} + +QMatrix PythonQtWrapper_QSvgRenderer::matrixForElement(QSvgRenderer* theWrappedObject, const QString& id) const +{ + return ( theWrappedObject->matrixForElement(id)); +} + +void PythonQtWrapper_QSvgRenderer::setCurrentFrame(QSvgRenderer* theWrappedObject, int arg__1) +{ + ( theWrappedObject->setCurrentFrame(arg__1)); +} + +void PythonQtWrapper_QSvgRenderer::setFramesPerSecond(QSvgRenderer* theWrappedObject, int num) +{ + ( theWrappedObject->setFramesPerSecond(num)); +} + +void PythonQtWrapper_QSvgRenderer::setViewBox(QSvgRenderer* theWrappedObject, const QRect& viewbox) +{ + ( theWrappedObject->setViewBox(viewbox)); +} + +void PythonQtWrapper_QSvgRenderer::setViewBox(QSvgRenderer* theWrappedObject, const QRectF& viewbox) +{ + ( theWrappedObject->setViewBox(viewbox)); +} + +QRect PythonQtWrapper_QSvgRenderer::viewBox(QSvgRenderer* theWrappedObject) const +{ + return ( theWrappedObject->viewBox()); +} + +QRectF PythonQtWrapper_QSvgRenderer::viewBoxF(QSvgRenderer* theWrappedObject) const +{ + return ( theWrappedObject->viewBoxF()); +} + + + +void PythonQtShell_QSvgWidget::actionEvent(QActionEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "actionEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QActionEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QSvgWidget::actionEvent(arg__1); +} +void PythonQtShell_QSvgWidget::changeEvent(QEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "changeEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QSvgWidget::changeEvent(arg__1); +} +void PythonQtShell_QSvgWidget::childEvent(QChildEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "childEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QChildEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QSvgWidget::childEvent(arg__1); +} +void PythonQtShell_QSvgWidget::closeEvent(QCloseEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "closeEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QCloseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QSvgWidget::closeEvent(arg__1); +} +void PythonQtShell_QSvgWidget::contextMenuEvent(QContextMenuEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "contextMenuEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QContextMenuEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QSvgWidget::contextMenuEvent(arg__1); +} +void PythonQtShell_QSvgWidget::customEvent(QEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "customEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QSvgWidget::customEvent(arg__1); +} +int PythonQtShell_QSvgWidget::devType() const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "devType"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + int returnValue; + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("devType", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QSvgWidget::devType(); +} +void PythonQtShell_QSvgWidget::dragEnterEvent(QDragEnterEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dragEnterEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QDragEnterEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QSvgWidget::dragEnterEvent(arg__1); +} +void PythonQtShell_QSvgWidget::dragLeaveEvent(QDragLeaveEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dragLeaveEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QDragLeaveEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QSvgWidget::dragLeaveEvent(arg__1); +} +void PythonQtShell_QSvgWidget::dragMoveEvent(QDragMoveEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dragMoveEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QDragMoveEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QSvgWidget::dragMoveEvent(arg__1); +} +void PythonQtShell_QSvgWidget::dropEvent(QDropEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dropEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QDropEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QSvgWidget::dropEvent(arg__1); +} +void PythonQtShell_QSvgWidget::enterEvent(QEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "enterEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QSvgWidget::enterEvent(arg__1); +} +bool PythonQtShell_QSvgWidget::event(QEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "event"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue; + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QSvgWidget::event(arg__1); +} +bool PythonQtShell_QSvgWidget::eventFilter(QObject* arg__1, QEvent* arg__2) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "eventFilter"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue; + void* args[3] = {NULL, (void*)&arg__1, (void*)&arg__2}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QSvgWidget::eventFilter(arg__1, arg__2); +} +void PythonQtShell_QSvgWidget::focusInEvent(QFocusEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "focusInEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QFocusEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QSvgWidget::focusInEvent(arg__1); +} +bool PythonQtShell_QSvgWidget::focusNextPrevChild(bool next) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "focusNextPrevChild"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue; + void* args[2] = {NULL, (void*)&next}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("focusNextPrevChild", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QSvgWidget::focusNextPrevChild(next); +} +void PythonQtShell_QSvgWidget::focusOutEvent(QFocusEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "focusOutEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QFocusEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QSvgWidget::focusOutEvent(arg__1); +} +int PythonQtShell_QSvgWidget::heightForWidth(int arg__1) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "heightForWidth"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"int" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + int returnValue; + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("heightForWidth", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QSvgWidget::heightForWidth(arg__1); +} +void PythonQtShell_QSvgWidget::hideEvent(QHideEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "hideEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QHideEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QSvgWidget::hideEvent(arg__1); +} +void PythonQtShell_QSvgWidget::inputMethodEvent(QInputMethodEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "inputMethodEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QInputMethodEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QSvgWidget::inputMethodEvent(arg__1); +} +QVariant PythonQtShell_QSvgWidget::inputMethodQuery(Qt::InputMethodQuery arg__1) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "inputMethodQuery"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QVariant" , "Qt::InputMethodQuery"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + QVariant returnValue; + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result); + } else { + returnValue = *((QVariant*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QSvgWidget::inputMethodQuery(arg__1); +} +void PythonQtShell_QSvgWidget::keyPressEvent(QKeyEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "keyPressEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QKeyEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QSvgWidget::keyPressEvent(arg__1); +} +void PythonQtShell_QSvgWidget::keyReleaseEvent(QKeyEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "keyReleaseEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QKeyEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QSvgWidget::keyReleaseEvent(arg__1); +} +void PythonQtShell_QSvgWidget::languageChange() +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "languageChange"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={""}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QSvgWidget::languageChange(); +} +void PythonQtShell_QSvgWidget::leaveEvent(QEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "leaveEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QSvgWidget::leaveEvent(arg__1); +} +int PythonQtShell_QSvgWidget::metric(QPaintDevice::PaintDeviceMetric arg__1) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "metric"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + int returnValue; + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("metric", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QSvgWidget::metric(arg__1); +} +QSize PythonQtShell_QSvgWidget::minimumSizeHint() const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "getMinimumSizeHint"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QSize"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QSize returnValue; + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("getMinimumSizeHint", methodInfo, result); + } else { + returnValue = *((QSize*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QSvgWidget::minimumSizeHint(); +} +void PythonQtShell_QSvgWidget::mouseDoubleClickEvent(QMouseEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mouseDoubleClickEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QSvgWidget::mouseDoubleClickEvent(arg__1); +} +void PythonQtShell_QSvgWidget::mouseMoveEvent(QMouseEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mouseMoveEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QSvgWidget::mouseMoveEvent(arg__1); +} +void PythonQtShell_QSvgWidget::mousePressEvent(QMouseEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mousePressEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QSvgWidget::mousePressEvent(arg__1); +} +void PythonQtShell_QSvgWidget::mouseReleaseEvent(QMouseEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mouseReleaseEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QSvgWidget::mouseReleaseEvent(arg__1); +} +void PythonQtShell_QSvgWidget::moveEvent(QMoveEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "moveEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QMoveEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QSvgWidget::moveEvent(arg__1); +} +QPaintEngine* PythonQtShell_QSvgWidget::paintEngine() const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "paintEngine"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QPaintEngine*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QPaintEngine* returnValue; + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); + } else { + returnValue = *((QPaintEngine**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QSvgWidget::paintEngine(); +} +void PythonQtShell_QSvgWidget::paintEvent(QPaintEvent* event) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "paintEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QPaintEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&event}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QSvgWidget::paintEvent(event); +} +void PythonQtShell_QSvgWidget::resizeEvent(QResizeEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "resizeEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QResizeEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QSvgWidget::resizeEvent(arg__1); +} +void PythonQtShell_QSvgWidget::showEvent(QShowEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "showEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QShowEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QSvgWidget::showEvent(arg__1); +} +void PythonQtShell_QSvgWidget::tabletEvent(QTabletEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "tabletEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QTabletEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QSvgWidget::tabletEvent(arg__1); +} +void PythonQtShell_QSvgWidget::timerEvent(QTimerEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "timerEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QTimerEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QSvgWidget::timerEvent(arg__1); +} +void PythonQtShell_QSvgWidget::wheelEvent(QWheelEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "wheelEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QWheelEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QSvgWidget::wheelEvent(arg__1); +} +QSvgWidget* PythonQtWrapper_QSvgWidget::new_QSvgWidget(QWidget* parent) +{ +return new PythonQtShell_QSvgWidget(parent); } + +QSvgWidget* PythonQtWrapper_QSvgWidget::new_QSvgWidget(const QString& file, QWidget* parent) +{ +return new PythonQtShell_QSvgWidget(file, parent); } + +void PythonQtWrapper_QSvgWidget::paintEvent(QSvgWidget* theWrappedObject, QPaintEvent* event) +{ + ( ((PythonQtPublicPromoter_QSvgWidget*)theWrappedObject)->promoted_paintEvent(event)); +} + +QSvgRenderer* PythonQtWrapper_QSvgWidget::renderer(QSvgWidget* theWrappedObject) const +{ + return ( theWrappedObject->renderer()); +} + +QSize PythonQtWrapper_QSvgWidget::sizeHint(QSvgWidget* theWrappedObject) const +{ + return ( theWrappedObject->sizeHint()); +} + + diff --git a/generated_cpp_47/com_trolltech_qt_svg/com_trolltech_qt_svg0.h b/generated_cpp_47/com_trolltech_qt_svg/com_trolltech_qt_svg0.h new file mode 100644 index 00000000..891eee4f --- /dev/null +++ b/generated_cpp_47/com_trolltech_qt_svg/com_trolltech_qt_svg0.h @@ -0,0 +1,207 @@ +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#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_QSvgGenerator : public QSvgGenerator +{ +public: + PythonQtShell_QSvgGenerator():QSvgGenerator(),_wrapper(NULL) {}; + +virtual int devType() const; +virtual int metric(QPaintDevice::PaintDeviceMetric metric) const; +virtual QPaintEngine* paintEngine() const; + + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtPublicPromoter_QSvgGenerator : public QSvgGenerator +{ public: +inline int promoted_metric(QPaintDevice::PaintDeviceMetric metric) const { return QSvgGenerator::metric(metric); } +inline QPaintEngine* promoted_paintEngine() const { return QSvgGenerator::paintEngine(); } +}; + +class PythonQtWrapper_QSvgGenerator : public QObject +{ Q_OBJECT +public: +public slots: +QSvgGenerator* new_QSvgGenerator(); +void delete_QSvgGenerator(QSvgGenerator* obj) { delete obj; } + QString description(QSvgGenerator* theWrappedObject) const; + QString fileName(QSvgGenerator* theWrappedObject) const; + int metric(QSvgGenerator* theWrappedObject, QPaintDevice::PaintDeviceMetric metric) const; + QIODevice* outputDevice(QSvgGenerator* theWrappedObject) const; + QPaintEngine* paintEngine(QSvgGenerator* theWrappedObject) const; + int resolution(QSvgGenerator* theWrappedObject) const; + void setDescription(QSvgGenerator* theWrappedObject, const QString& description); + void setFileName(QSvgGenerator* theWrappedObject, const QString& fileName); + void setOutputDevice(QSvgGenerator* theWrappedObject, QIODevice* outputDevice); + void setResolution(QSvgGenerator* theWrappedObject, int dpi); + void setSize(QSvgGenerator* theWrappedObject, const QSize& size); + void setTitle(QSvgGenerator* theWrappedObject, const QString& title); + void setViewBox(QSvgGenerator* theWrappedObject, const QRect& viewBox); + void setViewBox(QSvgGenerator* theWrappedObject, const QRectF& viewBox); + QSize size(QSvgGenerator* theWrappedObject) const; + QString title(QSvgGenerator* theWrappedObject) const; + QRect viewBox(QSvgGenerator* theWrappedObject) const; + QRectF viewBoxF(QSvgGenerator* theWrappedObject) const; +}; + + + + + +class PythonQtShell_QSvgRenderer : public QSvgRenderer +{ +public: + PythonQtShell_QSvgRenderer(QObject* parent = 0):QSvgRenderer(parent),_wrapper(NULL) {}; + PythonQtShell_QSvgRenderer(QXmlStreamReader* contents, QObject* parent = 0):QSvgRenderer(contents, parent),_wrapper(NULL) {}; + PythonQtShell_QSvgRenderer(const QByteArray& contents, QObject* parent = 0):QSvgRenderer(contents, parent),_wrapper(NULL) {}; + PythonQtShell_QSvgRenderer(const QString& filename, QObject* parent = 0):QSvgRenderer(filename, parent),_wrapper(NULL) {}; + +virtual void childEvent(QChildEvent* arg__1); +virtual void customEvent(QEvent* arg__1); +virtual bool event(QEvent* arg__1); +virtual bool eventFilter(QObject* arg__1, QEvent* arg__2); +virtual void timerEvent(QTimerEvent* arg__1); + + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtWrapper_QSvgRenderer : public QObject +{ Q_OBJECT +public: +public slots: +QSvgRenderer* new_QSvgRenderer(QObject* parent = 0); +QSvgRenderer* new_QSvgRenderer(QXmlStreamReader* contents, QObject* parent = 0); +QSvgRenderer* new_QSvgRenderer(const QByteArray& contents, QObject* parent = 0); +QSvgRenderer* new_QSvgRenderer(const QString& filename, QObject* parent = 0); +void delete_QSvgRenderer(QSvgRenderer* obj) { delete obj; } + bool animated(QSvgRenderer* theWrappedObject) const; + int animationDuration(QSvgRenderer* theWrappedObject) const; + QRectF boundsOnElement(QSvgRenderer* theWrappedObject, const QString& id) const; + int currentFrame(QSvgRenderer* theWrappedObject) const; + QSize defaultSize(QSvgRenderer* theWrappedObject) const; + bool elementExists(QSvgRenderer* theWrappedObject, const QString& id) const; + int framesPerSecond(QSvgRenderer* theWrappedObject) const; + bool isValid(QSvgRenderer* theWrappedObject) const; + QMatrix matrixForElement(QSvgRenderer* theWrappedObject, const QString& id) const; + void setCurrentFrame(QSvgRenderer* theWrappedObject, int arg__1); + void setFramesPerSecond(QSvgRenderer* theWrappedObject, int num); + void setViewBox(QSvgRenderer* theWrappedObject, const QRect& viewbox); + void setViewBox(QSvgRenderer* theWrappedObject, const QRectF& viewbox); + QRect viewBox(QSvgRenderer* theWrappedObject) const; + QRectF viewBoxF(QSvgRenderer* theWrappedObject) const; +}; + + + + + +class PythonQtShell_QSvgWidget : public QSvgWidget +{ +public: + PythonQtShell_QSvgWidget(QWidget* parent = 0):QSvgWidget(parent),_wrapper(NULL) {}; + PythonQtShell_QSvgWidget(const QString& file, QWidget* parent = 0):QSvgWidget(file, parent),_wrapper(NULL) {}; + +virtual void actionEvent(QActionEvent* arg__1); +virtual void changeEvent(QEvent* arg__1); +virtual void childEvent(QChildEvent* arg__1); +virtual void closeEvent(QCloseEvent* arg__1); +virtual void contextMenuEvent(QContextMenuEvent* arg__1); +virtual void customEvent(QEvent* arg__1); +virtual int devType() const; +virtual void dragEnterEvent(QDragEnterEvent* arg__1); +virtual void dragLeaveEvent(QDragLeaveEvent* arg__1); +virtual void dragMoveEvent(QDragMoveEvent* arg__1); +virtual void dropEvent(QDropEvent* arg__1); +virtual void enterEvent(QEvent* arg__1); +virtual bool event(QEvent* arg__1); +virtual bool eventFilter(QObject* arg__1, QEvent* arg__2); +virtual void focusInEvent(QFocusEvent* arg__1); +virtual bool focusNextPrevChild(bool next); +virtual void focusOutEvent(QFocusEvent* arg__1); +virtual int heightForWidth(int arg__1) const; +virtual void hideEvent(QHideEvent* arg__1); +virtual void inputMethodEvent(QInputMethodEvent* arg__1); +virtual QVariant inputMethodQuery(Qt::InputMethodQuery arg__1) const; +virtual void keyPressEvent(QKeyEvent* arg__1); +virtual void keyReleaseEvent(QKeyEvent* arg__1); +virtual void languageChange(); +virtual void leaveEvent(QEvent* arg__1); +virtual int metric(QPaintDevice::PaintDeviceMetric arg__1) const; +virtual QSize minimumSizeHint() const; +virtual void mouseDoubleClickEvent(QMouseEvent* arg__1); +virtual void mouseMoveEvent(QMouseEvent* arg__1); +virtual void mousePressEvent(QMouseEvent* arg__1); +virtual void mouseReleaseEvent(QMouseEvent* arg__1); +virtual void moveEvent(QMoveEvent* arg__1); +virtual QPaintEngine* paintEngine() const; +virtual void paintEvent(QPaintEvent* event); +virtual void resizeEvent(QResizeEvent* arg__1); +virtual void showEvent(QShowEvent* arg__1); +virtual void tabletEvent(QTabletEvent* arg__1); +virtual void timerEvent(QTimerEvent* arg__1); +virtual void wheelEvent(QWheelEvent* arg__1); + + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtPublicPromoter_QSvgWidget : public QSvgWidget +{ public: +inline void promoted_paintEvent(QPaintEvent* event) { QSvgWidget::paintEvent(event); } +}; + +class PythonQtWrapper_QSvgWidget : public QObject +{ Q_OBJECT +public: +public slots: +QSvgWidget* new_QSvgWidget(QWidget* parent = 0); +QSvgWidget* new_QSvgWidget(const QString& file, QWidget* parent = 0); +void delete_QSvgWidget(QSvgWidget* obj) { delete obj; } + void paintEvent(QSvgWidget* theWrappedObject, QPaintEvent* event); + QSvgRenderer* renderer(QSvgWidget* theWrappedObject) const; + QSize sizeHint(QSvgWidget* theWrappedObject) const; +}; + + diff --git a/generated_cpp_47/com_trolltech_qt_svg/com_trolltech_qt_svg_init.cpp b/generated_cpp_47/com_trolltech_qt_svg/com_trolltech_qt_svg_init.cpp new file mode 100644 index 00000000..a82e8cc3 --- /dev/null +++ b/generated_cpp_47/com_trolltech_qt_svg/com_trolltech_qt_svg_init.cpp @@ -0,0 +1,11 @@ +#include +#include "com_trolltech_qt_svg0.h" + + +void PythonQt_init_QtSvg(PyObject* module) { +PythonQt::priv()->registerCPPClass("QSvgGenerator", "", "QtSvg", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); +PythonQt::self()->addParentClass("QSvgGenerator", "QPaintDevice",PythonQtUpcastingOffset()); +PythonQt::priv()->registerClass(&QSvgRenderer::staticMetaObject, "QtSvg", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); +PythonQt::priv()->registerClass(&QSvgWidget::staticMetaObject, "QtSvg", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); + +} diff --git a/generated_cpp_47/com_trolltech_qt_uitools/com_trolltech_qt_uitools.pri b/generated_cpp_47/com_trolltech_qt_uitools/com_trolltech_qt_uitools.pri new file mode 100644 index 00000000..680ce525 --- /dev/null +++ b/generated_cpp_47/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_47/com_trolltech_qt_uitools/com_trolltech_qt_uitools0.cpp b/generated_cpp_47/com_trolltech_qt_uitools/com_trolltech_qt_uitools0.cpp new file mode 100644 index 00000000..67f0f7b8 --- /dev/null +++ b/generated_cpp_47/com_trolltech_qt_uitools/com_trolltech_qt_uitools0.cpp @@ -0,0 +1,332 @@ +#include "com_trolltech_qt_uitools0.h" +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include + +void PythonQtShell_QUiLoader::childEvent(QChildEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "childEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QChildEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QUiLoader::childEvent(arg__1); +} +QAction* PythonQtShell_QUiLoader::createAction(QObject* parent, const QString& name) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "createAction"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QAction*" , "QObject*" , "const QString&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + QAction* returnValue; + void* args[3] = {NULL, (void*)&parent, (void*)&name}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("createAction", methodInfo, result); + } else { + returnValue = *((QAction**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QUiLoader::createAction(parent, name); +} +QActionGroup* PythonQtShell_QUiLoader::createActionGroup(QObject* parent, const QString& name) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "createActionGroup"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QActionGroup*" , "QObject*" , "const QString&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + QActionGroup* returnValue; + void* args[3] = {NULL, (void*)&parent, (void*)&name}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("createActionGroup", methodInfo, result); + } else { + returnValue = *((QActionGroup**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QUiLoader::createActionGroup(parent, name); +} +QLayout* PythonQtShell_QUiLoader::createLayout(const QString& className, QObject* parent, const QString& name) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "createLayout"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QLayout*" , "const QString&" , "QObject*" , "const QString&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + QLayout* returnValue; + void* args[4] = {NULL, (void*)&className, (void*)&parent, (void*)&name}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("createLayout", methodInfo, result); + } else { + returnValue = *((QLayout**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QUiLoader::createLayout(className, parent, name); +} +QWidget* PythonQtShell_QUiLoader::createWidget(const QString& className, QWidget* parent, const QString& name) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "createWidget"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QWidget*" , "const QString&" , "QWidget*" , "const QString&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + QWidget* returnValue; + void* args[4] = {NULL, (void*)&className, (void*)&parent, (void*)&name}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("createWidget", methodInfo, result); + } else { + returnValue = *((QWidget**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QUiLoader::createWidget(className, parent, name); +} +void PythonQtShell_QUiLoader::customEvent(QEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "customEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QUiLoader::customEvent(arg__1); +} +bool PythonQtShell_QUiLoader::event(QEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "event"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue; + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QUiLoader::event(arg__1); +} +bool PythonQtShell_QUiLoader::eventFilter(QObject* arg__1, QEvent* arg__2) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "eventFilter"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue; + void* args[3] = {NULL, (void*)&arg__1, (void*)&arg__2}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QUiLoader::eventFilter(arg__1, arg__2); +} +void PythonQtShell_QUiLoader::timerEvent(QTimerEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "timerEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QTimerEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QUiLoader::timerEvent(arg__1); +} +QUiLoader* PythonQtWrapper_QUiLoader::new_QUiLoader(QObject* parent) +{ +return new PythonQtShell_QUiLoader(parent); } + +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 ( ((PythonQtPublicPromoter_QUiLoader*)theWrappedObject)->promoted_createAction(parent, name)); +} + +QActionGroup* PythonQtWrapper_QUiLoader::createActionGroup(QUiLoader* theWrappedObject, QObject* parent, const QString& name) +{ + return ( ((PythonQtPublicPromoter_QUiLoader*)theWrappedObject)->promoted_createActionGroup(parent, name)); +} + +QLayout* PythonQtWrapper_QUiLoader::createLayout(QUiLoader* theWrappedObject, const QString& className, QObject* parent, const QString& name) +{ + return ( ((PythonQtPublicPromoter_QUiLoader*)theWrappedObject)->promoted_createLayout(className, parent, name)); +} + +QWidget* PythonQtWrapper_QUiLoader::createWidget(QUiLoader* theWrappedObject, const QString& className, QWidget* parent, const QString& name) +{ + return ( ((PythonQtPublicPromoter_QUiLoader*)theWrappedObject)->promoted_createWidget(className, parent, name)); +} + +bool PythonQtWrapper_QUiLoader::isLanguageChangeEnabled(QUiLoader* theWrappedObject) const +{ + return ( theWrappedObject->isLanguageChangeEnabled()); +} + +bool PythonQtWrapper_QUiLoader::isScriptingEnabled(QUiLoader* theWrappedObject) const +{ + return ( theWrappedObject->isScriptingEnabled()); +} + +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::setScriptingEnabled(QUiLoader* theWrappedObject, bool enabled) +{ + ( theWrappedObject->setScriptingEnabled(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_47/com_trolltech_qt_uitools/com_trolltech_qt_uitools0.h b/generated_cpp_47/com_trolltech_qt_uitools/com_trolltech_qt_uitools0.h new file mode 100644 index 00000000..7afee715 --- /dev/null +++ b/generated_cpp_47/com_trolltech_qt_uitools/com_trolltech_qt_uitools0.h @@ -0,0 +1,71 @@ +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include + + + +class PythonQtShell_QUiLoader : public QUiLoader +{ +public: + PythonQtShell_QUiLoader(QObject* parent = 0):QUiLoader(parent),_wrapper(NULL) {}; + +virtual void childEvent(QChildEvent* arg__1); +virtual QAction* createAction(QObject* parent = 0, const QString& name = QString()); +virtual QActionGroup* createActionGroup(QObject* parent = 0, const QString& name = QString()); +virtual QLayout* createLayout(const QString& className, QObject* parent = 0, const QString& name = QString()); +virtual QWidget* createWidget(const QString& className, QWidget* parent = 0, const QString& name = QString()); +virtual void customEvent(QEvent* arg__1); +virtual bool event(QEvent* arg__1); +virtual bool eventFilter(QObject* arg__1, QEvent* arg__2); +virtual void timerEvent(QTimerEvent* arg__1); + + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtPublicPromoter_QUiLoader : public QUiLoader +{ public: +inline QAction* promoted_createAction(QObject* parent = 0, const QString& name = QString()) { return QUiLoader::createAction(parent, name); } +inline QActionGroup* promoted_createActionGroup(QObject* parent = 0, const QString& name = QString()) { return QUiLoader::createActionGroup(parent, name); } +inline QLayout* promoted_createLayout(const QString& className, QObject* parent = 0, const QString& name = QString()) { return QUiLoader::createLayout(className, parent, name); } +inline QWidget* promoted_createWidget(const QString& className, QWidget* parent = 0, 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 = 0); +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 = 0, const QString& name = QString()); + QActionGroup* createActionGroup(QUiLoader* theWrappedObject, QObject* parent = 0, const QString& name = QString()); + QLayout* createLayout(QUiLoader* theWrappedObject, const QString& className, QObject* parent = 0, const QString& name = QString()); + QWidget* createWidget(QUiLoader* theWrappedObject, const QString& className, QWidget* parent = 0, const QString& name = QString()); + bool isLanguageChangeEnabled(QUiLoader* theWrappedObject) const; + bool isScriptingEnabled(QUiLoader* theWrappedObject) const; + bool isTranslationEnabled(QUiLoader* theWrappedObject) const; + QWidget* load(QUiLoader* theWrappedObject, QIODevice* device, QWidget* parentWidget = 0); + QStringList pluginPaths(QUiLoader* theWrappedObject) const; + void setLanguageChangeEnabled(QUiLoader* theWrappedObject, bool enabled); + void setScriptingEnabled(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_47/com_trolltech_qt_uitools/com_trolltech_qt_uitools_init.cpp b/generated_cpp_47/com_trolltech_qt_uitools/com_trolltech_qt_uitools_init.cpp new file mode 100644 index 00000000..5f465d4f --- /dev/null +++ b/generated_cpp_47/com_trolltech_qt_uitools/com_trolltech_qt_uitools_init.cpp @@ -0,0 +1,8 @@ +#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_47/com_trolltech_qt_webkit/com_trolltech_qt_webkit.pri b/generated_cpp_47/com_trolltech_qt_webkit/com_trolltech_qt_webkit.pri new file mode 100644 index 00000000..4ae397cc --- /dev/null +++ b/generated_cpp_47/com_trolltech_qt_webkit/com_trolltech_qt_webkit.pri @@ -0,0 +1,6 @@ +HEADERS += \ + $$PWD/com_trolltech_qt_webkit0.h \ + +SOURCES += \ + $$PWD/com_trolltech_qt_webkit0.cpp \ + $$PWD/com_trolltech_qt_webkit_init.cpp diff --git a/generated_cpp_47/com_trolltech_qt_webkit/com_trolltech_qt_webkit0.cpp b/generated_cpp_47/com_trolltech_qt_webkit/com_trolltech_qt_webkit0.cpp new file mode 100644 index 00000000..d2b1a031 --- /dev/null +++ b/generated_cpp_47/com_trolltech_qt_webkit/com_trolltech_qt_webkit0.cpp @@ -0,0 +1,5113 @@ +#include "com_trolltech_qt_webkit0.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 + +void PythonQtShell_QGraphicsWebView::changeEvent(QEvent* event) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "changeEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&event}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QGraphicsWebView::changeEvent(event); +} +void PythonQtShell_QGraphicsWebView::childEvent(QChildEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "childEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QChildEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QGraphicsWebView::childEvent(arg__1); +} +void PythonQtShell_QGraphicsWebView::closeEvent(QCloseEvent* event) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "closeEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QCloseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&event}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QGraphicsWebView::closeEvent(event); +} +void PythonQtShell_QGraphicsWebView::contextMenuEvent(QGraphicsSceneContextMenuEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "contextMenuEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QGraphicsSceneContextMenuEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QGraphicsWebView::contextMenuEvent(arg__1); +} +void PythonQtShell_QGraphicsWebView::customEvent(QEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "customEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QGraphicsWebView::customEvent(arg__1); +} +void PythonQtShell_QGraphicsWebView::dragEnterEvent(QGraphicsSceneDragDropEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dragEnterEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QGraphicsSceneDragDropEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QGraphicsWebView::dragEnterEvent(arg__1); +} +void PythonQtShell_QGraphicsWebView::dragLeaveEvent(QGraphicsSceneDragDropEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dragLeaveEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QGraphicsSceneDragDropEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QGraphicsWebView::dragLeaveEvent(arg__1); +} +void PythonQtShell_QGraphicsWebView::dragMoveEvent(QGraphicsSceneDragDropEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dragMoveEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QGraphicsSceneDragDropEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QGraphicsWebView::dragMoveEvent(arg__1); +} +void PythonQtShell_QGraphicsWebView::dropEvent(QGraphicsSceneDragDropEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dropEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QGraphicsSceneDragDropEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QGraphicsWebView::dropEvent(arg__1); +} +bool PythonQtShell_QGraphicsWebView::event(QEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "event"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue; + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QGraphicsWebView::event(arg__1); +} +bool PythonQtShell_QGraphicsWebView::eventFilter(QObject* arg__1, QEvent* arg__2) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "eventFilter"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue; + void* args[3] = {NULL, (void*)&arg__1, (void*)&arg__2}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QGraphicsWebView::eventFilter(arg__1, arg__2); +} +void PythonQtShell_QGraphicsWebView::focusInEvent(QFocusEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "focusInEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QFocusEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QGraphicsWebView::focusInEvent(arg__1); +} +bool PythonQtShell_QGraphicsWebView::focusNextPrevChild(bool next) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "focusNextPrevChild"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue; + void* args[2] = {NULL, (void*)&next}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("focusNextPrevChild", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QGraphicsWebView::focusNextPrevChild(next); +} +void PythonQtShell_QGraphicsWebView::focusOutEvent(QFocusEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "focusOutEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QFocusEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QGraphicsWebView::focusOutEvent(arg__1); +} +void PythonQtShell_QGraphicsWebView::getContentsMargins(qreal* left, qreal* top, qreal* right, qreal* bottom) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "getContentsMargins"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "qreal*" , "qreal*" , "qreal*" , "qreal*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(5, argumentList); + void* args[5] = {NULL, (void*)&left, (void*)&top, (void*)&right, (void*)&bottom}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QGraphicsWebView::getContentsMargins(left, top, right, bottom); +} +void PythonQtShell_QGraphicsWebView::grabKeyboardEvent(QEvent* event) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "grabKeyboardEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&event}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QGraphicsWebView::grabKeyboardEvent(event); +} +void PythonQtShell_QGraphicsWebView::grabMouseEvent(QEvent* event) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "grabMouseEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&event}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QGraphicsWebView::grabMouseEvent(event); +} +void PythonQtShell_QGraphicsWebView::hideEvent(QHideEvent* event) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "hideEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QHideEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&event}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QGraphicsWebView::hideEvent(event); +} +void PythonQtShell_QGraphicsWebView::hoverLeaveEvent(QGraphicsSceneHoverEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "hoverLeaveEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QGraphicsSceneHoverEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QGraphicsWebView::hoverLeaveEvent(arg__1); +} +void PythonQtShell_QGraphicsWebView::hoverMoveEvent(QGraphicsSceneHoverEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "hoverMoveEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QGraphicsSceneHoverEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QGraphicsWebView::hoverMoveEvent(arg__1); +} +void PythonQtShell_QGraphicsWebView::initStyleOption(QStyleOption* option) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "initStyleOption"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QStyleOption*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&option}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QGraphicsWebView::initStyleOption(option); +} +void PythonQtShell_QGraphicsWebView::inputMethodEvent(QInputMethodEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "inputMethodEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QInputMethodEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QGraphicsWebView::inputMethodEvent(arg__1); +} +QVariant PythonQtShell_QGraphicsWebView::inputMethodQuery(Qt::InputMethodQuery query) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "inputMethodQuery"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QVariant" , "Qt::InputMethodQuery"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + QVariant returnValue; + void* args[2] = {NULL, (void*)&query}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result); + } else { + returnValue = *((QVariant*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QGraphicsWebView::inputMethodQuery(query); +} +QVariant PythonQtShell_QGraphicsWebView::itemChange(QGraphicsItem::GraphicsItemChange change, const QVariant& value) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "itemChange"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QVariant" , "QGraphicsItem::GraphicsItemChange" , "const QVariant&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + QVariant returnValue; + void* args[3] = {NULL, (void*)&change, (void*)&value}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("itemChange", methodInfo, result); + } else { + returnValue = *((QVariant*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QGraphicsWebView::itemChange(change, value); +} +void PythonQtShell_QGraphicsWebView::keyPressEvent(QKeyEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "keyPressEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QKeyEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QGraphicsWebView::keyPressEvent(arg__1); +} +void PythonQtShell_QGraphicsWebView::keyReleaseEvent(QKeyEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "keyReleaseEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QKeyEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QGraphicsWebView::keyReleaseEvent(arg__1); +} +void PythonQtShell_QGraphicsWebView::mouseDoubleClickEvent(QGraphicsSceneMouseEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mouseDoubleClickEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QGraphicsSceneMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QGraphicsWebView::mouseDoubleClickEvent(arg__1); +} +void PythonQtShell_QGraphicsWebView::mouseMoveEvent(QGraphicsSceneMouseEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mouseMoveEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QGraphicsSceneMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QGraphicsWebView::mouseMoveEvent(arg__1); +} +void PythonQtShell_QGraphicsWebView::mousePressEvent(QGraphicsSceneMouseEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mousePressEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QGraphicsSceneMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QGraphicsWebView::mousePressEvent(arg__1); +} +void PythonQtShell_QGraphicsWebView::mouseReleaseEvent(QGraphicsSceneMouseEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mouseReleaseEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QGraphicsSceneMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QGraphicsWebView::mouseReleaseEvent(arg__1); +} +void PythonQtShell_QGraphicsWebView::moveEvent(QGraphicsSceneMoveEvent* event) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "moveEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QGraphicsSceneMoveEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&event}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QGraphicsWebView::moveEvent(event); +} +void PythonQtShell_QGraphicsWebView::paint(QPainter* arg__1, const QStyleOptionGraphicsItem* options, QWidget* widget) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "paint"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QPainter*" , "const QStyleOptionGraphicsItem*" , "QWidget*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + void* args[4] = {NULL, (void*)&arg__1, (void*)&options, (void*)&widget}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QGraphicsWebView::paint(arg__1, options, widget); +} +void PythonQtShell_QGraphicsWebView::paintWindowFrame(QPainter* painter, const QStyleOptionGraphicsItem* option, QWidget* widget) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "paintWindowFrame"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QPainter*" , "const QStyleOptionGraphicsItem*" , "QWidget*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + void* args[4] = {NULL, (void*)&painter, (void*)&option, (void*)&widget}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QGraphicsWebView::paintWindowFrame(painter, option, widget); +} +void PythonQtShell_QGraphicsWebView::polishEvent() +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "polishEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={""}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QGraphicsWebView::polishEvent(); +} +QVariant PythonQtShell_QGraphicsWebView::propertyChange(const QString& propertyName, const QVariant& value) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "propertyChange"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QVariant" , "const QString&" , "const QVariant&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + QVariant returnValue; + void* args[3] = {NULL, (void*)&propertyName, (void*)&value}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("propertyChange", methodInfo, result); + } else { + returnValue = *((QVariant*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QGraphicsWebView::propertyChange(propertyName, value); +} +void PythonQtShell_QGraphicsWebView::resizeEvent(QGraphicsSceneResizeEvent* event) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "resizeEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QGraphicsSceneResizeEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&event}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QGraphicsWebView::resizeEvent(event); +} +bool PythonQtShell_QGraphicsWebView::sceneEvent(QEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "sceneEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue; + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("sceneEvent", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QGraphicsWebView::sceneEvent(arg__1); +} +void PythonQtShell_QGraphicsWebView::setGeometry(const QRectF& rect) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "setGeometry"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "const QRectF&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&rect}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QGraphicsWebView::setGeometry(rect); +} +void PythonQtShell_QGraphicsWebView::showEvent(QShowEvent* event) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "showEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QShowEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&event}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QGraphicsWebView::showEvent(event); +} +QSizeF PythonQtShell_QGraphicsWebView::sizeHint(Qt::SizeHint which, const QSizeF& constraint) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "sizeHint"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QSizeF" , "Qt::SizeHint" , "const QSizeF&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + QSizeF returnValue; + void* args[3] = {NULL, (void*)&which, (void*)&constraint}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("sizeHint", methodInfo, result); + } else { + returnValue = *((QSizeF*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QGraphicsWebView::sizeHint(which, constraint); +} +void PythonQtShell_QGraphicsWebView::timerEvent(QTimerEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "timerEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QTimerEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QGraphicsWebView::timerEvent(arg__1); +} +void PythonQtShell_QGraphicsWebView::ungrabKeyboardEvent(QEvent* event) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "ungrabKeyboardEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&event}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QGraphicsWebView::ungrabKeyboardEvent(event); +} +void PythonQtShell_QGraphicsWebView::ungrabMouseEvent(QEvent* event) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "ungrabMouseEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&event}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QGraphicsWebView::ungrabMouseEvent(event); +} +void PythonQtShell_QGraphicsWebView::updateGeometry() +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "updateGeometry"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={""}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QGraphicsWebView::updateGeometry(); +} +void PythonQtShell_QGraphicsWebView::wheelEvent(QGraphicsSceneWheelEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "wheelEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QGraphicsSceneWheelEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QGraphicsWebView::wheelEvent(arg__1); +} +bool PythonQtShell_QGraphicsWebView::windowFrameEvent(QEvent* e) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "windowFrameEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue; + void* args[2] = {NULL, (void*)&e}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("windowFrameEvent", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QGraphicsWebView::windowFrameEvent(e); +} +Qt::WindowFrameSection PythonQtShell_QGraphicsWebView::windowFrameSectionAt(const QPointF& pos) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "windowFrameSectionAt"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"Qt::WindowFrameSection" , "const QPointF&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + Qt::WindowFrameSection returnValue; + void* args[2] = {NULL, (void*)&pos}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("windowFrameSectionAt", methodInfo, result); + } else { + returnValue = *((Qt::WindowFrameSection*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QGraphicsWebView::windowFrameSectionAt(pos); +} +QGraphicsWebView* PythonQtWrapper_QGraphicsWebView::new_QGraphicsWebView(QGraphicsItem* parent) +{ +return new PythonQtShell_QGraphicsWebView(parent); } + +void PythonQtWrapper_QGraphicsWebView::contextMenuEvent(QGraphicsWebView* theWrappedObject, QGraphicsSceneContextMenuEvent* arg__1) +{ + ( ((PythonQtPublicPromoter_QGraphicsWebView*)theWrappedObject)->promoted_contextMenuEvent(arg__1)); +} + +void PythonQtWrapper_QGraphicsWebView::dragEnterEvent(QGraphicsWebView* theWrappedObject, QGraphicsSceneDragDropEvent* arg__1) +{ + ( ((PythonQtPublicPromoter_QGraphicsWebView*)theWrappedObject)->promoted_dragEnterEvent(arg__1)); +} + +void PythonQtWrapper_QGraphicsWebView::dragLeaveEvent(QGraphicsWebView* theWrappedObject, QGraphicsSceneDragDropEvent* arg__1) +{ + ( ((PythonQtPublicPromoter_QGraphicsWebView*)theWrappedObject)->promoted_dragLeaveEvent(arg__1)); +} + +void PythonQtWrapper_QGraphicsWebView::dragMoveEvent(QGraphicsWebView* theWrappedObject, QGraphicsSceneDragDropEvent* arg__1) +{ + ( ((PythonQtPublicPromoter_QGraphicsWebView*)theWrappedObject)->promoted_dragMoveEvent(arg__1)); +} + +void PythonQtWrapper_QGraphicsWebView::dropEvent(QGraphicsWebView* theWrappedObject, QGraphicsSceneDragDropEvent* arg__1) +{ + ( ((PythonQtPublicPromoter_QGraphicsWebView*)theWrappedObject)->promoted_dropEvent(arg__1)); +} + +bool PythonQtWrapper_QGraphicsWebView::event(QGraphicsWebView* theWrappedObject, QEvent* arg__1) +{ + return ( ((PythonQtPublicPromoter_QGraphicsWebView*)theWrappedObject)->promoted_event(arg__1)); +} + +bool PythonQtWrapper_QGraphicsWebView::findText(QGraphicsWebView* theWrappedObject, const QString& subString, QWebPage::FindFlags options) +{ + return ( theWrappedObject->findText(subString, options)); +} + +void PythonQtWrapper_QGraphicsWebView::focusInEvent(QGraphicsWebView* theWrappedObject, QFocusEvent* arg__1) +{ + ( ((PythonQtPublicPromoter_QGraphicsWebView*)theWrappedObject)->promoted_focusInEvent(arg__1)); +} + +bool PythonQtWrapper_QGraphicsWebView::focusNextPrevChild(QGraphicsWebView* theWrappedObject, bool next) +{ + return ( ((PythonQtPublicPromoter_QGraphicsWebView*)theWrappedObject)->promoted_focusNextPrevChild(next)); +} + +void PythonQtWrapper_QGraphicsWebView::focusOutEvent(QGraphicsWebView* theWrappedObject, QFocusEvent* arg__1) +{ + ( ((PythonQtPublicPromoter_QGraphicsWebView*)theWrappedObject)->promoted_focusOutEvent(arg__1)); +} + +QWebHistory* PythonQtWrapper_QGraphicsWebView::history(QGraphicsWebView* theWrappedObject) const +{ + return ( theWrappedObject->history()); +} + +void PythonQtWrapper_QGraphicsWebView::hoverLeaveEvent(QGraphicsWebView* theWrappedObject, QGraphicsSceneHoverEvent* arg__1) +{ + ( ((PythonQtPublicPromoter_QGraphicsWebView*)theWrappedObject)->promoted_hoverLeaveEvent(arg__1)); +} + +void PythonQtWrapper_QGraphicsWebView::hoverMoveEvent(QGraphicsWebView* theWrappedObject, QGraphicsSceneHoverEvent* arg__1) +{ + ( ((PythonQtPublicPromoter_QGraphicsWebView*)theWrappedObject)->promoted_hoverMoveEvent(arg__1)); +} + +QIcon PythonQtWrapper_QGraphicsWebView::icon(QGraphicsWebView* theWrappedObject) const +{ + return ( theWrappedObject->icon()); +} + +void PythonQtWrapper_QGraphicsWebView::inputMethodEvent(QGraphicsWebView* theWrappedObject, QInputMethodEvent* arg__1) +{ + ( ((PythonQtPublicPromoter_QGraphicsWebView*)theWrappedObject)->promoted_inputMethodEvent(arg__1)); +} + +QVariant PythonQtWrapper_QGraphicsWebView::inputMethodQuery(QGraphicsWebView* theWrappedObject, Qt::InputMethodQuery query) const +{ + return ( ((PythonQtPublicPromoter_QGraphicsWebView*)theWrappedObject)->promoted_inputMethodQuery(query)); +} + +bool PythonQtWrapper_QGraphicsWebView::isModified(QGraphicsWebView* theWrappedObject) const +{ + return ( theWrappedObject->isModified()); +} + +QVariant PythonQtWrapper_QGraphicsWebView::itemChange(QGraphicsWebView* theWrappedObject, QGraphicsItem::GraphicsItemChange change, const QVariant& value) +{ + return ( ((PythonQtPublicPromoter_QGraphicsWebView*)theWrappedObject)->promoted_itemChange(change, value)); +} + +void PythonQtWrapper_QGraphicsWebView::keyPressEvent(QGraphicsWebView* theWrappedObject, QKeyEvent* arg__1) +{ + ( ((PythonQtPublicPromoter_QGraphicsWebView*)theWrappedObject)->promoted_keyPressEvent(arg__1)); +} + +void PythonQtWrapper_QGraphicsWebView::keyReleaseEvent(QGraphicsWebView* theWrappedObject, QKeyEvent* arg__1) +{ + ( ((PythonQtPublicPromoter_QGraphicsWebView*)theWrappedObject)->promoted_keyReleaseEvent(arg__1)); +} + +void PythonQtWrapper_QGraphicsWebView::load(QGraphicsWebView* theWrappedObject, const QNetworkRequest& request, QNetworkAccessManager::Operation operation, const QByteArray& body) +{ + ( theWrappedObject->load(request, operation, body)); +} + +void PythonQtWrapper_QGraphicsWebView::load(QGraphicsWebView* theWrappedObject, const QUrl& url) +{ + ( theWrappedObject->load(url)); +} + +void PythonQtWrapper_QGraphicsWebView::mouseDoubleClickEvent(QGraphicsWebView* theWrappedObject, QGraphicsSceneMouseEvent* arg__1) +{ + ( ((PythonQtPublicPromoter_QGraphicsWebView*)theWrappedObject)->promoted_mouseDoubleClickEvent(arg__1)); +} + +void PythonQtWrapper_QGraphicsWebView::mouseMoveEvent(QGraphicsWebView* theWrappedObject, QGraphicsSceneMouseEvent* arg__1) +{ + ( ((PythonQtPublicPromoter_QGraphicsWebView*)theWrappedObject)->promoted_mouseMoveEvent(arg__1)); +} + +void PythonQtWrapper_QGraphicsWebView::mousePressEvent(QGraphicsWebView* theWrappedObject, QGraphicsSceneMouseEvent* arg__1) +{ + ( ((PythonQtPublicPromoter_QGraphicsWebView*)theWrappedObject)->promoted_mousePressEvent(arg__1)); +} + +void PythonQtWrapper_QGraphicsWebView::mouseReleaseEvent(QGraphicsWebView* theWrappedObject, QGraphicsSceneMouseEvent* arg__1) +{ + ( ((PythonQtPublicPromoter_QGraphicsWebView*)theWrappedObject)->promoted_mouseReleaseEvent(arg__1)); +} + +QWebPage* PythonQtWrapper_QGraphicsWebView::page(QGraphicsWebView* theWrappedObject) const +{ + return ( theWrappedObject->page()); +} + +QAction* PythonQtWrapper_QGraphicsWebView::pageAction(QGraphicsWebView* theWrappedObject, QWebPage::WebAction action) const +{ + return ( theWrappedObject->pageAction(action)); +} + +void PythonQtWrapper_QGraphicsWebView::paint(QGraphicsWebView* theWrappedObject, QPainter* arg__1, const QStyleOptionGraphicsItem* options, QWidget* widget) +{ + ( ((PythonQtPublicPromoter_QGraphicsWebView*)theWrappedObject)->promoted_paint(arg__1, options, widget)); +} + +bool PythonQtWrapper_QGraphicsWebView::sceneEvent(QGraphicsWebView* theWrappedObject, QEvent* arg__1) +{ + return ( ((PythonQtPublicPromoter_QGraphicsWebView*)theWrappedObject)->promoted_sceneEvent(arg__1)); +} + +void PythonQtWrapper_QGraphicsWebView::setContent(QGraphicsWebView* theWrappedObject, const QByteArray& data, const QString& mimeType, const QUrl& baseUrl) +{ + ( theWrappedObject->setContent(data, mimeType, baseUrl)); +} + +void PythonQtWrapper_QGraphicsWebView::setGeometry(QGraphicsWebView* theWrappedObject, const QRectF& rect) +{ + ( ((PythonQtPublicPromoter_QGraphicsWebView*)theWrappedObject)->promoted_setGeometry(rect)); +} + +void PythonQtWrapper_QGraphicsWebView::setHtml(QGraphicsWebView* theWrappedObject, const QString& html, const QUrl& baseUrl) +{ + ( theWrappedObject->setHtml(html, baseUrl)); +} + +void PythonQtWrapper_QGraphicsWebView::setPage(QGraphicsWebView* theWrappedObject, QWebPage* arg__1) +{ + ( theWrappedObject->setPage(arg__1)); +} + +void PythonQtWrapper_QGraphicsWebView::setUrl(QGraphicsWebView* theWrappedObject, const QUrl& arg__1) +{ + ( theWrappedObject->setUrl(arg__1)); +} + +void PythonQtWrapper_QGraphicsWebView::setZoomFactor(QGraphicsWebView* theWrappedObject, qreal arg__1) +{ + ( theWrappedObject->setZoomFactor(arg__1)); +} + +QWebSettings* PythonQtWrapper_QGraphicsWebView::settings(QGraphicsWebView* theWrappedObject) const +{ + return ( theWrappedObject->settings()); +} + +QSizeF PythonQtWrapper_QGraphicsWebView::sizeHint(QGraphicsWebView* theWrappedObject, Qt::SizeHint which, const QSizeF& constraint) const +{ + return ( ((PythonQtPublicPromoter_QGraphicsWebView*)theWrappedObject)->promoted_sizeHint(which, constraint)); +} + +QString PythonQtWrapper_QGraphicsWebView::title(QGraphicsWebView* theWrappedObject) const +{ + return ( theWrappedObject->title()); +} + +void PythonQtWrapper_QGraphicsWebView::triggerPageAction(QGraphicsWebView* theWrappedObject, QWebPage::WebAction action, bool checked) +{ + ( theWrappedObject->triggerPageAction(action, checked)); +} + +void PythonQtWrapper_QGraphicsWebView::updateGeometry(QGraphicsWebView* theWrappedObject) +{ + ( ((PythonQtPublicPromoter_QGraphicsWebView*)theWrappedObject)->promoted_updateGeometry()); +} + +QUrl PythonQtWrapper_QGraphicsWebView::url(QGraphicsWebView* theWrappedObject) const +{ + return ( theWrappedObject->url()); +} + +void PythonQtWrapper_QGraphicsWebView::wheelEvent(QGraphicsWebView* theWrappedObject, QGraphicsSceneWheelEvent* arg__1) +{ + ( ((PythonQtPublicPromoter_QGraphicsWebView*)theWrappedObject)->promoted_wheelEvent(arg__1)); +} + +qreal PythonQtWrapper_QGraphicsWebView::zoomFactor(QGraphicsWebView* theWrappedObject) const +{ + return ( theWrappedObject->zoomFactor()); +} + + + +QWebDatabase* PythonQtWrapper_QWebDatabase::new_QWebDatabase(const QWebDatabase& other) +{ +return new QWebDatabase(other); } + +QString PythonQtWrapper_QWebDatabase::displayName(QWebDatabase* theWrappedObject) const +{ + return ( theWrappedObject->displayName()); +} + +qint64 PythonQtWrapper_QWebDatabase::expectedSize(QWebDatabase* theWrappedObject) const +{ + return ( theWrappedObject->expectedSize()); +} + +QString PythonQtWrapper_QWebDatabase::fileName(QWebDatabase* theWrappedObject) const +{ + return ( theWrappedObject->fileName()); +} + +QString PythonQtWrapper_QWebDatabase::name(QWebDatabase* theWrappedObject) const +{ + return ( theWrappedObject->name()); +} + +QWebDatabase* PythonQtWrapper_QWebDatabase::operator_assign(QWebDatabase* theWrappedObject, const QWebDatabase& other) +{ + return &( (*theWrappedObject)= other); +} + +QWebSecurityOrigin PythonQtWrapper_QWebDatabase::origin(QWebDatabase* theWrappedObject) const +{ + return ( theWrappedObject->origin()); +} + +void PythonQtWrapper_QWebDatabase::static_QWebDatabase_removeAllDatabases() +{ + (QWebDatabase::removeAllDatabases()); +} + +void PythonQtWrapper_QWebDatabase::static_QWebDatabase_removeDatabase(const QWebDatabase& arg__1) +{ + (QWebDatabase::removeDatabase(arg__1)); +} + +qint64 PythonQtWrapper_QWebDatabase::size(QWebDatabase* theWrappedObject) const +{ + return ( theWrappedObject->size()); +} + + + +QWebElement* PythonQtWrapper_QWebElement::new_QWebElement() +{ +return new QWebElement(); } + +QWebElement* PythonQtWrapper_QWebElement::new_QWebElement(const QWebElement& arg__1) +{ +return new QWebElement(arg__1); } + +void PythonQtWrapper_QWebElement::addClass(QWebElement* theWrappedObject, const QString& name) +{ + ( theWrappedObject->addClass(name)); +} + +void PythonQtWrapper_QWebElement::appendInside(QWebElement* theWrappedObject, const QString& markup) +{ + ( theWrappedObject->appendInside(markup)); +} + +void PythonQtWrapper_QWebElement::appendInside(QWebElement* theWrappedObject, const QWebElement& element) +{ + ( theWrappedObject->appendInside(element)); +} + +void PythonQtWrapper_QWebElement::appendOutside(QWebElement* theWrappedObject, const QString& markup) +{ + ( theWrappedObject->appendOutside(markup)); +} + +void PythonQtWrapper_QWebElement::appendOutside(QWebElement* theWrappedObject, const QWebElement& element) +{ + ( theWrappedObject->appendOutside(element)); +} + +QString PythonQtWrapper_QWebElement::attribute(QWebElement* theWrappedObject, const QString& name, const QString& defaultValue) const +{ + return ( theWrappedObject->attribute(name, defaultValue)); +} + +QString PythonQtWrapper_QWebElement::attributeNS(QWebElement* theWrappedObject, const QString& namespaceUri, const QString& name, const QString& defaultValue) const +{ + return ( theWrappedObject->attributeNS(namespaceUri, name, defaultValue)); +} + +QStringList PythonQtWrapper_QWebElement::attributeNames(QWebElement* theWrappedObject, const QString& namespaceUri) const +{ + return ( theWrappedObject->attributeNames(namespaceUri)); +} + +QStringList PythonQtWrapper_QWebElement::classes(QWebElement* theWrappedObject) const +{ + return ( theWrappedObject->classes()); +} + +QWebElement PythonQtWrapper_QWebElement::clone(QWebElement* theWrappedObject) const +{ + return ( theWrappedObject->clone()); +} + +QWebElement PythonQtWrapper_QWebElement::document(QWebElement* theWrappedObject) const +{ + return ( theWrappedObject->document()); +} + +void PythonQtWrapper_QWebElement::encloseContentsWith(QWebElement* theWrappedObject, const QString& markup) +{ + ( theWrappedObject->encloseContentsWith(markup)); +} + +void PythonQtWrapper_QWebElement::encloseContentsWith(QWebElement* theWrappedObject, const QWebElement& element) +{ + ( theWrappedObject->encloseContentsWith(element)); +} + +void PythonQtWrapper_QWebElement::encloseWith(QWebElement* theWrappedObject, const QString& markup) +{ + ( theWrappedObject->encloseWith(markup)); +} + +void PythonQtWrapper_QWebElement::encloseWith(QWebElement* theWrappedObject, const QWebElement& element) +{ + ( theWrappedObject->encloseWith(element)); +} + +QVariant PythonQtWrapper_QWebElement::evaluateJavaScript(QWebElement* theWrappedObject, const QString& scriptSource) +{ + return ( theWrappedObject->evaluateJavaScript(scriptSource)); +} + +QWebElement PythonQtWrapper_QWebElement::findFirst(QWebElement* theWrappedObject, const QString& selectorQuery) const +{ + return ( theWrappedObject->findFirst(selectorQuery)); +} + +QWebElement PythonQtWrapper_QWebElement::firstChild(QWebElement* theWrappedObject) const +{ + return ( theWrappedObject->firstChild()); +} + +QRect PythonQtWrapper_QWebElement::geometry(QWebElement* theWrappedObject) const +{ + return ( theWrappedObject->geometry()); +} + +bool PythonQtWrapper_QWebElement::hasAttribute(QWebElement* theWrappedObject, const QString& name) const +{ + return ( theWrappedObject->hasAttribute(name)); +} + +bool PythonQtWrapper_QWebElement::hasAttributeNS(QWebElement* theWrappedObject, const QString& namespaceUri, const QString& name) const +{ + return ( theWrappedObject->hasAttributeNS(namespaceUri, name)); +} + +bool PythonQtWrapper_QWebElement::hasAttributes(QWebElement* theWrappedObject) const +{ + return ( theWrappedObject->hasAttributes()); +} + +bool PythonQtWrapper_QWebElement::hasClass(QWebElement* theWrappedObject, const QString& name) const +{ + return ( theWrappedObject->hasClass(name)); +} + +bool PythonQtWrapper_QWebElement::hasFocus(QWebElement* theWrappedObject) const +{ + return ( theWrappedObject->hasFocus()); +} + +bool PythonQtWrapper_QWebElement::isNull(QWebElement* theWrappedObject) const +{ + return ( theWrappedObject->isNull()); +} + +QWebElement PythonQtWrapper_QWebElement::lastChild(QWebElement* theWrappedObject) const +{ + return ( theWrappedObject->lastChild()); +} + +QString PythonQtWrapper_QWebElement::localName(QWebElement* theWrappedObject) const +{ + return ( theWrappedObject->localName()); +} + +QString PythonQtWrapper_QWebElement::namespaceUri(QWebElement* theWrappedObject) const +{ + return ( theWrappedObject->namespaceUri()); +} + +QWebElement PythonQtWrapper_QWebElement::nextSibling(QWebElement* theWrappedObject) const +{ + return ( theWrappedObject->nextSibling()); +} + +bool PythonQtWrapper_QWebElement::__ne__(QWebElement* theWrappedObject, const QWebElement& o) const +{ + return ( (*theWrappedObject)!= o); +} + +QWebElement* PythonQtWrapper_QWebElement::operator_assign(QWebElement* theWrappedObject, const QWebElement& arg__1) +{ + return &( (*theWrappedObject)= arg__1); +} + +bool PythonQtWrapper_QWebElement::__eq__(QWebElement* theWrappedObject, const QWebElement& o) const +{ + return ( (*theWrappedObject)== o); +} + +QWebElement PythonQtWrapper_QWebElement::parent(QWebElement* theWrappedObject) const +{ + return ( theWrappedObject->parent()); +} + +QString PythonQtWrapper_QWebElement::prefix(QWebElement* theWrappedObject) const +{ + return ( theWrappedObject->prefix()); +} + +void PythonQtWrapper_QWebElement::prependInside(QWebElement* theWrappedObject, const QString& markup) +{ + ( theWrappedObject->prependInside(markup)); +} + +void PythonQtWrapper_QWebElement::prependInside(QWebElement* theWrappedObject, const QWebElement& element) +{ + ( theWrappedObject->prependInside(element)); +} + +void PythonQtWrapper_QWebElement::prependOutside(QWebElement* theWrappedObject, const QString& markup) +{ + ( theWrappedObject->prependOutside(markup)); +} + +void PythonQtWrapper_QWebElement::prependOutside(QWebElement* theWrappedObject, const QWebElement& element) +{ + ( theWrappedObject->prependOutside(element)); +} + +QWebElement PythonQtWrapper_QWebElement::previousSibling(QWebElement* theWrappedObject) const +{ + return ( theWrappedObject->previousSibling()); +} + +void PythonQtWrapper_QWebElement::removeAllChildren(QWebElement* theWrappedObject) +{ + ( theWrappedObject->removeAllChildren()); +} + +void PythonQtWrapper_QWebElement::removeAttribute(QWebElement* theWrappedObject, const QString& name) +{ + ( theWrappedObject->removeAttribute(name)); +} + +void PythonQtWrapper_QWebElement::removeAttributeNS(QWebElement* theWrappedObject, const QString& namespaceUri, const QString& name) +{ + ( theWrappedObject->removeAttributeNS(namespaceUri, name)); +} + +void PythonQtWrapper_QWebElement::removeClass(QWebElement* theWrappedObject, const QString& name) +{ + ( theWrappedObject->removeClass(name)); +} + +void PythonQtWrapper_QWebElement::removeFromDocument(QWebElement* theWrappedObject) +{ + ( theWrappedObject->removeFromDocument()); +} + +void PythonQtWrapper_QWebElement::render(QWebElement* theWrappedObject, QPainter* painter) +{ + ( theWrappedObject->render(painter)); +} + +void PythonQtWrapper_QWebElement::replace(QWebElement* theWrappedObject, const QString& markup) +{ + ( theWrappedObject->replace(markup)); +} + +void PythonQtWrapper_QWebElement::replace(QWebElement* theWrappedObject, const QWebElement& element) +{ + ( theWrappedObject->replace(element)); +} + +void PythonQtWrapper_QWebElement::setAttribute(QWebElement* theWrappedObject, const QString& name, const QString& value) +{ + ( theWrappedObject->setAttribute(name, value)); +} + +void PythonQtWrapper_QWebElement::setAttributeNS(QWebElement* theWrappedObject, const QString& namespaceUri, const QString& name, const QString& value) +{ + ( theWrappedObject->setAttributeNS(namespaceUri, name, value)); +} + +void PythonQtWrapper_QWebElement::setFocus(QWebElement* theWrappedObject) +{ + ( theWrappedObject->setFocus()); +} + +void PythonQtWrapper_QWebElement::setInnerXml(QWebElement* theWrappedObject, const QString& markup) +{ + ( theWrappedObject->setInnerXml(markup)); +} + +void PythonQtWrapper_QWebElement::setOuterXml(QWebElement* theWrappedObject, const QString& markup) +{ + ( theWrappedObject->setOuterXml(markup)); +} + +void PythonQtWrapper_QWebElement::setPlainText(QWebElement* theWrappedObject, const QString& text) +{ + ( theWrappedObject->setPlainText(text)); +} + +void PythonQtWrapper_QWebElement::setStyleProperty(QWebElement* theWrappedObject, const QString& name, const QString& value) +{ + ( theWrappedObject->setStyleProperty(name, value)); +} + +QString PythonQtWrapper_QWebElement::styleProperty(QWebElement* theWrappedObject, const QString& name, QWebElement::StyleResolveStrategy strategy) const +{ + return ( theWrappedObject->styleProperty(name, strategy)); +} + +QString PythonQtWrapper_QWebElement::tagName(QWebElement* theWrappedObject) const +{ + return ( theWrappedObject->tagName()); +} + +QWebElement* PythonQtWrapper_QWebElement::takeFromDocument(QWebElement* theWrappedObject) +{ + return &( theWrappedObject->takeFromDocument()); +} + +QString PythonQtWrapper_QWebElement::toInnerXml(QWebElement* theWrappedObject) const +{ + return ( theWrappedObject->toInnerXml()); +} + +QString PythonQtWrapper_QWebElement::toOuterXml(QWebElement* theWrappedObject) const +{ + return ( theWrappedObject->toOuterXml()); +} + +QString PythonQtWrapper_QWebElement::toPlainText(QWebElement* theWrappedObject) const +{ + return ( theWrappedObject->toPlainText()); +} + +void PythonQtWrapper_QWebElement::toggleClass(QWebElement* theWrappedObject, const QString& name) +{ + ( theWrappedObject->toggleClass(name)); +} + +QWebFrame* PythonQtWrapper_QWebElement::webFrame(QWebElement* theWrappedObject) const +{ + return ( theWrappedObject->webFrame()); +} + + + +void PythonQtWrapper_QWebFrame::addToJavaScriptWindowObject(QWebFrame* theWrappedObject, const QString& name, QObject* object) +{ + ( theWrappedObject->addToJavaScriptWindowObject(name, object)); +} + +QUrl PythonQtWrapper_QWebFrame::baseUrl(QWebFrame* theWrappedObject) const +{ + return ( theWrappedObject->baseUrl()); +} + +QList PythonQtWrapper_QWebFrame::childFrames(QWebFrame* theWrappedObject) const +{ + return ( theWrappedObject->childFrames()); +} + +QSize PythonQtWrapper_QWebFrame::contentsSize(QWebFrame* theWrappedObject) const +{ + return ( theWrappedObject->contentsSize()); +} + +QWebElement PythonQtWrapper_QWebFrame::documentElement(QWebFrame* theWrappedObject) const +{ + return ( theWrappedObject->documentElement()); +} + +bool PythonQtWrapper_QWebFrame::event(QWebFrame* theWrappedObject, QEvent* arg__1) +{ + return ( ((PythonQtPublicPromoter_QWebFrame*)theWrappedObject)->promoted_event(arg__1)); +} + +QWebElement PythonQtWrapper_QWebFrame::findFirstElement(QWebFrame* theWrappedObject, const QString& selectorQuery) const +{ + return ( theWrappedObject->findFirstElement(selectorQuery)); +} + +QString PythonQtWrapper_QWebFrame::frameName(QWebFrame* theWrappedObject) const +{ + return ( theWrappedObject->frameName()); +} + +QRect PythonQtWrapper_QWebFrame::geometry(QWebFrame* theWrappedObject) const +{ + return ( theWrappedObject->geometry()); +} + +bool PythonQtWrapper_QWebFrame::hasFocus(QWebFrame* theWrappedObject) const +{ + return ( theWrappedObject->hasFocus()); +} + +QWebHitTestResult PythonQtWrapper_QWebFrame::hitTestContent(QWebFrame* theWrappedObject, const QPoint& pos) const +{ + return ( theWrappedObject->hitTestContent(pos)); +} + +QIcon PythonQtWrapper_QWebFrame::icon(QWebFrame* theWrappedObject) const +{ + return ( theWrappedObject->icon()); +} + +void PythonQtWrapper_QWebFrame::load(QWebFrame* theWrappedObject, const QNetworkRequest& request, QNetworkAccessManager::Operation operation, const QByteArray& body) +{ + ( theWrappedObject->load(request, operation, body)); +} + +void PythonQtWrapper_QWebFrame::load(QWebFrame* theWrappedObject, const QUrl& url) +{ + ( theWrappedObject->load(url)); +} + +QMultiMap PythonQtWrapper_QWebFrame::metaData(QWebFrame* theWrappedObject) const +{ + return ( theWrappedObject->metaData()); +} + +QWebPage* PythonQtWrapper_QWebFrame::page(QWebFrame* theWrappedObject) const +{ + return ( theWrappedObject->page()); +} + +QWebFrame* PythonQtWrapper_QWebFrame::parentFrame(QWebFrame* theWrappedObject) const +{ + return ( theWrappedObject->parentFrame()); +} + +QPoint PythonQtWrapper_QWebFrame::pos(QWebFrame* theWrappedObject) const +{ + return ( theWrappedObject->pos()); +} + +void PythonQtWrapper_QWebFrame::render(QWebFrame* theWrappedObject, QPainter* arg__1) +{ + ( theWrappedObject->render(arg__1)); +} + +void PythonQtWrapper_QWebFrame::render(QWebFrame* theWrappedObject, QPainter* arg__1, const QRegion& clip) +{ + ( theWrappedObject->render(arg__1, clip)); +} + +QString PythonQtWrapper_QWebFrame::renderTreeDump(QWebFrame* theWrappedObject) const +{ + return ( theWrappedObject->renderTreeDump()); +} + +QUrl PythonQtWrapper_QWebFrame::requestedUrl(QWebFrame* theWrappedObject) const +{ + return ( theWrappedObject->requestedUrl()); +} + +void PythonQtWrapper_QWebFrame::scroll(QWebFrame* theWrappedObject, int arg__1, int arg__2) +{ + ( theWrappedObject->scroll(arg__1, arg__2)); +} + +QRect PythonQtWrapper_QWebFrame::scrollBarGeometry(QWebFrame* theWrappedObject, Qt::Orientation orientation) const +{ + return ( theWrappedObject->scrollBarGeometry(orientation)); +} + +int PythonQtWrapper_QWebFrame::scrollBarMaximum(QWebFrame* theWrappedObject, Qt::Orientation orientation) const +{ + return ( theWrappedObject->scrollBarMaximum(orientation)); +} + +int PythonQtWrapper_QWebFrame::scrollBarMinimum(QWebFrame* theWrappedObject, Qt::Orientation orientation) const +{ + return ( theWrappedObject->scrollBarMinimum(orientation)); +} + +Qt::ScrollBarPolicy PythonQtWrapper_QWebFrame::scrollBarPolicy(QWebFrame* theWrappedObject, Qt::Orientation orientation) const +{ + return ( theWrappedObject->scrollBarPolicy(orientation)); +} + +int PythonQtWrapper_QWebFrame::scrollBarValue(QWebFrame* theWrappedObject, Qt::Orientation orientation) const +{ + return ( theWrappedObject->scrollBarValue(orientation)); +} + +QPoint PythonQtWrapper_QWebFrame::scrollPosition(QWebFrame* theWrappedObject) const +{ + return ( theWrappedObject->scrollPosition()); +} + +QWebSecurityOrigin PythonQtWrapper_QWebFrame::securityOrigin(QWebFrame* theWrappedObject) const +{ + return ( theWrappedObject->securityOrigin()); +} + +void PythonQtWrapper_QWebFrame::setContent(QWebFrame* theWrappedObject, const QByteArray& data, const QString& mimeType, const QUrl& baseUrl) +{ + ( theWrappedObject->setContent(data, mimeType, baseUrl)); +} + +void PythonQtWrapper_QWebFrame::setFocus(QWebFrame* theWrappedObject) +{ + ( theWrappedObject->setFocus()); +} + +void PythonQtWrapper_QWebFrame::setHtml(QWebFrame* theWrappedObject, const QString& html, const QUrl& baseUrl) +{ + ( theWrappedObject->setHtml(html, baseUrl)); +} + +void PythonQtWrapper_QWebFrame::setScrollBarPolicy(QWebFrame* theWrappedObject, Qt::Orientation orientation, Qt::ScrollBarPolicy policy) +{ + ( theWrappedObject->setScrollBarPolicy(orientation, policy)); +} + +void PythonQtWrapper_QWebFrame::setScrollBarValue(QWebFrame* theWrappedObject, Qt::Orientation orientation, int value) +{ + ( theWrappedObject->setScrollBarValue(orientation, value)); +} + +void PythonQtWrapper_QWebFrame::setScrollPosition(QWebFrame* theWrappedObject, const QPoint& pos) +{ + ( theWrappedObject->setScrollPosition(pos)); +} + +void PythonQtWrapper_QWebFrame::setTextSizeMultiplier(QWebFrame* theWrappedObject, qreal factor) +{ + ( theWrappedObject->setTextSizeMultiplier(factor)); +} + +void PythonQtWrapper_QWebFrame::setUrl(QWebFrame* theWrappedObject, const QUrl& url) +{ + ( theWrappedObject->setUrl(url)); +} + +void PythonQtWrapper_QWebFrame::setZoomFactor(QWebFrame* theWrappedObject, qreal factor) +{ + ( theWrappedObject->setZoomFactor(factor)); +} + +qreal PythonQtWrapper_QWebFrame::textSizeMultiplier(QWebFrame* theWrappedObject) const +{ + return ( theWrappedObject->textSizeMultiplier()); +} + +QString PythonQtWrapper_QWebFrame::title(QWebFrame* theWrappedObject) const +{ + return ( theWrappedObject->title()); +} + +QString PythonQtWrapper_QWebFrame::toHtml(QWebFrame* theWrappedObject) const +{ + return ( theWrappedObject->toHtml()); +} + +QString PythonQtWrapper_QWebFrame::toPlainText(QWebFrame* theWrappedObject) const +{ + return ( theWrappedObject->toPlainText()); +} + +QUrl PythonQtWrapper_QWebFrame::url(QWebFrame* theWrappedObject) const +{ + return ( theWrappedObject->url()); +} + +qreal PythonQtWrapper_QWebFrame::zoomFactor(QWebFrame* theWrappedObject) const +{ + return ( theWrappedObject->zoomFactor()); +} + + + +void PythonQtShell_QWebHistoryInterface::addHistoryEntry(const QString& url) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "addHistoryEntry"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "const QString&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&url}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + +} +void PythonQtShell_QWebHistoryInterface::childEvent(QChildEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "childEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QChildEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QWebHistoryInterface::childEvent(arg__1); +} +void PythonQtShell_QWebHistoryInterface::customEvent(QEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "customEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QWebHistoryInterface::customEvent(arg__1); +} +bool PythonQtShell_QWebHistoryInterface::event(QEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "event"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue; + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QWebHistoryInterface::event(arg__1); +} +bool PythonQtShell_QWebHistoryInterface::eventFilter(QObject* arg__1, QEvent* arg__2) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "eventFilter"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue; + void* args[3] = {NULL, (void*)&arg__1, (void*)&arg__2}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QWebHistoryInterface::eventFilter(arg__1, arg__2); +} +bool PythonQtShell_QWebHistoryInterface::historyContains(const QString& url) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "historyContains"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "const QString&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue; + void* args[2] = {NULL, (void*)&url}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("historyContains", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return bool(); +} +void PythonQtShell_QWebHistoryInterface::timerEvent(QTimerEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "timerEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QTimerEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QWebHistoryInterface::timerEvent(arg__1); +} +QWebHistoryInterface* PythonQtWrapper_QWebHistoryInterface::new_QWebHistoryInterface(QObject* parent) +{ +return new PythonQtShell_QWebHistoryInterface(parent); } + +QWebHistoryInterface* PythonQtWrapper_QWebHistoryInterface::static_QWebHistoryInterface_defaultInterface() +{ + return (QWebHistoryInterface::defaultInterface()); +} + +void PythonQtWrapper_QWebHistoryInterface::static_QWebHistoryInterface_setDefaultInterface(QWebHistoryInterface* defaultInterface) +{ + (QWebHistoryInterface::setDefaultInterface(defaultInterface)); +} + + + +QWebHitTestResult* PythonQtWrapper_QWebHitTestResult::new_QWebHitTestResult() +{ +return new QWebHitTestResult(); } + +QWebHitTestResult* PythonQtWrapper_QWebHitTestResult::new_QWebHitTestResult(const QWebHitTestResult& other) +{ +return new QWebHitTestResult(other); } + +QString PythonQtWrapper_QWebHitTestResult::alternateText(QWebHitTestResult* theWrappedObject) const +{ + return ( theWrappedObject->alternateText()); +} + +QRect PythonQtWrapper_QWebHitTestResult::boundingRect(QWebHitTestResult* theWrappedObject) const +{ + return ( theWrappedObject->boundingRect()); +} + +QWebElement PythonQtWrapper_QWebHitTestResult::element(QWebHitTestResult* theWrappedObject) const +{ + return ( theWrappedObject->element()); +} + +QWebElement PythonQtWrapper_QWebHitTestResult::enclosingBlockElement(QWebHitTestResult* theWrappedObject) const +{ + return ( theWrappedObject->enclosingBlockElement()); +} + +QWebFrame* PythonQtWrapper_QWebHitTestResult::frame(QWebHitTestResult* theWrappedObject) const +{ + return ( theWrappedObject->frame()); +} + +QUrl PythonQtWrapper_QWebHitTestResult::imageUrl(QWebHitTestResult* theWrappedObject) const +{ + return ( theWrappedObject->imageUrl()); +} + +bool PythonQtWrapper_QWebHitTestResult::isContentEditable(QWebHitTestResult* theWrappedObject) const +{ + return ( theWrappedObject->isContentEditable()); +} + +bool PythonQtWrapper_QWebHitTestResult::isContentSelected(QWebHitTestResult* theWrappedObject) const +{ + return ( theWrappedObject->isContentSelected()); +} + +bool PythonQtWrapper_QWebHitTestResult::isNull(QWebHitTestResult* theWrappedObject) const +{ + return ( theWrappedObject->isNull()); +} + +QWebElement PythonQtWrapper_QWebHitTestResult::linkElement(QWebHitTestResult* theWrappedObject) const +{ + return ( theWrappedObject->linkElement()); +} + +QWebFrame* PythonQtWrapper_QWebHitTestResult::linkTargetFrame(QWebHitTestResult* theWrappedObject) const +{ + return ( theWrappedObject->linkTargetFrame()); +} + +QString PythonQtWrapper_QWebHitTestResult::linkText(QWebHitTestResult* theWrappedObject) const +{ + return ( theWrappedObject->linkText()); +} + +QUrl PythonQtWrapper_QWebHitTestResult::linkTitle(QWebHitTestResult* theWrappedObject) const +{ + return ( theWrappedObject->linkTitle()); +} + +QUrl PythonQtWrapper_QWebHitTestResult::linkUrl(QWebHitTestResult* theWrappedObject) const +{ + return ( theWrappedObject->linkUrl()); +} + +QPixmap PythonQtWrapper_QWebHitTestResult::pixmap(QWebHitTestResult* theWrappedObject) const +{ + return ( theWrappedObject->pixmap()); +} + +QPoint PythonQtWrapper_QWebHitTestResult::pos(QWebHitTestResult* theWrappedObject) const +{ + return ( theWrappedObject->pos()); +} + +QString PythonQtWrapper_QWebHitTestResult::title(QWebHitTestResult* theWrappedObject) const +{ + return ( theWrappedObject->title()); +} + + + +void PythonQtShell_QWebInspector::actionEvent(QActionEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "actionEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QActionEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QWebInspector::actionEvent(arg__1); +} +void PythonQtShell_QWebInspector::changeEvent(QEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "changeEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QWebInspector::changeEvent(arg__1); +} +void PythonQtShell_QWebInspector::childEvent(QChildEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "childEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QChildEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QWebInspector::childEvent(arg__1); +} +void PythonQtShell_QWebInspector::closeEvent(QCloseEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "closeEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QCloseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QWebInspector::closeEvent(arg__1); +} +void PythonQtShell_QWebInspector::contextMenuEvent(QContextMenuEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "contextMenuEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QContextMenuEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QWebInspector::contextMenuEvent(arg__1); +} +void PythonQtShell_QWebInspector::customEvent(QEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "customEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QWebInspector::customEvent(arg__1); +} +int PythonQtShell_QWebInspector::devType() const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "devType"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + int returnValue; + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("devType", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QWebInspector::devType(); +} +void PythonQtShell_QWebInspector::dragEnterEvent(QDragEnterEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dragEnterEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QDragEnterEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QWebInspector::dragEnterEvent(arg__1); +} +void PythonQtShell_QWebInspector::dragLeaveEvent(QDragLeaveEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dragLeaveEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QDragLeaveEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QWebInspector::dragLeaveEvent(arg__1); +} +void PythonQtShell_QWebInspector::dragMoveEvent(QDragMoveEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dragMoveEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QDragMoveEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QWebInspector::dragMoveEvent(arg__1); +} +void PythonQtShell_QWebInspector::dropEvent(QDropEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dropEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QDropEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QWebInspector::dropEvent(arg__1); +} +void PythonQtShell_QWebInspector::enterEvent(QEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "enterEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QWebInspector::enterEvent(arg__1); +} +bool PythonQtShell_QWebInspector::event(QEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "event"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue; + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QWebInspector::event(arg__1); +} +bool PythonQtShell_QWebInspector::eventFilter(QObject* arg__1, QEvent* arg__2) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "eventFilter"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue; + void* args[3] = {NULL, (void*)&arg__1, (void*)&arg__2}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QWebInspector::eventFilter(arg__1, arg__2); +} +void PythonQtShell_QWebInspector::focusInEvent(QFocusEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "focusInEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QFocusEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QWebInspector::focusInEvent(arg__1); +} +bool PythonQtShell_QWebInspector::focusNextPrevChild(bool next) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "focusNextPrevChild"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue; + void* args[2] = {NULL, (void*)&next}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("focusNextPrevChild", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QWebInspector::focusNextPrevChild(next); +} +void PythonQtShell_QWebInspector::focusOutEvent(QFocusEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "focusOutEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QFocusEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QWebInspector::focusOutEvent(arg__1); +} +int PythonQtShell_QWebInspector::heightForWidth(int arg__1) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "heightForWidth"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"int" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + int returnValue; + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("heightForWidth", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QWebInspector::heightForWidth(arg__1); +} +void PythonQtShell_QWebInspector::hideEvent(QHideEvent* event) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "hideEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QHideEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&event}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QWebInspector::hideEvent(event); +} +void PythonQtShell_QWebInspector::inputMethodEvent(QInputMethodEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "inputMethodEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QInputMethodEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QWebInspector::inputMethodEvent(arg__1); +} +QVariant PythonQtShell_QWebInspector::inputMethodQuery(Qt::InputMethodQuery arg__1) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "inputMethodQuery"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QVariant" , "Qt::InputMethodQuery"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + QVariant returnValue; + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result); + } else { + returnValue = *((QVariant*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QWebInspector::inputMethodQuery(arg__1); +} +void PythonQtShell_QWebInspector::keyPressEvent(QKeyEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "keyPressEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QKeyEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QWebInspector::keyPressEvent(arg__1); +} +void PythonQtShell_QWebInspector::keyReleaseEvent(QKeyEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "keyReleaseEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QKeyEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QWebInspector::keyReleaseEvent(arg__1); +} +void PythonQtShell_QWebInspector::languageChange() +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "languageChange"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={""}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QWebInspector::languageChange(); +} +void PythonQtShell_QWebInspector::leaveEvent(QEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "leaveEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QWebInspector::leaveEvent(arg__1); +} +int PythonQtShell_QWebInspector::metric(QPaintDevice::PaintDeviceMetric arg__1) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "metric"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + int returnValue; + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("metric", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QWebInspector::metric(arg__1); +} +QSize PythonQtShell_QWebInspector::minimumSizeHint() const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "getMinimumSizeHint"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QSize"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QSize returnValue; + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("getMinimumSizeHint", methodInfo, result); + } else { + returnValue = *((QSize*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QWebInspector::minimumSizeHint(); +} +void PythonQtShell_QWebInspector::mouseDoubleClickEvent(QMouseEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mouseDoubleClickEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QWebInspector::mouseDoubleClickEvent(arg__1); +} +void PythonQtShell_QWebInspector::mouseMoveEvent(QMouseEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mouseMoveEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QWebInspector::mouseMoveEvent(arg__1); +} +void PythonQtShell_QWebInspector::mousePressEvent(QMouseEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mousePressEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QWebInspector::mousePressEvent(arg__1); +} +void PythonQtShell_QWebInspector::mouseReleaseEvent(QMouseEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mouseReleaseEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QWebInspector::mouseReleaseEvent(arg__1); +} +void PythonQtShell_QWebInspector::moveEvent(QMoveEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "moveEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QMoveEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QWebInspector::moveEvent(arg__1); +} +QPaintEngine* PythonQtShell_QWebInspector::paintEngine() const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "paintEngine"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QPaintEngine*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QPaintEngine* returnValue; + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); + } else { + returnValue = *((QPaintEngine**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QWebInspector::paintEngine(); +} +void PythonQtShell_QWebInspector::paintEvent(QPaintEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "paintEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QPaintEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QWebInspector::paintEvent(arg__1); +} +void PythonQtShell_QWebInspector::resizeEvent(QResizeEvent* event) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "resizeEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QResizeEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&event}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QWebInspector::resizeEvent(event); +} +void PythonQtShell_QWebInspector::showEvent(QShowEvent* event) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "showEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QShowEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&event}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QWebInspector::showEvent(event); +} +void PythonQtShell_QWebInspector::tabletEvent(QTabletEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "tabletEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QTabletEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QWebInspector::tabletEvent(arg__1); +} +void PythonQtShell_QWebInspector::timerEvent(QTimerEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "timerEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QTimerEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QWebInspector::timerEvent(arg__1); +} +void PythonQtShell_QWebInspector::wheelEvent(QWheelEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "wheelEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QWheelEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QWebInspector::wheelEvent(arg__1); +} +QWebInspector* PythonQtWrapper_QWebInspector::new_QWebInspector(QWidget* parent) +{ +return new PythonQtShell_QWebInspector(parent); } + +bool PythonQtWrapper_QWebInspector::event(QWebInspector* theWrappedObject, QEvent* arg__1) +{ + return ( ((PythonQtPublicPromoter_QWebInspector*)theWrappedObject)->promoted_event(arg__1)); +} + +void PythonQtWrapper_QWebInspector::hideEvent(QWebInspector* theWrappedObject, QHideEvent* event) +{ + ( ((PythonQtPublicPromoter_QWebInspector*)theWrappedObject)->promoted_hideEvent(event)); +} + +QWebPage* PythonQtWrapper_QWebInspector::page(QWebInspector* theWrappedObject) const +{ + return ( theWrappedObject->page()); +} + +void PythonQtWrapper_QWebInspector::resizeEvent(QWebInspector* theWrappedObject, QResizeEvent* event) +{ + ( ((PythonQtPublicPromoter_QWebInspector*)theWrappedObject)->promoted_resizeEvent(event)); +} + +void PythonQtWrapper_QWebInspector::setPage(QWebInspector* theWrappedObject, QWebPage* page) +{ + ( theWrappedObject->setPage(page)); +} + +void PythonQtWrapper_QWebInspector::showEvent(QWebInspector* theWrappedObject, QShowEvent* event) +{ + ( ((PythonQtPublicPromoter_QWebInspector*)theWrappedObject)->promoted_showEvent(event)); +} + +QSize PythonQtWrapper_QWebInspector::sizeHint(QWebInspector* theWrappedObject) const +{ + return ( theWrappedObject->sizeHint()); +} + + + +bool PythonQtShell_QWebPage::acceptNavigationRequest(QWebFrame* frame, const QNetworkRequest& request, QWebPage::NavigationType type) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "acceptNavigationRequest"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "QWebFrame*" , "const QNetworkRequest&" , "QWebPage::NavigationType"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + bool returnValue; + void* args[4] = {NULL, (void*)&frame, (void*)&request, (void*)&type}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("acceptNavigationRequest", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QWebPage::acceptNavigationRequest(frame, request, type); +} +void PythonQtShell_QWebPage::childEvent(QChildEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "childEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QChildEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QWebPage::childEvent(arg__1); +} +QString PythonQtShell_QWebPage::chooseFile(QWebFrame* originatingFrame, const QString& oldFile) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "chooseFile"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QString" , "QWebFrame*" , "const QString&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + QString returnValue; + void* args[3] = {NULL, (void*)&originatingFrame, (void*)&oldFile}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("chooseFile", methodInfo, result); + } else { + returnValue = *((QString*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QWebPage::chooseFile(originatingFrame, oldFile); +} +QObject* PythonQtShell_QWebPage::createPlugin(const QString& classid, const QUrl& url, const QStringList& paramNames, const QStringList& paramValues) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "createPlugin"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QObject*" , "const QString&" , "const QUrl&" , "const QStringList&" , "const QStringList&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(5, argumentList); + QObject* returnValue; + void* args[5] = {NULL, (void*)&classid, (void*)&url, (void*)¶mNames, (void*)¶mValues}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("createPlugin", methodInfo, result); + } else { + returnValue = *((QObject**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QWebPage::createPlugin(classid, url, paramNames, paramValues); +} +QWebPage* PythonQtShell_QWebPage::createWindow(QWebPage::WebWindowType type) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "createWindow"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QWebPage*" , "QWebPage::WebWindowType"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + QWebPage* returnValue; + void* args[2] = {NULL, (void*)&type}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("createWindow", methodInfo, result); + } else { + returnValue = *((QWebPage**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QWebPage::createWindow(type); +} +void PythonQtShell_QWebPage::customEvent(QEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "customEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QWebPage::customEvent(arg__1); +} +bool PythonQtShell_QWebPage::event(QEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "event"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue; + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QWebPage::event(arg__1); +} +bool PythonQtShell_QWebPage::eventFilter(QObject* arg__1, QEvent* arg__2) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "eventFilter"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue; + void* args[3] = {NULL, (void*)&arg__1, (void*)&arg__2}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QWebPage::eventFilter(arg__1, arg__2); +} +bool PythonQtShell_QWebPage::extension(QWebPage::Extension extension, const QWebPage::ExtensionOption* option, QWebPage::ExtensionReturn* output) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "extension"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "QWebPage::Extension" , "const QWebPage::ExtensionOption*" , "QWebPage::ExtensionReturn*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + bool returnValue; + void* args[4] = {NULL, (void*)&extension, (void*)&option, (void*)&output}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (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 = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QWebPage::extension(extension, option, output); +} +void PythonQtShell_QWebPage::javaScriptAlert(QWebFrame* originatingFrame, const QString& msg) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "javaScriptAlert"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QWebFrame*" , "const QString&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + void* args[3] = {NULL, (void*)&originatingFrame, (void*)&msg}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QWebPage::javaScriptAlert(originatingFrame, msg); +} +bool PythonQtShell_QWebPage::javaScriptConfirm(QWebFrame* originatingFrame, const QString& msg) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "javaScriptConfirm"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "QWebFrame*" , "const QString&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue; + void* args[3] = {NULL, (void*)&originatingFrame, (void*)&msg}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("javaScriptConfirm", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QWebPage::javaScriptConfirm(originatingFrame, msg); +} +void PythonQtShell_QWebPage::javaScriptConsoleMessage(const QString& message, int lineNumber, const QString& sourceID) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "javaScriptConsoleMessage"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "const QString&" , "int" , "const QString&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + void* args[4] = {NULL, (void*)&message, (void*)&lineNumber, (void*)&sourceID}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QWebPage::javaScriptConsoleMessage(message, lineNumber, sourceID); +} +bool PythonQtShell_QWebPage::javaScriptPrompt(QWebFrame* originatingFrame, const QString& msg, const QString& defaultValue, QString* result) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "javaScriptPrompt"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "QWebFrame*" , "const QString&" , "const QString&" , "QString*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(5, argumentList); + bool returnValue; + void* args[5] = {NULL, (void*)&originatingFrame, (void*)&msg, (void*)&defaultValue, (void*)&result}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("javaScriptPrompt", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QWebPage::javaScriptPrompt(originatingFrame, msg, defaultValue, result); +} +bool PythonQtShell_QWebPage::supportsExtension(QWebPage::Extension extension) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "supportsExtension"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "QWebPage::Extension"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue; + void* args[2] = {NULL, (void*)&extension}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("supportsExtension", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QWebPage::supportsExtension(extension); +} +void PythonQtShell_QWebPage::timerEvent(QTimerEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "timerEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QTimerEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QWebPage::timerEvent(arg__1); +} +void PythonQtShell_QWebPage::triggerAction(QWebPage::WebAction action, bool checked) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "triggerAction"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QWebPage::WebAction" , "bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + void* args[3] = {NULL, (void*)&action, (void*)&checked}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QWebPage::triggerAction(action, checked); +} +QString PythonQtShell_QWebPage::userAgentForUrl(const QUrl& url) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "userAgentForUrl"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QString" , "const QUrl&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + QString returnValue; + void* args[2] = {NULL, (void*)&url}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("userAgentForUrl", methodInfo, result); + } else { + returnValue = *((QString*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QWebPage::userAgentForUrl(url); +} +QWebPage* PythonQtWrapper_QWebPage::new_QWebPage(QObject* parent) +{ +return new PythonQtShell_QWebPage(parent); } + +bool PythonQtWrapper_QWebPage::acceptNavigationRequest(QWebPage* theWrappedObject, QWebFrame* frame, const QNetworkRequest& request, QWebPage::NavigationType type) +{ + return ( ((PythonQtPublicPromoter_QWebPage*)theWrappedObject)->promoted_acceptNavigationRequest(frame, request, type)); +} + +QAction* PythonQtWrapper_QWebPage::action(QWebPage* theWrappedObject, QWebPage::WebAction action) const +{ + return ( theWrappedObject->action(action)); +} + +quint64 PythonQtWrapper_QWebPage::bytesReceived(QWebPage* theWrappedObject) const +{ + return ( theWrappedObject->bytesReceived()); +} + +QString PythonQtWrapper_QWebPage::chooseFile(QWebPage* theWrappedObject, QWebFrame* originatingFrame, const QString& oldFile) +{ + return ( ((PythonQtPublicPromoter_QWebPage*)theWrappedObject)->promoted_chooseFile(originatingFrame, oldFile)); +} + +QObject* PythonQtWrapper_QWebPage::createPlugin(QWebPage* theWrappedObject, const QString& classid, const QUrl& url, const QStringList& paramNames, const QStringList& paramValues) +{ + return ( ((PythonQtPublicPromoter_QWebPage*)theWrappedObject)->promoted_createPlugin(classid, url, paramNames, paramValues)); +} + +QMenu* PythonQtWrapper_QWebPage::createStandardContextMenu(QWebPage* theWrappedObject) +{ + return ( theWrappedObject->createStandardContextMenu()); +} + +QWebPage* PythonQtWrapper_QWebPage::createWindow(QWebPage* theWrappedObject, QWebPage::WebWindowType type) +{ + return ( ((PythonQtPublicPromoter_QWebPage*)theWrappedObject)->promoted_createWindow(type)); +} + +QWebFrame* PythonQtWrapper_QWebPage::currentFrame(QWebPage* theWrappedObject) const +{ + return ( theWrappedObject->currentFrame()); +} + +bool PythonQtWrapper_QWebPage::event(QWebPage* theWrappedObject, QEvent* arg__1) +{ + return ( ((PythonQtPublicPromoter_QWebPage*)theWrappedObject)->promoted_event(arg__1)); +} + +bool PythonQtWrapper_QWebPage::extension(QWebPage* theWrappedObject, QWebPage::Extension extension, const QWebPage::ExtensionOption* option, QWebPage::ExtensionReturn* output) +{ + return ( ((PythonQtPublicPromoter_QWebPage*)theWrappedObject)->promoted_extension(extension, option, output)); +} + +bool PythonQtWrapper_QWebPage::findText(QWebPage* theWrappedObject, const QString& subString, QWebPage::FindFlags options) +{ + return ( theWrappedObject->findText(subString, options)); +} + +bool PythonQtWrapper_QWebPage::focusNextPrevChild(QWebPage* theWrappedObject, bool next) +{ + return ( theWrappedObject->focusNextPrevChild(next)); +} + +bool PythonQtWrapper_QWebPage::forwardUnsupportedContent(QWebPage* theWrappedObject) const +{ + return ( theWrappedObject->forwardUnsupportedContent()); +} + +QWebFrame* PythonQtWrapper_QWebPage::frameAt(QWebPage* theWrappedObject, const QPoint& pos) const +{ + return ( theWrappedObject->frameAt(pos)); +} + +QWebHistory* PythonQtWrapper_QWebPage::history(QWebPage* theWrappedObject) const +{ + return ( theWrappedObject->history()); +} + +QVariant PythonQtWrapper_QWebPage::inputMethodQuery(QWebPage* theWrappedObject, Qt::InputMethodQuery property) const +{ + return ( theWrappedObject->inputMethodQuery(property)); +} + +bool PythonQtWrapper_QWebPage::isContentEditable(QWebPage* theWrappedObject) const +{ + return ( theWrappedObject->isContentEditable()); +} + +bool PythonQtWrapper_QWebPage::isModified(QWebPage* theWrappedObject) const +{ + return ( theWrappedObject->isModified()); +} + +void PythonQtWrapper_QWebPage::javaScriptAlert(QWebPage* theWrappedObject, QWebFrame* originatingFrame, const QString& msg) +{ + ( ((PythonQtPublicPromoter_QWebPage*)theWrappedObject)->promoted_javaScriptAlert(originatingFrame, msg)); +} + +bool PythonQtWrapper_QWebPage::javaScriptConfirm(QWebPage* theWrappedObject, QWebFrame* originatingFrame, const QString& msg) +{ + return ( ((PythonQtPublicPromoter_QWebPage*)theWrappedObject)->promoted_javaScriptConfirm(originatingFrame, msg)); +} + +void PythonQtWrapper_QWebPage::javaScriptConsoleMessage(QWebPage* theWrappedObject, const QString& message, int lineNumber, const QString& sourceID) +{ + ( ((PythonQtPublicPromoter_QWebPage*)theWrappedObject)->promoted_javaScriptConsoleMessage(message, lineNumber, sourceID)); +} + +bool PythonQtWrapper_QWebPage::javaScriptPrompt(QWebPage* theWrappedObject, QWebFrame* originatingFrame, const QString& msg, const QString& defaultValue, QString* result) +{ + return ( ((PythonQtPublicPromoter_QWebPage*)theWrappedObject)->promoted_javaScriptPrompt(originatingFrame, msg, defaultValue, result)); +} + +QWebPage::LinkDelegationPolicy PythonQtWrapper_QWebPage::linkDelegationPolicy(QWebPage* theWrappedObject) const +{ + return ( theWrappedObject->linkDelegationPolicy()); +} + +QWebFrame* PythonQtWrapper_QWebPage::mainFrame(QWebPage* theWrappedObject) const +{ + return ( theWrappedObject->mainFrame()); +} + +QNetworkAccessManager* PythonQtWrapper_QWebPage::networkAccessManager(QWebPage* theWrappedObject) const +{ + return ( theWrappedObject->networkAccessManager()); +} + +QPalette PythonQtWrapper_QWebPage::palette(QWebPage* theWrappedObject) const +{ + return ( theWrappedObject->palette()); +} + +QWebPluginFactory* PythonQtWrapper_QWebPage::pluginFactory(QWebPage* theWrappedObject) const +{ + return ( theWrappedObject->pluginFactory()); +} + +QSize PythonQtWrapper_QWebPage::preferredContentsSize(QWebPage* theWrappedObject) const +{ + return ( theWrappedObject->preferredContentsSize()); +} + +QString PythonQtWrapper_QWebPage::selectedText(QWebPage* theWrappedObject) const +{ + return ( theWrappedObject->selectedText()); +} + +void PythonQtWrapper_QWebPage::setContentEditable(QWebPage* theWrappedObject, bool editable) +{ + ( theWrappedObject->setContentEditable(editable)); +} + +void PythonQtWrapper_QWebPage::setForwardUnsupportedContent(QWebPage* theWrappedObject, bool forward) +{ + ( theWrappedObject->setForwardUnsupportedContent(forward)); +} + +void PythonQtWrapper_QWebPage::setLinkDelegationPolicy(QWebPage* theWrappedObject, QWebPage::LinkDelegationPolicy policy) +{ + ( theWrappedObject->setLinkDelegationPolicy(policy)); +} + +void PythonQtWrapper_QWebPage::setNetworkAccessManager(QWebPage* theWrappedObject, QNetworkAccessManager* manager) +{ + ( theWrappedObject->setNetworkAccessManager(manager)); +} + +void PythonQtWrapper_QWebPage::setPalette(QWebPage* theWrappedObject, const QPalette& palette) +{ + ( theWrappedObject->setPalette(palette)); +} + +void PythonQtWrapper_QWebPage::setPluginFactory(QWebPage* theWrappedObject, QWebPluginFactory* factory) +{ + ( theWrappedObject->setPluginFactory(factory)); +} + +void PythonQtWrapper_QWebPage::setPreferredContentsSize(QWebPage* theWrappedObject, const QSize& size) const +{ + ( theWrappedObject->setPreferredContentsSize(size)); +} + +void PythonQtWrapper_QWebPage::setView(QWebPage* theWrappedObject, QWidget* view) +{ + ( theWrappedObject->setView(view)); +} + +void PythonQtWrapper_QWebPage::setViewportSize(QWebPage* theWrappedObject, const QSize& size) const +{ + ( theWrappedObject->setViewportSize(size)); +} + +QWebSettings* PythonQtWrapper_QWebPage::settings(QWebPage* theWrappedObject) const +{ + return ( theWrappedObject->settings()); +} + +bool PythonQtWrapper_QWebPage::supportsExtension(QWebPage* theWrappedObject, QWebPage::Extension extension) const +{ + return ( ((PythonQtPublicPromoter_QWebPage*)theWrappedObject)->promoted_supportsExtension(extension)); +} + +bool PythonQtWrapper_QWebPage::swallowContextMenuEvent(QWebPage* theWrappedObject, QContextMenuEvent* event) +{ + return ( theWrappedObject->swallowContextMenuEvent(event)); +} + +quint64 PythonQtWrapper_QWebPage::totalBytes(QWebPage* theWrappedObject) const +{ + return ( theWrappedObject->totalBytes()); +} + +void PythonQtWrapper_QWebPage::triggerAction(QWebPage* theWrappedObject, QWebPage::WebAction action, bool checked) +{ + ( ((PythonQtPublicPromoter_QWebPage*)theWrappedObject)->promoted_triggerAction(action, checked)); +} + +QUndoStack* PythonQtWrapper_QWebPage::undoStack(QWebPage* theWrappedObject) const +{ + return ( theWrappedObject->undoStack()); +} + +void PythonQtWrapper_QWebPage::updatePositionDependentActions(QWebPage* theWrappedObject, const QPoint& pos) +{ + ( theWrappedObject->updatePositionDependentActions(pos)); +} + +QString PythonQtWrapper_QWebPage::userAgentForUrl(QWebPage* theWrappedObject, const QUrl& url) const +{ + return ( ((PythonQtPublicPromoter_QWebPage*)theWrappedObject)->promoted_userAgentForUrl(url)); +} + +QWidget* PythonQtWrapper_QWebPage::view(QWebPage* theWrappedObject) const +{ + return ( theWrappedObject->view()); +} + +QSize PythonQtWrapper_QWebPage::viewportSize(QWebPage* theWrappedObject) const +{ + return ( theWrappedObject->viewportSize()); +} + + + +QWebPage::ChooseMultipleFilesExtensionOption* PythonQtWrapper_QWebPage_ChooseMultipleFilesExtensionOption::new_QWebPage_ChooseMultipleFilesExtensionOption() +{ +return new PythonQtShell_QWebPage_ChooseMultipleFilesExtensionOption(); } + + + +QWebPage::ChooseMultipleFilesExtensionReturn* PythonQtWrapper_QWebPage_ChooseMultipleFilesExtensionReturn::new_QWebPage_ChooseMultipleFilesExtensionReturn() +{ +return new PythonQtShell_QWebPage_ChooseMultipleFilesExtensionReturn(); } + + + +QWebPage::ErrorPageExtensionOption* PythonQtWrapper_QWebPage_ErrorPageExtensionOption::new_QWebPage_ErrorPageExtensionOption() +{ +return new PythonQtShell_QWebPage_ErrorPageExtensionOption(); } + + + +QWebPage::ErrorPageExtensionReturn* PythonQtWrapper_QWebPage_ErrorPageExtensionReturn::new_QWebPage_ErrorPageExtensionReturn() +{ +return new PythonQtShell_QWebPage_ErrorPageExtensionReturn(); } + + + +QWebPage::ExtensionOption* PythonQtWrapper_QWebPage_ExtensionOption::new_QWebPage_ExtensionOption() +{ +return new PythonQtShell_QWebPage_ExtensionOption(); } + + + +QWebPage::ExtensionReturn* PythonQtWrapper_QWebPage_ExtensionReturn::new_QWebPage_ExtensionReturn() +{ +return new PythonQtShell_QWebPage_ExtensionReturn(); } + + + +void PythonQtShell_QWebPluginFactory::childEvent(QChildEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "childEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QChildEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QWebPluginFactory::childEvent(arg__1); +} +QObject* PythonQtShell_QWebPluginFactory::create(const QString& mimeType, const QUrl& arg__2, const QStringList& argumentNames, const QStringList& argumentValues) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "create"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QObject*" , "const QString&" , "const QUrl&" , "const QStringList&" , "const QStringList&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(5, argumentList); + QObject* returnValue; + void* args[5] = {NULL, (void*)&mimeType, (void*)&arg__2, (void*)&argumentNames, (void*)&argumentValues}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("create", methodInfo, result); + } else { + returnValue = *((QObject**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return 0; +} +void PythonQtShell_QWebPluginFactory::customEvent(QEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "customEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QWebPluginFactory::customEvent(arg__1); +} +bool PythonQtShell_QWebPluginFactory::event(QEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "event"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue; + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QWebPluginFactory::event(arg__1); +} +bool PythonQtShell_QWebPluginFactory::eventFilter(QObject* arg__1, QEvent* arg__2) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "eventFilter"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue; + void* args[3] = {NULL, (void*)&arg__1, (void*)&arg__2}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QWebPluginFactory::eventFilter(arg__1, arg__2); +} +bool PythonQtShell_QWebPluginFactory::extension(QWebPluginFactory::Extension extension, const QWebPluginFactory::ExtensionOption* option, QWebPluginFactory::ExtensionReturn* output) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "extension"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "QWebPluginFactory::Extension" , "const QWebPluginFactory::ExtensionOption*" , "QWebPluginFactory::ExtensionReturn*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + bool returnValue; + void* args[4] = {NULL, (void*)&extension, (void*)&option, (void*)&output}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (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 = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QWebPluginFactory::extension(extension, option, output); +} +QList PythonQtShell_QWebPluginFactory::plugins() const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "plugins"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QList"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QList returnValue; + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("plugins", methodInfo, result); + } else { + returnValue = *((QList*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QList(); +} +void PythonQtShell_QWebPluginFactory::refreshPlugins() +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "refreshPlugins"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={""}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QWebPluginFactory::refreshPlugins(); +} +bool PythonQtShell_QWebPluginFactory::supportsExtension(QWebPluginFactory::Extension extension) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "supportsExtension"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "QWebPluginFactory::Extension"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue; + void* args[2] = {NULL, (void*)&extension}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("supportsExtension", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QWebPluginFactory::supportsExtension(extension); +} +void PythonQtShell_QWebPluginFactory::timerEvent(QTimerEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "timerEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QTimerEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QWebPluginFactory::timerEvent(arg__1); +} +QWebPluginFactory* PythonQtWrapper_QWebPluginFactory::new_QWebPluginFactory(QObject* parent) +{ +return new PythonQtShell_QWebPluginFactory(parent); } + +bool PythonQtWrapper_QWebPluginFactory::extension(QWebPluginFactory* theWrappedObject, QWebPluginFactory::Extension extension, const QWebPluginFactory::ExtensionOption* option, QWebPluginFactory::ExtensionReturn* output) +{ + return ( ((PythonQtPublicPromoter_QWebPluginFactory*)theWrappedObject)->promoted_extension(extension, option, output)); +} + +void PythonQtWrapper_QWebPluginFactory::refreshPlugins(QWebPluginFactory* theWrappedObject) +{ + ( ((PythonQtPublicPromoter_QWebPluginFactory*)theWrappedObject)->promoted_refreshPlugins()); +} + +bool PythonQtWrapper_QWebPluginFactory::supportsExtension(QWebPluginFactory* theWrappedObject, QWebPluginFactory::Extension extension) const +{ + return ( ((PythonQtPublicPromoter_QWebPluginFactory*)theWrappedObject)->promoted_supportsExtension(extension)); +} + + + +QWebPluginFactory::ExtensionOption* PythonQtWrapper_QWebPluginFactory_ExtensionOption::new_QWebPluginFactory_ExtensionOption() +{ +return new PythonQtShell_QWebPluginFactory_ExtensionOption(); } + + + +QWebPluginFactory::ExtensionReturn* PythonQtWrapper_QWebPluginFactory_ExtensionReturn::new_QWebPluginFactory_ExtensionReturn() +{ +return new PythonQtShell_QWebPluginFactory_ExtensionReturn(); } + + + +QWebPluginFactory::MimeType* PythonQtWrapper_QWebPluginFactory_MimeType::new_QWebPluginFactory_MimeType() +{ +return new PythonQtShell_QWebPluginFactory_MimeType(); } + +bool PythonQtWrapper_QWebPluginFactory_MimeType::__ne__(QWebPluginFactory::MimeType* theWrappedObject, const QWebPluginFactory::MimeType& other) const +{ + return ( (*theWrappedObject)!= other); +} + +bool PythonQtWrapper_QWebPluginFactory_MimeType::__eq__(QWebPluginFactory::MimeType* theWrappedObject, const QWebPluginFactory::MimeType& other) const +{ + return ( (*theWrappedObject)== other); +} + + + +QWebPluginFactory::Plugin* PythonQtWrapper_QWebPluginFactory_Plugin::new_QWebPluginFactory_Plugin() +{ +return new PythonQtShell_QWebPluginFactory_Plugin(); } + + + +QWebSecurityOrigin* PythonQtWrapper_QWebSecurityOrigin::new_QWebSecurityOrigin(const QWebSecurityOrigin& other) +{ +return new QWebSecurityOrigin(other); } + +void PythonQtWrapper_QWebSecurityOrigin::static_QWebSecurityOrigin_addLocalScheme(const QString& scheme) +{ + (QWebSecurityOrigin::addLocalScheme(scheme)); +} + +QList PythonQtWrapper_QWebSecurityOrigin::static_QWebSecurityOrigin_allOrigins() +{ + return (QWebSecurityOrigin::allOrigins()); +} + +qint64 PythonQtWrapper_QWebSecurityOrigin::databaseQuota(QWebSecurityOrigin* theWrappedObject) const +{ + return ( theWrappedObject->databaseQuota()); +} + +qint64 PythonQtWrapper_QWebSecurityOrigin::databaseUsage(QWebSecurityOrigin* theWrappedObject) const +{ + return ( theWrappedObject->databaseUsage()); +} + +QList PythonQtWrapper_QWebSecurityOrigin::databases(QWebSecurityOrigin* theWrappedObject) const +{ + return ( theWrappedObject->databases()); +} + +QString PythonQtWrapper_QWebSecurityOrigin::host(QWebSecurityOrigin* theWrappedObject) const +{ + return ( theWrappedObject->host()); +} + +QStringList PythonQtWrapper_QWebSecurityOrigin::static_QWebSecurityOrigin_localSchemes() +{ + return (QWebSecurityOrigin::localSchemes()); +} + +QWebSecurityOrigin* PythonQtWrapper_QWebSecurityOrigin::operator_assign(QWebSecurityOrigin* theWrappedObject, const QWebSecurityOrigin& other) +{ + return &( (*theWrappedObject)= other); +} + +int PythonQtWrapper_QWebSecurityOrigin::port(QWebSecurityOrigin* theWrappedObject) const +{ + return ( theWrappedObject->port()); +} + +void PythonQtWrapper_QWebSecurityOrigin::static_QWebSecurityOrigin_removeLocalScheme(const QString& scheme) +{ + (QWebSecurityOrigin::removeLocalScheme(scheme)); +} + +QString PythonQtWrapper_QWebSecurityOrigin::scheme(QWebSecurityOrigin* theWrappedObject) const +{ + return ( theWrappedObject->scheme()); +} + +void PythonQtWrapper_QWebSecurityOrigin::setDatabaseQuota(QWebSecurityOrigin* theWrappedObject, qint64 quota) +{ + ( theWrappedObject->setDatabaseQuota(quota)); +} + + + +void PythonQtWrapper_QWebSettings::static_QWebSettings_clearIconDatabase() +{ + (QWebSettings::clearIconDatabase()); +} + +void PythonQtWrapper_QWebSettings::static_QWebSettings_clearMemoryCaches() +{ + (QWebSettings::clearMemoryCaches()); +} + +QString PythonQtWrapper_QWebSettings::defaultTextEncoding(QWebSettings* theWrappedObject) const +{ + return ( theWrappedObject->defaultTextEncoding()); +} + +void PythonQtWrapper_QWebSettings::static_QWebSettings_enablePersistentStorage(const QString& path) +{ + (QWebSettings::enablePersistentStorage(path)); +} + +QString PythonQtWrapper_QWebSettings::fontFamily(QWebSettings* theWrappedObject, QWebSettings::FontFamily which) const +{ + return ( theWrappedObject->fontFamily(which)); +} + +int PythonQtWrapper_QWebSettings::fontSize(QWebSettings* theWrappedObject, QWebSettings::FontSize type) const +{ + return ( theWrappedObject->fontSize(type)); +} + +QWebSettings* PythonQtWrapper_QWebSettings::static_QWebSettings_globalSettings() +{ + return (QWebSettings::globalSettings()); +} + +QString PythonQtWrapper_QWebSettings::static_QWebSettings_iconDatabasePath() +{ + return (QWebSettings::iconDatabasePath()); +} + +QIcon PythonQtWrapper_QWebSettings::static_QWebSettings_iconForUrl(const QUrl& url) +{ + return (QWebSettings::iconForUrl(url)); +} + +QString PythonQtWrapper_QWebSettings::localStoragePath(QWebSettings* theWrappedObject) const +{ + return ( theWrappedObject->localStoragePath()); +} + +int PythonQtWrapper_QWebSettings::static_QWebSettings_maximumPagesInCache() +{ + return (QWebSettings::maximumPagesInCache()); +} + +qint64 PythonQtWrapper_QWebSettings::static_QWebSettings_offlineStorageDefaultQuota() +{ + return (QWebSettings::offlineStorageDefaultQuota()); +} + +QString PythonQtWrapper_QWebSettings::static_QWebSettings_offlineStoragePath() +{ + return (QWebSettings::offlineStoragePath()); +} + +QString PythonQtWrapper_QWebSettings::static_QWebSettings_offlineWebApplicationCachePath() +{ + return (QWebSettings::offlineWebApplicationCachePath()); +} + +qint64 PythonQtWrapper_QWebSettings::static_QWebSettings_offlineWebApplicationCacheQuota() +{ + return (QWebSettings::offlineWebApplicationCacheQuota()); +} + +void PythonQtWrapper_QWebSettings::resetAttribute(QWebSettings* theWrappedObject, QWebSettings::WebAttribute attr) +{ + ( theWrappedObject->resetAttribute(attr)); +} + +void PythonQtWrapper_QWebSettings::resetFontFamily(QWebSettings* theWrappedObject, QWebSettings::FontFamily which) +{ + ( theWrappedObject->resetFontFamily(which)); +} + +void PythonQtWrapper_QWebSettings::resetFontSize(QWebSettings* theWrappedObject, QWebSettings::FontSize type) +{ + ( theWrappedObject->resetFontSize(type)); +} + +void PythonQtWrapper_QWebSettings::setAttribute(QWebSettings* theWrappedObject, QWebSettings::WebAttribute attr, bool on) +{ + ( theWrappedObject->setAttribute(attr, on)); +} + +void PythonQtWrapper_QWebSettings::setDefaultTextEncoding(QWebSettings* theWrappedObject, const QString& encoding) +{ + ( theWrappedObject->setDefaultTextEncoding(encoding)); +} + +void PythonQtWrapper_QWebSettings::setFontFamily(QWebSettings* theWrappedObject, QWebSettings::FontFamily which, const QString& family) +{ + ( theWrappedObject->setFontFamily(which, family)); +} + +void PythonQtWrapper_QWebSettings::setFontSize(QWebSettings* theWrappedObject, QWebSettings::FontSize type, int size) +{ + ( theWrappedObject->setFontSize(type, size)); +} + +void PythonQtWrapper_QWebSettings::static_QWebSettings_setIconDatabasePath(const QString& location) +{ + (QWebSettings::setIconDatabasePath(location)); +} + +void PythonQtWrapper_QWebSettings::setLocalStoragePath(QWebSettings* theWrappedObject, const QString& path) +{ + ( theWrappedObject->setLocalStoragePath(path)); +} + +void PythonQtWrapper_QWebSettings::static_QWebSettings_setMaximumPagesInCache(int pages) +{ + (QWebSettings::setMaximumPagesInCache(pages)); +} + +void PythonQtWrapper_QWebSettings::static_QWebSettings_setObjectCacheCapacities(int cacheMinDeadCapacity, int cacheMaxDead, int totalCapacity) +{ + (QWebSettings::setObjectCacheCapacities(cacheMinDeadCapacity, cacheMaxDead, totalCapacity)); +} + +void PythonQtWrapper_QWebSettings::static_QWebSettings_setOfflineStorageDefaultQuota(qint64 maximumSize) +{ + (QWebSettings::setOfflineStorageDefaultQuota(maximumSize)); +} + +void PythonQtWrapper_QWebSettings::static_QWebSettings_setOfflineStoragePath(const QString& path) +{ + (QWebSettings::setOfflineStoragePath(path)); +} + +void PythonQtWrapper_QWebSettings::static_QWebSettings_setOfflineWebApplicationCachePath(const QString& path) +{ + (QWebSettings::setOfflineWebApplicationCachePath(path)); +} + +void PythonQtWrapper_QWebSettings::static_QWebSettings_setOfflineWebApplicationCacheQuota(qint64 maximumSize) +{ + (QWebSettings::setOfflineWebApplicationCacheQuota(maximumSize)); +} + +void PythonQtWrapper_QWebSettings::setUserStyleSheetUrl(QWebSettings* theWrappedObject, const QUrl& location) +{ + ( theWrappedObject->setUserStyleSheetUrl(location)); +} + +void PythonQtWrapper_QWebSettings::static_QWebSettings_setWebGraphic(QWebSettings::WebGraphic type, const QPixmap& graphic) +{ + (QWebSettings::setWebGraphic(type, graphic)); +} + +bool PythonQtWrapper_QWebSettings::testAttribute(QWebSettings* theWrappedObject, QWebSettings::WebAttribute attr) const +{ + return ( theWrappedObject->testAttribute(attr)); +} + +QUrl PythonQtWrapper_QWebSettings::userStyleSheetUrl(QWebSettings* theWrappedObject) const +{ + return ( theWrappedObject->userStyleSheetUrl()); +} + +QPixmap PythonQtWrapper_QWebSettings::static_QWebSettings_webGraphic(QWebSettings::WebGraphic type) +{ + return (QWebSettings::webGraphic(type)); +} + + + +void PythonQtShell_QWebView::actionEvent(QActionEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "actionEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QActionEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QWebView::actionEvent(arg__1); +} +void PythonQtShell_QWebView::changeEvent(QEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "changeEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QWebView::changeEvent(arg__1); +} +void PythonQtShell_QWebView::childEvent(QChildEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "childEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QChildEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QWebView::childEvent(arg__1); +} +void PythonQtShell_QWebView::closeEvent(QCloseEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "closeEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QCloseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QWebView::closeEvent(arg__1); +} +void PythonQtShell_QWebView::contextMenuEvent(QContextMenuEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "contextMenuEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QContextMenuEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QWebView::contextMenuEvent(arg__1); +} +QWebView* PythonQtShell_QWebView::createWindow(QWebPage::WebWindowType type) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "createWindow"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QWebView*" , "QWebPage::WebWindowType"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + QWebView* returnValue; + void* args[2] = {NULL, (void*)&type}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("createWindow", methodInfo, result); + } else { + returnValue = *((QWebView**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QWebView::createWindow(type); +} +void PythonQtShell_QWebView::customEvent(QEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "customEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QWebView::customEvent(arg__1); +} +int PythonQtShell_QWebView::devType() const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "devType"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + int returnValue; + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("devType", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QWebView::devType(); +} +void PythonQtShell_QWebView::dragEnterEvent(QDragEnterEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dragEnterEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QDragEnterEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QWebView::dragEnterEvent(arg__1); +} +void PythonQtShell_QWebView::dragLeaveEvent(QDragLeaveEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dragLeaveEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QDragLeaveEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QWebView::dragLeaveEvent(arg__1); +} +void PythonQtShell_QWebView::dragMoveEvent(QDragMoveEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dragMoveEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QDragMoveEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QWebView::dragMoveEvent(arg__1); +} +void PythonQtShell_QWebView::dropEvent(QDropEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dropEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QDropEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QWebView::dropEvent(arg__1); +} +void PythonQtShell_QWebView::enterEvent(QEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "enterEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QWebView::enterEvent(arg__1); +} +bool PythonQtShell_QWebView::event(QEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "event"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue; + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QWebView::event(arg__1); +} +bool PythonQtShell_QWebView::eventFilter(QObject* arg__1, QEvent* arg__2) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "eventFilter"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue; + void* args[3] = {NULL, (void*)&arg__1, (void*)&arg__2}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QWebView::eventFilter(arg__1, arg__2); +} +void PythonQtShell_QWebView::focusInEvent(QFocusEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "focusInEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QFocusEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QWebView::focusInEvent(arg__1); +} +bool PythonQtShell_QWebView::focusNextPrevChild(bool next) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "focusNextPrevChild"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue; + void* args[2] = {NULL, (void*)&next}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("focusNextPrevChild", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QWebView::focusNextPrevChild(next); +} +void PythonQtShell_QWebView::focusOutEvent(QFocusEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "focusOutEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QFocusEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QWebView::focusOutEvent(arg__1); +} +int PythonQtShell_QWebView::heightForWidth(int arg__1) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "heightForWidth"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"int" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + int returnValue; + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("heightForWidth", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QWebView::heightForWidth(arg__1); +} +void PythonQtShell_QWebView::hideEvent(QHideEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "hideEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QHideEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QWebView::hideEvent(arg__1); +} +void PythonQtShell_QWebView::inputMethodEvent(QInputMethodEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "inputMethodEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QInputMethodEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QWebView::inputMethodEvent(arg__1); +} +QVariant PythonQtShell_QWebView::inputMethodQuery(Qt::InputMethodQuery property) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "inputMethodQuery"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QVariant" , "Qt::InputMethodQuery"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + QVariant returnValue; + void* args[2] = {NULL, (void*)&property}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result); + } else { + returnValue = *((QVariant*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QWebView::inputMethodQuery(property); +} +void PythonQtShell_QWebView::keyPressEvent(QKeyEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "keyPressEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QKeyEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QWebView::keyPressEvent(arg__1); +} +void PythonQtShell_QWebView::keyReleaseEvent(QKeyEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "keyReleaseEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QKeyEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QWebView::keyReleaseEvent(arg__1); +} +void PythonQtShell_QWebView::languageChange() +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "languageChange"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={""}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QWebView::languageChange(); +} +void PythonQtShell_QWebView::leaveEvent(QEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "leaveEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QWebView::leaveEvent(arg__1); +} +int PythonQtShell_QWebView::metric(QPaintDevice::PaintDeviceMetric arg__1) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "metric"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + int returnValue; + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("metric", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QWebView::metric(arg__1); +} +QSize PythonQtShell_QWebView::minimumSizeHint() const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "getMinimumSizeHint"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QSize"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QSize returnValue; + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("getMinimumSizeHint", methodInfo, result); + } else { + returnValue = *((QSize*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QWebView::minimumSizeHint(); +} +void PythonQtShell_QWebView::mouseDoubleClickEvent(QMouseEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mouseDoubleClickEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QWebView::mouseDoubleClickEvent(arg__1); +} +void PythonQtShell_QWebView::mouseMoveEvent(QMouseEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mouseMoveEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QWebView::mouseMoveEvent(arg__1); +} +void PythonQtShell_QWebView::mousePressEvent(QMouseEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mousePressEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QWebView::mousePressEvent(arg__1); +} +void PythonQtShell_QWebView::mouseReleaseEvent(QMouseEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mouseReleaseEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QWebView::mouseReleaseEvent(arg__1); +} +void PythonQtShell_QWebView::moveEvent(QMoveEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "moveEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QMoveEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QWebView::moveEvent(arg__1); +} +QPaintEngine* PythonQtShell_QWebView::paintEngine() const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "paintEngine"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QPaintEngine*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QPaintEngine* returnValue; + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); + } else { + returnValue = *((QPaintEngine**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QWebView::paintEngine(); +} +void PythonQtShell_QWebView::paintEvent(QPaintEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "paintEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QPaintEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QWebView::paintEvent(arg__1); +} +void PythonQtShell_QWebView::resizeEvent(QResizeEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "resizeEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QResizeEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QWebView::resizeEvent(arg__1); +} +void PythonQtShell_QWebView::showEvent(QShowEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "showEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QShowEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QWebView::showEvent(arg__1); +} +void PythonQtShell_QWebView::tabletEvent(QTabletEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "tabletEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QTabletEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QWebView::tabletEvent(arg__1); +} +void PythonQtShell_QWebView::timerEvent(QTimerEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "timerEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QTimerEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QWebView::timerEvent(arg__1); +} +void PythonQtShell_QWebView::wheelEvent(QWheelEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "wheelEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QWheelEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QWebView::wheelEvent(arg__1); +} +QWebView* PythonQtWrapper_QWebView::new_QWebView(QWidget* parent) +{ +return new PythonQtShell_QWebView(parent); } + +void PythonQtWrapper_QWebView::changeEvent(QWebView* theWrappedObject, QEvent* arg__1) +{ + ( ((PythonQtPublicPromoter_QWebView*)theWrappedObject)->promoted_changeEvent(arg__1)); +} + +void PythonQtWrapper_QWebView::contextMenuEvent(QWebView* theWrappedObject, QContextMenuEvent* arg__1) +{ + ( ((PythonQtPublicPromoter_QWebView*)theWrappedObject)->promoted_contextMenuEvent(arg__1)); +} + +QWebView* PythonQtWrapper_QWebView::createWindow(QWebView* theWrappedObject, QWebPage::WebWindowType type) +{ + return ( ((PythonQtPublicPromoter_QWebView*)theWrappedObject)->promoted_createWindow(type)); +} + +void PythonQtWrapper_QWebView::dragEnterEvent(QWebView* theWrappedObject, QDragEnterEvent* arg__1) +{ + ( ((PythonQtPublicPromoter_QWebView*)theWrappedObject)->promoted_dragEnterEvent(arg__1)); +} + +void PythonQtWrapper_QWebView::dragLeaveEvent(QWebView* theWrappedObject, QDragLeaveEvent* arg__1) +{ + ( ((PythonQtPublicPromoter_QWebView*)theWrappedObject)->promoted_dragLeaveEvent(arg__1)); +} + +void PythonQtWrapper_QWebView::dragMoveEvent(QWebView* theWrappedObject, QDragMoveEvent* arg__1) +{ + ( ((PythonQtPublicPromoter_QWebView*)theWrappedObject)->promoted_dragMoveEvent(arg__1)); +} + +void PythonQtWrapper_QWebView::dropEvent(QWebView* theWrappedObject, QDropEvent* arg__1) +{ + ( ((PythonQtPublicPromoter_QWebView*)theWrappedObject)->promoted_dropEvent(arg__1)); +} + +bool PythonQtWrapper_QWebView::event(QWebView* theWrappedObject, QEvent* arg__1) +{ + return ( ((PythonQtPublicPromoter_QWebView*)theWrappedObject)->promoted_event(arg__1)); +} + +bool PythonQtWrapper_QWebView::findText(QWebView* theWrappedObject, const QString& subString, QWebPage::FindFlags options) +{ + return ( theWrappedObject->findText(subString, options)); +} + +void PythonQtWrapper_QWebView::focusInEvent(QWebView* theWrappedObject, QFocusEvent* arg__1) +{ + ( ((PythonQtPublicPromoter_QWebView*)theWrappedObject)->promoted_focusInEvent(arg__1)); +} + +bool PythonQtWrapper_QWebView::focusNextPrevChild(QWebView* theWrappedObject, bool next) +{ + return ( ((PythonQtPublicPromoter_QWebView*)theWrappedObject)->promoted_focusNextPrevChild(next)); +} + +void PythonQtWrapper_QWebView::focusOutEvent(QWebView* theWrappedObject, QFocusEvent* arg__1) +{ + ( ((PythonQtPublicPromoter_QWebView*)theWrappedObject)->promoted_focusOutEvent(arg__1)); +} + +QWebHistory* PythonQtWrapper_QWebView::history(QWebView* theWrappedObject) const +{ + return ( theWrappedObject->history()); +} + +QIcon PythonQtWrapper_QWebView::icon(QWebView* theWrappedObject) const +{ + return ( theWrappedObject->icon()); +} + +void PythonQtWrapper_QWebView::inputMethodEvent(QWebView* theWrappedObject, QInputMethodEvent* arg__1) +{ + ( ((PythonQtPublicPromoter_QWebView*)theWrappedObject)->promoted_inputMethodEvent(arg__1)); +} + +QVariant PythonQtWrapper_QWebView::inputMethodQuery(QWebView* theWrappedObject, Qt::InputMethodQuery property) const +{ + return ( ((PythonQtPublicPromoter_QWebView*)theWrappedObject)->promoted_inputMethodQuery(property)); +} + +bool PythonQtWrapper_QWebView::isModified(QWebView* theWrappedObject) const +{ + return ( theWrappedObject->isModified()); +} + +void PythonQtWrapper_QWebView::keyPressEvent(QWebView* theWrappedObject, QKeyEvent* arg__1) +{ + ( ((PythonQtPublicPromoter_QWebView*)theWrappedObject)->promoted_keyPressEvent(arg__1)); +} + +void PythonQtWrapper_QWebView::keyReleaseEvent(QWebView* theWrappedObject, QKeyEvent* arg__1) +{ + ( ((PythonQtPublicPromoter_QWebView*)theWrappedObject)->promoted_keyReleaseEvent(arg__1)); +} + +void PythonQtWrapper_QWebView::load(QWebView* theWrappedObject, const QNetworkRequest& request, QNetworkAccessManager::Operation operation, const QByteArray& body) +{ + ( theWrappedObject->load(request, operation, body)); +} + +void PythonQtWrapper_QWebView::load(QWebView* theWrappedObject, const QUrl& url) +{ + ( theWrappedObject->load(url)); +} + +void PythonQtWrapper_QWebView::mouseDoubleClickEvent(QWebView* theWrappedObject, QMouseEvent* arg__1) +{ + ( ((PythonQtPublicPromoter_QWebView*)theWrappedObject)->promoted_mouseDoubleClickEvent(arg__1)); +} + +void PythonQtWrapper_QWebView::mouseMoveEvent(QWebView* theWrappedObject, QMouseEvent* arg__1) +{ + ( ((PythonQtPublicPromoter_QWebView*)theWrappedObject)->promoted_mouseMoveEvent(arg__1)); +} + +void PythonQtWrapper_QWebView::mousePressEvent(QWebView* theWrappedObject, QMouseEvent* arg__1) +{ + ( ((PythonQtPublicPromoter_QWebView*)theWrappedObject)->promoted_mousePressEvent(arg__1)); +} + +void PythonQtWrapper_QWebView::mouseReleaseEvent(QWebView* theWrappedObject, QMouseEvent* arg__1) +{ + ( ((PythonQtPublicPromoter_QWebView*)theWrappedObject)->promoted_mouseReleaseEvent(arg__1)); +} + +QWebPage* PythonQtWrapper_QWebView::page(QWebView* theWrappedObject) const +{ + return ( theWrappedObject->page()); +} + +QAction* PythonQtWrapper_QWebView::pageAction(QWebView* theWrappedObject, QWebPage::WebAction action) const +{ + return ( theWrappedObject->pageAction(action)); +} + +void PythonQtWrapper_QWebView::paintEvent(QWebView* theWrappedObject, QPaintEvent* arg__1) +{ + ( ((PythonQtPublicPromoter_QWebView*)theWrappedObject)->promoted_paintEvent(arg__1)); +} + +QPainter::RenderHints PythonQtWrapper_QWebView::renderHints(QWebView* theWrappedObject) const +{ + return ( theWrappedObject->renderHints()); +} + +void PythonQtWrapper_QWebView::resizeEvent(QWebView* theWrappedObject, QResizeEvent* arg__1) +{ + ( ((PythonQtPublicPromoter_QWebView*)theWrappedObject)->promoted_resizeEvent(arg__1)); +} + +QString PythonQtWrapper_QWebView::selectedText(QWebView* theWrappedObject) const +{ + return ( theWrappedObject->selectedText()); +} + +void PythonQtWrapper_QWebView::setContent(QWebView* theWrappedObject, const QByteArray& data, const QString& mimeType, const QUrl& baseUrl) +{ + ( theWrappedObject->setContent(data, mimeType, baseUrl)); +} + +void PythonQtWrapper_QWebView::setHtml(QWebView* theWrappedObject, const QString& html, const QUrl& baseUrl) +{ + ( theWrappedObject->setHtml(html, baseUrl)); +} + +void PythonQtWrapper_QWebView::setPage(QWebView* theWrappedObject, QWebPage* page) +{ + ( theWrappedObject->setPage(page)); +} + +void PythonQtWrapper_QWebView::setRenderHint(QWebView* theWrappedObject, QPainter::RenderHint hint, bool enabled) +{ + ( theWrappedObject->setRenderHint(hint, enabled)); +} + +void PythonQtWrapper_QWebView::setRenderHints(QWebView* theWrappedObject, QPainter::RenderHints hints) +{ + ( theWrappedObject->setRenderHints(hints)); +} + +void PythonQtWrapper_QWebView::setTextSizeMultiplier(QWebView* theWrappedObject, qreal factor) +{ + ( theWrappedObject->setTextSizeMultiplier(factor)); +} + +void PythonQtWrapper_QWebView::setUrl(QWebView* theWrappedObject, const QUrl& url) +{ + ( theWrappedObject->setUrl(url)); +} + +void PythonQtWrapper_QWebView::setZoomFactor(QWebView* theWrappedObject, qreal factor) +{ + ( theWrappedObject->setZoomFactor(factor)); +} + +QWebSettings* PythonQtWrapper_QWebView::settings(QWebView* theWrappedObject) const +{ + return ( theWrappedObject->settings()); +} + +QSize PythonQtWrapper_QWebView::sizeHint(QWebView* theWrappedObject) const +{ + return ( theWrappedObject->sizeHint()); +} + +qreal PythonQtWrapper_QWebView::textSizeMultiplier(QWebView* theWrappedObject) const +{ + return ( theWrappedObject->textSizeMultiplier()); +} + +QString PythonQtWrapper_QWebView::title(QWebView* theWrappedObject) const +{ + return ( theWrappedObject->title()); +} + +void PythonQtWrapper_QWebView::triggerPageAction(QWebView* theWrappedObject, QWebPage::WebAction action, bool checked) +{ + ( theWrappedObject->triggerPageAction(action, checked)); +} + +QUrl PythonQtWrapper_QWebView::url(QWebView* theWrappedObject) const +{ + return ( theWrappedObject->url()); +} + +void PythonQtWrapper_QWebView::wheelEvent(QWebView* theWrappedObject, QWheelEvent* arg__1) +{ + ( ((PythonQtPublicPromoter_QWebView*)theWrappedObject)->promoted_wheelEvent(arg__1)); +} + +qreal PythonQtWrapper_QWebView::zoomFactor(QWebView* theWrappedObject) const +{ + return ( theWrappedObject->zoomFactor()); +} + + diff --git a/generated_cpp_47/com_trolltech_qt_webkit/com_trolltech_qt_webkit0.h b/generated_cpp_47/com_trolltech_qt_webkit/com_trolltech_qt_webkit0.h new file mode 100644 index 00000000..74c17ae8 --- /dev/null +++ b/generated_cpp_47/com_trolltech_qt_webkit/com_trolltech_qt_webkit0.h @@ -0,0 +1,1119 @@ +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#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_QGraphicsWebView : public QGraphicsWebView +{ +public: + PythonQtShell_QGraphicsWebView(QGraphicsItem* parent = 0):QGraphicsWebView(parent),_wrapper(NULL) {}; + +virtual void changeEvent(QEvent* event); +virtual void childEvent(QChildEvent* arg__1); +virtual void closeEvent(QCloseEvent* event); +virtual void contextMenuEvent(QGraphicsSceneContextMenuEvent* arg__1); +virtual void customEvent(QEvent* arg__1); +virtual void dragEnterEvent(QGraphicsSceneDragDropEvent* arg__1); +virtual void dragLeaveEvent(QGraphicsSceneDragDropEvent* arg__1); +virtual void dragMoveEvent(QGraphicsSceneDragDropEvent* arg__1); +virtual void dropEvent(QGraphicsSceneDragDropEvent* arg__1); +virtual bool event(QEvent* arg__1); +virtual bool eventFilter(QObject* arg__1, QEvent* arg__2); +virtual void focusInEvent(QFocusEvent* arg__1); +virtual bool focusNextPrevChild(bool next); +virtual void focusOutEvent(QFocusEvent* arg__1); +virtual void 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* arg__1); +virtual void hoverMoveEvent(QGraphicsSceneHoverEvent* arg__1); +virtual void initStyleOption(QStyleOption* option) const; +virtual void inputMethodEvent(QInputMethodEvent* arg__1); +virtual QVariant inputMethodQuery(Qt::InputMethodQuery query) const; +virtual QVariant itemChange(QGraphicsItem::GraphicsItemChange change, const QVariant& value); +virtual void keyPressEvent(QKeyEvent* arg__1); +virtual void keyReleaseEvent(QKeyEvent* arg__1); +virtual void mouseDoubleClickEvent(QGraphicsSceneMouseEvent* arg__1); +virtual void mouseMoveEvent(QGraphicsSceneMouseEvent* arg__1); +virtual void mousePressEvent(QGraphicsSceneMouseEvent* arg__1); +virtual void mouseReleaseEvent(QGraphicsSceneMouseEvent* arg__1); +virtual void moveEvent(QGraphicsSceneMoveEvent* event); +virtual void paint(QPainter* arg__1, const QStyleOptionGraphicsItem* options, QWidget* widget = 0); +virtual void paintWindowFrame(QPainter* painter, const QStyleOptionGraphicsItem* option, QWidget* widget); +virtual void polishEvent(); +virtual QVariant propertyChange(const QString& propertyName, const QVariant& value); +virtual void resizeEvent(QGraphicsSceneResizeEvent* event); +virtual bool sceneEvent(QEvent* arg__1); +virtual void setGeometry(const QRectF& rect); +virtual void showEvent(QShowEvent* event); +virtual QSizeF sizeHint(Qt::SizeHint which, const QSizeF& constraint) const; +virtual void timerEvent(QTimerEvent* arg__1); +virtual void ungrabKeyboardEvent(QEvent* event); +virtual void ungrabMouseEvent(QEvent* event); +virtual void updateGeometry(); +virtual void wheelEvent(QGraphicsSceneWheelEvent* arg__1); +virtual bool windowFrameEvent(QEvent* e); +virtual Qt::WindowFrameSection windowFrameSectionAt(const QPointF& pos) const; + + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtPublicPromoter_QGraphicsWebView : public QGraphicsWebView +{ public: +inline void promoted_contextMenuEvent(QGraphicsSceneContextMenuEvent* arg__1) { QGraphicsWebView::contextMenuEvent(arg__1); } +inline void promoted_dragEnterEvent(QGraphicsSceneDragDropEvent* arg__1) { QGraphicsWebView::dragEnterEvent(arg__1); } +inline void promoted_dragLeaveEvent(QGraphicsSceneDragDropEvent* arg__1) { QGraphicsWebView::dragLeaveEvent(arg__1); } +inline void promoted_dragMoveEvent(QGraphicsSceneDragDropEvent* arg__1) { QGraphicsWebView::dragMoveEvent(arg__1); } +inline void promoted_dropEvent(QGraphicsSceneDragDropEvent* arg__1) { QGraphicsWebView::dropEvent(arg__1); } +inline bool promoted_event(QEvent* arg__1) { return QGraphicsWebView::event(arg__1); } +inline void promoted_focusInEvent(QFocusEvent* arg__1) { QGraphicsWebView::focusInEvent(arg__1); } +inline bool promoted_focusNextPrevChild(bool next) { return QGraphicsWebView::focusNextPrevChild(next); } +inline void promoted_focusOutEvent(QFocusEvent* arg__1) { QGraphicsWebView::focusOutEvent(arg__1); } +inline void promoted_hoverLeaveEvent(QGraphicsSceneHoverEvent* arg__1) { QGraphicsWebView::hoverLeaveEvent(arg__1); } +inline void promoted_hoverMoveEvent(QGraphicsSceneHoverEvent* arg__1) { QGraphicsWebView::hoverMoveEvent(arg__1); } +inline void promoted_inputMethodEvent(QInputMethodEvent* arg__1) { QGraphicsWebView::inputMethodEvent(arg__1); } +inline QVariant promoted_inputMethodQuery(Qt::InputMethodQuery query) const { return QGraphicsWebView::inputMethodQuery(query); } +inline QVariant promoted_itemChange(QGraphicsItem::GraphicsItemChange change, const QVariant& value) { return QGraphicsWebView::itemChange(change, value); } +inline void promoted_keyPressEvent(QKeyEvent* arg__1) { QGraphicsWebView::keyPressEvent(arg__1); } +inline void promoted_keyReleaseEvent(QKeyEvent* arg__1) { QGraphicsWebView::keyReleaseEvent(arg__1); } +inline void promoted_mouseDoubleClickEvent(QGraphicsSceneMouseEvent* arg__1) { QGraphicsWebView::mouseDoubleClickEvent(arg__1); } +inline void promoted_mouseMoveEvent(QGraphicsSceneMouseEvent* arg__1) { QGraphicsWebView::mouseMoveEvent(arg__1); } +inline void promoted_mousePressEvent(QGraphicsSceneMouseEvent* arg__1) { QGraphicsWebView::mousePressEvent(arg__1); } +inline void promoted_mouseReleaseEvent(QGraphicsSceneMouseEvent* arg__1) { QGraphicsWebView::mouseReleaseEvent(arg__1); } +inline void promoted_paint(QPainter* arg__1, const QStyleOptionGraphicsItem* options, QWidget* widget = 0) { QGraphicsWebView::paint(arg__1, options, widget); } +inline bool promoted_sceneEvent(QEvent* arg__1) { return QGraphicsWebView::sceneEvent(arg__1); } +inline void promoted_setGeometry(const QRectF& rect) { QGraphicsWebView::setGeometry(rect); } +inline QSizeF promoted_sizeHint(Qt::SizeHint which, const QSizeF& constraint) const { return QGraphicsWebView::sizeHint(which, constraint); } +inline void promoted_updateGeometry() { QGraphicsWebView::updateGeometry(); } +inline void promoted_wheelEvent(QGraphicsSceneWheelEvent* arg__1) { QGraphicsWebView::wheelEvent(arg__1); } +}; + +class PythonQtWrapper_QGraphicsWebView : public QObject +{ Q_OBJECT +public: +public slots: +QGraphicsWebView* new_QGraphicsWebView(QGraphicsItem* parent = 0); +void delete_QGraphicsWebView(QGraphicsWebView* obj) { delete obj; } + void contextMenuEvent(QGraphicsWebView* theWrappedObject, QGraphicsSceneContextMenuEvent* arg__1); + void dragEnterEvent(QGraphicsWebView* theWrappedObject, QGraphicsSceneDragDropEvent* arg__1); + void dragLeaveEvent(QGraphicsWebView* theWrappedObject, QGraphicsSceneDragDropEvent* arg__1); + void dragMoveEvent(QGraphicsWebView* theWrappedObject, QGraphicsSceneDragDropEvent* arg__1); + void dropEvent(QGraphicsWebView* theWrappedObject, QGraphicsSceneDragDropEvent* arg__1); + bool event(QGraphicsWebView* theWrappedObject, QEvent* arg__1); + bool findText(QGraphicsWebView* theWrappedObject, const QString& subString, QWebPage::FindFlags options = 0); + void focusInEvent(QGraphicsWebView* theWrappedObject, QFocusEvent* arg__1); + bool focusNextPrevChild(QGraphicsWebView* theWrappedObject, bool next); + void focusOutEvent(QGraphicsWebView* theWrappedObject, QFocusEvent* arg__1); + QWebHistory* history(QGraphicsWebView* theWrappedObject) const; + void hoverLeaveEvent(QGraphicsWebView* theWrappedObject, QGraphicsSceneHoverEvent* arg__1); + void hoverMoveEvent(QGraphicsWebView* theWrappedObject, QGraphicsSceneHoverEvent* arg__1); + QIcon icon(QGraphicsWebView* theWrappedObject) const; + void inputMethodEvent(QGraphicsWebView* theWrappedObject, QInputMethodEvent* arg__1); + QVariant inputMethodQuery(QGraphicsWebView* theWrappedObject, Qt::InputMethodQuery query) const; + bool isModified(QGraphicsWebView* theWrappedObject) const; + QVariant itemChange(QGraphicsWebView* theWrappedObject, QGraphicsItem::GraphicsItemChange change, const QVariant& value); + void keyPressEvent(QGraphicsWebView* theWrappedObject, QKeyEvent* arg__1); + void keyReleaseEvent(QGraphicsWebView* theWrappedObject, QKeyEvent* arg__1); + void load(QGraphicsWebView* theWrappedObject, const QNetworkRequest& request, QNetworkAccessManager::Operation operation = QNetworkAccessManager::GetOperation, const QByteArray& body = QByteArray()); + void load(QGraphicsWebView* theWrappedObject, const QUrl& url); + void mouseDoubleClickEvent(QGraphicsWebView* theWrappedObject, QGraphicsSceneMouseEvent* arg__1); + void mouseMoveEvent(QGraphicsWebView* theWrappedObject, QGraphicsSceneMouseEvent* arg__1); + void mousePressEvent(QGraphicsWebView* theWrappedObject, QGraphicsSceneMouseEvent* arg__1); + void mouseReleaseEvent(QGraphicsWebView* theWrappedObject, QGraphicsSceneMouseEvent* arg__1); + QWebPage* page(QGraphicsWebView* theWrappedObject) const; + QAction* pageAction(QGraphicsWebView* theWrappedObject, QWebPage::WebAction action) const; + void paint(QGraphicsWebView* theWrappedObject, QPainter* arg__1, const QStyleOptionGraphicsItem* options, QWidget* widget = 0); + bool sceneEvent(QGraphicsWebView* theWrappedObject, QEvent* arg__1); + void setContent(QGraphicsWebView* theWrappedObject, const QByteArray& data, const QString& mimeType = QString(), const QUrl& baseUrl = QUrl()); + void setGeometry(QGraphicsWebView* theWrappedObject, const QRectF& rect); + void setHtml(QGraphicsWebView* theWrappedObject, const QString& html, const QUrl& baseUrl = QUrl()); + void setPage(QGraphicsWebView* theWrappedObject, QWebPage* arg__1); + void setUrl(QGraphicsWebView* theWrappedObject, const QUrl& arg__1); + void setZoomFactor(QGraphicsWebView* theWrappedObject, qreal arg__1); + QWebSettings* settings(QGraphicsWebView* theWrappedObject) const; + QSizeF sizeHint(QGraphicsWebView* theWrappedObject, Qt::SizeHint which, const QSizeF& constraint) const; + QString title(QGraphicsWebView* theWrappedObject) const; + void triggerPageAction(QGraphicsWebView* theWrappedObject, QWebPage::WebAction action, bool checked = false); + void updateGeometry(QGraphicsWebView* theWrappedObject); + QUrl url(QGraphicsWebView* theWrappedObject) const; + void wheelEvent(QGraphicsWebView* theWrappedObject, QGraphicsSceneWheelEvent* arg__1); + qreal zoomFactor(QGraphicsWebView* theWrappedObject) const; +}; + + + + + +class PythonQtWrapper_QWebDatabase : public QObject +{ Q_OBJECT +public: +public slots: +QWebDatabase* new_QWebDatabase(const QWebDatabase& other); +void delete_QWebDatabase(QWebDatabase* obj) { delete obj; } + QString displayName(QWebDatabase* theWrappedObject) const; + qint64 expectedSize(QWebDatabase* theWrappedObject) const; + QString fileName(QWebDatabase* theWrappedObject) const; + QString name(QWebDatabase* theWrappedObject) const; + QWebDatabase* operator_assign(QWebDatabase* theWrappedObject, const QWebDatabase& other); + QWebSecurityOrigin origin(QWebDatabase* theWrappedObject) const; + void static_QWebDatabase_removeAllDatabases(); + void static_QWebDatabase_removeDatabase(const QWebDatabase& arg__1); + qint64 size(QWebDatabase* theWrappedObject) const; +}; + + + + + +class PythonQtWrapper_QWebElement : public QObject +{ Q_OBJECT +public: +Q_ENUMS(StyleResolveStrategy ) +enum StyleResolveStrategy{ + InlineStyle = QWebElement::InlineStyle, CascadedStyle = QWebElement::CascadedStyle, ComputedStyle = QWebElement::ComputedStyle}; +public slots: +QWebElement* new_QWebElement(); +QWebElement* new_QWebElement(const QWebElement& arg__1); +void delete_QWebElement(QWebElement* obj) { delete obj; } + void addClass(QWebElement* theWrappedObject, const QString& name); + void appendInside(QWebElement* theWrappedObject, const QString& markup); + void appendInside(QWebElement* theWrappedObject, const QWebElement& element); + void appendOutside(QWebElement* theWrappedObject, const QString& markup); + void appendOutside(QWebElement* theWrappedObject, const QWebElement& element); + QString attribute(QWebElement* theWrappedObject, const QString& name, const QString& defaultValue = QString()) const; + QString attributeNS(QWebElement* theWrappedObject, const QString& namespaceUri, const QString& name, const QString& defaultValue = QString()) const; + QStringList attributeNames(QWebElement* theWrappedObject, const QString& namespaceUri = QString()) const; + QStringList classes(QWebElement* theWrappedObject) const; + QWebElement clone(QWebElement* theWrappedObject) const; + QWebElement document(QWebElement* theWrappedObject) const; + void encloseContentsWith(QWebElement* theWrappedObject, const QString& markup); + void encloseContentsWith(QWebElement* theWrappedObject, const QWebElement& element); + void encloseWith(QWebElement* theWrappedObject, const QString& markup); + void encloseWith(QWebElement* theWrappedObject, const QWebElement& element); + QVariant evaluateJavaScript(QWebElement* theWrappedObject, const QString& scriptSource); + QWebElement findFirst(QWebElement* theWrappedObject, const QString& selectorQuery) const; + QWebElement firstChild(QWebElement* theWrappedObject) const; + QRect geometry(QWebElement* theWrappedObject) const; + bool hasAttribute(QWebElement* theWrappedObject, const QString& name) const; + bool hasAttributeNS(QWebElement* theWrappedObject, const QString& namespaceUri, const QString& name) const; + bool hasAttributes(QWebElement* theWrappedObject) const; + bool hasClass(QWebElement* theWrappedObject, const QString& name) const; + bool hasFocus(QWebElement* theWrappedObject) const; + bool isNull(QWebElement* theWrappedObject) const; + QWebElement lastChild(QWebElement* theWrappedObject) const; + QString localName(QWebElement* theWrappedObject) const; + QString namespaceUri(QWebElement* theWrappedObject) const; + QWebElement nextSibling(QWebElement* theWrappedObject) const; + bool __ne__(QWebElement* theWrappedObject, const QWebElement& o) const; + QWebElement* operator_assign(QWebElement* theWrappedObject, const QWebElement& arg__1); + bool __eq__(QWebElement* theWrappedObject, const QWebElement& o) const; + QWebElement parent(QWebElement* theWrappedObject) const; + QString prefix(QWebElement* theWrappedObject) const; + void prependInside(QWebElement* theWrappedObject, const QString& markup); + void prependInside(QWebElement* theWrappedObject, const QWebElement& element); + void prependOutside(QWebElement* theWrappedObject, const QString& markup); + void prependOutside(QWebElement* theWrappedObject, const QWebElement& element); + QWebElement previousSibling(QWebElement* theWrappedObject) const; + void removeAllChildren(QWebElement* theWrappedObject); + void removeAttribute(QWebElement* theWrappedObject, const QString& name); + void removeAttributeNS(QWebElement* theWrappedObject, const QString& namespaceUri, const QString& name); + void removeClass(QWebElement* theWrappedObject, const QString& name); + void removeFromDocument(QWebElement* theWrappedObject); + void render(QWebElement* theWrappedObject, QPainter* painter); + void replace(QWebElement* theWrappedObject, const QString& markup); + void replace(QWebElement* theWrappedObject, const QWebElement& element); + void setAttribute(QWebElement* theWrappedObject, const QString& name, const QString& value); + void setAttributeNS(QWebElement* theWrappedObject, const QString& namespaceUri, const QString& name, const QString& value); + void setFocus(QWebElement* theWrappedObject); + void setInnerXml(QWebElement* theWrappedObject, const QString& markup); + void setOuterXml(QWebElement* theWrappedObject, const QString& markup); + void setPlainText(QWebElement* theWrappedObject, const QString& text); + void setStyleProperty(QWebElement* theWrappedObject, const QString& name, const QString& value); + QString styleProperty(QWebElement* theWrappedObject, const QString& name, QWebElement::StyleResolveStrategy strategy) const; + QString tagName(QWebElement* theWrappedObject) const; + QWebElement* takeFromDocument(QWebElement* theWrappedObject); + QString toInnerXml(QWebElement* theWrappedObject) const; + QString toOuterXml(QWebElement* theWrappedObject) const; + QString toPlainText(QWebElement* theWrappedObject) const; + void toggleClass(QWebElement* theWrappedObject, const QString& name); + QWebFrame* webFrame(QWebElement* theWrappedObject) const; + bool __nonzero__(QWebElement* obj) { return !obj->isNull(); } +}; + + + + + +class PythonQtPublicPromoter_QWebFrame : public QWebFrame +{ public: +inline bool promoted_event(QEvent* arg__1) { return QWebFrame::event(arg__1); } +}; + +class PythonQtWrapper_QWebFrame : public QObject +{ Q_OBJECT +public: +public slots: + void addToJavaScriptWindowObject(QWebFrame* theWrappedObject, const QString& name, QObject* object); + QUrl baseUrl(QWebFrame* theWrappedObject) const; + QList childFrames(QWebFrame* theWrappedObject) const; + QSize contentsSize(QWebFrame* theWrappedObject) const; + QWebElement documentElement(QWebFrame* theWrappedObject) const; + bool event(QWebFrame* theWrappedObject, QEvent* arg__1); + QWebElement findFirstElement(QWebFrame* theWrappedObject, const QString& selectorQuery) const; + QString frameName(QWebFrame* theWrappedObject) const; + QRect geometry(QWebFrame* theWrappedObject) const; + bool hasFocus(QWebFrame* theWrappedObject) const; + QWebHitTestResult hitTestContent(QWebFrame* theWrappedObject, const QPoint& pos) const; + QIcon icon(QWebFrame* theWrappedObject) const; + void load(QWebFrame* theWrappedObject, const QNetworkRequest& request, QNetworkAccessManager::Operation operation = QNetworkAccessManager::GetOperation, const QByteArray& body = QByteArray()); + void load(QWebFrame* theWrappedObject, const QUrl& url); + QMultiMap metaData(QWebFrame* theWrappedObject) const; + QWebPage* page(QWebFrame* theWrappedObject) const; + QWebFrame* parentFrame(QWebFrame* theWrappedObject) const; + QPoint pos(QWebFrame* theWrappedObject) const; + void render(QWebFrame* theWrappedObject, QPainter* arg__1); + void render(QWebFrame* theWrappedObject, QPainter* arg__1, const QRegion& clip); + QString renderTreeDump(QWebFrame* theWrappedObject) const; + QUrl requestedUrl(QWebFrame* theWrappedObject) const; + void scroll(QWebFrame* theWrappedObject, int arg__1, int arg__2); + QRect scrollBarGeometry(QWebFrame* theWrappedObject, Qt::Orientation orientation) const; + int scrollBarMaximum(QWebFrame* theWrappedObject, Qt::Orientation orientation) const; + int scrollBarMinimum(QWebFrame* theWrappedObject, Qt::Orientation orientation) const; + Qt::ScrollBarPolicy scrollBarPolicy(QWebFrame* theWrappedObject, Qt::Orientation orientation) const; + int scrollBarValue(QWebFrame* theWrappedObject, Qt::Orientation orientation) const; + QPoint scrollPosition(QWebFrame* theWrappedObject) const; + QWebSecurityOrigin securityOrigin(QWebFrame* theWrappedObject) const; + void setContent(QWebFrame* theWrappedObject, const QByteArray& data, const QString& mimeType = QString(), const QUrl& baseUrl = QUrl()); + void setFocus(QWebFrame* theWrappedObject); + void setHtml(QWebFrame* theWrappedObject, const QString& html, const QUrl& baseUrl = QUrl()); + void setScrollBarPolicy(QWebFrame* theWrappedObject, Qt::Orientation orientation, Qt::ScrollBarPolicy policy); + void setScrollBarValue(QWebFrame* theWrappedObject, Qt::Orientation orientation, int value); + void setScrollPosition(QWebFrame* theWrappedObject, const QPoint& pos); + void setTextSizeMultiplier(QWebFrame* theWrappedObject, qreal factor); + void setUrl(QWebFrame* theWrappedObject, const QUrl& url); + void setZoomFactor(QWebFrame* theWrappedObject, qreal factor); + qreal textSizeMultiplier(QWebFrame* theWrappedObject) const; + QString title(QWebFrame* theWrappedObject) const; + QString toHtml(QWebFrame* theWrappedObject) const; + QString toPlainText(QWebFrame* theWrappedObject) const; + QUrl url(QWebFrame* theWrappedObject) const; + qreal zoomFactor(QWebFrame* theWrappedObject) const; +}; + + + + + +class PythonQtShell_QWebHistoryInterface : public QWebHistoryInterface +{ +public: + PythonQtShell_QWebHistoryInterface(QObject* parent = 0):QWebHistoryInterface(parent),_wrapper(NULL) {}; + +virtual void addHistoryEntry(const QString& url); +virtual void childEvent(QChildEvent* arg__1); +virtual void customEvent(QEvent* arg__1); +virtual bool event(QEvent* arg__1); +virtual bool eventFilter(QObject* arg__1, QEvent* arg__2); +virtual bool historyContains(const QString& url) const; +virtual void timerEvent(QTimerEvent* arg__1); + + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtWrapper_QWebHistoryInterface : public QObject +{ Q_OBJECT +public: +public slots: +QWebHistoryInterface* new_QWebHistoryInterface(QObject* parent = 0); +void delete_QWebHistoryInterface(QWebHistoryInterface* obj) { delete obj; } + QWebHistoryInterface* static_QWebHistoryInterface_defaultInterface(); + void static_QWebHistoryInterface_setDefaultInterface(QWebHistoryInterface* defaultInterface); +}; + + + + + +class PythonQtWrapper_QWebHitTestResult : public QObject +{ Q_OBJECT +public: +public slots: +QWebHitTestResult* new_QWebHitTestResult(); +QWebHitTestResult* new_QWebHitTestResult(const QWebHitTestResult& other); +void delete_QWebHitTestResult(QWebHitTestResult* obj) { delete obj; } + QString alternateText(QWebHitTestResult* theWrappedObject) const; + QRect boundingRect(QWebHitTestResult* theWrappedObject) const; + QWebElement element(QWebHitTestResult* theWrappedObject) const; + QWebElement enclosingBlockElement(QWebHitTestResult* theWrappedObject) const; + QWebFrame* frame(QWebHitTestResult* theWrappedObject) const; + QUrl imageUrl(QWebHitTestResult* theWrappedObject) const; + bool isContentEditable(QWebHitTestResult* theWrappedObject) const; + bool isContentSelected(QWebHitTestResult* theWrappedObject) const; + bool isNull(QWebHitTestResult* theWrappedObject) const; + QWebElement linkElement(QWebHitTestResult* theWrappedObject) const; + QWebFrame* linkTargetFrame(QWebHitTestResult* theWrappedObject) const; + QString linkText(QWebHitTestResult* theWrappedObject) const; + QUrl linkTitle(QWebHitTestResult* theWrappedObject) const; + QUrl linkUrl(QWebHitTestResult* theWrappedObject) const; + QPixmap pixmap(QWebHitTestResult* theWrappedObject) const; + QPoint pos(QWebHitTestResult* theWrappedObject) const; + QString title(QWebHitTestResult* theWrappedObject) const; + bool __nonzero__(QWebHitTestResult* obj) { return !obj->isNull(); } +}; + + + + + +class PythonQtShell_QWebInspector : public QWebInspector +{ +public: + PythonQtShell_QWebInspector(QWidget* parent = 0):QWebInspector(parent),_wrapper(NULL) {}; + +virtual void actionEvent(QActionEvent* arg__1); +virtual void changeEvent(QEvent* arg__1); +virtual void childEvent(QChildEvent* arg__1); +virtual void closeEvent(QCloseEvent* arg__1); +virtual void contextMenuEvent(QContextMenuEvent* arg__1); +virtual void customEvent(QEvent* arg__1); +virtual int devType() const; +virtual void dragEnterEvent(QDragEnterEvent* arg__1); +virtual void dragLeaveEvent(QDragLeaveEvent* arg__1); +virtual void dragMoveEvent(QDragMoveEvent* arg__1); +virtual void dropEvent(QDropEvent* arg__1); +virtual void enterEvent(QEvent* arg__1); +virtual bool event(QEvent* arg__1); +virtual bool eventFilter(QObject* arg__1, QEvent* arg__2); +virtual void focusInEvent(QFocusEvent* arg__1); +virtual bool focusNextPrevChild(bool next); +virtual void focusOutEvent(QFocusEvent* arg__1); +virtual int heightForWidth(int arg__1) const; +virtual void hideEvent(QHideEvent* event); +virtual void inputMethodEvent(QInputMethodEvent* arg__1); +virtual QVariant inputMethodQuery(Qt::InputMethodQuery arg__1) const; +virtual void keyPressEvent(QKeyEvent* arg__1); +virtual void keyReleaseEvent(QKeyEvent* arg__1); +virtual void languageChange(); +virtual void leaveEvent(QEvent* arg__1); +virtual int metric(QPaintDevice::PaintDeviceMetric arg__1) const; +virtual QSize minimumSizeHint() const; +virtual void mouseDoubleClickEvent(QMouseEvent* arg__1); +virtual void mouseMoveEvent(QMouseEvent* arg__1); +virtual void mousePressEvent(QMouseEvent* arg__1); +virtual void mouseReleaseEvent(QMouseEvent* arg__1); +virtual void moveEvent(QMoveEvent* arg__1); +virtual QPaintEngine* paintEngine() const; +virtual void paintEvent(QPaintEvent* arg__1); +virtual void resizeEvent(QResizeEvent* event); +virtual void showEvent(QShowEvent* event); +virtual void tabletEvent(QTabletEvent* arg__1); +virtual void timerEvent(QTimerEvent* arg__1); +virtual void wheelEvent(QWheelEvent* arg__1); + + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtPublicPromoter_QWebInspector : public QWebInspector +{ public: +inline bool promoted_event(QEvent* arg__1) { return QWebInspector::event(arg__1); } +inline void promoted_hideEvent(QHideEvent* event) { QWebInspector::hideEvent(event); } +inline void promoted_resizeEvent(QResizeEvent* event) { QWebInspector::resizeEvent(event); } +inline void promoted_showEvent(QShowEvent* event) { QWebInspector::showEvent(event); } +}; + +class PythonQtWrapper_QWebInspector : public QObject +{ Q_OBJECT +public: +public slots: +QWebInspector* new_QWebInspector(QWidget* parent = 0); +void delete_QWebInspector(QWebInspector* obj) { delete obj; } + bool event(QWebInspector* theWrappedObject, QEvent* arg__1); + void hideEvent(QWebInspector* theWrappedObject, QHideEvent* event); + QWebPage* page(QWebInspector* theWrappedObject) const; + void resizeEvent(QWebInspector* theWrappedObject, QResizeEvent* event); + void setPage(QWebInspector* theWrappedObject, QWebPage* page); + void showEvent(QWebInspector* theWrappedObject, QShowEvent* event); + QSize sizeHint(QWebInspector* theWrappedObject) const; +}; + + + + + +class PythonQtShell_QWebPage : public QWebPage +{ +public: + PythonQtShell_QWebPage(QObject* parent = 0):QWebPage(parent),_wrapper(NULL) {}; + +virtual bool acceptNavigationRequest(QWebFrame* frame, const QNetworkRequest& request, QWebPage::NavigationType type); +virtual void childEvent(QChildEvent* arg__1); +virtual QString chooseFile(QWebFrame* originatingFrame, const QString& oldFile); +virtual QObject* createPlugin(const QString& classid, const QUrl& url, const QStringList& paramNames, const QStringList& paramValues); +virtual QWebPage* createWindow(QWebPage::WebWindowType type); +virtual void customEvent(QEvent* arg__1); +virtual bool event(QEvent* arg__1); +virtual bool eventFilter(QObject* arg__1, QEvent* arg__2); +virtual bool extension(QWebPage::Extension extension, const QWebPage::ExtensionOption* option = 0, QWebPage::ExtensionReturn* output = 0); +virtual void javaScriptAlert(QWebFrame* originatingFrame, const QString& msg); +virtual bool javaScriptConfirm(QWebFrame* originatingFrame, const QString& msg); +virtual void javaScriptConsoleMessage(const QString& message, int lineNumber, const QString& sourceID); +virtual bool javaScriptPrompt(QWebFrame* originatingFrame, const QString& msg, const QString& defaultValue, QString* result); +virtual bool supportsExtension(QWebPage::Extension extension) const; +virtual void timerEvent(QTimerEvent* arg__1); +virtual void triggerAction(QWebPage::WebAction action, bool checked = false); +virtual QString userAgentForUrl(const QUrl& url) const; + + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtPublicPromoter_QWebPage : public QWebPage +{ public: +inline bool promoted_acceptNavigationRequest(QWebFrame* frame, const QNetworkRequest& request, QWebPage::NavigationType type) { return QWebPage::acceptNavigationRequest(frame, request, type); } +inline QString promoted_chooseFile(QWebFrame* originatingFrame, const QString& oldFile) { return QWebPage::chooseFile(originatingFrame, oldFile); } +inline QObject* promoted_createPlugin(const QString& classid, const QUrl& url, const QStringList& paramNames, const QStringList& paramValues) { return QWebPage::createPlugin(classid, url, paramNames, paramValues); } +inline QWebPage* promoted_createWindow(QWebPage::WebWindowType type) { return QWebPage::createWindow(type); } +inline bool promoted_event(QEvent* arg__1) { return QWebPage::event(arg__1); } +inline bool promoted_extension(QWebPage::Extension extension, const QWebPage::ExtensionOption* option = 0, QWebPage::ExtensionReturn* output = 0) { return QWebPage::extension(extension, option, output); } +inline void promoted_javaScriptAlert(QWebFrame* originatingFrame, const QString& msg) { QWebPage::javaScriptAlert(originatingFrame, msg); } +inline bool promoted_javaScriptConfirm(QWebFrame* originatingFrame, const QString& msg) { return QWebPage::javaScriptConfirm(originatingFrame, msg); } +inline void promoted_javaScriptConsoleMessage(const QString& message, int lineNumber, const QString& sourceID) { QWebPage::javaScriptConsoleMessage(message, lineNumber, sourceID); } +inline bool promoted_javaScriptPrompt(QWebFrame* originatingFrame, const QString& msg, const QString& defaultValue, QString* result) { return QWebPage::javaScriptPrompt(originatingFrame, msg, defaultValue, result); } +inline bool promoted_supportsExtension(QWebPage::Extension extension) const { return QWebPage::supportsExtension(extension); } +inline void promoted_triggerAction(QWebPage::WebAction action, bool checked = false) { QWebPage::triggerAction(action, checked); } +inline QString promoted_userAgentForUrl(const QUrl& url) const { return QWebPage::userAgentForUrl(url); } +}; + +class PythonQtWrapper_QWebPage : public QObject +{ Q_OBJECT +public: +Q_ENUMS(ErrorDomain WebWindowType FindFlag Extension ) +Q_FLAGS(FindFlags ) +enum ErrorDomain{ + QtNetwork = QWebPage::QtNetwork, Http = QWebPage::Http, WebKit = QWebPage::WebKit}; +enum WebWindowType{ + WebBrowserWindow = QWebPage::WebBrowserWindow, WebModalDialog = QWebPage::WebModalDialog}; +enum FindFlag{ + FindBackward = QWebPage::FindBackward, FindCaseSensitively = QWebPage::FindCaseSensitively, FindWrapsAroundDocument = QWebPage::FindWrapsAroundDocument, HighlightAllOccurrences = QWebPage::HighlightAllOccurrences}; +enum Extension{ + ChooseMultipleFilesExtension = QWebPage::ChooseMultipleFilesExtension, ErrorPageExtension = QWebPage::ErrorPageExtension}; +Q_DECLARE_FLAGS(FindFlags, FindFlag) +public slots: +QWebPage* new_QWebPage(QObject* parent = 0); +void delete_QWebPage(QWebPage* obj) { delete obj; } + bool acceptNavigationRequest(QWebPage* theWrappedObject, QWebFrame* frame, const QNetworkRequest& request, QWebPage::NavigationType type); + QAction* action(QWebPage* theWrappedObject, QWebPage::WebAction action) const; + quint64 bytesReceived(QWebPage* theWrappedObject) const; + QString chooseFile(QWebPage* theWrappedObject, QWebFrame* originatingFrame, const QString& oldFile); + QObject* createPlugin(QWebPage* theWrappedObject, const QString& classid, const QUrl& url, const QStringList& paramNames, const QStringList& paramValues); + QMenu* createStandardContextMenu(QWebPage* theWrappedObject); + QWebPage* createWindow(QWebPage* theWrappedObject, QWebPage::WebWindowType type); + QWebFrame* currentFrame(QWebPage* theWrappedObject) const; + bool event(QWebPage* theWrappedObject, QEvent* arg__1); + bool extension(QWebPage* theWrappedObject, QWebPage::Extension extension, const QWebPage::ExtensionOption* option = 0, QWebPage::ExtensionReturn* output = 0); + bool findText(QWebPage* theWrappedObject, const QString& subString, QWebPage::FindFlags options = 0); + bool focusNextPrevChild(QWebPage* theWrappedObject, bool next); + bool forwardUnsupportedContent(QWebPage* theWrappedObject) const; + QWebFrame* frameAt(QWebPage* theWrappedObject, const QPoint& pos) const; + QWebHistory* history(QWebPage* theWrappedObject) const; + QVariant inputMethodQuery(QWebPage* theWrappedObject, Qt::InputMethodQuery property) const; + bool isContentEditable(QWebPage* theWrappedObject) const; + bool isModified(QWebPage* theWrappedObject) const; + void javaScriptAlert(QWebPage* theWrappedObject, QWebFrame* originatingFrame, const QString& msg); + bool javaScriptConfirm(QWebPage* theWrappedObject, QWebFrame* originatingFrame, const QString& msg); + void javaScriptConsoleMessage(QWebPage* theWrappedObject, const QString& message, int lineNumber, const QString& sourceID); + bool javaScriptPrompt(QWebPage* theWrappedObject, QWebFrame* originatingFrame, const QString& msg, const QString& defaultValue, QString* result); + QWebPage::LinkDelegationPolicy linkDelegationPolicy(QWebPage* theWrappedObject) const; + QWebFrame* mainFrame(QWebPage* theWrappedObject) const; + QNetworkAccessManager* networkAccessManager(QWebPage* theWrappedObject) const; + QPalette palette(QWebPage* theWrappedObject) const; + QWebPluginFactory* pluginFactory(QWebPage* theWrappedObject) const; + QSize preferredContentsSize(QWebPage* theWrappedObject) const; + QString selectedText(QWebPage* theWrappedObject) const; + void setContentEditable(QWebPage* theWrappedObject, bool editable); + void setForwardUnsupportedContent(QWebPage* theWrappedObject, bool forward); + void setLinkDelegationPolicy(QWebPage* theWrappedObject, QWebPage::LinkDelegationPolicy policy); + void setNetworkAccessManager(QWebPage* theWrappedObject, QNetworkAccessManager* manager); + void setPalette(QWebPage* theWrappedObject, const QPalette& palette); + void setPluginFactory(QWebPage* theWrappedObject, QWebPluginFactory* factory); + void setPreferredContentsSize(QWebPage* theWrappedObject, const QSize& size) const; + void setView(QWebPage* theWrappedObject, QWidget* view); + void setViewportSize(QWebPage* theWrappedObject, const QSize& size) const; + QWebSettings* settings(QWebPage* theWrappedObject) const; + bool supportsExtension(QWebPage* theWrappedObject, QWebPage::Extension extension) const; + bool swallowContextMenuEvent(QWebPage* theWrappedObject, QContextMenuEvent* event); + quint64 totalBytes(QWebPage* theWrappedObject) const; + void triggerAction(QWebPage* theWrappedObject, QWebPage::WebAction action, bool checked = false); + QUndoStack* undoStack(QWebPage* theWrappedObject) const; + void updatePositionDependentActions(QWebPage* theWrappedObject, const QPoint& pos); + QString userAgentForUrl(QWebPage* theWrappedObject, const QUrl& url) const; + QWidget* view(QWebPage* theWrappedObject) const; + QSize viewportSize(QWebPage* theWrappedObject) const; +}; + + + + + +class PythonQtShell_QWebPage_ChooseMultipleFilesExtensionOption : public QWebPage::ChooseMultipleFilesExtensionOption +{ +public: + PythonQtShell_QWebPage_ChooseMultipleFilesExtensionOption():QWebPage::ChooseMultipleFilesExtensionOption(),_wrapper(NULL) {}; + + + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtWrapper_QWebPage_ChooseMultipleFilesExtensionOption : public QObject +{ Q_OBJECT +public: +public slots: +QWebPage::ChooseMultipleFilesExtensionOption* new_QWebPage_ChooseMultipleFilesExtensionOption(); +void delete_QWebPage_ChooseMultipleFilesExtensionOption(QWebPage::ChooseMultipleFilesExtensionOption* obj) { delete obj; } +void py_set_parentFrame(QWebPage::ChooseMultipleFilesExtensionOption* theWrappedObject, QWebFrame* parentFrame){ theWrappedObject->parentFrame = parentFrame; } +QWebFrame* py_get_parentFrame(QWebPage::ChooseMultipleFilesExtensionOption* theWrappedObject){ return theWrappedObject->parentFrame; } +void py_set_suggestedFileNames(QWebPage::ChooseMultipleFilesExtensionOption* theWrappedObject, QStringList suggestedFileNames){ theWrappedObject->suggestedFileNames = suggestedFileNames; } +QStringList py_get_suggestedFileNames(QWebPage::ChooseMultipleFilesExtensionOption* theWrappedObject){ return theWrappedObject->suggestedFileNames; } +}; + + + + + +class PythonQtShell_QWebPage_ChooseMultipleFilesExtensionReturn : public QWebPage::ChooseMultipleFilesExtensionReturn +{ +public: + PythonQtShell_QWebPage_ChooseMultipleFilesExtensionReturn():QWebPage::ChooseMultipleFilesExtensionReturn(),_wrapper(NULL) {}; + + + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtWrapper_QWebPage_ChooseMultipleFilesExtensionReturn : public QObject +{ Q_OBJECT +public: +public slots: +QWebPage::ChooseMultipleFilesExtensionReturn* new_QWebPage_ChooseMultipleFilesExtensionReturn(); +void delete_QWebPage_ChooseMultipleFilesExtensionReturn(QWebPage::ChooseMultipleFilesExtensionReturn* obj) { delete obj; } +void py_set_fileNames(QWebPage::ChooseMultipleFilesExtensionReturn* theWrappedObject, QStringList fileNames){ theWrappedObject->fileNames = fileNames; } +QStringList py_get_fileNames(QWebPage::ChooseMultipleFilesExtensionReturn* theWrappedObject){ return theWrappedObject->fileNames; } +}; + + + + + +class PythonQtShell_QWebPage_ErrorPageExtensionOption : public QWebPage::ErrorPageExtensionOption +{ +public: + PythonQtShell_QWebPage_ErrorPageExtensionOption():QWebPage::ErrorPageExtensionOption(),_wrapper(NULL) {}; + + + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtWrapper_QWebPage_ErrorPageExtensionOption : public QObject +{ Q_OBJECT +public: +public slots: +QWebPage::ErrorPageExtensionOption* new_QWebPage_ErrorPageExtensionOption(); +void delete_QWebPage_ErrorPageExtensionOption(QWebPage::ErrorPageExtensionOption* obj) { delete obj; } +void py_set_error(QWebPage::ErrorPageExtensionOption* theWrappedObject, int error){ theWrappedObject->error = error; } +int py_get_error(QWebPage::ErrorPageExtensionOption* theWrappedObject){ return theWrappedObject->error; } +void py_set_domain(QWebPage::ErrorPageExtensionOption* theWrappedObject, QWebPage::ErrorDomain domain){ theWrappedObject->domain = domain; } +QWebPage::ErrorDomain py_get_domain(QWebPage::ErrorPageExtensionOption* theWrappedObject){ return theWrappedObject->domain; } +void py_set_errorString(QWebPage::ErrorPageExtensionOption* theWrappedObject, QString errorString){ theWrappedObject->errorString = errorString; } +QString py_get_errorString(QWebPage::ErrorPageExtensionOption* theWrappedObject){ return theWrappedObject->errorString; } +void py_set_url(QWebPage::ErrorPageExtensionOption* theWrappedObject, QUrl url){ theWrappedObject->url = url; } +QUrl py_get_url(QWebPage::ErrorPageExtensionOption* theWrappedObject){ return theWrappedObject->url; } +void py_set_frame(QWebPage::ErrorPageExtensionOption* theWrappedObject, QWebFrame* frame){ theWrappedObject->frame = frame; } +QWebFrame* py_get_frame(QWebPage::ErrorPageExtensionOption* theWrappedObject){ return theWrappedObject->frame; } +}; + + + + + +class PythonQtShell_QWebPage_ErrorPageExtensionReturn : public QWebPage::ErrorPageExtensionReturn +{ +public: + PythonQtShell_QWebPage_ErrorPageExtensionReturn():QWebPage::ErrorPageExtensionReturn(),_wrapper(NULL) {}; + + + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtWrapper_QWebPage_ErrorPageExtensionReturn : public QObject +{ Q_OBJECT +public: +public slots: +QWebPage::ErrorPageExtensionReturn* new_QWebPage_ErrorPageExtensionReturn(); +void delete_QWebPage_ErrorPageExtensionReturn(QWebPage::ErrorPageExtensionReturn* obj) { delete obj; } +void py_set_baseUrl(QWebPage::ErrorPageExtensionReturn* theWrappedObject, QUrl baseUrl){ theWrappedObject->baseUrl = baseUrl; } +QUrl py_get_baseUrl(QWebPage::ErrorPageExtensionReturn* theWrappedObject){ return theWrappedObject->baseUrl; } +void py_set_contentType(QWebPage::ErrorPageExtensionReturn* theWrappedObject, QString contentType){ theWrappedObject->contentType = contentType; } +QString py_get_contentType(QWebPage::ErrorPageExtensionReturn* theWrappedObject){ return theWrappedObject->contentType; } +void py_set_encoding(QWebPage::ErrorPageExtensionReturn* theWrappedObject, QString encoding){ theWrappedObject->encoding = encoding; } +QString py_get_encoding(QWebPage::ErrorPageExtensionReturn* theWrappedObject){ return theWrappedObject->encoding; } +void py_set_content(QWebPage::ErrorPageExtensionReturn* theWrappedObject, QByteArray content){ theWrappedObject->content = content; } +QByteArray py_get_content(QWebPage::ErrorPageExtensionReturn* theWrappedObject){ return theWrappedObject->content; } +}; + + + + + +class PythonQtShell_QWebPage_ExtensionOption : public QWebPage::ExtensionOption +{ +public: + PythonQtShell_QWebPage_ExtensionOption():QWebPage::ExtensionOption(),_wrapper(NULL) {}; + + + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtWrapper_QWebPage_ExtensionOption : public QObject +{ Q_OBJECT +public: +public slots: +QWebPage::ExtensionOption* new_QWebPage_ExtensionOption(); +void delete_QWebPage_ExtensionOption(QWebPage::ExtensionOption* obj) { delete obj; } +}; + + + + + +class PythonQtShell_QWebPage_ExtensionReturn : public QWebPage::ExtensionReturn +{ +public: + PythonQtShell_QWebPage_ExtensionReturn():QWebPage::ExtensionReturn(),_wrapper(NULL) {}; + + + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtWrapper_QWebPage_ExtensionReturn : public QObject +{ Q_OBJECT +public: +public slots: +QWebPage::ExtensionReturn* new_QWebPage_ExtensionReturn(); +void delete_QWebPage_ExtensionReturn(QWebPage::ExtensionReturn* obj) { delete obj; } +}; + + + + + +class PythonQtShell_QWebPluginFactory : public QWebPluginFactory +{ +public: + PythonQtShell_QWebPluginFactory(QObject* parent = 0):QWebPluginFactory(parent),_wrapper(NULL) {}; + +virtual void childEvent(QChildEvent* arg__1); +virtual QObject* create(const QString& mimeType, const QUrl& arg__2, const QStringList& argumentNames, const QStringList& argumentValues) const; +virtual void customEvent(QEvent* arg__1); +virtual bool event(QEvent* arg__1); +virtual bool eventFilter(QObject* arg__1, QEvent* arg__2); +virtual bool extension(QWebPluginFactory::Extension extension, const QWebPluginFactory::ExtensionOption* option = 0, QWebPluginFactory::ExtensionReturn* output = 0); +virtual QList plugins() const; +virtual void refreshPlugins(); +virtual bool supportsExtension(QWebPluginFactory::Extension extension) const; +virtual void timerEvent(QTimerEvent* arg__1); + + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtPublicPromoter_QWebPluginFactory : public QWebPluginFactory +{ public: +inline bool promoted_extension(QWebPluginFactory::Extension extension, const QWebPluginFactory::ExtensionOption* option = 0, QWebPluginFactory::ExtensionReturn* output = 0) { return QWebPluginFactory::extension(extension, option, output); } +inline void promoted_refreshPlugins() { QWebPluginFactory::refreshPlugins(); } +inline bool promoted_supportsExtension(QWebPluginFactory::Extension extension) const { return QWebPluginFactory::supportsExtension(extension); } +}; + +class PythonQtWrapper_QWebPluginFactory : public QObject +{ Q_OBJECT +public: +Q_ENUMS(Extension ) +enum Extension{ +}; +public slots: +QWebPluginFactory* new_QWebPluginFactory(QObject* parent = 0); +void delete_QWebPluginFactory(QWebPluginFactory* obj) { delete obj; } + bool extension(QWebPluginFactory* theWrappedObject, QWebPluginFactory::Extension extension, const QWebPluginFactory::ExtensionOption* option = 0, QWebPluginFactory::ExtensionReturn* output = 0); + void refreshPlugins(QWebPluginFactory* theWrappedObject); + bool supportsExtension(QWebPluginFactory* theWrappedObject, QWebPluginFactory::Extension extension) const; +}; + + + + + +class PythonQtShell_QWebPluginFactory_ExtensionOption : public QWebPluginFactory::ExtensionOption +{ +public: + PythonQtShell_QWebPluginFactory_ExtensionOption():QWebPluginFactory::ExtensionOption(),_wrapper(NULL) {}; + + + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtWrapper_QWebPluginFactory_ExtensionOption : public QObject +{ Q_OBJECT +public: +public slots: +QWebPluginFactory::ExtensionOption* new_QWebPluginFactory_ExtensionOption(); +void delete_QWebPluginFactory_ExtensionOption(QWebPluginFactory::ExtensionOption* obj) { delete obj; } +}; + + + + + +class PythonQtShell_QWebPluginFactory_ExtensionReturn : public QWebPluginFactory::ExtensionReturn +{ +public: + PythonQtShell_QWebPluginFactory_ExtensionReturn():QWebPluginFactory::ExtensionReturn(),_wrapper(NULL) {}; + + + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtWrapper_QWebPluginFactory_ExtensionReturn : public QObject +{ Q_OBJECT +public: +public slots: +QWebPluginFactory::ExtensionReturn* new_QWebPluginFactory_ExtensionReturn(); +void delete_QWebPluginFactory_ExtensionReturn(QWebPluginFactory::ExtensionReturn* obj) { delete obj; } +}; + + + + + +class PythonQtShell_QWebPluginFactory_MimeType : public QWebPluginFactory::MimeType +{ +public: + PythonQtShell_QWebPluginFactory_MimeType():QWebPluginFactory::MimeType(),_wrapper(NULL) {}; + + + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtWrapper_QWebPluginFactory_MimeType : public QObject +{ Q_OBJECT +public: +public slots: +QWebPluginFactory::MimeType* new_QWebPluginFactory_MimeType(); +QWebPluginFactory::MimeType* new_QWebPluginFactory_MimeType(const QWebPluginFactory::MimeType& other) { +PythonQtShell_QWebPluginFactory_MimeType* a = new PythonQtShell_QWebPluginFactory_MimeType(); +*((QWebPluginFactory::MimeType*)a) = other; +return a; } +void delete_QWebPluginFactory_MimeType(QWebPluginFactory::MimeType* obj) { delete obj; } + bool __ne__(QWebPluginFactory::MimeType* theWrappedObject, const QWebPluginFactory::MimeType& other) const; + bool __eq__(QWebPluginFactory::MimeType* theWrappedObject, const QWebPluginFactory::MimeType& other) const; +void py_set_description(QWebPluginFactory::MimeType* theWrappedObject, QString description){ theWrappedObject->description = description; } +QString py_get_description(QWebPluginFactory::MimeType* theWrappedObject){ return theWrappedObject->description; } +void py_set_name(QWebPluginFactory::MimeType* theWrappedObject, QString name){ theWrappedObject->name = name; } +QString py_get_name(QWebPluginFactory::MimeType* theWrappedObject){ return theWrappedObject->name; } +void py_set_fileExtensions(QWebPluginFactory::MimeType* theWrappedObject, QStringList fileExtensions){ theWrappedObject->fileExtensions = fileExtensions; } +QStringList py_get_fileExtensions(QWebPluginFactory::MimeType* theWrappedObject){ return theWrappedObject->fileExtensions; } +}; + + + + + +class PythonQtShell_QWebPluginFactory_Plugin : public QWebPluginFactory::Plugin +{ +public: + PythonQtShell_QWebPluginFactory_Plugin():QWebPluginFactory::Plugin(),_wrapper(NULL) {}; + + + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtWrapper_QWebPluginFactory_Plugin : public QObject +{ Q_OBJECT +public: +public slots: +QWebPluginFactory::Plugin* new_QWebPluginFactory_Plugin(); +QWebPluginFactory::Plugin* new_QWebPluginFactory_Plugin(const QWebPluginFactory::Plugin& other) { +PythonQtShell_QWebPluginFactory_Plugin* a = new PythonQtShell_QWebPluginFactory_Plugin(); +*((QWebPluginFactory::Plugin*)a) = other; +return a; } +void delete_QWebPluginFactory_Plugin(QWebPluginFactory::Plugin* obj) { delete obj; } +void py_set_description(QWebPluginFactory::Plugin* theWrappedObject, QString description){ theWrappedObject->description = description; } +QString py_get_description(QWebPluginFactory::Plugin* theWrappedObject){ return theWrappedObject->description; } +void py_set_name(QWebPluginFactory::Plugin* theWrappedObject, QString name){ theWrappedObject->name = name; } +QString py_get_name(QWebPluginFactory::Plugin* theWrappedObject){ return theWrappedObject->name; } +}; + + + + + +class PythonQtWrapper_QWebSecurityOrigin : public QObject +{ Q_OBJECT +public: +public slots: +QWebSecurityOrigin* new_QWebSecurityOrigin(const QWebSecurityOrigin& other); +void delete_QWebSecurityOrigin(QWebSecurityOrigin* obj) { delete obj; } + void static_QWebSecurityOrigin_addLocalScheme(const QString& scheme); + QList static_QWebSecurityOrigin_allOrigins(); + qint64 databaseQuota(QWebSecurityOrigin* theWrappedObject) const; + qint64 databaseUsage(QWebSecurityOrigin* theWrappedObject) const; + QList databases(QWebSecurityOrigin* theWrappedObject) const; + QString host(QWebSecurityOrigin* theWrappedObject) const; + QStringList static_QWebSecurityOrigin_localSchemes(); + QWebSecurityOrigin* operator_assign(QWebSecurityOrigin* theWrappedObject, const QWebSecurityOrigin& other); + int port(QWebSecurityOrigin* theWrappedObject) const; + void static_QWebSecurityOrigin_removeLocalScheme(const QString& scheme); + QString scheme(QWebSecurityOrigin* theWrappedObject) const; + void setDatabaseQuota(QWebSecurityOrigin* theWrappedObject, qint64 quota); +}; + + + + + +class PythonQtWrapper_QWebSettings : public QObject +{ Q_OBJECT +public: +Q_ENUMS(FontSize WebGraphic FontFamily WebAttribute ) +enum FontSize{ + MinimumFontSize = QWebSettings::MinimumFontSize, MinimumLogicalFontSize = QWebSettings::MinimumLogicalFontSize, DefaultFontSize = QWebSettings::DefaultFontSize, DefaultFixedFontSize = QWebSettings::DefaultFixedFontSize}; +enum WebGraphic{ + MissingImageGraphic = QWebSettings::MissingImageGraphic, MissingPluginGraphic = QWebSettings::MissingPluginGraphic, DefaultFrameIconGraphic = QWebSettings::DefaultFrameIconGraphic, TextAreaSizeGripCornerGraphic = QWebSettings::TextAreaSizeGripCornerGraphic}; +enum FontFamily{ + StandardFont = QWebSettings::StandardFont, FixedFont = QWebSettings::FixedFont, SerifFont = QWebSettings::SerifFont, SansSerifFont = QWebSettings::SansSerifFont, CursiveFont = QWebSettings::CursiveFont, FantasyFont = QWebSettings::FantasyFont}; +enum WebAttribute{ + AutoLoadImages = QWebSettings::AutoLoadImages, JavascriptEnabled = QWebSettings::JavascriptEnabled, JavaEnabled = QWebSettings::JavaEnabled, PluginsEnabled = QWebSettings::PluginsEnabled, PrivateBrowsingEnabled = QWebSettings::PrivateBrowsingEnabled, JavascriptCanOpenWindows = QWebSettings::JavascriptCanOpenWindows, JavascriptCanAccessClipboard = QWebSettings::JavascriptCanAccessClipboard, DeveloperExtrasEnabled = QWebSettings::DeveloperExtrasEnabled, LinksIncludedInFocusChain = QWebSettings::LinksIncludedInFocusChain, ZoomTextOnly = QWebSettings::ZoomTextOnly, PrintElementBackgrounds = QWebSettings::PrintElementBackgrounds, OfflineStorageDatabaseEnabled = QWebSettings::OfflineStorageDatabaseEnabled, OfflineWebApplicationCacheEnabled = QWebSettings::OfflineWebApplicationCacheEnabled, LocalStorageEnabled = QWebSettings::LocalStorageEnabled, LocalStorageDatabaseEnabled = QWebSettings::LocalStorageDatabaseEnabled, LocalContentCanAccessRemoteUrls = QWebSettings::LocalContentCanAccessRemoteUrls, DnsPrefetchEnabled = QWebSettings::DnsPrefetchEnabled}; +public slots: + void static_QWebSettings_clearIconDatabase(); + void static_QWebSettings_clearMemoryCaches(); + QString defaultTextEncoding(QWebSettings* theWrappedObject) const; + void static_QWebSettings_enablePersistentStorage(const QString& path = QString()); + QString fontFamily(QWebSettings* theWrappedObject, QWebSettings::FontFamily which) const; + int fontSize(QWebSettings* theWrappedObject, QWebSettings::FontSize type) const; + QWebSettings* static_QWebSettings_globalSettings(); + QString static_QWebSettings_iconDatabasePath(); + QIcon static_QWebSettings_iconForUrl(const QUrl& url); + QString localStoragePath(QWebSettings* theWrappedObject) const; + int static_QWebSettings_maximumPagesInCache(); + qint64 static_QWebSettings_offlineStorageDefaultQuota(); + QString static_QWebSettings_offlineStoragePath(); + QString static_QWebSettings_offlineWebApplicationCachePath(); + qint64 static_QWebSettings_offlineWebApplicationCacheQuota(); + void resetAttribute(QWebSettings* theWrappedObject, QWebSettings::WebAttribute attr); + void resetFontFamily(QWebSettings* theWrappedObject, QWebSettings::FontFamily which); + void resetFontSize(QWebSettings* theWrappedObject, QWebSettings::FontSize type); + void setAttribute(QWebSettings* theWrappedObject, QWebSettings::WebAttribute attr, bool on); + void setDefaultTextEncoding(QWebSettings* theWrappedObject, const QString& encoding); + void setFontFamily(QWebSettings* theWrappedObject, QWebSettings::FontFamily which, const QString& family); + void setFontSize(QWebSettings* theWrappedObject, QWebSettings::FontSize type, int size); + void static_QWebSettings_setIconDatabasePath(const QString& location); + void setLocalStoragePath(QWebSettings* theWrappedObject, const QString& path); + void static_QWebSettings_setMaximumPagesInCache(int pages); + void static_QWebSettings_setObjectCacheCapacities(int cacheMinDeadCapacity, int cacheMaxDead, int totalCapacity); + void static_QWebSettings_setOfflineStorageDefaultQuota(qint64 maximumSize); + void static_QWebSettings_setOfflineStoragePath(const QString& path); + void static_QWebSettings_setOfflineWebApplicationCachePath(const QString& path); + void static_QWebSettings_setOfflineWebApplicationCacheQuota(qint64 maximumSize); + void setUserStyleSheetUrl(QWebSettings* theWrappedObject, const QUrl& location); + void static_QWebSettings_setWebGraphic(QWebSettings::WebGraphic type, const QPixmap& graphic); + bool testAttribute(QWebSettings* theWrappedObject, QWebSettings::WebAttribute attr) const; + QUrl userStyleSheetUrl(QWebSettings* theWrappedObject) const; + QPixmap static_QWebSettings_webGraphic(QWebSettings::WebGraphic type); +}; + + + + + +class PythonQtShell_QWebView : public QWebView +{ +public: + PythonQtShell_QWebView(QWidget* parent = 0):QWebView(parent),_wrapper(NULL) {}; + +virtual void actionEvent(QActionEvent* arg__1); +virtual void changeEvent(QEvent* arg__1); +virtual void childEvent(QChildEvent* arg__1); +virtual void closeEvent(QCloseEvent* arg__1); +virtual void contextMenuEvent(QContextMenuEvent* arg__1); +virtual QWebView* createWindow(QWebPage::WebWindowType type); +virtual void customEvent(QEvent* arg__1); +virtual int devType() const; +virtual void dragEnterEvent(QDragEnterEvent* arg__1); +virtual void dragLeaveEvent(QDragLeaveEvent* arg__1); +virtual void dragMoveEvent(QDragMoveEvent* arg__1); +virtual void dropEvent(QDropEvent* arg__1); +virtual void enterEvent(QEvent* arg__1); +virtual bool event(QEvent* arg__1); +virtual bool eventFilter(QObject* arg__1, QEvent* arg__2); +virtual void focusInEvent(QFocusEvent* arg__1); +virtual bool focusNextPrevChild(bool next); +virtual void focusOutEvent(QFocusEvent* arg__1); +virtual int heightForWidth(int arg__1) const; +virtual void hideEvent(QHideEvent* arg__1); +virtual void inputMethodEvent(QInputMethodEvent* arg__1); +virtual QVariant inputMethodQuery(Qt::InputMethodQuery property) const; +virtual void keyPressEvent(QKeyEvent* arg__1); +virtual void keyReleaseEvent(QKeyEvent* arg__1); +virtual void languageChange(); +virtual void leaveEvent(QEvent* arg__1); +virtual int metric(QPaintDevice::PaintDeviceMetric arg__1) const; +virtual QSize minimumSizeHint() const; +virtual void mouseDoubleClickEvent(QMouseEvent* arg__1); +virtual void mouseMoveEvent(QMouseEvent* arg__1); +virtual void mousePressEvent(QMouseEvent* arg__1); +virtual void mouseReleaseEvent(QMouseEvent* arg__1); +virtual void moveEvent(QMoveEvent* arg__1); +virtual QPaintEngine* paintEngine() const; +virtual void paintEvent(QPaintEvent* arg__1); +virtual void resizeEvent(QResizeEvent* arg__1); +virtual void showEvent(QShowEvent* arg__1); +virtual void tabletEvent(QTabletEvent* arg__1); +virtual void timerEvent(QTimerEvent* arg__1); +virtual void wheelEvent(QWheelEvent* arg__1); + + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtPublicPromoter_QWebView : public QWebView +{ public: +inline void promoted_changeEvent(QEvent* arg__1) { QWebView::changeEvent(arg__1); } +inline void promoted_contextMenuEvent(QContextMenuEvent* arg__1) { QWebView::contextMenuEvent(arg__1); } +inline QWebView* promoted_createWindow(QWebPage::WebWindowType type) { return QWebView::createWindow(type); } +inline void promoted_dragEnterEvent(QDragEnterEvent* arg__1) { QWebView::dragEnterEvent(arg__1); } +inline void promoted_dragLeaveEvent(QDragLeaveEvent* arg__1) { QWebView::dragLeaveEvent(arg__1); } +inline void promoted_dragMoveEvent(QDragMoveEvent* arg__1) { QWebView::dragMoveEvent(arg__1); } +inline void promoted_dropEvent(QDropEvent* arg__1) { QWebView::dropEvent(arg__1); } +inline bool promoted_event(QEvent* arg__1) { return QWebView::event(arg__1); } +inline void promoted_focusInEvent(QFocusEvent* arg__1) { QWebView::focusInEvent(arg__1); } +inline bool promoted_focusNextPrevChild(bool next) { return QWebView::focusNextPrevChild(next); } +inline void promoted_focusOutEvent(QFocusEvent* arg__1) { QWebView::focusOutEvent(arg__1); } +inline void promoted_inputMethodEvent(QInputMethodEvent* arg__1) { QWebView::inputMethodEvent(arg__1); } +inline QVariant promoted_inputMethodQuery(Qt::InputMethodQuery property) const { return QWebView::inputMethodQuery(property); } +inline void promoted_keyPressEvent(QKeyEvent* arg__1) { QWebView::keyPressEvent(arg__1); } +inline void promoted_keyReleaseEvent(QKeyEvent* arg__1) { QWebView::keyReleaseEvent(arg__1); } +inline void promoted_mouseDoubleClickEvent(QMouseEvent* arg__1) { QWebView::mouseDoubleClickEvent(arg__1); } +inline void promoted_mouseMoveEvent(QMouseEvent* arg__1) { QWebView::mouseMoveEvent(arg__1); } +inline void promoted_mousePressEvent(QMouseEvent* arg__1) { QWebView::mousePressEvent(arg__1); } +inline void promoted_mouseReleaseEvent(QMouseEvent* arg__1) { QWebView::mouseReleaseEvent(arg__1); } +inline void promoted_paintEvent(QPaintEvent* arg__1) { QWebView::paintEvent(arg__1); } +inline void promoted_resizeEvent(QResizeEvent* arg__1) { QWebView::resizeEvent(arg__1); } +inline void promoted_wheelEvent(QWheelEvent* arg__1) { QWebView::wheelEvent(arg__1); } +}; + +class PythonQtWrapper_QWebView : public QObject +{ Q_OBJECT +public: +public slots: +QWebView* new_QWebView(QWidget* parent = 0); +void delete_QWebView(QWebView* obj) { delete obj; } + void changeEvent(QWebView* theWrappedObject, QEvent* arg__1); + void contextMenuEvent(QWebView* theWrappedObject, QContextMenuEvent* arg__1); + QWebView* createWindow(QWebView* theWrappedObject, QWebPage::WebWindowType type); + void dragEnterEvent(QWebView* theWrappedObject, QDragEnterEvent* arg__1); + void dragLeaveEvent(QWebView* theWrappedObject, QDragLeaveEvent* arg__1); + void dragMoveEvent(QWebView* theWrappedObject, QDragMoveEvent* arg__1); + void dropEvent(QWebView* theWrappedObject, QDropEvent* arg__1); + bool event(QWebView* theWrappedObject, QEvent* arg__1); + bool findText(QWebView* theWrappedObject, const QString& subString, QWebPage::FindFlags options = 0); + void focusInEvent(QWebView* theWrappedObject, QFocusEvent* arg__1); + bool focusNextPrevChild(QWebView* theWrappedObject, bool next); + void focusOutEvent(QWebView* theWrappedObject, QFocusEvent* arg__1); + QWebHistory* history(QWebView* theWrappedObject) const; + QIcon icon(QWebView* theWrappedObject) const; + void inputMethodEvent(QWebView* theWrappedObject, QInputMethodEvent* arg__1); + QVariant inputMethodQuery(QWebView* theWrappedObject, Qt::InputMethodQuery property) const; + bool isModified(QWebView* theWrappedObject) const; + void keyPressEvent(QWebView* theWrappedObject, QKeyEvent* arg__1); + void keyReleaseEvent(QWebView* theWrappedObject, QKeyEvent* arg__1); + void load(QWebView* theWrappedObject, const QNetworkRequest& request, QNetworkAccessManager::Operation operation = QNetworkAccessManager::GetOperation, const QByteArray& body = QByteArray()); + void load(QWebView* theWrappedObject, const QUrl& url); + void mouseDoubleClickEvent(QWebView* theWrappedObject, QMouseEvent* arg__1); + void mouseMoveEvent(QWebView* theWrappedObject, QMouseEvent* arg__1); + void mousePressEvent(QWebView* theWrappedObject, QMouseEvent* arg__1); + void mouseReleaseEvent(QWebView* theWrappedObject, QMouseEvent* arg__1); + QWebPage* page(QWebView* theWrappedObject) const; + QAction* pageAction(QWebView* theWrappedObject, QWebPage::WebAction action) const; + void paintEvent(QWebView* theWrappedObject, QPaintEvent* arg__1); + QPainter::RenderHints renderHints(QWebView* theWrappedObject) const; + void resizeEvent(QWebView* theWrappedObject, QResizeEvent* arg__1); + QString selectedText(QWebView* theWrappedObject) const; + void setContent(QWebView* theWrappedObject, const QByteArray& data, const QString& mimeType = QString(), const QUrl& baseUrl = QUrl()); + void setHtml(QWebView* theWrappedObject, const QString& html, const QUrl& baseUrl = QUrl()); + void setPage(QWebView* theWrappedObject, QWebPage* page); + void setRenderHint(QWebView* theWrappedObject, QPainter::RenderHint hint, bool enabled = true); + void setRenderHints(QWebView* theWrappedObject, QPainter::RenderHints hints); + void setTextSizeMultiplier(QWebView* theWrappedObject, qreal factor); + void setUrl(QWebView* theWrappedObject, const QUrl& url); + void setZoomFactor(QWebView* theWrappedObject, qreal factor); + QWebSettings* settings(QWebView* theWrappedObject) const; + QSize sizeHint(QWebView* theWrappedObject) const; + qreal textSizeMultiplier(QWebView* theWrappedObject) const; + QString title(QWebView* theWrappedObject) const; + void triggerPageAction(QWebView* theWrappedObject, QWebPage::WebAction action, bool checked = false); + QUrl url(QWebView* theWrappedObject) const; + void wheelEvent(QWebView* theWrappedObject, QWheelEvent* arg__1); + qreal zoomFactor(QWebView* theWrappedObject) const; +}; + + diff --git a/generated_cpp_47/com_trolltech_qt_webkit/com_trolltech_qt_webkit_init.cpp b/generated_cpp_47/com_trolltech_qt_webkit/com_trolltech_qt_webkit_init.cpp new file mode 100644 index 00000000..80e5f0f6 --- /dev/null +++ b/generated_cpp_47/com_trolltech_qt_webkit/com_trolltech_qt_webkit_init.cpp @@ -0,0 +1,29 @@ +#include +#include "com_trolltech_qt_webkit0.h" + + +void PythonQt_init_QtWebKit(PyObject* module) { +PythonQt::priv()->registerClass(&QGraphicsWebView::staticMetaObject, "QtWebKit", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); +PythonQt::priv()->registerCPPClass("QWebDatabase", "", "QtWebKit", PythonQtCreateObject, NULL, module, 0); +PythonQt::priv()->registerCPPClass("QWebElement", "", "QtWebKit", PythonQtCreateObject, NULL, module, PythonQt::Type_NonZero|PythonQt::Type_RichCompare); +PythonQt::priv()->registerClass(&QWebFrame::staticMetaObject, "QtWebKit", PythonQtCreateObject, NULL, module, 0); +PythonQt::priv()->registerClass(&QWebHistoryInterface::staticMetaObject, "QtWebKit", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); +PythonQt::priv()->registerCPPClass("QWebHitTestResult", "", "QtWebKit", PythonQtCreateObject, NULL, module, PythonQt::Type_NonZero); +PythonQt::priv()->registerClass(&QWebInspector::staticMetaObject, "QtWebKit", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); +PythonQt::priv()->registerClass(&QWebPage::staticMetaObject, "QtWebKit", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); +PythonQt::priv()->registerCPPClass("QWebPage::ChooseMultipleFilesExtensionOption", "QWebPage::ExtensionOption", "QtWebKit", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); +PythonQt::priv()->registerCPPClass("QWebPage::ChooseMultipleFilesExtensionReturn", "QWebPage::ExtensionReturn", "QtWebKit", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); +PythonQt::priv()->registerCPPClass("QWebPage::ErrorPageExtensionOption", "QWebPage::ExtensionOption", "QtWebKit", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); +PythonQt::priv()->registerCPPClass("QWebPage::ErrorPageExtensionReturn", "QWebPage::ExtensionReturn", "QtWebKit", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); +PythonQt::priv()->registerCPPClass("QWebPage::ExtensionOption", "", "QtWebKit", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); +PythonQt::priv()->registerCPPClass("QWebPage::ExtensionReturn", "", "QtWebKit", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); +PythonQt::priv()->registerClass(&QWebPluginFactory::staticMetaObject, "QtWebKit", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); +PythonQt::priv()->registerCPPClass("QWebPluginFactory::ExtensionOption", "", "QtWebKit", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); +PythonQt::priv()->registerCPPClass("QWebPluginFactory::ExtensionReturn", "", "QtWebKit", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); +PythonQt::priv()->registerCPPClass("QWebPluginFactory::MimeType", "", "QtWebKit", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, PythonQt::Type_RichCompare); +PythonQt::priv()->registerCPPClass("QWebPluginFactory::Plugin", "", "QtWebKit", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); +PythonQt::priv()->registerCPPClass("QWebSecurityOrigin", "", "QtWebKit", PythonQtCreateObject, NULL, module, 0); +PythonQt::priv()->registerCPPClass("QWebSettings", "", "QtWebKit", PythonQtCreateObject, NULL, module, 0); +PythonQt::priv()->registerClass(&QWebView::staticMetaObject, "QtWebKit", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); + +} diff --git a/generated_cpp_47/com_trolltech_qt_xml/com_trolltech_qt_xml.pri b/generated_cpp_47/com_trolltech_qt_xml/com_trolltech_qt_xml.pri new file mode 100644 index 00000000..222476a5 --- /dev/null +++ b/generated_cpp_47/com_trolltech_qt_xml/com_trolltech_qt_xml.pri @@ -0,0 +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_47/com_trolltech_qt_xml/com_trolltech_qt_xml0.cpp b/generated_cpp_47/com_trolltech_qt_xml/com_trolltech_qt_xml0.cpp new file mode 100644 index 00000000..37f7d48b --- /dev/null +++ b/generated_cpp_47/com_trolltech_qt_xml/com_trolltech_qt_xml0.cpp @@ -0,0 +1,4444 @@ +#include "com_trolltech_qt_xml0.h" +#include +#include +#include +#include +#include +#include +#include +#include +#include + +QDomAttr* PythonQtWrapper_QDomAttr::new_QDomAttr() +{ +return new QDomAttr(); } + +QDomAttr* PythonQtWrapper_QDomAttr::new_QDomAttr(const QDomAttr& x) +{ +return new QDomAttr(x); } + +QString PythonQtWrapper_QDomAttr::name(QDomAttr* theWrappedObject) const +{ + return ( theWrappedObject->name()); +} + +QDomElement PythonQtWrapper_QDomAttr::ownerElement(QDomAttr* theWrappedObject) const +{ + return ( theWrappedObject->ownerElement()); +} + +void PythonQtWrapper_QDomAttr::setValue(QDomAttr* theWrappedObject, const QString& arg__1) +{ + ( theWrappedObject->setValue(arg__1)); +} + +bool PythonQtWrapper_QDomAttr::specified(QDomAttr* theWrappedObject) const +{ + return ( theWrappedObject->specified()); +} + +QString PythonQtWrapper_QDomAttr::value(QDomAttr* theWrappedObject) const +{ + return ( theWrappedObject->value()); +} + + + +QDomCDATASection* PythonQtWrapper_QDomCDATASection::new_QDomCDATASection() +{ +return new QDomCDATASection(); } + +QDomCDATASection* PythonQtWrapper_QDomCDATASection::new_QDomCDATASection(const QDomCDATASection& x) +{ +return new QDomCDATASection(x); } + + + +QDomCharacterData* PythonQtWrapper_QDomCharacterData::new_QDomCharacterData() +{ +return new QDomCharacterData(); } + +QDomCharacterData* PythonQtWrapper_QDomCharacterData::new_QDomCharacterData(const QDomCharacterData& x) +{ +return new QDomCharacterData(x); } + +void PythonQtWrapper_QDomCharacterData::appendData(QDomCharacterData* theWrappedObject, const QString& arg) +{ + ( theWrappedObject->appendData(arg)); +} + +QString PythonQtWrapper_QDomCharacterData::data(QDomCharacterData* theWrappedObject) const +{ + return ( theWrappedObject->data()); +} + +void PythonQtWrapper_QDomCharacterData::deleteData(QDomCharacterData* theWrappedObject, unsigned long offset, unsigned long count) +{ + ( theWrappedObject->deleteData(offset, count)); +} + +void PythonQtWrapper_QDomCharacterData::insertData(QDomCharacterData* theWrappedObject, unsigned long offset, const QString& arg) +{ + ( theWrappedObject->insertData(offset, arg)); +} + +uint PythonQtWrapper_QDomCharacterData::length(QDomCharacterData* theWrappedObject) const +{ + return ( theWrappedObject->length()); +} + +void PythonQtWrapper_QDomCharacterData::replaceData(QDomCharacterData* theWrappedObject, unsigned long offset, unsigned long count, const QString& arg) +{ + ( theWrappedObject->replaceData(offset, count, arg)); +} + +void PythonQtWrapper_QDomCharacterData::setData(QDomCharacterData* theWrappedObject, const QString& arg__1) +{ + ( theWrappedObject->setData(arg__1)); +} + +QString PythonQtWrapper_QDomCharacterData::substringData(QDomCharacterData* theWrappedObject, unsigned long offset, unsigned long count) +{ + return ( theWrappedObject->substringData(offset, count)); +} + + + +QDomComment* PythonQtWrapper_QDomComment::new_QDomComment() +{ +return new QDomComment(); } + +QDomComment* PythonQtWrapper_QDomComment::new_QDomComment(const QDomComment& x) +{ +return new QDomComment(x); } + + + +QDomDocument* PythonQtWrapper_QDomDocument::new_QDomDocument() +{ +return new QDomDocument(); } + +QDomDocument* PythonQtWrapper_QDomDocument::new_QDomDocument(const QDomDocument& x) +{ +return new QDomDocument(x); } + +QDomDocument* PythonQtWrapper_QDomDocument::new_QDomDocument(const QDomDocumentType& doctype) +{ +return new QDomDocument(doctype); } + +QDomDocument* PythonQtWrapper_QDomDocument::new_QDomDocument(const QString& name) +{ +return new QDomDocument(name); } + +QDomAttr PythonQtWrapper_QDomDocument::createAttribute(QDomDocument* theWrappedObject, const QString& name) +{ + return ( theWrappedObject->createAttribute(name)); +} + +QDomAttr PythonQtWrapper_QDomDocument::createAttributeNS(QDomDocument* theWrappedObject, const QString& nsURI, const QString& qName) +{ + return ( theWrappedObject->createAttributeNS(nsURI, qName)); +} + +QDomCDATASection PythonQtWrapper_QDomDocument::createCDATASection(QDomDocument* theWrappedObject, const QString& data) +{ + return ( theWrappedObject->createCDATASection(data)); +} + +QDomComment PythonQtWrapper_QDomDocument::createComment(QDomDocument* theWrappedObject, const QString& data) +{ + return ( theWrappedObject->createComment(data)); +} + +QDomDocumentFragment PythonQtWrapper_QDomDocument::createDocumentFragment(QDomDocument* theWrappedObject) +{ + return ( theWrappedObject->createDocumentFragment()); +} + +QDomElement PythonQtWrapper_QDomDocument::createElement(QDomDocument* theWrappedObject, const QString& tagName) +{ + return ( theWrappedObject->createElement(tagName)); +} + +QDomElement PythonQtWrapper_QDomDocument::createElementNS(QDomDocument* theWrappedObject, const QString& nsURI, const QString& qName) +{ + return ( theWrappedObject->createElementNS(nsURI, qName)); +} + +QDomEntityReference PythonQtWrapper_QDomDocument::createEntityReference(QDomDocument* theWrappedObject, const QString& name) +{ + return ( theWrappedObject->createEntityReference(name)); +} + +QDomProcessingInstruction PythonQtWrapper_QDomDocument::createProcessingInstruction(QDomDocument* theWrappedObject, const QString& target, const QString& data) +{ + return ( theWrappedObject->createProcessingInstruction(target, data)); +} + +QDomText PythonQtWrapper_QDomDocument::createTextNode(QDomDocument* theWrappedObject, const QString& data) +{ + return ( theWrappedObject->createTextNode(data)); +} + +QDomDocumentType PythonQtWrapper_QDomDocument::doctype(QDomDocument* theWrappedObject) const +{ + return ( theWrappedObject->doctype()); +} + +QDomElement PythonQtWrapper_QDomDocument::documentElement(QDomDocument* theWrappedObject) const +{ + return ( theWrappedObject->documentElement()); +} + +QDomElement PythonQtWrapper_QDomDocument::elementById(QDomDocument* theWrappedObject, const QString& elementId) +{ + return ( theWrappedObject->elementById(elementId)); +} + +QDomNodeList PythonQtWrapper_QDomDocument::elementsByTagName(QDomDocument* theWrappedObject, const QString& tagname) const +{ + return ( theWrappedObject->elementsByTagName(tagname)); +} + +QDomNodeList PythonQtWrapper_QDomDocument::elementsByTagNameNS(QDomDocument* theWrappedObject, const QString& nsURI, const QString& localName) +{ + return ( theWrappedObject->elementsByTagNameNS(nsURI, localName)); +} + +QDomImplementation PythonQtWrapper_QDomDocument::implementation(QDomDocument* theWrappedObject) const +{ + return ( theWrappedObject->implementation()); +} + +QDomNode PythonQtWrapper_QDomDocument::importNode(QDomDocument* theWrappedObject, const QDomNode& importedNode, bool deep) +{ + return ( theWrappedObject->importNode(importedNode, deep)); +} + +bool PythonQtWrapper_QDomDocument::setContent(QDomDocument* theWrappedObject, QIODevice* dev, QString* errorMsg, int* errorLine, int* errorColumn) +{ + return ( theWrappedObject->setContent(dev, errorMsg, errorLine, errorColumn)); +} + +bool PythonQtWrapper_QDomDocument::setContent(QDomDocument* theWrappedObject, QIODevice* dev, bool namespaceProcessing, QString* errorMsg, int* errorLine, int* errorColumn) +{ + return ( theWrappedObject->setContent(dev, namespaceProcessing, errorMsg, errorLine, errorColumn)); +} + +bool PythonQtWrapper_QDomDocument::setContent(QDomDocument* theWrappedObject, QXmlInputSource* source, QXmlReader* reader, QString* errorMsg, int* errorLine, int* errorColumn) +{ + return ( theWrappedObject->setContent(source, reader, errorMsg, errorLine, errorColumn)); +} + +bool PythonQtWrapper_QDomDocument::setContent(QDomDocument* theWrappedObject, QXmlInputSource* source, bool namespaceProcessing, QString* errorMsg, int* errorLine, int* errorColumn) +{ + return ( theWrappedObject->setContent(source, namespaceProcessing, errorMsg, errorLine, errorColumn)); +} + +bool PythonQtWrapper_QDomDocument::setContent(QDomDocument* theWrappedObject, const QByteArray& text, QString* errorMsg, int* errorLine, int* errorColumn) +{ + return ( theWrappedObject->setContent(text, errorMsg, errorLine, errorColumn)); +} + +bool PythonQtWrapper_QDomDocument::setContent(QDomDocument* theWrappedObject, const QByteArray& text, bool namespaceProcessing, QString* errorMsg, int* errorLine, int* errorColumn) +{ + return ( theWrappedObject->setContent(text, namespaceProcessing, errorMsg, errorLine, errorColumn)); +} + +bool PythonQtWrapper_QDomDocument::setContent(QDomDocument* theWrappedObject, const QString& text, QString* errorMsg, int* errorLine, int* errorColumn) +{ + return ( theWrappedObject->setContent(text, errorMsg, errorLine, errorColumn)); +} + +bool PythonQtWrapper_QDomDocument::setContent(QDomDocument* theWrappedObject, const QString& text, bool namespaceProcessing, QString* errorMsg, int* errorLine, int* errorColumn) +{ + return ( theWrappedObject->setContent(text, namespaceProcessing, errorMsg, errorLine, errorColumn)); +} + +QByteArray PythonQtWrapper_QDomDocument::toByteArray(QDomDocument* theWrappedObject, int arg__1) const +{ + return ( theWrappedObject->toByteArray(arg__1)); +} + +QString PythonQtWrapper_QDomDocument::toString(QDomDocument* theWrappedObject, int arg__1) const +{ + return ( theWrappedObject->toString(arg__1)); +} + +QString PythonQtWrapper_QDomDocument::py_toString(QDomDocument* obj) { return obj->toString(); } + + +QDomDocumentFragment* PythonQtWrapper_QDomDocumentFragment::new_QDomDocumentFragment() +{ +return new QDomDocumentFragment(); } + +QDomDocumentFragment* PythonQtWrapper_QDomDocumentFragment::new_QDomDocumentFragment(const QDomDocumentFragment& x) +{ +return new QDomDocumentFragment(x); } + + + +QDomDocumentType* PythonQtWrapper_QDomDocumentType::new_QDomDocumentType() +{ +return new QDomDocumentType(); } + +QDomDocumentType* PythonQtWrapper_QDomDocumentType::new_QDomDocumentType(const QDomDocumentType& x) +{ +return new QDomDocumentType(x); } + +QDomNamedNodeMap PythonQtWrapper_QDomDocumentType::entities(QDomDocumentType* theWrappedObject) const +{ + return ( theWrappedObject->entities()); +} + +QString PythonQtWrapper_QDomDocumentType::internalSubset(QDomDocumentType* theWrappedObject) const +{ + return ( theWrappedObject->internalSubset()); +} + +QString PythonQtWrapper_QDomDocumentType::name(QDomDocumentType* theWrappedObject) const +{ + return ( theWrappedObject->name()); +} + +QDomNamedNodeMap PythonQtWrapper_QDomDocumentType::notations(QDomDocumentType* theWrappedObject) const +{ + return ( theWrappedObject->notations()); +} + +QString PythonQtWrapper_QDomDocumentType::publicId(QDomDocumentType* theWrappedObject) const +{ + return ( theWrappedObject->publicId()); +} + +QString PythonQtWrapper_QDomDocumentType::systemId(QDomDocumentType* theWrappedObject) const +{ + return ( theWrappedObject->systemId()); +} + + + +QDomElement* PythonQtWrapper_QDomElement::new_QDomElement() +{ +return new QDomElement(); } + +QDomElement* PythonQtWrapper_QDomElement::new_QDomElement(const QDomElement& x) +{ +return new QDomElement(x); } + +QString PythonQtWrapper_QDomElement::attribute(QDomElement* theWrappedObject, const QString& name, const QString& defValue) const +{ + return ( theWrappedObject->attribute(name, defValue)); +} + +QString PythonQtWrapper_QDomElement::attributeNS(QDomElement* theWrappedObject, const QString nsURI, const QString& localName, const QString& defValue) const +{ + return ( theWrappedObject->attributeNS(nsURI, localName, defValue)); +} + +QDomAttr PythonQtWrapper_QDomElement::attributeNode(QDomElement* theWrappedObject, const QString& name) +{ + return ( theWrappedObject->attributeNode(name)); +} + +QDomAttr PythonQtWrapper_QDomElement::attributeNodeNS(QDomElement* theWrappedObject, const QString& nsURI, const QString& localName) +{ + return ( theWrappedObject->attributeNodeNS(nsURI, localName)); +} + +QDomNamedNodeMap PythonQtWrapper_QDomElement::attributes(QDomElement* theWrappedObject) const +{ + return ( theWrappedObject->attributes()); +} + +QDomNodeList PythonQtWrapper_QDomElement::elementsByTagName(QDomElement* theWrappedObject, const QString& tagname) const +{ + return ( theWrappedObject->elementsByTagName(tagname)); +} + +QDomNodeList PythonQtWrapper_QDomElement::elementsByTagNameNS(QDomElement* theWrappedObject, const QString& nsURI, const QString& localName) const +{ + return ( theWrappedObject->elementsByTagNameNS(nsURI, localName)); +} + +bool PythonQtWrapper_QDomElement::hasAttribute(QDomElement* theWrappedObject, const QString& name) const +{ + return ( theWrappedObject->hasAttribute(name)); +} + +bool PythonQtWrapper_QDomElement::hasAttributeNS(QDomElement* theWrappedObject, const QString& nsURI, const QString& localName) const +{ + return ( theWrappedObject->hasAttributeNS(nsURI, localName)); +} + +void PythonQtWrapper_QDomElement::removeAttribute(QDomElement* theWrappedObject, const QString& name) +{ + ( theWrappedObject->removeAttribute(name)); +} + +void PythonQtWrapper_QDomElement::removeAttributeNS(QDomElement* theWrappedObject, const QString& nsURI, const QString& localName) +{ + ( theWrappedObject->removeAttributeNS(nsURI, localName)); +} + +QDomAttr PythonQtWrapper_QDomElement::removeAttributeNode(QDomElement* theWrappedObject, const QDomAttr& oldAttr) +{ + return ( theWrappedObject->removeAttributeNode(oldAttr)); +} + +void PythonQtWrapper_QDomElement::setAttribute(QDomElement* theWrappedObject, const QString& name, const QString& value) +{ + ( theWrappedObject->setAttribute(name, value)); +} + +void PythonQtWrapper_QDomElement::setAttribute(QDomElement* theWrappedObject, const QString& name, double value) +{ + ( theWrappedObject->setAttribute(name, value)); +} + +void PythonQtWrapper_QDomElement::setAttribute(QDomElement* theWrappedObject, const QString& name, float value) +{ + ( theWrappedObject->setAttribute(name, value)); +} + +void PythonQtWrapper_QDomElement::setAttribute(QDomElement* theWrappedObject, const QString& name, int value) +{ + ( theWrappedObject->setAttribute(name, value)); +} + +void PythonQtWrapper_QDomElement::setAttribute(QDomElement* theWrappedObject, const QString& name, qlonglong value) +{ + ( theWrappedObject->setAttribute(name, value)); +} + +void PythonQtWrapper_QDomElement::setAttribute(QDomElement* theWrappedObject, const QString& name, qulonglong value) +{ + ( theWrappedObject->setAttribute(name, value)); +} + +void PythonQtWrapper_QDomElement::setAttributeNS(QDomElement* theWrappedObject, const QString nsURI, const QString& qName, const QString& value) +{ + ( theWrappedObject->setAttributeNS(nsURI, qName, value)); +} + +void PythonQtWrapper_QDomElement::setAttributeNS(QDomElement* theWrappedObject, const QString nsURI, const QString& qName, double value) +{ + ( theWrappedObject->setAttributeNS(nsURI, qName, value)); +} + +void PythonQtWrapper_QDomElement::setAttributeNS(QDomElement* theWrappedObject, const QString nsURI, const QString& qName, int value) +{ + ( theWrappedObject->setAttributeNS(nsURI, qName, value)); +} + +void PythonQtWrapper_QDomElement::setAttributeNS(QDomElement* theWrappedObject, const QString nsURI, const QString& qName, qlonglong value) +{ + ( theWrappedObject->setAttributeNS(nsURI, qName, value)); +} + +void PythonQtWrapper_QDomElement::setAttributeNS(QDomElement* theWrappedObject, const QString nsURI, const QString& qName, qulonglong value) +{ + ( theWrappedObject->setAttributeNS(nsURI, qName, value)); +} + +QDomAttr PythonQtWrapper_QDomElement::setAttributeNode(QDomElement* theWrappedObject, const QDomAttr& newAttr) +{ + return ( theWrappedObject->setAttributeNode(newAttr)); +} + +QDomAttr PythonQtWrapper_QDomElement::setAttributeNodeNS(QDomElement* theWrappedObject, const QDomAttr& newAttr) +{ + return ( theWrappedObject->setAttributeNodeNS(newAttr)); +} + +void PythonQtWrapper_QDomElement::setTagName(QDomElement* theWrappedObject, const QString& name) +{ + ( theWrappedObject->setTagName(name)); +} + +QString PythonQtWrapper_QDomElement::tagName(QDomElement* theWrappedObject) const +{ + return ( theWrappedObject->tagName()); +} + +QString PythonQtWrapper_QDomElement::text(QDomElement* theWrappedObject) const +{ + return ( theWrappedObject->text()); +} + + + +QDomEntity* PythonQtWrapper_QDomEntity::new_QDomEntity() +{ +return new QDomEntity(); } + +QDomEntity* PythonQtWrapper_QDomEntity::new_QDomEntity(const QDomEntity& x) +{ +return new QDomEntity(x); } + +QString PythonQtWrapper_QDomEntity::notationName(QDomEntity* theWrappedObject) const +{ + return ( theWrappedObject->notationName()); +} + +QString PythonQtWrapper_QDomEntity::publicId(QDomEntity* theWrappedObject) const +{ + return ( theWrappedObject->publicId()); +} + +QString PythonQtWrapper_QDomEntity::systemId(QDomEntity* theWrappedObject) const +{ + return ( theWrappedObject->systemId()); +} + + + +QDomEntityReference* PythonQtWrapper_QDomEntityReference::new_QDomEntityReference() +{ +return new QDomEntityReference(); } + +QDomEntityReference* PythonQtWrapper_QDomEntityReference::new_QDomEntityReference(const QDomEntityReference& x) +{ +return new QDomEntityReference(x); } + + + +QDomImplementation* PythonQtWrapper_QDomImplementation::new_QDomImplementation() +{ +return new QDomImplementation(); } + +QDomImplementation* PythonQtWrapper_QDomImplementation::new_QDomImplementation(const QDomImplementation& arg__1) +{ +return new QDomImplementation(arg__1); } + +QDomDocument PythonQtWrapper_QDomImplementation::createDocument(QDomImplementation* theWrappedObject, const QString& nsURI, const QString& qName, const QDomDocumentType& doctype) +{ + return ( theWrappedObject->createDocument(nsURI, qName, doctype)); +} + +QDomDocumentType PythonQtWrapper_QDomImplementation::createDocumentType(QDomImplementation* theWrappedObject, const QString& qName, const QString& publicId, const QString& systemId) +{ + return ( theWrappedObject->createDocumentType(qName, publicId, systemId)); +} + +bool PythonQtWrapper_QDomImplementation::hasFeature(QDomImplementation* theWrappedObject, const QString& feature, const QString& version) const +{ + return ( theWrappedObject->hasFeature(feature, version)); +} + +QDomImplementation::InvalidDataPolicy PythonQtWrapper_QDomImplementation::static_QDomImplementation_invalidDataPolicy() +{ + return (QDomImplementation::invalidDataPolicy()); +} + +bool PythonQtWrapper_QDomImplementation::isNull(QDomImplementation* theWrappedObject) +{ + return ( theWrappedObject->isNull()); +} + +bool PythonQtWrapper_QDomImplementation::__ne__(QDomImplementation* theWrappedObject, const QDomImplementation& arg__1) const +{ + return ( (*theWrappedObject)!= arg__1); +} + +bool PythonQtWrapper_QDomImplementation::__eq__(QDomImplementation* theWrappedObject, const QDomImplementation& arg__1) const +{ + return ( (*theWrappedObject)== arg__1); +} + +void PythonQtWrapper_QDomImplementation::static_QDomImplementation_setInvalidDataPolicy(QDomImplementation::InvalidDataPolicy policy) +{ + (QDomImplementation::setInvalidDataPolicy(policy)); +} + + + +QDomNamedNodeMap* PythonQtWrapper_QDomNamedNodeMap::new_QDomNamedNodeMap() +{ +return new QDomNamedNodeMap(); } + +QDomNamedNodeMap* PythonQtWrapper_QDomNamedNodeMap::new_QDomNamedNodeMap(const QDomNamedNodeMap& arg__1) +{ +return new QDomNamedNodeMap(arg__1); } + +bool PythonQtWrapper_QDomNamedNodeMap::contains(QDomNamedNodeMap* theWrappedObject, const QString& name) const +{ + return ( theWrappedObject->contains(name)); +} + +int PythonQtWrapper_QDomNamedNodeMap::count(QDomNamedNodeMap* theWrappedObject) const +{ + return ( theWrappedObject->count()); +} + +bool PythonQtWrapper_QDomNamedNodeMap::isEmpty(QDomNamedNodeMap* theWrappedObject) const +{ + return ( theWrappedObject->isEmpty()); +} + +QDomNode PythonQtWrapper_QDomNamedNodeMap::item(QDomNamedNodeMap* theWrappedObject, int index) const +{ + return ( theWrappedObject->item(index)); +} + +uint PythonQtWrapper_QDomNamedNodeMap::length(QDomNamedNodeMap* theWrappedObject) const +{ + return ( theWrappedObject->length()); +} + +QDomNode PythonQtWrapper_QDomNamedNodeMap::namedItem(QDomNamedNodeMap* theWrappedObject, const QString& name) const +{ + return ( theWrappedObject->namedItem(name)); +} + +QDomNode PythonQtWrapper_QDomNamedNodeMap::namedItemNS(QDomNamedNodeMap* theWrappedObject, const QString& nsURI, const QString& localName) const +{ + return ( theWrappedObject->namedItemNS(nsURI, localName)); +} + +bool PythonQtWrapper_QDomNamedNodeMap::__ne__(QDomNamedNodeMap* theWrappedObject, const QDomNamedNodeMap& arg__1) const +{ + return ( (*theWrappedObject)!= arg__1); +} + +bool PythonQtWrapper_QDomNamedNodeMap::__eq__(QDomNamedNodeMap* theWrappedObject, const QDomNamedNodeMap& arg__1) const +{ + return ( (*theWrappedObject)== arg__1); +} + +QDomNode PythonQtWrapper_QDomNamedNodeMap::removeNamedItem(QDomNamedNodeMap* theWrappedObject, const QString& name) +{ + return ( theWrappedObject->removeNamedItem(name)); +} + +QDomNode PythonQtWrapper_QDomNamedNodeMap::removeNamedItemNS(QDomNamedNodeMap* theWrappedObject, const QString& nsURI, const QString& localName) +{ + return ( theWrappedObject->removeNamedItemNS(nsURI, localName)); +} + +QDomNode PythonQtWrapper_QDomNamedNodeMap::setNamedItem(QDomNamedNodeMap* theWrappedObject, const QDomNode& newNode) +{ + return ( theWrappedObject->setNamedItem(newNode)); +} + +QDomNode PythonQtWrapper_QDomNamedNodeMap::setNamedItemNS(QDomNamedNodeMap* theWrappedObject, const QDomNode& newNode) +{ + return ( theWrappedObject->setNamedItemNS(newNode)); +} + +int PythonQtWrapper_QDomNamedNodeMap::size(QDomNamedNodeMap* theWrappedObject) const +{ + return ( theWrappedObject->size()); +} + + + +QDomNode* PythonQtWrapper_QDomNode::new_QDomNode() +{ +return new QDomNode(); } + +QDomNode* PythonQtWrapper_QDomNode::new_QDomNode(const QDomNode& arg__1) +{ +return new QDomNode(arg__1); } + +QDomNode PythonQtWrapper_QDomNode::appendChild(QDomNode* theWrappedObject, const QDomNode& newChild) +{ + return ( theWrappedObject->appendChild(newChild)); +} + +QDomNodeList PythonQtWrapper_QDomNode::childNodes(QDomNode* theWrappedObject) const +{ + return ( theWrappedObject->childNodes()); +} + +void PythonQtWrapper_QDomNode::clear(QDomNode* theWrappedObject) +{ + ( theWrappedObject->clear()); +} + +QDomNode PythonQtWrapper_QDomNode::cloneNode(QDomNode* theWrappedObject, bool deep) const +{ + return ( theWrappedObject->cloneNode(deep)); +} + +int PythonQtWrapper_QDomNode::columnNumber(QDomNode* theWrappedObject) const +{ + return ( theWrappedObject->columnNumber()); +} + +QDomNode PythonQtWrapper_QDomNode::firstChild(QDomNode* theWrappedObject) const +{ + return ( theWrappedObject->firstChild()); +} + +QDomElement PythonQtWrapper_QDomNode::firstChildElement(QDomNode* theWrappedObject, const QString& tagName) const +{ + return ( theWrappedObject->firstChildElement(tagName)); +} + +bool PythonQtWrapper_QDomNode::hasAttributes(QDomNode* theWrappedObject) const +{ + return ( theWrappedObject->hasAttributes()); +} + +bool PythonQtWrapper_QDomNode::hasChildNodes(QDomNode* theWrappedObject) const +{ + return ( theWrappedObject->hasChildNodes()); +} + +QDomNode PythonQtWrapper_QDomNode::insertAfter(QDomNode* theWrappedObject, const QDomNode& newChild, const QDomNode& refChild) +{ + return ( theWrappedObject->insertAfter(newChild, refChild)); +} + +QDomNode PythonQtWrapper_QDomNode::insertBefore(QDomNode* theWrappedObject, const QDomNode& newChild, const QDomNode& refChild) +{ + return ( theWrappedObject->insertBefore(newChild, refChild)); +} + +bool PythonQtWrapper_QDomNode::isAttr(QDomNode* theWrappedObject) const +{ + return ( theWrappedObject->isAttr()); +} + +bool PythonQtWrapper_QDomNode::isCDATASection(QDomNode* theWrappedObject) const +{ + return ( theWrappedObject->isCDATASection()); +} + +bool PythonQtWrapper_QDomNode::isCharacterData(QDomNode* theWrappedObject) const +{ + return ( theWrappedObject->isCharacterData()); +} + +bool PythonQtWrapper_QDomNode::isComment(QDomNode* theWrappedObject) const +{ + return ( theWrappedObject->isComment()); +} + +bool PythonQtWrapper_QDomNode::isDocument(QDomNode* theWrappedObject) const +{ + return ( theWrappedObject->isDocument()); +} + +bool PythonQtWrapper_QDomNode::isDocumentFragment(QDomNode* theWrappedObject) const +{ + return ( theWrappedObject->isDocumentFragment()); +} + +bool PythonQtWrapper_QDomNode::isDocumentType(QDomNode* theWrappedObject) const +{ + return ( theWrappedObject->isDocumentType()); +} + +bool PythonQtWrapper_QDomNode::isElement(QDomNode* theWrappedObject) const +{ + return ( theWrappedObject->isElement()); +} + +bool PythonQtWrapper_QDomNode::isEntity(QDomNode* theWrappedObject) const +{ + return ( theWrappedObject->isEntity()); +} + +bool PythonQtWrapper_QDomNode::isEntityReference(QDomNode* theWrappedObject) const +{ + return ( theWrappedObject->isEntityReference()); +} + +bool PythonQtWrapper_QDomNode::isNotation(QDomNode* theWrappedObject) const +{ + return ( theWrappedObject->isNotation()); +} + +bool PythonQtWrapper_QDomNode::isNull(QDomNode* theWrappedObject) const +{ + return ( theWrappedObject->isNull()); +} + +bool PythonQtWrapper_QDomNode::isProcessingInstruction(QDomNode* theWrappedObject) const +{ + return ( theWrappedObject->isProcessingInstruction()); +} + +bool PythonQtWrapper_QDomNode::isSupported(QDomNode* theWrappedObject, const QString& feature, const QString& version) const +{ + return ( theWrappedObject->isSupported(feature, version)); +} + +bool PythonQtWrapper_QDomNode::isText(QDomNode* theWrappedObject) const +{ + return ( theWrappedObject->isText()); +} + +QDomNode PythonQtWrapper_QDomNode::lastChild(QDomNode* theWrappedObject) const +{ + return ( theWrappedObject->lastChild()); +} + +QDomElement PythonQtWrapper_QDomNode::lastChildElement(QDomNode* theWrappedObject, const QString& tagName) const +{ + return ( theWrappedObject->lastChildElement(tagName)); +} + +int PythonQtWrapper_QDomNode::lineNumber(QDomNode* theWrappedObject) const +{ + return ( theWrappedObject->lineNumber()); +} + +QString PythonQtWrapper_QDomNode::localName(QDomNode* theWrappedObject) const +{ + return ( theWrappedObject->localName()); +} + +QDomNode PythonQtWrapper_QDomNode::namedItem(QDomNode* theWrappedObject, const QString& name) const +{ + return ( theWrappedObject->namedItem(name)); +} + +QString PythonQtWrapper_QDomNode::namespaceURI(QDomNode* theWrappedObject) const +{ + return ( theWrappedObject->namespaceURI()); +} + +QDomNode PythonQtWrapper_QDomNode::nextSibling(QDomNode* theWrappedObject) const +{ + return ( theWrappedObject->nextSibling()); +} + +QDomElement PythonQtWrapper_QDomNode::nextSiblingElement(QDomNode* theWrappedObject, const QString& taName) const +{ + return ( theWrappedObject->nextSiblingElement(taName)); +} + +QString PythonQtWrapper_QDomNode::nodeName(QDomNode* theWrappedObject) const +{ + return ( theWrappedObject->nodeName()); +} + +QDomNode::NodeType PythonQtWrapper_QDomNode::nodeType(QDomNode* theWrappedObject) const +{ + return ( theWrappedObject->nodeType()); +} + +QString PythonQtWrapper_QDomNode::nodeValue(QDomNode* theWrappedObject) const +{ + return ( theWrappedObject->nodeValue()); +} + +void PythonQtWrapper_QDomNode::normalize(QDomNode* theWrappedObject) +{ + ( theWrappedObject->normalize()); +} + +bool PythonQtWrapper_QDomNode::__ne__(QDomNode* theWrappedObject, const QDomNode& arg__1) const +{ + return ( (*theWrappedObject)!= arg__1); +} + +void PythonQtWrapper_QDomNode::writeTo(QDomNode* theWrappedObject, QTextStream& arg__1) +{ + arg__1 << (*theWrappedObject); +} + +bool PythonQtWrapper_QDomNode::__eq__(QDomNode* theWrappedObject, const QDomNode& arg__1) const +{ + return ( (*theWrappedObject)== arg__1); +} + +QDomDocument PythonQtWrapper_QDomNode::ownerDocument(QDomNode* theWrappedObject) const +{ + return ( theWrappedObject->ownerDocument()); +} + +QDomNode PythonQtWrapper_QDomNode::parentNode(QDomNode* theWrappedObject) const +{ + return ( theWrappedObject->parentNode()); +} + +QString PythonQtWrapper_QDomNode::prefix(QDomNode* theWrappedObject) const +{ + return ( theWrappedObject->prefix()); +} + +QDomNode PythonQtWrapper_QDomNode::previousSibling(QDomNode* theWrappedObject) const +{ + return ( theWrappedObject->previousSibling()); +} + +QDomElement PythonQtWrapper_QDomNode::previousSiblingElement(QDomNode* theWrappedObject, const QString& tagName) const +{ + return ( theWrappedObject->previousSiblingElement(tagName)); +} + +QDomNode PythonQtWrapper_QDomNode::removeChild(QDomNode* theWrappedObject, const QDomNode& oldChild) +{ + return ( theWrappedObject->removeChild(oldChild)); +} + +QDomNode PythonQtWrapper_QDomNode::replaceChild(QDomNode* theWrappedObject, const QDomNode& newChild, const QDomNode& oldChild) +{ + return ( theWrappedObject->replaceChild(newChild, oldChild)); +} + +void PythonQtWrapper_QDomNode::save(QDomNode* theWrappedObject, QTextStream& arg__1, int arg__2) const +{ + ( theWrappedObject->save(arg__1, arg__2)); +} + +void PythonQtWrapper_QDomNode::save(QDomNode* theWrappedObject, QTextStream& arg__1, int arg__2, QDomNode::EncodingPolicy arg__3) const +{ + ( theWrappedObject->save(arg__1, arg__2, arg__3)); +} + +void PythonQtWrapper_QDomNode::setNodeValue(QDomNode* theWrappedObject, const QString& arg__1) +{ + ( theWrappedObject->setNodeValue(arg__1)); +} + +void PythonQtWrapper_QDomNode::setPrefix(QDomNode* theWrappedObject, const QString& pre) +{ + ( theWrappedObject->setPrefix(pre)); +} + +QDomAttr PythonQtWrapper_QDomNode::toAttr(QDomNode* theWrappedObject) const +{ + return ( theWrappedObject->toAttr()); +} + +QDomCDATASection PythonQtWrapper_QDomNode::toCDATASection(QDomNode* theWrappedObject) const +{ + return ( theWrappedObject->toCDATASection()); +} + +QDomCharacterData PythonQtWrapper_QDomNode::toCharacterData(QDomNode* theWrappedObject) const +{ + return ( theWrappedObject->toCharacterData()); +} + +QDomComment PythonQtWrapper_QDomNode::toComment(QDomNode* theWrappedObject) const +{ + return ( theWrappedObject->toComment()); +} + +QDomDocument PythonQtWrapper_QDomNode::toDocument(QDomNode* theWrappedObject) const +{ + return ( theWrappedObject->toDocument()); +} + +QDomDocumentFragment PythonQtWrapper_QDomNode::toDocumentFragment(QDomNode* theWrappedObject) const +{ + return ( theWrappedObject->toDocumentFragment()); +} + +QDomDocumentType PythonQtWrapper_QDomNode::toDocumentType(QDomNode* theWrappedObject) const +{ + return ( theWrappedObject->toDocumentType()); +} + +QDomElement PythonQtWrapper_QDomNode::toElement(QDomNode* theWrappedObject) const +{ + return ( theWrappedObject->toElement()); +} + +QDomEntity PythonQtWrapper_QDomNode::toEntity(QDomNode* theWrappedObject) const +{ + return ( theWrappedObject->toEntity()); +} + +QDomEntityReference PythonQtWrapper_QDomNode::toEntityReference(QDomNode* theWrappedObject) const +{ + return ( theWrappedObject->toEntityReference()); +} + +QDomNotation PythonQtWrapper_QDomNode::toNotation(QDomNode* theWrappedObject) const +{ + return ( theWrappedObject->toNotation()); +} + +QDomProcessingInstruction PythonQtWrapper_QDomNode::toProcessingInstruction(QDomNode* theWrappedObject) const +{ + return ( theWrappedObject->toProcessingInstruction()); +} + +QDomText PythonQtWrapper_QDomNode::toText(QDomNode* theWrappedObject) const +{ + return ( theWrappedObject->toText()); +} + + + +QDomNodeList* PythonQtWrapper_QDomNodeList::new_QDomNodeList() +{ +return new QDomNodeList(); } + +QDomNodeList* PythonQtWrapper_QDomNodeList::new_QDomNodeList(const QDomNodeList& arg__1) +{ +return new QDomNodeList(arg__1); } + +QDomNode PythonQtWrapper_QDomNodeList::at(QDomNodeList* theWrappedObject, int index) const +{ + return ( theWrappedObject->at(index)); +} + +int PythonQtWrapper_QDomNodeList::count(QDomNodeList* theWrappedObject) const +{ + return ( theWrappedObject->count()); +} + +bool PythonQtWrapper_QDomNodeList::isEmpty(QDomNodeList* theWrappedObject) const +{ + return ( theWrappedObject->isEmpty()); +} + +QDomNode PythonQtWrapper_QDomNodeList::item(QDomNodeList* theWrappedObject, int index) const +{ + return ( theWrappedObject->item(index)); +} + +uint PythonQtWrapper_QDomNodeList::length(QDomNodeList* theWrappedObject) const +{ + return ( theWrappedObject->length()); +} + +bool PythonQtWrapper_QDomNodeList::__ne__(QDomNodeList* theWrappedObject, const QDomNodeList& arg__1) const +{ + return ( (*theWrappedObject)!= arg__1); +} + +bool PythonQtWrapper_QDomNodeList::__eq__(QDomNodeList* theWrappedObject, const QDomNodeList& arg__1) const +{ + return ( (*theWrappedObject)== arg__1); +} + +int PythonQtWrapper_QDomNodeList::size(QDomNodeList* theWrappedObject) const +{ + return ( theWrappedObject->size()); +} + + + +QDomNotation* PythonQtWrapper_QDomNotation::new_QDomNotation() +{ +return new QDomNotation(); } + +QDomNotation* PythonQtWrapper_QDomNotation::new_QDomNotation(const QDomNotation& x) +{ +return new QDomNotation(x); } + +QString PythonQtWrapper_QDomNotation::publicId(QDomNotation* theWrappedObject) const +{ + return ( theWrappedObject->publicId()); +} + +QString PythonQtWrapper_QDomNotation::systemId(QDomNotation* theWrappedObject) const +{ + return ( theWrappedObject->systemId()); +} + + + +QDomProcessingInstruction* PythonQtWrapper_QDomProcessingInstruction::new_QDomProcessingInstruction() +{ +return new QDomProcessingInstruction(); } + +QDomProcessingInstruction* PythonQtWrapper_QDomProcessingInstruction::new_QDomProcessingInstruction(const QDomProcessingInstruction& x) +{ +return new QDomProcessingInstruction(x); } + +QString PythonQtWrapper_QDomProcessingInstruction::data(QDomProcessingInstruction* theWrappedObject) const +{ + return ( theWrappedObject->data()); +} + +void PythonQtWrapper_QDomProcessingInstruction::setData(QDomProcessingInstruction* theWrappedObject, const QString& d) +{ + ( theWrappedObject->setData(d)); +} + +QString PythonQtWrapper_QDomProcessingInstruction::target(QDomProcessingInstruction* theWrappedObject) const +{ + return ( theWrappedObject->target()); +} + + + +QDomText* PythonQtWrapper_QDomText::new_QDomText() +{ +return new QDomText(); } + +QDomText* PythonQtWrapper_QDomText::new_QDomText(const QDomText& x) +{ +return new QDomText(x); } + +QDomText PythonQtWrapper_QDomText::splitText(QDomText* theWrappedObject, int offset) +{ + return ( theWrappedObject->splitText(offset)); +} + + + +QXmlAttributes* PythonQtWrapper_QXmlAttributes::new_QXmlAttributes() +{ +return new PythonQtShell_QXmlAttributes(); } + +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)); +} + +QString PythonQtWrapper_QXmlAttributes::qName(QXmlAttributes* theWrappedObject, int index) const +{ + return ( theWrappedObject->qName(index)); +} + +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)); +} + + + +bool PythonQtShell_QXmlContentHandler::characters(const QString& ch) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "characters"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "const QString&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue; + void* args[2] = {NULL, (void*)&ch}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("characters", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return bool(); +} +bool PythonQtShell_QXmlContentHandler::endDocument() +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "endDocument"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + bool returnValue; + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("endDocument", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return bool(); +} +bool PythonQtShell_QXmlContentHandler::endElement(const QString& namespaceURI, const QString& localName, const QString& qName) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "endElement"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "const QString&" , "const QString&" , "const QString&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + bool returnValue; + void* args[4] = {NULL, (void*)&namespaceURI, (void*)&localName, (void*)&qName}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("endElement", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return bool(); +} +bool PythonQtShell_QXmlContentHandler::endPrefixMapping(const QString& prefix) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "endPrefixMapping"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "const QString&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue; + void* args[2] = {NULL, (void*)&prefix}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("endPrefixMapping", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return bool(); +} +QString PythonQtShell_QXmlContentHandler::errorString() const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "errorString"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QString"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QString returnValue; + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("errorString", methodInfo, result); + } else { + returnValue = *((QString*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QString(); +} +bool PythonQtShell_QXmlContentHandler::ignorableWhitespace(const QString& ch) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "ignorableWhitespace"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "const QString&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue; + void* args[2] = {NULL, (void*)&ch}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("ignorableWhitespace", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return bool(); +} +bool PythonQtShell_QXmlContentHandler::processingInstruction(const QString& target, const QString& data) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "processingInstruction"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "const QString&" , "const QString&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue; + void* args[3] = {NULL, (void*)&target, (void*)&data}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("processingInstruction", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return bool(); +} +void PythonQtShell_QXmlContentHandler::setDocumentLocator(QXmlLocator* locator) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "setDocumentLocator"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QXmlLocator*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&locator}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + +} +bool PythonQtShell_QXmlContentHandler::skippedEntity(const QString& name) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "skippedEntity"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "const QString&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue; + void* args[2] = {NULL, (void*)&name}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("skippedEntity", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return bool(); +} +bool PythonQtShell_QXmlContentHandler::startDocument() +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "startDocument"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + bool returnValue; + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("startDocument", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return bool(); +} +bool PythonQtShell_QXmlContentHandler::startElement(const QString& namespaceURI, const QString& localName, const QString& qName, const QXmlAttributes& atts) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "startElement"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "const QString&" , "const QString&" , "const QString&" , "const QXmlAttributes&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(5, argumentList); + bool returnValue; + void* args[5] = {NULL, (void*)&namespaceURI, (void*)&localName, (void*)&qName, (void*)&atts}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("startElement", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return bool(); +} +bool PythonQtShell_QXmlContentHandler::startPrefixMapping(const QString& prefix, const QString& uri) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "startPrefixMapping"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "const QString&" , "const QString&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue; + void* args[3] = {NULL, (void*)&prefix, (void*)&uri}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("startPrefixMapping", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return bool(); +} +QXmlContentHandler* PythonQtWrapper_QXmlContentHandler::new_QXmlContentHandler() +{ +return new PythonQtShell_QXmlContentHandler(); } + + + +QString PythonQtShell_QXmlDTDHandler::errorString() const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "errorString"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QString"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QString returnValue; + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("errorString", methodInfo, result); + } else { + returnValue = *((QString*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QString(); +} +bool PythonQtShell_QXmlDTDHandler::notationDecl(const QString& name, const QString& publicId, const QString& systemId) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "notationDecl"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "const QString&" , "const QString&" , "const QString&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + bool returnValue; + void* args[4] = {NULL, (void*)&name, (void*)&publicId, (void*)&systemId}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("notationDecl", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return bool(); +} +bool PythonQtShell_QXmlDTDHandler::unparsedEntityDecl(const QString& name, const QString& publicId, const QString& systemId, const QString& notationName) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "unparsedEntityDecl"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "const QString&" , "const QString&" , "const QString&" , "const QString&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(5, argumentList); + bool returnValue; + void* args[5] = {NULL, (void*)&name, (void*)&publicId, (void*)&systemId, (void*)¬ationName}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("unparsedEntityDecl", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return bool(); +} +QXmlDTDHandler* PythonQtWrapper_QXmlDTDHandler::new_QXmlDTDHandler() +{ +return new PythonQtShell_QXmlDTDHandler(); } + + + +bool PythonQtShell_QXmlDeclHandler::attributeDecl(const QString& eName, const QString& aName, const QString& type, const QString& valueDefault, const QString& value) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "attributeDecl"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "const QString&" , "const QString&" , "const QString&" , "const QString&" , "const QString&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(6, argumentList); + bool returnValue; + void* args[6] = {NULL, (void*)&eName, (void*)&aName, (void*)&type, (void*)&valueDefault, (void*)&value}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("attributeDecl", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return bool(); +} +QString PythonQtShell_QXmlDeclHandler::errorString() const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "errorString"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QString"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QString returnValue; + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("errorString", methodInfo, result); + } else { + returnValue = *((QString*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QString(); +} +bool PythonQtShell_QXmlDeclHandler::externalEntityDecl(const QString& name, const QString& publicId, const QString& systemId) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "externalEntityDecl"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "const QString&" , "const QString&" , "const QString&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + bool returnValue; + void* args[4] = {NULL, (void*)&name, (void*)&publicId, (void*)&systemId}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("externalEntityDecl", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return bool(); +} +bool PythonQtShell_QXmlDeclHandler::internalEntityDecl(const QString& name, const QString& value) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "internalEntityDecl"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "const QString&" , "const QString&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue; + void* args[3] = {NULL, (void*)&name, (void*)&value}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("internalEntityDecl", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return bool(); +} +QXmlDeclHandler* PythonQtWrapper_QXmlDeclHandler::new_QXmlDeclHandler() +{ +return new PythonQtShell_QXmlDeclHandler(); } + + + +bool PythonQtShell_QXmlDefaultHandler::attributeDecl(const QString& eName, const QString& aName, const QString& type, const QString& valueDefault, const QString& value) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "attributeDecl"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "const QString&" , "const QString&" , "const QString&" , "const QString&" , "const QString&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(6, argumentList); + bool returnValue; + void* args[6] = {NULL, (void*)&eName, (void*)&aName, (void*)&type, (void*)&valueDefault, (void*)&value}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("attributeDecl", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QXmlDefaultHandler::attributeDecl(eName, aName, type, valueDefault, value); +} +bool PythonQtShell_QXmlDefaultHandler::characters(const QString& ch) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "characters"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "const QString&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue; + void* args[2] = {NULL, (void*)&ch}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("characters", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QXmlDefaultHandler::characters(ch); +} +bool PythonQtShell_QXmlDefaultHandler::comment(const QString& ch) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "comment"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "const QString&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue; + void* args[2] = {NULL, (void*)&ch}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("comment", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QXmlDefaultHandler::comment(ch); +} +bool PythonQtShell_QXmlDefaultHandler::endCDATA() +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "endCDATA"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + bool returnValue; + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("endCDATA", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QXmlDefaultHandler::endCDATA(); +} +bool PythonQtShell_QXmlDefaultHandler::endDTD() +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "endDTD"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + bool returnValue; + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("endDTD", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QXmlDefaultHandler::endDTD(); +} +bool PythonQtShell_QXmlDefaultHandler::endDocument() +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "endDocument"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + bool returnValue; + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("endDocument", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QXmlDefaultHandler::endDocument(); +} +bool PythonQtShell_QXmlDefaultHandler::endElement(const QString& namespaceURI, const QString& localName, const QString& qName) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "endElement"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "const QString&" , "const QString&" , "const QString&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + bool returnValue; + void* args[4] = {NULL, (void*)&namespaceURI, (void*)&localName, (void*)&qName}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("endElement", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QXmlDefaultHandler::endElement(namespaceURI, localName, qName); +} +bool PythonQtShell_QXmlDefaultHandler::endEntity(const QString& name) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "endEntity"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "const QString&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue; + void* args[2] = {NULL, (void*)&name}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("endEntity", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QXmlDefaultHandler::endEntity(name); +} +bool PythonQtShell_QXmlDefaultHandler::endPrefixMapping(const QString& prefix) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "endPrefixMapping"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "const QString&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue; + void* args[2] = {NULL, (void*)&prefix}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("endPrefixMapping", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QXmlDefaultHandler::endPrefixMapping(prefix); +} +bool PythonQtShell_QXmlDefaultHandler::error(const QXmlParseException& exception) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "error"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "const QXmlParseException&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue; + void* args[2] = {NULL, (void*)&exception}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("error", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QXmlDefaultHandler::error(exception); +} +QString PythonQtShell_QXmlDefaultHandler::errorString() const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "errorString"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QString"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QString returnValue; + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("errorString", methodInfo, result); + } else { + returnValue = *((QString*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QXmlDefaultHandler::errorString(); +} +bool PythonQtShell_QXmlDefaultHandler::externalEntityDecl(const QString& name, const QString& publicId, const QString& systemId) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "externalEntityDecl"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "const QString&" , "const QString&" , "const QString&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + bool returnValue; + void* args[4] = {NULL, (void*)&name, (void*)&publicId, (void*)&systemId}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("externalEntityDecl", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QXmlDefaultHandler::externalEntityDecl(name, publicId, systemId); +} +bool PythonQtShell_QXmlDefaultHandler::fatalError(const QXmlParseException& exception) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "fatalError"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "const QXmlParseException&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue; + void* args[2] = {NULL, (void*)&exception}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("fatalError", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QXmlDefaultHandler::fatalError(exception); +} +bool PythonQtShell_QXmlDefaultHandler::ignorableWhitespace(const QString& ch) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "ignorableWhitespace"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "const QString&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue; + void* args[2] = {NULL, (void*)&ch}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("ignorableWhitespace", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QXmlDefaultHandler::ignorableWhitespace(ch); +} +bool PythonQtShell_QXmlDefaultHandler::internalEntityDecl(const QString& name, const QString& value) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "internalEntityDecl"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "const QString&" , "const QString&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue; + void* args[3] = {NULL, (void*)&name, (void*)&value}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("internalEntityDecl", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QXmlDefaultHandler::internalEntityDecl(name, value); +} +bool PythonQtShell_QXmlDefaultHandler::notationDecl(const QString& name, const QString& publicId, const QString& systemId) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "notationDecl"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "const QString&" , "const QString&" , "const QString&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + bool returnValue; + void* args[4] = {NULL, (void*)&name, (void*)&publicId, (void*)&systemId}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("notationDecl", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QXmlDefaultHandler::notationDecl(name, publicId, systemId); +} +bool PythonQtShell_QXmlDefaultHandler::processingInstruction(const QString& target, const QString& data) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "processingInstruction"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "const QString&" , "const QString&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue; + void* args[3] = {NULL, (void*)&target, (void*)&data}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("processingInstruction", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QXmlDefaultHandler::processingInstruction(target, data); +} +bool PythonQtShell_QXmlDefaultHandler::resolveEntity(const QString& publicId, const QString& systemId, QXmlInputSource*& ret) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "resolveEntity"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "const QString&" , "const QString&" , "QXmlInputSource*&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + bool returnValue; + void* args[4] = {NULL, (void*)&publicId, (void*)&systemId, (void*)&ret}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("resolveEntity", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QXmlDefaultHandler::resolveEntity(publicId, systemId, ret); +} +void PythonQtShell_QXmlDefaultHandler::setDocumentLocator(QXmlLocator* locator) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "setDocumentLocator"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QXmlLocator*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&locator}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QXmlDefaultHandler::setDocumentLocator(locator); +} +bool PythonQtShell_QXmlDefaultHandler::skippedEntity(const QString& name) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "skippedEntity"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "const QString&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue; + void* args[2] = {NULL, (void*)&name}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("skippedEntity", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QXmlDefaultHandler::skippedEntity(name); +} +bool PythonQtShell_QXmlDefaultHandler::startCDATA() +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "startCDATA"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + bool returnValue; + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("startCDATA", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QXmlDefaultHandler::startCDATA(); +} +bool PythonQtShell_QXmlDefaultHandler::startDTD(const QString& name, const QString& publicId, const QString& systemId) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "startDTD"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "const QString&" , "const QString&" , "const QString&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + bool returnValue; + void* args[4] = {NULL, (void*)&name, (void*)&publicId, (void*)&systemId}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("startDTD", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QXmlDefaultHandler::startDTD(name, publicId, systemId); +} +bool PythonQtShell_QXmlDefaultHandler::startDocument() +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "startDocument"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + bool returnValue; + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("startDocument", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QXmlDefaultHandler::startDocument(); +} +bool PythonQtShell_QXmlDefaultHandler::startElement(const QString& namespaceURI, const QString& localName, const QString& qName, const QXmlAttributes& atts) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "startElement"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "const QString&" , "const QString&" , "const QString&" , "const QXmlAttributes&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(5, argumentList); + bool returnValue; + void* args[5] = {NULL, (void*)&namespaceURI, (void*)&localName, (void*)&qName, (void*)&atts}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("startElement", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QXmlDefaultHandler::startElement(namespaceURI, localName, qName, atts); +} +bool PythonQtShell_QXmlDefaultHandler::startEntity(const QString& name) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "startEntity"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "const QString&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue; + void* args[2] = {NULL, (void*)&name}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("startEntity", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QXmlDefaultHandler::startEntity(name); +} +bool PythonQtShell_QXmlDefaultHandler::startPrefixMapping(const QString& prefix, const QString& uri) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "startPrefixMapping"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "const QString&" , "const QString&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue; + void* args[3] = {NULL, (void*)&prefix, (void*)&uri}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("startPrefixMapping", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QXmlDefaultHandler::startPrefixMapping(prefix, uri); +} +bool PythonQtShell_QXmlDefaultHandler::unparsedEntityDecl(const QString& name, const QString& publicId, const QString& systemId, const QString& notationName) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "unparsedEntityDecl"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "const QString&" , "const QString&" , "const QString&" , "const QString&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(5, argumentList); + bool returnValue; + void* args[5] = {NULL, (void*)&name, (void*)&publicId, (void*)&systemId, (void*)¬ationName}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("unparsedEntityDecl", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QXmlDefaultHandler::unparsedEntityDecl(name, publicId, systemId, notationName); +} +bool PythonQtShell_QXmlDefaultHandler::warning(const QXmlParseException& exception) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "warning"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "const QXmlParseException&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue; + void* args[2] = {NULL, (void*)&exception}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("warning", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QXmlDefaultHandler::warning(exception); +} +QXmlDefaultHandler* PythonQtWrapper_QXmlDefaultHandler::new_QXmlDefaultHandler() +{ +return new PythonQtShell_QXmlDefaultHandler(); } + +bool PythonQtWrapper_QXmlDefaultHandler::attributeDecl(QXmlDefaultHandler* theWrappedObject, const QString& eName, const QString& aName, const QString& type, const QString& valueDefault, const QString& value) +{ + return ( ((PythonQtPublicPromoter_QXmlDefaultHandler*)theWrappedObject)->promoted_attributeDecl(eName, aName, type, valueDefault, value)); +} + +bool PythonQtWrapper_QXmlDefaultHandler::characters(QXmlDefaultHandler* theWrappedObject, const QString& ch) +{ + return ( ((PythonQtPublicPromoter_QXmlDefaultHandler*)theWrappedObject)->promoted_characters(ch)); +} + +bool PythonQtWrapper_QXmlDefaultHandler::comment(QXmlDefaultHandler* theWrappedObject, const QString& ch) +{ + return ( ((PythonQtPublicPromoter_QXmlDefaultHandler*)theWrappedObject)->promoted_comment(ch)); +} + +bool PythonQtWrapper_QXmlDefaultHandler::endCDATA(QXmlDefaultHandler* theWrappedObject) +{ + return ( ((PythonQtPublicPromoter_QXmlDefaultHandler*)theWrappedObject)->promoted_endCDATA()); +} + +bool PythonQtWrapper_QXmlDefaultHandler::endDTD(QXmlDefaultHandler* theWrappedObject) +{ + return ( ((PythonQtPublicPromoter_QXmlDefaultHandler*)theWrappedObject)->promoted_endDTD()); +} + +bool PythonQtWrapper_QXmlDefaultHandler::endDocument(QXmlDefaultHandler* theWrappedObject) +{ + return ( ((PythonQtPublicPromoter_QXmlDefaultHandler*)theWrappedObject)->promoted_endDocument()); +} + +bool PythonQtWrapper_QXmlDefaultHandler::endElement(QXmlDefaultHandler* theWrappedObject, const QString& namespaceURI, const QString& localName, const QString& qName) +{ + return ( ((PythonQtPublicPromoter_QXmlDefaultHandler*)theWrappedObject)->promoted_endElement(namespaceURI, localName, qName)); +} + +bool PythonQtWrapper_QXmlDefaultHandler::endEntity(QXmlDefaultHandler* theWrappedObject, const QString& name) +{ + return ( ((PythonQtPublicPromoter_QXmlDefaultHandler*)theWrappedObject)->promoted_endEntity(name)); +} + +bool PythonQtWrapper_QXmlDefaultHandler::endPrefixMapping(QXmlDefaultHandler* theWrappedObject, const QString& prefix) +{ + return ( ((PythonQtPublicPromoter_QXmlDefaultHandler*)theWrappedObject)->promoted_endPrefixMapping(prefix)); +} + +bool PythonQtWrapper_QXmlDefaultHandler::error(QXmlDefaultHandler* theWrappedObject, const QXmlParseException& exception) +{ + return ( ((PythonQtPublicPromoter_QXmlDefaultHandler*)theWrappedObject)->promoted_error(exception)); +} + +QString PythonQtWrapper_QXmlDefaultHandler::errorString(QXmlDefaultHandler* theWrappedObject) const +{ + return ( ((PythonQtPublicPromoter_QXmlDefaultHandler*)theWrappedObject)->promoted_errorString()); +} + +bool PythonQtWrapper_QXmlDefaultHandler::externalEntityDecl(QXmlDefaultHandler* theWrappedObject, const QString& name, const QString& publicId, const QString& systemId) +{ + return ( ((PythonQtPublicPromoter_QXmlDefaultHandler*)theWrappedObject)->promoted_externalEntityDecl(name, publicId, systemId)); +} + +bool PythonQtWrapper_QXmlDefaultHandler::fatalError(QXmlDefaultHandler* theWrappedObject, const QXmlParseException& exception) +{ + return ( ((PythonQtPublicPromoter_QXmlDefaultHandler*)theWrappedObject)->promoted_fatalError(exception)); +} + +bool PythonQtWrapper_QXmlDefaultHandler::ignorableWhitespace(QXmlDefaultHandler* theWrappedObject, const QString& ch) +{ + return ( ((PythonQtPublicPromoter_QXmlDefaultHandler*)theWrappedObject)->promoted_ignorableWhitespace(ch)); +} + +bool PythonQtWrapper_QXmlDefaultHandler::internalEntityDecl(QXmlDefaultHandler* theWrappedObject, const QString& name, const QString& value) +{ + return ( ((PythonQtPublicPromoter_QXmlDefaultHandler*)theWrappedObject)->promoted_internalEntityDecl(name, value)); +} + +bool PythonQtWrapper_QXmlDefaultHandler::notationDecl(QXmlDefaultHandler* theWrappedObject, const QString& name, const QString& publicId, const QString& systemId) +{ + return ( ((PythonQtPublicPromoter_QXmlDefaultHandler*)theWrappedObject)->promoted_notationDecl(name, publicId, systemId)); +} + +bool PythonQtWrapper_QXmlDefaultHandler::processingInstruction(QXmlDefaultHandler* theWrappedObject, const QString& target, const QString& data) +{ + return ( ((PythonQtPublicPromoter_QXmlDefaultHandler*)theWrappedObject)->promoted_processingInstruction(target, data)); +} + +bool PythonQtWrapper_QXmlDefaultHandler::resolveEntity(QXmlDefaultHandler* theWrappedObject, const QString& publicId, const QString& systemId, QXmlInputSource*& ret) +{ + return ( ((PythonQtPublicPromoter_QXmlDefaultHandler*)theWrappedObject)->promoted_resolveEntity(publicId, systemId, ret)); +} + +void PythonQtWrapper_QXmlDefaultHandler::setDocumentLocator(QXmlDefaultHandler* theWrappedObject, QXmlLocator* locator) +{ + ( ((PythonQtPublicPromoter_QXmlDefaultHandler*)theWrappedObject)->promoted_setDocumentLocator(locator)); +} + +bool PythonQtWrapper_QXmlDefaultHandler::skippedEntity(QXmlDefaultHandler* theWrappedObject, const QString& name) +{ + return ( ((PythonQtPublicPromoter_QXmlDefaultHandler*)theWrappedObject)->promoted_skippedEntity(name)); +} + +bool PythonQtWrapper_QXmlDefaultHandler::startCDATA(QXmlDefaultHandler* theWrappedObject) +{ + return ( ((PythonQtPublicPromoter_QXmlDefaultHandler*)theWrappedObject)->promoted_startCDATA()); +} + +bool PythonQtWrapper_QXmlDefaultHandler::startDTD(QXmlDefaultHandler* theWrappedObject, const QString& name, const QString& publicId, const QString& systemId) +{ + return ( ((PythonQtPublicPromoter_QXmlDefaultHandler*)theWrappedObject)->promoted_startDTD(name, publicId, systemId)); +} + +bool PythonQtWrapper_QXmlDefaultHandler::startDocument(QXmlDefaultHandler* theWrappedObject) +{ + return ( ((PythonQtPublicPromoter_QXmlDefaultHandler*)theWrappedObject)->promoted_startDocument()); +} + +bool PythonQtWrapper_QXmlDefaultHandler::startElement(QXmlDefaultHandler* theWrappedObject, const QString& namespaceURI, const QString& localName, const QString& qName, const QXmlAttributes& atts) +{ + return ( ((PythonQtPublicPromoter_QXmlDefaultHandler*)theWrappedObject)->promoted_startElement(namespaceURI, localName, qName, atts)); +} + +bool PythonQtWrapper_QXmlDefaultHandler::startEntity(QXmlDefaultHandler* theWrappedObject, const QString& name) +{ + return ( ((PythonQtPublicPromoter_QXmlDefaultHandler*)theWrappedObject)->promoted_startEntity(name)); +} + +bool PythonQtWrapper_QXmlDefaultHandler::startPrefixMapping(QXmlDefaultHandler* theWrappedObject, const QString& prefix, const QString& uri) +{ + return ( ((PythonQtPublicPromoter_QXmlDefaultHandler*)theWrappedObject)->promoted_startPrefixMapping(prefix, uri)); +} + +bool PythonQtWrapper_QXmlDefaultHandler::unparsedEntityDecl(QXmlDefaultHandler* theWrappedObject, const QString& name, const QString& publicId, const QString& systemId, const QString& notationName) +{ + return ( ((PythonQtPublicPromoter_QXmlDefaultHandler*)theWrappedObject)->promoted_unparsedEntityDecl(name, publicId, systemId, notationName)); +} + +bool PythonQtWrapper_QXmlDefaultHandler::warning(QXmlDefaultHandler* theWrappedObject, const QXmlParseException& exception) +{ + return ( ((PythonQtPublicPromoter_QXmlDefaultHandler*)theWrappedObject)->promoted_warning(exception)); +} + + + +QString PythonQtShell_QXmlEntityResolver::errorString() const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "errorString"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QString"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QString returnValue; + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("errorString", methodInfo, result); + } else { + returnValue = *((QString*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QString(); +} +bool PythonQtShell_QXmlEntityResolver::resolveEntity(const QString& publicId, const QString& systemId, QXmlInputSource*& ret) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "resolveEntity"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "const QString&" , "const QString&" , "QXmlInputSource*&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + bool returnValue; + void* args[4] = {NULL, (void*)&publicId, (void*)&systemId, (void*)&ret}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("resolveEntity", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return bool(); +} +QXmlEntityResolver* PythonQtWrapper_QXmlEntityResolver::new_QXmlEntityResolver() +{ +return new PythonQtShell_QXmlEntityResolver(); } + + + +bool PythonQtShell_QXmlErrorHandler::error(const QXmlParseException& exception) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "error"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "const QXmlParseException&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue; + void* args[2] = {NULL, (void*)&exception}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("error", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return bool(); +} +QString PythonQtShell_QXmlErrorHandler::errorString() const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "errorString"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QString"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QString returnValue; + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("errorString", methodInfo, result); + } else { + returnValue = *((QString*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QString(); +} +bool PythonQtShell_QXmlErrorHandler::fatalError(const QXmlParseException& exception) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "fatalError"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "const QXmlParseException&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue; + void* args[2] = {NULL, (void*)&exception}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("fatalError", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return bool(); +} +bool PythonQtShell_QXmlErrorHandler::warning(const QXmlParseException& exception) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "warning"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "const QXmlParseException&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue; + void* args[2] = {NULL, (void*)&exception}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("warning", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return bool(); +} +QXmlErrorHandler* PythonQtWrapper_QXmlErrorHandler::new_QXmlErrorHandler() +{ +return new PythonQtShell_QXmlErrorHandler(); } + + + +QString PythonQtShell_QXmlInputSource::data() const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "data"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QString"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QString returnValue; + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("data", methodInfo, result); + } else { + returnValue = *((QString*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QXmlInputSource::data(); +} +void PythonQtShell_QXmlInputSource::fetchData() +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "fetchData"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={""}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QXmlInputSource::fetchData(); +} +QString PythonQtShell_QXmlInputSource::fromRawData(const QByteArray& data, bool beginning) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "fromRawData"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QString" , "const QByteArray&" , "bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + QString returnValue; + void* args[3] = {NULL, (void*)&data, (void*)&beginning}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("fromRawData", methodInfo, result); + } else { + returnValue = *((QString*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QXmlInputSource::fromRawData(data, beginning); +} +QChar PythonQtShell_QXmlInputSource::next() +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "next"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QChar"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QChar returnValue; + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("next", methodInfo, result); + } else { + returnValue = *((QChar*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QXmlInputSource::next(); +} +void PythonQtShell_QXmlInputSource::reset() +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "reset"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={""}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QXmlInputSource::reset(); +} +void PythonQtShell_QXmlInputSource::setData(const QByteArray& dat) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "setData"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "const QByteArray&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&dat}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QXmlInputSource::setData(dat); +} +void PythonQtShell_QXmlInputSource::setData(const QString& dat) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "setData"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "const QString&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&dat}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QXmlInputSource::setData(dat); +} +QXmlInputSource* PythonQtWrapper_QXmlInputSource::new_QXmlInputSource() +{ +return new PythonQtShell_QXmlInputSource(); } + +QXmlInputSource* PythonQtWrapper_QXmlInputSource::new_QXmlInputSource(QIODevice* dev) +{ +return new PythonQtShell_QXmlInputSource(dev); } + +QString PythonQtWrapper_QXmlInputSource::data(QXmlInputSource* theWrappedObject) const +{ + return ( ((PythonQtPublicPromoter_QXmlInputSource*)theWrappedObject)->promoted_data()); +} + +void PythonQtWrapper_QXmlInputSource::fetchData(QXmlInputSource* theWrappedObject) +{ + ( ((PythonQtPublicPromoter_QXmlInputSource*)theWrappedObject)->promoted_fetchData()); +} + +QString PythonQtWrapper_QXmlInputSource::fromRawData(QXmlInputSource* theWrappedObject, const QByteArray& data, bool beginning) +{ + return ( ((PythonQtPublicPromoter_QXmlInputSource*)theWrappedObject)->promoted_fromRawData(data, beginning)); +} + +QChar PythonQtWrapper_QXmlInputSource::next(QXmlInputSource* theWrappedObject) +{ + return ( ((PythonQtPublicPromoter_QXmlInputSource*)theWrappedObject)->promoted_next()); +} + +void PythonQtWrapper_QXmlInputSource::reset(QXmlInputSource* theWrappedObject) +{ + ( ((PythonQtPublicPromoter_QXmlInputSource*)theWrappedObject)->promoted_reset()); +} + +void PythonQtWrapper_QXmlInputSource::setData(QXmlInputSource* theWrappedObject, const QByteArray& dat) +{ + ( ((PythonQtPublicPromoter_QXmlInputSource*)theWrappedObject)->promoted_setData(dat)); +} + +void PythonQtWrapper_QXmlInputSource::setData(QXmlInputSource* theWrappedObject, const QString& dat) +{ + ( ((PythonQtPublicPromoter_QXmlInputSource*)theWrappedObject)->promoted_setData(dat)); +} + + + +bool PythonQtShell_QXmlLexicalHandler::comment(const QString& ch) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "comment"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "const QString&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue; + void* args[2] = {NULL, (void*)&ch}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("comment", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return bool(); +} +bool PythonQtShell_QXmlLexicalHandler::endCDATA() +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "endCDATA"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + bool returnValue; + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("endCDATA", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return bool(); +} +bool PythonQtShell_QXmlLexicalHandler::endDTD() +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "endDTD"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + bool returnValue; + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("endDTD", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return bool(); +} +bool PythonQtShell_QXmlLexicalHandler::endEntity(const QString& name) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "endEntity"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "const QString&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue; + void* args[2] = {NULL, (void*)&name}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("endEntity", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return bool(); +} +QString PythonQtShell_QXmlLexicalHandler::errorString() const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "errorString"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QString"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QString returnValue; + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("errorString", methodInfo, result); + } else { + returnValue = *((QString*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QString(); +} +bool PythonQtShell_QXmlLexicalHandler::startCDATA() +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "startCDATA"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + bool returnValue; + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("startCDATA", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return bool(); +} +bool PythonQtShell_QXmlLexicalHandler::startDTD(const QString& name, const QString& publicId, const QString& systemId) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "startDTD"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "const QString&" , "const QString&" , "const QString&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + bool returnValue; + void* args[4] = {NULL, (void*)&name, (void*)&publicId, (void*)&systemId}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("startDTD", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return bool(); +} +bool PythonQtShell_QXmlLexicalHandler::startEntity(const QString& name) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "startEntity"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "const QString&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue; + void* args[2] = {NULL, (void*)&name}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("startEntity", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return bool(); +} +QXmlLexicalHandler* PythonQtWrapper_QXmlLexicalHandler::new_QXmlLexicalHandler() +{ +return new PythonQtShell_QXmlLexicalHandler(); } + + + +int PythonQtShell_QXmlLocator::columnNumber() const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "columnNumber"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + int returnValue; + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("columnNumber", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return int(); +} +int PythonQtShell_QXmlLocator::lineNumber() const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "lineNumber"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + int returnValue; + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("lineNumber", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return int(); +} +QXmlLocator* PythonQtWrapper_QXmlLocator::new_QXmlLocator() +{ +return new PythonQtShell_QXmlLocator(); } + + + +QXmlParseException* PythonQtWrapper_QXmlParseException::new_QXmlParseException(const QString& name, int c, int l, const QString& p, const QString& s) +{ +return new QXmlParseException(name, c, l, p, s); } + +QXmlParseException* PythonQtWrapper_QXmlParseException::new_QXmlParseException(const QXmlParseException& other) +{ +return new QXmlParseException(other); } + +int PythonQtWrapper_QXmlParseException::columnNumber(QXmlParseException* theWrappedObject) const +{ + return ( theWrappedObject->columnNumber()); +} + +int PythonQtWrapper_QXmlParseException::lineNumber(QXmlParseException* theWrappedObject) const +{ + return ( theWrappedObject->lineNumber()); +} + +QString PythonQtWrapper_QXmlParseException::message(QXmlParseException* theWrappedObject) const +{ + return ( theWrappedObject->message()); +} + +QString PythonQtWrapper_QXmlParseException::publicId(QXmlParseException* theWrappedObject) const +{ + return ( theWrappedObject->publicId()); +} + +QString PythonQtWrapper_QXmlParseException::systemId(QXmlParseException* theWrappedObject) const +{ + return ( theWrappedObject->systemId()); +} + + + +QXmlDTDHandler* PythonQtShell_QXmlReader::DTDHandler() const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "DTDHandler"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QXmlDTDHandler*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QXmlDTDHandler* returnValue; + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("DTDHandler", methodInfo, result); + } else { + returnValue = *((QXmlDTDHandler**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return 0; +} +QXmlContentHandler* PythonQtShell_QXmlReader::contentHandler() const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "contentHandler"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QXmlContentHandler*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QXmlContentHandler* returnValue; + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("contentHandler", methodInfo, result); + } else { + returnValue = *((QXmlContentHandler**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return 0; +} +QXmlDeclHandler* PythonQtShell_QXmlReader::declHandler() const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "declHandler"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QXmlDeclHandler*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QXmlDeclHandler* returnValue; + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("declHandler", methodInfo, result); + } else { + returnValue = *((QXmlDeclHandler**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return 0; +} +QXmlEntityResolver* PythonQtShell_QXmlReader::entityResolver() const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "entityResolver"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QXmlEntityResolver*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QXmlEntityResolver* returnValue; + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("entityResolver", methodInfo, result); + } else { + returnValue = *((QXmlEntityResolver**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return 0; +} +QXmlErrorHandler* PythonQtShell_QXmlReader::errorHandler() const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "errorHandler"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QXmlErrorHandler*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QXmlErrorHandler* returnValue; + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("errorHandler", methodInfo, result); + } else { + returnValue = *((QXmlErrorHandler**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return 0; +} +bool PythonQtShell_QXmlReader::feature(const QString& name, bool* ok) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "feature"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "const QString&" , "bool*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue; + void* args[3] = {NULL, (void*)&name, (void*)&ok}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("feature", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return bool(); +} +bool PythonQtShell_QXmlReader::hasFeature(const QString& name) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "hasFeature"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "const QString&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue; + void* args[2] = {NULL, (void*)&name}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("hasFeature", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return bool(); +} +bool PythonQtShell_QXmlReader::hasProperty(const QString& name) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "hasProperty"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "const QString&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue; + void* args[2] = {NULL, (void*)&name}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("hasProperty", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return bool(); +} +QXmlLexicalHandler* PythonQtShell_QXmlReader::lexicalHandler() const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "lexicalHandler"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QXmlLexicalHandler*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QXmlLexicalHandler* returnValue; + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("lexicalHandler", methodInfo, result); + } else { + returnValue = *((QXmlLexicalHandler**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return 0; +} +bool PythonQtShell_QXmlReader::parse(const QXmlInputSource& input) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "parse"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "const QXmlInputSource&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue; + void* args[2] = {NULL, (void*)&input}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("parse", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return bool(); +} +bool PythonQtShell_QXmlReader::parse(const QXmlInputSource* input) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "parse"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "const QXmlInputSource*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue; + void* args[2] = {NULL, (void*)&input}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("parse", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return bool(); +} +void* PythonQtShell_QXmlReader::property(const QString& name, bool* ok) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "property"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"void*" , "const QString&" , "bool*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + void* returnValue; + void* args[3] = {NULL, (void*)&name, (void*)&ok}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("property", methodInfo, result); + } else { + returnValue = *((void**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return 0; +} +void PythonQtShell_QXmlReader::setContentHandler(QXmlContentHandler* handler) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "setContentHandler"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QXmlContentHandler*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&handler}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + +} +void PythonQtShell_QXmlReader::setDTDHandler(QXmlDTDHandler* handler) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "setDTDHandler"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QXmlDTDHandler*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&handler}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + +} +void PythonQtShell_QXmlReader::setDeclHandler(QXmlDeclHandler* handler) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "setDeclHandler"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QXmlDeclHandler*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&handler}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + +} +void PythonQtShell_QXmlReader::setEntityResolver(QXmlEntityResolver* handler) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "setEntityResolver"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QXmlEntityResolver*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&handler}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + +} +void PythonQtShell_QXmlReader::setErrorHandler(QXmlErrorHandler* handler) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "setErrorHandler"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QXmlErrorHandler*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&handler}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + +} +void PythonQtShell_QXmlReader::setFeature(const QString& name, bool value) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "setFeature"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "const QString&" , "bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + void* args[3] = {NULL, (void*)&name, (void*)&value}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + +} +void PythonQtShell_QXmlReader::setLexicalHandler(QXmlLexicalHandler* handler) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "setLexicalHandler"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QXmlLexicalHandler*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&handler}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + +} +void PythonQtShell_QXmlReader::setProperty(const QString& name, void* value) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "setProperty"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "const QString&" , "void*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + void* args[3] = {NULL, (void*)&name, (void*)&value}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + +} +QXmlReader* PythonQtWrapper_QXmlReader::new_QXmlReader() +{ +return new PythonQtShell_QXmlReader(); } + + + +QXmlDTDHandler* PythonQtShell_QXmlSimpleReader::DTDHandler() const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "DTDHandler"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QXmlDTDHandler*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QXmlDTDHandler* returnValue; + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("DTDHandler", methodInfo, result); + } else { + returnValue = *((QXmlDTDHandler**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QXmlSimpleReader::DTDHandler(); +} +QXmlContentHandler* PythonQtShell_QXmlSimpleReader::contentHandler() const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "contentHandler"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QXmlContentHandler*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QXmlContentHandler* returnValue; + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("contentHandler", methodInfo, result); + } else { + returnValue = *((QXmlContentHandler**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QXmlSimpleReader::contentHandler(); +} +QXmlDeclHandler* PythonQtShell_QXmlSimpleReader::declHandler() const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "declHandler"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QXmlDeclHandler*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QXmlDeclHandler* returnValue; + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("declHandler", methodInfo, result); + } else { + returnValue = *((QXmlDeclHandler**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QXmlSimpleReader::declHandler(); +} +QXmlEntityResolver* PythonQtShell_QXmlSimpleReader::entityResolver() const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "entityResolver"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QXmlEntityResolver*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QXmlEntityResolver* returnValue; + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("entityResolver", methodInfo, result); + } else { + returnValue = *((QXmlEntityResolver**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QXmlSimpleReader::entityResolver(); +} +QXmlErrorHandler* PythonQtShell_QXmlSimpleReader::errorHandler() const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "errorHandler"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QXmlErrorHandler*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QXmlErrorHandler* returnValue; + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("errorHandler", methodInfo, result); + } else { + returnValue = *((QXmlErrorHandler**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QXmlSimpleReader::errorHandler(); +} +bool PythonQtShell_QXmlSimpleReader::feature(const QString& name, bool* ok) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "feature"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "const QString&" , "bool*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue; + void* args[3] = {NULL, (void*)&name, (void*)&ok}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("feature", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QXmlSimpleReader::feature(name, ok); +} +bool PythonQtShell_QXmlSimpleReader::hasFeature(const QString& name) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "hasFeature"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "const QString&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue; + void* args[2] = {NULL, (void*)&name}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("hasFeature", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QXmlSimpleReader::hasFeature(name); +} +bool PythonQtShell_QXmlSimpleReader::hasProperty(const QString& name) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "hasProperty"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "const QString&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue; + void* args[2] = {NULL, (void*)&name}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("hasProperty", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QXmlSimpleReader::hasProperty(name); +} +QXmlLexicalHandler* PythonQtShell_QXmlSimpleReader::lexicalHandler() const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "lexicalHandler"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QXmlLexicalHandler*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QXmlLexicalHandler* returnValue; + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("lexicalHandler", methodInfo, result); + } else { + returnValue = *((QXmlLexicalHandler**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QXmlSimpleReader::lexicalHandler(); +} +bool PythonQtShell_QXmlSimpleReader::parse(const QXmlInputSource& input) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "parse"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "const QXmlInputSource&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue; + void* args[2] = {NULL, (void*)&input}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("parse", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QXmlSimpleReader::parse(input); +} +bool PythonQtShell_QXmlSimpleReader::parse(const QXmlInputSource* input) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "parse"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "const QXmlInputSource*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue; + void* args[2] = {NULL, (void*)&input}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("parse", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QXmlSimpleReader::parse(input); +} +bool PythonQtShell_QXmlSimpleReader::parse(const QXmlInputSource* input, bool incremental) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "parse"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "const QXmlInputSource*" , "bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue; + void* args[3] = {NULL, (void*)&input, (void*)&incremental}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("parse", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QXmlSimpleReader::parse(input, incremental); +} +bool PythonQtShell_QXmlSimpleReader::parseContinue() +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "parseContinue"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + bool returnValue; + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("parseContinue", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QXmlSimpleReader::parseContinue(); +} +void* PythonQtShell_QXmlSimpleReader::property(const QString& name, bool* ok) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "property"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"void*" , "const QString&" , "bool*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + void* returnValue; + void* args[3] = {NULL, (void*)&name, (void*)&ok}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("property", methodInfo, result); + } else { + returnValue = *((void**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QXmlSimpleReader::property(name, ok); +} +void PythonQtShell_QXmlSimpleReader::setContentHandler(QXmlContentHandler* handler) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "setContentHandler"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QXmlContentHandler*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&handler}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QXmlSimpleReader::setContentHandler(handler); +} +void PythonQtShell_QXmlSimpleReader::setDTDHandler(QXmlDTDHandler* handler) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "setDTDHandler"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QXmlDTDHandler*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&handler}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QXmlSimpleReader::setDTDHandler(handler); +} +void PythonQtShell_QXmlSimpleReader::setDeclHandler(QXmlDeclHandler* handler) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "setDeclHandler"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QXmlDeclHandler*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&handler}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QXmlSimpleReader::setDeclHandler(handler); +} +void PythonQtShell_QXmlSimpleReader::setEntityResolver(QXmlEntityResolver* handler) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "setEntityResolver"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QXmlEntityResolver*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&handler}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QXmlSimpleReader::setEntityResolver(handler); +} +void PythonQtShell_QXmlSimpleReader::setErrorHandler(QXmlErrorHandler* handler) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "setErrorHandler"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QXmlErrorHandler*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&handler}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QXmlSimpleReader::setErrorHandler(handler); +} +void PythonQtShell_QXmlSimpleReader::setFeature(const QString& name, bool value) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "setFeature"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "const QString&" , "bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + void* args[3] = {NULL, (void*)&name, (void*)&value}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QXmlSimpleReader::setFeature(name, value); +} +void PythonQtShell_QXmlSimpleReader::setLexicalHandler(QXmlLexicalHandler* handler) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "setLexicalHandler"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QXmlLexicalHandler*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&handler}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QXmlSimpleReader::setLexicalHandler(handler); +} +void PythonQtShell_QXmlSimpleReader::setProperty(const QString& name, void* value) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "setProperty"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "const QString&" , "void*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + void* args[3] = {NULL, (void*)&name, (void*)&value}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QXmlSimpleReader::setProperty(name, value); +} +QXmlSimpleReader* PythonQtWrapper_QXmlSimpleReader::new_QXmlSimpleReader() +{ +return new PythonQtShell_QXmlSimpleReader(); } + +QXmlDTDHandler* PythonQtWrapper_QXmlSimpleReader::DTDHandler(QXmlSimpleReader* theWrappedObject) const +{ + return ( ((PythonQtPublicPromoter_QXmlSimpleReader*)theWrappedObject)->promoted_DTDHandler()); +} + +QXmlContentHandler* PythonQtWrapper_QXmlSimpleReader::contentHandler(QXmlSimpleReader* theWrappedObject) const +{ + return ( ((PythonQtPublicPromoter_QXmlSimpleReader*)theWrappedObject)->promoted_contentHandler()); +} + +QXmlDeclHandler* PythonQtWrapper_QXmlSimpleReader::declHandler(QXmlSimpleReader* theWrappedObject) const +{ + return ( ((PythonQtPublicPromoter_QXmlSimpleReader*)theWrappedObject)->promoted_declHandler()); +} + +QXmlEntityResolver* PythonQtWrapper_QXmlSimpleReader::entityResolver(QXmlSimpleReader* theWrappedObject) const +{ + return ( ((PythonQtPublicPromoter_QXmlSimpleReader*)theWrappedObject)->promoted_entityResolver()); +} + +QXmlErrorHandler* PythonQtWrapper_QXmlSimpleReader::errorHandler(QXmlSimpleReader* theWrappedObject) const +{ + return ( ((PythonQtPublicPromoter_QXmlSimpleReader*)theWrappedObject)->promoted_errorHandler()); +} + +bool PythonQtWrapper_QXmlSimpleReader::feature(QXmlSimpleReader* theWrappedObject, const QString& name, bool* ok) const +{ + return ( ((PythonQtPublicPromoter_QXmlSimpleReader*)theWrappedObject)->promoted_feature(name, ok)); +} + +bool PythonQtWrapper_QXmlSimpleReader::hasFeature(QXmlSimpleReader* theWrappedObject, const QString& name) const +{ + return ( ((PythonQtPublicPromoter_QXmlSimpleReader*)theWrappedObject)->promoted_hasFeature(name)); +} + +bool PythonQtWrapper_QXmlSimpleReader::hasProperty(QXmlSimpleReader* theWrappedObject, const QString& name) const +{ + return ( ((PythonQtPublicPromoter_QXmlSimpleReader*)theWrappedObject)->promoted_hasProperty(name)); +} + +QXmlLexicalHandler* PythonQtWrapper_QXmlSimpleReader::lexicalHandler(QXmlSimpleReader* theWrappedObject) const +{ + return ( ((PythonQtPublicPromoter_QXmlSimpleReader*)theWrappedObject)->promoted_lexicalHandler()); +} + +bool PythonQtWrapper_QXmlSimpleReader::parse(QXmlSimpleReader* theWrappedObject, const QXmlInputSource& input) +{ + return ( ((PythonQtPublicPromoter_QXmlSimpleReader*)theWrappedObject)->promoted_parse(input)); +} + +bool PythonQtWrapper_QXmlSimpleReader::parse(QXmlSimpleReader* theWrappedObject, const QXmlInputSource* input) +{ + return ( ((PythonQtPublicPromoter_QXmlSimpleReader*)theWrappedObject)->promoted_parse(input)); +} + +bool PythonQtWrapper_QXmlSimpleReader::parse(QXmlSimpleReader* theWrappedObject, const QXmlInputSource* input, bool incremental) +{ + return ( ((PythonQtPublicPromoter_QXmlSimpleReader*)theWrappedObject)->promoted_parse(input, incremental)); +} + +bool PythonQtWrapper_QXmlSimpleReader::parseContinue(QXmlSimpleReader* theWrappedObject) +{ + return ( ((PythonQtPublicPromoter_QXmlSimpleReader*)theWrappedObject)->promoted_parseContinue()); +} + +void* PythonQtWrapper_QXmlSimpleReader::property(QXmlSimpleReader* theWrappedObject, const QString& name, bool* ok) const +{ + return ( ((PythonQtPublicPromoter_QXmlSimpleReader*)theWrappedObject)->promoted_property(name, ok)); +} + +void PythonQtWrapper_QXmlSimpleReader::setContentHandler(QXmlSimpleReader* theWrappedObject, QXmlContentHandler* handler) +{ + ( ((PythonQtPublicPromoter_QXmlSimpleReader*)theWrappedObject)->promoted_setContentHandler(handler)); +} + +void PythonQtWrapper_QXmlSimpleReader::setDTDHandler(QXmlSimpleReader* theWrappedObject, QXmlDTDHandler* handler) +{ + ( ((PythonQtPublicPromoter_QXmlSimpleReader*)theWrappedObject)->promoted_setDTDHandler(handler)); +} + +void PythonQtWrapper_QXmlSimpleReader::setDeclHandler(QXmlSimpleReader* theWrappedObject, QXmlDeclHandler* handler) +{ + ( ((PythonQtPublicPromoter_QXmlSimpleReader*)theWrappedObject)->promoted_setDeclHandler(handler)); +} + +void PythonQtWrapper_QXmlSimpleReader::setEntityResolver(QXmlSimpleReader* theWrappedObject, QXmlEntityResolver* handler) +{ + ( ((PythonQtPublicPromoter_QXmlSimpleReader*)theWrappedObject)->promoted_setEntityResolver(handler)); +} + +void PythonQtWrapper_QXmlSimpleReader::setErrorHandler(QXmlSimpleReader* theWrappedObject, QXmlErrorHandler* handler) +{ + ( ((PythonQtPublicPromoter_QXmlSimpleReader*)theWrappedObject)->promoted_setErrorHandler(handler)); +} + +void PythonQtWrapper_QXmlSimpleReader::setFeature(QXmlSimpleReader* theWrappedObject, const QString& name, bool value) +{ + ( ((PythonQtPublicPromoter_QXmlSimpleReader*)theWrappedObject)->promoted_setFeature(name, value)); +} + +void PythonQtWrapper_QXmlSimpleReader::setLexicalHandler(QXmlSimpleReader* theWrappedObject, QXmlLexicalHandler* handler) +{ + ( ((PythonQtPublicPromoter_QXmlSimpleReader*)theWrappedObject)->promoted_setLexicalHandler(handler)); +} + +void PythonQtWrapper_QXmlSimpleReader::setProperty(QXmlSimpleReader* theWrappedObject, const QString& name, void* value) +{ + ( ((PythonQtPublicPromoter_QXmlSimpleReader*)theWrappedObject)->promoted_setProperty(name, value)); +} + + diff --git a/generated_cpp_47/com_trolltech_qt_xml/com_trolltech_qt_xml0.h b/generated_cpp_47/com_trolltech_qt_xml/com_trolltech_qt_xml0.h new file mode 100644 index 00000000..b7fae98d --- /dev/null +++ b/generated_cpp_47/com_trolltech_qt_xml/com_trolltech_qt_xml0.h @@ -0,0 +1,962 @@ +#include +#include +#include +#include +#include +#include +#include +#include + + + +class PythonQtWrapper_QDomAttr : public QObject +{ Q_OBJECT +public: +public slots: +QDomAttr* new_QDomAttr(); +QDomAttr* new_QDomAttr(const QDomAttr& x); +void delete_QDomAttr(QDomAttr* obj) { delete obj; } + QString name(QDomAttr* theWrappedObject) const; + QDomElement ownerElement(QDomAttr* theWrappedObject) const; + void setValue(QDomAttr* theWrappedObject, const QString& arg__1); + bool specified(QDomAttr* theWrappedObject) const; + QString value(QDomAttr* theWrappedObject) const; + bool __nonzero__(QDomAttr* obj) { return !obj->isNull(); } +}; + + + + + +class PythonQtWrapper_QDomCDATASection : public QObject +{ Q_OBJECT +public: +public slots: +QDomCDATASection* new_QDomCDATASection(); +QDomCDATASection* new_QDomCDATASection(const QDomCDATASection& x); +void delete_QDomCDATASection(QDomCDATASection* obj) { delete obj; } + bool __nonzero__(QDomCDATASection* obj) { return !obj->isNull(); } +}; + + + + + +class PythonQtWrapper_QDomCharacterData : public QObject +{ Q_OBJECT +public: +public slots: +QDomCharacterData* new_QDomCharacterData(); +QDomCharacterData* new_QDomCharacterData(const QDomCharacterData& x); +void delete_QDomCharacterData(QDomCharacterData* obj) { delete obj; } + void appendData(QDomCharacterData* theWrappedObject, const QString& arg); + QString data(QDomCharacterData* theWrappedObject) const; + void deleteData(QDomCharacterData* theWrappedObject, unsigned long offset, unsigned long count); + void insertData(QDomCharacterData* theWrappedObject, unsigned long offset, const QString& arg); + uint length(QDomCharacterData* theWrappedObject) const; + void replaceData(QDomCharacterData* theWrappedObject, unsigned long offset, unsigned long count, const QString& arg); + void setData(QDomCharacterData* theWrappedObject, const QString& arg__1); + QString substringData(QDomCharacterData* theWrappedObject, unsigned long offset, unsigned long count); + bool __nonzero__(QDomCharacterData* obj) { return !obj->isNull(); } +}; + + + + + +class PythonQtWrapper_QDomComment : public QObject +{ Q_OBJECT +public: +public slots: +QDomComment* new_QDomComment(); +QDomComment* new_QDomComment(const QDomComment& x); +void delete_QDomComment(QDomComment* obj) { delete obj; } + bool __nonzero__(QDomComment* obj) { return !obj->isNull(); } +}; + + + + + +class PythonQtWrapper_QDomDocument : public QObject +{ Q_OBJECT +public: +public slots: +QDomDocument* new_QDomDocument(); +QDomDocument* new_QDomDocument(const QDomDocument& x); +QDomDocument* new_QDomDocument(const QDomDocumentType& doctype); +QDomDocument* new_QDomDocument(const QString& name); +void delete_QDomDocument(QDomDocument* obj) { delete obj; } + QDomAttr createAttribute(QDomDocument* theWrappedObject, const QString& name); + QDomAttr createAttributeNS(QDomDocument* theWrappedObject, const QString& nsURI, const QString& qName); + QDomCDATASection createCDATASection(QDomDocument* theWrappedObject, const QString& data); + QDomComment createComment(QDomDocument* theWrappedObject, const QString& data); + QDomDocumentFragment createDocumentFragment(QDomDocument* theWrappedObject); + QDomElement createElement(QDomDocument* theWrappedObject, const QString& tagName); + QDomElement createElementNS(QDomDocument* theWrappedObject, const QString& nsURI, const QString& qName); + QDomEntityReference createEntityReference(QDomDocument* theWrappedObject, const QString& name); + QDomProcessingInstruction createProcessingInstruction(QDomDocument* theWrappedObject, const QString& target, const QString& data); + QDomText createTextNode(QDomDocument* theWrappedObject, const QString& data); + QDomDocumentType doctype(QDomDocument* theWrappedObject) const; + QDomElement documentElement(QDomDocument* theWrappedObject) const; + QDomElement elementById(QDomDocument* theWrappedObject, const QString& elementId); + QDomNodeList elementsByTagName(QDomDocument* theWrappedObject, const QString& tagname) const; + QDomNodeList elementsByTagNameNS(QDomDocument* theWrappedObject, const QString& nsURI, const QString& localName); + QDomImplementation implementation(QDomDocument* theWrappedObject) const; + QDomNode importNode(QDomDocument* theWrappedObject, const QDomNode& importedNode, bool deep); + bool setContent(QDomDocument* theWrappedObject, QIODevice* dev, QString* errorMsg = 0, int* errorLine = 0, int* errorColumn = 0); + bool setContent(QDomDocument* theWrappedObject, QIODevice* dev, bool namespaceProcessing, QString* errorMsg = 0, int* errorLine = 0, int* errorColumn = 0); + bool setContent(QDomDocument* theWrappedObject, QXmlInputSource* source, QXmlReader* reader, QString* errorMsg = 0, int* errorLine = 0, int* errorColumn = 0); + bool setContent(QDomDocument* theWrappedObject, QXmlInputSource* source, bool namespaceProcessing, QString* errorMsg = 0, int* errorLine = 0, int* errorColumn = 0); + bool setContent(QDomDocument* theWrappedObject, const QByteArray& text, QString* errorMsg = 0, int* errorLine = 0, int* errorColumn = 0); + bool setContent(QDomDocument* theWrappedObject, const QByteArray& text, bool namespaceProcessing, QString* errorMsg = 0, int* errorLine = 0, int* errorColumn = 0); + bool setContent(QDomDocument* theWrappedObject, const QString& text, QString* errorMsg = 0, int* errorLine = 0, int* errorColumn = 0); + bool setContent(QDomDocument* theWrappedObject, const QString& text, bool namespaceProcessing, QString* errorMsg = 0, int* errorLine = 0, int* errorColumn = 0); + QByteArray toByteArray(QDomDocument* theWrappedObject, int arg__1 = 1) const; + QString toString(QDomDocument* theWrappedObject, int arg__1 = 1) const; + QString py_toString(QDomDocument*); + bool __nonzero__(QDomDocument* obj) { return !obj->isNull(); } +}; + + + + + +class PythonQtWrapper_QDomDocumentFragment : public QObject +{ Q_OBJECT +public: +public slots: +QDomDocumentFragment* new_QDomDocumentFragment(); +QDomDocumentFragment* new_QDomDocumentFragment(const QDomDocumentFragment& x); +void delete_QDomDocumentFragment(QDomDocumentFragment* obj) { delete obj; } + bool __nonzero__(QDomDocumentFragment* obj) { return !obj->isNull(); } +}; + + + + + +class PythonQtWrapper_QDomDocumentType : public QObject +{ Q_OBJECT +public: +public slots: +QDomDocumentType* new_QDomDocumentType(); +QDomDocumentType* new_QDomDocumentType(const QDomDocumentType& x); +void delete_QDomDocumentType(QDomDocumentType* obj) { delete obj; } + QDomNamedNodeMap entities(QDomDocumentType* theWrappedObject) const; + QString internalSubset(QDomDocumentType* theWrappedObject) const; + QString name(QDomDocumentType* theWrappedObject) const; + QDomNamedNodeMap notations(QDomDocumentType* theWrappedObject) const; + QString publicId(QDomDocumentType* theWrappedObject) const; + QString systemId(QDomDocumentType* theWrappedObject) const; + bool __nonzero__(QDomDocumentType* obj) { return !obj->isNull(); } +}; + + + + + +class PythonQtWrapper_QDomElement : public QObject +{ Q_OBJECT +public: +public slots: +QDomElement* new_QDomElement(); +QDomElement* new_QDomElement(const QDomElement& x); +void delete_QDomElement(QDomElement* obj) { delete obj; } + 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); + QDomAttr attributeNodeNS(QDomElement* theWrappedObject, const QString& nsURI, const QString& localName); + QDomNamedNodeMap attributes(QDomElement* theWrappedObject) const; + QDomNodeList elementsByTagName(QDomElement* theWrappedObject, const QString& tagname) const; + QDomNodeList elementsByTagNameNS(QDomElement* theWrappedObject, const QString& nsURI, const QString& localName) const; + bool hasAttribute(QDomElement* theWrappedObject, const QString& name) const; + bool hasAttributeNS(QDomElement* theWrappedObject, const QString& nsURI, const QString& localName) const; + void removeAttribute(QDomElement* theWrappedObject, const QString& name); + void removeAttributeNS(QDomElement* theWrappedObject, const QString& nsURI, const QString& localName); + QDomAttr removeAttributeNode(QDomElement* theWrappedObject, const QDomAttr& oldAttr); + void setAttribute(QDomElement* theWrappedObject, const QString& name, const QString& value); + void setAttribute(QDomElement* theWrappedObject, const QString& name, double value); + void setAttribute(QDomElement* theWrappedObject, const QString& name, float value); + void setAttribute(QDomElement* theWrappedObject, const QString& name, int value); + void setAttribute(QDomElement* theWrappedObject, const QString& name, qlonglong value); + void setAttribute(QDomElement* theWrappedObject, const QString& name, qulonglong value); + void setAttributeNS(QDomElement* theWrappedObject, const QString nsURI, const QString& qName, const QString& value); + void setAttributeNS(QDomElement* theWrappedObject, const QString nsURI, const QString& qName, double value); + void setAttributeNS(QDomElement* theWrappedObject, const QString nsURI, const QString& qName, int value); + void setAttributeNS(QDomElement* theWrappedObject, const QString nsURI, const QString& qName, qlonglong value); + void setAttributeNS(QDomElement* theWrappedObject, const QString nsURI, const QString& qName, qulonglong value); + QDomAttr setAttributeNode(QDomElement* theWrappedObject, const QDomAttr& newAttr); + QDomAttr setAttributeNodeNS(QDomElement* theWrappedObject, const QDomAttr& newAttr); + void setTagName(QDomElement* theWrappedObject, const QString& name); + QString tagName(QDomElement* theWrappedObject) const; + QString text(QDomElement* theWrappedObject) const; + bool __nonzero__(QDomElement* obj) { return !obj->isNull(); } +}; + + + + + +class PythonQtWrapper_QDomEntity : public QObject +{ Q_OBJECT +public: +public slots: +QDomEntity* new_QDomEntity(); +QDomEntity* new_QDomEntity(const QDomEntity& x); +void delete_QDomEntity(QDomEntity* obj) { delete obj; } + QString notationName(QDomEntity* theWrappedObject) const; + QString publicId(QDomEntity* theWrappedObject) const; + QString systemId(QDomEntity* theWrappedObject) const; + bool __nonzero__(QDomEntity* obj) { return !obj->isNull(); } +}; + + + + + +class PythonQtWrapper_QDomEntityReference : public QObject +{ Q_OBJECT +public: +public slots: +QDomEntityReference* new_QDomEntityReference(); +QDomEntityReference* new_QDomEntityReference(const QDomEntityReference& x); +void delete_QDomEntityReference(QDomEntityReference* obj) { delete obj; } + bool __nonzero__(QDomEntityReference* obj) { return !obj->isNull(); } +}; + + + + + +class PythonQtWrapper_QDomImplementation : public QObject +{ Q_OBJECT +public: +Q_ENUMS(InvalidDataPolicy ) +enum InvalidDataPolicy{ + AcceptInvalidChars = QDomImplementation::AcceptInvalidChars, DropInvalidChars = QDomImplementation::DropInvalidChars, ReturnNullNode = QDomImplementation::ReturnNullNode}; +public slots: +QDomImplementation* new_QDomImplementation(); +QDomImplementation* new_QDomImplementation(const QDomImplementation& arg__1); +void delete_QDomImplementation(QDomImplementation* obj) { delete obj; } + QDomDocument createDocument(QDomImplementation* theWrappedObject, const QString& nsURI, const QString& qName, const QDomDocumentType& doctype); + QDomDocumentType createDocumentType(QDomImplementation* theWrappedObject, const QString& qName, const QString& publicId, const QString& systemId); + bool hasFeature(QDomImplementation* theWrappedObject, const QString& feature, const QString& version) const; + QDomImplementation::InvalidDataPolicy static_QDomImplementation_invalidDataPolicy(); + bool isNull(QDomImplementation* theWrappedObject); + bool __ne__(QDomImplementation* theWrappedObject, const QDomImplementation& arg__1) const; + bool __eq__(QDomImplementation* theWrappedObject, const QDomImplementation& arg__1) const; + void static_QDomImplementation_setInvalidDataPolicy(QDomImplementation::InvalidDataPolicy policy); + bool __nonzero__(QDomImplementation* obj) { return !obj->isNull(); } +}; + + + + + +class PythonQtWrapper_QDomNamedNodeMap : public QObject +{ Q_OBJECT +public: +public slots: +QDomNamedNodeMap* new_QDomNamedNodeMap(); +QDomNamedNodeMap* new_QDomNamedNodeMap(const QDomNamedNodeMap& arg__1); +void delete_QDomNamedNodeMap(QDomNamedNodeMap* obj) { delete obj; } + bool contains(QDomNamedNodeMap* theWrappedObject, const QString& name) const; + int count(QDomNamedNodeMap* theWrappedObject) const; + bool isEmpty(QDomNamedNodeMap* theWrappedObject) const; + QDomNode item(QDomNamedNodeMap* theWrappedObject, int index) const; + uint length(QDomNamedNodeMap* theWrappedObject) const; + QDomNode namedItem(QDomNamedNodeMap* theWrappedObject, const QString& name) const; + QDomNode namedItemNS(QDomNamedNodeMap* theWrappedObject, const QString& nsURI, const QString& localName) const; + bool __ne__(QDomNamedNodeMap* theWrappedObject, const QDomNamedNodeMap& arg__1) const; + bool __eq__(QDomNamedNodeMap* theWrappedObject, const QDomNamedNodeMap& arg__1) const; + QDomNode removeNamedItem(QDomNamedNodeMap* theWrappedObject, const QString& name); + QDomNode removeNamedItemNS(QDomNamedNodeMap* theWrappedObject, const QString& nsURI, const QString& localName); + QDomNode setNamedItem(QDomNamedNodeMap* theWrappedObject, const QDomNode& newNode); + QDomNode setNamedItemNS(QDomNamedNodeMap* theWrappedObject, const QDomNode& newNode); + int size(QDomNamedNodeMap* theWrappedObject) const; +}; + + + + + +class PythonQtWrapper_QDomNode : public QObject +{ Q_OBJECT +public: +Q_ENUMS(NodeType EncodingPolicy ) +enum NodeType{ + ElementNode = QDomNode::ElementNode, AttributeNode = QDomNode::AttributeNode, TextNode = QDomNode::TextNode, CDATASectionNode = QDomNode::CDATASectionNode, EntityReferenceNode = QDomNode::EntityReferenceNode, EntityNode = QDomNode::EntityNode, ProcessingInstructionNode = QDomNode::ProcessingInstructionNode, CommentNode = QDomNode::CommentNode, DocumentNode = QDomNode::DocumentNode, DocumentTypeNode = QDomNode::DocumentTypeNode, DocumentFragmentNode = QDomNode::DocumentFragmentNode, NotationNode = QDomNode::NotationNode, BaseNode = QDomNode::BaseNode, CharacterDataNode = QDomNode::CharacterDataNode}; +enum EncodingPolicy{ + EncodingFromDocument = QDomNode::EncodingFromDocument, EncodingFromTextStream = QDomNode::EncodingFromTextStream}; +public slots: +QDomNode* new_QDomNode(); +QDomNode* new_QDomNode(const QDomNode& arg__1); +void delete_QDomNode(QDomNode* obj) { delete obj; } + QDomNode appendChild(QDomNode* theWrappedObject, const QDomNode& newChild); + QDomNodeList childNodes(QDomNode* theWrappedObject) const; + void clear(QDomNode* theWrappedObject); + QDomNode cloneNode(QDomNode* theWrappedObject, bool deep = true) const; + int columnNumber(QDomNode* theWrappedObject) const; + QDomNode firstChild(QDomNode* theWrappedObject) const; + QDomElement firstChildElement(QDomNode* theWrappedObject, const QString& tagName = QString()) const; + bool hasAttributes(QDomNode* theWrappedObject) const; + bool hasChildNodes(QDomNode* theWrappedObject) const; + QDomNode insertAfter(QDomNode* theWrappedObject, const QDomNode& newChild, const QDomNode& refChild); + QDomNode insertBefore(QDomNode* theWrappedObject, const QDomNode& newChild, const QDomNode& refChild); + bool isAttr(QDomNode* theWrappedObject) const; + bool isCDATASection(QDomNode* theWrappedObject) const; + bool isCharacterData(QDomNode* theWrappedObject) const; + bool isComment(QDomNode* theWrappedObject) const; + bool isDocument(QDomNode* theWrappedObject) const; + bool isDocumentFragment(QDomNode* theWrappedObject) const; + bool isDocumentType(QDomNode* theWrappedObject) const; + bool isElement(QDomNode* theWrappedObject) const; + bool isEntity(QDomNode* theWrappedObject) const; + bool isEntityReference(QDomNode* theWrappedObject) const; + bool isNotation(QDomNode* theWrappedObject) const; + bool isNull(QDomNode* theWrappedObject) const; + bool isProcessingInstruction(QDomNode* theWrappedObject) const; + bool isSupported(QDomNode* theWrappedObject, const QString& feature, const QString& version) const; + bool isText(QDomNode* theWrappedObject) const; + QDomNode lastChild(QDomNode* theWrappedObject) const; + QDomElement lastChildElement(QDomNode* theWrappedObject, const QString& tagName = QString()) const; + int lineNumber(QDomNode* theWrappedObject) const; + QString localName(QDomNode* theWrappedObject) const; + QDomNode namedItem(QDomNode* theWrappedObject, const QString& name) const; + QString namespaceURI(QDomNode* theWrappedObject) const; + QDomNode nextSibling(QDomNode* theWrappedObject) const; + QDomElement nextSiblingElement(QDomNode* theWrappedObject, const QString& taName = QString()) const; + QString nodeName(QDomNode* theWrappedObject) const; + QDomNode::NodeType nodeType(QDomNode* theWrappedObject) const; + QString nodeValue(QDomNode* theWrappedObject) const; + void normalize(QDomNode* theWrappedObject); + bool __ne__(QDomNode* theWrappedObject, const QDomNode& arg__1) const; + void writeTo(QDomNode* theWrappedObject, QTextStream& arg__1); + bool __eq__(QDomNode* theWrappedObject, const QDomNode& arg__1) const; + QDomDocument ownerDocument(QDomNode* theWrappedObject) const; + QDomNode parentNode(QDomNode* theWrappedObject) const; + QString prefix(QDomNode* theWrappedObject) const; + QDomNode previousSibling(QDomNode* theWrappedObject) const; + QDomElement previousSiblingElement(QDomNode* theWrappedObject, const QString& tagName = QString()) const; + QDomNode removeChild(QDomNode* theWrappedObject, const QDomNode& oldChild); + QDomNode replaceChild(QDomNode* theWrappedObject, const QDomNode& newChild, const QDomNode& oldChild); + void save(QDomNode* theWrappedObject, QTextStream& arg__1, int arg__2) const; + void save(QDomNode* theWrappedObject, QTextStream& arg__1, int arg__2, QDomNode::EncodingPolicy arg__3) const; + void setNodeValue(QDomNode* theWrappedObject, const QString& arg__1); + void setPrefix(QDomNode* theWrappedObject, const QString& pre); + QDomAttr toAttr(QDomNode* theWrappedObject) const; + QDomCDATASection toCDATASection(QDomNode* theWrappedObject) const; + QDomCharacterData toCharacterData(QDomNode* theWrappedObject) const; + QDomComment toComment(QDomNode* theWrappedObject) const; + QDomDocument toDocument(QDomNode* theWrappedObject) const; + QDomDocumentFragment toDocumentFragment(QDomNode* theWrappedObject) const; + QDomDocumentType toDocumentType(QDomNode* theWrappedObject) const; + QDomElement toElement(QDomNode* theWrappedObject) const; + QDomEntity toEntity(QDomNode* theWrappedObject) const; + QDomEntityReference toEntityReference(QDomNode* theWrappedObject) const; + QDomNotation toNotation(QDomNode* theWrappedObject) const; + QDomProcessingInstruction toProcessingInstruction(QDomNode* theWrappedObject) const; + QDomText toText(QDomNode* theWrappedObject) const; + bool __nonzero__(QDomNode* obj) { return !obj->isNull(); } +}; + + + + + +class PythonQtWrapper_QDomNodeList : public QObject +{ Q_OBJECT +public: +public slots: +QDomNodeList* new_QDomNodeList(); +QDomNodeList* new_QDomNodeList(const QDomNodeList& arg__1); +void delete_QDomNodeList(QDomNodeList* obj) { delete obj; } + QDomNode at(QDomNodeList* theWrappedObject, int index) const; + int count(QDomNodeList* theWrappedObject) const; + bool isEmpty(QDomNodeList* theWrappedObject) const; + QDomNode item(QDomNodeList* theWrappedObject, int index) const; + uint length(QDomNodeList* theWrappedObject) const; + bool __ne__(QDomNodeList* theWrappedObject, const QDomNodeList& arg__1) const; + bool __eq__(QDomNodeList* theWrappedObject, const QDomNodeList& arg__1) const; + int size(QDomNodeList* theWrappedObject) const; +}; + + + + + +class PythonQtWrapper_QDomNotation : public QObject +{ Q_OBJECT +public: +public slots: +QDomNotation* new_QDomNotation(); +QDomNotation* new_QDomNotation(const QDomNotation& x); +void delete_QDomNotation(QDomNotation* obj) { delete obj; } + QString publicId(QDomNotation* theWrappedObject) const; + QString systemId(QDomNotation* theWrappedObject) const; + bool __nonzero__(QDomNotation* obj) { return !obj->isNull(); } +}; + + + + + +class PythonQtWrapper_QDomProcessingInstruction : public QObject +{ Q_OBJECT +public: +public slots: +QDomProcessingInstruction* new_QDomProcessingInstruction(); +QDomProcessingInstruction* new_QDomProcessingInstruction(const QDomProcessingInstruction& x); +void delete_QDomProcessingInstruction(QDomProcessingInstruction* obj) { delete obj; } + QString data(QDomProcessingInstruction* theWrappedObject) const; + void setData(QDomProcessingInstruction* theWrappedObject, const QString& d); + QString target(QDomProcessingInstruction* theWrappedObject) const; + bool __nonzero__(QDomProcessingInstruction* obj) { return !obj->isNull(); } +}; + + + + + +class PythonQtWrapper_QDomText : public QObject +{ Q_OBJECT +public: +public slots: +QDomText* new_QDomText(); +QDomText* new_QDomText(const QDomText& x); +void delete_QDomText(QDomText* obj) { delete obj; } + QDomText splitText(QDomText* theWrappedObject, int offset); + bool __nonzero__(QDomText* obj) { return !obj->isNull(); } +}; + + + + + +class PythonQtShell_QXmlAttributes : public QXmlAttributes +{ +public: + PythonQtShell_QXmlAttributes():QXmlAttributes(),_wrapper(NULL) {}; + + + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtWrapper_QXmlAttributes : public QObject +{ Q_OBJECT +public: +public slots: +QXmlAttributes* new_QXmlAttributes(); +QXmlAttributes* new_QXmlAttributes(const QXmlAttributes& other) { +PythonQtShell_QXmlAttributes* a = new PythonQtShell_QXmlAttributes(); +*((QXmlAttributes*)a) = other; +return a; } +void delete_QXmlAttributes(QXmlAttributes* obj) { delete obj; } + 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; + QString qName(QXmlAttributes* theWrappedObject, int index) const; + 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) {}; + +virtual bool characters(const QString& ch); +virtual bool endDocument(); +virtual bool endElement(const QString& namespaceURI, const QString& localName, const QString& qName); +virtual bool endPrefixMapping(const QString& prefix); +virtual QString errorString() const; +virtual bool ignorableWhitespace(const QString& ch); +virtual bool processingInstruction(const QString& target, const QString& data); +virtual void setDocumentLocator(QXmlLocator* locator); +virtual bool skippedEntity(const QString& name); +virtual bool startDocument(); +virtual bool startElement(const QString& namespaceURI, const QString& localName, const QString& qName, const QXmlAttributes& atts); +virtual bool startPrefixMapping(const QString& prefix, const QString& uri); + + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtWrapper_QXmlContentHandler : public QObject +{ Q_OBJECT +public: +public slots: +QXmlContentHandler* new_QXmlContentHandler(); +void delete_QXmlContentHandler(QXmlContentHandler* obj) { delete obj; } +}; + + + + + +class PythonQtShell_QXmlDTDHandler : public QXmlDTDHandler +{ +public: + PythonQtShell_QXmlDTDHandler():QXmlDTDHandler(),_wrapper(NULL) {}; + +virtual QString errorString() const; +virtual bool notationDecl(const QString& name, const QString& publicId, const QString& systemId); +virtual bool unparsedEntityDecl(const QString& name, const QString& publicId, const QString& systemId, const QString& notationName); + + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtWrapper_QXmlDTDHandler : public QObject +{ Q_OBJECT +public: +public slots: +QXmlDTDHandler* new_QXmlDTDHandler(); +void delete_QXmlDTDHandler(QXmlDTDHandler* obj) { delete obj; } +}; + + + + + +class PythonQtShell_QXmlDeclHandler : public QXmlDeclHandler +{ +public: + PythonQtShell_QXmlDeclHandler():QXmlDeclHandler(),_wrapper(NULL) {}; + +virtual bool attributeDecl(const QString& eName, const QString& aName, const QString& type, const QString& valueDefault, const QString& value); +virtual QString errorString() const; +virtual bool externalEntityDecl(const QString& name, const QString& publicId, const QString& systemId); +virtual bool internalEntityDecl(const QString& name, const QString& value); + + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtWrapper_QXmlDeclHandler : public QObject +{ Q_OBJECT +public: +public slots: +QXmlDeclHandler* new_QXmlDeclHandler(); +void delete_QXmlDeclHandler(QXmlDeclHandler* obj) { delete obj; } +}; + + + + + +class PythonQtShell_QXmlDefaultHandler : public QXmlDefaultHandler +{ +public: + PythonQtShell_QXmlDefaultHandler():QXmlDefaultHandler(),_wrapper(NULL) {}; + +virtual bool attributeDecl(const QString& eName, const QString& aName, const QString& type, const QString& valueDefault, const QString& value); +virtual bool characters(const QString& ch); +virtual bool comment(const QString& ch); +virtual bool endCDATA(); +virtual bool endDTD(); +virtual bool endDocument(); +virtual bool endElement(const QString& namespaceURI, const QString& localName, const QString& qName); +virtual bool endEntity(const QString& name); +virtual bool endPrefixMapping(const QString& prefix); +virtual bool error(const QXmlParseException& exception); +virtual QString errorString() const; +virtual bool externalEntityDecl(const QString& name, const QString& publicId, const QString& systemId); +virtual bool fatalError(const QXmlParseException& exception); +virtual bool ignorableWhitespace(const QString& ch); +virtual bool internalEntityDecl(const QString& name, const QString& value); +virtual bool notationDecl(const QString& name, const QString& publicId, const QString& systemId); +virtual bool processingInstruction(const QString& target, const QString& data); +virtual bool resolveEntity(const QString& publicId, const QString& systemId, QXmlInputSource*& ret); +virtual void setDocumentLocator(QXmlLocator* locator); +virtual bool skippedEntity(const QString& name); +virtual bool startCDATA(); +virtual bool startDTD(const QString& name, const QString& publicId, const QString& systemId); +virtual bool startDocument(); +virtual bool startElement(const QString& namespaceURI, const QString& localName, const QString& qName, const QXmlAttributes& atts); +virtual bool startEntity(const QString& name); +virtual bool startPrefixMapping(const QString& prefix, const QString& uri); +virtual bool unparsedEntityDecl(const QString& name, const QString& publicId, const QString& systemId, const QString& notationName); +virtual bool warning(const QXmlParseException& exception); + + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtPublicPromoter_QXmlDefaultHandler : public QXmlDefaultHandler +{ public: +inline bool promoted_attributeDecl(const QString& eName, const QString& aName, const QString& type, const QString& valueDefault, const QString& value) { return QXmlDefaultHandler::attributeDecl(eName, aName, type, valueDefault, value); } +inline bool promoted_characters(const QString& ch) { return QXmlDefaultHandler::characters(ch); } +inline bool promoted_comment(const QString& ch) { return QXmlDefaultHandler::comment(ch); } +inline bool promoted_endCDATA() { return QXmlDefaultHandler::endCDATA(); } +inline bool promoted_endDTD() { return QXmlDefaultHandler::endDTD(); } +inline bool promoted_endDocument() { return QXmlDefaultHandler::endDocument(); } +inline bool promoted_endElement(const QString& namespaceURI, const QString& localName, const QString& qName) { return QXmlDefaultHandler::endElement(namespaceURI, localName, qName); } +inline bool promoted_endEntity(const QString& name) { return QXmlDefaultHandler::endEntity(name); } +inline bool promoted_endPrefixMapping(const QString& prefix) { return QXmlDefaultHandler::endPrefixMapping(prefix); } +inline bool promoted_error(const QXmlParseException& exception) { return QXmlDefaultHandler::error(exception); } +inline QString promoted_errorString() const { return QXmlDefaultHandler::errorString(); } +inline bool promoted_externalEntityDecl(const QString& name, const QString& publicId, const QString& systemId) { return QXmlDefaultHandler::externalEntityDecl(name, publicId, systemId); } +inline bool promoted_fatalError(const QXmlParseException& exception) { return QXmlDefaultHandler::fatalError(exception); } +inline bool promoted_ignorableWhitespace(const QString& ch) { return QXmlDefaultHandler::ignorableWhitespace(ch); } +inline bool promoted_internalEntityDecl(const QString& name, const QString& value) { return QXmlDefaultHandler::internalEntityDecl(name, value); } +inline bool promoted_notationDecl(const QString& name, const QString& publicId, const QString& systemId) { return QXmlDefaultHandler::notationDecl(name, publicId, systemId); } +inline bool promoted_processingInstruction(const QString& target, const QString& data) { return QXmlDefaultHandler::processingInstruction(target, data); } +inline bool promoted_resolveEntity(const QString& publicId, const QString& systemId, QXmlInputSource*& ret) { return QXmlDefaultHandler::resolveEntity(publicId, systemId, ret); } +inline void promoted_setDocumentLocator(QXmlLocator* locator) { QXmlDefaultHandler::setDocumentLocator(locator); } +inline bool promoted_skippedEntity(const QString& name) { return QXmlDefaultHandler::skippedEntity(name); } +inline bool promoted_startCDATA() { return QXmlDefaultHandler::startCDATA(); } +inline bool promoted_startDTD(const QString& name, const QString& publicId, const QString& systemId) { return QXmlDefaultHandler::startDTD(name, publicId, systemId); } +inline bool promoted_startDocument() { return QXmlDefaultHandler::startDocument(); } +inline bool promoted_startElement(const QString& namespaceURI, const QString& localName, const QString& qName, const QXmlAttributes& atts) { return QXmlDefaultHandler::startElement(namespaceURI, localName, qName, atts); } +inline bool promoted_startEntity(const QString& name) { return QXmlDefaultHandler::startEntity(name); } +inline bool promoted_startPrefixMapping(const QString& prefix, const QString& uri) { return QXmlDefaultHandler::startPrefixMapping(prefix, uri); } +inline bool promoted_unparsedEntityDecl(const QString& name, const QString& publicId, const QString& systemId, const QString& notationName) { return QXmlDefaultHandler::unparsedEntityDecl(name, publicId, systemId, notationName); } +inline bool promoted_warning(const QXmlParseException& exception) { return QXmlDefaultHandler::warning(exception); } +}; + +class PythonQtWrapper_QXmlDefaultHandler : public QObject +{ Q_OBJECT +public: +public slots: +QXmlDefaultHandler* new_QXmlDefaultHandler(); +void delete_QXmlDefaultHandler(QXmlDefaultHandler* obj) { delete obj; } + bool attributeDecl(QXmlDefaultHandler* theWrappedObject, const QString& eName, const QString& aName, const QString& type, const QString& valueDefault, const QString& value); + bool characters(QXmlDefaultHandler* theWrappedObject, const QString& ch); + bool comment(QXmlDefaultHandler* theWrappedObject, const QString& ch); + bool endCDATA(QXmlDefaultHandler* theWrappedObject); + bool endDTD(QXmlDefaultHandler* theWrappedObject); + bool endDocument(QXmlDefaultHandler* theWrappedObject); + bool endElement(QXmlDefaultHandler* theWrappedObject, const QString& namespaceURI, const QString& localName, const QString& qName); + bool endEntity(QXmlDefaultHandler* theWrappedObject, const QString& name); + bool endPrefixMapping(QXmlDefaultHandler* theWrappedObject, const QString& prefix); + bool error(QXmlDefaultHandler* theWrappedObject, const QXmlParseException& exception); + QString errorString(QXmlDefaultHandler* theWrappedObject) const; + bool externalEntityDecl(QXmlDefaultHandler* theWrappedObject, const QString& name, const QString& publicId, const QString& systemId); + bool fatalError(QXmlDefaultHandler* theWrappedObject, const QXmlParseException& exception); + bool ignorableWhitespace(QXmlDefaultHandler* theWrappedObject, const QString& ch); + bool internalEntityDecl(QXmlDefaultHandler* theWrappedObject, const QString& name, const QString& value); + bool notationDecl(QXmlDefaultHandler* theWrappedObject, const QString& name, const QString& publicId, const QString& systemId); + bool processingInstruction(QXmlDefaultHandler* theWrappedObject, const QString& target, const QString& data); + bool resolveEntity(QXmlDefaultHandler* theWrappedObject, const QString& publicId, const QString& systemId, QXmlInputSource*& ret); + void setDocumentLocator(QXmlDefaultHandler* theWrappedObject, QXmlLocator* locator); + bool skippedEntity(QXmlDefaultHandler* theWrappedObject, const QString& name); + bool startCDATA(QXmlDefaultHandler* theWrappedObject); + bool startDTD(QXmlDefaultHandler* theWrappedObject, const QString& name, const QString& publicId, const QString& systemId); + bool startDocument(QXmlDefaultHandler* theWrappedObject); + bool startElement(QXmlDefaultHandler* theWrappedObject, const QString& namespaceURI, const QString& localName, const QString& qName, const QXmlAttributes& atts); + bool startEntity(QXmlDefaultHandler* theWrappedObject, const QString& name); + bool startPrefixMapping(QXmlDefaultHandler* theWrappedObject, const QString& prefix, const QString& uri); + bool unparsedEntityDecl(QXmlDefaultHandler* theWrappedObject, const QString& name, const QString& publicId, const QString& systemId, const QString& notationName); + bool warning(QXmlDefaultHandler* theWrappedObject, const QXmlParseException& exception); +}; + + + + + +class PythonQtShell_QXmlEntityResolver : public QXmlEntityResolver +{ +public: + PythonQtShell_QXmlEntityResolver():QXmlEntityResolver(),_wrapper(NULL) {}; + +virtual QString errorString() const; +virtual bool resolveEntity(const QString& publicId, const QString& systemId, QXmlInputSource*& ret); + + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtWrapper_QXmlEntityResolver : public QObject +{ Q_OBJECT +public: +public slots: +QXmlEntityResolver* new_QXmlEntityResolver(); +void delete_QXmlEntityResolver(QXmlEntityResolver* obj) { delete obj; } +}; + + + + + +class PythonQtShell_QXmlErrorHandler : public QXmlErrorHandler +{ +public: + PythonQtShell_QXmlErrorHandler():QXmlErrorHandler(),_wrapper(NULL) {}; + +virtual bool error(const QXmlParseException& exception); +virtual QString errorString() const; +virtual bool fatalError(const QXmlParseException& exception); +virtual bool warning(const QXmlParseException& exception); + + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtWrapper_QXmlErrorHandler : public QObject +{ Q_OBJECT +public: +public slots: +QXmlErrorHandler* new_QXmlErrorHandler(); +void delete_QXmlErrorHandler(QXmlErrorHandler* obj) { delete obj; } +}; + + + + + +class PythonQtShell_QXmlInputSource : public QXmlInputSource +{ +public: + PythonQtShell_QXmlInputSource():QXmlInputSource(),_wrapper(NULL) {}; + PythonQtShell_QXmlInputSource(QIODevice* dev):QXmlInputSource(dev),_wrapper(NULL) {}; + +virtual QString data() const; +virtual void fetchData(); +virtual QString fromRawData(const QByteArray& data, bool beginning = false); +virtual QChar next(); +virtual void reset(); +virtual void setData(const QByteArray& dat); +virtual void setData(const QString& dat); + + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtPublicPromoter_QXmlInputSource : public QXmlInputSource +{ public: +inline QString promoted_data() const { return QXmlInputSource::data(); } +inline void promoted_fetchData() { QXmlInputSource::fetchData(); } +inline QString promoted_fromRawData(const QByteArray& data, bool beginning = false) { return QXmlInputSource::fromRawData(data, beginning); } +inline QChar promoted_next() { return QXmlInputSource::next(); } +inline void promoted_reset() { QXmlInputSource::reset(); } +inline void promoted_setData(const QByteArray& dat) { QXmlInputSource::setData(dat); } +inline void promoted_setData(const QString& dat) { QXmlInputSource::setData(dat); } +}; + +class PythonQtWrapper_QXmlInputSource : public QObject +{ Q_OBJECT +public: +public slots: +QXmlInputSource* new_QXmlInputSource(); +QXmlInputSource* new_QXmlInputSource(QIODevice* dev); +void delete_QXmlInputSource(QXmlInputSource* obj) { delete obj; } + QString data(QXmlInputSource* theWrappedObject) const; + void fetchData(QXmlInputSource* theWrappedObject); + QString fromRawData(QXmlInputSource* theWrappedObject, const QByteArray& data, bool beginning = false); + QChar next(QXmlInputSource* theWrappedObject); + void reset(QXmlInputSource* theWrappedObject); + void setData(QXmlInputSource* theWrappedObject, const QByteArray& dat); + void setData(QXmlInputSource* theWrappedObject, const QString& dat); +}; + + + + + +class PythonQtShell_QXmlLexicalHandler : public QXmlLexicalHandler +{ +public: + PythonQtShell_QXmlLexicalHandler():QXmlLexicalHandler(),_wrapper(NULL) {}; + +virtual bool comment(const QString& ch); +virtual bool endCDATA(); +virtual bool endDTD(); +virtual bool endEntity(const QString& name); +virtual QString errorString() const; +virtual bool startCDATA(); +virtual bool startDTD(const QString& name, const QString& publicId, const QString& systemId); +virtual bool startEntity(const QString& name); + + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtWrapper_QXmlLexicalHandler : public QObject +{ Q_OBJECT +public: +public slots: +QXmlLexicalHandler* new_QXmlLexicalHandler(); +void delete_QXmlLexicalHandler(QXmlLexicalHandler* obj) { delete obj; } +}; + + + + + +class PythonQtShell_QXmlLocator : public QXmlLocator +{ +public: + PythonQtShell_QXmlLocator():QXmlLocator(),_wrapper(NULL) {}; + +virtual int columnNumber() const; +virtual int lineNumber() const; + + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtWrapper_QXmlLocator : public QObject +{ Q_OBJECT +public: +public slots: +QXmlLocator* new_QXmlLocator(); +void delete_QXmlLocator(QXmlLocator* obj) { delete obj; } +}; + + + + + +class PythonQtWrapper_QXmlParseException : public QObject +{ Q_OBJECT +public: +public slots: +QXmlParseException* new_QXmlParseException(const QString& name = QString(), int c = -1, int l = -1, const QString& p = QString(), const QString& s = QString()); +QXmlParseException* new_QXmlParseException(const QXmlParseException& other); +void delete_QXmlParseException(QXmlParseException* obj) { delete obj; } + int columnNumber(QXmlParseException* theWrappedObject) const; + int lineNumber(QXmlParseException* theWrappedObject) const; + QString message(QXmlParseException* theWrappedObject) const; + QString publicId(QXmlParseException* theWrappedObject) const; + QString systemId(QXmlParseException* theWrappedObject) const; +}; + + + + + +class PythonQtShell_QXmlReader : public QXmlReader +{ +public: + PythonQtShell_QXmlReader():QXmlReader(),_wrapper(NULL) {}; + +virtual QXmlDTDHandler* DTDHandler() const; +virtual QXmlContentHandler* contentHandler() const; +virtual QXmlDeclHandler* declHandler() const; +virtual QXmlEntityResolver* entityResolver() const; +virtual QXmlErrorHandler* errorHandler() const; +virtual bool feature(const QString& name, bool* ok = 0) const; +virtual bool hasFeature(const QString& name) const; +virtual bool hasProperty(const QString& name) const; +virtual QXmlLexicalHandler* lexicalHandler() const; +virtual bool parse(const QXmlInputSource& input); +virtual bool parse(const QXmlInputSource* input); +virtual void* property(const QString& name, bool* ok = 0) const; +virtual void setContentHandler(QXmlContentHandler* handler); +virtual void setDTDHandler(QXmlDTDHandler* handler); +virtual void setDeclHandler(QXmlDeclHandler* handler); +virtual void setEntityResolver(QXmlEntityResolver* handler); +virtual void setErrorHandler(QXmlErrorHandler* handler); +virtual void setFeature(const QString& name, bool value); +virtual void setLexicalHandler(QXmlLexicalHandler* handler); +virtual void setProperty(const QString& name, void* value); + + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtWrapper_QXmlReader : public QObject +{ Q_OBJECT +public: +public slots: +QXmlReader* new_QXmlReader(); +void delete_QXmlReader(QXmlReader* obj) { delete obj; } +}; + + + + + +class PythonQtShell_QXmlSimpleReader : public QXmlSimpleReader +{ +public: + PythonQtShell_QXmlSimpleReader():QXmlSimpleReader(),_wrapper(NULL) {}; + +virtual QXmlDTDHandler* DTDHandler() const; +virtual QXmlContentHandler* contentHandler() const; +virtual QXmlDeclHandler* declHandler() const; +virtual QXmlEntityResolver* entityResolver() const; +virtual QXmlErrorHandler* errorHandler() const; +virtual bool feature(const QString& name, bool* ok = 0) const; +virtual bool hasFeature(const QString& name) const; +virtual bool hasProperty(const QString& name) const; +virtual QXmlLexicalHandler* lexicalHandler() const; +virtual bool parse(const QXmlInputSource& input); +virtual bool parse(const QXmlInputSource* input); +virtual bool parse(const QXmlInputSource* input, bool incremental); +virtual bool parseContinue(); +virtual void* property(const QString& name, bool* ok = 0) const; +virtual void setContentHandler(QXmlContentHandler* handler); +virtual void setDTDHandler(QXmlDTDHandler* handler); +virtual void setDeclHandler(QXmlDeclHandler* handler); +virtual void setEntityResolver(QXmlEntityResolver* handler); +virtual void setErrorHandler(QXmlErrorHandler* handler); +virtual void setFeature(const QString& name, bool value); +virtual void setLexicalHandler(QXmlLexicalHandler* handler); +virtual void setProperty(const QString& name, void* value); + + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtPublicPromoter_QXmlSimpleReader : public QXmlSimpleReader +{ public: +inline QXmlDTDHandler* promoted_DTDHandler() const { return QXmlSimpleReader::DTDHandler(); } +inline QXmlContentHandler* promoted_contentHandler() const { return QXmlSimpleReader::contentHandler(); } +inline QXmlDeclHandler* promoted_declHandler() const { return QXmlSimpleReader::declHandler(); } +inline QXmlEntityResolver* promoted_entityResolver() const { return QXmlSimpleReader::entityResolver(); } +inline QXmlErrorHandler* promoted_errorHandler() const { return QXmlSimpleReader::errorHandler(); } +inline bool promoted_feature(const QString& name, bool* ok = 0) const { return QXmlSimpleReader::feature(name, ok); } +inline bool promoted_hasFeature(const QString& name) const { return QXmlSimpleReader::hasFeature(name); } +inline bool promoted_hasProperty(const QString& name) const { return QXmlSimpleReader::hasProperty(name); } +inline QXmlLexicalHandler* promoted_lexicalHandler() const { return QXmlSimpleReader::lexicalHandler(); } +inline bool promoted_parse(const QXmlInputSource& input) { return QXmlSimpleReader::parse(input); } +inline bool promoted_parse(const QXmlInputSource* input) { return QXmlSimpleReader::parse(input); } +inline bool promoted_parse(const QXmlInputSource* input, bool incremental) { return QXmlSimpleReader::parse(input, incremental); } +inline bool promoted_parseContinue() { return QXmlSimpleReader::parseContinue(); } +inline void* promoted_property(const QString& name, bool* ok = 0) const { return QXmlSimpleReader::property(name, ok); } +inline void promoted_setContentHandler(QXmlContentHandler* handler) { QXmlSimpleReader::setContentHandler(handler); } +inline void promoted_setDTDHandler(QXmlDTDHandler* handler) { QXmlSimpleReader::setDTDHandler(handler); } +inline void promoted_setDeclHandler(QXmlDeclHandler* handler) { QXmlSimpleReader::setDeclHandler(handler); } +inline void promoted_setEntityResolver(QXmlEntityResolver* handler) { QXmlSimpleReader::setEntityResolver(handler); } +inline void promoted_setErrorHandler(QXmlErrorHandler* handler) { QXmlSimpleReader::setErrorHandler(handler); } +inline void promoted_setFeature(const QString& name, bool value) { QXmlSimpleReader::setFeature(name, value); } +inline void promoted_setLexicalHandler(QXmlLexicalHandler* handler) { QXmlSimpleReader::setLexicalHandler(handler); } +inline void promoted_setProperty(const QString& name, void* value) { QXmlSimpleReader::setProperty(name, value); } +}; + +class PythonQtWrapper_QXmlSimpleReader : public QObject +{ Q_OBJECT +public: +public slots: +QXmlSimpleReader* new_QXmlSimpleReader(); +void delete_QXmlSimpleReader(QXmlSimpleReader* obj) { delete obj; } + QXmlDTDHandler* DTDHandler(QXmlSimpleReader* theWrappedObject) const; + QXmlContentHandler* contentHandler(QXmlSimpleReader* theWrappedObject) const; + QXmlDeclHandler* declHandler(QXmlSimpleReader* theWrappedObject) const; + QXmlEntityResolver* entityResolver(QXmlSimpleReader* theWrappedObject) const; + QXmlErrorHandler* errorHandler(QXmlSimpleReader* theWrappedObject) const; + bool feature(QXmlSimpleReader* theWrappedObject, const QString& name, bool* ok = 0) const; + bool hasFeature(QXmlSimpleReader* theWrappedObject, const QString& name) const; + bool hasProperty(QXmlSimpleReader* theWrappedObject, const QString& name) const; + QXmlLexicalHandler* lexicalHandler(QXmlSimpleReader* theWrappedObject) const; + bool parse(QXmlSimpleReader* theWrappedObject, const QXmlInputSource& input); + bool parse(QXmlSimpleReader* theWrappedObject, const QXmlInputSource* input); + bool parse(QXmlSimpleReader* theWrappedObject, const QXmlInputSource* input, bool incremental); + bool parseContinue(QXmlSimpleReader* theWrappedObject); + void* property(QXmlSimpleReader* theWrappedObject, const QString& name, bool* ok = 0) const; + void setContentHandler(QXmlSimpleReader* theWrappedObject, QXmlContentHandler* handler); + void setDTDHandler(QXmlSimpleReader* theWrappedObject, QXmlDTDHandler* handler); + void setDeclHandler(QXmlSimpleReader* theWrappedObject, QXmlDeclHandler* handler); + void setEntityResolver(QXmlSimpleReader* theWrappedObject, QXmlEntityResolver* handler); + void setErrorHandler(QXmlSimpleReader* theWrappedObject, QXmlErrorHandler* handler); + void setFeature(QXmlSimpleReader* theWrappedObject, const QString& name, bool value); + void setLexicalHandler(QXmlSimpleReader* theWrappedObject, QXmlLexicalHandler* handler); + void setProperty(QXmlSimpleReader* theWrappedObject, const QString& name, void* value); +}; + + diff --git a/generated_cpp_47/com_trolltech_qt_xml/com_trolltech_qt_xml1.cpp b/generated_cpp_47/com_trolltech_qt_xml/com_trolltech_qt_xml1.cpp new file mode 100644 index 00000000..c2336ac7 --- /dev/null +++ b/generated_cpp_47/com_trolltech_qt_xml/com_trolltech_qt_xml1.cpp @@ -0,0 +1,836 @@ +#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 PythonQtShell_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)); +} + +void PythonQtWrapper_QXmlStreamAttributes::append(QXmlStreamAttributes* theWrappedObject, const QXmlStreamAttribute& attribute) +{ + ( theWrappedObject->append(attribute)); +} + +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()); +} + +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()); +} + +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)); +} + +QVector PythonQtWrapper_QXmlStreamAttributes::mid(QXmlStreamAttributes* theWrappedObject, int pos, int length) const +{ + return ( theWrappedObject->mid(pos, length)); +} + +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)); +} + +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)); +} + +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)); +} + +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()); +} + +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) +{ + return ( theWrappedObject->readElementText()); +} + +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::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()); +} + +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_47/com_trolltech_qt_xml/com_trolltech_qt_xml1.h b/generated_cpp_47/com_trolltech_qt_xml/com_trolltech_qt_xml1.h new file mode 100644 index 00000000..9e51b74e --- /dev/null +++ b/generated_cpp_47/com_trolltech_qt_xml/com_trolltech_qt_xml1.h @@ -0,0 +1,272 @@ +#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 PythonQtShell_QXmlStreamAttributes : public QXmlStreamAttributes +{ +public: + PythonQtShell_QXmlStreamAttributes():QXmlStreamAttributes(),_wrapper(NULL) {}; + + + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtWrapper_QXmlStreamAttributes : public QObject +{ Q_OBJECT +public: +public slots: +QXmlStreamAttributes* new_QXmlStreamAttributes(); +QXmlStreamAttributes* new_QXmlStreamAttributes(const QXmlStreamAttributes& other) { +PythonQtShell_QXmlStreamAttributes* a = new PythonQtShell_QXmlStreamAttributes(); +*((QXmlStreamAttributes*)a) = other; +return a; } +void delete_QXmlStreamAttributes(QXmlStreamAttributes* obj) { delete obj; } + void append(QXmlStreamAttributes* theWrappedObject, const QString& namespaceUri, const QString& name, const QString& value); + void append(QXmlStreamAttributes* theWrappedObject, const QString& qualifiedName, const QString& value); + void append(QXmlStreamAttributes* theWrappedObject, const QXmlStreamAttribute& attribute); + const QXmlStreamAttribute* at(QXmlStreamAttributes* theWrappedObject, int i) const; + int capacity(QXmlStreamAttributes* theWrappedObject) const; + void clear(QXmlStreamAttributes* theWrappedObject); + 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); + 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) const; + bool isEmpty(QXmlStreamAttributes* theWrappedObject) const; + const QXmlStreamAttribute* last(QXmlStreamAttributes* theWrappedObject) const; + int lastIndexOf(QXmlStreamAttributes* theWrappedObject, const QXmlStreamAttribute& t, int from) const; + QVector mid(QXmlStreamAttributes* theWrappedObject, int pos, int length) const; + 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); + 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); + int size(QXmlStreamAttributes* theWrappedObject) const; + void squeeze(QXmlStreamAttributes* theWrappedObject); + bool startsWith(QXmlStreamAttributes* theWrappedObject, const QXmlStreamAttribute& t) const; + QList toList(QXmlStreamAttributes* theWrappedObject) const; + QStringRef value(QXmlStreamAttributes* theWrappedObject, const QString& namespaceUri, const QString& name) const; + QStringRef value(QXmlStreamAttributes* theWrappedObject, const QString& qualifiedName) const; +}; + + + + + +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 TokenType ReadElementTextBehaviour ) +enum Error{ + NoError = QXmlStreamReader::NoError, UnexpectedElementError = QXmlStreamReader::UnexpectedElementError, CustomError = QXmlStreamReader::CustomError, NotWellFormedError = QXmlStreamReader::NotWellFormedError, PrematureEndOfDocumentError = QXmlStreamReader::PrematureEndOfDocumentError}; +enum TokenType{ + NoToken = QXmlStreamReader::NoToken, Invalid = QXmlStreamReader::Invalid, StartDocument = QXmlStreamReader::StartDocument, EndDocument = QXmlStreamReader::EndDocument, StartElement = QXmlStreamReader::StartElement, EndElement = QXmlStreamReader::EndElement, Characters = QXmlStreamReader::Characters, Comment = QXmlStreamReader::Comment, DTD = QXmlStreamReader::DTD, EntityReference = QXmlStreamReader::EntityReference, ProcessingInstruction = QXmlStreamReader::ProcessingInstruction}; +enum ReadElementTextBehaviour{ + ErrorOnUnexpectedElement = QXmlStreamReader::ErrorOnUnexpectedElement, IncludeChildElements = QXmlStreamReader::IncludeChildElements, SkipChildElements = QXmlStreamReader::SkipChildElements}; +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; + 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); + QString readElementText(QXmlStreamReader* theWrappedObject, QXmlStreamReader::ReadElementTextBehaviour behaviour); + QXmlStreamReader::TokenType readNext(QXmlStreamReader* theWrappedObject); + bool readNextStartElement(QXmlStreamReader* theWrappedObject); + void setDevice(QXmlStreamReader* theWrappedObject, QIODevice* device); + 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; + 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_47/com_trolltech_qt_xml/com_trolltech_qt_xml_init.cpp b/generated_cpp_47/com_trolltech_qt_xml/com_trolltech_qt_xml_init.cpp new file mode 100644 index 00000000..82d6ef0f --- /dev/null +++ b/generated_cpp_47/com_trolltech_qt_xml/com_trolltech_qt_xml_init.cpp @@ -0,0 +1,51 @@ +#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_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_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("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); +PythonQt::priv()->registerCPPClass("QXmlDefaultHandler", "", "QtXml", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); +PythonQt::self()->addParentClass("QXmlDefaultHandler", "QXmlContentHandler",PythonQtUpcastingOffset()); +PythonQt::self()->addParentClass("QXmlDefaultHandler", "QXmlErrorHandler",PythonQtUpcastingOffset()); +PythonQt::self()->addParentClass("QXmlDefaultHandler", "QXmlDTDHandler",PythonQtUpcastingOffset()); +PythonQt::self()->addParentClass("QXmlDefaultHandler", "QXmlEntityResolver",PythonQtUpcastingOffset()); +PythonQt::self()->addParentClass("QXmlDefaultHandler", "QXmlLexicalHandler",PythonQtUpcastingOffset()); +PythonQt::self()->addParentClass("QXmlDefaultHandler", "QXmlDeclHandler",PythonQtUpcastingOffset()); +PythonQt::priv()->registerCPPClass("QXmlEntityResolver", "", "QtXml", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); +PythonQt::priv()->registerCPPClass("QXmlErrorHandler", "", "QtXml", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); +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("QXmlReader", "", "QtXml", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); +PythonQt::priv()->registerCPPClass("QXmlSimpleReader", "QXmlReader", "QtXml", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); +PythonQt::priv()->registerCPPClass("QXmlStreamAttribute", "", "QtXml", PythonQtCreateObject, NULL, module, PythonQt::Type_RichCompare); +PythonQt::priv()->registerCPPClass("QXmlStreamAttributes", "", "QtXml", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, PythonQt::Type_RichCompare|PythonQt::Type_Add); +PythonQt::priv()->registerCPPClass("QXmlStreamEntityDeclaration", "", "QtXml", PythonQtCreateObject, NULL, module, PythonQt::Type_RichCompare); +PythonQt::priv()->registerCPPClass("QXmlStreamNamespaceDeclaration", "", "QtXml", PythonQtCreateObject, NULL, module, PythonQt::Type_RichCompare); +PythonQt::priv()->registerCPPClass("QXmlStreamNotationDeclaration", "", "QtXml", PythonQtCreateObject, NULL, module, PythonQt::Type_RichCompare); +PythonQt::priv()->registerCPPClass("QXmlStreamReader", "", "QtXml", PythonQtCreateObject, NULL, module, 0); +PythonQt::priv()->registerCPPClass("QXmlStreamWriter", "", "QtXml", PythonQtCreateObject, NULL, module, 0); + +} diff --git a/generated_cpp_47/com_trolltech_qt_xmlpatterns/com_trolltech_qt_xmlpatterns.pri b/generated_cpp_47/com_trolltech_qt_xmlpatterns/com_trolltech_qt_xmlpatterns.pri new file mode 100644 index 00000000..7e3085da --- /dev/null +++ b/generated_cpp_47/com_trolltech_qt_xmlpatterns/com_trolltech_qt_xmlpatterns.pri @@ -0,0 +1,6 @@ +HEADERS += \ + $$PWD/com_trolltech_qt_xmlpatterns0.h \ + +SOURCES += \ + $$PWD/com_trolltech_qt_xmlpatterns0.cpp \ + $$PWD/com_trolltech_qt_xmlpatterns_init.cpp diff --git a/generated_cpp_47/com_trolltech_qt_xmlpatterns/com_trolltech_qt_xmlpatterns0.cpp b/generated_cpp_47/com_trolltech_qt_xmlpatterns/com_trolltech_qt_xmlpatterns0.cpp new file mode 100644 index 00000000..5fb6dcf2 --- /dev/null +++ b/generated_cpp_47/com_trolltech_qt_xmlpatterns/com_trolltech_qt_xmlpatterns0.cpp @@ -0,0 +1,2492 @@ +#include "com_trolltech_qt_xmlpatterns0.h" +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include + +void PythonQtShell_QAbstractMessageHandler::childEvent(QChildEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "childEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QChildEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QAbstractMessageHandler::childEvent(arg__1); +} +void PythonQtShell_QAbstractMessageHandler::customEvent(QEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "customEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QAbstractMessageHandler::customEvent(arg__1); +} +bool PythonQtShell_QAbstractMessageHandler::event(QEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "event"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue; + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QAbstractMessageHandler::event(arg__1); +} +bool PythonQtShell_QAbstractMessageHandler::eventFilter(QObject* arg__1, QEvent* arg__2) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "eventFilter"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue; + void* args[3] = {NULL, (void*)&arg__1, (void*)&arg__2}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QAbstractMessageHandler::eventFilter(arg__1, arg__2); +} +void PythonQtShell_QAbstractMessageHandler::handleMessage(QtMsgType type, const QString& description, const QUrl& identifier, const QSourceLocation& sourceLocation) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "handleMessage"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QtMsgType" , "const QString&" , "const QUrl&" , "const QSourceLocation&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(5, argumentList); + void* args[5] = {NULL, (void*)&type, (void*)&description, (void*)&identifier, (void*)&sourceLocation}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + +} +void PythonQtShell_QAbstractMessageHandler::timerEvent(QTimerEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "timerEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QTimerEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QAbstractMessageHandler::timerEvent(arg__1); +} +void PythonQtWrapper_QAbstractMessageHandler::message(QAbstractMessageHandler* theWrappedObject, QtMsgType type, const QString& description, const QUrl& identifier, const QSourceLocation& sourceLocation) +{ + ( theWrappedObject->message(type, description, identifier, sourceLocation)); +} + + + +void PythonQtShell_QAbstractUriResolver::childEvent(QChildEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "childEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QChildEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QAbstractUriResolver::childEvent(arg__1); +} +void PythonQtShell_QAbstractUriResolver::customEvent(QEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "customEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QAbstractUriResolver::customEvent(arg__1); +} +bool PythonQtShell_QAbstractUriResolver::event(QEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "event"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue; + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QAbstractUriResolver::event(arg__1); +} +bool PythonQtShell_QAbstractUriResolver::eventFilter(QObject* arg__1, QEvent* arg__2) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "eventFilter"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue; + void* args[3] = {NULL, (void*)&arg__1, (void*)&arg__2}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QAbstractUriResolver::eventFilter(arg__1, arg__2); +} +QUrl PythonQtShell_QAbstractUriResolver::resolve(const QUrl& relative, const QUrl& baseURI) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "resolve"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QUrl" , "const QUrl&" , "const QUrl&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + QUrl returnValue; + void* args[3] = {NULL, (void*)&relative, (void*)&baseURI}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("resolve", methodInfo, result); + } else { + returnValue = *((QUrl*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QUrl(); +} +void PythonQtShell_QAbstractUriResolver::timerEvent(QTimerEvent* arg__1) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "timerEvent"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "QTimerEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QAbstractUriResolver::timerEvent(arg__1); +} +QAbstractUriResolver* PythonQtWrapper_QAbstractUriResolver::new_QAbstractUriResolver(QObject* parent) +{ +return new PythonQtShell_QAbstractUriResolver(parent); } + + + +QVector PythonQtShell_QAbstractXmlNodeModel::attributes(const QXmlNodeModelIndex& element) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "attributes"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QVector" , "const QXmlNodeModelIndex&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + QVector returnValue; + void* args[2] = {NULL, (void*)&element}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("attributes", methodInfo, result); + } else { + returnValue = *((QVector*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QVector(); +} +QUrl PythonQtShell_QAbstractXmlNodeModel::baseUri(const QXmlNodeModelIndex& ni) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "baseUri"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QUrl" , "const QXmlNodeModelIndex&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + QUrl returnValue; + void* args[2] = {NULL, (void*)&ni}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("baseUri", methodInfo, result); + } else { + returnValue = *((QUrl*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QUrl(); +} +QXmlNodeModelIndex::DocumentOrder PythonQtShell_QAbstractXmlNodeModel::compareOrder(const QXmlNodeModelIndex& ni1, const QXmlNodeModelIndex& ni2) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "compareOrder"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QXmlNodeModelIndex::DocumentOrder" , "const QXmlNodeModelIndex&" , "const QXmlNodeModelIndex&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + QXmlNodeModelIndex::DocumentOrder returnValue; + void* args[3] = {NULL, (void*)&ni1, (void*)&ni2}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("compareOrder", methodInfo, result); + } else { + returnValue = *((QXmlNodeModelIndex::DocumentOrder*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QXmlNodeModelIndex::DocumentOrder(); +} +QUrl PythonQtShell_QAbstractXmlNodeModel::documentUri(const QXmlNodeModelIndex& ni) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "documentUri"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QUrl" , "const QXmlNodeModelIndex&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + QUrl returnValue; + void* args[2] = {NULL, (void*)&ni}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("documentUri", methodInfo, result); + } else { + returnValue = *((QUrl*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QUrl(); +} +QXmlNodeModelIndex PythonQtShell_QAbstractXmlNodeModel::elementById(const QXmlName& NCName) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "elementById"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QXmlNodeModelIndex" , "const QXmlName&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + QXmlNodeModelIndex returnValue; + void* args[2] = {NULL, (void*)&NCName}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("elementById", methodInfo, result); + } else { + returnValue = *((QXmlNodeModelIndex*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QXmlNodeModelIndex(); +} +bool PythonQtShell_QAbstractXmlNodeModel::isDeepEqual(const QXmlNodeModelIndex& ni1, const QXmlNodeModelIndex& ni2) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "isDeepEqual"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"bool" , "const QXmlNodeModelIndex&" , "const QXmlNodeModelIndex&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue; + void* args[3] = {NULL, (void*)&ni1, (void*)&ni2}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("isDeepEqual", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QAbstractXmlNodeModel::isDeepEqual(ni1, ni2); +} +QXmlNodeModelIndex::NodeKind PythonQtShell_QAbstractXmlNodeModel::kind(const QXmlNodeModelIndex& ni) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "kind"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QXmlNodeModelIndex::NodeKind" , "const QXmlNodeModelIndex&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + QXmlNodeModelIndex::NodeKind returnValue; + void* args[2] = {NULL, (void*)&ni}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("kind", methodInfo, result); + } else { + returnValue = *((QXmlNodeModelIndex::NodeKind*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QXmlNodeModelIndex::NodeKind(); +} +QXmlName PythonQtShell_QAbstractXmlNodeModel::name(const QXmlNodeModelIndex& ni) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "name"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QXmlName" , "const QXmlNodeModelIndex&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + QXmlName returnValue; + void* args[2] = {NULL, (void*)&ni}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("name", methodInfo, result); + } else { + returnValue = *((QXmlName*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QXmlName(); +} +QVector PythonQtShell_QAbstractXmlNodeModel::namespaceBindings(const QXmlNodeModelIndex& n) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "namespaceBindings"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QVector" , "const QXmlNodeModelIndex&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + QVector returnValue; + void* args[2] = {NULL, (void*)&n}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("namespaceBindings", methodInfo, result); + } else { + returnValue = *((QVector*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QVector(); +} +short PythonQtShell_QAbstractXmlNodeModel::namespaceForPrefix(const QXmlNodeModelIndex& ni, const short prefix) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "namespaceForPrefix"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"short" , "const QXmlNodeModelIndex&" , "const short"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + short returnValue; + void* args[3] = {NULL, (void*)&ni, (void*)&prefix}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("namespaceForPrefix", methodInfo, result); + } else { + returnValue = *((short*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QAbstractXmlNodeModel::namespaceForPrefix(ni, prefix); +} +QXmlNodeModelIndex PythonQtShell_QAbstractXmlNodeModel::nextFromSimpleAxis(QAbstractXmlNodeModel::SimpleAxis axis, const QXmlNodeModelIndex& origin) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "nextFromSimpleAxis"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QXmlNodeModelIndex" , "QAbstractXmlNodeModel::SimpleAxis" , "const QXmlNodeModelIndex&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + QXmlNodeModelIndex returnValue; + void* args[3] = {NULL, (void*)&axis, (void*)&origin}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("nextFromSimpleAxis", methodInfo, result); + } else { + returnValue = *((QXmlNodeModelIndex*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QXmlNodeModelIndex(); +} +QVector PythonQtShell_QAbstractXmlNodeModel::nodesByIdref(const QXmlName& NCName) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "nodesByIdref"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QVector" , "const QXmlName&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + QVector returnValue; + void* args[2] = {NULL, (void*)&NCName}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("nodesByIdref", methodInfo, result); + } else { + returnValue = *((QVector*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QVector(); +} +QXmlNodeModelIndex PythonQtShell_QAbstractXmlNodeModel::root(const QXmlNodeModelIndex& n) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "root"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QXmlNodeModelIndex" , "const QXmlNodeModelIndex&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + QXmlNodeModelIndex returnValue; + void* args[2] = {NULL, (void*)&n}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("root", methodInfo, result); + } else { + returnValue = *((QXmlNodeModelIndex*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QXmlNodeModelIndex(); +} +QString PythonQtShell_QAbstractXmlNodeModel::stringValue(const QXmlNodeModelIndex& n) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "stringValue"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QString" , "const QXmlNodeModelIndex&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + QString returnValue; + void* args[2] = {NULL, (void*)&n}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("stringValue", methodInfo, result); + } else { + returnValue = *((QString*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QString(); +} +QVariant PythonQtShell_QAbstractXmlNodeModel::typedValue(const QXmlNodeModelIndex& n) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "typedValue"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QVariant" , "const QXmlNodeModelIndex&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + QVariant returnValue; + void* args[2] = {NULL, (void*)&n}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("typedValue", methodInfo, result); + } else { + returnValue = *((QVariant*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QVariant(); +} +QSourceLocation PythonQtWrapper_QAbstractXmlNodeModel::sourceLocation(QAbstractXmlNodeModel* theWrappedObject, const QXmlNodeModelIndex& index) const +{ + return ( theWrappedObject->sourceLocation(index)); +} + + + +void PythonQtShell_QAbstractXmlReceiver::atomicValue(const QVariant& value) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "atomicValue"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "const QVariant&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&value}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + +} +void PythonQtShell_QAbstractXmlReceiver::attribute(const QXmlName& name, const QStringRef& value) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "attribute"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "const QXmlName&" , "const QStringRef&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + void* args[3] = {NULL, (void*)&name, (void*)&value}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + +} +void PythonQtShell_QAbstractXmlReceiver::characters(const QStringRef& value) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "characters"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "const QStringRef&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&value}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + +} +void PythonQtShell_QAbstractXmlReceiver::comment(const QString& value) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "comment"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "const QString&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&value}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + +} +void PythonQtShell_QAbstractXmlReceiver::endDocument() +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "endDocument"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={""}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + +} +void PythonQtShell_QAbstractXmlReceiver::endElement() +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "endElement"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={""}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + +} +void PythonQtShell_QAbstractXmlReceiver::endOfSequence() +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "endOfSequence"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={""}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + +} +void PythonQtShell_QAbstractXmlReceiver::namespaceBinding(const QXmlName& name) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "namespaceBinding"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "const QXmlName&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&name}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + +} +void PythonQtShell_QAbstractXmlReceiver::processingInstruction(const QXmlName& target, const QString& value) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "processingInstruction"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "const QXmlName&" , "const QString&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + void* args[3] = {NULL, (void*)&target, (void*)&value}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + +} +void PythonQtShell_QAbstractXmlReceiver::startDocument() +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "startDocument"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={""}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + +} +void PythonQtShell_QAbstractXmlReceiver::startElement(const QXmlName& name) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "startElement"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "const QXmlName&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&name}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + +} +void PythonQtShell_QAbstractXmlReceiver::startOfSequence() +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "startOfSequence"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={""}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + +} +void PythonQtShell_QAbstractXmlReceiver::whitespaceOnly(const QStringRef& value) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "whitespaceOnly"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "const QStringRef&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&value}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QAbstractXmlReceiver::whitespaceOnly(value); +} +QAbstractXmlReceiver* PythonQtWrapper_QAbstractXmlReceiver::new_QAbstractXmlReceiver() +{ +return new PythonQtShell_QAbstractXmlReceiver(); } + +void PythonQtWrapper_QAbstractXmlReceiver::whitespaceOnly(QAbstractXmlReceiver* theWrappedObject, const QStringRef& value) +{ + ( ((PythonQtPublicPromoter_QAbstractXmlReceiver*)theWrappedObject)->promoted_whitespaceOnly(value)); +} + + + + + + + +QVector PythonQtShell_QSimpleXmlNodeModel::attributes(const QXmlNodeModelIndex& element) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "attributes"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QVector" , "const QXmlNodeModelIndex&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + QVector returnValue; + void* args[2] = {NULL, (void*)&element}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("attributes", methodInfo, result); + } else { + returnValue = *((QVector*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QVector(); +} +QUrl PythonQtShell_QSimpleXmlNodeModel::baseUri(const QXmlNodeModelIndex& node) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "baseUri"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QUrl" , "const QXmlNodeModelIndex&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + QUrl returnValue; + void* args[2] = {NULL, (void*)&node}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("baseUri", methodInfo, result); + } else { + returnValue = *((QUrl*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QSimpleXmlNodeModel::baseUri(node); +} +QXmlNodeModelIndex::DocumentOrder PythonQtShell_QSimpleXmlNodeModel::compareOrder(const QXmlNodeModelIndex& ni1, const QXmlNodeModelIndex& ni2) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "compareOrder"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QXmlNodeModelIndex::DocumentOrder" , "const QXmlNodeModelIndex&" , "const QXmlNodeModelIndex&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + QXmlNodeModelIndex::DocumentOrder returnValue; + void* args[3] = {NULL, (void*)&ni1, (void*)&ni2}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("compareOrder", methodInfo, result); + } else { + returnValue = *((QXmlNodeModelIndex::DocumentOrder*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QXmlNodeModelIndex::DocumentOrder(); +} +QUrl PythonQtShell_QSimpleXmlNodeModel::documentUri(const QXmlNodeModelIndex& ni) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "documentUri"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QUrl" , "const QXmlNodeModelIndex&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + QUrl returnValue; + void* args[2] = {NULL, (void*)&ni}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("documentUri", methodInfo, result); + } else { + returnValue = *((QUrl*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QUrl(); +} +QXmlNodeModelIndex PythonQtShell_QSimpleXmlNodeModel::elementById(const QXmlName& id) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "elementById"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QXmlNodeModelIndex" , "const QXmlName&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + QXmlNodeModelIndex returnValue; + void* args[2] = {NULL, (void*)&id}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("elementById", methodInfo, result); + } else { + returnValue = *((QXmlNodeModelIndex*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QSimpleXmlNodeModel::elementById(id); +} +QXmlNodeModelIndex::NodeKind PythonQtShell_QSimpleXmlNodeModel::kind(const QXmlNodeModelIndex& ni) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "kind"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QXmlNodeModelIndex::NodeKind" , "const QXmlNodeModelIndex&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + QXmlNodeModelIndex::NodeKind returnValue; + void* args[2] = {NULL, (void*)&ni}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("kind", methodInfo, result); + } else { + returnValue = *((QXmlNodeModelIndex::NodeKind*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QXmlNodeModelIndex::NodeKind(); +} +QXmlName PythonQtShell_QSimpleXmlNodeModel::name(const QXmlNodeModelIndex& ni) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "name"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QXmlName" , "const QXmlNodeModelIndex&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + QXmlName returnValue; + void* args[2] = {NULL, (void*)&ni}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("name", methodInfo, result); + } else { + returnValue = *((QXmlName*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QXmlName(); +} +QVector PythonQtShell_QSimpleXmlNodeModel::namespaceBindings(const QXmlNodeModelIndex& arg__1) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "namespaceBindings"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QVector" , "const QXmlNodeModelIndex&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + QVector returnValue; + void* args[2] = {NULL, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("namespaceBindings", methodInfo, result); + } else { + returnValue = *((QVector*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QSimpleXmlNodeModel::namespaceBindings(arg__1); +} +QXmlNodeModelIndex PythonQtShell_QSimpleXmlNodeModel::nextFromSimpleAxis(QAbstractXmlNodeModel::SimpleAxis axis, const QXmlNodeModelIndex& origin) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "nextFromSimpleAxis"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QXmlNodeModelIndex" , "QAbstractXmlNodeModel::SimpleAxis" , "const QXmlNodeModelIndex&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + QXmlNodeModelIndex returnValue; + void* args[3] = {NULL, (void*)&axis, (void*)&origin}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("nextFromSimpleAxis", methodInfo, result); + } else { + returnValue = *((QXmlNodeModelIndex*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QXmlNodeModelIndex(); +} +QVector PythonQtShell_QSimpleXmlNodeModel::nodesByIdref(const QXmlName& idref) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "nodesByIdref"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QVector" , "const QXmlName&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + QVector returnValue; + void* args[2] = {NULL, (void*)&idref}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("nodesByIdref", methodInfo, result); + } else { + returnValue = *((QVector*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QSimpleXmlNodeModel::nodesByIdref(idref); +} +QXmlNodeModelIndex PythonQtShell_QSimpleXmlNodeModel::root(const QXmlNodeModelIndex& n) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "root"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QXmlNodeModelIndex" , "const QXmlNodeModelIndex&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + QXmlNodeModelIndex returnValue; + void* args[2] = {NULL, (void*)&n}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("root", methodInfo, result); + } else { + returnValue = *((QXmlNodeModelIndex*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QXmlNodeModelIndex(); +} +QString PythonQtShell_QSimpleXmlNodeModel::stringValue(const QXmlNodeModelIndex& node) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "stringValue"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QString" , "const QXmlNodeModelIndex&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + QString returnValue; + void* args[2] = {NULL, (void*)&node}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("stringValue", methodInfo, result); + } else { + returnValue = *((QString*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QSimpleXmlNodeModel::stringValue(node); +} +QVariant PythonQtShell_QSimpleXmlNodeModel::typedValue(const QXmlNodeModelIndex& n) const +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "typedValue"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"QVariant" , "const QXmlNodeModelIndex&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + QVariant returnValue; + void* args[2] = {NULL, (void*)&n}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==NULL) { + PythonQt::priv()->handleVirtualOverloadReturnError("typedValue", methodInfo, result); + } else { + returnValue = *((QVariant*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } +} + return QVariant(); +} +QSimpleXmlNodeModel* PythonQtWrapper_QSimpleXmlNodeModel::new_QSimpleXmlNodeModel(const QXmlNamePool& namePool) +{ +return new PythonQtShell_QSimpleXmlNodeModel(namePool); } + +QUrl PythonQtWrapper_QSimpleXmlNodeModel::baseUri(QSimpleXmlNodeModel* theWrappedObject, const QXmlNodeModelIndex& node) const +{ + return ( ((PythonQtPublicPromoter_QSimpleXmlNodeModel*)theWrappedObject)->promoted_baseUri(node)); +} + +QXmlNodeModelIndex PythonQtWrapper_QSimpleXmlNodeModel::elementById(QSimpleXmlNodeModel* theWrappedObject, const QXmlName& id) const +{ + return ( ((PythonQtPublicPromoter_QSimpleXmlNodeModel*)theWrappedObject)->promoted_elementById(id)); +} + +QXmlNamePool* PythonQtWrapper_QSimpleXmlNodeModel::namePool(QSimpleXmlNodeModel* theWrappedObject) const +{ + return &( theWrappedObject->namePool()); +} + +QVector PythonQtWrapper_QSimpleXmlNodeModel::namespaceBindings(QSimpleXmlNodeModel* theWrappedObject, const QXmlNodeModelIndex& arg__1) const +{ + return ( ((PythonQtPublicPromoter_QSimpleXmlNodeModel*)theWrappedObject)->promoted_namespaceBindings(arg__1)); +} + +QVector PythonQtWrapper_QSimpleXmlNodeModel::nodesByIdref(QSimpleXmlNodeModel* theWrappedObject, const QXmlName& idref) const +{ + return ( ((PythonQtPublicPromoter_QSimpleXmlNodeModel*)theWrappedObject)->promoted_nodesByIdref(idref)); +} + +QString PythonQtWrapper_QSimpleXmlNodeModel::stringValue(QSimpleXmlNodeModel* theWrappedObject, const QXmlNodeModelIndex& node) const +{ + return ( ((PythonQtPublicPromoter_QSimpleXmlNodeModel*)theWrappedObject)->promoted_stringValue(node)); +} + + + +QSourceLocation* PythonQtWrapper_QSourceLocation::new_QSourceLocation() +{ +return new QSourceLocation(); } + +QSourceLocation* PythonQtWrapper_QSourceLocation::new_QSourceLocation(const QSourceLocation& other) +{ +return new QSourceLocation(other); } + +QSourceLocation* PythonQtWrapper_QSourceLocation::new_QSourceLocation(const QUrl& uri, int line, int column) +{ +return new QSourceLocation(uri, line, column); } + +qint64 PythonQtWrapper_QSourceLocation::column(QSourceLocation* theWrappedObject) const +{ + return ( theWrappedObject->column()); +} + +bool PythonQtWrapper_QSourceLocation::isNull(QSourceLocation* theWrappedObject) const +{ + return ( theWrappedObject->isNull()); +} + +qint64 PythonQtWrapper_QSourceLocation::line(QSourceLocation* theWrappedObject) const +{ + return ( theWrappedObject->line()); +} + +bool PythonQtWrapper_QSourceLocation::__ne__(QSourceLocation* theWrappedObject, const QSourceLocation& other) const +{ + return ( (*theWrappedObject)!= other); +} + +bool PythonQtWrapper_QSourceLocation::__eq__(QSourceLocation* theWrappedObject, const QSourceLocation& other) const +{ + return ( (*theWrappedObject)== other); +} + +void PythonQtWrapper_QSourceLocation::setColumn(QSourceLocation* theWrappedObject, qint64 newColumn) +{ + ( theWrappedObject->setColumn(newColumn)); +} + +void PythonQtWrapper_QSourceLocation::setLine(QSourceLocation* theWrappedObject, qint64 newLine) +{ + ( theWrappedObject->setLine(newLine)); +} + +void PythonQtWrapper_QSourceLocation::setUri(QSourceLocation* theWrappedObject, const QUrl& newUri) +{ + ( theWrappedObject->setUri(newUri)); +} + +QUrl PythonQtWrapper_QSourceLocation::uri(QSourceLocation* theWrappedObject) const +{ + return ( theWrappedObject->uri()); +} + +QString PythonQtWrapper_QSourceLocation::py_toString(QSourceLocation* obj) { + QString result; + QDebug d(&result); + d << *obj; + return result; +} + + + +void PythonQtShell_QXmlFormatter::atomicValue(const QVariant& value) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "atomicValue"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "const QVariant&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&value}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QXmlFormatter::atomicValue(value); +} +void PythonQtShell_QXmlFormatter::attribute(const QXmlName& name, const QStringRef& value) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "attribute"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "const QXmlName&" , "const QStringRef&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + void* args[3] = {NULL, (void*)&name, (void*)&value}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QXmlFormatter::attribute(name, value); +} +void PythonQtShell_QXmlFormatter::characters(const QStringRef& value) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "characters"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "const QStringRef&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&value}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QXmlFormatter::characters(value); +} +void PythonQtShell_QXmlFormatter::comment(const QString& value) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "comment"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "const QString&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&value}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QXmlFormatter::comment(value); +} +void PythonQtShell_QXmlFormatter::endDocument() +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "endDocument"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={""}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QXmlFormatter::endDocument(); +} +void PythonQtShell_QXmlFormatter::endElement() +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "endElement"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={""}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QXmlFormatter::endElement(); +} +void PythonQtShell_QXmlFormatter::endOfSequence() +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "endOfSequence"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={""}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QXmlFormatter::endOfSequence(); +} +void PythonQtShell_QXmlFormatter::namespaceBinding(const QXmlName& nb) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "namespaceBinding"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "const QXmlName&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&nb}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QXmlFormatter::namespaceBinding(nb); +} +void PythonQtShell_QXmlFormatter::processingInstruction(const QXmlName& name, const QString& value) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "processingInstruction"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "const QXmlName&" , "const QString&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + void* args[3] = {NULL, (void*)&name, (void*)&value}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QXmlFormatter::processingInstruction(name, value); +} +void PythonQtShell_QXmlFormatter::startDocument() +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "startDocument"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={""}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QXmlFormatter::startDocument(); +} +void PythonQtShell_QXmlFormatter::startElement(const QXmlName& name) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "startElement"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "const QXmlName&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&name}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QXmlFormatter::startElement(name); +} +void PythonQtShell_QXmlFormatter::startOfSequence() +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "startOfSequence"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={""}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QXmlFormatter::startOfSequence(); +} +void PythonQtShell_QXmlFormatter::whitespaceOnly(const QStringRef& value) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "whitespaceOnly"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "const QStringRef&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&value}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QXmlFormatter::whitespaceOnly(value); +} +QXmlFormatter* PythonQtWrapper_QXmlFormatter::new_QXmlFormatter(const QXmlQuery& query, QIODevice* outputDevice) +{ +return new PythonQtShell_QXmlFormatter(query, outputDevice); } + +void PythonQtWrapper_QXmlFormatter::atomicValue(QXmlFormatter* theWrappedObject, const QVariant& value) +{ + ( ((PythonQtPublicPromoter_QXmlFormatter*)theWrappedObject)->promoted_atomicValue(value)); +} + +void PythonQtWrapper_QXmlFormatter::attribute(QXmlFormatter* theWrappedObject, const QXmlName& name, const QStringRef& value) +{ + ( ((PythonQtPublicPromoter_QXmlFormatter*)theWrappedObject)->promoted_attribute(name, value)); +} + +void PythonQtWrapper_QXmlFormatter::characters(QXmlFormatter* theWrappedObject, const QStringRef& value) +{ + ( ((PythonQtPublicPromoter_QXmlFormatter*)theWrappedObject)->promoted_characters(value)); +} + +void PythonQtWrapper_QXmlFormatter::comment(QXmlFormatter* theWrappedObject, const QString& value) +{ + ( ((PythonQtPublicPromoter_QXmlFormatter*)theWrappedObject)->promoted_comment(value)); +} + +void PythonQtWrapper_QXmlFormatter::endDocument(QXmlFormatter* theWrappedObject) +{ + ( ((PythonQtPublicPromoter_QXmlFormatter*)theWrappedObject)->promoted_endDocument()); +} + +void PythonQtWrapper_QXmlFormatter::endElement(QXmlFormatter* theWrappedObject) +{ + ( ((PythonQtPublicPromoter_QXmlFormatter*)theWrappedObject)->promoted_endElement()); +} + +void PythonQtWrapper_QXmlFormatter::endOfSequence(QXmlFormatter* theWrappedObject) +{ + ( ((PythonQtPublicPromoter_QXmlFormatter*)theWrappedObject)->promoted_endOfSequence()); +} + +int PythonQtWrapper_QXmlFormatter::indentationDepth(QXmlFormatter* theWrappedObject) const +{ + return ( theWrappedObject->indentationDepth()); +} + +void PythonQtWrapper_QXmlFormatter::processingInstruction(QXmlFormatter* theWrappedObject, const QXmlName& name, const QString& value) +{ + ( ((PythonQtPublicPromoter_QXmlFormatter*)theWrappedObject)->promoted_processingInstruction(name, value)); +} + +void PythonQtWrapper_QXmlFormatter::setIndentationDepth(QXmlFormatter* theWrappedObject, int depth) +{ + ( theWrappedObject->setIndentationDepth(depth)); +} + +void PythonQtWrapper_QXmlFormatter::startDocument(QXmlFormatter* theWrappedObject) +{ + ( ((PythonQtPublicPromoter_QXmlFormatter*)theWrappedObject)->promoted_startDocument()); +} + +void PythonQtWrapper_QXmlFormatter::startElement(QXmlFormatter* theWrappedObject, const QXmlName& name) +{ + ( ((PythonQtPublicPromoter_QXmlFormatter*)theWrappedObject)->promoted_startElement(name)); +} + +void PythonQtWrapper_QXmlFormatter::startOfSequence(QXmlFormatter* theWrappedObject) +{ + ( ((PythonQtPublicPromoter_QXmlFormatter*)theWrappedObject)->promoted_startOfSequence()); +} + + + +QXmlItem* PythonQtWrapper_QXmlItem::new_QXmlItem() +{ +return new QXmlItem(); } + +QXmlItem* PythonQtWrapper_QXmlItem::new_QXmlItem(const QVariant& atomicValue) +{ +return new QXmlItem(atomicValue); } + +QXmlItem* PythonQtWrapper_QXmlItem::new_QXmlItem(const QXmlItem& other) +{ +return new QXmlItem(other); } + +QXmlItem* PythonQtWrapper_QXmlItem::new_QXmlItem(const QXmlNodeModelIndex& node) +{ +return new QXmlItem(node); } + +bool PythonQtWrapper_QXmlItem::isAtomicValue(QXmlItem* theWrappedObject) const +{ + return ( theWrappedObject->isAtomicValue()); +} + +bool PythonQtWrapper_QXmlItem::isNode(QXmlItem* theWrappedObject) const +{ + return ( theWrappedObject->isNode()); +} + +bool PythonQtWrapper_QXmlItem::isNull(QXmlItem* theWrappedObject) const +{ + return ( theWrappedObject->isNull()); +} + +QVariant PythonQtWrapper_QXmlItem::toAtomicValue(QXmlItem* theWrappedObject) const +{ + return ( theWrappedObject->toAtomicValue()); +} + +QXmlNodeModelIndex PythonQtWrapper_QXmlItem::toNodeModelIndex(QXmlItem* theWrappedObject) const +{ + return ( theWrappedObject->toNodeModelIndex()); +} + + + +QXmlName* PythonQtWrapper_QXmlName::new_QXmlName() +{ +return new QXmlName(); } + +QXmlName* PythonQtWrapper_QXmlName::new_QXmlName(QXmlNamePool& namePool, const QString& localName, const QString& namespaceURI, const QString& prefix) +{ +return new QXmlName(namePool, localName, namespaceURI, prefix); } + +QXmlName PythonQtWrapper_QXmlName::static_QXmlName_fromClarkName(const QString& clarkName, const QXmlNamePool& namePool) +{ + return (QXmlName::fromClarkName(clarkName, namePool)); +} + +bool PythonQtWrapper_QXmlName::static_QXmlName_isNCName(const QString& candidate) +{ + return (QXmlName::isNCName(candidate)); +} + +bool PythonQtWrapper_QXmlName::isNull(QXmlName* theWrappedObject) const +{ + return ( theWrappedObject->isNull()); +} + +QString PythonQtWrapper_QXmlName::localName(QXmlName* theWrappedObject, const QXmlNamePool& query) const +{ + return ( theWrappedObject->localName(query)); +} + +QString PythonQtWrapper_QXmlName::namespaceUri(QXmlName* theWrappedObject, const QXmlNamePool& query) const +{ + return ( theWrappedObject->namespaceUri(query)); +} + +bool PythonQtWrapper_QXmlName::__ne__(QXmlName* theWrappedObject, const QXmlName& other) const +{ + return ( (*theWrappedObject)!= other); +} + +bool PythonQtWrapper_QXmlName::__eq__(QXmlName* theWrappedObject, const QXmlName& other) const +{ + return ( (*theWrappedObject)== other); +} + +QString PythonQtWrapper_QXmlName::prefix(QXmlName* theWrappedObject, const QXmlNamePool& query) const +{ + return ( theWrappedObject->prefix(query)); +} + +QString PythonQtWrapper_QXmlName::toClarkName(QXmlName* theWrappedObject, const QXmlNamePool& query) const +{ + return ( theWrappedObject->toClarkName(query)); +} + + + +QXmlNamePool* PythonQtWrapper_QXmlNamePool::new_QXmlNamePool() +{ +return new QXmlNamePool(); } + +QXmlNamePool* PythonQtWrapper_QXmlNamePool::new_QXmlNamePool(const QXmlNamePool& other) +{ +return new QXmlNamePool(other); } + + + +QXmlNodeModelIndex* PythonQtWrapper_QXmlNodeModelIndex::new_QXmlNodeModelIndex() +{ +return new QXmlNodeModelIndex(); } + +QXmlNodeModelIndex* PythonQtWrapper_QXmlNodeModelIndex::new_QXmlNodeModelIndex(const QXmlNodeModelIndex& other) +{ +return new QXmlNodeModelIndex(other); } + +qint64 PythonQtWrapper_QXmlNodeModelIndex::additionalData(QXmlNodeModelIndex* theWrappedObject) const +{ + return ( theWrappedObject->additionalData()); +} + +qint64 PythonQtWrapper_QXmlNodeModelIndex::data(QXmlNodeModelIndex* theWrappedObject) const +{ + return ( theWrappedObject->data()); +} + +bool PythonQtWrapper_QXmlNodeModelIndex::isNull(QXmlNodeModelIndex* theWrappedObject) const +{ + return ( theWrappedObject->isNull()); +} + +const QAbstractXmlNodeModel* PythonQtWrapper_QXmlNodeModelIndex::model(QXmlNodeModelIndex* theWrappedObject) const +{ + return ( theWrappedObject->model()); +} + +bool PythonQtWrapper_QXmlNodeModelIndex::__ne__(QXmlNodeModelIndex* theWrappedObject, const QXmlNodeModelIndex& other) const +{ + return ( (*theWrappedObject)!= other); +} + +bool PythonQtWrapper_QXmlNodeModelIndex::__eq__(QXmlNodeModelIndex* theWrappedObject, const QXmlNodeModelIndex& other) const +{ + return ( (*theWrappedObject)== other); +} + + + +QXmlQuery* PythonQtWrapper_QXmlQuery::new_QXmlQuery() +{ +return new QXmlQuery(); } + +QXmlQuery* PythonQtWrapper_QXmlQuery::new_QXmlQuery(QXmlQuery::QueryLanguage queryLanguage, const QXmlNamePool& np) +{ +return new QXmlQuery(queryLanguage, np); } + +QXmlQuery* PythonQtWrapper_QXmlQuery::new_QXmlQuery(const QXmlNamePool& np) +{ +return new QXmlQuery(np); } + +QXmlQuery* PythonQtWrapper_QXmlQuery::new_QXmlQuery(const QXmlQuery& other) +{ +return new QXmlQuery(other); } + +void PythonQtWrapper_QXmlQuery::bindVariable(QXmlQuery* theWrappedObject, const QString& localName, QIODevice* arg__2) +{ + ( theWrappedObject->bindVariable(localName, arg__2)); +} + +void PythonQtWrapper_QXmlQuery::bindVariable(QXmlQuery* theWrappedObject, const QString& localName, const QXmlItem& value) +{ + ( theWrappedObject->bindVariable(localName, value)); +} + +void PythonQtWrapper_QXmlQuery::bindVariable(QXmlQuery* theWrappedObject, const QString& localName, const QXmlQuery& query) +{ + ( theWrappedObject->bindVariable(localName, query)); +} + +void PythonQtWrapper_QXmlQuery::bindVariable(QXmlQuery* theWrappedObject, const QXmlName& name, QIODevice* arg__2) +{ + ( theWrappedObject->bindVariable(name, arg__2)); +} + +void PythonQtWrapper_QXmlQuery::bindVariable(QXmlQuery* theWrappedObject, const QXmlName& name, const QXmlItem& value) +{ + ( theWrappedObject->bindVariable(name, value)); +} + +void PythonQtWrapper_QXmlQuery::bindVariable(QXmlQuery* theWrappedObject, const QXmlName& name, const QXmlQuery& query) +{ + ( theWrappedObject->bindVariable(name, query)); +} + +bool PythonQtWrapper_QXmlQuery::evaluateTo(QXmlQuery* theWrappedObject, QIODevice* target) const +{ + return ( theWrappedObject->evaluateTo(target)); +} + +bool PythonQtWrapper_QXmlQuery::evaluateTo(QXmlQuery* theWrappedObject, QString* output) const +{ + return ( theWrappedObject->evaluateTo(output)); +} + +void PythonQtWrapper_QXmlQuery::evaluateTo(QXmlQuery* theWrappedObject, QXmlResultItems* result) const +{ + ( theWrappedObject->evaluateTo(result)); +} + +QXmlName PythonQtWrapper_QXmlQuery::initialTemplateName(QXmlQuery* theWrappedObject) const +{ + return ( theWrappedObject->initialTemplateName()); +} + +bool PythonQtWrapper_QXmlQuery::isValid(QXmlQuery* theWrappedObject) const +{ + return ( theWrappedObject->isValid()); +} + +QAbstractMessageHandler* PythonQtWrapper_QXmlQuery::messageHandler(QXmlQuery* theWrappedObject) const +{ + return ( theWrappedObject->messageHandler()); +} + +QXmlNamePool PythonQtWrapper_QXmlQuery::namePool(QXmlQuery* theWrappedObject) const +{ + return ( theWrappedObject->namePool()); +} + +QNetworkAccessManager* PythonQtWrapper_QXmlQuery::networkAccessManager(QXmlQuery* theWrappedObject) const +{ + return ( theWrappedObject->networkAccessManager()); +} + +QXmlQuery* PythonQtWrapper_QXmlQuery::operator_assign(QXmlQuery* theWrappedObject, const QXmlQuery& other) +{ + return &( (*theWrappedObject)= other); +} + +QXmlQuery::QueryLanguage PythonQtWrapper_QXmlQuery::queryLanguage(QXmlQuery* theWrappedObject) const +{ + return ( theWrappedObject->queryLanguage()); +} + +bool PythonQtWrapper_QXmlQuery::setFocus(QXmlQuery* theWrappedObject, QIODevice* document) +{ + return ( theWrappedObject->setFocus(document)); +} + +bool PythonQtWrapper_QXmlQuery::setFocus(QXmlQuery* theWrappedObject, const QString& focus) +{ + return ( theWrappedObject->setFocus(focus)); +} + +bool PythonQtWrapper_QXmlQuery::setFocus(QXmlQuery* theWrappedObject, const QUrl& documentURI) +{ + return ( theWrappedObject->setFocus(documentURI)); +} + +void PythonQtWrapper_QXmlQuery::setFocus(QXmlQuery* theWrappedObject, const QXmlItem& item) +{ + ( theWrappedObject->setFocus(item)); +} + +void PythonQtWrapper_QXmlQuery::setInitialTemplateName(QXmlQuery* theWrappedObject, const QString& name) +{ + ( theWrappedObject->setInitialTemplateName(name)); +} + +void PythonQtWrapper_QXmlQuery::setInitialTemplateName(QXmlQuery* theWrappedObject, const QXmlName& name) +{ + ( theWrappedObject->setInitialTemplateName(name)); +} + +void PythonQtWrapper_QXmlQuery::setMessageHandler(QXmlQuery* theWrappedObject, QAbstractMessageHandler* messageHandler) +{ + ( theWrappedObject->setMessageHandler(messageHandler)); +} + +void PythonQtWrapper_QXmlQuery::setNetworkAccessManager(QXmlQuery* theWrappedObject, QNetworkAccessManager* newManager) +{ + ( theWrappedObject->setNetworkAccessManager(newManager)); +} + +void PythonQtWrapper_QXmlQuery::setQuery(QXmlQuery* theWrappedObject, QIODevice* sourceCode, const QUrl& documentURI) +{ + ( theWrappedObject->setQuery(sourceCode, documentURI)); +} + +void PythonQtWrapper_QXmlQuery::setQuery(QXmlQuery* theWrappedObject, const QString& sourceCode, const QUrl& documentURI) +{ + ( theWrappedObject->setQuery(sourceCode, documentURI)); +} + +void PythonQtWrapper_QXmlQuery::setQuery(QXmlQuery* theWrappedObject, const QUrl& queryURI, const QUrl& baseURI) +{ + ( theWrappedObject->setQuery(queryURI, baseURI)); +} + +void PythonQtWrapper_QXmlQuery::setUriResolver(QXmlQuery* theWrappedObject, const QAbstractUriResolver* resolver) +{ + ( theWrappedObject->setUriResolver(resolver)); +} + +const QAbstractUriResolver* PythonQtWrapper_QXmlQuery::uriResolver(QXmlQuery* theWrappedObject) const +{ + return ( theWrappedObject->uriResolver()); +} + + + +QXmlResultItems* PythonQtWrapper_QXmlResultItems::new_QXmlResultItems() +{ +return new PythonQtShell_QXmlResultItems(); } + +QXmlItem PythonQtWrapper_QXmlResultItems::current(QXmlResultItems* theWrappedObject) const +{ + return ( theWrappedObject->current()); +} + +bool PythonQtWrapper_QXmlResultItems::hasError(QXmlResultItems* theWrappedObject) const +{ + return ( theWrappedObject->hasError()); +} + +QXmlItem PythonQtWrapper_QXmlResultItems::next(QXmlResultItems* theWrappedObject) +{ + return ( theWrappedObject->next()); +} + + + +QXmlSchema* PythonQtWrapper_QXmlSchema::new_QXmlSchema() +{ +return new QXmlSchema(); } + +QXmlSchema* PythonQtWrapper_QXmlSchema::new_QXmlSchema(const QXmlSchema& other) +{ +return new QXmlSchema(other); } + +QUrl PythonQtWrapper_QXmlSchema::documentUri(QXmlSchema* theWrappedObject) const +{ + return ( theWrappedObject->documentUri()); +} + +bool PythonQtWrapper_QXmlSchema::isValid(QXmlSchema* theWrappedObject) const +{ + return ( theWrappedObject->isValid()); +} + +bool PythonQtWrapper_QXmlSchema::load(QXmlSchema* theWrappedObject, QIODevice* source, const QUrl& documentUri) +{ + return ( theWrappedObject->load(source, documentUri)); +} + +bool PythonQtWrapper_QXmlSchema::load(QXmlSchema* theWrappedObject, const QByteArray& data, const QUrl& documentUri) +{ + return ( theWrappedObject->load(data, documentUri)); +} + +bool PythonQtWrapper_QXmlSchema::load(QXmlSchema* theWrappedObject, const QUrl& source) +{ + return ( theWrappedObject->load(source)); +} + +QAbstractMessageHandler* PythonQtWrapper_QXmlSchema::messageHandler(QXmlSchema* theWrappedObject) const +{ + return ( theWrappedObject->messageHandler()); +} + +QXmlNamePool PythonQtWrapper_QXmlSchema::namePool(QXmlSchema* theWrappedObject) const +{ + return ( theWrappedObject->namePool()); +} + +QNetworkAccessManager* PythonQtWrapper_QXmlSchema::networkAccessManager(QXmlSchema* theWrappedObject) const +{ + return ( theWrappedObject->networkAccessManager()); +} + +void PythonQtWrapper_QXmlSchema::setMessageHandler(QXmlSchema* theWrappedObject, QAbstractMessageHandler* handler) +{ + ( theWrappedObject->setMessageHandler(handler)); +} + +void PythonQtWrapper_QXmlSchema::setNetworkAccessManager(QXmlSchema* theWrappedObject, QNetworkAccessManager* networkmanager) +{ + ( theWrappedObject->setNetworkAccessManager(networkmanager)); +} + +void PythonQtWrapper_QXmlSchema::setUriResolver(QXmlSchema* theWrappedObject, const QAbstractUriResolver* resolver) +{ + ( theWrappedObject->setUriResolver(resolver)); +} + +const QAbstractUriResolver* PythonQtWrapper_QXmlSchema::uriResolver(QXmlSchema* theWrappedObject) const +{ + return ( theWrappedObject->uriResolver()); +} + + + +QXmlSchemaValidator* PythonQtWrapper_QXmlSchemaValidator::new_QXmlSchemaValidator() +{ +return new QXmlSchemaValidator(); } + +QXmlSchemaValidator* PythonQtWrapper_QXmlSchemaValidator::new_QXmlSchemaValidator(const QXmlSchema& schema) +{ +return new QXmlSchemaValidator(schema); } + +QAbstractMessageHandler* PythonQtWrapper_QXmlSchemaValidator::messageHandler(QXmlSchemaValidator* theWrappedObject) const +{ + return ( theWrappedObject->messageHandler()); +} + +QXmlNamePool PythonQtWrapper_QXmlSchemaValidator::namePool(QXmlSchemaValidator* theWrappedObject) const +{ + return ( theWrappedObject->namePool()); +} + +QNetworkAccessManager* PythonQtWrapper_QXmlSchemaValidator::networkAccessManager(QXmlSchemaValidator* theWrappedObject) const +{ + return ( theWrappedObject->networkAccessManager()); +} + +QXmlSchema PythonQtWrapper_QXmlSchemaValidator::schema(QXmlSchemaValidator* theWrappedObject) const +{ + return ( theWrappedObject->schema()); +} + +void PythonQtWrapper_QXmlSchemaValidator::setMessageHandler(QXmlSchemaValidator* theWrappedObject, QAbstractMessageHandler* handler) +{ + ( theWrappedObject->setMessageHandler(handler)); +} + +void PythonQtWrapper_QXmlSchemaValidator::setNetworkAccessManager(QXmlSchemaValidator* theWrappedObject, QNetworkAccessManager* networkmanager) +{ + ( theWrappedObject->setNetworkAccessManager(networkmanager)); +} + +void PythonQtWrapper_QXmlSchemaValidator::setSchema(QXmlSchemaValidator* theWrappedObject, const QXmlSchema& schema) +{ + ( theWrappedObject->setSchema(schema)); +} + +void PythonQtWrapper_QXmlSchemaValidator::setUriResolver(QXmlSchemaValidator* theWrappedObject, const QAbstractUriResolver* resolver) +{ + ( theWrappedObject->setUriResolver(resolver)); +} + +const QAbstractUriResolver* PythonQtWrapper_QXmlSchemaValidator::uriResolver(QXmlSchemaValidator* theWrappedObject) const +{ + return ( theWrappedObject->uriResolver()); +} + +bool PythonQtWrapper_QXmlSchemaValidator::validate(QXmlSchemaValidator* theWrappedObject, QIODevice* source, const QUrl& documentUri) const +{ + return ( theWrappedObject->validate(source, documentUri)); +} + +bool PythonQtWrapper_QXmlSchemaValidator::validate(QXmlSchemaValidator* theWrappedObject, const QByteArray& data, const QUrl& documentUri) const +{ + return ( theWrappedObject->validate(data, documentUri)); +} + +bool PythonQtWrapper_QXmlSchemaValidator::validate(QXmlSchemaValidator* theWrappedObject, const QUrl& source) const +{ + return ( theWrappedObject->validate(source)); +} + + + +void PythonQtShell_QXmlSerializer::atomicValue(const QVariant& value) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "atomicValue"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "const QVariant&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&value}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QXmlSerializer::atomicValue(value); +} +void PythonQtShell_QXmlSerializer::attribute(const QXmlName& name, const QStringRef& value) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "attribute"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "const QXmlName&" , "const QStringRef&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + void* args[3] = {NULL, (void*)&name, (void*)&value}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QXmlSerializer::attribute(name, value); +} +void PythonQtShell_QXmlSerializer::characters(const QStringRef& value) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "characters"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "const QStringRef&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&value}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QXmlSerializer::characters(value); +} +void PythonQtShell_QXmlSerializer::comment(const QString& value) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "comment"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "const QString&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&value}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QXmlSerializer::comment(value); +} +void PythonQtShell_QXmlSerializer::endDocument() +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "endDocument"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={""}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QXmlSerializer::endDocument(); +} +void PythonQtShell_QXmlSerializer::endElement() +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "endElement"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={""}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QXmlSerializer::endElement(); +} +void PythonQtShell_QXmlSerializer::endOfSequence() +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "endOfSequence"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={""}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QXmlSerializer::endOfSequence(); +} +void PythonQtShell_QXmlSerializer::namespaceBinding(const QXmlName& nb) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "namespaceBinding"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "const QXmlName&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&nb}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QXmlSerializer::namespaceBinding(nb); +} +void PythonQtShell_QXmlSerializer::processingInstruction(const QXmlName& name, const QString& value) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "processingInstruction"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "const QXmlName&" , "const QString&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + void* args[3] = {NULL, (void*)&name, (void*)&value}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QXmlSerializer::processingInstruction(name, value); +} +void PythonQtShell_QXmlSerializer::startDocument() +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "startDocument"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={""}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QXmlSerializer::startDocument(); +} +void PythonQtShell_QXmlSerializer::startElement(const QXmlName& name) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "startElement"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "const QXmlName&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&name}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QXmlSerializer::startElement(name); +} +void PythonQtShell_QXmlSerializer::startOfSequence() +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "startOfSequence"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={""}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + void* args[1] = {NULL}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QXmlSerializer::startOfSequence(); +} +void PythonQtShell_QXmlSerializer::whitespaceOnly(const QStringRef& value) +{ +if (_wrapper) { + PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "whitespaceOnly"); + PyErr_Clear(); + if (obj && !PythonQtSlotFunction_Check(obj)) { + static const char* argumentList[] ={"" , "const QStringRef&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {NULL, (void*)&value}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } +} + QXmlSerializer::whitespaceOnly(value); +} +QXmlSerializer* PythonQtWrapper_QXmlSerializer::new_QXmlSerializer(const QXmlQuery& query, QIODevice* outputDevice) +{ +return new PythonQtShell_QXmlSerializer(query, outputDevice); } + +void PythonQtWrapper_QXmlSerializer::atomicValue(QXmlSerializer* theWrappedObject, const QVariant& value) +{ + ( ((PythonQtPublicPromoter_QXmlSerializer*)theWrappedObject)->promoted_atomicValue(value)); +} + +void PythonQtWrapper_QXmlSerializer::attribute(QXmlSerializer* theWrappedObject, const QXmlName& name, const QStringRef& value) +{ + ( ((PythonQtPublicPromoter_QXmlSerializer*)theWrappedObject)->promoted_attribute(name, value)); +} + +void PythonQtWrapper_QXmlSerializer::characters(QXmlSerializer* theWrappedObject, const QStringRef& value) +{ + ( ((PythonQtPublicPromoter_QXmlSerializer*)theWrappedObject)->promoted_characters(value)); +} + +const QTextCodec* PythonQtWrapper_QXmlSerializer::codec(QXmlSerializer* theWrappedObject) const +{ + return ( theWrappedObject->codec()); +} + +void PythonQtWrapper_QXmlSerializer::comment(QXmlSerializer* theWrappedObject, const QString& value) +{ + ( ((PythonQtPublicPromoter_QXmlSerializer*)theWrappedObject)->promoted_comment(value)); +} + +void PythonQtWrapper_QXmlSerializer::endDocument(QXmlSerializer* theWrappedObject) +{ + ( ((PythonQtPublicPromoter_QXmlSerializer*)theWrappedObject)->promoted_endDocument()); +} + +void PythonQtWrapper_QXmlSerializer::endElement(QXmlSerializer* theWrappedObject) +{ + ( ((PythonQtPublicPromoter_QXmlSerializer*)theWrappedObject)->promoted_endElement()); +} + +void PythonQtWrapper_QXmlSerializer::endOfSequence(QXmlSerializer* theWrappedObject) +{ + ( ((PythonQtPublicPromoter_QXmlSerializer*)theWrappedObject)->promoted_endOfSequence()); +} + +void PythonQtWrapper_QXmlSerializer::namespaceBinding(QXmlSerializer* theWrappedObject, const QXmlName& nb) +{ + ( ((PythonQtPublicPromoter_QXmlSerializer*)theWrappedObject)->promoted_namespaceBinding(nb)); +} + +QIODevice* PythonQtWrapper_QXmlSerializer::outputDevice(QXmlSerializer* theWrappedObject) const +{ + return ( theWrappedObject->outputDevice()); +} + +void PythonQtWrapper_QXmlSerializer::processingInstruction(QXmlSerializer* theWrappedObject, const QXmlName& name, const QString& value) +{ + ( ((PythonQtPublicPromoter_QXmlSerializer*)theWrappedObject)->promoted_processingInstruction(name, value)); +} + +void PythonQtWrapper_QXmlSerializer::setCodec(QXmlSerializer* theWrappedObject, const QTextCodec* codec) +{ + ( theWrappedObject->setCodec(codec)); +} + +void PythonQtWrapper_QXmlSerializer::startDocument(QXmlSerializer* theWrappedObject) +{ + ( ((PythonQtPublicPromoter_QXmlSerializer*)theWrappedObject)->promoted_startDocument()); +} + +void PythonQtWrapper_QXmlSerializer::startElement(QXmlSerializer* theWrappedObject, const QXmlName& name) +{ + ( ((PythonQtPublicPromoter_QXmlSerializer*)theWrappedObject)->promoted_startElement(name)); +} + +void PythonQtWrapper_QXmlSerializer::startOfSequence(QXmlSerializer* theWrappedObject) +{ + ( ((PythonQtPublicPromoter_QXmlSerializer*)theWrappedObject)->promoted_startOfSequence()); +} + + diff --git a/generated_cpp_47/com_trolltech_qt_xmlpatterns/com_trolltech_qt_xmlpatterns0.h b/generated_cpp_47/com_trolltech_qt_xmlpatterns/com_trolltech_qt_xmlpatterns0.h new file mode 100644 index 00000000..36ab24dd --- /dev/null +++ b/generated_cpp_47/com_trolltech_qt_xmlpatterns/com_trolltech_qt_xmlpatterns0.h @@ -0,0 +1,591 @@ +#include +#include +#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_QAbstractMessageHandler : public QAbstractMessageHandler +{ +public: + +virtual void childEvent(QChildEvent* arg__1); +virtual void customEvent(QEvent* arg__1); +virtual bool event(QEvent* arg__1); +virtual bool eventFilter(QObject* arg__1, QEvent* arg__2); +virtual void handleMessage(QtMsgType type, const QString& description, const QUrl& identifier, const QSourceLocation& sourceLocation); +virtual void timerEvent(QTimerEvent* arg__1); + + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtWrapper_QAbstractMessageHandler : public QObject +{ Q_OBJECT +public: +public slots: +void delete_QAbstractMessageHandler(QAbstractMessageHandler* obj) { delete obj; } + void message(QAbstractMessageHandler* theWrappedObject, QtMsgType type, const QString& description, const QUrl& identifier = QUrl(), const QSourceLocation& sourceLocation = QSourceLocation()); +}; + + + + + +class PythonQtShell_QAbstractUriResolver : public QAbstractUriResolver +{ +public: + PythonQtShell_QAbstractUriResolver(QObject* parent = 0):QAbstractUriResolver(parent),_wrapper(NULL) {}; + +virtual void childEvent(QChildEvent* arg__1); +virtual void customEvent(QEvent* arg__1); +virtual bool event(QEvent* arg__1); +virtual bool eventFilter(QObject* arg__1, QEvent* arg__2); +virtual QUrl resolve(const QUrl& relative, const QUrl& baseURI) const; +virtual void timerEvent(QTimerEvent* arg__1); + + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtWrapper_QAbstractUriResolver : public QObject +{ Q_OBJECT +public: +public slots: +QAbstractUriResolver* new_QAbstractUriResolver(QObject* parent = 0); +void delete_QAbstractUriResolver(QAbstractUriResolver* obj) { delete obj; } +}; + + + + + +class PythonQtShell_QAbstractXmlNodeModel : public QAbstractXmlNodeModel +{ +public: + +virtual QVector attributes(const QXmlNodeModelIndex& element) const; +virtual QUrl baseUri(const QXmlNodeModelIndex& ni) const; +virtual QXmlNodeModelIndex::DocumentOrder compareOrder(const QXmlNodeModelIndex& ni1, const QXmlNodeModelIndex& ni2) const; +virtual QUrl documentUri(const QXmlNodeModelIndex& ni) const; +virtual QXmlNodeModelIndex elementById(const QXmlName& NCName) const; +virtual bool isDeepEqual(const QXmlNodeModelIndex& ni1, const QXmlNodeModelIndex& ni2) const; +virtual QXmlNodeModelIndex::NodeKind kind(const QXmlNodeModelIndex& ni) const; +virtual QXmlName name(const QXmlNodeModelIndex& ni) const; +virtual QVector namespaceBindings(const QXmlNodeModelIndex& n) const; +virtual short namespaceForPrefix(const QXmlNodeModelIndex& ni, const short prefix) const; +virtual QXmlNodeModelIndex nextFromSimpleAxis(QAbstractXmlNodeModel::SimpleAxis axis, const QXmlNodeModelIndex& origin) const; +virtual QVector nodesByIdref(const QXmlName& NCName) const; +virtual QXmlNodeModelIndex root(const QXmlNodeModelIndex& n) const; +virtual QString stringValue(const QXmlNodeModelIndex& n) const; +virtual QVariant typedValue(const QXmlNodeModelIndex& n) const; + + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtWrapper_QAbstractXmlNodeModel : public QObject +{ Q_OBJECT +public: +Q_ENUMS(SimpleAxis NodeCopySetting ) +enum SimpleAxis{ + Parent = QAbstractXmlNodeModel::Parent, FirstChild = QAbstractXmlNodeModel::FirstChild, PreviousSibling = QAbstractXmlNodeModel::PreviousSibling, NextSibling = QAbstractXmlNodeModel::NextSibling}; +enum NodeCopySetting{ + InheritNamespaces = QAbstractXmlNodeModel::InheritNamespaces, PreserveNamespaces = QAbstractXmlNodeModel::PreserveNamespaces}; +public slots: +void delete_QAbstractXmlNodeModel(QAbstractXmlNodeModel* obj) { delete obj; } + QSourceLocation sourceLocation(QAbstractXmlNodeModel* theWrappedObject, const QXmlNodeModelIndex& index) const; +}; + + + + + +class PythonQtShell_QAbstractXmlReceiver : public QAbstractXmlReceiver +{ +public: + PythonQtShell_QAbstractXmlReceiver():QAbstractXmlReceiver(),_wrapper(NULL) {}; + +virtual void atomicValue(const QVariant& value); +virtual void attribute(const QXmlName& name, const QStringRef& value); +virtual void characters(const QStringRef& value); +virtual void comment(const QString& value); +virtual void endDocument(); +virtual void endElement(); +virtual void endOfSequence(); +virtual void namespaceBinding(const QXmlName& name); +virtual void processingInstruction(const QXmlName& target, const QString& value); +virtual void startDocument(); +virtual void startElement(const QXmlName& name); +virtual void startOfSequence(); +virtual void whitespaceOnly(const QStringRef& value); + + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtPublicPromoter_QAbstractXmlReceiver : public QAbstractXmlReceiver +{ public: +inline void promoted_whitespaceOnly(const QStringRef& value) { QAbstractXmlReceiver::whitespaceOnly(value); } +}; + +class PythonQtWrapper_QAbstractXmlReceiver : public QObject +{ Q_OBJECT +public: +public slots: +QAbstractXmlReceiver* new_QAbstractXmlReceiver(); +QAbstractXmlReceiver* new_QAbstractXmlReceiver(const QAbstractXmlReceiver& other) { +PythonQtShell_QAbstractXmlReceiver* a = new PythonQtShell_QAbstractXmlReceiver(); +*((QAbstractXmlReceiver*)a) = other; +return a; } +void delete_QAbstractXmlReceiver(QAbstractXmlReceiver* obj) { delete obj; } + void whitespaceOnly(QAbstractXmlReceiver* theWrappedObject, const QStringRef& value); +}; + + + + + +class PythonQtWrapper_QPatternist : public QObject +{ Q_OBJECT +public: +public slots: +}; + + + + + +class PythonQtWrapper_QPatternistSDK : public QObject +{ Q_OBJECT +public: +public slots: +}; + + + + + +class PythonQtShell_QSimpleXmlNodeModel : public QSimpleXmlNodeModel +{ +public: + PythonQtShell_QSimpleXmlNodeModel(const QXmlNamePool& namePool):QSimpleXmlNodeModel(namePool),_wrapper(NULL) {}; + +virtual QVector attributes(const QXmlNodeModelIndex& element) const; +virtual QUrl baseUri(const QXmlNodeModelIndex& node) const; +virtual QXmlNodeModelIndex::DocumentOrder compareOrder(const QXmlNodeModelIndex& ni1, const QXmlNodeModelIndex& ni2) const; +virtual QUrl documentUri(const QXmlNodeModelIndex& ni) const; +virtual QXmlNodeModelIndex elementById(const QXmlName& id) const; +virtual QXmlNodeModelIndex::NodeKind kind(const QXmlNodeModelIndex& ni) const; +virtual QXmlName name(const QXmlNodeModelIndex& ni) const; +virtual QVector namespaceBindings(const QXmlNodeModelIndex& arg__1) const; +virtual QXmlNodeModelIndex nextFromSimpleAxis(QAbstractXmlNodeModel::SimpleAxis axis, const QXmlNodeModelIndex& origin) const; +virtual QVector nodesByIdref(const QXmlName& idref) const; +virtual QXmlNodeModelIndex root(const QXmlNodeModelIndex& n) const; +virtual QString stringValue(const QXmlNodeModelIndex& node) const; +virtual QVariant typedValue(const QXmlNodeModelIndex& n) const; + + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtPublicPromoter_QSimpleXmlNodeModel : public QSimpleXmlNodeModel +{ public: +inline QUrl promoted_baseUri(const QXmlNodeModelIndex& node) const { return QSimpleXmlNodeModel::baseUri(node); } +inline QXmlNodeModelIndex promoted_elementById(const QXmlName& id) const { return QSimpleXmlNodeModel::elementById(id); } +inline QVector promoted_namespaceBindings(const QXmlNodeModelIndex& arg__1) const { return QSimpleXmlNodeModel::namespaceBindings(arg__1); } +inline QVector promoted_nodesByIdref(const QXmlName& idref) const { return QSimpleXmlNodeModel::nodesByIdref(idref); } +inline QString promoted_stringValue(const QXmlNodeModelIndex& node) const { return QSimpleXmlNodeModel::stringValue(node); } +}; + +class PythonQtWrapper_QSimpleXmlNodeModel : public QObject +{ Q_OBJECT +public: +public slots: +QSimpleXmlNodeModel* new_QSimpleXmlNodeModel(const QXmlNamePool& namePool); +void delete_QSimpleXmlNodeModel(QSimpleXmlNodeModel* obj) { delete obj; } + QUrl baseUri(QSimpleXmlNodeModel* theWrappedObject, const QXmlNodeModelIndex& node) const; + QXmlNodeModelIndex elementById(QSimpleXmlNodeModel* theWrappedObject, const QXmlName& id) const; + QXmlNamePool* namePool(QSimpleXmlNodeModel* theWrappedObject) const; + QVector namespaceBindings(QSimpleXmlNodeModel* theWrappedObject, const QXmlNodeModelIndex& arg__1) const; + QVector nodesByIdref(QSimpleXmlNodeModel* theWrappedObject, const QXmlName& idref) const; + QString stringValue(QSimpleXmlNodeModel* theWrappedObject, const QXmlNodeModelIndex& node) const; +}; + + + + + +class PythonQtWrapper_QSourceLocation : public QObject +{ Q_OBJECT +public: +public slots: +QSourceLocation* new_QSourceLocation(); +QSourceLocation* new_QSourceLocation(const QSourceLocation& other); +QSourceLocation* new_QSourceLocation(const QUrl& uri, int line = -1, int column = -1); +void delete_QSourceLocation(QSourceLocation* obj) { delete obj; } + qint64 column(QSourceLocation* theWrappedObject) const; + bool isNull(QSourceLocation* theWrappedObject) const; + qint64 line(QSourceLocation* theWrappedObject) const; + bool __ne__(QSourceLocation* theWrappedObject, const QSourceLocation& other) const; + bool __eq__(QSourceLocation* theWrappedObject, const QSourceLocation& other) const; + void setColumn(QSourceLocation* theWrappedObject, qint64 newColumn); + void setLine(QSourceLocation* theWrappedObject, qint64 newLine); + void setUri(QSourceLocation* theWrappedObject, const QUrl& newUri); + QUrl uri(QSourceLocation* theWrappedObject) const; + QString py_toString(QSourceLocation*); + bool __nonzero__(QSourceLocation* obj) { return !obj->isNull(); } +}; + + + + + +class PythonQtShell_QXmlFormatter : public QXmlFormatter +{ +public: + PythonQtShell_QXmlFormatter(const QXmlQuery& query, QIODevice* outputDevice):QXmlFormatter(query, outputDevice),_wrapper(NULL) {}; + +virtual void atomicValue(const QVariant& value); +virtual void attribute(const QXmlName& name, const QStringRef& value); +virtual void characters(const QStringRef& value); +virtual void comment(const QString& value); +virtual void endDocument(); +virtual void endElement(); +virtual void endOfSequence(); +virtual void namespaceBinding(const QXmlName& nb); +virtual void processingInstruction(const QXmlName& name, const QString& value); +virtual void startDocument(); +virtual void startElement(const QXmlName& name); +virtual void startOfSequence(); +virtual void whitespaceOnly(const QStringRef& value); + + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtPublicPromoter_QXmlFormatter : public QXmlFormatter +{ public: +inline void promoted_atomicValue(const QVariant& value) { QXmlFormatter::atomicValue(value); } +inline void promoted_attribute(const QXmlName& name, const QStringRef& value) { QXmlFormatter::attribute(name, value); } +inline void promoted_characters(const QStringRef& value) { QXmlFormatter::characters(value); } +inline void promoted_comment(const QString& value) { QXmlFormatter::comment(value); } +inline void promoted_endDocument() { QXmlFormatter::endDocument(); } +inline void promoted_endElement() { QXmlFormatter::endElement(); } +inline void promoted_endOfSequence() { QXmlFormatter::endOfSequence(); } +inline void promoted_processingInstruction(const QXmlName& name, const QString& value) { QXmlFormatter::processingInstruction(name, value); } +inline void promoted_startDocument() { QXmlFormatter::startDocument(); } +inline void promoted_startElement(const QXmlName& name) { QXmlFormatter::startElement(name); } +inline void promoted_startOfSequence() { QXmlFormatter::startOfSequence(); } +}; + +class PythonQtWrapper_QXmlFormatter : public QObject +{ Q_OBJECT +public: +public slots: +QXmlFormatter* new_QXmlFormatter(const QXmlQuery& query, QIODevice* outputDevice); +void delete_QXmlFormatter(QXmlFormatter* obj) { delete obj; } + void atomicValue(QXmlFormatter* theWrappedObject, const QVariant& value); + void attribute(QXmlFormatter* theWrappedObject, const QXmlName& name, const QStringRef& value); + void characters(QXmlFormatter* theWrappedObject, const QStringRef& value); + void comment(QXmlFormatter* theWrappedObject, const QString& value); + void endDocument(QXmlFormatter* theWrappedObject); + void endElement(QXmlFormatter* theWrappedObject); + void endOfSequence(QXmlFormatter* theWrappedObject); + int indentationDepth(QXmlFormatter* theWrappedObject) const; + void processingInstruction(QXmlFormatter* theWrappedObject, const QXmlName& name, const QString& value); + void setIndentationDepth(QXmlFormatter* theWrappedObject, int depth); + void startDocument(QXmlFormatter* theWrappedObject); + void startElement(QXmlFormatter* theWrappedObject, const QXmlName& name); + void startOfSequence(QXmlFormatter* theWrappedObject); +}; + + + + + +class PythonQtWrapper_QXmlItem : public QObject +{ Q_OBJECT +public: +public slots: +QXmlItem* new_QXmlItem(); +QXmlItem* new_QXmlItem(const QVariant& atomicValue); +QXmlItem* new_QXmlItem(const QXmlItem& other); +QXmlItem* new_QXmlItem(const QXmlNodeModelIndex& node); +void delete_QXmlItem(QXmlItem* obj) { delete obj; } + bool isAtomicValue(QXmlItem* theWrappedObject) const; + bool isNode(QXmlItem* theWrappedObject) const; + bool isNull(QXmlItem* theWrappedObject) const; + QVariant toAtomicValue(QXmlItem* theWrappedObject) const; + QXmlNodeModelIndex toNodeModelIndex(QXmlItem* theWrappedObject) const; + bool __nonzero__(QXmlItem* obj) { return !obj->isNull(); } +}; + + + + + +class PythonQtWrapper_QXmlName : public QObject +{ Q_OBJECT +public: +public slots: +QXmlName* new_QXmlName(); +QXmlName* new_QXmlName(QXmlNamePool& namePool, const QString& localName, const QString& namespaceURI = QString(), const QString& prefix = QString()); +QXmlName* new_QXmlName(const QXmlName& other) { +QXmlName* a = new QXmlName(); +*((QXmlName*)a) = other; +return a; } +void delete_QXmlName(QXmlName* obj) { delete obj; } + QXmlName static_QXmlName_fromClarkName(const QString& clarkName, const QXmlNamePool& namePool); + bool static_QXmlName_isNCName(const QString& candidate); + bool isNull(QXmlName* theWrappedObject) const; + QString localName(QXmlName* theWrappedObject, const QXmlNamePool& query) const; + QString namespaceUri(QXmlName* theWrappedObject, const QXmlNamePool& query) const; + bool __ne__(QXmlName* theWrappedObject, const QXmlName& other) const; + bool __eq__(QXmlName* theWrappedObject, const QXmlName& other) const; + QString prefix(QXmlName* theWrappedObject, const QXmlNamePool& query) const; + QString toClarkName(QXmlName* theWrappedObject, const QXmlNamePool& query) const; + bool __nonzero__(QXmlName* obj) { return !obj->isNull(); } +}; + + + + + +class PythonQtWrapper_QXmlNamePool : public QObject +{ Q_OBJECT +public: +public slots: +QXmlNamePool* new_QXmlNamePool(); +QXmlNamePool* new_QXmlNamePool(const QXmlNamePool& other); +void delete_QXmlNamePool(QXmlNamePool* obj) { delete obj; } +}; + + + + + +class PythonQtWrapper_QXmlNodeModelIndex : public QObject +{ Q_OBJECT +public: +Q_ENUMS(NodeKind DocumentOrder ) +enum NodeKind{ + Attribute = QXmlNodeModelIndex::Attribute, Comment = QXmlNodeModelIndex::Comment, Document = QXmlNodeModelIndex::Document, Element = QXmlNodeModelIndex::Element, Namespace = QXmlNodeModelIndex::Namespace, ProcessingInstruction = QXmlNodeModelIndex::ProcessingInstruction, Text = QXmlNodeModelIndex::Text}; +enum DocumentOrder{ + Precedes = QXmlNodeModelIndex::Precedes, Is = QXmlNodeModelIndex::Is, Follows = QXmlNodeModelIndex::Follows}; +public slots: +QXmlNodeModelIndex* new_QXmlNodeModelIndex(); +QXmlNodeModelIndex* new_QXmlNodeModelIndex(const QXmlNodeModelIndex& other); +void delete_QXmlNodeModelIndex(QXmlNodeModelIndex* obj) { delete obj; } + qint64 additionalData(QXmlNodeModelIndex* theWrappedObject) const; + qint64 data(QXmlNodeModelIndex* theWrappedObject) const; + bool isNull(QXmlNodeModelIndex* theWrappedObject) const; + const QAbstractXmlNodeModel* model(QXmlNodeModelIndex* theWrappedObject) const; + bool __ne__(QXmlNodeModelIndex* theWrappedObject, const QXmlNodeModelIndex& other) const; + bool __eq__(QXmlNodeModelIndex* theWrappedObject, const QXmlNodeModelIndex& other) const; + bool __nonzero__(QXmlNodeModelIndex* obj) { return !obj->isNull(); } +}; + + + + + +class PythonQtWrapper_QXmlQuery : public QObject +{ Q_OBJECT +public: +Q_ENUMS(QueryLanguage ) +enum QueryLanguage{ + XQuery10 = QXmlQuery::XQuery10, XSLT20 = QXmlQuery::XSLT20, XmlSchema11IdentityConstraintSelector = QXmlQuery::XmlSchema11IdentityConstraintSelector, XmlSchema11IdentityConstraintField = QXmlQuery::XmlSchema11IdentityConstraintField, XPath20 = QXmlQuery::XPath20}; +public slots: +QXmlQuery* new_QXmlQuery(); +QXmlQuery* new_QXmlQuery(QXmlQuery::QueryLanguage queryLanguage, const QXmlNamePool& np = QXmlNamePool()); +QXmlQuery* new_QXmlQuery(const QXmlNamePool& np); +QXmlQuery* new_QXmlQuery(const QXmlQuery& other); +void delete_QXmlQuery(QXmlQuery* obj) { delete obj; } + void bindVariable(QXmlQuery* theWrappedObject, const QString& localName, QIODevice* arg__2); + void bindVariable(QXmlQuery* theWrappedObject, const QString& localName, const QXmlItem& value); + void bindVariable(QXmlQuery* theWrappedObject, const QString& localName, const QXmlQuery& query); + void bindVariable(QXmlQuery* theWrappedObject, const QXmlName& name, QIODevice* arg__2); + void bindVariable(QXmlQuery* theWrappedObject, const QXmlName& name, const QXmlItem& value); + void bindVariable(QXmlQuery* theWrappedObject, const QXmlName& name, const QXmlQuery& query); + bool evaluateTo(QXmlQuery* theWrappedObject, QIODevice* target) const; + bool evaluateTo(QXmlQuery* theWrappedObject, QString* output) const; + void evaluateTo(QXmlQuery* theWrappedObject, QXmlResultItems* result) const; + QXmlName initialTemplateName(QXmlQuery* theWrappedObject) const; + bool isValid(QXmlQuery* theWrappedObject) const; + QAbstractMessageHandler* messageHandler(QXmlQuery* theWrappedObject) const; + QXmlNamePool namePool(QXmlQuery* theWrappedObject) const; + QNetworkAccessManager* networkAccessManager(QXmlQuery* theWrappedObject) const; + QXmlQuery* operator_assign(QXmlQuery* theWrappedObject, const QXmlQuery& other); + QXmlQuery::QueryLanguage queryLanguage(QXmlQuery* theWrappedObject) const; + bool setFocus(QXmlQuery* theWrappedObject, QIODevice* document); + bool setFocus(QXmlQuery* theWrappedObject, const QString& focus); + bool setFocus(QXmlQuery* theWrappedObject, const QUrl& documentURI); + void setFocus(QXmlQuery* theWrappedObject, const QXmlItem& item); + void setInitialTemplateName(QXmlQuery* theWrappedObject, const QString& name); + void setInitialTemplateName(QXmlQuery* theWrappedObject, const QXmlName& name); + void setMessageHandler(QXmlQuery* theWrappedObject, QAbstractMessageHandler* messageHandler); + void setNetworkAccessManager(QXmlQuery* theWrappedObject, QNetworkAccessManager* newManager); + void setQuery(QXmlQuery* theWrappedObject, QIODevice* sourceCode, const QUrl& documentURI = QUrl()); + void setQuery(QXmlQuery* theWrappedObject, const QString& sourceCode, const QUrl& documentURI = QUrl()); + void setQuery(QXmlQuery* theWrappedObject, const QUrl& queryURI, const QUrl& baseURI = QUrl()); + void setUriResolver(QXmlQuery* theWrappedObject, const QAbstractUriResolver* resolver); + const QAbstractUriResolver* uriResolver(QXmlQuery* theWrappedObject) const; +}; + + + + + +class PythonQtShell_QXmlResultItems : public QXmlResultItems +{ +public: + PythonQtShell_QXmlResultItems():QXmlResultItems(),_wrapper(NULL) {}; + + + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtWrapper_QXmlResultItems : public QObject +{ Q_OBJECT +public: +public slots: +QXmlResultItems* new_QXmlResultItems(); +void delete_QXmlResultItems(QXmlResultItems* obj) { delete obj; } + QXmlItem current(QXmlResultItems* theWrappedObject) const; + bool hasError(QXmlResultItems* theWrappedObject) const; + QXmlItem next(QXmlResultItems* theWrappedObject); +}; + + + + + +class PythonQtWrapper_QXmlSchema : public QObject +{ Q_OBJECT +public: +public slots: +QXmlSchema* new_QXmlSchema(); +QXmlSchema* new_QXmlSchema(const QXmlSchema& other); +void delete_QXmlSchema(QXmlSchema* obj) { delete obj; } + QUrl documentUri(QXmlSchema* theWrappedObject) const; + bool isValid(QXmlSchema* theWrappedObject) const; + bool load(QXmlSchema* theWrappedObject, QIODevice* source, const QUrl& documentUri = QUrl()); + bool load(QXmlSchema* theWrappedObject, const QByteArray& data, const QUrl& documentUri = QUrl()); + bool load(QXmlSchema* theWrappedObject, const QUrl& source); + QAbstractMessageHandler* messageHandler(QXmlSchema* theWrappedObject) const; + QXmlNamePool namePool(QXmlSchema* theWrappedObject) const; + QNetworkAccessManager* networkAccessManager(QXmlSchema* theWrappedObject) const; + void setMessageHandler(QXmlSchema* theWrappedObject, QAbstractMessageHandler* handler); + void setNetworkAccessManager(QXmlSchema* theWrappedObject, QNetworkAccessManager* networkmanager); + void setUriResolver(QXmlSchema* theWrappedObject, const QAbstractUriResolver* resolver); + const QAbstractUriResolver* uriResolver(QXmlSchema* theWrappedObject) const; +}; + + + + + +class PythonQtWrapper_QXmlSchemaValidator : public QObject +{ Q_OBJECT +public: +public slots: +QXmlSchemaValidator* new_QXmlSchemaValidator(); +QXmlSchemaValidator* new_QXmlSchemaValidator(const QXmlSchema& schema); +void delete_QXmlSchemaValidator(QXmlSchemaValidator* obj) { delete obj; } + QAbstractMessageHandler* messageHandler(QXmlSchemaValidator* theWrappedObject) const; + QXmlNamePool namePool(QXmlSchemaValidator* theWrappedObject) const; + QNetworkAccessManager* networkAccessManager(QXmlSchemaValidator* theWrappedObject) const; + QXmlSchema schema(QXmlSchemaValidator* theWrappedObject) const; + void setMessageHandler(QXmlSchemaValidator* theWrappedObject, QAbstractMessageHandler* handler); + void setNetworkAccessManager(QXmlSchemaValidator* theWrappedObject, QNetworkAccessManager* networkmanager); + void setSchema(QXmlSchemaValidator* theWrappedObject, const QXmlSchema& schema); + void setUriResolver(QXmlSchemaValidator* theWrappedObject, const QAbstractUriResolver* resolver); + const QAbstractUriResolver* uriResolver(QXmlSchemaValidator* theWrappedObject) const; + bool validate(QXmlSchemaValidator* theWrappedObject, QIODevice* source, const QUrl& documentUri = QUrl()) const; + bool validate(QXmlSchemaValidator* theWrappedObject, const QByteArray& data, const QUrl& documentUri = QUrl()) const; + bool validate(QXmlSchemaValidator* theWrappedObject, const QUrl& source) const; +}; + + + + + +class PythonQtShell_QXmlSerializer : public QXmlSerializer +{ +public: + PythonQtShell_QXmlSerializer(const QXmlQuery& query, QIODevice* outputDevice):QXmlSerializer(query, outputDevice),_wrapper(NULL) {}; + +virtual void atomicValue(const QVariant& value); +virtual void attribute(const QXmlName& name, const QStringRef& value); +virtual void characters(const QStringRef& value); +virtual void comment(const QString& value); +virtual void endDocument(); +virtual void endElement(); +virtual void endOfSequence(); +virtual void namespaceBinding(const QXmlName& nb); +virtual void processingInstruction(const QXmlName& name, const QString& value); +virtual void startDocument(); +virtual void startElement(const QXmlName& name); +virtual void startOfSequence(); +virtual void whitespaceOnly(const QStringRef& value); + + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtPublicPromoter_QXmlSerializer : public QXmlSerializer +{ public: +inline void promoted_atomicValue(const QVariant& value) { QXmlSerializer::atomicValue(value); } +inline void promoted_attribute(const QXmlName& name, const QStringRef& value) { QXmlSerializer::attribute(name, value); } +inline void promoted_characters(const QStringRef& value) { QXmlSerializer::characters(value); } +inline void promoted_comment(const QString& value) { QXmlSerializer::comment(value); } +inline void promoted_endDocument() { QXmlSerializer::endDocument(); } +inline void promoted_endElement() { QXmlSerializer::endElement(); } +inline void promoted_endOfSequence() { QXmlSerializer::endOfSequence(); } +inline void promoted_namespaceBinding(const QXmlName& nb) { QXmlSerializer::namespaceBinding(nb); } +inline void promoted_processingInstruction(const QXmlName& name, const QString& value) { QXmlSerializer::processingInstruction(name, value); } +inline void promoted_startDocument() { QXmlSerializer::startDocument(); } +inline void promoted_startElement(const QXmlName& name) { QXmlSerializer::startElement(name); } +inline void promoted_startOfSequence() { QXmlSerializer::startOfSequence(); } +}; + +class PythonQtWrapper_QXmlSerializer : public QObject +{ Q_OBJECT +public: +public slots: +QXmlSerializer* new_QXmlSerializer(const QXmlQuery& query, QIODevice* outputDevice); +void delete_QXmlSerializer(QXmlSerializer* obj) { delete obj; } + void atomicValue(QXmlSerializer* theWrappedObject, const QVariant& value); + void attribute(QXmlSerializer* theWrappedObject, const QXmlName& name, const QStringRef& value); + void characters(QXmlSerializer* theWrappedObject, const QStringRef& value); + const QTextCodec* codec(QXmlSerializer* theWrappedObject) const; + void comment(QXmlSerializer* theWrappedObject, const QString& value); + void endDocument(QXmlSerializer* theWrappedObject); + void endElement(QXmlSerializer* theWrappedObject); + void endOfSequence(QXmlSerializer* theWrappedObject); + void namespaceBinding(QXmlSerializer* theWrappedObject, const QXmlName& nb); + QIODevice* outputDevice(QXmlSerializer* theWrappedObject) const; + void processingInstruction(QXmlSerializer* theWrappedObject, const QXmlName& name, const QString& value); + void setCodec(QXmlSerializer* theWrappedObject, const QTextCodec* codec); + void startDocument(QXmlSerializer* theWrappedObject); + void startElement(QXmlSerializer* theWrappedObject, const QXmlName& name); + void startOfSequence(QXmlSerializer* theWrappedObject); +}; + + diff --git a/generated_cpp_47/com_trolltech_qt_xmlpatterns/com_trolltech_qt_xmlpatterns_init.cpp b/generated_cpp_47/com_trolltech_qt_xmlpatterns/com_trolltech_qt_xmlpatterns_init.cpp new file mode 100644 index 00000000..bfb0eb5c --- /dev/null +++ b/generated_cpp_47/com_trolltech_qt_xmlpatterns/com_trolltech_qt_xmlpatterns_init.cpp @@ -0,0 +1,25 @@ +#include +#include "com_trolltech_qt_xmlpatterns0.h" + + +void PythonQt_init_QtXmlPatterns(PyObject* module) { +PythonQt::priv()->registerClass(&QAbstractMessageHandler::staticMetaObject, "QtXmlPatterns", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); +PythonQt::priv()->registerClass(&QAbstractUriResolver::staticMetaObject, "QtXmlPatterns", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); +PythonQt::priv()->registerCPPClass("QAbstractXmlNodeModel", "", "QtXmlPatterns", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); +PythonQt::priv()->registerCPPClass("QAbstractXmlReceiver", "", "QtXmlPatterns", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); +PythonQt::priv()->registerCPPClass("QPatternist", "", "QtXmlPatterns", PythonQtCreateObject, NULL, module, 0); +PythonQt::priv()->registerCPPClass("QPatternistSDK", "", "QtXmlPatterns", PythonQtCreateObject, NULL, module, 0); +PythonQt::priv()->registerCPPClass("QSimpleXmlNodeModel", "QAbstractXmlNodeModel", "QtXmlPatterns", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); +PythonQt::priv()->registerCPPClass("QSourceLocation", "", "QtXmlPatterns", PythonQtCreateObject, NULL, module, PythonQt::Type_NonZero|PythonQt::Type_RichCompare); +PythonQt::priv()->registerCPPClass("QXmlFormatter", "QXmlSerializer", "QtXmlPatterns", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); +PythonQt::priv()->registerCPPClass("QXmlItem", "", "QtXmlPatterns", PythonQtCreateObject, NULL, module, PythonQt::Type_NonZero); +PythonQt::priv()->registerCPPClass("QXmlName", "", "QtXmlPatterns", PythonQtCreateObject, NULL, module, PythonQt::Type_NonZero|PythonQt::Type_RichCompare); +PythonQt::priv()->registerCPPClass("QXmlNamePool", "", "QtXmlPatterns", PythonQtCreateObject, NULL, module, 0); +PythonQt::priv()->registerCPPClass("QXmlNodeModelIndex", "", "QtXmlPatterns", PythonQtCreateObject, NULL, module, PythonQt::Type_NonZero|PythonQt::Type_RichCompare); +PythonQt::priv()->registerCPPClass("QXmlQuery", "", "QtXmlPatterns", PythonQtCreateObject, NULL, module, 0); +PythonQt::priv()->registerCPPClass("QXmlResultItems", "", "QtXmlPatterns", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); +PythonQt::priv()->registerCPPClass("QXmlSchema", "", "QtXmlPatterns", PythonQtCreateObject, NULL, module, 0); +PythonQt::priv()->registerCPPClass("QXmlSchemaValidator", "", "QtXmlPatterns", PythonQtCreateObject, NULL, module, 0); +PythonQt::priv()->registerCPPClass("QXmlSerializer", "QAbstractXmlReceiver", "QtXmlPatterns", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); + +} From c65966fa911a72587a876b51c4fd860a2cff8747 Mon Sep 17 00:00:00 2001 From: John Stark Date: Mon, 9 Jul 2012 19:36:46 -0400 Subject: [PATCH 05/18] Fix VS2010 compilation issue when PythonQt Debug build against python Release * Copied most of the contents of vtkPython.h to dPython.h --- src/PythonQtPythonInclude.h | 54 ++++++++++++++++++++++++++++++++----- 1 file changed, 47 insertions(+), 7 deletions(-) diff --git a/src/PythonQtPythonInclude.h b/src/PythonQtPythonInclude.h index 6f3b5d85..0dfb3618 100644 --- a/src/PythonQtPythonInclude.h +++ b/src/PythonQtPythonInclude.h @@ -30,6 +30,15 @@ * */ +//---------------------------------------------------------------------------------- +/*! +// \file dPython.h - This file was copied from VTK and was originally named vtkPython.h +// \author David Gobbi +// \author Last changed by $Author: jcfr $ +// \date 2012 +*/ +//---------------------------------------------------------------------------------- + #ifndef __PythonQtPythonInclude_h #define __PythonQtPythonInclude_h @@ -38,18 +47,49 @@ #undef _POSIX_THREADS #undef _XOPEN_SOURCE +// +// Use the real python debugging library if it is provided. +// Otherwise use the "documented" trick involving checking for _DEBUG +// and undefined that symbol while we include Python headers. +// Update: this method does not fool Microsoft Visual C++ 8 anymore; two +// of its header files (crtdefs.h and use_ansi.h) check if _DEBUG was set +// or not, and set flags accordingly (_CRT_MANIFEST_RETAIL, +// _CRT_MANIFEST_DEBUG, _CRT_MANIFEST_INCONSISTENT). The next time the +// check is performed in the same compilation unit, and the flags are found, +// and error is triggered. Let's prevent that by setting _CRT_NOFORCE_MANIFEST. +// + // If PYTHONQT_USE_RELEASE_PYTHON_FALLBACK is enabled, try to link // release Python DLL if it is available by undefining _DEBUG while // including Python.h #if defined(PYTHONQT_USE_RELEASE_PYTHON_FALLBACK) && defined(_DEBUG) -#undef _DEBUG -#if defined(_MSC_VER) && _MSC_VER >= 1400 -#define _CRT_NOFORCE_MANIFEST 1 -#endif -#include -#define _DEBUG +# undef _DEBUG +// Include these low level headers before undefing _DEBUG. Otherwise when doing +// a debug build against a release build of python the compiler will end up +// including these low level headers without DEBUG enabled, causing it to try +// and link release versions of this low level C api. +# include +# include +# include +# include +# include +# include +# include +# include +# include +# include +# include +# include +# include +# include +# include +# if defined(_MSC_VER) && _MSC_VER >= 1400 +# define _CRT_NOFORCE_MANIFEST 1 +# endif +# include +# define _DEBUG #else -#include +# include #endif #endif From 81a2cfcdd29e3dd18f4d8fafce357407bdc54962 Mon Sep 17 00:00:00 2001 From: Jean-Christophe Fillion-Robin Date: Tue, 10 Jul 2012 18:24:51 -0400 Subject: [PATCH 06/18] Add README file specific to CTK github fork --- README.md | 109 ++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 109 insertions(+) create mode 100644 README.md diff --git a/README.md b/README.md new file mode 100644 index 00000000..adb8fe90 --- /dev/null +++ b/README.md @@ -0,0 +1,109 @@ +PythonQt +======== + +Overview +-------- + +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. + +This project is a fork of the [official PythonQt](http://pythonqt.sourceforge.net/) repository +hosted on sourceforge. + +It serves as *staging area* to contain patches that will then be contributed back to the +official repository. + +Prerequisites +------------- + +* CMake 2.8.x +* Qt 4.6.2 or above + +Build instructions +------------------ + +By default, the `patched-2` version will be checked out. + +``` +git clone git://github.com/commontk/PythonQt.git +mkdir PythonQt-build +cd PythonQt-build +cmake -DQT_QMAKE_EXECUTABLE:FILEPATH=/path/to/qmake ../PythonQt +make +``` + +Additional configure options are: + +* `CMAKE_BUILD_TYPE`: Debug, Release, RelWithDebInfo or MinSizeRel +* `PythonQt_DEBUG`: Enable/Disable PythonQt debug output +* `PythonQt_Wrap_Qt`: Build PythonQt wrapper associated with ``. Possible `` are `gui`, `network`, `opengl`, `sql`, `uitools`, `webkit`, `xml`, `xmlpatterns`. + +Available branches +------------------ + +This repository contains three branches: + +### patched-2 + +* Based on [r228](http://pythonqt.svn.sourceforge.net/viewvc/pythonqt?view=revision&revision=228) +* List of features: + * At configuration time, detect the Qt version used and seamlessly compile the appropriate wrappers (Qt 4.8, 4.7 or 4.6). + * Add method allowing to know if a python error occurred: [5935f29](https://github.com/commontk/PythonQt/commit/5935f29978deed892a13ddef02cb14c205c6124d) + * Fix compilation issue on VS2010 when PythonQt Debug build against python Release: [7e1e07f](https://github.com/commontk/PythonQt/commit/7e1e07f34b2420e420e2858e5ea9a49fe1e0d235) +* Backported: + * Most of the [change specific to](https://github.com/commontk/PythonQt/compare/svn-mirror...patched) `patched` branch have been backported upstream: [r200](http://pythonqt.svn.sourceforge.net/viewvc/pythonqt?view=revision&revision=200), [r201](http://pythonqt.svn.sourceforge.net/viewvc/pythonqt?view=revision&revision=201), [r202](http://pythonqt.svn.sourceforge.net/viewvc/pythonqt?view=revision&revision=202), [r203](http://pythonqt.svn.sourceforge.net/viewvc/pythonqt?view=revision&revision=203), [r204](http://pythonqt.svn.sourceforge.net/viewvc/pythonqt?view=revision&revision=204) + * CMake option `PYTHONQT_USE_VTK` has been removed ([r205](http://pythonqt.svn.sourceforge.net/viewvc/pythonqt?view=revision&revision=205)), the foreign wrapper mechanism should be used: [r206](http://pythonqt.svn.sourceforge.net/viewvc/pythonqt?view=revision&revision=206) + +### patched + +* Based on [r193](http://pythonqt.svn.sourceforge.net/viewvc/pythonqt?view=revision&revision=193) +* List of features: + * CMake'ified PythonQt project + * CMake'ified PythonQt/generator project + * Add `dPython.h` file, it provides the ability to link against release python with a debug build of your project. + * Option `PYTHONQT_USE_VTK` CMake option allowing to teach PythonQt how to deal with `vtkObject` + * Stdin can optionally be redirected to a custom callback + * [More details](https://github.com/commontk/PythonQt/compare/svn-mirror...patched) + +### svn-mirror + +* SVN history imported using `git-svn` + +Contributing +------------ + +Once you've made your great commits: + +1. [Fork][fk] PythonQt +2. Create a topic branch - `git checkout -b my_branch` +3. Push to your branch - `git push origin my_branch` +4. Create an [Issue][is] with a link to your branch +5. That's it! + + +Meta +---- + +* Code: `git clone git://github.com/commontk/PythonQt.git` +* Home: +* Bugs: + +License +------- + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. + +[fk]: http://help.github.com/forking/ +[is]: http://github.com/jcfr/qJobManager/issues + From 97df3b0845b3f5c987d3141a9e651436882f5913 Mon Sep 17 00:00:00 2001 From: Jean-Christophe Fillion-Robin Date: Tue, 10 Jul 2012 18:46:09 -0400 Subject: [PATCH 07/18] Add PythonQt_Wrap_QtAll build option Currently xmlpattern wrappers are not built even if PythonQt_Wrap_QtAll is set to ON. Indeed, the wrappers failed to build on any of the supported Qt version. --- CMakeLists.txt | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 27eb0553..932024de 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -14,10 +14,21 @@ add_definitions(-DPYTHONQT_USE_RELEASE_PYTHON_FALLBACK) #----------------------------------------------------------------------------- # Build options -foreach(qtlib core gui network opengl sql svg uitools webkit xml xmlpatterns) +option(PythonQt_Wrap_QtAll "Make all Qt components available in python" OFF) + +set(qtlibs core gui network opengl sql svg uitools webkit xml xmlpatterns) +foreach(qtlib ${qtlibs}) OPTION(PythonQt_Wrap_Qt${qtlib} "Make all of Qt${qtlib} available in python" OFF) endforeach() +# Force option if it applies +if(PythonQt_Wrap_QtAll) + list(REMOVE_ITEM qtlibs xmlpatterns) # xmlpatterns wrapper does *NOT* build at all :( + foreach(qtlib ${qtlibs}) + set(PythonQt_Wrap_Qt${qtlib} ON CACHE BOOL "Make all of Qt${qtlib} available in python" FORCE) + endforeach() +endif() + option(PythonQt_DEBUG "Enable/Disable PythonQt debug output" OFF) if(PythonQt_DEBUG) add_definitions(-DPYTHONQT_DEBUG) From 654f3249d1cf3f3ff674b2ff6cca7a2ef3517f60 Mon Sep 17 00:00:00 2001 From: Steve Pieper Date: Thu, 12 Jul 2012 16:15:40 -0400 Subject: [PATCH 08/18] Fix for numerical range of generated wrappers associated with Qt 4.8 The numerical range should probably be detected automatically. --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 932024de..e356304e 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -158,7 +158,7 @@ foreach(qtlib core gui network opengl sql svg uitools webkit xml xmlpatterns) set(file_prefix generated_cpp${generated_cpp_suffix}/com_trolltech_qt_${qtlib}/com_trolltech_qt_${qtlib}) - foreach(index RANGE 0 10) + foreach(index RANGE 0 11) # Source files if(EXISTS ${CMAKE_CURRENT_SOURCE_DIR}/${file_prefix}${index}.cpp) From 7b8ee13058bc0b366983ce8228612e75f8dd9ca8 Mon Sep 17 00:00:00 2001 From: Steve Pieper Date: Thu, 12 Jul 2012 16:11:06 -0400 Subject: [PATCH 09/18] Fix mac build error with C standard lib macros This fix errors of that sort: moc_PythonQtStdDecorators.cxx:152:25: error: expected unqualified-id case 4: _t->emit((*reinterpret_cast< QObject*(*)>(_a[1])),(*reinterpret_cast< const --- src/PythonQtInstanceWrapper.h | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/src/PythonQtInstanceWrapper.h b/src/PythonQtInstanceWrapper.h index 761c8448..7b06e7c6 100644 --- a/src/PythonQtInstanceWrapper.h +++ b/src/PythonQtInstanceWrapper.h @@ -45,6 +45,29 @@ #include "PythonQtPythonInclude.h" #include "PythonQtSystem.h" + +/* + * The following undefs for C standard library macros prevent + * build errors of the following type on mac ox 10.7.4 and XCode 4.3.3 + * +/usr/include/c++/4.2.1/bits/localefwd.h:57:21: error: too many arguments provided to function-like macro invocation + isspace(_CharT, const locale&); + ^ +/usr/include/c++/4.2.1/bits/localefwd.h:56:5: error: 'inline' can only appear on functions + inline bool + ^ +/usr/include/c++/4.2.1/bits/localefwd.h:57:5: error: variable 'isspace' declared as a template + isspace(_CharT, const locale&); + ^ +*/ +#undef isspace +#undef isupper +#undef islower +#undef isalpha +#undef isalnum +#undef toupper +#undef tolower + #include #include "structmember.h" From 9104fa924859f4a865016f2138c06ec856f449d4 Mon Sep 17 00:00:00 2001 From: Jean-Christophe Fillion-Robin Date: Thu, 12 Jul 2012 17:19:45 -0400 Subject: [PATCH 10/18] Display message when wrap option is forced to True because of PythonQt_Wrap_QtAll --- CMakeLists.txt | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index e356304e..633cd9ec 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -25,7 +25,10 @@ endforeach() if(PythonQt_Wrap_QtAll) list(REMOVE_ITEM qtlibs xmlpatterns) # xmlpatterns wrapper does *NOT* build at all :( foreach(qtlib ${qtlibs}) - set(PythonQt_Wrap_Qt${qtlib} ON CACHE BOOL "Make all of Qt${qtlib} available in python" FORCE) + if(NOT ${PythonQt_Wrap_Qt${qtlib}}) + set(PythonQt_Wrap_Qt${qtlib} ON CACHE BOOL "Make all of Qt${qtlib} available in python" FORCE) + message(STATUS "Enabling [PythonQt_Wrap_Qt${qtlib}] because of [PythonQt_Wrap_QtAll] evaluates to True") + endif() endforeach() endif() From 47738f9c8c5d3ffa77c8f2e1844f899e5b548f0c Mon Sep 17 00:00:00 2001 From: Jean-Christophe Fillion-Robin Date: Thu, 12 Jul 2012 18:28:12 -0400 Subject: [PATCH 11/18] Add fix for mac build error related C standard lib macros to main header By updating PythonQtPythonIncludes.h which is included in all PythonQt headers, it is ensured the fix will be applied consistently. --- src/PythonQtInstanceWrapper.h | 22 ---------------------- src/PythonQtPythonInclude.h | 23 +++++++++++++++++++++++ 2 files changed, 23 insertions(+), 22 deletions(-) diff --git a/src/PythonQtInstanceWrapper.h b/src/PythonQtInstanceWrapper.h index 7b06e7c6..f71f6a04 100644 --- a/src/PythonQtInstanceWrapper.h +++ b/src/PythonQtInstanceWrapper.h @@ -46,28 +46,6 @@ #include "PythonQtSystem.h" -/* - * The following undefs for C standard library macros prevent - * build errors of the following type on mac ox 10.7.4 and XCode 4.3.3 - * -/usr/include/c++/4.2.1/bits/localefwd.h:57:21: error: too many arguments provided to function-like macro invocation - isspace(_CharT, const locale&); - ^ -/usr/include/c++/4.2.1/bits/localefwd.h:56:5: error: 'inline' can only appear on functions - inline bool - ^ -/usr/include/c++/4.2.1/bits/localefwd.h:57:5: error: variable 'isspace' declared as a template - isspace(_CharT, const locale&); - ^ -*/ -#undef isspace -#undef isupper -#undef islower -#undef isalpha -#undef isalnum -#undef toupper -#undef tolower - #include #include "structmember.h" diff --git a/src/PythonQtPythonInclude.h b/src/PythonQtPythonInclude.h index 0dfb3618..b04443cb 100644 --- a/src/PythonQtPythonInclude.h +++ b/src/PythonQtPythonInclude.h @@ -92,4 +92,27 @@ # include #endif +/* + * The following undefs for C standard library macros prevent + * build errors of the following type on mac ox 10.7.4 and XCode 4.3.3 + * +/usr/include/c++/4.2.1/bits/localefwd.h:57:21: error: too many arguments provided to function-like macro invocation + isspace(_CharT, const locale&); + ^ +/usr/include/c++/4.2.1/bits/localefwd.h:56:5: error: 'inline' can only appear on functions + inline bool + ^ +/usr/include/c++/4.2.1/bits/localefwd.h:57:5: error: variable 'isspace' declared as a template + isspace(_CharT, const locale&); + ^ +*/ +#undef isspace +#undef isupper +#undef islower +#undef isalpha +#undef isalnum +#undef toupper +#undef tolower + #endif + From 6366f002a93aa238c55f58de949d09c552cda5a9 Mon Sep 17 00:00:00 2001 From: Jean-Christophe Fillion-Robin Date: Wed, 18 Jul 2012 17:10:06 -0400 Subject: [PATCH 12/18] Fix windows build issue when PythonQt Debug build against python Release Seems "_STL_NOFORCE_MANIFEST" is now used instead of "_CRT_NOFORCE_MANIFEST" --- src/PythonQtPythonInclude.h | 1 + 1 file changed, 1 insertion(+) diff --git a/src/PythonQtPythonInclude.h b/src/PythonQtPythonInclude.h index b04443cb..1c5d7b05 100644 --- a/src/PythonQtPythonInclude.h +++ b/src/PythonQtPythonInclude.h @@ -85,6 +85,7 @@ # include # if defined(_MSC_VER) && _MSC_VER >= 1400 # define _CRT_NOFORCE_MANIFEST 1 +# define _STL_NOFORCE_MANIFEST 1 # endif # include # define _DEBUG From 2114405a47836b3fb16a3f66fec6a02184f32e71 Mon Sep 17 00:00:00 2001 From: Jean-Christophe Fillion-Robin Date: Thu, 4 Oct 2012 16:29:21 -0400 Subject: [PATCH 13/18] COMP: Optionally include CTestUseLaunchers Doing so will allow error/warning to be properly reported in a Superbuild context when doing parallel build with CTEST_USE_LAUNCHERS enabled. --- CMakeLists.txt | 2 ++ generator/CMakeLists.txt | 2 ++ 2 files changed, 4 insertions(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index 633cd9ec..4976d40a 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -4,6 +4,8 @@ cmake_minimum_required(VERSION 2.8) project(PythonQt) #----------------------------------------------------------------------------- +include(CTestUseLaunchers OPTIONAL) + #----------------------------------------------------------------------------- # Python libraries diff --git a/generator/CMakeLists.txt b/generator/CMakeLists.txt index 4f495bc4..1d659dd8 100644 --- a/generator/CMakeLists.txt +++ b/generator/CMakeLists.txt @@ -4,6 +4,8 @@ cmake_minimum_required(VERSION 2.8) project(PythonQtGenerator) #----------------------------------------------------------------------------- +include(CTestUseLaunchers OPTIONAL) + #----------------------------------------------------------------------------- # Setup Qt From a386dc60f71c15e67c611bc31b26cee756ed833a Mon Sep 17 00:00:00 2001 From: Jean-Christophe Fillion-Robin Date: Wed, 17 Oct 2012 17:28:34 -0400 Subject: [PATCH 14/18] Add method resetErrorFlag This method should be called before any piece of code where handleError is called in case of error. It will ensure the _ErrorOccured is reset to false. --- src/PythonQt.cpp | 16 +++++++++++++++- src/PythonQt.h | 4 ++++ 2 files changed, 19 insertions(+), 1 deletion(-) diff --git a/src/PythonQt.cpp b/src/PythonQt.cpp index 7bb87d3a..a01e7746 100644 --- a/src/PythonQt.cpp +++ b/src/PythonQt.cpp @@ -675,6 +675,7 @@ PythonQtObjectPtr PythonQt::importModule(const QString& name) QVariant PythonQt::evalCode(PyObject* object, PyObject* pycode) { QVariant result; + this->resetErrorFlag(); if (pycode) { PyObject* dict = NULL; if (PyModule_Check(object)) { @@ -703,6 +704,7 @@ QVariant PythonQt::evalScript(PyObject* object, const QString& script, int start QVariant result; PythonQtObjectPtr p; PyObject* dict = NULL; + this->resetErrorFlag(); if (PyModule_Check(object)) { dict = PyModule_GetDict(object); } else if (PyDict_Check(object)) { @@ -722,6 +724,7 @@ QVariant PythonQt::evalScript(PyObject* object, const QString& script, int start void PythonQt::evalFile(PyObject* module, const QString& filename) { PythonQtObjectPtr code = parseFile(filename); + this->resetErrorFlag(); if (code) { evalCode(module, code); } else { @@ -733,6 +736,7 @@ PythonQtObjectPtr PythonQt::parseFile(const QString& filename) { PythonQtObjectPtr p; p.setNewRef(PythonQtImport::getCodeFromPyc(filename)); + this->resetErrorFlag(); if (!p) { handleError(); } @@ -1022,6 +1026,7 @@ QVariant PythonQt::call(PyObject* callable, const QVariantList& args) QVariant r; PythonQtObjectPtr result; result.setNewRef(callAndReturnPyObject(callable, args)); + this->resetErrorFlag(); if (result) { r = PythonQtConv::PyObjToQVariant(result); } else { @@ -1243,6 +1248,14 @@ bool PythonQt::errorOccured()const return PythonQt::priv()->_ErrorOccured; } +void PythonQt::resetErrorFlag() +{ + if (PythonQt::self()) + { + PythonQt::priv()->_ErrorOccured = false; + } +} + void PythonQt::addSysPath(const QString& path) { PythonQtObjectPtr sys; @@ -1568,6 +1581,7 @@ PythonQtInstanceWrapper* PythonQtPrivate::findWrapperAndRemoveUnused(void* obj) PythonQtObjectPtr PythonQtPrivate::createModule(const QString& name, PyObject* pycode) { PythonQtObjectPtr result; + PythonQt::self()->resetErrorFlag(); if (pycode) { result.setNewRef(PyImport_ExecCodeModule((char*)name.toLatin1().data(), pycode)); } else { @@ -1747,4 +1761,4 @@ void PythonQtPrivate::shellClassDeleted( void* shellClass ) // if the wrapper is a QObject, we do not handle this here, // it will be handled by the QPointer<> to the QObject, which becomes NULL // via the QObject destructor. -} \ No newline at end of file +} diff --git a/src/PythonQt.h b/src/PythonQt.h index 4134fb64..b5f6bc48 100644 --- a/src/PythonQt.h +++ b/src/PythonQt.h @@ -484,6 +484,10 @@ class PYTHONQT_EXPORT PythonQt : public QObject { //! return \a True if \a handleError() has been called and an error occured. bool errorOccured()const; + //! reset error flag. After calling this, errorOccured() will return False. + //! \sa PythonQt::errorOccured() + void resetErrorFlag(); + //! set a callback that is called when a QObject with parent == NULL is wrapped by pythonqt void setQObjectWrappedCallback(PythonQtQObjectWrappedCB* cb); //! set a callback that is called when a QObject with parent == NULL is no longer wrapped by pythonqt From 3c84463d3fc4a99c94207c1116ba33d7a412a95f Mon Sep 17 00:00:00 2001 From: Jean-Christophe Fillion-Robin Date: Thu, 8 Nov 2012 17:28:47 -0500 Subject: [PATCH 15/18] Add SystemExit exception handler If enabled, the signal "systemExitExceptionRaised" will be emitted. It gives application the opportunity to cleanup and terminate nicely. --- src/PythonQt.cpp | 114 ++++++++++++++++++++++++++++++++++++++++------- src/PythonQt.h | 15 +++++++ 2 files changed, 114 insertions(+), 15 deletions(-) diff --git a/src/PythonQt.cpp b/src/PythonQt.cpp index a01e7746..1ecdff75 100644 --- a/src/PythonQt.cpp +++ b/src/PythonQt.cpp @@ -1121,6 +1121,7 @@ PythonQtPrivate::PythonQtPrivate() _currentClassInfoForClassWrapperCreation = NULL; _profilingCB = NULL; _ErrorOccured = false; + _SystemExitExceptionHandlerEnabled = false; } void PythonQtPrivate::setupSharedLibrarySuffixes() @@ -1217,26 +1218,93 @@ void PythonQtPrivate::removeSignalEmitter(QObject* obj) _signalReceivers.remove(obj); } +namespace +{ +//! adapted from python source file "pythonrun.c", function "handle_system_exit" +//! return the exitcode instead of calling "Py_Exit". +//! it gives the application an opportunity to properly terminate. +int custom_system_exit_exception_handler() +{ + PyObject *exception, *value, *tb; + int exitcode = 0; + +// if (Py_InspectFlag) +// /* Don't exit if -i flag was given. This flag is set to 0 +// * when entering interactive mode for inspecting. */ +// return exitcode; + + PyErr_Fetch(&exception, &value, &tb); + if (Py_FlushLine()) + PyErr_Clear(); + fflush(stdout); + if (value == NULL || value == Py_None) + goto done; + if (PyExceptionInstance_Check(value)) { + /* The error code should be in the `code' attribute. */ + PyObject *code = PyObject_GetAttrString(value, "code"); + if (code) { + Py_DECREF(value); + value = code; + if (value == Py_None) + goto done; + } + /* If we failed to dig out the 'code' attribute, + just let the else clause below print the error. */ + } + if (PyInt_Check(value)) + exitcode = (int)PyInt_AsLong(value); + else { + PyObject *sys_stderr = PySys_GetObject(const_cast("stderr")); + if (sys_stderr != NULL && sys_stderr != Py_None) { + PyFile_WriteObject(value, sys_stderr, Py_PRINT_RAW); + } else { + PyObject_Print(value, stderr, Py_PRINT_RAW); + fflush(stderr); + } + PySys_WriteStderr("\n"); + exitcode = 1; + } + done: + /* Restore and clear the exception info, in order to properly decref + * the exception, value, and traceback. If we just exit instead, + * these leak, which confuses PYTHONDUMPREFS output, and may prevent + * some finalizers from running. + */ + PyErr_Restore(exception, value, tb); + PyErr_Clear(); + return exitcode; + //Py_Exit(exitcode); +} +} + bool PythonQt::handleError() { bool flag = false; if (PyErr_Occurred()) { - // currently we just print the error and the stderr handler parses the errors - PyErr_Print(); - - /* - // EXTRA: the format of the ptype and ptraceback is not really documented, so I use PyErr_Print() above - PyObject *ptype; - PyObject *pvalue; - PyObject *ptraceback; - PyErr_Fetch( &ptype, &pvalue, &ptraceback); - - Py_XDECREF(ptype); - Py_XDECREF(pvalue); - Py_XDECREF(ptraceback); - */ - PyErr_Clear(); + if (PythonQt::priv()->_SystemExitExceptionHandlerEnabled && + PyErr_ExceptionMatches(PyExc_SystemExit)) { + int exitcode = custom_system_exit_exception_handler(); + emit PythonQt::self()->systemExitExceptionRaised(exitcode); + } + else + { + // currently we just print the error and the stderr handler parses the errors + PyErr_Print(); + + /* + // EXTRA: the format of the ptype and ptraceback is not really documented, so I use PyErr_Print() above + PyObject *ptype; + PyObject *pvalue; + PyObject *ptraceback; + PyErr_Fetch( &ptype, &pvalue, &ptraceback); + + Py_XDECREF(ptype); + Py_XDECREF(pvalue); + Py_XDECREF(ptraceback); + */ + PyErr_Clear(); + } flag = true; } PythonQt::priv()->_ErrorOccured = flag; @@ -1256,6 +1324,22 @@ void PythonQt::resetErrorFlag() } } +void PythonQt::setSystemExitExceptionHandlerEnabled(bool value) +{ + if (PythonQt::self()) + { + PythonQt::priv()->_SystemExitExceptionHandlerEnabled = value; + } +} + +bool PythonQt::systemExitExceptionHandlerEnabled()const +{ + if (PythonQt::self()) + { + return PythonQt::priv()->_SystemExitExceptionHandlerEnabled; + } +} + void PythonQt::addSysPath(const QString& path) { PythonQtObjectPtr sys; diff --git a/src/PythonQt.h b/src/PythonQt.h index b5f6bc48..43a317f6 100644 --- a/src/PythonQt.h +++ b/src/PythonQt.h @@ -488,6 +488,15 @@ class PYTHONQT_EXPORT PythonQt : public QObject { //! \sa PythonQt::errorOccured() void resetErrorFlag(); + //! if set to True, signal will be emitted if exception SystemExit is caught + //! \sa PythonQt::handleError(), PythonQt:: + void setSystemExitExceptionHandlerEnabled(bool value); + + //! return \a True if SystemExit exception is handled by PythonQt + //! \sa setSystemExitExceptionHandlerEnabled() + bool systemExitExceptionHandlerEnabled()const; + + //! set a callback that is called when a QObject with parent == NULL is wrapped by pythonqt void setQObjectWrappedCallback(PythonQtQObjectWrappedCB* cb); //! set a callback that is called when a QObject with parent == NULL is no longer wrapped by pythonqt @@ -517,6 +526,11 @@ class PYTHONQT_EXPORT PythonQt : public QObject { //! emitted when help() is called on a PythonQt object and \c ExternalHelp is enabled void pythonHelpRequest(const QByteArray& cppClassName); + //! emitted when both custom SystemExit exception handler is enabled and a SystemExit + //! exception is raised. + //! \sa setSystemExitExceptionHandlerEnabled(bool) + void systemExitExceptionRaised(int exitCode); + private: void initPythonQtModule(bool redirectStdOut, const QByteArray& pythonQtModuleName); @@ -716,6 +730,7 @@ class PYTHONQT_EXPORT PythonQtPrivate : public QObject { int _PythonQtObjectPtr_metaId; bool _ErrorOccured; + bool _SystemExitExceptionHandlerEnabled; friend class PythonQt; }; From 7132dba93064c2a02591b42305fecdd5d59702d3 Mon Sep 17 00:00:00 2001 From: Jean-Christophe Fillion-Robin Date: Thu, 8 Nov 2012 17:29:24 -0500 Subject: [PATCH 16/18] Add "isatty" function to StdOutRedirect. Needed by some logging framework --- src/PythonQtStdOut.cpp | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/src/PythonQtStdOut.cpp b/src/PythonQtStdOut.cpp index 8bdcff09..0b0098aa 100644 --- a/src/PythonQtStdOut.cpp +++ b/src/PythonQtStdOut.cpp @@ -91,7 +91,11 @@ static PyObject *PythonQtStdOutRedirect_flush(PyObject * /*self*/, PyObject * /* return Py_BuildValue(""); } - +static PyObject *PythonQtStdOutRedirect_isatty(PyObject * /*self*/, PyObject * /*args*/) +{ + long res = 0; + return PyBool_FromLong(res); +} static PyMethodDef PythonQtStdOutRedirect_methods[] = { {"write", (PyCFunction)PythonQtStdOutRedirect_write, METH_VARARGS, @@ -99,6 +103,9 @@ static PyMethodDef PythonQtStdOutRedirect_methods[] = { {"flush", (PyCFunction)PythonQtStdOutRedirect_flush, METH_VARARGS, "flush the output, currently not implemented but needed for logging framework" }, + {"isatty", (PyCFunction)PythonQtStdOutRedirect_isatty, METH_NOARGS, + "return False since this object is not a tty-like device. Needed for logging framework" + }, {NULL, NULL, 0 , NULL} /* sentinel */ }; From 26f338be03d93af931307bee29d03df3b6007f0a Mon Sep 17 00:00:00 2001 From: Jean-Christophe Fillion-Robin Date: Wed, 9 Jan 2013 17:33:22 -0500 Subject: [PATCH 17/18] Update list of features associated with patched-2 branch --- README.md | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/README.md b/README.md index adb8fe90..5416af0e 100644 --- a/README.md +++ b/README.md @@ -50,7 +50,15 @@ This repository contains three branches: * List of features: * At configuration time, detect the Qt version used and seamlessly compile the appropriate wrappers (Qt 4.8, 4.7 or 4.6). * Add method allowing to know if a python error occurred: [5935f29](https://github.com/commontk/PythonQt/commit/5935f29978deed892a13ddef02cb14c205c6124d) + * Also add associated method "resetErrorFlag": [a386dc60](https://github.com/commontk/PythonQt/commit/a386dc60f71c15e67c611bc31b26cee756ed833a) * Fix compilation issue on VS2010 when PythonQt Debug build against python Release: [7e1e07f](https://github.com/commontk/PythonQt/commit/7e1e07f34b2420e420e2858e5ea9a49fe1e0d235) + * Add option Add PythonQt_Wrap_QtAll: [97df3b0](https://github.com/commontk/PythonQt/commit/97df3b0845b3f5c987d3141a9e651436882f5913) and [9104fa9](https://github.com/commontk/PythonQt/commit/9104fa924859f4a865016f2138c06ec856f449d4) + * Ensure all 4.8 generated wrappers are considered: [654f324](https://github.com/commontk/PythonQt/commit/654f3249d1cf3f3ff674b2ff6cca7a2ef3517f60) + * Update "PythonQtPythonInclude.h" to avoid build error on recent MacOSX: [7b8ee130](https://github.com/commontk/PythonQt/commit/7b8ee13058bc0b366983ce8228612e75f8dd9ca8) and [47738f9c](https://github.com/commontk/PythonQt/commit/47738f9c8c5d3ffa77c8f2e1844f899e5b548f0c) + * Update "PythonQtPythonInclude.h" to fix windows build issue when PythonQt Debug build against python Release[6366f00](https://github.com/commontk/PythonQt/commit/6366f002a93aa238c55f58de949d09c552cda5a9) + * Optionally include CTestUseLaunchers: [211440](https://github.com/commontk/PythonQt/commit/2114405a47836b3fb16a3f66fec6a02184f32e71) + * Add SystemExit exception handler. If enabled, the signal "systemExitExceptionRaised" will be emitted. It gives application the opportunity to cleanup and terminate nicely: [3c84463d](https://github.com/commontk/PythonQt/commit/3c84463d3fc4a99c94207c1116ba33d7a412a95f) + * Add "isatty" function to StdOutRedirect. Needed by some logging frame: [7132dba9](https://github.com/commontk/PythonQt/commit/7132dba93064c2a02591b42305fecdd5d59702d3) * Backported: * Most of the [change specific to](https://github.com/commontk/PythonQt/compare/svn-mirror...patched) `patched` branch have been backported upstream: [r200](http://pythonqt.svn.sourceforge.net/viewvc/pythonqt?view=revision&revision=200), [r201](http://pythonqt.svn.sourceforge.net/viewvc/pythonqt?view=revision&revision=201), [r202](http://pythonqt.svn.sourceforge.net/viewvc/pythonqt?view=revision&revision=202), [r203](http://pythonqt.svn.sourceforge.net/viewvc/pythonqt?view=revision&revision=203), [r204](http://pythonqt.svn.sourceforge.net/viewvc/pythonqt?view=revision&revision=204) * CMake option `PYTHONQT_USE_VTK` has been removed ([r205](http://pythonqt.svn.sourceforge.net/viewvc/pythonqt?view=revision&revision=205)), the foreign wrapper mechanism should be used: [r206](http://pythonqt.svn.sourceforge.net/viewvc/pythonqt?view=revision&revision=206) From 51491d7362d4f73afd61595a4ce4f27309819777 Mon Sep 17 00:00:00 2001 From: Jean-Christophe Fillion-Robin Date: Mon, 7 Aug 2017 23:54:38 -0400 Subject: [PATCH 18/18] Remove README.md now available on welcome branch --- README.md | 117 ------------------------------------------------------ 1 file changed, 117 deletions(-) delete mode 100644 README.md diff --git a/README.md b/README.md deleted file mode 100644 index 5416af0e..00000000 --- a/README.md +++ /dev/null @@ -1,117 +0,0 @@ -PythonQt -======== - -Overview --------- - -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. - -This project is a fork of the [official PythonQt](http://pythonqt.sourceforge.net/) repository -hosted on sourceforge. - -It serves as *staging area* to contain patches that will then be contributed back to the -official repository. - -Prerequisites -------------- - -* CMake 2.8.x -* Qt 4.6.2 or above - -Build instructions ------------------- - -By default, the `patched-2` version will be checked out. - -``` -git clone git://github.com/commontk/PythonQt.git -mkdir PythonQt-build -cd PythonQt-build -cmake -DQT_QMAKE_EXECUTABLE:FILEPATH=/path/to/qmake ../PythonQt -make -``` - -Additional configure options are: - -* `CMAKE_BUILD_TYPE`: Debug, Release, RelWithDebInfo or MinSizeRel -* `PythonQt_DEBUG`: Enable/Disable PythonQt debug output -* `PythonQt_Wrap_Qt`: Build PythonQt wrapper associated with ``. Possible `` are `gui`, `network`, `opengl`, `sql`, `uitools`, `webkit`, `xml`, `xmlpatterns`. - -Available branches ------------------- - -This repository contains three branches: - -### patched-2 - -* Based on [r228](http://pythonqt.svn.sourceforge.net/viewvc/pythonqt?view=revision&revision=228) -* List of features: - * At configuration time, detect the Qt version used and seamlessly compile the appropriate wrappers (Qt 4.8, 4.7 or 4.6). - * Add method allowing to know if a python error occurred: [5935f29](https://github.com/commontk/PythonQt/commit/5935f29978deed892a13ddef02cb14c205c6124d) - * Also add associated method "resetErrorFlag": [a386dc60](https://github.com/commontk/PythonQt/commit/a386dc60f71c15e67c611bc31b26cee756ed833a) - * Fix compilation issue on VS2010 when PythonQt Debug build against python Release: [7e1e07f](https://github.com/commontk/PythonQt/commit/7e1e07f34b2420e420e2858e5ea9a49fe1e0d235) - * Add option Add PythonQt_Wrap_QtAll: [97df3b0](https://github.com/commontk/PythonQt/commit/97df3b0845b3f5c987d3141a9e651436882f5913) and [9104fa9](https://github.com/commontk/PythonQt/commit/9104fa924859f4a865016f2138c06ec856f449d4) - * Ensure all 4.8 generated wrappers are considered: [654f324](https://github.com/commontk/PythonQt/commit/654f3249d1cf3f3ff674b2ff6cca7a2ef3517f60) - * Update "PythonQtPythonInclude.h" to avoid build error on recent MacOSX: [7b8ee130](https://github.com/commontk/PythonQt/commit/7b8ee13058bc0b366983ce8228612e75f8dd9ca8) and [47738f9c](https://github.com/commontk/PythonQt/commit/47738f9c8c5d3ffa77c8f2e1844f899e5b548f0c) - * Update "PythonQtPythonInclude.h" to fix windows build issue when PythonQt Debug build against python Release[6366f00](https://github.com/commontk/PythonQt/commit/6366f002a93aa238c55f58de949d09c552cda5a9) - * Optionally include CTestUseLaunchers: [211440](https://github.com/commontk/PythonQt/commit/2114405a47836b3fb16a3f66fec6a02184f32e71) - * Add SystemExit exception handler. If enabled, the signal "systemExitExceptionRaised" will be emitted. It gives application the opportunity to cleanup and terminate nicely: [3c84463d](https://github.com/commontk/PythonQt/commit/3c84463d3fc4a99c94207c1116ba33d7a412a95f) - * Add "isatty" function to StdOutRedirect. Needed by some logging frame: [7132dba9](https://github.com/commontk/PythonQt/commit/7132dba93064c2a02591b42305fecdd5d59702d3) -* Backported: - * Most of the [change specific to](https://github.com/commontk/PythonQt/compare/svn-mirror...patched) `patched` branch have been backported upstream: [r200](http://pythonqt.svn.sourceforge.net/viewvc/pythonqt?view=revision&revision=200), [r201](http://pythonqt.svn.sourceforge.net/viewvc/pythonqt?view=revision&revision=201), [r202](http://pythonqt.svn.sourceforge.net/viewvc/pythonqt?view=revision&revision=202), [r203](http://pythonqt.svn.sourceforge.net/viewvc/pythonqt?view=revision&revision=203), [r204](http://pythonqt.svn.sourceforge.net/viewvc/pythonqt?view=revision&revision=204) - * CMake option `PYTHONQT_USE_VTK` has been removed ([r205](http://pythonqt.svn.sourceforge.net/viewvc/pythonqt?view=revision&revision=205)), the foreign wrapper mechanism should be used: [r206](http://pythonqt.svn.sourceforge.net/viewvc/pythonqt?view=revision&revision=206) - -### patched - -* Based on [r193](http://pythonqt.svn.sourceforge.net/viewvc/pythonqt?view=revision&revision=193) -* List of features: - * CMake'ified PythonQt project - * CMake'ified PythonQt/generator project - * Add `dPython.h` file, it provides the ability to link against release python with a debug build of your project. - * Option `PYTHONQT_USE_VTK` CMake option allowing to teach PythonQt how to deal with `vtkObject` - * Stdin can optionally be redirected to a custom callback - * [More details](https://github.com/commontk/PythonQt/compare/svn-mirror...patched) - -### svn-mirror - -* SVN history imported using `git-svn` - -Contributing ------------- - -Once you've made your great commits: - -1. [Fork][fk] PythonQt -2. Create a topic branch - `git checkout -b my_branch` -3. Push to your branch - `git push origin my_branch` -4. Create an [Issue][is] with a link to your branch -5. That's it! - - -Meta ----- - -* Code: `git clone git://github.com/commontk/PythonQt.git` -* Home: -* Bugs: - -License -------- - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. - -[fk]: http://help.github.com/forking/ -[is]: http://github.com/jcfr/qJobManager/issues -